misp-modules/website/app/static/js/mermaid-markdown.js

2 lines
2.7 MiB
Raw Blame History

This file contains invisible Unicode characters!

This file contains invisible Unicode characters that may be processed differently from what appears below. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to reveal hidden characters.

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

/*! For license information please see mermaid-markdown.js.LICENSE.txt */
var mermaidMarkdown;(()=>{var t={7967:(t,e)=>{"use strict";e.Nm=e.Rq=void 0;var n=/^([^\w]*)(javascript|data|vbscript)/im,i=/&#(\w+)(^\w|;)?/g,r=/&(newline|tab);/gi,a=/[\u0000-\u001F\u007F-\u009F\u2000-\u200D\uFEFF]/gim,o=/^.+(:|&colon;)/gim,s=[".","/"];e.Rq="about:blank",e.Nm=function(t){if(!t)return e.Rq;var c,u=(c=t,c.replace(a,"").replace(i,(function(t,e){return String.fromCharCode(e)}))).replace(r,"").replace(a,"").trim();if(!u)return e.Rq;if(function(t){return s.indexOf(t[0])>-1}(u))return u;var l=u.match(o);if(!l)return u;var h=l[0];return n.test(h)?e.Rq:u}},4182:function(t,e,n){var i;i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=7)}([function(e,n){e.exports=t},function(t,e,n){"use strict";var i=n(0).FDLayoutConstants;function r(){}for(var a in i)r[a]=i[a];r.DEFAULT_USE_MULTI_LEVEL_SCALING=!1,r.DEFAULT_RADIAL_SEPARATION=i.DEFAULT_EDGE_LENGTH,r.DEFAULT_COMPONENT_SEPERATION=60,r.TILE=!0,r.TILING_PADDING_VERTICAL=10,r.TILING_PADDING_HORIZONTAL=10,r.TREE_REDUCTION_ON_INCREMENTAL=!1,t.exports=r},function(t,e,n){"use strict";var i=n(0).FDLayoutEdge;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).LGraph;function r(t,e,n){i.call(this,t,e,n)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).LGraphManager;function r(t){i.call(this,t)}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];t.exports=r},function(t,e,n){"use strict";var i=n(0).FDLayoutNode,r=n(0).IMath;function a(t,e,n,r){i.call(this,t,e,n,r)}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];a.prototype.move=function(){var t=this.graphManager.getLayout();this.displacementX=t.coolingFactor*(this.springForceX+this.repulsionForceX+this.gravitationForceX)/this.noOfChildren,this.displacementY=t.coolingFactor*(this.springForceY+this.repulsionForceY+this.gravitationForceY)/this.noOfChildren,Math.abs(this.displacementX)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementX=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementX)),Math.abs(this.displacementY)>t.coolingFactor*t.maxNodeDisplacement&&(this.displacementY=t.coolingFactor*t.maxNodeDisplacement*r.sign(this.displacementY)),null==this.child||0==this.child.getNodes().length?this.moveBy(this.displacementX,this.displacementY):this.propogateDisplacementToChildren(this.displacementX,this.displacementY),t.totalDisplacement+=Math.abs(this.displacementX)+Math.abs(this.displacementY),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0},a.prototype.propogateDisplacementToChildren=function(t,e){for(var n,i=this.getChild().getNodes(),r=0;r<i.length;r++)null==(n=i[r]).getChild()?(n.moveBy(t,e),n.displacementX+=t,n.displacementY+=e):n.propogateDisplacementToChildren(t,e)},a.prototype.setPred1=function(t){this.pred1=t},a.prototype.getPred1=function(){return pred1},a.prototype.getPred2=function(){return pred2},a.prototype.setNext=function(t){this.next=t},a.prototype.getNext=function(){return next},a.prototype.setProcessed=function(t){this.processed=t},a.prototype.isProcessed=function(){return processed},t.exports=a},function(t,e,n){"use strict";var i=n(0).FDLayout,r=n(4),a=n(3),o=n(5),s=n(2),c=n(1),u=n(0).FDLayoutConstants,l=n(0).LayoutConstants,h=n(0).Point,f=n(0).PointD,d=n(0).Layout,g=n(0).Integer,p=n(0).IGeometry,b=n(0).LGraph,w=n(0).Transform;function y(){i.call(this),this.toBeTiled={}}for(var m in y.prototype=Object.create(i.prototype),i)y[m]=i[m];y.prototype.newGraphManager=function(){var t=new r(this);return this.graphManager=t,t},y.prototype.newGraph=function(t){return new a(null,this.graphManager,t)},y.prototype.newNode=function(t){return new o(this.graphManager,t)},y.prototype.newEdge=function(t){return new s(null,null,t)},y.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.isSubLayout||(c.DEFAULT_EDGE_LENGTH<10?this.idealEdgeLength=10:this.idealEdgeLength=c.DEFAULT_EDGE_LENGTH,this.useSmartIdealEdgeLengthCalculation=c.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.springConstant=u.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=u.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=u.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=u.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=u.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=u.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.prunedNodesAll=[],this.growTreeIterations=0,this.afterGrowthIterations=0,this.isTreeGrowing=!1,this.isGrowthFinished=!1,this.coolingCycle=0,this.maxCoolingCycle=this.maxIterations/u.CONVERGENCE_CHECK_PERIOD,this.finalTemperature=u.CONVERGENCE_CHECK_PERIOD/this.maxIterations,this.coolingAdjuster=1)},y.prototype.layout=function(){return l.DEFAULT_CREATE_BENDS_AS_NEEDED&&(this.createBendpoints(),this.graphManager.resetAllEdges()),this.level=0,this.classicLayout()},y.prototype.classicLayout=function(){if(this.nodesWithGravity=this.calculateNodesToApplyGravitationTo(),this.graphManager.setAllNodesToApplyGravitation(this.nodesWithGravity),this.calcNoOfChildrenForAllNodes(),this.graphManager.calcLowestCommonAncestors(),this.graphManager.calcInclusionTreeDepths(),this.graphManager.getRoot().calcEstimatedSize(),this.calcIdealEdgeLengths(),this.incremental)c.TREE_REDUCTION_ON_INCREMENTAL&&(this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation(),e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)})),this.graphManager.setAllNodesToApplyGravitation(n));else{var t=this.getFlatForest();if(t.length>0)this.positionNodesRadially(t);else{this.reduceTrees(),this.graphManager.resetAllNodesToApplyGravitation();var e=new Set(this.getAllNodes()),n=this.nodesWithGravity.filter((function(t){return e.has(t)}));this.graphManager.setAllNodesToApplyGravitation(n),this.positionNodesRandomly()}}return this.initSpringEmbedder(),this.runSpringEmbedder(),!0},y.prototype.tick=function(){if(this.totalIterations++,this.totalIterations===this.maxIterations&&!this.isTreeGrowing&&!this.isGrowthFinished){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}if(this.totalIterations%u.CONVERGENCE_CHECK_PERIOD==0&&!this.isTreeGrowing&&!this.isGrowthFinished){if(this.isConverged()){if(!(this.prunedNodesAll.length>0))return!0;this.isTreeGrowing=!0}this.coolingCycle++,0==this.layoutQuality?this.coolingAdjuster=this.coolingCycle:1==this.layoutQuality&&(this.coolingAdjuster=this.coolingCycle/3),this.coolingFactor=Math.max(this.initialCoolingFactor-Math.pow(this.coolingCycle,Math.log(100*(this.initialCoolingFactor-this.finalTemperature))/Math.log(this.maxCoolingCycle))/100*this.coolingAdjuster,this.finalTemperature),this.animationPeriod=Math.ceil(this.initialAnimationPeriod*Math.sqrt(this.coolingFactor))}if(this.isTreeGrowing){if(this.growTreeIterations%10==0)if(this.prunedNodesAll.length>0){this.graphManager.updateBounds(),this.updateGrid(),this.growTree(this.prunedNodesAll),this.graphManager.resetAllNodesToApplyGravitation();var t=new Set(this.getAllNodes()),e=this.nodesWithGravity.filter((function(e){return t.has(e)}));this.graphManager.setAllNodesToApplyGravitation(e),this.graphManager.updateBounds(),this.updateGrid(),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL}else this.isTreeGrowing=!1,this.isGrowthFinished=!0;this.growTreeIterations++}if(this.isGrowthFinished){if(this.isConverged())return!0;this.afterGrowthIterations%10==0&&(this.graphManager.updateBounds(),this.updateGrid()),this.coolingFactor=u.DEFAULT_COOLING_FACTOR_INCREMENTAL*((100-this.afterGrowthIterations)/100),this.afterGrowthIterations++}var n=!this.isTreeGrowing&&!this.isGrowthFinished,i=this.growTreeIterations%10==1&&this.isTreeGrowing||this.afterGrowthIterations%10==1&&this.isGrowthFinished;return this.totalDisplacement=0,this.graphManager.updateBounds(),this.calcSpringForces(),this.calcRepulsionForces(n,i),this.calcGravitationalForces(),this.moveNodes(),this.animate(),!1},y.prototype.getPositionsData=function(){for(var t=this.graphManager.getAllNodes(),e={},n=0;n<t.length;n++){var i=t[n].rect,r=t[n].id;e[r]={id:r,x:i.getCenterX(),y:i.getCenterY(),w:i.width,h:i.height}}return e},y.prototype.runSpringEmbedder=function(){this.initialAnimationPeriod=25,this.animationPeriod=this.initialAnimationPeriod;var t=!1;if("during"===u.ANIMATE)this.emit("layoutstarted");else{for(;!t;)t=this.tick();this.graphManager.updateBounds()}},y.prototype.calculateNodesToApplyGravitationTo=function(){var t,e,n=[],i=this.graphManager.getGraphs(),r=i.length;for(e=0;e<r;e++)(t=i[e]).updateConnected(),t.isConnected||(n=n.concat(t.getNodes()));return n},y.prototype.createBendpoints=function(){var t=[];t=t.concat(this.graphManager.getAllEdges());var e,n=new Set;for(e=0;e<t.length;e++){var i=t[e];if(!n.has(i)){var r=i.getSource(),a=i.getTarget();if(r==a)i.getBendpoints().push(new f),i.getBendpoints().push(new f),this.createDummyNodesForBendpoints(i),n.add(i);else{var o=[];if(o=(o=o.concat(r.getEdgeListToNode(a))).concat(a.getEdgeListToNode(r)),!n.has(o[0])){var s;if(o.length>1)for(s=0;s<o.length;s++){var c=o[s];c.getBendpoints().push(new f),this.createDummyNodesForBendpoints(c)}o.forEach((function(t){n.add(t)}))}}}if(n.size==t.length)break}},y.prototype.positionNodesRadially=function(t){for(var e=new h(0,0),n=Math.ceil(Math.sqrt(t.length)),i=0,r=0,a=0,o=new f(0,0),s=0;s<t.length;s++){s%n==0&&(a=0,r=i,0!=s&&(r+=c.DEFAULT_COMPONENT_SEPERATION),i=0);var u=t[s],g=d.findCenterOfTree(u);e.x=a,e.y=r,(o=y.radialLayout(u,g,e)).y>i&&(i=Math.floor(o.y)),a=Math.floor(o.x+c.DEFAULT_COMPONENT_SEPERATION)}this.transform(new f(l.WORLD_CENTER_X-o.x/2,l.WORLD_CENTER_Y-o.y/2))},y.radialLayout=function(t,e,n){var i=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);y.branchRadialLayout(e,null,0,359,0,i);var r=b.calculateBounds(t),a=new w;a.setDeviceOrgX(r.getMinX()),a.setDeviceOrgY(r.getMinY()),a.setWorldOrgX(n.x),a.setWorldOrgY(n.y);for(var o=0;o<t.length;o++)t[o].transform(a);var s=new f(r.getMaxX(),r.getMaxY());return a.inverseTransformPoint(s)},y.branchRadialLayout=function(t,e,n,i,r,a){var o=(i-n+1)/2;o<0&&(o+=180);var s=(o+n)%360*p.TWO_PI/360,c=(Math.cos(s),r*Math.cos(s)),u=r*Math.sin(s);t.setCenter(c,u);var l=[],h=(l=l.concat(t.getEdges())).length;null!=e&&h--;for(var f,d=0,g=l.length,b=t.getEdgesBetween(e);b.length>1;){var w=b[0];b.splice(0,1);var m=l.indexOf(w);m>=0&&l.splice(m,1),g--,h--}f=null!=e?(l.indexOf(b[0])+1)%g:0;for(var v=Math.abs(i-n)/h,x=f;d!=h;x=++x%g){var k=l[x].getOtherEnd(t);if(k!=e){var _=(n+d*v)%360,E=(_+v)%360;y.branchRadialLayout(k,t,_,E,r+a,a),d++}}},y.maxDiagonalInTree=function(t){for(var e=g.MIN_VALUE,n=0;n<t.length;n++){var i=t[n].getDiagonal();i>e&&(e=i)}return e},y.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},y.prototype.groupZeroDegreeMembers=function(){var t=this,e={};this.memberGroups={},this.idToDummyNode={};for(var n=[],i=this.graphManager.getAllNodes(),r=0;r<i.length;r++){var a=(s=i[r]).getParent();0!==this.getNodeDegreeWithChildren(s)||null!=a.id&&this.getToBeTiled(a)||n.push(s)}for(r=0;r<n.length;r++){var s,c=(s=n[r]).getParent().id;void 0===e[c]&&(e[c]=[]),e[c]=e[c].concat(s)}Object.keys(e).forEach((function(n){if(e[n].length>1){var i="DummyCompound_"+n;t.memberGroups[i]=e[n];var r=e[n][0].getParent(),a=new o(t.graphManager);a.id=i,a.paddingLeft=r.paddingLeft||0,a.paddingRight=r.paddingRight||0,a.paddingBottom=r.paddingBottom||0,a.paddingTop=r.paddingTop||0,t.idToDummyNode[i]=a;var s=t.getGraphManager().add(t.newGraph(),a),c=r.getChild();c.add(a);for(var u=0;u<e[n].length;u++){var l=e[n][u];c.remove(l),s.add(l)}}}))},y.prototype.clearCompounds=function(){var t={},e={};this.performDFSOnCompounds();for(var n=0;n<this.compoundOrder.length;n++)e[this.compoundOrder[n].id]=this.compoundOrder[n],t[this.compoundOrder[n].id]=[].concat(this.compoundOrder[n].getChild().getNodes()),this.graphManager.remove(this.compoundOrder[n].getChild()),this.compoundOrder[n].child=null;this.graphManager.resetAllNodes(),this.tileCompoundMembers(t,e)},y.prototype.clearZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack=[];Object.keys(this.memberGroups).forEach((function(n){var i=t.idToDummyNode[n];e[n]=t.tileNodes(t.memberGroups[n],i.paddingLeft+i.paddingRight),i.rect.width=e[n].width,i.rect.height=e[n].height}))},y.prototype.repopulateCompounds=function(){for(var t=this.compoundOrder.length-1;t>=0;t--){var e=this.compoundOrder[t],n=e.id,i=e.paddingLeft,r=e.paddingTop;this.adjustLocations(this.tiledMemberPack[n],e.rect.x,e.rect.y,i,r)}},y.prototype.repopulateZeroDegreeMembers=function(){var t=this,e=this.tiledZeroDegreePack;Object.keys(e).forEach((function(n){var i=t.idToDummyNode[n],r=i.paddingLeft,a=i.paddingTop;t.adjustLocations(e[n],i.rect.x,i.rect.y,r,a)}))},y.prototype.getToBeTiled=function(t){var e=t.id;if(null!=this.toBeTiled[e])return this.toBeTiled[e];var n=t.getChild();if(null==n)return this.toBeTiled[e]=!1,!1;for(var i=n.getNodes(),r=0;r<i.length;r++){var a=i[r];if(this.getNodeDegree(a)>0)return this.toBeTiled[e]=!1,!1;if(null!=a.getChild()){if(!this.getToBeTiled(a))return this.toBeTiled[e]=!1,!1}else this.toBeTiled[a.id]=!1}return this.toBeTiled[e]=!0,!0},y.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,i=0;i<e.length;i++){var r=e[i];r.getSource().id!==r.getTarget().id&&(n+=1)}return n},y.prototype.getNodeDegreeWithChildren=function(t){var e=this.getNodeDegree(t);if(null==t.getChild())return e;for(var n=t.getChild().getNodes(),i=0;i<n.length;i++){var r=n[i];e+=this.getNodeDegreeWithChildren(r)}return e},y.prototype.performDFSOnCompounds=function(){this.compoundOrder=[],this.fillCompexOrderByDFS(this.graphManager.getRoot().getNodes())},y.prototype.fillCompexOrderByDFS=function(t){for(var e=0;e<t.length;e++){var n=t[e];null!=n.getChild()&&this.fillCompexOrderByDFS(n.getChild().getNodes()),this.getToBeTiled(n)&&this.compoundOrder.push(n)}},y.prototype.adjustLocations=function(t,e,n,i,r){n+=r;for(var a=e+=i,o=0;o<t.rows.length;o++){var s=t.rows[o];e=a;for(var c=0,u=0;u<s.length;u++){var l=s[u];l.rect.x=e,l.rect.y=n,e+=l.rect.width+t.horizontalPadding,l.rect.height>c&&(c=l.rect.height)}n+=c+t.verticalPadding}},y.prototype.tileCompoundMembers=function(t,e){var n=this;this.tiledMemberPack=[],Object.keys(t).forEach((function(i){var r=e[i];n.tiledMemberPack[i]=n.tileNodes(t[i],r.paddingLeft+r.paddingRight),r.rect.width=n.tiledMemberPack[i].width,r.rect.height=n.tiledMemberPack[i].height}))},y.prototype.tileNodes=function(t,e){var n={rows:[],rowWidth:[],rowHeight:[],width:0,height:e,verticalPadding:c.TILING_PADDING_VERTICAL,horizontalPadding:c.TILING_PADDING_HORIZONTAL};t.sort((function(t,e){return t.rect.width*t.rect.height>e.rect.width*e.rect.height?-1:t.rect.width*t.rect.height<e.rect.width*e.rect.height?1:0}));for(var i=0;i<t.length;i++){var r=t[i];0==n.rows.length?this.insertNodeToRow(n,r,0,e):this.canAddHorizontal(n,r.rect.width,r.rect.height)?this.insertNodeToRow(n,r,this.getShortestRowIndex(n),e):this.insertNodeToRow(n,r,n.rows.length,e),this.shiftToLastRow(n)}return n},y.prototype.insertNodeToRow=function(t,e,n,i){var r=i;n==t.rows.length&&(t.rows.push([]),t.rowWidth.push(r),t.rowHeight.push(0));var a=t.rowWidth[n]+e.rect.width;t.rows[n].length>0&&(a+=t.horizontalPadding),t.rowWidth[n]=a,t.width<a&&(t.width=a);var o=e.rect.height;n>0&&(o+=t.verticalPadding);var s=0;o>t.rowHeight[n]&&(s=t.rowHeight[n],t.rowHeight[n]=o,s=t.rowHeight[n]-s),t.height+=s,t.rows[n].push(e)},y.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]<n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.getLongestRowIndex=function(t){for(var e=-1,n=Number.MIN_VALUE,i=0;i<t.rows.length;i++)t.rowWidth[i]>n&&(e=i,n=t.rowWidth[i]);return e},y.prototype.canAddHorizontal=function(t,e,n){var i=this.getShortestRowIndex(t);if(i<0)return!0;var r=t.rowWidth[i];if(r+t.horizontalPadding+e<=t.width)return!0;var a,o,s=0;return t.rowHeight[i]<n&&i>0&&(s=n+t.verticalPadding-t.rowHeight[i]),a=t.width-r>=e+t.horizontalPadding?(t.height+s)/(r+e+t.horizontalPadding):(t.height+s)/t.width,s=n+t.verticalPadding,(o=t.width<e?(t.height+s)/e:(t.height+s)/t.width)<1&&(o=1/o),a<1&&(a=1/a),a<o},y.prototype.shiftToLastRow=function(t){var e=this.getLongestRowIndex(t),n=t.rowWidth.length-1,i=t.rows[e],r=i[i.length-1],a=r.width+t.horizontalPadding;if(t.width-t.rowWidth[n]>a&&e!=n){i.splice(-1,1),t.rows[n].push(r),t.rowWidth[e]=t.rowWidth[e]-a,t.rowWidth[n]=t.rowWidth[n]+a,t.width=t.rowWidth[instance.getLongestRowIndex(t)];for(var o=Number.MIN_VALUE,s=0;s<i.length;s++)i[s].height>o&&(o=i[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]<r.height+t.verticalPadding&&(t.rowHeight[n]=r.height+t.verticalPadding);var u=t.rowHeight[e]+t.rowHeight[n];t.height+=u-c,this.shiftToLastRow(t)}},y.prototype.tilingPreLayout=function(){c.TILE&&(this.groupZeroDegreeMembers(),this.clearCompounds(),this.clearZeroDegreeMembers())},y.prototype.tilingPostLayout=function(){c.TILE&&(this.repopulateZeroDegreeMembers(),this.repopulateCompounds())},y.prototype.reduceTrees=function(){for(var t,e=[],n=!0;n;){var i=this.graphManager.getAllNodes(),r=[];n=!1;for(var a=0;a<i.length;a++)1!=(t=i[a]).getEdges().length||t.getEdges()[0].isInterGraph||null!=t.getChild()||(r.push([t,t.getEdges()[0],t.getOwner()]),n=!0);if(1==n){for(var o=[],s=0;s<r.length;s++)1==r[s][0].getEdges().length&&(o.push(r[s]),r[s][0].getOwner().remove(r[s][0]));e.push(o),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()}}this.prunedNodesAll=e},y.prototype.growTree=function(t){for(var e,n=t[t.length-1],i=0;i<n.length;i++)e=n[i],this.findPlaceforPrunedNode(e),e[2].add(e[0]),e[2].add(e[1],e[1].source,e[1].target);t.splice(t.length-1,1),this.graphManager.resetAllNodes(),this.graphManager.resetAllEdges()},y.prototype.findPlaceforPrunedNode=function(t){var e,n,i=t[0],r=(n=i==t[1].source?t[1].target:t[1].source).startX,a=n.finishX,o=n.startY,s=n.finishY,c=[0,0,0,0];if(o>0)for(var l=r;l<=a;l++)c[0]+=this.grid[l][o-1].length+this.grid[l][o].length-1;if(a<this.grid.length-1)for(l=o;l<=s;l++)c[1]+=this.grid[a+1][l].length+this.grid[a][l].length-1;if(s<this.grid[0].length-1)for(l=r;l<=a;l++)c[2]+=this.grid[l][s+1].length+this.grid[l][s].length-1;if(r>0)for(l=o;l<=s;l++)c[3]+=this.grid[r-1][l].length+this.grid[r][l].length-1;for(var h,f,d=g.MAX_VALUE,p=0;p<c.length;p++)c[p]<d?(d=c[p],h=1,f=p):c[p]==d&&h++;if(3==h&&0==d)0==c[0]&&0==c[1]&&0==c[2]?e=1:0==c[0]&&0==c[1]&&0==c[3]?e=0:0==c[0]&&0==c[2]&&0==c[3]?e=3:0==c[1]&&0==c[2]&&0==c[3]&&(e=2);else if(2==h&&0==d){var b=Math.floor(2*Math.random());e=0==c[0]&&0==c[1]?0==b?0:1:0==c[0]&&0==c[2]?0==b?0:2:0==c[0]&&0==c[3]?0==b?0:3:0==c[1]&&0==c[2]?0==b?1:2:0==c[1]&&0==c[3]?0==b?1:3:0==b?2:3}else e=4==h&&0==d?b=Math.floor(4*Math.random()):f;0==e?i.setCenter(n.getCenterX(),n.getCenterY()-n.getHeight()/2-u.DEFAULT_EDGE_LENGTH-i.getHeight()/2):1==e?i.setCenter(n.getCenterX()+n.getWidth()/2+u.DEFAULT_EDGE_LENGTH+i.getWidth()/2,n.getCenterY()):2==e?i.setCenter(n.getCenterX(),n.getCenterY()+n.getHeight()/2+u.DEFAULT_EDGE_LENGTH+i.getHeight()/2):i.setCenter(n.getCenterX()-n.getWidth()/2-u.DEFAULT_EDGE_LENGTH-i.getWidth()/2,n.getCenterY())},t.exports=y},function(t,e,n){"use strict";var i={};i.layoutBase=n(0),i.CoSEConstants=n(1),i.CoSEEdge=n(2),i.CoSEGraph=n(3),i.CoSEGraphManager=n(4),i.CoSELayout=n(6),i.CoSENode=n(5),t.exports=i}])},t.exports=i(n(2241))},4607:function(t,e,n){var i;i=function(t){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=1)}([function(e,n){e.exports=t},function(t,e,n){"use strict";var i=n(0).layoutBase.LayoutConstants,r=n(0).layoutBase.FDLayoutConstants,a=n(0).CoSEConstants,o=n(0).CoSELayout,s=n(0).CoSENode,c=n(0).layoutBase.PointD,u=n(0).layoutBase.DimensionD,l={ready:function(){},stop:function(){},quality:"default",nodeDimensionsIncludeLabels:!1,refresh:30,fit:!0,padding:10,randomize:!0,nodeRepulsion:4500,idealEdgeLength:50,edgeElasticity:.45,nestingFactor:.1,gravity:.25,numIter:2500,tile:!0,animate:"end",animationDuration:500,tilingPaddingVertical:10,tilingPaddingHorizontal:10,gravityRangeCompound:1.5,gravityCompound:1,gravityRange:3.8,initialEnergyOnIncremental:.5};function h(t){this.options=function(t,e){var n={};for(var i in t)n[i]=t[i];for(var i in e)n[i]=e[i];return n}(l,t),f(this.options)}var f=function(t){null!=t.nodeRepulsion&&(a.DEFAULT_REPULSION_STRENGTH=r.DEFAULT_REPULSION_STRENGTH=t.nodeRepulsion),null!=t.idealEdgeLength&&(a.DEFAULT_EDGE_LENGTH=r.DEFAULT_EDGE_LENGTH=t.idealEdgeLength),null!=t.edgeElasticity&&(a.DEFAULT_SPRING_STRENGTH=r.DEFAULT_SPRING_STRENGTH=t.edgeElasticity),null!=t.nestingFactor&&(a.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=t.nestingFactor),null!=t.gravity&&(a.DEFAULT_GRAVITY_STRENGTH=r.DEFAULT_GRAVITY_STRENGTH=t.gravity),null!=t.numIter&&(a.MAX_ITERATIONS=r.MAX_ITERATIONS=t.numIter),null!=t.gravityRange&&(a.DEFAULT_GRAVITY_RANGE_FACTOR=r.DEFAULT_GRAVITY_RANGE_FACTOR=t.gravityRange),null!=t.gravityCompound&&(a.DEFAULT_COMPOUND_GRAVITY_STRENGTH=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=t.gravityCompound),null!=t.gravityRangeCompound&&(a.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=t.gravityRangeCompound),null!=t.initialEnergyOnIncremental&&(a.DEFAULT_COOLING_FACTOR_INCREMENTAL=r.DEFAULT_COOLING_FACTOR_INCREMENTAL=t.initialEnergyOnIncremental),"draft"==t.quality?i.QUALITY=0:"proof"==t.quality?i.QUALITY=2:i.QUALITY=1,a.NODE_DIMENSIONS_INCLUDE_LABELS=r.NODE_DIMENSIONS_INCLUDE_LABELS=i.NODE_DIMENSIONS_INCLUDE_LABELS=t.nodeDimensionsIncludeLabels,a.DEFAULT_INCREMENTAL=r.DEFAULT_INCREMENTAL=i.DEFAULT_INCREMENTAL=!t.randomize,a.ANIMATE=r.ANIMATE=i.ANIMATE=t.animate,a.TILE=t.tile,a.TILING_PADDING_VERTICAL="function"==typeof t.tilingPaddingVertical?t.tilingPaddingVertical.call():t.tilingPaddingVertical,a.TILING_PADDING_HORIZONTAL="function"==typeof t.tilingPaddingHorizontal?t.tilingPaddingHorizontal.call():t.tilingPaddingHorizontal};h.prototype.run=function(){var t,e,n=this.options,i=(this.idToLNode={},this.layout=new o),r=this;r.stopped=!1,this.cy=this.options.cy,this.cy.trigger({type:"layoutstart",layout:this});var a=i.newGraphManager();this.gm=a;var s=this.options.eles.nodes(),c=this.options.eles.edges();this.root=a.addRoot(),this.processChildrenList(this.root,this.getTopMostNodes(s),i);for(var u=0;u<c.length;u++){var l=c[u],h=this.idToLNode[l.data("source")],f=this.idToLNode[l.data("target")];h!==f&&0==h.getEdgesBetween(f).length&&(a.add(i.newEdge(),h,f).id=l.id())}var d=function(t,e){"number"==typeof t&&(t=e);var n=t.data("id"),i=r.idToLNode[n];return{x:i.getRect().getCenterX(),y:i.getRect().getCenterY()}},g=function a(){for(var o,s=function(){n.fit&&n.cy.fit(n.eles,n.padding),t||(t=!0,r.cy.one("layoutready",n.ready),r.cy.trigger({type:"layoutready",layout:r}))},c=r.options.refresh,u=0;u<c&&!o;u++)o=r.stopped||r.layout.tick();if(o)return i.checkLayoutSuccess()&&!i.isSubLayout&&i.doPostLayout(),i.tilingPostLayout&&i.tilingPostLayout(),i.isLayoutFinished=!0,r.options.eles.nodes().positions(d),s(),r.cy.one("layoutstop",r.options.stop),r.cy.trigger({type:"layoutstop",layout:r}),e&&cancelAnimationFrame(e),void(t=!1);var l=r.layout.getPositionsData();n.eles.nodes().positions((function(t,e){if("number"==typeof t&&(t=e),!t.isParent()){for(var n=t.id(),i=l[n],r=t;null==i&&(i=l[r.data("parent")]||l["DummyCompound_"+r.data("parent")],l[n]=i,null!=(r=r.parent()[0])););return null!=i?{x:i.x,y:i.y}:{x:t.position("x"),y:t.position("y")}}})),s(),e=requestAnimationFrame(a)};return i.addListener("layoutstarted",(function(){"during"===r.options.animate&&(e=requestAnimationFrame(g))})),i.runLayout(),"during"!==this.options.animate&&(r.options.eles.nodes().not(":parent").layoutPositions(r,r.options,d),t=!1),this},h.prototype.getTopMostNodes=function(t){for(var e={},n=0;n<t.length;n++)e[t[n].id()]=!0;var i=t.filter((function(t,n){"number"==typeof t&&(t=n);for(var i=t.parent()[0];null!=i;){if(e[i.id()])return!1;i=i.parent()[0]}return!0}));return i},h.prototype.processChildrenList=function(t,e,n){for(var i=e.length,r=0;r<i;r++){var a,o,l=e[r],h=l.children(),f=l.layoutDimensions({nodeDimensionsIncludeLabels:this.options.nodeDimensionsIncludeLabels});if((a=null!=l.outerWidth()&&null!=l.outerHeight()?t.add(new s(n.graphManager,new c(l.position("x")-f.w/2,l.position("y")-f.h/2),new u(parseFloat(f.w),parseFloat(f.h)))):t.add(new s(this.graphManager))).id=l.data("id"),a.paddingLeft=parseInt(l.css("padding")),a.paddingTop=parseInt(l.css("padding")),a.paddingRight=parseInt(l.css("padding")),a.paddingBottom=parseInt(l.css("padding")),this.options.nodeDimensionsIncludeLabels&&l.isParent()){var d=l.boundingBox({includeLabels:!0,includeNodes:!1}).w,g=l.boundingBox({includeLabels:!0,includeNodes:!1}).h,p=l.css("text-halign");a.labelWidth=d,a.labelHeight=g,a.labelPos=p}this.idToLNode[l.data("id")]=a,isNaN(a.rect.x)&&(a.rect.x=0),isNaN(a.rect.y)&&(a.rect.y=0),null!=h&&h.length>0&&(o=n.getGraphManager().add(n.newGraph(),a),this.processChildrenList(o,h,n))}},h.prototype.stop=function(){return this.stopped=!0,this};var d=function(t){t("layout","cose-bilkent",h)};"undefined"!=typeof cytoscape&&d(cytoscape),t.exports=d}])},t.exports=i(n(4182))},1377:function(t,e,n){t.exports=function(){"use strict";function t(e){return t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},t(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function i(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function r(t,e,n){return e&&i(t.prototype,e),n&&i(t,n),Object.defineProperty(t,"prototype",{writable:!1}),t}function a(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function o(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var i,r,a=[],o=!0,s=!1;try{for(n=n.call(t);!(o=(i=n.next()).done)&&(a.push(i.value),!e||a.length!==e);o=!0);}catch(t){s=!0,r=t}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return a}}(t,e)||function(t,e){if(t){if("string"==typeof t)return s(t,e);var n=Object.prototype.toString.call(t).slice(8,-1);return"Object"===n&&t.constructor&&(n=t.constructor.name),"Map"===n||"Set"===n?Array.from(t):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?s(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,i=new Array(e);n<e;n++)i[n]=t[n];return i}var c="undefined"==typeof window?null:window,u=c?c.navigator:null;c&&c.document;var l=t(""),h=t({}),f=t((function(){})),d="undefined"==typeof HTMLElement?"undefined":t(HTMLElement),g=function(t){return t&&t.instanceString&&b(t.instanceString)?t.instanceString():null},p=function(e){return null!=e&&t(e)==l},b=function(e){return null!=e&&t(e)===f},w=function(t){return!x(t)&&(Array.isArray?Array.isArray(t):null!=t&&t instanceof Array)},y=function(e){return null!=e&&t(e)===h&&!w(e)&&e.constructor===Object},m=function(e){return null!=e&&t(e)===t(1)&&!isNaN(e)},v=function(t){return"undefined"===d?void 0:null!=t&&t instanceof HTMLElement},x=function(t){return k(t)||_(t)},k=function(t){return"collection"===g(t)&&t._private.single},_=function(t){return"collection"===g(t)&&!t._private.single},E=function(t){return"core"===g(t)},T=function(t){return"stylesheet"===g(t)},C=function(t){return null==t||!(""!==t&&!t.match(/^\s+$/))},S=function(e){return function(e){return null!=e&&t(e)===h}(e)&&b(e.then)},A=function(t,e){e||(e=function(){if(1===arguments.length)return arguments[0];if(0===arguments.length)return"undefined";for(var t=[],e=0;e<arguments.length;e++)t.push(arguments[e]);return t.join("$")});var n=function n(){var i,r=arguments,a=e.apply(this,r),o=n.cache;return(i=o[a])||(i=o[a]=t.apply(this,r)),i};return n.cache={},n},M=A((function(t){return t.replace(/([A-Z])/g,(function(t){return"-"+t.toLowerCase()}))})),I=A((function(t){return t.replace(/(-\w)/g,(function(t){return t[1].toUpperCase()}))})),L=A((function(t,e){return t+e[0].toUpperCase()+e.substring(1)}),(function(t,e){return t+"$"+e})),O=function(t){return C(t)?t:t.charAt(0).toUpperCase()+t.substring(1)},D="(?:[-+]?(?:(?:\\d+|\\d*\\.\\d+)(?:[Ee][+-]?\\d+)?))",N="rgb[a]?\\(("+D+"[%]?)\\s*,\\s*("+D+"[%]?)\\s*,\\s*("+D+"[%]?)(?:\\s*,\\s*("+D+"))?\\)",P="rgb[a]?\\((?:"+D+"[%]?)\\s*,\\s*(?:"+D+"[%]?)\\s*,\\s*(?:"+D+"[%]?)(?:\\s*,\\s*(?:"+D+"))?\\)",B="hsl[a]?\\(("+D+")\\s*,\\s*("+D+"[%])\\s*,\\s*("+D+"[%])(?:\\s*,\\s*("+D+"))?\\)",F="hsl[a]?\\((?:"+D+")\\s*,\\s*(?:"+D+"[%])\\s*,\\s*(?:"+D+"[%])(?:\\s*,\\s*(?:"+D+"))?\\)",$=function(t,e){return t<e?-1:t>e?1:0},j=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n<e.length;n++){var i=e[n];if(null!=i)for(var r=Object.keys(i),a=0;a<r.length;a++){var o=r[a];t[o]=i[o]}}return t},R=function(t){return(w(t)?t:null)||function(t){return z[t.toLowerCase()]}(t)||function(t){if((4===t.length||7===t.length)&&"#"===t[0]){var e,n,i,r=16;return 4===t.length?(e=parseInt(t[1]+t[1],r),n=parseInt(t[2]+t[2],r),i=parseInt(t[3]+t[3],r)):(e=parseInt(t[1]+t[2],r),n=parseInt(t[3]+t[4],r),i=parseInt(t[5]+t[6],r)),[e,n,i]}}(t)||function(t){var e,n=new RegExp("^"+N+"$").exec(t);if(n){e=[];for(var i=[],r=1;r<=3;r++){var a=n[r];if("%"===a[a.length-1]&&(i[r]=!0),a=parseFloat(a),i[r]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a))}var o=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c)}}return e}(t)||function(t){var e,n,i,r,a,o,s,c;function u(t,e,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t}var l=new RegExp("^"+B+"$").exec(t);if(l){if((n=parseInt(l[1]))<0?n=(360- -1*n%360)%360:n>360&&(n%=360),n/=360,(i=parseFloat(l[2]))<0||i>100)return;if(i/=100,(r=parseFloat(l[3]))<0||r>100)return;if(r/=100,void 0!==(a=l[4])&&((a=parseFloat(a))<0||a>1))return;if(0===i)o=s=c=Math.round(255*r);else{var h=r<.5?r*(1+i):r+i-r*i,f=2*r-h;o=Math.round(255*u(f,h,n+1/3)),s=Math.round(255*u(f,h,n)),c=Math.round(255*u(f,h,n-1/3))}e=[o,s,c,a]}return e}(t)},z={transparent:[0,0,0,0],aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],grey:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]},q=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(y(a))throw Error("Tried to set map with object key");r<n.length-1?(null==e[a]&&(e[a]={}),e=e[a]):e[a]=t.value}},H=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r<i;r++){var a=n[r];if(y(a))throw Error("Tried to get map with object key");if(null==(e=e[a]))return e}return e};var Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)},U="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:void 0!==n.g?n.g:"undefined"!=typeof self?self:{};var Y="object"==typeof U&&U&&U.Object===Object&&U,G="object"==typeof self&&self&&self.Object===Object&&self,K=Y||G||Function("return this")(),W=function(){return K.Date.now()},X=/\s/;var V=function(t){for(var e=t.length;e--&&X.test(t.charAt(e)););return e},Q=/^\s+/;var J=function(t){return t?t.slice(0,V(t)+1).replace(Q,""):t},tt=K.Symbol,et=Object.prototype,nt=et.hasOwnProperty,it=et.toString,rt=tt?tt.toStringTag:void 0;var at=function(t){var e=nt.call(t,rt),n=t[rt];try{t[rt]=void 0;var i=!0}catch(t){}var r=it.call(t);return i&&(e?t[rt]=n:delete t[rt]),r},ot=Object.prototype.toString;var st=function(t){return ot.call(t)},ct=tt?tt.toStringTag:void 0;var ut=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":ct&&ct in Object(t)?at(t):st(t)};var lt=function(t){return null!=t&&"object"==typeof t};var ht=function(t){return"symbol"==typeof t||lt(t)&&"[object Symbol]"==ut(t)},ft=/^[-+]0x[0-9a-f]+$/i,dt=/^0b[01]+$/i,gt=/^0o[0-7]+$/i,pt=parseInt;var bt=function(t){if("number"==typeof t)return t;if(ht(t))return NaN;if(Z(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=Z(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=J(t);var n=dt.test(t);return n||gt.test(t)?pt(t.slice(2),n?2:8):ft.test(t)?NaN:+t},wt=Math.max,yt=Math.min;var mt=function(t,e,n){var i,r,a,o,s,c,u=0,l=!1,h=!1,f=!0;if("function"!=typeof t)throw new TypeError("Expected a function");function d(e){var n=i,a=r;return i=r=void 0,u=e,o=t.apply(a,n)}function g(t){var n=t-c;return void 0===c||n>=e||n<0||h&&t-u>=a}function p(){var t=W();if(g(t))return b(t);s=setTimeout(p,function(t){var n=e-(t-c);return h?yt(n,a-(t-u)):n}(t))}function b(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function w(){var t=W(),n=g(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return function(t){return u=t,s=setTimeout(p,e),l?d(t):o}(c);if(h)return clearTimeout(s),s=setTimeout(p,e),d(c)}return void 0===s&&(s=setTimeout(p,e)),o}return e=bt(e)||0,Z(n)&&(l=!!n.leading,a=(h="maxWait"in n)?wt(bt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),w.cancel=function(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0},w.flush=function(){return void 0===s?o:b(W())},w},vt=c?c.performance:null,xt=vt&&vt.now?function(){return vt.now()}:function(){return Date.now()},kt=function(){if(c){if(c.requestAnimationFrame)return function(t){c.requestAnimationFrame(t)};if(c.mozRequestAnimationFrame)return function(t){c.mozRequestAnimationFrame(t)};if(c.webkitRequestAnimationFrame)return function(t){c.webkitRequestAnimationFrame(t)};if(c.msRequestAnimationFrame)return function(t){c.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout((function(){t(xt())}),1e3/60)}}(),_t=function(t){return kt(t)},Et=xt,Tt=9261,Ct=5381,St=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt;!(e=t.next()).done;)n=65599*n+e.value|0;return n},At=function(t){return 65599*(arguments.length>1&&void 0!==arguments[1]?arguments[1]:Tt)+t|0},Mt=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Ct;return(e<<5)+e+t|0},It=function(t){return 2097152*t[0]+t[1]},Lt=function(t,e){return[At(t[0],e[0]),Mt(t[1],e[1])]},Ot=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return St({next:function(){return i<r?n.value=t.charCodeAt(i++):n.done=!0,n}},e)},Dt=function(){return Nt(arguments)},Nt=function(t){for(var e,n=0;n<t.length;n++){var i=t[n];e=0===n?Ot(i):Ot(i,e)}return e},Pt=!0,Bt=null!=console.warn,Ft=null!=console.trace,$t=Number.MAX_SAFE_INTEGER||9007199254740991,jt=function(){return!0},Rt=function(){return!1},zt=function(){return 0},qt=function(){},Ht=function(t){throw new Error(t)},Zt=function(t){if(void 0===t)return Pt;Pt=!!t},Ut=function(t){Zt()&&(Bt?console.warn(t):(console.log(t),Ft&&console.trace()))},Yt=function(t){return null==t?t:w(t)?t.slice():y(t)?function(t){return j({},t)}(t):t},Gt=function(t,e){for(e=t="";t++<36;e+=51*t&52?(15^t?8^Math.random()*(20^t?16:4):4).toString(16):"-");return e},Kt={},Wt=function(){return Kt},Xt=function(t){var e=Object.keys(t);return function(n){for(var i={},r=0;r<e.length;r++){var a=e[r],o=null==n?void 0:n[a];i[a]=void 0===o?t[a]:o}return i}},Vt=function(t,e,n){for(var i=t.length-1;i>=0&&(t[i]!==e||(t.splice(i,1),!n));i--);},Qt=function(t){t.splice(0,t.length)},Jt=function(t,e,n){return n&&(e=L(n,e)),t[e]},te=function(t,e,n,i){n&&(e=L(n,e)),t[e]=i},ee="undefined"!=typeof Map?Map:function(){function t(){e(this,t),this._obj={}}return r(t,[{key:"set",value:function(t,e){return this._obj[t]=e,this}},{key:"delete",value:function(t){return this._obj[t]=void 0,this}},{key:"clear",value:function(){this._obj={}}},{key:"has",value:function(t){return void 0!==this._obj[t]}},{key:"get",value:function(t){return this._obj[t]}}]),t}(),ne=function(){function t(n){if(e(this,t),this._obj=Object.create(null),this.size=0,null!=n){var i;i=null!=n.instanceString&&n.instanceString()===this.instanceString()?n.toArray():n;for(var r=0;r<i.length;r++)this.add(i[r])}}return r(t,[{key:"instanceString",value:function(){return"set"}},{key:"add",value:function(t){var e=this._obj;1!==e[t]&&(e[t]=1,this.size++)}},{key:"delete",value:function(t){var e=this._obj;1===e[t]&&(e[t]=0,this.size--)}},{key:"clear",value:function(){this._obj=Object.create(null)}},{key:"has",value:function(t){return 1===this._obj[t]}},{key:"toArray",value:function(){var t=this;return Object.keys(this._obj).filter((function(e){return t.has(e)}))}},{key:"forEach",value:function(t,e){return this.toArray().forEach(t,e)}}]),t}(),ie="undefined"!==("undefined"==typeof Set?"undefined":t(Set))?Set:ne,re=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&E(t)){var i=e.group;if(null==i&&(i=e.data&&null!=e.data.source&&null!=e.data.target?"edges":"nodes"),"nodes"===i||"edges"===i){this.length=1,this[0]=this;var r=this._private={cy:t,single:!0,data:e.data||{},position:e.position||{x:0,y:0},autoWidth:void 0,autoHeight:void 0,autoPadding:void 0,compoundBoundsClean:!1,listeners:[],group:i,style:{},rstyle:{},styleCxts:[],styleKeys:{},removed:!0,selected:!!e.selected,selectable:void 0===e.selectable||!!e.selectable,locked:!!e.locked,grabbed:!1,grabbable:void 0===e.grabbable||!!e.grabbable,pannable:void 0===e.pannable?"edges"===i:!!e.pannable,active:!1,classes:new ie,animation:{current:[],queue:[]},rscratch:{},scratch:e.scratch||{},edges:[],children:[],parent:e.parent&&e.parent.isNode()?e.parent:null,traversalCache:{},backgrounding:!1,bbCache:null,bbCacheShift:{x:0,y:0},bodyBounds:null,overlayBounds:null,labelBounds:{all:null,source:null,target:null,main:null},arrowBounds:{source:null,target:null,"mid-source":null,"mid-target":null}};if(null==r.position.x&&(r.position.x=0),null==r.position.y&&(r.position.y=0),e.renderedPosition){var a=e.renderedPosition,o=t.pan(),s=t.zoom();r.position={x:(a.x-o.x)/s,y:(a.y-o.y)/s}}var c=[];w(e.classes)?c=e.classes:p(e.classes)&&(c=e.classes.split(/\s+/));for(var u=0,l=c.length;u<l;u++){var h=c[u];h&&""!==h&&r.classes.add(h)}this.createEmitter();var f=e.style||e.css;f&&(Ut("Setting a `style` bypass at element creation should be done only when absolutely necessary. Try to use the stylesheet instead."),this.style(f)),(void 0===n||n)&&this.restore()}else Ht("An element must be of type `nodes` or `edges`; you specified `"+i+"`")}else Ht("An element must have a core reference and parameters set")},ae=function(t){return t={bfs:t.bfs||!t.dfs,dfs:t.dfs||!t.bfs},function(e,n,i){var r;y(e)&&!x(e)&&(e=(r=e).roots||r.root,n=r.visit,i=r.directed),i=2!==arguments.length||b(n)?i:n,n=b(n)?n:function(){};for(var a,o=this._private.cy,s=e=p(e)?this.filter(e):e,c=[],u=[],l={},h={},f={},d=0,g=this.byGroup(),w=g.nodes,m=g.edges,v=0;v<s.length;v++){var k=s[v],_=k.id();k.isNode()&&(c.unshift(k),t.bfs&&(f[_]=!0,u.push(k)),h[_]=0)}for(var E=function(){var e=t.bfs?c.shift():c.pop(),r=e.id();if(t.dfs){if(f[r])return"continue";f[r]=!0,u.push(e)}var o,s=h[r],g=l[r],p=null!=g?g.source():null,b=null!=g?g.target():null,y=null==g?void 0:e.same(p)?b[0]:p[0];if(!0===(o=n(e,g,y,d++,s)))return a=e,"break";if(!1===o)return"break";for(var v=e.connectedEdges().filter((function(t){return(!i||t.source().same(e))&&m.has(t)})),x=0;x<v.length;x++){var k=v[x],_=k.connectedNodes().filter((function(t){return!t.same(e)&&w.has(t)})),E=_.id();0===_.length||f[E]||(_=_[0],c.push(_),t.bfs&&(f[E]=!0,u.push(_)),l[E]=k,h[E]=h[r]+1)}};0!==c.length;){var T=E();if("continue"!==T&&"break"===T)break}for(var C=o.collection(),S=0;S<u.length;S++){var A=u[S],M=l[A.id()];null!=M&&C.push(M),C.push(A)}return{path:o.collection(C),found:o.collection(a)}}},oe={breadthFirstSearch:ae({bfs:!0}),depthFirstSearch:ae({dfs:!0})};oe.bfs=oe.breadthFirstSearch,oe.dfs=oe.depthFirstSearch;var se=function(t,e){return t(e={exports:{}},e.exports),e.exports}((function(t,e){(function(){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;i=Math.floor,l=Math.min,n=function(t,e){return t<e?-1:t>e?1:0},u=function(t,e,r,a,o){var s;if(null==r&&(r=0),null==o&&(o=n),r<0)throw new Error("lo must be non-negative");for(null==a&&(a=t.length);r<a;)o(e,t[s=i((r+a)/2)])<0?a=s:r=s+1;return[].splice.apply(t,[r,r-r].concat(e)),e},o=function(t,e,i){return null==i&&(i=n),t.push(e),g(t,0,t.length-1,i)},a=function(t,e){var i,r;return null==e&&(e=n),i=t.pop(),t.length?(r=t[0],t[0]=i,p(t,0,e)):r=i,r},c=function(t,e,i){var r;return null==i&&(i=n),r=t[0],t[0]=e,p(t,0,i),r},s=function(t,e,i){var r;return null==i&&(i=n),t.length&&i(t[0],e)<0&&(e=(r=[t[0],e])[0],t[0]=r[1],p(t,0,i)),e},r=function(t,e){var r,a,o,s,c,u;for(null==e&&(e=n),c=[],a=0,o=(s=function(){u=[];for(var e=0,n=i(t.length/2);0<=n?e<n:e>n;0<=n?e++:e--)u.push(e);return u}.apply(this).reverse()).length;a<o;a++)r=s[a],c.push(p(t,r,e));return c},d=function(t,e,i){var r;if(null==i&&(i=n),-1!==(r=t.indexOf(e)))return g(t,0,r,i),p(t,r,i)},h=function(t,e,i){var a,o,c,u,l;if(null==i&&(i=n),!(o=t.slice(0,e)).length)return o;for(r(o,i),c=0,u=(l=t.slice(e)).length;c<u;c++)a=l[c],s(o,a,i);return o.sort(i).reverse()},f=function(t,e,i){var o,s,c,h,f,d,g,p,b;if(null==i&&(i=n),10*e<=t.length){if(!(c=t.slice(0,e).sort(i)).length)return c;for(s=c[c.length-1],h=0,d=(g=t.slice(e)).length;h<d;h++)i(o=g[h],s)<0&&(u(c,o,0,null,i),c.pop(),s=c[c.length-1]);return c}for(r(t,i),b=[],f=0,p=l(e,t.length);0<=p?f<p:f>p;0<=p?++f:--f)b.push(a(t,i));return b},g=function(t,e,i,r){var a,o,s;for(null==r&&(r=n),a=t[i];i>e&&r(a,o=t[s=i-1>>1])<0;)t[i]=o,i=s;return t[i]=a},p=function(t,e,i){var r,a,o,s,c;for(null==i&&(i=n),a=t.length,c=e,o=t[e],r=2*e+1;r<a;)(s=r+1)<a&&!(i(t[r],t[s])<0)&&(r=s),t[e]=t[r],r=2*(e=r)+1;return t[e]=o,g(t,c,e,i)},e=function(){function t(t){this.cmp=null!=t?t:n,this.nodes=[]}return t.push=o,t.pop=a,t.replace=c,t.pushpop=s,t.heapify=r,t.updateItem=d,t.nlargest=h,t.nsmallest=f,t.prototype.push=function(t){return o(this.nodes,t,this.cmp)},t.prototype.pop=function(){return a(this.nodes,this.cmp)},t.prototype.peek=function(){return this.nodes[0]},t.prototype.contains=function(t){return-1!==this.nodes.indexOf(t)},t.prototype.replace=function(t){return c(this.nodes,t,this.cmp)},t.prototype.pushpop=function(t){return s(this.nodes,t,this.cmp)},t.prototype.heapify=function(){return r(this.nodes,this.cmp)},t.prototype.updateItem=function(t){return d(this.nodes,t,this.cmp)},t.prototype.clear=function(){return this.nodes=[]},t.prototype.empty=function(){return 0===this.nodes.length},t.prototype.size=function(){return this.nodes.length},t.prototype.clone=function(){var e;return(e=new t).nodes=this.nodes.slice(0),e},t.prototype.toArray=function(){return this.nodes.slice(0)},t.prototype.insert=t.prototype.push,t.prototype.top=t.prototype.peek,t.prototype.front=t.prototype.peek,t.prototype.has=t.prototype.contains,t.prototype.copy=t.prototype.clone,t}(),t.exports=e}).call(U)})),ce=se,ue=Xt({root:null,weight:function(t){return 1},directed:!1}),le={dijkstra:function(t){if(!y(t)){var e=arguments;t={root:e[0],weight:e[1],directed:e[2]}}var n=ue(t),i=n.root,r=n.weight,a=n.directed,o=this,s=r,c=p(i)?this.filter(i)[0]:i[0],u={},l={},h={},f=this.byGroup(),d=f.nodes,g=f.edges;g.unmergeBy((function(t){return t.isLoop()}));for(var b=function(t){return u[t.id()]},w=function(t,e){u[t.id()]=e,m.updateItem(t)},m=new ce((function(t,e){return b(t)-b(e)})),v=0;v<d.length;v++){var x=d[v];u[x.id()]=x.same(c)?0:1/0,m.push(x)}for(var k=function(t,e){for(var n,i=(a?t.edgesTo(e):t.edgesWith(e)).intersect(g),r=1/0,o=0;o<i.length;o++){var c=i[o],u=s(c);(u<r||!n)&&(r=u,n=c)}return{edge:n,dist:r}};m.size()>0;){var _=m.pop(),E=b(_),T=_.id();if(h[T]=E,E!==1/0)for(var C=_.neighborhood().intersect(d),S=0;S<C.length;S++){var A=C[S],M=A.id(),I=k(_,A),L=E+I.dist;L<b(A)&&(w(A,L),l[M]={node:_,edge:I.edge})}}return{distanceTo:function(t){var e=p(t)?d.filter(t)[0]:t[0];return h[e.id()]},pathTo:function(t){var e=p(t)?d.filter(t)[0]:t[0],n=[],i=e,r=i.id();if(e.length>0)for(n.unshift(e);l[r];){var a=l[r];n.unshift(a.edge),n.unshift(a.node),r=(i=a.node).id()}return o.spawn(n)}}}},he={kruskal:function(t){t=t||function(t){return 1};for(var e=this.byGroup(),n=e.nodes,i=e.edges,r=n.length,a=new Array(r),o=n,s=function(t){for(var e=0;e<a.length;e++)if(a[e].has(t))return e},c=0;c<r;c++)a[c]=this.spawn(n[c]);for(var u=i.sort((function(e,n){return t(e)-t(n)})),l=0;l<u.length;l++){var h=u[l],f=h.source()[0],d=h.target()[0],g=s(f),p=s(d),b=a[g],w=a[p];g!==p&&(o.merge(h),b.merge(w),a.splice(p,1))}return o}},fe=Xt({root:null,goal:null,weight:function(t){return 1},heuristic:function(t){return 0},directed:!1}),de={aStar:function(t){var e=this.cy(),n=fe(t),i=n.root,r=n.goal,a=n.heuristic,o=n.directed,s=n.weight;i=e.collection(i)[0],r=e.collection(r)[0];var c,u,l,h=i.id(),f=r.id(),d={},g={},p={},b=new ce((function(t,e){return g[t.id()]-g[e.id()]})),w=new ie,y={},m={},v=function(t,e){b.push(t),w.add(e)};v(i,h),d[h]=0,g[h]=a(i);for(var x=0;b.size()>0;){if(c=b.pop(),u=c.id(),w.delete(u),x++,u===f){for(var k=[],_=r,E=f,T=m[E];k.unshift(_),null!=T&&k.unshift(T),null!=(_=y[E]);)T=m[E=_.id()];return{found:!0,distance:d[u],path:this.spawn(k),steps:x}}p[u]=!0;for(var C=c._private.edges,S=0;S<C.length;S++){var A=C[S];if(this.hasElementWithId(A.id())&&(!o||A.data("source")===u)){var M=A.source(),I=A.target(),L=M.id()!==u?M:I,O=L.id();if(this.hasElementWithId(O)&&!p[O]){var D=d[u]+s(A);l=O,w.has(l)?D<d[O]&&(d[O]=D,g[O]=D+a(L),y[O]=c,m[O]=A):(d[O]=D,g[O]=D+a(L),v(L,O),y[O]=c,m[O]=A)}}}}return{found:!1,distance:void 0,path:void 0,steps:x}}},ge=Xt({weight:function(t){return 1},directed:!1}),pe={floydWarshall:function(t){for(var e=this.cy(),n=ge(t),i=n.weight,r=n.directed,a=i,o=this.byGroup(),s=o.nodes,c=o.edges,u=s.length,l=u*u,h=function(t){return s.indexOf(t)},f=function(t){return s[t]},d=new Array(l),g=0;g<l;g++){var b=g%u,w=(g-b)/u;d[g]=w===b?0:1/0}for(var y=new Array(l),m=new Array(l),v=0;v<c.length;v++){var x=c[v],k=x.source()[0],_=x.target()[0];if(k!==_){var E=h(k),T=h(_),C=E*u+T,S=a(x);if(d[C]>S&&(d[C]=S,y[C]=T,m[C]=x),!r){var A=T*u+E;!r&&d[A]>S&&(d[A]=S,y[A]=E,m[A]=x)}}}for(var M=0;M<u;M++)for(var I=0;I<u;I++)for(var L=I*u+M,O=0;O<u;O++){var D=I*u+O,N=M*u+O;d[L]+d[N]<d[D]&&(d[D]=d[L]+d[N],y[D]=y[L])}var P=function(t){return h(function(t){return(p(t)?e.filter(t):t)[0]}(t))},B={distance:function(t,e){var n=P(t),i=P(e);return d[n*u+i]},path:function(t,n){var i=P(t),r=P(n),a=f(i);if(i===r)return a.collection();if(null==y[i*u+r])return e.collection();var o,s=e.collection(),c=i;for(s.merge(a);i!==r;)c=i,i=y[i*u+r],o=m[c*u+i],s.merge(o),s.merge(f(i));return s}};return B}},be=Xt({weight:function(t){return 1},directed:!1,root:null}),we={bellmanFord:function(t){var e=this,n=be(t),i=n.weight,r=n.directed,a=n.root,o=i,s=this,c=this.cy(),u=this.byGroup(),l=u.edges,h=u.nodes,f=h.length,d=new ee,g=!1,b=[];a=c.collection(a)[0],l.unmergeBy((function(t){return t.isLoop()}));for(var w=l.length,y=function(t){var e=d.get(t.id());return e||(e={},d.set(t.id(),e)),e},m=function(t){return(p(t)?c.$(t):t)[0]},v=0;v<f;v++){var x=h[v],k=y(x);x.same(a)?k.dist=0:k.dist=1/0,k.pred=null,k.edge=null}for(var _=!1,E=function(t,e,n,i,r,a){var o=i.dist+a;o<r.dist&&!n.same(i.edge)&&(r.dist=o,r.pred=t,r.edge=n,_=!0)},T=1;T<f;T++){_=!1;for(var C=0;C<w;C++){var S=l[C],A=S.source(),M=S.target(),I=o(S),L=y(A),O=y(M);E(A,0,S,L,O,I),r||E(M,0,S,O,L,I)}if(!_)break}if(_)for(var D=[],N=0;N<w;N++){var P=l[N],B=P.source(),F=P.target(),$=o(P),j=y(B).dist,R=y(F).dist;if(j+$<R||!r&&R+$<j){if(g||(Ut("Graph contains a negative weight cycle for Bellman-Ford"),g=!0),!1===t.findNegativeWeightCycles)break;var z=[];j+$<R&&z.push(B),!r&&R+$<j&&z.push(F);for(var q=z.length,H=0;H<q;H++){var Z=z[H],U=[Z];U.push(y(Z).edge);for(var Y=y(Z).pred;-1===U.indexOf(Y);)U.push(Y),U.push(y(Y).edge),Y=y(Y).pred;for(var G=(U=U.slice(U.indexOf(Y)))[0].id(),K=0,W=2;W<U.length;W+=2)U[W].id()<G&&(G=U[W].id(),K=W);(U=U.slice(K).concat(U.slice(0,K))).push(U[0]);var X=U.map((function(t){return t.id()})).join(",");-1===D.indexOf(X)&&(b.push(s.spawn(U)),D.push(X))}}}return{distanceTo:function(t){return y(m(t)).dist},pathTo:function(t){for(var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:a,i=[],r=m(t);;){if(null==r)return e.spawn();var o=y(r),c=o.edge,u=o.pred;if(i.unshift(r[0]),r.same(n)&&i.length>0)break;null!=c&&i.unshift(c),r=u}return s.spawn(i)},hasNegativeWeightCycle:g,negativeWeightCycles:b}}},ye=Math.sqrt(2),me=function(t,e,n){0===n.length&&Ht("Karger-Stein must be run on a connected (sub)graph");for(var i=n[t],r=i[1],a=i[2],o=e[r],s=e[a],c=n,u=c.length-1;u>=0;u--){var l=c[u],h=l[1],f=l[2];(e[h]===o&&e[f]===s||e[h]===s&&e[f]===o)&&c.splice(u,1)}for(var d=0;d<c.length;d++){var g=c[d];g[1]===s?(c[d]=g.slice(),c[d][1]=o):g[2]===s&&(c[d]=g.slice(),c[d][2]=o)}for(var p=0;p<e.length;p++)e[p]===s&&(e[p]=o);return c},ve=function(t,e,n,i){for(;n>i;){var r=Math.floor(Math.random()*e.length);e=me(r,t,e),n--}return e},xe={kargerStein:function(){var t=this,e=this.byGroup(),n=e.nodes,i=e.edges;i.unmergeBy((function(t){return t.isLoop()}));var r=n.length,a=i.length,o=Math.ceil(Math.pow(Math.log(r)/Math.LN2,2)),s=Math.floor(r/ye);if(!(r<2)){for(var c=[],u=0;u<a;u++){var l=i[u];c.push([u,n.indexOf(l.source()),n.indexOf(l.target())])}for(var h=1/0,f=[],d=new Array(r),g=new Array(r),p=new Array(r),b=function(t,e){for(var n=0;n<r;n++)e[n]=t[n]},w=0;w<=o;w++){for(var y=0;y<r;y++)g[y]=y;var m=ve(g,c.slice(),r,s),v=m.slice();b(g,p);var x=ve(g,m,s,2),k=ve(p,v,s,2);x.length<=k.length&&x.length<h?(h=x.length,f=x,b(g,d)):k.length<=x.length&&k.length<h&&(h=k.length,f=k,b(p,d))}for(var _=this.spawn(f.map((function(t){return i[t[0]]}))),E=this.spawn(),T=this.spawn(),C=d[0],S=0;S<d.length;S++){var A=d[S],M=n[S];A===C?E.merge(M):T.merge(M)}var I=function(e){var n=t.spawn();return e.forEach((function(e){n.merge(e),e.connectedEdges().forEach((function(e){t.contains(e)&&!_.contains(e)&&n.merge(e)}))})),n},L=[I(E),I(T)];return{cut:_,components:L,partition1:E,partition2:T}}Ht("At least 2 nodes are required for Karger-Stein algorithm")}},ke=function(t,e,n){return{x:t.x*e+n.x,y:t.y*e+n.y}},_e=function(t,e,n){return{x:(t.x-n.x)/e,y:(t.y-n.y)/e}},Ee=function(t){return{x:t[0],y:t[1]}},Te=function(t,e){return Math.atan2(e,t)-Math.PI/2},Ce=Math.log2||function(t){return Math.log(t)/Math.log(2)},Se=function(t){return t>0?1:t<0?-1:0},Ae=function(t,e){return Math.sqrt(Me(t,e))},Me=function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},Ie=function(t){for(var e=t.length,n=0,i=0;i<e;i++)n+=t[i];for(var r=0;r<e;r++)t[r]=t[r]/n;return t},Le=function(t,e,n,i){return(1-i)*(1-i)*t+2*(1-i)*i*e+i*i*n},Oe=function(t,e,n,i){return{x:Le(t.x,e.x,n.x,i),y:Le(t.y,e.y,n.y,i)}},De=function(t,e,n){return Math.max(t,Math.min(n,e))},Ne=function(t){if(null==t)return{x1:1/0,y1:1/0,x2:-1/0,y2:-1/0,w:0,h:0};if(null!=t.x1&&null!=t.y1){if(null!=t.x2&&null!=t.y2&&t.x2>=t.x1&&t.y2>=t.y1)return{x1:t.x1,y1:t.y1,x2:t.x2,y2:t.y2,w:t.x2-t.x1,h:t.y2-t.y1};if(null!=t.w&&null!=t.h&&t.w>=0&&t.h>=0)return{x1:t.x1,y1:t.y1,x2:t.x1+t.w,y2:t.y1+t.h,w:t.w,h:t.h}}},Pe=function(t,e,n){t.x1=Math.min(t.x1,e),t.x2=Math.max(t.x2,e),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,n),t.y2=Math.max(t.y2,n),t.h=t.y2-t.y1},Be=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return t.x1-=e,t.x2+=e,t.y1-=e,t.y2+=e,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},Fe=function(t){var e,n,i,r,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[0];if(1===a.length)e=n=i=r=a[0];else if(2===a.length)e=i=a[0],r=n=a[1];else if(4===a.length){var s=o(a,4);e=s[0],n=s[1],i=s[2],r=s[3]}return t.x1-=r,t.x2+=n,t.y1-=e,t.y2+=i,t.w=t.x2-t.x1,t.h=t.y2-t.y1,t},$e=function(t,e){t.x1=e.x1,t.y1=e.y1,t.x2=e.x2,t.y2=e.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1},je=function(t,e){return!(t.x1>e.x2||e.x1>t.x2||t.x2<e.x1||e.x2<t.x1||t.y2<e.y1||e.y2<t.y1||t.y1>e.y2||e.y1>t.y2)},Re=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},ze=function(t,e){return Re(t,e.x1,e.y1)&&Re(t,e.x2,e.y2)},qe=function(t,e,n,i,r,a,o){var s,c=sn(r,a),u=r/2,l=a/2,h=i-l-o;if((s=tn(t,e,n,i,n-u+c-o,h,n+u-c+o,h,!1)).length>0)return s;var f=n+u+o;if((s=tn(t,e,n,i,f,i-l+c-o,f,i+l-c+o,!1)).length>0)return s;var d=i+l+o;if((s=tn(t,e,n,i,n-u+c-o,d,n+u-c+o,d,!1)).length>0)return s;var g,p=n-u-o;if((s=tn(t,e,n,i,p,i-l+c-o,p,i+l-c+o,!1)).length>0)return s;var b=n-u+c,w=i-l+c;if((g=Qe(t,e,n,i,b,w,c+o)).length>0&&g[0]<=b&&g[1]<=w)return[g[0],g[1]];var y=n+u-c,m=i-l+c;if((g=Qe(t,e,n,i,y,m,c+o)).length>0&&g[0]>=y&&g[1]<=m)return[g[0],g[1]];var v=n+u-c,x=i+l-c;if((g=Qe(t,e,n,i,v,x,c+o)).length>0&&g[0]>=v&&g[1]>=x)return[g[0],g[1]];var k=n-u+c,_=i+l-c;return(g=Qe(t,e,n,i,k,_,c+o)).length>0&&g[0]<=k&&g[1]>=_?[g[0],g[1]]:[]},He=function(t,e,n,i,r,a,o){var s=o,c=Math.min(n,r),u=Math.max(n,r),l=Math.min(i,a),h=Math.max(i,a);return c-s<=t&&t<=u+s&&l-s<=e&&e<=h+s},Ze=function(t,e,n,i,r,a,o,s,c){var u=Math.min(n,o,r)-c,l=Math.max(n,o,r)+c,h=Math.min(i,s,a)-c,f=Math.max(i,s,a)+c;return!(t<u||t>l||e<h||e>f)},Ue=function(t,e,n,i,r,a,o,s){var c=[];!function(t,e,n,i,r){var a,o,s,c,u,l,h,f;0===t&&(t=1e-5),s=-27*(i/=t)+(e/=t)*(9*(n/=t)-e*e*2),a=(o=(3*n-e*e)/9)*o*o+(s/=54)*s,r[1]=0,h=e/3,a>0?(u=(u=s+Math.sqrt(a))<0?-Math.pow(-u,1/3):Math.pow(u,1/3),l=(l=s-Math.sqrt(a))<0?-Math.pow(-l,1/3):Math.pow(l,1/3),r[0]=-h+u+l,h+=(u+l)/2,r[4]=r[2]=-h,h=Math.sqrt(3)*(-l+u)/2,r[3]=h,r[5]=-h):(r[5]=r[3]=0,0===a?(f=s<0?-Math.pow(-s,1/3):Math.pow(s,1/3),r[0]=2*f-h,r[4]=r[2]=-(f+h)):(c=(o=-o)*o*o,c=Math.acos(s/Math.sqrt(c)),f=2*Math.sqrt(o),r[0]=-h+f*Math.cos(c/3),r[2]=-h+f*Math.cos((c+2*Math.PI)/3),r[4]=-h+f*Math.cos((c+4*Math.PI)/3)))}(1*n*n-4*n*r+2*n*o+4*r*r-4*r*o+o*o+i*i-4*i*a+2*i*s+4*a*a-4*a*s+s*s,9*n*r-3*n*n-3*n*o-6*r*r+3*r*o+9*i*a-3*i*i-3*i*s-6*a*a+3*a*s,3*n*n-6*n*r+n*o-n*t+2*r*r+2*r*t-o*t+3*i*i-6*i*a+i*s-i*e+2*a*a+2*a*e-s*e,1*n*r-n*n+n*t-r*t+i*a-i*i+i*e-a*e,c);for(var u=[],l=0;l<6;l+=2)Math.abs(c[l+1])<1e-7&&c[l]>=0&&c[l]<=1&&u.push(c[l]);u.push(1),u.push(0);for(var h,f,d,g=-1,p=0;p<u.length;p++)h=Math.pow(1-u[p],2)*n+2*(1-u[p])*u[p]*r+u[p]*u[p]*o,f=Math.pow(1-u[p],2)*i+2*(1-u[p])*u[p]*a+u[p]*u[p]*s,d=Math.pow(h-t,2)+Math.pow(f-e,2),g>=0?d<g&&(g=d):g=d;return g},Ye=function(t,e,n,i,r,a){var o=[t-n,e-i],s=[r-n,a-i],c=s[0]*s[0]+s[1]*s[1],u=o[0]*o[0]+o[1]*o[1],l=o[0]*s[0]+o[1]*s[1],h=l*l/c;return l<0?u:h>c?(t-r)*(t-r)+(e-a)*(e-a):u-h},Ge=function(t,e,n){for(var i,r,a,o,s=0,c=0;c<n.length/2;c++)if(i=n[2*c],r=n[2*c+1],c+1<n.length/2?(a=n[2*(c+1)],o=n[2*(c+1)+1]):(a=n[2*(c+1-n.length/2)],o=n[2*(c+1-n.length/2)+1]),i==t&&a==t);else{if(!(i>=t&&t>=a||i<=t&&t<=a))continue;(t-i)/(a-i)*(o-r)+r>e&&s++}return s%2!=0},Ke=function(t,e,n,i,r,a,o,s,c){var u,l=new Array(n.length);null!=s[0]?(u=Math.atan(s[1]/s[0]),s[0]<0?u+=Math.PI/2:u=-u-Math.PI/2):u=s;for(var h,f=Math.cos(-u),d=Math.sin(-u),g=0;g<l.length/2;g++)l[2*g]=a/2*(n[2*g]*f-n[2*g+1]*d),l[2*g+1]=o/2*(n[2*g+1]*f+n[2*g]*d),l[2*g]+=i,l[2*g+1]+=r;if(c>0){var p=Xe(l,-c);h=We(p)}else h=l;return Ge(t,e,h)},We=function(t){for(var e,n,i,r,a,o,s,c,u=new Array(t.length/2),l=0;l<t.length/4;l++){e=t[4*l],n=t[4*l+1],i=t[4*l+2],r=t[4*l+3],l<t.length/4-1?(a=t[4*(l+1)],o=t[4*(l+1)+1],s=t[4*(l+1)+2],c=t[4*(l+1)+3]):(a=t[0],o=t[1],s=t[2],c=t[3]);var h=tn(e,n,i,r,a,o,s,c,!0);u[2*l]=h[0],u[2*l+1]=h[1]}return u},Xe=function(t,e){for(var n,i,r,a,o=new Array(2*t.length),s=0;s<t.length/2;s++){n=t[2*s],i=t[2*s+1],s<t.length/2-1?(r=t[2*(s+1)],a=t[2*(s+1)+1]):(r=t[0],a=t[1]);var c=a-i,u=-(r-n),l=Math.sqrt(c*c+u*u),h=c/l,f=u/l;o[4*s]=n+h*e,o[4*s+1]=i+f*e,o[4*s+2]=r+h*e,o[4*s+3]=a+f*e}return o},Ve=function(t,e,n,i,r,a,o){return t-=r,e-=a,(t/=n/2+o)*t+(e/=i/2+o)*e<=1},Qe=function(t,e,n,i,r,a,o){var s=[n-t,i-e],c=[t-r,e-a],u=s[0]*s[0]+s[1]*s[1],l=2*(c[0]*s[0]+c[1]*s[1]),h=l*l-4*u*(c[0]*c[0]+c[1]*c[1]-o*o);if(h<0)return[];var f=(-l+Math.sqrt(h))/(2*u),d=(-l-Math.sqrt(h))/(2*u),g=Math.min(f,d),p=Math.max(f,d),b=[];if(g>=0&&g<=1&&b.push(g),p>=0&&p<=1&&b.push(p),0===b.length)return[];var w=b[0]*s[0]+t,y=b[0]*s[1]+e;return b.length>1?b[0]==b[1]?[w,y]:[w,y,b[1]*s[0]+t,b[1]*s[1]+e]:[w,y]},Je=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},tn=function(t,e,n,i,r,a,o,s,c){var u=t-r,l=n-t,h=o-r,f=e-a,d=i-e,g=s-a,p=h*f-g*u,b=l*f-d*u,w=g*l-h*d;if(0!==w){var y=p/w,m=b/w,v=-.001;return v<=y&&y<=1.001&&v<=m&&m<=1.001||c?[t+y*l,e+y*d]:[]}return 0===p||0===b?Je(t,n,o)===o?[o,s]:Je(t,n,r)===r?[r,a]:Je(r,o,n)===n?[n,i]:[]:[]},en=function(t,e,n,i,r,a,o,s){var c,u,l,h,f,d,g=[],p=new Array(n.length),b=!0;if(null==a&&(b=!1),b){for(var w=0;w<p.length/2;w++)p[2*w]=n[2*w]*a+i,p[2*w+1]=n[2*w+1]*o+r;if(s>0){var y=Xe(p,-s);u=We(y)}else u=p}else u=n;for(var m=0;m<u.length/2;m++)l=u[2*m],h=u[2*m+1],m<u.length/2-1?(f=u[2*(m+1)],d=u[2*(m+1)+1]):(f=u[0],d=u[1]),0!==(c=tn(t,e,i,r,l,h,f,d)).length&&g.push(c[0],c[1]);return g},nn=function(t,e,n){var i=[t[0]-e[0],t[1]-e[1]],r=Math.sqrt(i[0]*i[0]+i[1]*i[1]),a=(r-n)/r;return a<0&&(a=1e-5),[e[0]+a*i[0],e[1]+a*i[1]]},rn=function(t,e){var n=on(t,e);return an(n)},an=function(t){for(var e,n,i=t.length/2,r=1/0,a=1/0,o=-1/0,s=-1/0,c=0;c<i;c++)e=t[2*c],n=t[2*c+1],r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);for(var u=2/(o-r),l=2/(s-a),h=0;h<i;h++)e=t[2*h]=t[2*h]*u,n=t[2*h+1]=t[2*h+1]*l,r=Math.min(r,e),o=Math.max(o,e),a=Math.min(a,n),s=Math.max(s,n);if(a<-1)for(var f=0;f<i;f++)n=t[2*f+1]=t[2*f+1]+(-1-a);return t},on=function(t,e){var n=1/t*2*Math.PI,i=t%2==0?Math.PI/2+n/2:Math.PI/2;i+=e;for(var r,a=new Array(2*t),o=0;o<t;o++)r=o*n+i,a[2*o]=Math.cos(r),a[2*o+1]=Math.sin(-r);return a},sn=function(t,e){return Math.min(t/4,e/4,8)},cn=function(t,e){return Math.min(t/10,e/10,8)},un=function(t,e){return{heightOffset:Math.min(15,.05*e),widthOffset:Math.min(100,.25*t),ctrlPtOffsetPct:.05}},ln=Xt({dampingFactor:.8,precision:1e-6,iterations:200,weight:function(t){return 1}}),hn={pageRank:function(t){for(var e=ln(t),n=e.dampingFactor,i=e.precision,r=e.iterations,a=e.weight,o=this._private.cy,s=this.byGroup(),c=s.nodes,u=s.edges,l=c.length,h=l*l,f=u.length,d=new Array(h),g=new Array(l),p=(1-n)/l,b=0;b<l;b++){for(var w=0;w<l;w++)d[b*l+w]=0;g[b]=0}for(var y=0;y<f;y++){var m=u[y],v=m.data("source"),x=m.data("target");if(v!==x){var k=c.indexOfId(v),_=c.indexOfId(x),E=a(m);d[_*l+k]+=E,g[k]+=E}}for(var T=1/l+p,C=0;C<l;C++)if(0===g[C])for(var S=0;S<l;S++)d[S*l+C]=T;else for(var A=0;A<l;A++){var M=A*l+C;d[M]=d[M]/g[C]+p}for(var I,L=new Array(l),O=new Array(l),D=0;D<l;D++)L[D]=1;for(var N=0;N<r;N++){for(var P=0;P<l;P++)O[P]=0;for(var B=0;B<l;B++)for(var F=0;F<l;F++){var $=B*l+F;O[B]+=d[$]*L[F]}Ie(O),I=L,L=O,O=I;for(var j=0,R=0;R<l;R++){var z=I[R]-L[R];j+=z*z}if(j<i)break}return{rank:function(t){return t=o.collection(t)[0],L[c.indexOf(t)]}}}},fn=Xt({root:null,weight:function(t){return 1},directed:!1,alpha:0}),dn={degreeCentralityNormalized:function(t){t=fn(t);var e=this.cy(),n=this.nodes(),i=n.length;if(t.directed){for(var r={},a={},o=0,s=0,c=0;c<i;c++){var u=n[c],l=u.id();t.root=u;var h=this.degreeCentrality(t);o<h.indegree&&(o=h.indegree),s<h.outdegree&&(s=h.outdegree),r[l]=h.indegree,a[l]=h.outdegree}return{indegree:function(t){return 0==o?0:(p(t)&&(t=e.filter(t)),r[t.id()]/o)},outdegree:function(t){return 0===s?0:(p(t)&&(t=e.filter(t)),a[t.id()]/s)}}}for(var f={},d=0,g=0;g<i;g++){var b=n[g];t.root=b;var w=this.degreeCentrality(t);d<w.degree&&(d=w.degree),f[b.id()]=w.degree}return{degree:function(t){return 0===d?0:(p(t)&&(t=e.filter(t)),f[t.id()]/d)}}},degreeCentrality:function(t){t=fn(t);var e=this.cy(),n=this,i=t,r=i.root,a=i.weight,o=i.directed,s=i.alpha;if(r=e.collection(r)[0],o){for(var c=r.connectedEdges(),u=c.filter((function(t){return t.target().same(r)&&n.has(t)})),l=c.filter((function(t){return t.source().same(r)&&n.has(t)})),h=u.length,f=l.length,d=0,g=0,p=0;p<u.length;p++)d+=a(u[p]);for(var b=0;b<l.length;b++)g+=a(l[b]);return{indegree:Math.pow(h,1-s)*Math.pow(d,s),outdegree:Math.pow(f,1-s)*Math.pow(g,s)}}for(var w=r.connectedEdges().intersection(n),y=w.length,m=0,v=0;v<w.length;v++)m+=a(w[v]);return{degree:Math.pow(y,1-s)*Math.pow(m,s)}}};dn.dc=dn.degreeCentrality,dn.dcn=dn.degreeCentralityNormalised=dn.degreeCentralityNormalized;var gn=Xt({harmonic:!0,weight:function(){return 1},directed:!1,root:null}),pn={closenessCentralityNormalized:function(t){for(var e=gn(t),n=e.harmonic,i=e.weight,r=e.directed,a=this.cy(),o={},s=0,c=this.nodes(),u=this.floydWarshall({weight:i,directed:r}),l=0;l<c.length;l++){for(var h=0,f=c[l],d=0;d<c.length;d++)if(l!==d){var g=u.distance(f,c[d]);h+=n?1/g:g}n||(h=1/h),s<h&&(s=h),o[f.id()]=h}return{closeness:function(t){return 0==s?0:(t=p(t)?a.filter(t)[0].id():t.id(),o[t]/s)}}},closenessCentrality:function(t){var e=gn(t),n=e.root,i=e.weight,r=e.directed,a=e.harmonic;n=this.filter(n)[0];for(var o=this.dijkstra({root:n,weight:i,directed:r}),s=0,c=this.nodes(),u=0;u<c.length;u++){var l=c[u];if(!l.same(n)){var h=o.distanceTo(l);s+=a?1/h:h}}return a?s:1/s}};pn.cc=pn.closenessCentrality,pn.ccn=pn.closenessCentralityNormalised=pn.closenessCentralityNormalized;var bn=Xt({weight:null,directed:!1}),wn={betweennessCentrality:function(t){for(var e=bn(t),n=e.directed,i=e.weight,r=null!=i,a=this.cy(),o=this.nodes(),s={},c={},u=0,l={set:function(t,e){c[t]=e,e>u&&(u=e)},get:function(t){return c[t]}},h=0;h<o.length;h++){var f=o[h],d=f.id();s[d]=n?f.outgoers().nodes():f.openNeighborhood().nodes(),l.set(d,0)}for(var g=function(t){for(var e=o[t].id(),n=[],c={},u={},h={},f=new ce((function(t,e){return h[t]-h[e]})),d=0;d<o.length;d++){var g=o[d].id();c[g]=[],u[g]=0,h[g]=1/0}for(u[e]=1,h[e]=0,f.push(e);!f.empty();){var p=f.pop();if(n.push(p),r)for(var b=0;b<s[p].length;b++){var w,y=s[p][b],m=a.getElementById(p);w=m.edgesTo(y).length>0?m.edgesTo(y)[0]:y.edgesTo(m)[0];var v=i(w);y=y.id(),h[y]>h[p]+v&&(h[y]=h[p]+v,f.nodes.indexOf(y)<0?f.push(y):f.updateItem(y),u[y]=0,c[y]=[]),h[y]==h[p]+v&&(u[y]=u[y]+u[p],c[y].push(p))}else for(var x=0;x<s[p].length;x++){var k=s[p][x].id();h[k]==1/0&&(f.push(k),h[k]=h[p]+1),h[k]==h[p]+1&&(u[k]=u[k]+u[p],c[k].push(p))}}for(var _={},E=0;E<o.length;E++)_[o[E].id()]=0;for(;n.length>0;){for(var T=n.pop(),C=0;C<c[T].length;C++){var S=c[T][C];_[S]=_[S]+u[S]/u[T]*(1+_[T])}T!=o[t].id()&&l.set(T,l.get(T)+_[T])}},p=0;p<o.length;p++)g(p);var b={betweenness:function(t){var e=a.collection(t).id();return l.get(e)},betweennessNormalized:function(t){if(0==u)return 0;var e=a.collection(t).id();return l.get(e)/u}};return b.betweennessNormalised=b.betweennessNormalized,b}};wn.bc=wn.betweennessCentrality;var yn=Xt({expandFactor:2,inflateFactor:2,multFactor:1,maxIterations:20,attributes:[function(t){return 1}]}),mn=function(t,e){for(var n=0,i=0;i<e.length;i++)n+=e[i](t);return n},vn=function(t,e){for(var n,i=0;i<e;i++){n=0;for(var r=0;r<e;r++)n+=t[r*e+i];for(var a=0;a<e;a++)t[a*e+i]=t[a*e+i]/n}},xn=function(t,e,n){for(var i=new Array(n*n),r=0;r<n;r++){for(var a=0;a<n;a++)i[r*n+a]=0;for(var o=0;o<n;o++)for(var s=0;s<n;s++)i[r*n+s]+=t[r*n+o]*e[o*n+s]}return i},kn=function(t,e,n){for(var i=t.slice(0),r=1;r<n;r++)t=xn(t,i,e);return t},_n=function(t,e,n){for(var i=new Array(e*e),r=0;r<e*e;r++)i[r]=Math.pow(t[r],n);return vn(i,e),i},En=function(t,e,n,i){for(var r=0;r<n;r++)if(Math.round(t[r]*Math.pow(10,i))/Math.pow(10,i)!=Math.round(e[r]*Math.pow(10,i))/Math.pow(10,i))return!1;return!0},Tn=function(t,e){for(var n=0;n<t.length;n++)if(!e[n]||t[n].id()!==e[n].id())return!1;return!0},Cn=function(t){for(var e=this.nodes(),n=this.edges(),i=this.cy(),r=function(t){return yn(t)}(t),a={},o=0;o<e.length;o++)a[e[o].id()]=o;for(var s,c=e.length,u=c*c,l=new Array(u),h=0;h<u;h++)l[h]=0;for(var f=0;f<n.length;f++){var d=n[f],g=a[d.source().id()],p=a[d.target().id()],b=mn(d,r.attributes);l[g*c+p]+=b,l[p*c+g]+=b}(function(t,e,n){for(var i=0;i<e;i++)t[i*e+i]=n})(l,c,r.multFactor),vn(l,c);for(var w=!0,y=0;w&&y<r.maxIterations;)w=!1,s=kn(l,c,r.expandFactor),l=_n(s,c,r.inflateFactor),En(l,s,u,4)||(w=!0),y++;var m=function(t,e,n,i){for(var r=[],a=0;a<e;a++){for(var o=[],s=0;s<e;s++)Math.round(1e3*t[a*e+s])/1e3>0&&o.push(n[s]);0!==o.length&&r.push(i.collection(o))}return r}(l,c,e,i);return function(t){for(var e=0;e<t.length;e++)for(var n=0;n<t.length;n++)e!=n&&Tn(t[e],t[n])&&t.splice(n,1);return t}(m)},Sn={markovClustering:Cn,mcl:Cn},An=function(t){return t},Mn=function(t,e){return Math.abs(e-t)},In=function(t,e,n){return t+Mn(e,n)},Ln=function(t,e,n){return t+Math.pow(n-e,2)},On=function(t){return Math.sqrt(t)},Dn=function(t,e,n){return Math.max(t,Mn(e,n))},Nn=function(t,e,n,i,r){for(var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:An,o=i,s=0;s<t;s++)o=r(o,e(s),n(s));return a(o)},Pn={euclidean:function(t,e,n){return t>=2?Nn(t,e,n,0,Ln,On):Nn(t,e,n,0,In)},squaredEuclidean:function(t,e,n){return Nn(t,e,n,0,Ln)},manhattan:function(t,e,n){return Nn(t,e,n,0,In)},max:function(t,e,n){return Nn(t,e,n,-1/0,Dn)}};function Bn(t,e,n,i,r,a){var o;return o=b(t)?t:Pn[t]||Pn.euclidean,0===e&&b(t)?o(r,a):o(e,n,i,r,a)}Pn["squared-euclidean"]=Pn.squaredEuclidean,Pn.squaredeuclidean=Pn.squaredEuclidean;var Fn=Xt({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),$n=function(t){return Fn(t)},jn=function(t,e,n,i,r){var a="kMedoids"!==r?function(t){return n[t]}:function(t){return i[t](n)},o=n,s=e;return Bn(t,i.length,a,(function(t){return i[t](e)}),o,s)},Rn=function(t,e,n){for(var i=n.length,r=new Array(i),a=new Array(i),o=new Array(e),s=null,c=0;c<i;c++)r[c]=t.min(n[c]).value,a[c]=t.max(n[c]).value;for(var u=0;u<e;u++){s=[];for(var l=0;l<i;l++)s[l]=Math.random()*(a[l]-r[l])+r[l];o[u]=s}return o},zn=function(t,e,n,i,r){for(var a=1/0,o=0,s=0;s<e.length;s++){var c=jn(n,t,e[s],i,r);c<a&&(a=c,o=s)}return o},qn=function(t,e,n){for(var i=[],r=null,a=0;a<e.length;a++)n[(r=e[a]).id()]===t&&i.push(r);return i},Hn=function(t,e,n){for(var i=0;i<t.length;i++)for(var r=0;r<t[i].length;r++)if(Math.abs(t[i][r]-e[i][r])>n)return!1;return!0},Zn=function(t,e,n){for(var i=0;i<n;i++)if(t===e[i])return!0;return!1},Un=function(t,e){var n=new Array(e);if(t.length<50)for(var i=0;i<e;i++){for(var r=t[Math.floor(Math.random()*t.length)];Zn(r,n,i);)r=t[Math.floor(Math.random()*t.length)];n[i]=r}else for(var a=0;a<e;a++)n[a]=t[Math.floor(Math.random()*t.length)];return n},Yn=function(t,e,n){for(var i=0,r=0;r<e.length;r++)i+=jn("manhattan",e[r],t,n,"kMedoids");return i},Gn=function(t,e,n,i,r){for(var a,o,s=0;s<e.length;s++)for(var c=0;c<t.length;c++)i[s][c]=Math.pow(n[s][c],r.m);for(var u=0;u<t.length;u++)for(var l=0;l<r.attributes.length;l++){a=0,o=0;for(var h=0;h<e.length;h++)a+=i[h][u]*r.attributes[l](e[h]),o+=i[h][u];t[u][l]=a/o}},Kn=function(t,e,n,i,r){for(var a=0;a<t.length;a++)e[a]=t[a].slice();for(var o,s,c,u=2/(r.m-1),l=0;l<n.length;l++)for(var h=0;h<i.length;h++){o=0;for(var f=0;f<n.length;f++)s=jn(r.distance,i[h],n[l],r.attributes,"cmeans"),c=jn(r.distance,i[h],n[f],r.attributes,"cmeans"),o+=Math.pow(s/c,u);t[h][l]=1/o}},Wn=function(t,e,n,i){for(var r,a,o=new Array(n.k),s=0;s<o.length;s++)o[s]=[];for(var c=0;c<e.length;c++){r=-1/0,a=-1;for(var u=0;u<e[0].length;u++)e[c][u]>r&&(r=e[c][u],a=u);o[a].push(t[c])}for(var l=0;l<o.length;l++)o[l]=i.collection(o[l]);return o},Xn=function(t){var e,n,i,r,a=this.cy(),o=this.nodes(),s=$n(t);i=new Array(o.length);for(var c=0;c<o.length;c++)i[c]=new Array(s.k);n=new Array(o.length);for(var u=0;u<o.length;u++)n[u]=new Array(s.k);for(var l=0;l<o.length;l++){for(var h=0,f=0;f<s.k;f++)n[l][f]=Math.random(),h+=n[l][f];for(var d=0;d<s.k;d++)n[l][d]=n[l][d]/h}e=new Array(s.k);for(var g=0;g<s.k;g++)e[g]=new Array(s.attributes.length);r=new Array(o.length);for(var p=0;p<o.length;p++)r[p]=new Array(s.k);for(var b=!0,w=0;b&&w<s.maxIterations;)b=!1,Gn(e,o,n,r,s),Kn(n,i,e,o,s),Hn(n,i,s.sensitivityThreshold)||(b=!0),w++;return{clusters:Wn(o,n,s,a),degreeOfMembership:n}},Vn={kMeans:function(e){var n,i,r,a,o=this.cy(),s=this.nodes(),c=null,u=$n(e),l=new Array(u.k),h={};u.testMode?"number"==typeof u.testCentroids?(u.testCentroids,n=Rn(s,u.k,u.attributes)):n="object"===t(u.testCentroids)?u.testCentroids:Rn(s,u.k,u.attributes):n=Rn(s,u.k,u.attributes);for(var f=!0,d=0;f&&d<u.maxIterations;){for(var g=0;g<s.length;g++)h[(c=s[g]).id()]=zn(c,n,u.distance,u.attributes,"kMeans");f=!1;for(var p=0;p<u.k;p++){var b=qn(p,s,h);if(0!==b.length){for(var w=u.attributes.length,y=n[p],m=new Array(w),v=new Array(w),x=0;x<w;x++){v[x]=0;for(var k=0;k<b.length;k++)c=b[k],v[x]+=u.attributes[x](c);m[x]=v[x]/b.length,i=m[x],r=y[x],a=u.sensitivityThreshold,Math.abs(r-i)<=a||(f=!0)}n[p]=m,l[p]=o.collection(b)}}d++}return l},kMedoids:function(e){var n,i,r=this.cy(),a=this.nodes(),o=null,s=$n(e),c=new Array(s.k),u={},l=new Array(s.k);s.testMode?"number"==typeof s.testCentroids||(n="object"===t(s.testCentroids)?s.testCentroids:Un(a,s.k)):n=Un(a,s.k);for(var h=!0,f=0;h&&f<s.maxIterations;){for(var d=0;d<a.length;d++)u[(o=a[d]).id()]=zn(o,n,s.distance,s.attributes,"kMedoids");h=!1;for(var g=0;g<n.length;g++){var p=qn(g,a,u);if(0!==p.length){l[g]=Yn(n[g],p,s.attributes);for(var b=0;b<p.length;b++)(i=Yn(p[b],p,s.attributes))<l[g]&&(l[g]=i,n[g]=p[b],h=!0);c[g]=r.collection(p)}}f++}return c},fuzzyCMeans:Xn,fcm:Xn},Qn=Xt({distance:"euclidean",linkage:"min",mode:"threshold",threshold:1/0,addDendrogram:!1,dendrogramDepth:0,attributes:[]}),Jn={single:"min",complete:"max"},ti=function(t,e,n,i,r){for(var a,o=0,s=1/0,c=r.attributes,u=function(t,e){return Bn(r.distance,c.length,(function(e){return c[e](t)}),(function(t){return c[t](e)}),t,e)},l=0;l<t.length;l++){var h=t[l].key,f=n[h][i[h]];f<s&&(o=h,s=f)}if("threshold"===r.mode&&s>=r.threshold||"dendrogram"===r.mode&&1===t.length)return!1;var d,g=e[o],p=e[i[o]];d="dendrogram"===r.mode?{left:g,right:p,key:g.key}:{value:g.value.concat(p.value),key:g.key},t[g.index]=d,t.splice(p.index,1),e[g.key]=d;for(var b=0;b<t.length;b++){var w=t[b];g.key===w.key?a=1/0:"min"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]>n[p.key][w.key]&&(a=n[p.key][w.key])):"max"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]<n[p.key][w.key]&&(a=n[p.key][w.key])):a="mean"===r.linkage?(n[g.key][w.key]*g.size+n[p.key][w.key]*p.size)/(g.size+p.size):"dendrogram"===r.mode?u(w.value,g.value):u(w.value[0],g.value[0]),n[g.key][w.key]=n[w.key][g.key]=a}for(var y=0;y<t.length;y++){var m=t[y].key;if(i[m]===g.key||i[m]===p.key){for(var v=m,x=0;x<t.length;x++){var k=t[x].key;n[m][k]<n[m][v]&&(v=k)}i[m]=v}t[y].index=y}return g.key=p.key=g.index=p.index=null,!0},ei=function t(e,n,i){e&&(e.value?n.push(e.value):(e.left&&t(e.left,n),e.right&&t(e.right,n)))},ni=function t(e,n){if(!e)return"";if(e.left&&e.right){var i=t(e.left,n),r=t(e.right,n),a=n.add({group:"nodes",data:{id:i+","+r}});return n.add({group:"edges",data:{source:i,target:a.id()}}),n.add({group:"edges",data:{source:r,target:a.id()}}),a.id()}return e.value?e.value.id():void 0},ii=function t(e,n,i){if(!e)return[];var r=[],a=[],o=[];return 0===n?(e.left&&ei(e.left,r),e.right&&ei(e.right,a),o=r.concat(a),[i.collection(o)]):1===n?e.value?[i.collection(e.value)]:(e.left&&ei(e.left,r),e.right&&ei(e.right,a),[i.collection(r),i.collection(a)]):e.value?[i.collection(e.value)]:(e.left&&(r=t(e.left,n-1,i)),e.right&&(a=t(e.right,n-1,i)),r.concat(a))},ri=function(t){for(var e=this.cy(),n=this.nodes(),i=function(t){var e=Qn(t),n=Jn[e.linkage];return null!=n&&(e.linkage=n),e}(t),r=i.attributes,a=function(t,e){return Bn(i.distance,r.length,(function(e){return r[e](t)}),(function(t){return r[t](e)}),t,e)},o=[],s=[],c=[],u=[],l=0;l<n.length;l++){var h={value:"dendrogram"===i.mode?n[l]:[n[l]],key:l,index:l};o[l]=h,u[l]=h,s[l]=[],c[l]=0}for(var f=0;f<o.length;f++)for(var d=0;d<=f;d++){var g;g="dendrogram"===i.mode?f===d?1/0:a(o[f].value,o[d].value):f===d?1/0:a(o[f].value[0],o[d].value[0]),s[f][d]=g,s[d][f]=g,g<s[f][c[f]]&&(c[f]=d)}for(var p,b=ti(o,u,s,c,i);b;)b=ti(o,u,s,c,i);return"dendrogram"===i.mode?(p=ii(o[0],i.dendrogramDepth,e),i.addDendrogram&&ni(o[0],e)):(p=new Array(o.length),o.forEach((function(t,n){t.key=t.index=null,p[n]=e.collection(t.value)}))),p},ai={hierarchicalClustering:ri,hca:ri},oi=Xt({distance:"euclidean",preference:"median",damping:.8,maxIterations:1e3,minIterations:100,attributes:[]}),si=function(t,e,n,i){var r=function(t,e){return i[e](t)};return-Bn(t,i.length,(function(t){return r(e,t)}),(function(t){return r(n,t)}),e,n)},ci=function(t,e){return"median"===e?function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],r=!(arguments.length>5&&void 0!==arguments[5])||arguments[5];arguments.length>3&&void 0!==arguments[3]&&!arguments[3]?(n<t.length&&t.splice(n,t.length-n),e>0&&t.splice(0,e)):t=t.slice(e,n);for(var a=0,o=t.length-1;o>=0;o--){var s=t[o];r?isFinite(s)||(t[o]=-1/0,a++):t.splice(o,1)}i&&t.sort((function(t,e){return t-e}));var c=t.length,u=Math.floor(c/2);return c%2!=0?t[u+1+a]:(t[u-1+a]+t[u+a])/2}(t):"mean"===e?function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=0,r=0,a=e;a<n;a++){var o=t[a];isFinite(o)&&(i+=o,r++)}return i/r}(t):"min"===e?function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.min(a,i))}return i}(t):"max"===e?function(t){for(var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=-1/0,r=e;r<n;r++){var a=t[r];isFinite(a)&&(i=Math.max(a,i))}return i}(t):e},ui=function(t,e,n){for(var i=[],r=0;r<t;r++){for(var a=-1,o=-1/0,s=0;s<n.length;s++){var c=n[s];e[r*t+c]>o&&(a=c,o=e[r*t+c])}a>0&&i.push(a)}for(var u=0;u<n.length;u++)i[n[u]]=n[u];return i},li=function(t){for(var e,n,i,r,a,o,s=this.cy(),c=this.nodes(),u=function(t){var e=t.damping,n=t.preference;.5<=e&&e<1||Ht("Damping must range on [0.5, 1). Got: ".concat(e));var i=["median","mean","min","max"];return i.some((function(t){return t===n}))||m(n)||Ht("Preference must be one of [".concat(i.map((function(t){return"'".concat(t,"'")})).join(", "),"] or a number. Got: ").concat(n)),oi(t)}(t),l={},h=0;h<c.length;h++)l[c[h].id()]=h;n=(e=c.length)*e,i=new Array(n);for(var f=0;f<n;f++)i[f]=-1/0;for(var d=0;d<e;d++)for(var g=0;g<e;g++)d!==g&&(i[d*e+g]=si(u.distance,c[d],c[g],u.attributes));r=ci(i,u.preference);for(var p=0;p<e;p++)i[p*e+p]=r;a=new Array(n);for(var b=0;b<n;b++)a[b]=0;o=new Array(n);for(var w=0;w<n;w++)o[w]=0;for(var y=new Array(e),v=new Array(e),x=new Array(e),k=0;k<e;k++)y[k]=0,v[k]=0,x[k]=0;for(var _,E=new Array(e*u.minIterations),T=0;T<E.length;T++)E[T]=0;for(_=0;_<u.maxIterations;_++){for(var C=0;C<e;C++){for(var S=-1/0,A=-1/0,M=-1,I=0,L=0;L<e;L++)y[L]=a[C*e+L],(I=o[C*e+L]+i[C*e+L])>=S?(A=S,S=I,M=L):I>A&&(A=I);for(var O=0;O<e;O++)a[C*e+O]=(1-u.damping)*(i[C*e+O]-S)+u.damping*y[O];a[C*e+M]=(1-u.damping)*(i[C*e+M]-A)+u.damping*y[M]}for(var D=0;D<e;D++){for(var N=0,P=0;P<e;P++)y[P]=o[P*e+D],v[P]=Math.max(0,a[P*e+D]),N+=v[P];N-=v[D],v[D]=a[D*e+D],N+=v[D];for(var B=0;B<e;B++)o[B*e+D]=(1-u.damping)*Math.min(0,N-v[B])+u.damping*y[B];o[D*e+D]=(1-u.damping)*(N-v[D])+u.damping*y[D]}for(var F=0,$=0;$<e;$++){var j=o[$*e+$]+a[$*e+$]>0?1:0;E[_%u.minIterations*e+$]=j,F+=j}if(F>0&&(_>=u.minIterations-1||_==u.maxIterations-1)){for(var R=0,z=0;z<e;z++){x[z]=0;for(var q=0;q<u.minIterations;q++)x[z]+=E[q*e+z];0!==x[z]&&x[z]!==u.minIterations||R++}if(R===e)break}}for(var H=function(t,e,n){for(var i=[],r=0;r<t;r++)e[r*t+r]+n[r*t+r]>0&&i.push(r);return i}(e,a,o),Z=function(t,e,n){for(var i=ui(t,e,n),r=0;r<n.length;r++){for(var a=[],o=0;o<i.length;o++)i[o]===n[r]&&a.push(o);for(var s=-1,c=-1/0,u=0;u<a.length;u++){for(var l=0,h=0;h<a.length;h++)l+=e[a[h]*t+a[u]];l>c&&(s=u,c=l)}n[r]=a[s]}return ui(t,e,n)}(e,i,H),U={},Y=0;Y<H.length;Y++)U[H[Y]]=[];for(var G=0;G<c.length;G++){var K=Z[l[c[G].id()]];null!=K&&U[K].push(c[G])}for(var W=new Array(H.length),X=0;X<H.length;X++)W[X]=s.collection(U[H[X]]);return W},hi={affinityPropagation:li,ap:li},fi=Xt({root:void 0,directed:!1}),di={hierholzer:function(t){if(!y(t)){var e=arguments;t={root:e[0],directed:e[1]}}var n,i,r,a=fi(t),o=a.root,s=a.directed,c=this,u=!1;o&&(r=p(o)?this.filter(o)[0].id():o[0].id());var l={},h={};s?c.forEach((function(t){var e=t.id();if(t.isNode()){var r=t.indegree(!0),a=t.outdegree(!0),o=r-a,s=a-r;1==o?n?u=!0:n=e:1==s?i?u=!0:i=e:(s>1||o>1)&&(u=!0),l[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&l[e].push(t.id())}))}else h[e]=[void 0,t.target().id()]})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?i?u=!0:i=e:n=e),l[e]=[],t.connectedEdges().forEach((function(t){return l[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()]}));var f={found:!1,trail:void 0};if(u)return f;if(i&&n)if(s){if(r&&i!=r)return f;r=i}else{if(r&&i!=r&&n!=r)return f;r||(r=i)}else r||(r=c[0].id());var d=function(t){for(var e,n,i,r=t,a=[t];l[r].length;)e=l[r].shift(),n=h[e][0],r!=(i=h[e][1])?(l[i]=l[i].filter((function(t){return t!=e})),r=i):s||r==n||(l[n]=l[n].filter((function(t){return t!=e})),r=n),a.unshift(e),a.unshift(r);return a},g=[],b=[];for(b=d(r);1!=b.length;)0==l[b[0]].length?(g.unshift(c.getElementById(b.shift())),g.unshift(c.getElementById(b.shift()))):b=d(b.shift()).concat(b);for(var w in g.unshift(c.getElementById(b.shift())),l)if(l[w].length)return f;return f.found=!0,f.trail=this.spawn(g,!0),f}},gi=function(){var t=this,e={},n=0,i=0,r=[],a=[],o={},s=function s(c,u,l){c===l&&(i+=1),e[u]={id:n,low:n++,cutVertex:!1};var h,f,d,g,p=t.getElementById(u).connectedEdges().intersection(t);0===p.size()?r.push(t.spawn(t.getElementById(u))):p.forEach((function(n){h=n.source().id(),f=n.target().id(),(d=h===u?f:h)!==l&&(g=n.id(),o[g]||(o[g]=!0,a.push({x:u,y:d,edge:n})),d in e?e[u].low=Math.min(e[u].low,e[d].id):(s(c,d,u),e[u].low=Math.min(e[u].low,e[d].low),e[u].id<=e[d].low&&(e[u].cutVertex=!0,function(n,i){for(var o=a.length-1,s=[],c=t.spawn();a[o].x!=n||a[o].y!=i;)s.push(a.pop().edge),o--;s.push(a.pop().edge),s.forEach((function(n){var i=n.connectedNodes().intersection(t);c.merge(n),i.forEach((function(n){var i=n.id(),r=n.connectedEdges().intersection(t);c.merge(n),e[i].cutVertex?c.merge(r.filter((function(t){return t.isLoop()}))):c.merge(r)}))})),r.push(c)}(u,d))))}))};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(i=0,s(n,n),e[n].cutVertex=i>1)}}));var c=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return{cut:t.spawn(c),components:r}},pi=function(){var t=this,e={},n=0,i=[],r=[],a=t.spawn(t),o=function o(s){if(r.push(s),e[s]={index:n,low:n++,explored:!1},t.getElementById(s).connectedEdges().intersection(t).forEach((function(t){var n=t.target().id();n!==s&&(n in e||o(n),e[n].explored||(e[s].low=Math.min(e[s].low,e[n].low)))})),e[s].index===e[s].low){for(var c=t.spawn();;){var u=r.pop();if(c.merge(t.getElementById(u)),e[u].low=e[s].index,e[u].explored=!0,u===s)break}var l=c.edgesWith(c),h=c.merge(l);i.push(h),a=a.difference(h)}};return t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||o(n)}})),{cut:a,components:i}},bi={};[oe,le,he,de,pe,we,xe,hn,dn,pn,wn,Sn,Vn,ai,hi,di,{hopcroftTarjanBiconnected:gi,htbc:gi,htb:gi,hopcroftTarjanBiconnectedComponents:gi},{tarjanStronglyConnected:pi,tsc:pi,tscc:pi,tarjanStronglyConnectedComponents:pi}].forEach((function(t){j(bi,t)}));var wi=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=0,this.fulfillValue=void 0,this.rejectReason=void 0,this.onFulfilled=[],this.onRejected=[],this.proxy={then:this.then.bind(this)},"function"==typeof e&&e.call(this,this.fulfill.bind(this),this.reject.bind(this))};wi.prototype={fulfill:function(t){return yi(this,1,"fulfillValue",t)},reject:function(t){return yi(this,2,"rejectReason",t)},then:function(t,e){var n=this,i=new wi;return n.onFulfilled.push(xi(t,i,"fulfill")),n.onRejected.push(xi(e,i,"reject")),mi(n),i.proxy}};var yi=function(t,e,n,i){return 0===t.state&&(t.state=e,t[n]=i,mi(t)),t},mi=function(t){1===t.state?vi(t,"onFulfilled",t.fulfillValue):2===t.state&&vi(t,"onRejected",t.rejectReason)},vi=function(t,e,n){if(0!==t[e].length){var i=t[e];t[e]=[];var r=function(){for(var t=0;t<i.length;t++)i[t](n)};"function"==typeof setImmediate?setImmediate(r):setTimeout(r,0)}},xi=function(t,e,n){return function(i){if("function"!=typeof t)e[n].call(e,i);else{var r;try{r=t(i)}catch(t){return void e.reject(t)}ki(e,r)}}},ki=function e(n,i){if(n!==i&&n.proxy!==i){var r;if("object"===t(i)&&null!==i||"function"==typeof i)try{r=i.then}catch(t){return void n.reject(t)}if("function"!=typeof r)n.fulfill(i);else{var a=!1;try{r.call(i,(function(t){a||(a=!0,t===i?n.reject(new TypeError("circular thenable chain")):e(n,t))}),(function(t){a||(a=!0,n.reject(t))}))}catch(t){a||n.reject(t)}}}else n.reject(new TypeError("cannot resolve promise with itself"))};wi.all=function(t){return new wi((function(e,n){for(var i=new Array(t.length),r=0,a=function(n,a){i[n]=a,++r===t.length&&e(i)},o=0;o<t.length;o++)!function(e){var i=t[e];null!=i&&null!=i.then?i.then((function(t){a(e,t)}),(function(t){n(t)})):a(e,i)}(o)}))},wi.resolve=function(t){return new wi((function(e,n){e(t)}))},wi.reject=function(t){return new wi((function(e,n){n(t)}))};var _i="undefined"!=typeof Promise?Promise:wi,Ei=function(t,e,n){var i=E(t),r=!i,a=this._private=j({duration:1e3},e,n);if(a.target=t,a.style=a.style||a.css,a.started=!1,a.playing=!1,a.hooked=!1,a.applying=!1,a.progress=0,a.completes=[],a.frames=[],a.complete&&b(a.complete)&&a.completes.push(a.complete),r){var o=t.position();a.startPosition=a.startPosition||{x:o.x,y:o.y},a.startStyle=a.startStyle||t.cy().style().getAnimationStartStyle(t,a.style)}if(i){var s=t.pan();a.startPan={x:s.x,y:s.y},a.startZoom=t.zoom()}this.length=1,this[0]=this},Ti=Ei.prototype;j(Ti,{instanceString:function(){return"animation"},hook:function(){var t=this._private;if(!t.hooked){var e=t.target._private.animation;(t.queue?e.queue:e.current).push(this),x(t.target)&&t.target.cy().addToAnimationPool(t.target),t.hooked=!0}return this},play:function(){var t=this._private;return 1===t.progress&&(t.progress=0),t.playing=!0,t.started=!1,t.stopped=!1,this.hook(),this},playing:function(){return this._private.playing},apply:function(){var t=this._private;return t.applying=!0,t.started=!1,t.stopped=!1,this.hook(),this},applying:function(){return this._private.applying},pause:function(){var t=this._private;return t.playing=!1,t.started=!1,this},stop:function(){var t=this._private;return t.playing=!1,t.started=!1,t.stopped=!0,this},rewind:function(){return this.progress(0)},fastforward:function(){return this.progress(1)},time:function(t){var e=this._private;return void 0===t?e.progress*e.duration:this.progress(t/e.duration)},progress:function(t){var e=this._private,n=e.playing;return void 0===t?e.progress:(n&&this.pause(),e.progress=t,e.started=!1,n&&this.play(),this)},completed:function(){return 1===this._private.progress},reverse:function(){var t=this._private,e=t.playing;e&&this.pause(),t.progress=1-t.progress,t.started=!1;var n=function(e,n){var i=t[e];null!=i&&(t[e]=t[n],t[n]=i)};if(n("zoom","startZoom"),n("pan","startPan"),n("position","startPosition"),t.style)for(var i=0;i<t.style.length;i++){var r=t.style[i],a=r.name,o=t.startStyle[a];t.startStyle[a]=r,t.style[i]=o}return e&&this.play(),this},promise:function(t){var e,n=this._private;return e="frame"===t?n.frames:n.completes,new _i((function(t,n){e.push((function(){t()}))}))}}),Ti.complete=Ti.completed,Ti.run=Ti.play,Ti.running=Ti.playing;var Ci={animated:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return!1;var n=e[0];return n?n._private.animation.current.length>0:void 0}},clearQueue:function(){return function(){var t=this,e=void 0!==t.length?t:[t];if(!(this._private.cy||this).styleEnabled())return this;for(var n=0;n<e.length;n++)e[n]._private.animation.queue=[];return this}},delay:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animate({delay:t,duration:t,complete:e}):this}},delayAnimation:function(){return function(t,e){return(this._private.cy||this).styleEnabled()?this.animation({delay:t,duration:t,complete:e}):this}},animation:function(){return function(t,e){var n=this,i=void 0!==n.length,r=i?n:[n],a=this._private.cy||this,o=!i,s=!o;if(!a.styleEnabled())return this;var c=a.style();if(t=j({},t,e),0===Object.keys(t).length)return new Ei(r[0],t);switch(void 0===t.duration&&(t.duration=400),t.duration){case"slow":t.duration=600;break;case"fast":t.duration=200}if(s&&(t.style=c.getPropsList(t.style||t.css),t.css=void 0),s&&null!=t.renderedPosition){var u=t.renderedPosition,l=a.pan(),h=a.zoom();t.position=_e(u,h,l)}if(o&&null!=t.panBy){var f=t.panBy,d=a.pan();t.pan={x:d.x+f.x,y:d.y+f.y}}var g=t.center||t.centre;if(o&&null!=g){var p=a.getCenterPan(g.eles,t.zoom);null!=p&&(t.pan=p)}if(o&&null!=t.fit){var b=t.fit,w=a.getFitViewport(b.eles||b.boundingBox,b.padding);null!=w&&(t.pan=w.pan,t.zoom=w.zoom)}if(o&&y(t.zoom)){var m=a.getZoomedViewport(t.zoom);null!=m?(m.zoomed&&(t.zoom=m.zoom),m.panned&&(t.pan=m.pan)):t.zoom=null}return new Ei(r[0],t)}},animate:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n];if(!(this._private.cy||this).styleEnabled())return this;e&&(t=j({},t,e));for(var r=0;r<i.length;r++){var a=i[r],o=a.animated()&&(void 0===t.queue||t.queue);a.animation(t,o?{queue:!0}:void 0).play()}return this}},stop:function(){return function(t,e){var n=this,i=void 0!==n.length?n:[n],r=this._private.cy||this;if(!r.styleEnabled())return this;for(var a=0;a<i.length;a++){for(var o=i[a]._private,s=o.animation.current,c=0;c<s.length;c++){var u=s[c]._private;e&&(u.duration=0)}t&&(o.animation.queue=[]),e||(o.animation.current=[])}return r.notify("draw"),this}}},Si=Array.isArray,Ai=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Mi=/^\w*$/;var Ii=function(t,e){if(Si(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!ht(t))||Mi.test(t)||!Ai.test(t)||null!=e&&t in Object(e)};var Li,Oi=function(t){if(!Z(t))return!1;var e=ut(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e},Di=K["__core-js_shared__"],Ni=(Li=/[^.]+$/.exec(Di&&Di.keys&&Di.keys.IE_PROTO||""))?"Symbol(src)_1."+Li:"";var Pi=function(t){return!!Ni&&Ni in t},Bi=Function.prototype.toString;var Fi=function(t){if(null!=t){try{return Bi.call(t)}catch(t){}try{return t+""}catch(t){}}return""},$i=/^\[object .+?Constructor\]$/,ji=Function.prototype,Ri=Object.prototype,zi=ji.toString,qi=Ri.hasOwnProperty,Hi=RegExp("^"+zi.call(qi).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");var Zi=function(t){return!(!Z(t)||Pi(t))&&(Oi(t)?Hi:$i).test(Fi(t))};var Ui=function(t,e){return null==t?void 0:t[e]};var Yi=function(t,e){var n=Ui(t,e);return Zi(n)?n:void 0},Gi=Yi(Object,"create");var Ki=function(){this.__data__=Gi?Gi(null):{},this.size=0};var Wi=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},Xi=Object.prototype.hasOwnProperty;var Vi=function(t){var e=this.__data__;if(Gi){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return Xi.call(e,t)?e[t]:void 0},Qi=Object.prototype.hasOwnProperty;var Ji=function(t){var e=this.__data__;return Gi?void 0!==e[t]:Qi.call(e,t)};var tr=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=Gi&&void 0===e?"__lodash_hash_undefined__":e,this};function er(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}er.prototype.clear=Ki,er.prototype.delete=Wi,er.prototype.get=Vi,er.prototype.has=Ji,er.prototype.set=tr;var nr=er;var ir=function(){this.__data__=[],this.size=0};var rr=function(t,e){return t===e||t!=t&&e!=e};var ar=function(t,e){for(var n=t.length;n--;)if(rr(t[n][0],e))return n;return-1},or=Array.prototype.splice;var sr=function(t){var e=this.__data__,n=ar(e,t);return!(n<0||(n==e.length-1?e.pop():or.call(e,n,1),--this.size,0))};var cr=function(t){var e=this.__data__,n=ar(e,t);return n<0?void 0:e[n][1]};var ur=function(t){return ar(this.__data__,t)>-1};var lr=function(t,e){var n=this.__data__,i=ar(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function hr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}hr.prototype.clear=ir,hr.prototype.delete=sr,hr.prototype.get=cr,hr.prototype.has=ur,hr.prototype.set=lr;var fr=hr,dr=Yi(K,"Map");var gr=function(){this.size=0,this.__data__={hash:new nr,map:new(dr||fr),string:new nr}};var pr=function(t){var e=typeof t;return"string"==e||"number"==e||"symbol"==e||"boolean"==e?"__proto__"!==t:null===t};var br=function(t,e){var n=t.__data__;return pr(e)?n["string"==typeof e?"string":"hash"]:n.map};var wr=function(t){var e=br(this,t).delete(t);return this.size-=e?1:0,e};var yr=function(t){return br(this,t).get(t)};var mr=function(t){return br(this,t).has(t)};var vr=function(t,e){var n=br(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};function xr(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}xr.prototype.clear=gr,xr.prototype.delete=wr,xr.prototype.get=yr,xr.prototype.has=mr,xr.prototype.set=vr;var kr=xr;function _r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(_r.Cache||kr),n}_r.Cache=kr;var Er=_r;var Tr=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Cr=/\\(\\)?/g,Sr=function(t){var e=Er(t,(function(t){return 500===n.size&&n.clear(),t})),n=e.cache;return e}((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(Tr,(function(t,n,i,r){e.push(i?r.replace(Cr,"$1"):n||t)})),e}));var Ar=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r},Mr=tt?tt.prototype:void 0,Ir=Mr?Mr.toString:void 0;var Lr=function t(e){if("string"==typeof e)return e;if(Si(e))return Ar(e,t)+"";if(ht(e))return Ir?Ir.call(e):"";var n=e+"";return"0"==n&&1/e==-Infinity?"-0":n};var Or=function(t){return null==t?"":Lr(t)};var Dr=function(t,e){return Si(t)?t:Ii(t,e)?[t]:Sr(Or(t))};var Nr=function(t){if("string"==typeof t||ht(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e};var Pr=function(t,e){for(var n=0,i=(e=Dr(e,t)).length;null!=t&&n<i;)t=t[Nr(e[n++])];return n&&n==i?t:void 0};var Br=function(t,e,n){var i=null==t?void 0:Pr(t,e);return void 0===i?n:i},Fr=function(){try{var t=Yi(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();var $r=function(t,e,n){"__proto__"==e&&Fr?Fr(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n},jr=Object.prototype.hasOwnProperty;var Rr=function(t,e,n){var i=t[e];jr.call(t,e)&&rr(i,n)&&(void 0!==n||e in t)||$r(t,e,n)},zr=/^(?:0|[1-9]\d*)$/;var qr=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&zr.test(t))&&t>-1&&t%1==0&&t<e};var Hr=function(t,e,n,i){if(!Z(t))return t;for(var r=-1,a=(e=Dr(e,t)).length,o=a-1,s=t;null!=s&&++r<a;){var c=Nr(e[r]),u=n;if("__proto__"===c||"constructor"===c||"prototype"===c)return t;if(r!=o){var l=s[c];void 0===(u=i?i(l,c,s):void 0)&&(u=Z(l)?l:qr(e[r+1])?[]:{})}Rr(s,c,u),s=s[c]}return t};var Zr=function(t,e,n){return null==t?t:Hr(t,e,n)};var Ur=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e};var Yr=function(t){return Si(t)?Ar(t,Nr):ht(t)?[t]:Ur(Sr(Or(t)))},Gr={eventAliasesOn:function(t){var e=t;e.addListener=e.listen=e.bind=e.on,e.unlisten=e.unbind=e.off=e.removeListener,e.trigger=e.emit,e.pon=e.promiseOn=function(t,e){var n=this,i=Array.prototype.slice.call(arguments,0);return new _i((function(t,e){var r=i.concat([function(e){n.off.apply(n,a),t(e)}]),a=r.concat([]);n.on.apply(n,r)}))}}},Kr={};[Ci,{data:function(t){return t=j({},{field:"data",bindingEvent:"data",allowBinding:!1,allowSetting:!1,allowGetting:!1,settingEvent:"data",settingTriggersEvent:!1,triggerFnName:"trigger",immutableKeys:{},updateStyle:!1,beforeGet:function(t){},beforeSet:function(t,e){},onSet:function(t){},canSet:function(t){return!0}},t),function(e,n){var i=t,r=this,o=void 0!==r.length,s=o?r:[r],c=o?r[0]:r;if(p(e)){var u,l=-1!==e.indexOf(".")&&Yr(e);if(i.allowGetting&&void 0===n)return c&&(i.beforeGet(c),u=l&&void 0===c._private[i.field][e]?Br(c._private[i.field],l):c._private[i.field][e]),u;if(i.allowSetting&&void 0!==n&&!i.immutableKeys[e]){var h=a({},e,n);i.beforeSet(r,h);for(var f=0,d=s.length;f<d;f++){var g=s[f];i.canSet(g)&&(l&&void 0===c._private[i.field][e]?Zr(g._private[i.field],l,n):g._private[i.field][e]=n)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}}else if(i.allowSetting&&y(e)){var w,m,v=e,x=Object.keys(v);i.beforeSet(r,v);for(var k=0;k<x.length;k++)if(m=v[w=x[k]],!i.immutableKeys[w])for(var _=0;_<s.length;_++){var E=s[_];i.canSet(E)&&(E._private[i.field][w]=m)}i.updateStyle&&r.updateStyle(),i.onSet(r),i.settingTriggersEvent&&r[i.triggerFnName](i.settingEvent)}else if(i.allowBinding&&b(e)){var T=e;r.on(i.bindingEvent,T)}else if(i.allowGetting&&void 0===e){var C;return c&&(i.beforeGet(c),C=c._private[i.field]),C}return r}},removeData:function(t){return t=j({},{field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!1,immutableKeys:{}},t),function(e){var n=t,i=this,r=void 0!==i.length?i:[i];if(p(e)){for(var a=e.split(/\s+/),o=a.length,s=0;s<o;s++){var c=a[s];if(!C(c)&&!n.immutableKeys[c])for(var u=0,l=r.length;u<l;u++)r[u]._private[n.field][c]=void 0}n.triggerEvent&&i[n.triggerFnName](n.event)}else if(void 0===e){for(var h=0,f=r.length;h<f;h++)for(var d=r[h]._private[n.field],g=Object.keys(d),b=0;b<g.length;b++){var w=g[b];!n.immutableKeys[w]&&(d[w]=void 0)}n.triggerEvent&&i[n.triggerFnName](n.event)}return i}}},Gr].forEach((function(t){j(Kr,t)}));var Wr={animate:Kr.animate(),animation:Kr.animation(),animated:Kr.animated(),clearQueue:Kr.clearQueue(),delay:Kr.delay(),delayAnimation:Kr.delayAnimation(),stop:Kr.stop()},Xr={classes:function(t){var e=this;if(void 0===t){var n=[];return e[0]._private.classes.forEach((function(t){return n.push(t)})),n}w(t)||(t=(t||"").match(/\S+/g)||[]);for(var i=[],r=new ie(t),a=0;a<e.length;a++){for(var o=e[a],s=o._private,c=s.classes,u=!1,l=0;l<t.length;l++){var h=t[l];if(!c.has(h)){u=!0;break}}u||(u=c.size!==t.length),u&&(s.classes=r,i.push(o))}return i.length>0&&this.spawn(i).updateStyle().emit("class"),e},addClass:function(t){return this.toggleClass(t,!0)},hasClass:function(t){var e=this[0];return null!=e&&e._private.classes.has(t)},toggleClass:function(t,e){w(t)||(t=t.match(/\S+/g)||[]);for(var n=this,i=void 0===e,r=[],a=0,o=n.length;a<o;a++)for(var s=n[a],c=s._private.classes,u=!1,l=0;l<t.length;l++){var h=t[l],f=c.has(h),d=!1;e||i&&!f?(c.add(h),d=!0):(!e||i&&f)&&(c.delete(h),d=!0),!u&&d&&(r.push(s),u=!0)}return r.length>0&&this.spawn(r).updateStyle().emit("class"),n},removeClass:function(t){return this.toggleClass(t,!1)},flashClass:function(t,e){var n=this;if(null==e)e=250;else if(0===e)return n;return n.addClass(t),setTimeout((function(){n.removeClass(t)}),e),n}};Xr.className=Xr.classNames=Xr.classes;var Vr={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:D,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};Vr.variable="(?:[\\w-.]|(?:\\\\"+Vr.metaChar+"))+",Vr.className="(?:[\\w-]|(?:\\\\"+Vr.metaChar+"))+",Vr.value=Vr.string+"|"+Vr.number,Vr.id=Vr.variable,function(){var t,e,n;for(t=Vr.comparatorOp.split("|"),n=0;n<t.length;n++)e=t[n],Vr.comparatorOp+="|@"+e;for(t=Vr.comparatorOp.split("|"),n=0;n<t.length;n++)(e=t[n]).indexOf("!")>=0||"="!==e&&(Vr.comparatorOp+="|\\!"+e)}();var Qr=0,Jr=1,ta=2,ea=3,na=4,ia=5,ra=6,aa=7,oa=8,sa=9,ca=10,ua=11,la=12,ha=13,fa=14,da=15,ga=16,pa=17,ba=18,wa=19,ya=20,ma=[{selector:":selected",matches:function(t){return t.selected()}},{selector:":unselected",matches:function(t){return!t.selected()}},{selector:":selectable",matches:function(t){return t.selectable()}},{selector:":unselectable",matches:function(t){return!t.selectable()}},{selector:":locked",matches:function(t){return t.locked()}},{selector:":unlocked",matches:function(t){return!t.locked()}},{selector:":visible",matches:function(t){return t.visible()}},{selector:":hidden",matches:function(t){return!t.visible()}},{selector:":transparent",matches:function(t){return t.transparent()}},{selector:":grabbed",matches:function(t){return t.grabbed()}},{selector:":free",matches:function(t){return!t.grabbed()}},{selector:":removed",matches:function(t){return t.removed()}},{selector:":inside",matches:function(t){return!t.removed()}},{selector:":grabbable",matches:function(t){return t.grabbable()}},{selector:":ungrabbable",matches:function(t){return!t.grabbable()}},{selector:":animated",matches:function(t){return t.animated()}},{selector:":unanimated",matches:function(t){return!t.animated()}},{selector:":parent",matches:function(t){return t.isParent()}},{selector:":childless",matches:function(t){return t.isChildless()}},{selector:":child",matches:function(t){return t.isChild()}},{selector:":orphan",matches:function(t){return t.isOrphan()}},{selector:":nonorphan",matches:function(t){return t.isChild()}},{selector:":compound",matches:function(t){return t.isNode()?t.isParent():t.source().isParent()||t.target().isParent()}},{selector:":loop",matches:function(t){return t.isLoop()}},{selector:":simple",matches:function(t){return t.isSimple()}},{selector:":active",matches:function(t){return t.active()}},{selector:":inactive",matches:function(t){return!t.active()}},{selector:":backgrounding",matches:function(t){return t.backgrounding()}},{selector:":nonbackgrounding",matches:function(t){return!t.backgrounding()}}].sort((function(t,e){return function(t,e){return-1*$(t,e)}(t.selector,e.selector)})),va=function(){for(var t,e={},n=0;n<ma.length;n++)e[(t=ma[n]).selector]=t.matches;return e}(),xa="("+ma.map((function(t){return t.selector})).join("|")+")",ka=function(t){return t.replace(new RegExp("\\\\("+Vr.metaChar+")","g"),(function(t,e){return e}))},_a=function(t,e,n){t[t.length-1]=n},Ea=[{name:"group",query:!0,regex:"("+Vr.group+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:Qr,value:"*"===i?i:i+"s"})}},{name:"state",query:!0,regex:xa,populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:aa,value:i})}},{name:"id",query:!0,regex:"\\#("+Vr.id+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:oa,value:ka(i)})}},{name:"className",query:!0,regex:"\\.("+Vr.className+")",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:sa,value:ka(i)})}},{name:"dataExists",query:!0,regex:"\\[\\s*("+Vr.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,1)[0];e.checks.push({type:na,field:ka(i)})}},{name:"dataCompare",query:!0,regex:"\\[\\s*("+Vr.variable+")\\s*("+Vr.comparatorOp+")\\s*("+Vr.value+")\\s*\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];s=null!=new RegExp("^"+Vr.string+"$").exec(s)?s.substring(1,s.length-1):parseFloat(s),e.checks.push({type:ea,field:ka(r),operator:a,value:s})}},{name:"dataBool",query:!0,regex:"\\[\\s*("+Vr.boolOp+")\\s*("+Vr.variable+")\\s*\\]",populate:function(t,e,n){var i=o(n,2),r=i[0],a=i[1];e.checks.push({type:ia,field:ka(a),operator:r})}},{name:"metaCompare",query:!0,regex:"\\[\\[\\s*("+Vr.meta+")\\s*("+Vr.comparatorOp+")\\s*("+Vr.number+")\\s*\\]\\]",populate:function(t,e,n){var i=o(n,3),r=i[0],a=i[1],s=i[2];e.checks.push({type:ra,field:ka(r),operator:a,value:parseFloat(s)})}},{name:"nextQuery",separator:!0,regex:Vr.separator,populate:function(t,e){var n=t.currentSubject,i=t.edgeCount,r=t.compoundCount,a=t[t.length-1];return null!=n&&(a.subject=n,t.currentSubject=null),a.edgeCount=i,a.compoundCount=r,t.edgeCount=0,t.compoundCount=0,t[t.length++]={checks:[]}}},{name:"directedEdge",separator:!0,regex:Vr.directedEdge,populate:function(t,e){if(null==t.currentSubject){var n={checks:[]},i=e,r={checks:[]};return n.checks.push({type:ua,source:i,target:r}),_a(t,0,n),t.edgeCount++,r}var a={checks:[]},o=e,s={checks:[]};return a.checks.push({type:la,source:o,target:s}),_a(t,0,a),t.edgeCount++,s}},{name:"undirectedEdge",separator:!0,regex:Vr.undirectedEdge,populate:function(t,e){if(null==t.currentSubject){var n={checks:[]},i=e,r={checks:[]};return n.checks.push({type:ca,nodes:[i,r]}),_a(t,0,n),t.edgeCount++,r}var a={checks:[]},o=e,s={checks:[]};return a.checks.push({type:fa,node:o,neighbor:s}),_a(t,0,a),s}},{name:"child",separator:!0,regex:Vr.child,populate:function(t,e){if(null==t.currentSubject){var n={checks:[]},i={checks:[]},r=t[t.length-1];return n.checks.push({type:da,parent:r,child:i}),_a(t,0,n),t.compoundCount++,i}if(t.currentSubject===e){var a={checks:[]},o=t[t.length-1],s={checks:[]},c={checks:[]},u={checks:[]},l={checks:[]};return a.checks.push({type:wa,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ya}],l.checks.push({type:ya}),s.checks.push({type:pa,parent:l,child:u}),_a(t,0,a),t.currentSubject=c,t.compoundCount++,u}var h={checks:[]},f={checks:[]},d=[{type:pa,parent:h,child:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"descendant",separator:!0,regex:Vr.descendant,populate:function(t,e){if(null==t.currentSubject){var n={checks:[]},i={checks:[]},r=t[t.length-1];return n.checks.push({type:ga,ancestor:r,descendant:i}),_a(t,0,n),t.compoundCount++,i}if(t.currentSubject===e){var a={checks:[]},o=t[t.length-1],s={checks:[]},c={checks:[]},u={checks:[]},l={checks:[]};return a.checks.push({type:wa,left:o,right:s,subject:c}),c.checks=e.checks,e.checks=[{type:ya}],l.checks.push({type:ya}),s.checks.push({type:ba,ancestor:l,descendant:u}),_a(t,0,a),t.currentSubject=c,t.compoundCount++,u}var h={checks:[]},f={checks:[]},d=[{type:ba,ancestor:h,descendant:f}];return h.checks=e.checks,e.checks=d,t.compoundCount++,f}},{name:"subject",modifier:!0,regex:Vr.subject,populate:function(t,e){if(null!=t.currentSubject&&t.currentSubject!==e)return Ut("Redefinition of subject in selector `"+t.toString()+"`"),!1;t.currentSubject=e;var n=t[t.length-1].checks[0],i=null==n?null:n.type;i===ua?n.type=ha:i===ca&&(n.type=fa,n.node=n.nodes[1],n.neighbor=n.nodes[0],n.nodes=null)}}];Ea.forEach((function(t){return t.regexObj=new RegExp("^"+t.regex)}));var Ta=function(t){for(var e,n,i,r=0;r<Ea.length;r++){var a=Ea[r],o=a.name,s=t.match(a.regexObj);if(null!=s){n=s,e=a,i=o;var c=s[0];t=t.substring(c.length);break}}return{expr:e,match:n,name:i,remaining:t}},Ca={parse:function(t){var e=this,n=e.inputText=t,i=e[0]={checks:[]};for(e.length=1,n=function(t){var e=t.match(/^\s+/);if(e){var n=e[0];t=t.substring(n.length)}return t}(n);;){var r=Ta(n);if(null==r.expr)return Ut("The selector `"+t+"`is invalid"),!1;var a=r.match.slice(1),o=r.expr.populate(e,i,a);if(!1===o)return!1;if(null!=o&&(i=o),(n=r.remaining).match(/^\s*$/))break}var s=e[e.length-1];null!=e.currentSubject&&(s.subject=e.currentSubject),s.edgeCount=e.edgeCount,s.compoundCount=e.compoundCount;for(var c=0;c<e.length;c++){var u=e[c];if(u.compoundCount>0&&u.edgeCount>0)return Ut("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Ut("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Ut("The selector `"+t+"` is deprecated. Edge selectors do not take effect on changes to source and target nodes after an edge is added, for performance reasons. Use a class or data selector on edges instead, updating the class or data of an edge when your app detects a change in source or target nodes.")}return!0},toString:function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return null==t?"":t},e=function(e){return p(e)?'"'+e+'"':t(e)},n=function(t){return" "+t+" "},i=function(r,a){return r.checks.reduce((function(o,s,c){return o+(a===r&&0===c?"$":"")+function(r,a){var o=r.type,s=r.value;switch(o){case Qr:var c=t(s);return c.substring(0,c.length-1);case ea:var u=r.field,l=r.operator;return"["+u+n(t(l))+e(s)+"]";case ia:var h=r.operator,f=r.field;return"["+t(h)+f+"]";case na:return"["+r.field+"]";case ra:var d=r.operator;return"[["+r.field+n(t(d))+e(s)+"]]";case aa:return s;case oa:return"#"+s;case sa:return"."+s;case pa:case da:return i(r.parent,a)+n(">")+i(r.child,a);case ba:case ga:return i(r.ancestor,a)+" "+i(r.descendant,a);case wa:var g=i(r.left,a),p=i(r.subject,a),b=i(r.right,a);return g+(g.length>0?" ":"")+p+b;case ya:return""}}(s,a)}),"")},r="",a=0;a<this.length;a++){var o=this[a];r+=i(o,o.subject),this.length>1&&a<this.length-1&&(r+=", ")}return this.toStringCache=r,r}},Sa=function(t,e,n){var i,r,a,o=p(t),s=m(t),c=p(n),u=!1,l=!1,h=!1;switch(e.indexOf("!")>=0&&(e=e.replace("!",""),l=!0),e.indexOf("@")>=0&&(e=e.replace("@",""),u=!0),(o||c||u)&&(r=o||s?""+t:"",a=""+n),u&&(t=r=r.toLowerCase(),n=a=a.toLowerCase()),e){case"*=":i=r.indexOf(a)>=0;break;case"$=":i=r.indexOf(a,r.length-a.length)>=0;break;case"^=":i=0===r.indexOf(a);break;case"=":i=t===n;break;case">":h=!0,i=t>n;break;case">=":h=!0,i=t>=n;break;case"<":h=!0,i=t<n;break;case"<=":h=!0,i=t<=n;break;default:i=!1}return!l||null==t&&h||(i=!i),i},Aa=function(t,e){return t.data(e)},Ma=[],Ia=function(t,e){return t.checks.every((function(t){return Ma[t.type](t,e)}))};Ma[Qr]=function(t,e){var n=t.value;return"*"===n||n===e.group()},Ma[aa]=function(t,e){return function(t,e){return va[t](e)}(t.value,e)},Ma[oa]=function(t,e){var n=t.value;return e.id()===n},Ma[sa]=function(t,e){var n=t.value;return e.hasClass(n)},Ma[ra]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Sa(function(t,e){return t[e]()}(e,n),i,r)},Ma[ea]=function(t,e){var n=t.field,i=t.operator,r=t.value;return Sa(Aa(e,n),i,r)},Ma[ia]=function(t,e){var n=t.field,i=t.operator;return function(t,e){switch(e){case"?":return!!t;case"!":return!t;case"^":return void 0===t}}(Aa(e,n),i)},Ma[na]=function(t,e){var n=t.field;return t.operator,void 0!==Aa(e,n)},Ma[ca]=function(t,e){var n=t.nodes[0],i=t.nodes[1],r=e.source(),a=e.target();return Ia(n,r)&&Ia(i,a)||Ia(i,r)&&Ia(n,a)},Ma[fa]=function(t,e){return Ia(t.node,e)&&e.neighborhood().some((function(e){return e.isNode()&&Ia(t.neighbor,e)}))},Ma[ua]=function(t,e){return Ia(t.source,e.source())&&Ia(t.target,e.target())},Ma[la]=function(t,e){return Ia(t.source,e)&&e.outgoers().some((function(e){return e.isNode()&&Ia(t.target,e)}))},Ma[ha]=function(t,e){return Ia(t.target,e)&&e.incomers().some((function(e){return e.isNode()&&Ia(t.source,e)}))},Ma[da]=function(t,e){return Ia(t.child,e)&&Ia(t.parent,e.parent())},Ma[pa]=function(t,e){return Ia(t.parent,e)&&e.children().some((function(e){return Ia(t.child,e)}))},Ma[ga]=function(t,e){return Ia(t.descendant,e)&&e.ancestors().some((function(e){return Ia(t.ancestor,e)}))},Ma[ba]=function(t,e){return Ia(t.ancestor,e)&&e.descendants().some((function(e){return Ia(t.descendant,e)}))},Ma[wa]=function(t,e){return Ia(t.subject,e)&&Ia(t.left,e)&&Ia(t.right,e)},Ma[ya]=function(){return!0},Ma[Jr]=function(t,e){return t.value.has(e)},Ma[ta]=function(t,e){return(0,t.value)(e)};var La={matches:function(t){for(var e=0;e<this.length;e++){var n=this[e];if(Ia(n,t))return!0}return!1},filter:function(t){var e=this;if(1===e.length&&1===e[0].checks.length&&e[0].checks[0].type===oa)return t.getElementById(e[0].checks[0].value).collection();var n=function(t){for(var n=0;n<e.length;n++){var i=e[n];if(Ia(i,t))return!0}return!1};return null==e.text()&&(n=function(){return!0}),t.filter(n)}},Oa=function(t){this.inputText=t,this.currentSubject=null,this.compoundCount=0,this.edgeCount=0,this.length=0,null==t||p(t)&&t.match(/^\s*$/)||(x(t)?this.addQuery({checks:[{type:Jr,value:t.collection()}]}):b(t)?this.addQuery({checks:[{type:ta,value:t}]}):p(t)?this.parse(t)||(this.invalid=!0):Ht("A selector must be created from a string; found "))},Da=Oa.prototype;[Ca,La].forEach((function(t){return j(Da,t)})),Da.text=function(){return this.inputText},Da.size=function(){return this.length},Da.eq=function(t){return this[t]},Da.sameText=function(t){return!this.invalid&&!t.invalid&&this.text()===t.text()},Da.addQuery=function(t){this[this.length++]=t},Da.selector=Da.toString;var Na={allAre:function(t){var e=new Oa(t);return this.every((function(t){return e.matches(t)}))},is:function(t){var e=new Oa(t);return this.some((function(t){return e.matches(t)}))},some:function(t,e){for(var n=0;n<this.length;n++)if(e?t.apply(e,[this[n],n,this]):t(this[n],n,this))return!0;return!1},every:function(t,e){for(var n=0;n<this.length;n++)if(!(e?t.apply(e,[this[n],n,this]):t(this[n],n,this)))return!1;return!0},same:function(t){if(this===t)return!0;t=this.cy().collection(t);var e=this.length;return e===t.length&&(1===e?this[0]===t[0]:this.every((function(e){return t.hasElementWithId(e.id())})))},anySame:function(t){return t=this.cy().collection(t),this.some((function(e){return t.hasElementWithId(e.id())}))},allAreNeighbors:function(t){t=this.cy().collection(t);var e=this.neighborhood();return t.every((function(t){return e.hasElementWithId(t.id())}))},contains:function(t){t=this.cy().collection(t);var e=this;return t.every((function(t){return e.hasElementWithId(t.id())}))}};Na.allAreNeighbours=Na.allAreNeighbors,Na.has=Na.contains,Na.equal=Na.equals=Na.same;var Pa,Ba,Fa=function(t,e){return function(n,i,r,a){var o,s=n,c=this;if(null==s?o="":x(s)&&1===s.length&&(o=s.id()),1===c.length&&o){var u=c[0]._private,l=u.traversalCache=u.traversalCache||{},h=l[e]=l[e]||[],f=Ot(o);return h[f]||(h[f]=t.call(c,n,i,r,a))}return t.call(c,n,i,r,a)}},$a={parent:function(t){var e=[];if(1===this.length){var n=this[0]._private.parent;if(n)return n}for(var i=0;i<this.length;i++){var r=this[i]._private.parent;r&&e.push(r)}return this.spawn(e,!0).filter(t)},parents:function(t){for(var e=[],n=this.parent();n.nonempty();){for(var i=0;i<n.length;i++){var r=n[i];e.push(r)}n=n.parent()}return this.spawn(e,!0).filter(t)},commonAncestors:function(t){for(var e,n=0;n<this.length;n++){var i=this[n].parents();e=(e=e||i).intersect(i)}return e.filter(t)},orphans:function(t){return this.stdFilter((function(t){return t.isOrphan()})).filter(t)},nonorphans:function(t){return this.stdFilter((function(t){return t.isChild()})).filter(t)},children:Fa((function(t){for(var e=[],n=0;n<this.length;n++)for(var i=this[n]._private.children,r=0;r<i.length;r++)e.push(i[r]);return this.spawn(e,!0).filter(t)}),"children"),siblings:function(t){return this.parent().children().not(this).filter(t)},isParent:function(){var t=this[0];if(t)return t.isNode()&&0!==t._private.children.length},isChildless:function(){var t=this[0];if(t)return t.isNode()&&0===t._private.children.length},isChild:function(){var t=this[0];if(t)return t.isNode()&&null!=t._private.parent},isOrphan:function(){var t=this[0];if(t)return t.isNode()&&null==t._private.parent},descendants:function(t){var e=[];return function t(n){for(var i=0;i<n.length;i++){var r=n[i];e.push(r),r.children().nonempty()&&t(r.children())}}(this.children()),this.spawn(e,!0).filter(t)}};function ja(t,e,n,i){for(var r=[],a=new ie,o=t.cy().hasCompoundNodes(),s=0;s<t.length;s++){var c=t[s];n?r.push(c):o&&i(r,a,c)}for(;r.length>0;){var u=r.shift();e(u),a.add(u.id()),o&&i(r,a,u)}return t}function Ra(t,e,n){if(n.isParent())for(var i=n._private.children,r=0;r<i.length;r++){var a=i[r];e.has(a.id())||t.push(a)}}function za(t,e,n){if(n.isChild()){var i=n._private.parent;e.has(i.id())||t.push(i)}}function qa(t,e,n){za(t,e,n),Ra(t,e,n)}$a.forEachDown=function(t){return ja(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Ra)},$a.forEachUp=function(t){return ja(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],za)},$a.forEachUpAndDown=function(t){return ja(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],qa)},$a.ancestors=$a.parents,(Pa=Ba={data:Kr.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),removeData:Kr.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:Kr.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Kr.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:Kr.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:Kr.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=Pa.data,Pa.removeAttr=Pa.removeData;var Ha,Za,Ua=Ba,Ya={};function Ga(t){return function(e){var n=this;if(void 0===e&&(e=!0),0!==n.length&&n.isNode()&&!n.removed()){for(var i=0,r=n[0],a=r._private.edges,o=0;o<a.length;o++){var s=a[o];!e&&s.isLoop()||(i+=t(r,s))}return i}}}function Ka(t,e){return function(n){for(var i,r=this.nodes(),a=0;a<r.length;a++){var o=r[a][t](n);void 0===o||void 0!==i&&!e(o,i)||(i=o)}return i}}j(Ya,{degree:Ga((function(t,e){return e.source().same(e.target())?2:1})),indegree:Ga((function(t,e){return e.target().same(t)?1:0})),outdegree:Ga((function(t,e){return e.source().same(t)?1:0}))}),j(Ya,{minDegree:Ka("degree",(function(t,e){return t<e})),maxDegree:Ka("degree",(function(t,e){return t>e})),minIndegree:Ka("indegree",(function(t,e){return t<e})),maxIndegree:Ka("indegree",(function(t,e){return t>e})),minOutdegree:Ka("outdegree",(function(t,e){return t<e})),maxOutdegree:Ka("outdegree",(function(t,e){return t>e}))}),j(Ya,{totalDegree:function(t){for(var e=0,n=this.nodes(),i=0;i<n.length;i++)e+=n[i].degree(t);return e}});var Wa=function(t,e,n){for(var i=0;i<t.length;i++){var r=t[i];if(!r.locked()){var a=r._private.position,o={x:null!=e.x?e.x-a.x:0,y:null!=e.y?e.y-a.y:0};!r.isParent()||0===o.x&&0===o.y||r.children().shift(o,n),r.dirtyBoundingBoxCache()}}},Xa={field:"position",bindingEvent:"position",allowBinding:!0,allowSetting:!0,settingEvent:"position",settingTriggersEvent:!0,triggerFnName:"emitAndNotify",allowGetting:!0,validKeys:["x","y"],beforeGet:function(t){t.updateCompoundBounds()},beforeSet:function(t,e){Wa(t,e,!1)},onSet:function(t){t.dirtyCompoundBoundsCache()},canSet:function(t){return!t.locked()}};(Ha=Za={position:Kr.data(Xa),silentPosition:Kr.data(j({},Xa,{allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!1,beforeSet:function(t,e){Wa(t,e,!0)},onSet:function(t){t.dirtyCompoundBoundsCache()}})),positions:function(t,e){if(y(t))e?this.silentPosition(t):this.position(t);else if(b(t)){var n=t,i=this.cy();i.startBatch();for(var r=0;r<this.length;r++){var a,o=this[r];(a=n(o,r))&&(e?o.silentPosition(a):o.position(a))}i.endBatch()}return this},silentPositions:function(t){return this.positions(t,!0)},shift:function(t,e,n){var i;if(y(t)?(i={x:m(t.x)?t.x:0,y:m(t.y)?t.y:0},n=e):p(t)&&m(e)&&((i={x:0,y:0})[t]=e),null!=i){var r=this.cy();r.startBatch();for(var a=0;a<this.length;a++){var o=this[a];if(!(r.hasCompoundNodes()&&o.isChild()&&o.ancestors().anySame(this))){var s=o.position(),c={x:s.x+i.x,y:s.y+i.y};n?o.silentPosition(c):o.position(c)}}r.endBatch()}return this},silentShift:function(t,e){return y(t)?this.shift(t,!0):p(t)&&m(e)&&this.shift(t,e,!0),this},renderedPosition:function(t,e){var n=this[0],i=this.cy(),r=i.zoom(),a=i.pan(),o=y(t)?t:void 0,s=void 0!==o||void 0!==e&&p(t);if(n&&n.isNode()){if(!s){var c=n.position();return o=ke(c,r,a),void 0===t?o:o[t]}for(var u=0;u<this.length;u++){var l=this[u];void 0!==e?l.position(t,(e-a[t])/r):void 0!==o&&l.position(_e(o,r,a))}}else if(!s)return;return this},relativePosition:function(t,e){var n=this[0],i=this.cy(),r=y(t)?t:void 0,a=void 0!==r||void 0!==e&&p(t),o=i.hasCompoundNodes();if(n&&n.isNode()){if(!a){var s=n.position(),c=o?n.parent():null,u=c&&c.length>0,l=u;u&&(c=c[0]);var h=l?c.position():{x:0,y:0};return r={x:s.x-h.x,y:s.y-h.y},void 0===t?r:r[t]}for(var f=0;f<this.length;f++){var d=this[f],g=o?d.parent():null,b=g&&g.length>0,w=b;b&&(g=g[0]);var m=w?g.position():{x:0,y:0};void 0!==e?d.position(t,e+m[t]):void 0!==r&&d.position({x:r.x+m.x,y:r.y+m.y})}}else if(!a)return;return this}}).modelPosition=Ha.point=Ha.position,Ha.modelPositions=Ha.points=Ha.positions,Ha.renderedPoint=Ha.renderedPosition,Ha.relativePoint=Ha.relativePosition;var Va,Qa,Ja=Za;Va=Qa={},Qa.renderedBoundingBox=function(t){var e=this.boundingBox(t),n=this.cy(),i=n.zoom(),r=n.pan(),a=e.x1*i+r.x,o=e.x2*i+r.x,s=e.y1*i+r.y,c=e.y2*i+r.y;return{x1:a,x2:o,y1:s,y2:c,w:o-a,h:c-s}},Qa.dirtyCompoundBoundsCache=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();return e.styleEnabled()&&e.hasCompoundNodes()?(this.forEachUp((function(e){if(e.isParent()){var n=e._private;n.compoundBoundsClean=!1,n.bbCache=null,t||e.emitAndNotify("bounds")}})),this):this},Qa.updateCompoundBounds=function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0],e=this.cy();if(!e.styleEnabled()||!e.hasCompoundNodes())return this;if(!t&&e.batching())return this;function n(t){if(t.isParent()){var e=t._private,n=t.children(),i="include"===t.pstyle("compound-sizing-wrt-labels").value,r={width:{val:t.pstyle("min-width").pfValue,left:t.pstyle("min-width-bias-left"),right:t.pstyle("min-width-bias-right")},height:{val:t.pstyle("min-height").pfValue,top:t.pstyle("min-height-bias-top"),bottom:t.pstyle("min-height-bias-bottom")}},a=n.boundingBox({includeLabels:i,includeOverlays:!1,useCache:!1}),o=e.position;0!==a.w&&0!==a.h||((a={w:t.pstyle("width").pfValue,h:t.pstyle("height").pfValue}).x1=o.x-a.w/2,a.x2=o.x+a.w/2,a.y1=o.y-a.h/2,a.y2=o.y+a.h/2);var s=r.width.left.value;"px"===r.width.left.units&&r.width.val>0&&(s=100*s/r.width.val);var c=r.width.right.value;"px"===r.width.right.units&&r.width.val>0&&(c=100*c/r.width.val);var u=r.height.top.value;"px"===r.height.top.units&&r.height.val>0&&(u=100*u/r.height.val);var l=r.height.bottom.value;"px"===r.height.bottom.units&&r.height.val>0&&(l=100*l/r.height.val);var h=w(r.width.val-a.w,s,c),f=h.biasDiff,d=h.biasComplementDiff,g=w(r.height.val-a.h,u,l),p=g.biasDiff,b=g.biasComplementDiff;e.autoPadding=function(t,e,n,i){if("%"!==n.units)return"px"===n.units?n.pfValue:0;switch(i){case"width":return t>0?n.pfValue*t:0;case"height":return e>0?n.pfValue*e:0;case"average":return t>0&&e>0?n.pfValue*(t+e)/2:0;case"min":return t>0&&e>0?t>e?n.pfValue*e:n.pfValue*t:0;case"max":return t>0&&e>0?t>e?n.pfValue*t:n.pfValue*e:0;default:return 0}}(a.w,a.h,t.pstyle("padding"),t.pstyle("padding-relative-to").value),e.autoWidth=Math.max(a.w,r.width.val),o.x=(-f+a.x1+a.x2+d)/2,e.autoHeight=Math.max(a.h,r.height.val),o.y=(-p+a.y1+a.y2+b)/2}function w(t,e,n){var i=0,r=0,a=e+n;return t>0&&a>0&&(i=e/a*t,r=n/a*t),{biasDiff:i,biasComplementDiff:r}}}for(var i=0;i<this.length;i++){var r=this[i],a=r._private;a.compoundBoundsClean&&!t||(n(r),e.batching()||(a.compoundBoundsClean=!0))}return this};var to=function(t){return t===1/0||t===-1/0?0:t},eo=function(t,e,n,i,r){i-e!=0&&r-n!=0&&null!=e&&null!=n&&null!=i&&null!=r&&(t.x1=e<t.x1?e:t.x1,t.x2=i>t.x2?i:t.x2,t.y1=n<t.y1?n:t.y1,t.y2=r>t.y2?r:t.y2,t.w=t.x2-t.x1,t.h=t.y2-t.y1)},no=function(t,e){return null==e?t:eo(t,e.x1,e.y1,e.x2,e.y2)},io=function(t,e,n){return Jt(t,e,n)},ro=function(t,e,n){if(!e.cy().headless()){var i,r,a=e._private,o=a.rstyle,s=o.arrowWidth/2;if("none"!==e.pstyle(n+"-arrow-shape").value){"source"===n?(i=o.srcX,r=o.srcY):"target"===n?(i=o.tgtX,r=o.tgtY):(i=o.midX,r=o.midY);var c=a.arrowBounds=a.arrowBounds||{},u=c[n]=c[n]||{};u.x1=i-s,u.y1=r-s,u.x2=i+s,u.y2=r+s,u.w=u.x2-u.x1,u.h=u.y2-u.y1,Be(u,1),eo(t,u.x1,u.y1,u.x2,u.y2)}}},ao=function(t,e,n){if(!e.cy().headless()){var i;i=n?n+"-":"";var r=e._private,a=r.rstyle;if(e.pstyle(i+"label").strValue){var o,s,c,u,l=e.pstyle("text-halign"),h=e.pstyle("text-valign"),f=io(a,"labelWidth",n),d=io(a,"labelHeight",n),g=io(a,"labelX",n),p=io(a,"labelY",n),b=e.pstyle(i+"text-margin-x").pfValue,w=e.pstyle(i+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle(i+"text-rotation"),v=e.pstyle("text-outline-width").pfValue,x=e.pstyle("text-border-width").pfValue/2,k=e.pstyle("text-background-padding").pfValue,_=d,E=f,T=E/2,C=_/2;if(y)o=g-T,s=g+T,c=p-C,u=p+C;else{switch(l.value){case"left":o=g-E,s=g;break;case"center":o=g-T,s=g+T;break;case"right":o=g,s=g+E}switch(h.value){case"top":c=p-_,u=p;break;case"center":c=p-C,u=p+C;break;case"bottom":c=p,u=p+_}}o+=b-Math.max(v,x)-k-2,s+=b+Math.max(v,x)+k+2,c+=w-Math.max(v,x)-k-2,u+=w+Math.max(v,x)+k+2;var S=n||"main",A=r.labelBounds,M=A[S]=A[S]||{};M.x1=o,M.y1=c,M.x2=s,M.y2=u,M.w=s-o,M.h=u-c;var I=y&&"autorotate"===m.strValue,L=null!=m.pfValue&&0!==m.pfValue;if(I||L){var O=I?io(r.rstyle,"labelAngle",n):m.pfValue,D=Math.cos(O),N=Math.sin(O),P=(o+s)/2,B=(c+u)/2;if(!y){switch(l.value){case"left":P=s;break;case"right":P=o}switch(h.value){case"top":B=u;break;case"bottom":B=c}}var F=function(t,e){return{x:(t-=P)*D-(e-=B)*N+P,y:t*N+e*D+B}},$=F(o,c),j=F(o,u),R=F(s,c),z=F(s,u);o=Math.min($.x,j.x,R.x,z.x),s=Math.max($.x,j.x,R.x,z.x),c=Math.min($.y,j.y,R.y,z.y),u=Math.max($.y,j.y,R.y,z.y)}var q=S+"Rot",H=A[q]=A[q]||{};H.x1=o,H.y1=c,H.x2=s,H.y2=u,H.w=s-o,H.h=u-c,eo(t,o,c,s,u),eo(r.labelBounds.all,o,c,s,u)}return t}},oo=function(t){var e=0,n=function(t){return(t?1:0)<<e++},i=0;return i+=n(t.incudeNodes),i+=n(t.includeEdges),i+=n(t.includeLabels),i+=n(t.includeMainLabels),i+=n(t.includeSourceLabels),(i+=n(t.includeTargetLabels))+n(t.includeOverlays)},so=function(t){if(t.isEdge()){var e=t.source().position(),n=t.target().position(),i=function(t){return Math.round(t)};return function(t,e){var n={value:0,done:!1},i=0,r=t.length;return St({next:function(){return i<r?n.value=t[i++]:n.done=!0,n}},e)}([i(e.x),i(e.y),i(n.x),i(n.y)])}return 0},co=function(t,e){var n,i=t._private,r=t.isEdge(),a=(null==e?lo:oo(e))===lo,o=so(t),s=i.bbCachePosKey===o,c=e.useCache&&s,u=function(t){return null==t._private.bbCache||t._private.styleDirty};if(!c||u(t)||r&&u(t.source())||u(t.target())?(s||t.recalculateRenderedStyle(c),n=function(t,e){var n,i,r,a,o,s,c,u=t._private.cy,l=u.styleEnabled(),h=u.headless(),f=Ne(),d=t._private,g=t.isNode(),p=t.isEdge(),b=d.rstyle,w=g&&l?t.pstyle("bounds-expansion").pfValue:[0],y=function(t){return"none"!==t.pstyle("display").value},m=!l||y(t)&&(!p||y(t.source())&&y(t.target()));if(m){var v=0;l&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(v=t.pstyle("overlay-padding").value);var x=0;l&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(x=t.pstyle("underlay-padding").value);var k=Math.max(v,x),_=0;if(l&&(_=t.pstyle("width").pfValue/2),g&&e.includeNodes){var E=t.position();o=E.x,s=E.y;var T=t.outerWidth()/2,C=t.outerHeight()/2;eo(f,n=o-T,r=s-C,i=o+T,a=s+C)}else if(p&&e.includeEdges)if(l&&!h){var S=t.pstyle("curve-style").strValue;if(n=Math.min(b.srcX,b.midX,b.tgtX),i=Math.max(b.srcX,b.midX,b.tgtX),r=Math.min(b.srcY,b.midY,b.tgtY),a=Math.max(b.srcY,b.midY,b.tgtY),eo(f,n-=_,r-=_,i+=_,a+=_),"haystack"===S){var A=b.haystackPts;if(A&&2===A.length){if(n=A[0].x,r=A[0].y,n>(i=A[1].x)){var M=n;n=i,i=M}if(r>(a=A[1].y)){var I=r;r=a,a=I}eo(f,n-_,r-_,i+_,a+_)}}else if("bezier"===S||"unbundled-bezier"===S||"segments"===S||"taxi"===S){var L;switch(S){case"bezier":case"unbundled-bezier":L=b.bezierPts;break;case"segments":case"taxi":L=b.linePts}if(null!=L)for(var O=0;O<L.length;O++){var D=L[O];n=D.x-_,i=D.x+_,r=D.y-_,a=D.y+_,eo(f,n,r,i,a)}}}else{var N=t.source().position(),P=t.target().position();if((n=N.x)>(i=P.x)){var B=n;n=i,i=B}if((r=N.y)>(a=P.y)){var F=r;r=a,a=F}eo(f,n-=_,r-=_,i+=_,a+=_)}if(l&&e.includeEdges&&p&&(ro(f,t,"mid-source"),ro(f,t,"mid-target"),ro(f,t,"source"),ro(f,t,"target")),l&&"yes"===t.pstyle("ghost").value){var $=t.pstyle("ghost-offset-x").pfValue,j=t.pstyle("ghost-offset-y").pfValue;eo(f,f.x1+$,f.y1+j,f.x2+$,f.y2+j)}var R=d.bodyBounds=d.bodyBounds||{};$e(R,f),Fe(R,w),Be(R,1),l&&(n=f.x1,i=f.x2,r=f.y1,a=f.y2,eo(f,n-k,r-k,i+k,a+k));var z=d.overlayBounds=d.overlayBounds||{};$e(z,f),Fe(z,w),Be(z,1);var q=d.labelBounds=d.labelBounds||{};null!=q.all?((c=q.all).x1=1/0,c.y1=1/0,c.x2=-1/0,c.y2=-1/0,c.w=0,c.h=0):q.all=Ne(),l&&e.includeLabels&&(e.includeMainLabels&&ao(f,t,null),p&&(e.includeSourceLabels&&ao(f,t,"source"),e.includeTargetLabels&&ao(f,t,"target")))}return f.x1=to(f.x1),f.y1=to(f.y1),f.x2=to(f.x2),f.y2=to(f.y2),f.w=to(f.x2-f.x1),f.h=to(f.y2-f.y1),f.w>0&&f.h>0&&m&&(Fe(f,w),Be(f,1)),f}(t,uo),i.bbCache=n,i.bbCachePosKey=o):n=i.bbCache,!a){var l=t.isNode();n=Ne(),(e.includeNodes&&l||e.includeEdges&&!l)&&(e.includeOverlays?no(n,i.overlayBounds):no(n,i.bodyBounds)),e.includeLabels&&(e.includeMainLabels&&(!r||e.includeSourceLabels&&e.includeTargetLabels)?no(n,i.labelBounds.all):(e.includeMainLabels&&no(n,i.labelBounds.mainRot),e.includeSourceLabels&&no(n,i.labelBounds.sourceRot),e.includeTargetLabels&&no(n,i.labelBounds.targetRot))),n.w=n.x2-n.x1,n.h=n.y2-n.y1}return n},uo={includeNodes:!0,includeEdges:!0,includeLabels:!0,includeMainLabels:!0,includeSourceLabels:!0,includeTargetLabels:!0,includeOverlays:!0,includeUnderlays:!0,useCache:!0},lo=oo(uo),ho=Xt(uo);Qa.boundingBox=function(t){var e;if(1!==this.length||null==this[0]._private.bbCache||this[0]._private.styleDirty||void 0!==t&&void 0!==t.useCache&&!0!==t.useCache){e=Ne();var n=ho(t=t||uo),i=this;if(i.cy().styleEnabled())for(var r=0;r<i.length;r++){var a=i[r],o=a._private,s=so(a),c=o.bbCachePosKey===s,u=n.useCache&&c&&!o.styleDirty;a.recalculateRenderedStyle(u)}this.updateCompoundBounds(!t.useCache);for(var l=0;l<i.length;l++){var h=i[l];no(e,co(h,n))}}else t=void 0===t?uo:ho(t),e=co(this[0],t);return e.x1=to(e.x1),e.y1=to(e.y1),e.x2=to(e.x2),e.y2=to(e.y2),e.w=to(e.x2-e.x1),e.h=to(e.y2-e.y1),e},Qa.dirtyBoundingBoxCache=function(){for(var t=0;t<this.length;t++){var e=this[t]._private;e.bbCache=null,e.bbCachePosKey=null,e.bodyBounds=null,e.overlayBounds=null,e.labelBounds.all=null,e.labelBounds.source=null,e.labelBounds.target=null,e.labelBounds.main=null,e.labelBounds.sourceRot=null,e.labelBounds.targetRot=null,e.labelBounds.mainRot=null,e.arrowBounds.source=null,e.arrowBounds.target=null,e.arrowBounds["mid-source"]=null,e.arrowBounds["mid-target"]=null}return this.emitAndNotify("bounds"),this},Qa.boundingBoxAt=function(t){var e=this.nodes(),n=this.cy(),i=n.hasCompoundNodes(),r=n.collection();if(i&&(r=e.filter((function(t){return t.isParent()})),e=e.not(r)),y(t)){var a=t;t=function(){return a}}n.startBatch(),e.forEach((function(e,n){return e._private.bbAtOldPos=t(e,n)})).silentPositions(t),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0));var o=function(t){return{x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}}(this.boundingBox({useCache:!1}));return e.silentPositions((function(t){return t._private.bbAtOldPos})),i&&(r.dirtyCompoundBoundsCache(),r.dirtyBoundingBoxCache(),r.updateCompoundBounds(!0)),n.endBatch(),o},Va.boundingbox=Va.bb=Va.boundingBox,Va.renderedBoundingbox=Va.renderedBoundingBox;var fo,go,po=Qa;fo=go={};var bo=function(t){t.uppercaseName=O(t.name),t.autoName="auto"+t.uppercaseName,t.labelName="label"+t.uppercaseName,t.outerName="outer"+t.uppercaseName,t.uppercaseOuterName=O(t.outerName),fo[t.name]=function(){var e=this[0],n=e._private,i=n.cy._private.styleEnabled;if(e){if(i){if(e.isParent())return e.updateCompoundBounds(),n[t.autoName]||0;var r=e.pstyle(t.name);return"label"===r.strValue?(e.recalculateRenderedStyle(),n.rstyle[t.labelName]||0):r.pfValue}return 1}},fo["outer"+t.uppercaseName]=function(){var e=this[0],n=e._private.cy._private.styleEnabled;if(e)return n?e[t.name]()+e.pstyle("border-width").pfValue+2*e.padding():1},fo["rendered"+t.uppercaseName]=function(){var e=this[0];if(e)return e[t.name]()*this.cy().zoom()},fo["rendered"+t.uppercaseOuterName]=function(){var e=this[0];if(e)return e[t.outerName]()*this.cy().zoom()}};bo({name:"width"}),bo({name:"height"}),go.padding=function(){var t=this[0],e=t._private;return t.isParent()?(t.updateCompoundBounds(),void 0!==e.autoPadding?e.autoPadding:t.pstyle("padding").pfValue):t.pstyle("padding").pfValue},go.paddedHeight=function(){var t=this[0];return t.height()+2*t.padding()},go.paddedWidth=function(){var t=this[0];return t.width()+2*t.padding()};var wo=go,yo={controlPoints:{get:function(t){return t.renderer().getControlPoints(t)},mult:!0},segmentPoints:{get:function(t){return t.renderer().getSegmentPoints(t)},mult:!0},sourceEndpoint:{get:function(t){return t.renderer().getSourceEndpoint(t)}},targetEndpoint:{get:function(t){return t.renderer().getTargetEndpoint(t)}},midpoint:{get:function(t){return t.renderer().getEdgeMidpoint(t)}}},mo=Object.keys(yo).reduce((function(t,e){var n=yo[e],i=function(t){return"rendered"+t[0].toUpperCase()+t.substr(1)}(e);return t[e]=function(){return function(t,e){if(t.isEdge())return e(t)}(this,n.get)},n.mult?t[i]=function(){return function(t,e){if(t.isEdge()){var n=t.cy(),i=n.pan(),r=n.zoom();return e(t).map((function(t){return ke(t,r,i)}))}}(this,n.get)}:t[i]=function(){return function(t,e){if(t.isEdge()){var n=t.cy();return ke(e(t),n.zoom(),n.pan())}}(this,n.get)},t}),{}),vo=j({},Ja,po,wo,mo),xo=function(t,e){this.recycle(t,e)};function ko(){return!1}function _o(){return!0}xo.prototype={instanceString:function(){return"event"},recycle:function(t,e){if(this.isImmediatePropagationStopped=this.isPropagationStopped=this.isDefaultPrevented=ko,null!=t&&t.preventDefault?(this.type=t.type,this.isDefaultPrevented=t.defaultPrevented?_o:ko):null!=t&&t.type?e=t:this.type=t,null!=e&&(this.originalEvent=e.originalEvent,this.type=null!=e.type?e.type:this.type,this.cy=e.cy,this.target=e.target,this.position=e.position,this.renderedPosition=e.renderedPosition,this.namespace=e.namespace,this.layout=e.layout),null!=this.cy&&null!=this.position&&null==this.renderedPosition){var n=this.position,i=this.cy.zoom(),r=this.cy.pan();this.renderedPosition={x:n.x*i+r.x,y:n.y*i+r.y}}this.timeStamp=t&&t.timeStamp||Date.now()},preventDefault:function(){this.isDefaultPrevented=_o;var t=this.originalEvent;t&&t.preventDefault&&t.preventDefault()},stopPropagation:function(){this.isPropagationStopped=_o;var t=this.originalEvent;t&&t.stopPropagation&&t.stopPropagation()},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=_o,this.stopPropagation()},isDefaultPrevented:ko,isPropagationStopped:ko,isImmediatePropagationStopped:ko};var Eo=/^([^.]+)(\.(?:[^.]+))?$/,To={qualifierCompare:function(t,e){return t===e},eventMatches:function(){return!0},addEventFields:function(){},callbackContext:function(t){return t},beforeEmit:function(){},afterEmit:function(){},bubble:function(){return!1},parent:function(){return null},context:null},Co=Object.keys(To),So={};function Ao(){for(var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:So,e=arguments.length>1?arguments[1]:void 0,n=0;n<Co.length;n++){var i=Co[n];this[i]=t[i]||To[i]}this.context=e||this.context,this.listeners=[],this.emitting=0}var Mo=Ao.prototype,Io=function(t,e,n,i,r,a,o){b(i)&&(r=i,i=null),o&&(a=null==a?o:j({},a,o));for(var s=w(n)?n:n.split(/\s+/),c=0;c<s.length;c++){var u=s[c];if(!C(u)){var l=u.match(Eo);if(l&&!1===e(t,u,l[1],l[2]?l[2]:null,i,r,a))break}}},Lo=function(t,e){return t.addEventFields(t.context,e),new xo(e.type,e)},Oo=function(t,e,n){if("event"===g(n))e(t,n);else if(y(n))e(t,Lo(t,n));else for(var i=w(n)?n:n.split(/\s+/),r=0;r<i.length;r++){var a=i[r];if(!C(a)){var o=a.match(Eo);if(o){var s=o[1],c=o[2]?o[2]:null;e(t,Lo(t,{type:s,namespace:c,target:t.context}))}}}};Mo.on=Mo.addListener=function(t,e,n,i,r){return Io(this,(function(t,e,n,i,r,a,o){b(a)&&t.listeners.push({event:e,callback:a,type:n,namespace:i,qualifier:r,conf:o})}),t,e,n,i,r),this},Mo.one=function(t,e,n,i){return this.on(t,e,n,i,{one:!0})},Mo.removeListener=Mo.off=function(t,e,n,i){var r=this;0!==this.emitting&&(this.listeners=this.listeners.slice());for(var a=this.listeners,o=function(o){var s=a[o];Io(r,(function(e,n,i,r,c,u){if((s.type===i||"*"===t)&&(!r&&".*"!==s.namespace||s.namespace===r)&&(!c||e.qualifierCompare(s.qualifier,c))&&(!u||s.callback===u))return a.splice(o,1),!1}),t,e,n,i)},s=a.length-1;s>=0;s--)o(s);return this},Mo.removeAllListeners=function(){return this.removeListener("*")},Mo.emit=Mo.trigger=function(t,e,n){var i=this.listeners,r=i.length;return this.emitting++,w(e)||(e=[e]),Oo(this,(function(t,a){null!=n&&(i=[{event:a.event,type:a.type,namespace:a.namespace,callback:n}],r=i.length);for(var o=function(n){var r=i[n];if(r.type===a.type&&(!r.namespace||r.namespace===a.namespace||".*"===r.namespace)&&t.eventMatches(t.context,r,a)){var o=[a];null!=e&&function(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.push(i)}}(o,e),t.beforeEmit(t.context,r,a),r.conf&&r.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==r})));var s=t.callbackContext(t.context,r,a),c=r.callback.apply(s,o);t.afterEmit(t.context,r,a),!1===c&&(a.stopPropagation(),a.preventDefault())}},s=0;s<r;s++)o(s);t.bubble(t.context)&&!a.isPropagationStopped()&&t.parent(t.context).emit(a,e)}),t),this.emitting--,this};var Do={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&k(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t.cy(),e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t},beforeEmit:function(t,e){e.conf&&e.conf.once&&e.conf.onceCollection.removeListener(e.event,e.qualifier,e.callback)},bubble:function(){return!0},parent:function(t){return t.isChild()?t.parent():t.cy()}},No=function(t){return p(t)?new Oa(t):t},Po={createEmitter:function(){for(var t=0;t<this.length;t++){var e=this[t],n=e._private;n.emitter||(n.emitter=new Ao(Do,e))}return this},emitter:function(){return this._private.emitter},on:function(t,e,n){for(var i=No(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n);return this},removeListener:function(t,e,n){for(var i=No(e),r=0;r<this.length;r++)this[r].emitter().removeListener(t,i,n);return this},removeAllListeners:function(){for(var t=0;t<this.length;t++)this[t].emitter().removeAllListeners();return this},one:function(t,e,n){for(var i=No(e),r=0;r<this.length;r++)this[r].emitter().one(t,i,n);return this},once:function(t,e,n){for(var i=No(e),r=0;r<this.length;r++)this[r].emitter().on(t,i,n,{once:!0,onceCollection:this})},emit:function(t,e){for(var n=0;n<this.length;n++)this[n].emitter().emit(t,e);return this},emitAndNotify:function(t,e){if(0!==this.length)return this.cy().notify(t,this),this.emit(t,e),this}};Kr.eventAliasesOn(Po);var Bo={nodes:function(t){return this.filter((function(t){return t.isNode()})).filter(t)},edges:function(t){return this.filter((function(t){return t.isEdge()})).filter(t)},byGroup:function(){for(var t=this.spawn(),e=this.spawn(),n=0;n<this.length;n++){var i=this[n];i.isNode()?t.push(i):e.push(i)}return{nodes:t,edges:e}},filter:function(t,e){if(void 0===t)return this;if(p(t)||x(t))return new Oa(t).filter(this);if(b(t)){for(var n=this.spawn(),i=this,r=0;r<i.length;r++){var a=i[r];(e?t.apply(e,[a,r,i]):t(a,r,i))&&n.push(a)}return n}return this.spawn()},not:function(t){if(t){p(t)&&(t=this.filter(t));for(var e=this.spawn(),n=0;n<this.length;n++){var i=this[n];t.has(i)||e.push(i)}return e}return this},absoluteComplement:function(){return this.cy().mutableElements().not(this)},intersect:function(t){if(p(t)){var e=t;return this.filter(e)}for(var n=this.spawn(),i=t,r=this.length<t.length,a=r?this:i,o=r?i:this,s=0;s<a.length;s++){var c=a[s];o.has(c)&&n.push(c)}return n},xor:function(t){var e=this._private.cy;p(t)&&(t=e.$(t));var n=this.spawn(),i=t,r=function(t,e){for(var i=0;i<t.length;i++){var r=t[i],a=r._private.data.id;e.hasElementWithId(a)||n.push(r)}};return r(this,i),r(i,this),n},diff:function(t){var e=this._private.cy;p(t)&&(t=e.$(t));var n=this.spawn(),i=this.spawn(),r=this.spawn(),a=t,o=function(t,e,n){for(var i=0;i<t.length;i++){var a=t[i],o=a._private.data.id;e.hasElementWithId(o)?r.merge(a):n.push(a)}};return o(this,a,n),o(a,this,i),{left:n,right:i,both:r}},add:function(t){var e=this._private.cy;if(!t)return this;if(p(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=this.spawnSelf(),r=0;r<t.length;r++){var a=t[r];!this.has(a)&&i.push(a)}return i},merge:function(t){var e=this._private,n=e.cy;if(!t)return this;if(t&&p(t)){var i=t;t=n.mutableElements().filter(i)}for(var r=e.map,a=0;a<t.length;a++){var o=t[a],s=o._private.data.id;if(!r.has(s)){var c=this.length++;this[c]=o,r.set(s,{ele:o,index:c})}}return this},unmergeAt:function(t){var e=this[t].id(),n=this._private.map;this[t]=void 0,n.delete(e);var i=t===this.length-1;if(this.length>1&&!i){var r=this.length-1,a=this[r],o=a._private.data.id;this[r]=void 0,this[t]=a,n.set(o,{ele:a,index:t})}return this.length--,this},unmergeOne:function(t){t=t[0];var e=this._private,n=t._private.data.id,i=e.map.get(n);if(!i)return this;var r=i.index;return this.unmergeAt(r),this},unmerge:function(t){var e=this._private.cy;if(!t)return this;if(t&&p(t)){var n=t;t=e.mutableElements().filter(n)}for(var i=0;i<t.length;i++)this.unmergeOne(t[i]);return this},unmergeBy:function(t){for(var e=this.length-1;e>=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],i=this,r=0;r<i.length;r++){var a=i[r],o=e?t.apply(e,[a,r,i]):t(a,r,i);n.push(o)}return n},reduce:function(t,e){for(var n=e,i=this,r=0;r<i.length;r++)n=t(n,i[r],r,i);return n},max:function(t,e){for(var n,i=-1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s>i&&(i=s,n=o)}return{value:i,ele:n}},min:function(t,e){for(var n,i=1/0,r=this,a=0;a<r.length;a++){var o=r[a],s=e?t.apply(e,[o,a,r]):t(o,a,r);s<i&&(i=s,n=o)}return{value:i,ele:n}}},Fo=Bo;Fo.u=Fo["|"]=Fo["+"]=Fo.union=Fo.or=Fo.add,Fo["\\"]=Fo["!"]=Fo["-"]=Fo.difference=Fo.relativeComplement=Fo.subtract=Fo.not,Fo.n=Fo["&"]=Fo["."]=Fo.and=Fo.intersection=Fo.intersect,Fo["^"]=Fo["(+)"]=Fo["(-)"]=Fo.symmetricDifference=Fo.symdiff=Fo.xor,Fo.fnFilter=Fo.filterFn=Fo.stdFilter=Fo.filter,Fo.complement=Fo.abscomp=Fo.absoluteComplement;var $o,jo=function(t,e){var n=t.cy().hasCompoundNodes();function i(t){var e=t.pstyle("z-compound-depth");return"auto"===e.value?n?t.zDepth():0:"bottom"===e.value?-1:"top"===e.value?$t:0}var r=i(t)-i(e);if(0!==r)return r;function a(t){return"auto"===t.pstyle("z-index-compare").value&&t.isNode()?1:0}var o=a(t)-a(e);if(0!==o)return o;var s=t.pstyle("z-index").value-e.pstyle("z-index").value;return 0!==s?s:t.poolIndex()-e.poolIndex()},Ro={forEach:function(t,e){if(b(t))for(var n=this.length,i=0;i<n;i++){var r=this[i];if(!1===(e?t.apply(e,[r,i,this]):t(r,i,this)))break}return this},toArray:function(){for(var t=[],e=0;e<this.length;e++)t.push(this[e]);return t},slice:function(t,e){var n=[],i=this.length;null==e&&(e=i),null==t&&(t=0),t<0&&(t=i+t),e<0&&(e=i+e);for(var r=t;r>=0&&r<e&&r<i;r++)n.push(this[r]);return this.spawn(n)},size:function(){return this.length},eq:function(t){return this[t]||this.spawn()},first:function(){return this[0]||this.spawn()},last:function(){return this[this.length-1]||this.spawn()},empty:function(){return 0===this.length},nonempty:function(){return!this.empty()},sort:function(t){if(!b(t))return this;var e=this.toArray().sort(t);return this.spawn(e)},sortByZIndex:function(){return this.sort(jo)},zDepth:function(){var t=this[0];if(t){var e=t._private;if("nodes"===e.group){var n=e.data.parent?t.parents().size():0;return t.isParent()?n:$t-1}var i=e.source,r=e.target,a=i.zDepth(),o=r.zDepth();return Math.max(a,o,0)}}};Ro.each=Ro.forEach,$o="undefined",("undefined"==typeof Symbol?"undefined":t(Symbol))!=$o&&t(Symbol.iterator)!=$o&&(Ro[Symbol.iterator]=function(){var t=this,e={value:void 0,done:!1},n=0,i=this.length;return a({next:function(){return n<i?e.value=t[n++]:(e.value=void 0,e.done=!0),e}},Symbol.iterator,(function(){return this}))});var zo=Xt({nodeDimensionsIncludeLabels:!1}),qo={layoutDimensions:function(t){var e;if(t=zo(t),this.takesUpSpace())if(t.nodeDimensionsIncludeLabels){var n=this.boundingBox();e={w:n.w,h:n.h}}else e={w:this.outerWidth(),h:this.outerHeight()};else e={w:0,h:0};return 0!==e.w&&0!==e.h||(e.w=e.h=1),e},layoutPositions:function(t,e,n){var i=this.nodes().filter((function(t){return!t.isParent()})),r=this.cy(),a=e.eles,o=function(t){return t.id()},s=A(n,o);t.emit({type:"layoutstart",layout:t}),t.animations=[];var c=e.spacingFactor&&1!==e.spacingFactor,u=function(){if(!c)return null;for(var t=Ne(),e=0;e<i.length;e++){var n=i[e],r=s(n,e);Pe(t,r.x,r.y)}return t}(),l=A((function(t,n){var i=s(t,n);c&&(i=function(t,e,n){var i=e.x1+e.w/2,r=e.y1+e.h/2;return{x:i+(n.x-i)*t,y:r+(n.y-r)*t}}(Math.abs(e.spacingFactor),u,i));return null!=e.transform&&(i=e.transform(t,i)),i}),o);if(e.animate){for(var h=0;h<i.length;h++){var f=i[h],d=l(f,h);if(null==e.animateFilter||e.animateFilter(f,h)){var g=f.animation({position:d,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(g)}else f.position(d)}if(e.fit){var p=r.animation({fit:{boundingBox:a.boundingBoxAt(l),padding:e.padding},duration:e.animationDuration,easing:e.animationEasing});t.animations.push(p)}else if(void 0!==e.zoom&&void 0!==e.pan){var b=r.animation({zoom:e.zoom,pan:e.pan,duration:e.animationDuration,easing:e.animationEasing});t.animations.push(b)}t.animations.forEach((function(t){return t.play()})),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),_i.all(t.animations.map((function(t){return t.promise()}))).then((function(){t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t})}))}else i.positions(l),e.fit&&r.fit(e.eles,e.padding),null!=e.zoom&&r.zoom(e.zoom),e.pan&&r.pan(e.pan),t.one("layoutready",e.ready),t.emit({type:"layoutready",layout:t}),t.one("layoutstop",e.stop),t.emit({type:"layoutstop",layout:t});return this},layout:function(t){return this.cy().makeLayout(j({},t,{eles:this}))}};function Ho(t,e,n){var i,r=n._private,a=r.styleCache=r.styleCache||[];return null!=(i=a[t])?i:i=a[t]=e(n)}function Zo(t,e){return t=Ot(t),function(n){return Ho(t,e,n)}}function Uo(t,e){t=Ot(t);var n=function(t){return e.call(t)};return function(){var e=this[0];if(e)return Ho(t,n,e)}}qo.createLayout=qo.makeLayout=qo.layout;var Yo={recalculateRenderedStyle:function(t){var e=this.cy(),n=e.renderer(),i=e.styleEnabled();return n&&i&&n.recalculateRenderedStyle(this,t),this},dirtyStyleCache:function(){var t,e=this.cy(),n=function(t){return t._private.styleCache=null};return e.hasCompoundNodes()?((t=this.spawnSelf().merge(this.descendants()).merge(this.parents())).merge(t.connectedEdges()),t.forEach(n)):this.forEach((function(t){n(t),t.connectedEdges().forEach(n)})),this},updateStyle:function(t){var e=this._private.cy;if(!e.styleEnabled())return this;if(e.batching())return e._private.batchStyleEles.merge(this),this;var n=this;t=!(!t&&void 0!==t),e.hasCompoundNodes()&&(n=this.spawnSelf().merge(this.descendants()).merge(this.parents()));var i=n;return t?i.emitAndNotify("style"):i.emit("style"),n.forEach((function(t){return t._private.styleDirty=!0})),this},cleanStyle:function(){var t=this.cy();if(t.styleEnabled())for(var e=0;e<this.length;e++){var n=this[e];n._private.styleDirty&&(n._private.styleDirty=!1,t.style().apply(n))}},parsedStyle:function(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this[0],i=n.cy();if(i.styleEnabled()&&n){this.cleanStyle();var r=n._private.style[t];return null!=r?r:e?i.style().getDefaultProperty(t):null}},numericStyle:function(t){var e=this[0];if(e.cy().styleEnabled()&&e){var n=e.pstyle(t);return void 0!==n.pfValue?n.pfValue:n.value}},numericStyleUnits:function(t){var e=this[0];if(e.cy().styleEnabled())return e?e.pstyle(t).units:void 0},renderedStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=this[0];return n?e.style().getRenderedStyle(n,t):void 0},style:function(t,e){var n=this.cy();if(!n.styleEnabled())return this;var i=n.style();if(y(t)){var r=t;i.applyBypass(this,r,false),this.emitAndNotify("style")}else if(p(t)){if(void 0===e){var a=this[0];return a?i.getStylePropertyValue(a,t):void 0}i.applyBypass(this,t,e,false),this.emitAndNotify("style")}else if(void 0===t){var o=this[0];return o?i.getRawStyle(o):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=e.style(),i=this;if(void 0===t)for(var r=0;r<i.length;r++){var a=i[r];n.removeAllBypasses(a,false)}else{t=t.split(/\s+/);for(var o=0;o<i.length;o++){var s=i[o];n.removeBypasses(s,t,false)}}return this.emitAndNotify("style"),this},show:function(){return this.css("display","element"),this},hide:function(){return this.css("display","none"),this},effectiveOpacity:function(){var t=this.cy();if(!t.styleEnabled())return 1;var e=t.hasCompoundNodes(),n=this[0];if(n){var i=n._private,r=n.pstyle("opacity").value;if(!e)return r;var a=i.data.parent?n.parents():null;if(a)for(var o=0;o<a.length;o++)r*=a[o].pstyle("opacity").value;return r}},transparent:function(){if(!this.cy().styleEnabled())return!1;var t=this[0],e=t.cy().hasCompoundNodes();return t?e?0===t.effectiveOpacity():0===t.pstyle("opacity").value:void 0},backgrounding:function(){return!!this.cy().styleEnabled()&&!!this[0]._private.backgrounding}};function Go(t,e){var n=t._private.data.parent?t.parents():null;if(n)for(var i=0;i<n.length;i++)if(!e(n[i]))return!1;return!0}function Ko(t){var e=t.ok,n=t.edgeOkViaNode||t.ok,i=t.parentOk||t.ok;return function(){var t=this.cy();if(!t.styleEnabled())return!0;var r=this[0],a=t.hasCompoundNodes();if(r){var o=r._private;if(!e(r))return!1;if(r.isNode())return!a||Go(r,i);var s=o.source,c=o.target;return n(s)&&(!a||Go(s,n))&&(s===c||n(c)&&(!a||Go(c,n)))}}}var Wo=Zo("eleTakesUpSpace",(function(t){return"element"===t.pstyle("display").value&&0!==t.width()&&(!t.isNode()||0!==t.height())}));Yo.takesUpSpace=Uo("takesUpSpace",Ko({ok:Wo}));var Xo=Zo("eleInteractive",(function(t){return"yes"===t.pstyle("events").value&&"visible"===t.pstyle("visibility").value&&Wo(t)})),Vo=Zo("parentInteractive",(function(t){return"visible"===t.pstyle("visibility").value&&Wo(t)}));Yo.interactive=Uo("interactive",Ko({ok:Xo,parentOk:Vo,edgeOkViaNode:Wo})),Yo.noninteractive=function(){var t=this[0];if(t)return!t.interactive()};var Qo=Zo("eleVisible",(function(t){return"visible"===t.pstyle("visibility").value&&0!==t.pstyle("opacity").pfValue&&Wo(t)})),Jo=Wo;Yo.visible=Uo("visible",Ko({ok:Qo,edgeOkViaNode:Jo})),Yo.hidden=function(){var t=this[0];if(t)return!t.visible()},Yo.isBundledBezier=Uo("isBundledBezier",(function(){return!!this.cy().styleEnabled()&&!this.removed()&&"bezier"===this.pstyle("curve-style").value&&this.takesUpSpace()})),Yo.bypass=Yo.css=Yo.style,Yo.renderedCss=Yo.renderedStyle,Yo.removeBypass=Yo.removeCss=Yo.removeStyle,Yo.pstyle=Yo.parsedStyle;var ts={};function es(t){return function(){var e=arguments,n=[];if(2===e.length){var i=e[0],r=e[1];this.on(t.event,i,r)}else if(1===e.length&&b(e[0])){var a=e[0];this.on(t.event,a)}else if(0===e.length||1===e.length&&w(e[0])){for(var o=1===e.length?e[0]:null,s=0;s<this.length;s++){var c=this[s],u=!t.ableField||c._private[t.ableField],l=c._private[t.field]!=t.value;if(t.overrideAble){var h=t.overrideAble(c);if(void 0!==h&&(u=h,!h))return this}u&&(c._private[t.field]=t.value,l&&n.push(c))}var f=this.spawn(n);f.updateStyle(),f.emit(t.event),o&&f.emit(o)}return this}}function ns(t){ts[t.field]=function(){var e=this[0];if(e){if(t.overrideField){var n=t.overrideField(e);if(void 0!==n)return n}return e._private[t.field]}},ts[t.on]=es({event:t.on,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!0}),ts[t.off]=es({event:t.off,field:t.field,ableField:t.ableField,overrideAble:t.overrideAble,value:!1})}ns({field:"locked",overrideField:function(t){return!!t.cy().autolock()||void 0},on:"lock",off:"unlock"}),ns({field:"grabbable",overrideField:function(t){return!t.cy().autoungrabify()&&!t.pannable()&&void 0},on:"grabify",off:"ungrabify"}),ns({field:"selected",ableField:"selectable",overrideAble:function(t){return!t.cy().autounselectify()&&void 0},on:"select",off:"unselect"}),ns({field:"selectable",overrideField:function(t){return!t.cy().autounselectify()&&void 0},on:"selectify",off:"unselectify"}),ts.deselect=ts.unselect,ts.grabbed=function(){var t=this[0];if(t)return t._private.grabbed},ns({field:"active",on:"activate",off:"unactivate"}),ns({field:"pannable",on:"panify",off:"unpanify"}),ts.inactive=function(){var t=this[0];if(t)return!t._private.active};var is={},rs=function(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i];if(r.isNode()){for(var a=!1,o=r.connectedEdges(),s=0;s<o.length;s++){var c=o[s],u=c.source(),l=c.target();if(t.noIncomingEdges&&l===r&&u!==r||t.noOutgoingEdges&&u===r&&l!==r){a=!0;break}}a||n.push(r)}}return this.spawn(n,!0).filter(e)}},as=function(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i];if(r.isNode())for(var a=r.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),u=s.target();t.outgoing&&c===r?(n.push(s),n.push(u)):t.incoming&&u===r&&(n.push(s),n.push(c))}}return this.spawn(n,!0).filter(e)}},os=function(t){return function(e){for(var n=this,i=[],r={};;){var a=t.outgoing?n.outgoers():n.incomers();if(0===a.length)break;for(var o=!1,s=0;s<a.length;s++){var c=a[s],u=c.id();r[u]||(r[u]=!0,i.push(c),o=!0)}if(!o)break;n=a}return this.spawn(i,!0).filter(e)}};function ss(t){return function(e){for(var n=[],i=0;i<this.length;i++){var r=this[i]._private[t.attr];r&&n.push(r)}return this.spawn(n,!0).filter(e)}}function cs(t){return function(e){var n=[],i=this._private.cy,r=t||{};p(e)&&(e=i.$(e));for(var a=0;a<e.length;a++)for(var o=e[a]._private.edges,s=0;s<o.length;s++){var c=o[s],u=c._private.data,l=this.hasElementWithId(u.source)&&e.hasElementWithId(u.target),h=e.hasElementWithId(u.source)&&this.hasElementWithId(u.target);if(l||h){if(r.thisIsSrc||r.thisIsTgt){if(r.thisIsSrc&&!l)continue;if(r.thisIsTgt&&!h)continue}n.push(c)}}return this.spawn(n,!0)}}function us(t){return t=j({},{codirected:!1},t),function(e){for(var n=[],i=this.edges(),r=t,a=0;a<i.length;a++)for(var o=i[a]._private,s=o.source,c=s._private.data.id,u=o.data.target,l=s._private.edges,h=0;h<l.length;h++){var f=l[h],d=f._private.data,g=d.target,p=d.source,b=g===u&&p===c,w=c===g&&u===p;(r.codirected&&b||!r.codirected&&(b||w))&&n.push(f)}return this.spawn(n,!0).filter(e)}}is.clearTraversalCache=function(){for(var t=0;t<this.length;t++)this[t]._private.traversalCache=null},j(is,{roots:rs({noIncomingEdges:!0}),leaves:rs({noOutgoingEdges:!0}),outgoers:Fa(as({outgoing:!0}),"outgoers"),successors:os({outgoing:!0}),incomers:Fa(as({incoming:!0}),"incomers"),predecessors:os({incoming:!0})}),j(is,{neighborhood:Fa((function(t){for(var e=[],n=this.nodes(),i=0;i<n.length;i++)for(var r=n[i],a=r.connectedEdges(),o=0;o<a.length;o++){var s=a[o],c=s.source(),u=s.target(),l=r===c?u:c;l.length>0&&e.push(l[0]),e.push(s[0])}return this.spawn(e,!0).filter(t)}),"neighborhood"),closedNeighborhood:function(t){return this.neighborhood().add(this).filter(t)},openNeighborhood:function(t){return this.neighborhood(t)}}),is.neighbourhood=is.neighborhood,is.closedNeighbourhood=is.closedNeighborhood,is.openNeighbourhood=is.openNeighborhood,j(is,{source:Fa((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:Fa((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:ss({attr:"source"}),targets:ss({attr:"target"})}),j(is,{edgesWith:Fa(cs(),"edgesWith"),edgesTo:Fa(cs({thisIsSrc:!0}),"edgesTo")}),j(is,{connectedEdges:Fa((function(t){for(var e=[],n=0;n<this.length;n++){var i=this[n];if(i.isNode())for(var r=i._private.edges,a=0;a<r.length;a++){var o=r[a];e.push(o)}}return this.spawn(e,!0).filter(t)}),"connectedEdges"),connectedNodes:Fa((function(t){for(var e=[],n=0;n<this.length;n++){var i=this[n];i.isEdge()&&(e.push(i.source()[0]),e.push(i.target()[0]))}return this.spawn(e,!0).filter(t)}),"connectedNodes"),parallelEdges:Fa(us(),"parallelEdges"),codirectedEdges:Fa(us({codirected:!0}),"codirectedEdges")}),j(is,{components:function(t){var e=this,n=e.cy(),i=n.collection(),r=null==t?e.nodes():t.nodes(),a=[];null!=t&&r.empty()&&(r=t.sources());var o=function(t,e){i.merge(t),r.unmerge(t),e.merge(t)};if(r.empty())return e.spawn();var s=function(){var t=n.collection();a.push(t);var i=r[0];o(i,t),e.bfs({directed:!1,roots:i,visit:function(e){return o(e,t)}}),t.forEach((function(n){n.connectedEdges().forEach((function(n){e.has(n)&&t.has(n.source())&&t.has(n.target())&&t.merge(n)}))}))};do{s()}while(r.length>0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),is.componentsOf=is.components;var ls=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(void 0!==t){var r=new ee,a=!1;if(e){if(e.length>0&&y(e[0])&&!k(e[0])){a=!0;for(var o=[],s=new ie,c=0,u=e.length;c<u;c++){var l=e[c];null==l.data&&(l.data={});var h=l.data;if(null==h.id)h.id=Gt();else if(t.hasElementWithId(h.id)||s.has(h.id))continue;var f=new re(t,l,!1);o.push(f),s.add(h.id)}e=o}}else e=[];this.length=0;for(var d=0,g=e.length;d<g;d++){var p=e[d][0];if(null!=p){var b=p._private.data.id;n&&r.has(b)||(n&&r.set(b,{index:this.length,ele:p}),this[this.length]=p,this.length++)}}this._private={eles:this,cy:t,get map(){return null==this.lazyMap&&this.rebuildMap(),this.lazyMap},set map(t){this.lazyMap=t},rebuildMap:function(){for(var t=this.lazyMap=new ee,e=this.eles,n=0;n<e.length;n++){var i=e[n];t.set(i.id(),{index:n,ele:i})}}},n&&(this._private.map=r),a&&!i&&this.restore()}else Ht("A collection must have a reference to the core")},hs=re.prototype=ls.prototype=Object.create(Array.prototype);hs.instanceString=function(){return"collection"},hs.spawn=function(t,e){return new ls(this.cy(),t,e)},hs.spawnSelf=function(){return this.spawn(this)},hs.cy=function(){return this._private.cy},hs.renderer=function(){return this._private.cy.renderer()},hs.element=function(){return this[0]},hs.collection=function(){return _(this)?this:new ls(this._private.cy,[this])},hs.unique=function(){return new ls(this._private.cy,this,!0)},hs.hasElementWithId=function(t){return t=""+t,this._private.map.has(t)},hs.getElementById=function(t){t=""+t;var e=this._private.cy,n=this._private.map.get(t);return n?n.ele:new ls(e)},hs.$id=hs.getElementById,hs.poolIndex=function(){var t=this._private.cy._private.elements,e=this[0]._private.data.id;return t._private.map.get(e).index},hs.indexOf=function(t){var e=t[0]._private.data.id;return this._private.map.get(e).index},hs.indexOfId=function(t){return t=""+t,this._private.map.get(t).index},hs.json=function(t){var e=this.element(),n=this.cy();if(null==e&&t)return this;if(null!=e){var i=e._private;if(y(t)){if(n.startBatch(),t.data){e.data(t.data);var r=i.data;if(e.isEdge()){var a=!1,o={},s=t.data.source,c=t.data.target;null!=s&&s!=r.source&&(o.source=""+s,a=!0),null!=c&&c!=r.target&&(o.target=""+c,a=!0),a&&(e=e.move(o))}else{var u="parent"in t.data,l=t.data.parent;!u||null==l&&null==r.parent||l==r.parent||(void 0===l&&(l=null),null!=l&&(l=""+l),e=e.move({parent:l}))}}t.position&&e.position(t.position);var h=function(n,r,a){var o=t[n];null!=o&&o!==i[n]&&(o?e[r]():e[a]())};return h("removed","remove","restore"),h("selected","select","unselect"),h("selectable","selectify","unselectify"),h("locked","lock","unlock"),h("grabbable","grabify","ungrabify"),h("pannable","panify","unpanify"),null!=t.classes&&e.classes(t.classes),n.endBatch(),this}if(void 0===t){var f={data:Yt(i.data),position:Yt(i.position),group:i.group,removed:i.removed,selected:i.selected,selectable:i.selectable,locked:i.locked,grabbable:i.grabbable,pannable:i.pannable,classes:""},d=0;return i.classes.forEach((function(t){return f.classes+=0==d++?t:" "+t})),f}}},hs.jsons=function(){for(var t=[],e=0;e<this.length;e++){var n=this[e].json();t.push(n)}return t},hs.clone=function(){for(var t=this.cy(),e=[],n=0;n<this.length;n++){var i=this[n].json(),r=new re(t,i,!1);e.push(r)}return new ls(t,e)},hs.copy=hs.clone,hs.restore=function(){for(var t,e,n=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=this,a=r.cy(),o=a._private,s=[],c=[],u=0,l=r.length;u<l;u++){var h=r[u];i&&!h.removed()||(h.isNode()?s.push(h):c.push(h))}t=s.concat(c);var f=function(){t.splice(e,1),e--};for(e=0;e<t.length;e++){var d=t[e],g=d._private,b=g.data;if(d.clearTraversalCache(),i||g.removed)if(void 0===b.id)b.id=Gt();else if(m(b.id))b.id=""+b.id;else{if(C(b.id)||!p(b.id)){Ht("Can not create element with invalid string ID `"+b.id+"`"),f();continue}if(a.hasElementWithId(b.id)){Ht("Can not create second element with ID `"+b.id+"`"),f();continue}}var w=b.id;if(d.isNode()){var y=g.position;null==y.x&&(y.x=0),null==y.y&&(y.y=0)}if(d.isEdge()){for(var v=d,x=["source","target"],k=x.length,_=!1,E=0;E<k;E++){var T=x[E],S=b[T];m(S)&&(S=b[T]=""+b[T]),null==S||""===S?(Ht("Can not create edge `"+w+"` with unspecified "+T),_=!0):a.hasElementWithId(S)||(Ht("Can not create edge `"+w+"` with nonexistant "+T+" `"+S+"`"),_=!0)}if(_){f();continue}var A=a.getElementById(b.source),M=a.getElementById(b.target);A.same(M)?A._private.edges.push(v):(A._private.edges.push(v),M._private.edges.push(v)),v._private.source=A,v._private.target=M}g.map=new ee,g.map.set(w,{ele:d,index:0}),g.removed=!1,i&&a.addToPool(d)}for(var I=0;I<s.length;I++){var L=s[I],O=L._private.data;m(O.parent)&&(O.parent=""+O.parent);var D=O.parent;if(null!=D||L._private.parent){var N=L._private.parent?a.collection().merge(L._private.parent):a.getElementById(D);if(N.empty())O.parent=void 0;else if(N[0].removed())Ut("Node added with missing parent, reference to parent removed"),O.parent=void 0,L._private.parent=null;else{for(var P=!1,B=N;!B.empty();){if(L.same(B)){P=!0,O.parent=void 0;break}B=B.parent()}P||(N[0]._private.children.push(L),L._private.parent=N[0],o.hasCompoundNodes=!0)}}}if(t.length>0){for(var F=t.length===r.length?r:new ls(a,t),$=0;$<F.length;$++){var j=F[$];j.isNode()||(j.parallelEdges().clearTraversalCache(),j.source().clearTraversalCache(),j.target().clearTraversalCache())}(o.hasCompoundNodes?a.collection().merge(F).merge(F.connectedNodes()).merge(F.parent()):F).dirtyCompoundBoundsCache().dirtyBoundingBoxCache().updateStyle(n),n?F.emitAndNotify("add"):i&&F.emit("add")}return r},hs.removed=function(){var t=this[0];return t&&t._private.removed},hs.inside=function(){var t=this[0];return t&&!t._private.removed},hs.remove=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=this,i=[],r={},a=n._private.cy;function o(t){var n=r[t.id()];e&&t.removed()||n||(r[t.id()]=!0,t.isNode()?(i.push(t),function(t){for(var e=t._private.edges,n=0;n<e.length;n++)o(e[n])}(t),function(t){for(var e=t._private.children,n=0;n<e.length;n++)o(e[n])}(t)):i.unshift(t))}for(var s=0,c=n.length;s<c;s++)o(n[s]);function u(t,e){var n=t._private.edges;Vt(n,e),t.clearTraversalCache()}function l(t){t.clearTraversalCache()}var h=[];function f(t,e){e=e[0];var n=(t=t[0])._private.children,i=t.id();Vt(n,e),e._private.parent=null,h.ids[i]||(h.ids[i]=!0,h.push(t))}h.ids={},n.dirtyCompoundBoundsCache(),e&&a.removeFromPool(i);for(var d=0;d<i.length;d++){var g=i[d];if(g.isEdge()){var p=g.source()[0],b=g.target()[0];u(p,g),u(b,g);for(var w=g.parallelEdges(),y=0;y<w.length;y++){var m=w[y];l(m),m.isBundledBezier()&&m.dirtyBoundingBoxCache()}}else{var v=g.parent();0!==v.length&&f(v,g)}e&&(g._private.removed=!0)}var x=a._private.elements;a._private.hasCompoundNodes=!1;for(var k=0;k<x.length;k++)if(x[k].isParent()){a._private.hasCompoundNodes=!0;break}var _=new ls(this.cy(),i);_.size()>0&&(t?_.emitAndNotify("remove"):e&&_.emit("remove"));for(var E=0;E<h.length;E++){var T=h[E];e&&T.removed()||T.updateStyle()}return _},hs.move=function(t){var e=this._private.cy,n=this,i=!1,r=!1,a=function(t){return null==t?t:""+t};if(void 0!==t.source||void 0!==t.target){var o=a(t.source),s=a(t.target),c=null!=o&&e.hasElementWithId(o),u=null!=s&&e.hasElementWithId(s);(c||u)&&(e.batch((function(){n.remove(i,r),n.emitAndNotify("moveout");for(var t=0;t<n.length;t++){var e=n[t],a=e._private.data;e.isEdge()&&(c&&(a.source=o),u&&(a.target=s))}n.restore(i,r)})),n.emitAndNotify("move"))}else if(void 0!==t.parent){var l=a(t.parent);if(null===l||e.hasElementWithId(l)){var h=null===l?void 0:l;e.batch((function(){var t=n.remove(i,r);t.emitAndNotify("moveout");for(var e=0;e<n.length;e++){var a=n[e],o=a._private.data;a.isNode()&&(o.parent=h)}t.restore(i,r)})),n.emitAndNotify("move")}}return this},[bi,Wr,Xr,Na,$a,Ua,Ya,vo,Po,Bo,{isNode:function(){return"nodes"===this.group()},isEdge:function(){return"edges"===this.group()},isLoop:function(){return this.isEdge()&&this.source()[0]===this.target()[0]},isSimple:function(){return this.isEdge()&&this.source()[0]!==this.target()[0]},group:function(){var t=this[0];if(t)return t._private.group}},Ro,qo,Yo,ts,is].forEach((function(t){j(hs,t)}));var fs={add:function(t){var e,n=this;if(x(t)){var i=t;if(i._private.cy===n)e=i.restore();else{for(var r=[],a=0;a<i.length;a++){var o=i[a];r.push(o.json())}e=new ls(n,r)}}else if(w(t))e=new ls(n,t);else if(y(t)&&(w(t.nodes)||w(t.edges))){for(var s=t,c=[],u=["nodes","edges"],l=0,h=u.length;l<h;l++){var f=u[l],d=s[f];if(w(d))for(var g=0,p=d.length;g<p;g++){var b=j({group:f},d[g]);c.push(b)}}e=new ls(n,c)}else e=new re(n,t).collection();return e},remove:function(t){if(x(t));else if(p(t)){var e=t;t=this.$(e)}return t.remove()}};function ds(t,e,n,i){var r=4,a=1e-7,o=10,s=11,c=1/(s-1),u="undefined"!=typeof Float32Array;if(4!==arguments.length)return!1;for(var l=0;l<4;++l)if("number"!=typeof arguments[l]||isNaN(arguments[l])||!isFinite(arguments[l]))return!1;t=Math.min(t,1),n=Math.min(n,1),t=Math.max(t,0),n=Math.max(n,0);var h=u?new Float32Array(s):new Array(s);function f(t,e){return 1-3*e+3*t}function d(t,e){return 3*e-6*t}function g(t){return 3*t}function p(t,e,n){return((f(e,n)*t+d(e,n))*t+g(e))*t}function b(t,e,n){return 3*f(e,n)*t*t+2*d(e,n)*t+g(e)}function w(e){for(var i=0,u=1,l=s-1;u!==l&&h[u]<=e;++u)i+=c;--u;var f=i+(e-h[u])/(h[u+1]-h[u])*c,d=b(f,t,n);return d>=.001?function(e,i){for(var a=0;a<r;++a){var o=b(i,t,n);if(0===o)return i;i-=(p(i,t,n)-e)/o}return i}(e,f):0===d?f:function(e,i,r){var s,c,u=0;do{(s=p(c=i+(r-i)/2,t,n)-e)>0?r=c:i=c}while(Math.abs(s)>a&&++u<o);return c}(e,i,i+c)}var y=!1;function m(){y=!0,t===e&&n===i||function(){for(var e=0;e<s;++e)h[e]=p(e*c,t,n)}()}var v=function(r){return y||m(),t===e&&n===i?r:0===r?0:1===r?1:p(w(r),e,i)};v.getControlPoints=function(){return[{x:t,y:e},{x:n,y:i}]};var x="generateBezier("+[t,e,n,i]+")";return v.toString=function(){return x},v}var gs=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},a=e(n,.5*i,r),o=e(n,.5*i,a),s=e(n,i,o),c=1/6*(r.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(r.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function t(e,i,r){var a,o,s,c={x:-1,v:0,tension:null,friction:null},u=[0],l=0,h=1e-4;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,c.tension=e,c.friction=i,o=(a=null!==r)?(l=t(e,i))/r*.016:.016;s=n(s||c,o),u.push(1+s.x),l+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return u[t*(u.length-1)|0]}:l}}(),ps=function(t,e,n,i){var r=ds(t,e,n,i);return function(t,e,n){return t+(e-t)*r(n)}},bs={linear:function(t,e,n){return t+(e-t)*n},ease:ps(.25,.1,.25,1),"ease-in":ps(.42,0,1,1),"ease-out":ps(0,0,.58,1),"ease-in-out":ps(.42,0,.58,1),"ease-in-sine":ps(.47,0,.745,.715),"ease-out-sine":ps(.39,.575,.565,1),"ease-in-out-sine":ps(.445,.05,.55,.95),"ease-in-quad":ps(.55,.085,.68,.53),"ease-out-quad":ps(.25,.46,.45,.94),"ease-in-out-quad":ps(.455,.03,.515,.955),"ease-in-cubic":ps(.55,.055,.675,.19),"ease-out-cubic":ps(.215,.61,.355,1),"ease-in-out-cubic":ps(.645,.045,.355,1),"ease-in-quart":ps(.895,.03,.685,.22),"ease-out-quart":ps(.165,.84,.44,1),"ease-in-out-quart":ps(.77,0,.175,1),"ease-in-quint":ps(.755,.05,.855,.06),"ease-out-quint":ps(.23,1,.32,1),"ease-in-out-quint":ps(.86,0,.07,1),"ease-in-expo":ps(.95,.05,.795,.035),"ease-out-expo":ps(.19,1,.22,1),"ease-in-out-expo":ps(1,0,0,1),"ease-in-circ":ps(.6,.04,.98,.335),"ease-out-circ":ps(.075,.82,.165,1),"ease-in-out-circ":ps(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return bs.linear;var i=gs(t,e,n);return function(t,e,n){return t+(e-t)*i(n)}},"cubic-bezier":ps};function ws(t,e,n,i,r){if(1===i)return n;if(e===n)return n;var a=r(e,n,i);return null==t||((t.roundValue||t.color)&&(a=Math.round(a)),void 0!==t.min&&(a=Math.max(a,t.min)),void 0!==t.max&&(a=Math.min(a,t.max))),a}function ys(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function ms(t,e,n,i,r){var a=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var o=ys(t,r),s=ys(e,r);if(m(o)&&m(s))return ws(a,o,s,n,i);if(w(o)&&w(s)){for(var c=[],u=0;u<s.length;u++){var l=o[u],h=s[u];if(null!=l&&null!=h){var f=ws(a,l,h,n,i);c.push(f)}else c.push(h)}return c}}function vs(t,e,n,i){var r=!i,a=t._private,o=e._private,s=o.easing,c=o.startTime,u=(i?t:t.cy()).style();if(!o.easingImpl)if(null==s)o.easingImpl=bs.linear;else{var l,h,f;l=p(s)?u.parse("transition-timing-function",s).value:s,p(l)?(h=l,f=[]):(h=l[1],f=l.slice(2).map((function(t){return+t}))),f.length>0?("spring"===h&&f.push(o.duration),o.easingImpl=bs[h].apply(null,f)):o.easingImpl=bs[h]}var d,g=o.easingImpl;if(d=0===o.duration?1:(n-c)/o.duration,o.applying&&(d=o.progress),d<0?d=0:d>1&&(d=1),null==o.delay){var b=o.startPosition,w=o.position;if(w&&r&&!t.locked()){var y={};xs(b.x,w.x)&&(y.x=ms(b.x,w.x,d,g)),xs(b.y,w.y)&&(y.y=ms(b.y,w.y,d,g)),t.position(y)}var m=o.startPan,v=o.pan,x=a.pan,k=null!=v&&i;k&&(xs(m.x,v.x)&&(x.x=ms(m.x,v.x,d,g)),xs(m.y,v.y)&&(x.y=ms(m.y,v.y,d,g)),t.emit("pan"));var _=o.startZoom,E=o.zoom,T=null!=E&&i;T&&(xs(_,E)&&(a.zoom=De(a.minZoom,ms(_,E,d,g),a.maxZoom)),t.emit("zoom")),(k||T)&&t.emit("viewport");var C=o.style;if(C&&C.length>0&&r){for(var S=0;S<C.length;S++){var A=C[S],M=A.name,I=A,L=o.startStyle[M],O=ms(L,I,d,g,u.properties[L.name]);u.overrideBypass(t,M,O)}t.emit("style")}}return o.progress=d,d}function xs(t,e){return!(null==t||null==e||!(m(t)&&m(e)||t&&e))}function ks(t,e,n,i){var r=e._private;r.started=!0,r.startTime=n-r.progress*r.duration}function _s(t,e){var n=e._private.aniEles,i=[];function r(e,n){var r=e._private,a=r.animation.current,o=r.animation.queue,s=!1;if(0===a.length){var c=o.shift();c&&a.push(c)}for(var u=function(t){for(var e=t.length-1;e>=0;e--)(0,t[e])();t.splice(0,t.length)},l=a.length-1;l>=0;l--){var h=a[l],f=h._private;f.stopped?(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.frames)):(f.playing||f.applying)&&(f.playing&&f.applying&&(f.applying=!1),f.started||ks(0,h,t),vs(e,h,t,n),f.applying&&(f.applying=!1),u(f.frames),null!=f.step&&f.step(t),h.completed()&&(a.splice(l,1),f.hooked=!1,f.playing=!1,f.started=!1,u(f.completes)),s=!0)}return n||0!==a.length||0!==o.length||i.push(e),s}for(var a=!1,o=0;o<n.length;o++){var s=r(n[o]);a=a||s}var c=r(e,!0);(a||c)&&(n.length>0?e.notify("draw",n):e.notify("draw")),n.unmerge(i),e.emit("step")}var Es={animate:Kr.animate(),animation:Kr.animation(),animated:Kr.animated(),clearQueue:Kr.clearQueue(),delay:Kr.delay(),delayAnimation:Kr.delayAnimation(),stop:Kr.stop(),addToAnimationPool:function(t){this.styleEnabled()&&this._private.aniEles.merge(t)},stopAnimationLoop:function(){this._private.animationsRunning=!1},startAnimationLoop:function(){var t=this;if(t._private.animationsRunning=!0,t.styleEnabled()){var e=t.renderer();e&&e.beforeRender?e.beforeRender((function(e,n){_s(n,t)}),e.beforeRenderPriorities.animations):function e(){t._private.animationsRunning&&_t((function(n){_s(n,t),e()}))}()}}},Ts={qualifierCompare:function(t,e){return null==t||null==e?null==t&&null==e:t.sameText(e)},eventMatches:function(t,e,n){var i=e.qualifier;return null==i||t!==n.target&&k(n.target)&&i.matches(n.target)},addEventFields:function(t,e){e.cy=t,e.target=t},callbackContext:function(t,e,n){return null!=e.qualifier?n.target:t}},Cs=function(t){return p(t)?new Oa(t):t},Ss={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new Ao(Ts,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,Cs(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,Cs(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,Cs(e),n),this},once:function(t,e,n){return this.emitter().one(t,Cs(e),n),this},emit:function(t,e){return this.emitter().emit(t,e),this},emitAndNotify:function(t,e){return this.emit(t),this.notify(t,e),this}};Kr.eventAliasesOn(Ss);var As={png:function(t){return t=t||{},this._private.renderer.png(t)},jpg:function(t){var e=this._private.renderer;return(t=t||{}).bg=t.bg||"#fff",e.jpg(t)}};As.jpeg=As.jpg;var Ms={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n,i=t.name,r=e.extension("layout",i);if(null!=r)return n=p(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$(),new r(j({},t,{cy:e,eles:n}));Ht("No such layout `"+i+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ht("A `name` must be specified to make a layout");else Ht("Layout options must be specified to make a layout")}};Ms.createLayout=Ms.makeLayout=Ms.layout;var Is={notify:function(t,e){var n=this._private;if(this.batching()){n.batchNotifications=n.batchNotifications||{};var i=n.batchNotifications[t]=n.batchNotifications[t]||this.collection();null!=e&&i.merge(e)}else if(n.notificationsEnabled){var r=this.renderer();!this.destroyed()&&r&&r.notify(t,e)}},notifications:function(t){var e=this._private;return void 0===t?e.notificationsEnabled:(e.notificationsEnabled=!!t,this)},noNotifications:function(t){this.notifications(!1),t(),this.notifications(!0)},batching:function(){return this._private.batchCount>0},startBatch:function(){var t=this._private;return null==t.batchCount&&(t.batchCount=0),0===t.batchCount&&(t.batchStyleEles=this.collection(),t.batchNotifications={}),t.batchCount++,this},endBatch:function(){var t=this._private;if(0===t.batchCount)return this;if(t.batchCount--,0===t.batchCount){t.batchStyleEles.updateStyle();var e=this.renderer();Object.keys(t.batchNotifications).forEach((function(n){var i=t.batchNotifications[n];i.empty()?e.notify(n):e.notify(n,i)}))}return this},batch:function(t){return this.startBatch(),t(),this.endBatch(),this},batchData:function(t){var e=this;return this.batch((function(){for(var n=Object.keys(t),i=0;i<n.length;i++){var r=n[i],a=t[r];e.getElementById(r).data(a)}}))}},Ls=Xt({hideEdgesOnViewport:!1,textureOnViewport:!1,motionBlur:!1,motionBlurOpacity:.05,pixelRatio:void 0,desktopTapThreshold:4,touchTapThreshold:8,wheelSensitivity:1,debug:!1,showFps:!1}),Os={renderTo:function(t,e,n,i){return this._private.renderer.renderTo(t,e,n,i),this},renderer:function(){return this._private.renderer},forceRender:function(){return this.notify("draw"),this},resize:function(){return this.invalidateSize(),this.emitAndNotify("resize"),this},initRenderer:function(t){var e=this,n=e.extension("renderer",t.name);if(null!=n){void 0!==t.wheelSensitivity&&Ut("You have set a custom wheel sensitivity. This will make your app zoom unnaturally when using mainstream mice. You should change this value from the default only if you can guarantee that all your users will use the same hardware and OS configuration as your current machine.");var i=Ls(t);i.cy=e,e._private.renderer=new n(i),this.notify("init")}else Ht("Can not initialise: No such renderer `".concat(t.name,"` found. Did you forget to import it and `cytoscape.use()` it?"))},destroyRenderer:function(){var t=this;t.notify("destroy");var e=t.container();if(e)for(e._cyreg=null;e.childNodes.length>0;)e.removeChild(e.childNodes[0]);t._private.renderer=null,t.mutableElements().forEach((function(t){var e=t._private;e.rscratch={},e.rstyle={},e.animation.current=[],e.animation.queue=[]}))},onRender:function(t){return this.on("render",t)},offRender:function(t){return this.off("render",t)}};Os.invalidateDimensions=Os.resize;var Ds={collection:function(t,e){return p(t)?this.$(t):x(t)?t.collection():w(t)?(e||(e={}),new ls(this,t,e.unique,e.removed)):new ls(this)},nodes:function(t){var e=this.$((function(t){return t.isNode()}));return t?e.filter(t):e},edges:function(t){var e=this.$((function(t){return t.isEdge()}));return t?e.filter(t):e},$:function(t){var e=this._private.elements;return t?e.filter(t):e.spawnSelf()},mutableElements:function(){return this._private.elements}};Ds.elements=Ds.filter=Ds.$;var Ns={},Ps="t";Ns.apply=function(t){for(var e=this,n=e._private.cy.collection(),i=0;i<t.length;i++){var r=t[i],a=e.getContextMeta(r);if(!a.empty){var o=e.getContextStyle(a),s=e.applyContextStyle(a,o,r);r._private.appliedInitStyle?e.updateTransitions(r,s.diffProps):r._private.appliedInitStyle=!0,e.updateStyleHints(r)&&n.push(r)}}return n},Ns.getPropertiesDiff=function(t,e){var n=this,i=n._private.propDiffs=n._private.propDiffs||{},r=t+"-"+e,a=i[r];if(a)return a;for(var o=[],s={},c=0;c<n.length;c++){var u=n[c],l=t[c]===Ps,h=e[c]===Ps,f=l!==h,d=u.mappedProperties.length>0;if(f||h&&d){var g=void 0;f&&d||f?g=u.properties:d&&(g=u.mappedProperties);for(var p=0;p<g.length;p++){for(var b=g[p],w=b.name,y=!1,m=c+1;m<n.length;m++){var v=n[m];if(e[m]===Ps&&(y=null!=v.properties[b.name]))break}s[w]||y||(s[w]=!0,o.push(w))}}}return i[r]=o,o},Ns.getContextMeta=function(t){for(var e,n=this,i="",r=t._private.styleCxtKey||"",a=0;a<n.length;a++){var o=n[a];i+=o.selector&&o.selector.matches(t)?Ps:"f"}return e=n.getPropertiesDiff(r,i),t._private.styleCxtKey=i,{key:i,diffPropNames:e,empty:0===e.length}},Ns.getContextStyle=function(t){var e=t.key,n=this._private.contextStyles=this._private.contextStyles||{};if(n[e])return n[e];for(var i={_private:{key:e}},r=0;r<this.length;r++){var a=this[r];if(e[r]===Ps)for(var o=0;o<a.properties.length;o++){var s=a.properties[o];i[s.name]=s}}return n[e]=i,i},Ns.applyContextStyle=function(t,e,n){for(var i=t.diffPropNames,r={},a=this.types,o=0;o<i.length;o++){var s=i[o],c=e[s],u=n.pstyle(s);if(!c){if(!u)continue;c=u.bypass?{name:s,deleteBypassed:!0}:{name:s,delete:!0}}if(u!==c){if(c.mapped===a.fn&&null!=u&&null!=u.mapping&&u.mapping.value===c.value){var l=u.mapping;if((l.fnValue=c.value(n))===l.prevFnValue)continue}var h=r[s]={prev:u};this.applyParsedProperty(n,c),h.next=n.pstyle(s),h.next&&h.next.bypass&&(h.next=h.next.bypassed)}}return{diffProps:r}},Ns.updateStyleHints=function(t){var e=t._private,n=this,i=n.propertyGroupNames,r=n.propertyGroupKeys,a=function(t,e,i){return n.getPropertiesHash(t,e,i)},o=e.styleKey;if(t.removed())return!1;var s,c,u,l="nodes"===e.group,h=t._private.style;i=Object.keys(h);for(var f=0;f<r.length;f++){var d=r[f];e.styleKeys[d]=[Tt,Ct]}for(var g=function(t,n){return e.styleKeys[n][0]=At(t,e.styleKeys[n][0])},p=function(t,n){return e.styleKeys[n][1]=Mt(t,e.styleKeys[n][1])},b=function(t,e){g(t,e),p(t,e)},w=function(t,e){for(var n=0;n<t.length;n++){var i=t.charCodeAt(n);g(i,e),p(i,e)}},y=0;y<i.length;y++){var m=i[y],v=h[m];if(null!=v){var x=this.properties[m],k=x.type,_=x.groupKey,E=void 0;null!=x.hashOverride?E=x.hashOverride(t,v):null!=v.pfValue&&(E=v.pfValue);var T=null==x.enums?v.value:null,C=null!=E,S=C||null!=T,A=v.units;k.number&&S&&!k.multiple?(b(-128<(s=C?E:T)&&s<128&&Math.floor(s)!==s?2e9-(1024*s|0):s,_),C||null==A||w(A,_)):w(v.strValue,_)}}for(var M=[Tt,Ct],I=0;I<r.length;I++){var L=r[I],O=e.styleKeys[L];M[0]=At(O[0],M[0]),M[1]=Mt(O[1],M[1])}e.styleKey=(c=M[0],u=M[1],2097152*c+u);var D=e.styleKeys;e.labelDimsKey=It(D.labelDimensions);var N=a(t,["label"],D.labelDimensions);if(e.labelKey=It(N),e.labelStyleKey=It(Lt(D.commonLabel,N)),!l){var P=a(t,["source-label"],D.labelDimensions);e.sourceLabelKey=It(P),e.sourceLabelStyleKey=It(Lt(D.commonLabel,P));var B=a(t,["target-label"],D.labelDimensions);e.targetLabelKey=It(B),e.targetLabelStyleKey=It(Lt(D.commonLabel,B))}if(l){var F=e.styleKeys,$=F.nodeBody,j=F.nodeBorder,R=F.backgroundImage,z=F.compound,q=F.pie,H=[$,j,R,z,q].filter((function(t){return null!=t})).reduce(Lt,[Tt,Ct]);e.nodeKey=It(H),e.hasPie=null!=q&&q[0]!==Tt&&q[1]!==Ct}return o!==e.styleKey},Ns.clearStyleHints=function(t){var e=t._private;e.styleCxtKey="",e.styleKeys={},e.styleKey=null,e.labelKey=null,e.labelStyleKey=null,e.sourceLabelKey=null,e.sourceLabelStyleKey=null,e.targetLabelKey=null,e.targetLabelStyleKey=null,e.nodeKey=null,e.hasPie=null},Ns.applyParsedProperty=function(t,e){var n,i=this,r=e,a=t._private.style,o=i.types,s=i.properties[r.name].type,c=r.bypass,u=a[r.name],l=u&&u.bypass,h=t._private,f="mapping",d=function(t){return null==t?null:null!=t.pfValue?t.pfValue:t.value},g=function(){var e=d(u),n=d(r);i.checkTriggers(t,r.name,e,n)};if(r&&"pie"===r.name.substr(0,3)&&Ut("The pie style properties are deprecated. Create charts using background images instead."),"curve-style"===e.name&&t.isEdge()&&("bezier"!==e.value&&t.isLoop()||"haystack"===e.value&&(t.source().isParent()||t.target().isParent()))&&(r=e=this.parse(e.name,"bezier",c)),r.delete)return a[r.name]=void 0,g(),!0;if(r.deleteBypassed)return u?!!u.bypass&&(u.bypassed=void 0,g(),!0):(g(),!0);if(r.deleteBypass)return u?!!u.bypass&&(a[r.name]=u.bypassed,g(),!0):(g(),!0);var p=function(){Ut("Do not assign mappings to elements without corresponding data (i.e. ele `"+t.id()+"` has no mapping for property `"+r.name+"` with data field `"+r.field+"`); try a `["+r.field+"]` selector to limit scope to elements with `"+r.field+"` defined")};switch(r.mapped){case o.mapData:for(var b,w=r.field.split("."),y=h.data,v=0;v<w.length&&y;v++)y=y[w[v]];if(null==y)return p(),!1;if(!m(y))return Ut("Do not use continuous mappers without specifying numeric data (i.e. `"+r.field+": "+y+"` for `"+t.id()+"` is non-numeric)"),!1;var x=r.fieldMax-r.fieldMin;if((b=0===x?0:(y-r.fieldMin)/x)<0?b=0:b>1&&(b=1),s.color){var k=r.valueMin[0],_=r.valueMax[0],E=r.valueMin[1],T=r.valueMax[1],C=r.valueMin[2],S=r.valueMax[2],A=null==r.valueMin[3]?1:r.valueMin[3],M=null==r.valueMax[3]?1:r.valueMax[3],I=[Math.round(k+(_-k)*b),Math.round(E+(T-E)*b),Math.round(C+(S-C)*b),Math.round(A+(M-A)*b)];n={bypass:r.bypass,name:r.name,value:I,strValue:"rgb("+I[0]+", "+I[1]+", "+I[2]+")"}}else{if(!s.number)return!1;var L=r.valueMin+(r.valueMax-r.valueMin)*b;n=this.parse(r.name,L,r.bypass,f)}if(!n)return p(),!1;n.mapping=r,r=n;break;case o.data:for(var O=r.field.split("."),D=h.data,N=0;N<O.length&&D;N++)D=D[O[N]];if(null!=D&&(n=this.parse(r.name,D,r.bypass,f)),!n)return p(),!1;n.mapping=r,r=n;break;case o.fn:var P=r.value,B=null!=r.fnValue?r.fnValue:P(t);if(r.prevFnValue=B,null==B)return Ut("Custom function mappers may not return null (i.e. `"+r.name+"` for ele `"+t.id()+"` is null)"),!1;if(!(n=this.parse(r.name,B,r.bypass,f)))return Ut("Custom function mappers may not return invalid values for the property type (i.e. `"+r.name+"` for ele `"+t.id()+"` is invalid)"),!1;n.mapping=Yt(r),r=n;break;case void 0:break;default:return!1}return c?(r.bypassed=l?u.bypassed:u,a[r.name]=r):l?u.bypassed=r:a[r.name]=r,g(),!0},Ns.cleanElements=function(t,e){for(var n=0;n<t.length;n++){var i=t[n];if(this.clearStyleHints(i),i.dirtyCompoundBoundsCache(),i.dirtyBoundingBoxCache(),e)for(var r=i._private.style,a=Object.keys(r),o=0;o<a.length;o++){var s=a[o],c=r[s];null!=c&&(c.bypass?c.bypassed=null:r[s]=null)}else i._private.style={}}},Ns.update=function(){this._private.cy.mutableElements().updateStyle()},Ns.updateTransitions=function(t,e){var n=this,i=t._private,r=t.pstyle("transition-property").value,a=t.pstyle("transition-duration").pfValue,o=t.pstyle("transition-delay").pfValue;if(r.length>0&&a>0){for(var s={},c=!1,u=0;u<r.length;u++){var l=r[u],h=t.pstyle(l),f=e[l];if(f){var d=f.prev,g=null!=f.next?f.next:h,p=!1,b=void 0,y=1e-6;d&&(m(d.pfValue)&&m(g.pfValue)?(p=g.pfValue-d.pfValue,b=d.pfValue+y*p):m(d.value)&&m(g.value)?(p=g.value-d.value,b=d.value+y*p):w(d.value)&&w(g.value)&&(p=d.value[0]!==g.value[0]||d.value[1]!==g.value[1]||d.value[2]!==g.value[2],b=d.strValue),p&&(s[l]=g.strValue,this.applyBypass(t,l,b),c=!0))}}if(!c)return;i.transitioning=!0,new _i((function(e){o>0?t.delayAnimation(o).play().promise().then(e):e()})).then((function(){return t.animation({style:s,duration:a,easing:t.pstyle("transition-timing-function").value,queue:!1}).play().promise()})).then((function(){n.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1}))}else i.transitioning&&(this.removeBypasses(t,r),t.emitAndNotify("style"),i.transitioning=!1)},Ns.checkTrigger=function(t,e,n,i,r,a){var o=this.properties[e],s=r(o);null!=s&&s(n,i)&&a(o)},Ns.checkZOrderTrigger=function(t,e,n,i){var r=this;this.checkTrigger(t,e,n,i,(function(t){return t.triggersZOrder}),(function(){r._private.cy.notify("zorder",t)}))},Ns.checkBoundsTrigger=function(t,e,n,i){this.checkTrigger(t,e,n,i,(function(t){return t.triggersBounds}),(function(r){t.dirtyCompoundBoundsCache(),t.dirtyBoundingBoxCache(),!r.triggersBoundsOfParallelBeziers||("curve-style"!==e||"bezier"!==n&&"bezier"!==i)&&("display"!==e||"none"!==n&&"none"!==i)||t.parallelEdges().forEach((function(t){t.isBundledBezier()&&t.dirtyBoundingBoxCache()}))}))},Ns.checkTriggers=function(t,e,n,i){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,i),this.checkBoundsTrigger(t,e,n,i)};var Bs={applyBypass:function(t,e,n,i){var r=[];if("*"===e||"**"===e){if(void 0!==n)for(var a=0;a<this.properties.length;a++){var o=this.properties[a].name,s=this.parse(o,n,!0);s&&r.push(s)}}else if(p(e)){var c=this.parse(e,n,!0);c&&r.push(c)}else{if(!y(e))return!1;var u=e;i=n;for(var l=Object.keys(u),h=0;h<l.length;h++){var f=l[h],d=u[f];if(void 0===d&&(d=u[I(f)]),void 0!==d){var g=this.parse(f,d,!0);g&&r.push(g)}}}if(0===r.length)return!1;for(var b=!1,w=0;w<t.length;w++){for(var m=t[w],v={},x=void 0,k=0;k<r.length;k++){var _=r[k];if(i){var E=m.pstyle(_.name);x=v[_.name]={prev:E}}b=this.applyParsedProperty(m,Yt(_))||b,i&&(x.next=m.pstyle(_.name))}b&&this.updateStyleHints(m),i&&this.updateTransitions(m,v,true)}return b},overrideBypass:function(t,e,n){e=M(e);for(var i=0;i<t.length;i++){var r=t[i],a=r._private.style[e],o=this.properties[e].type,s=o.color,c=o.mutiple,u=a?null!=a.pfValue?a.pfValue:a.value:null;a&&a.bypass?(a.value=n,null!=a.pfValue&&(a.pfValue=n),a.strValue=s?"rgb("+n.join(",")+")":c?n.join(" "):""+n,this.updateStyleHints(r)):this.applyBypass(r,e,n),this.checkTriggers(r,e,u,n)}},removeAllBypasses:function(t,e){return this.removeBypasses(t,this.propertyNames,e)},removeBypasses:function(t,e,n){for(var i=0;i<t.length;i++){for(var r=t[i],a={},o=0;o<e.length;o++){var s=e[o],c=this.properties[s],u=r.pstyle(c.name);if(u&&u.bypass){var l=this.parse(s,"",!0),h=a[c.name]={prev:u};this.applyParsedProperty(r,l),h.next=r.pstyle(c.name)}}this.updateStyleHints(r),n&&this.updateTransitions(r,a,true)}}},Fs={getEmSizeInPixels:function(){var t=this.containerCss("font-size");return null!=t?parseFloat(t):1},containerCss:function(t){var e=this._private.cy,n=e.container(),i=e.window();if(i&&n&&i.getComputedStyle)return i.getComputedStyle(n).getPropertyValue(t)}},$s={getRenderedStyle:function(t,e){return e?this.getStylePropertyValue(t,e,!0):this.getRawStyle(t,!0)},getRawStyle:function(t,e){var n=this;if(t=t[0]){for(var i={},r=0;r<n.properties.length;r++){var a=n.properties[r],o=n.getStylePropertyValue(t,a.name,e);null!=o&&(i[a.name]=o,i[I(a.name)]=o)}return i}},getIndexedStyle:function(t,e,n,i){var r=t.pstyle(e)[n][i];return null!=r?r:t.cy().style().getDefaultProperty(e)[n][0]},getStylePropertyValue:function(t,e,n){if(t=t[0]){var i=this.properties[e];i.alias&&(i=i.pointsTo);var r=i.type,a=t.pstyle(i.name);if(a){var o=a.value,s=a.units,c=a.strValue;if(n&&r.number&&null!=o&&m(o)){var u=t.cy().zoom(),l=function(t){return t*u},h=function(t,e){return l(t)+e},f=w(o);return(f?s.every((function(t){return null!=t})):null!=s)?f?o.map((function(t,e){return h(t,s[e])})).join(" "):h(o,s):f?o.map((function(t){return p(t)?t:""+l(t)})).join(" "):""+l(o)}if(null!=c)return c}return null}},getAnimationStartStyle:function(t,e){for(var n={},i=0;i<e.length;i++){var r=e[i].name,a=t.pstyle(r);void 0!==a&&(a=y(a)?this.parse(r,a.strValue):this.parse(r,a)),a&&(n[r]=a)}return n},getPropsList:function(t){var e=[],n=t,i=this.properties;if(n)for(var r=Object.keys(n),a=0;a<r.length;a++){var o=r[a],s=n[o],c=i[o]||i[M(o)],u=this.parse(c.name,s);u&&e.push(u)}return e},getNonDefaultPropertiesHash:function(t,e,n){var i,r,a,o,s,c,u=n.slice();for(s=0;s<e.length;s++)if(i=e[s],null!=(r=t.pstyle(i,!1)))if(null!=r.pfValue)u[0]=At(o,u[0]),u[1]=Mt(o,u[1]);else for(a=r.strValue,c=0;c<a.length;c++)o=a.charCodeAt(c),u[0]=At(o,u[0]),u[1]=Mt(o,u[1]);return u}};$s.getPropertiesHash=$s.getNonDefaultPropertiesHash;var js={appendFromJson:function(t){for(var e=this,n=0;n<t.length;n++){var i=t[n],r=i.selector,a=i.style||i.css,o=Object.keys(a);e.selector(r);for(var s=0;s<o.length;s++){var c=o[s],u=a[c];e.css(c,u)}}return e},fromJson:function(t){var e=this;return e.resetToDefault(),e.appendFromJson(t),e},json:function(){for(var t=[],e=this.defaultLength;e<this.length;e++){for(var n=this[e],i=n.selector,r=n.properties,a={},o=0;o<r.length;o++){var s=r[o];a[s.name]=s.strValue}t.push({selector:i?i.toString():"core",style:a})}return t}},Rs={appendFromString:function(t){var e,n,i,r=this,a=""+t;function o(){a=a.length>e.length?a.substr(e.length):""}function s(){n=n.length>i.length?n.substr(i.length):""}for(a=a.replace(/[/][*](\s|.)+?[*][/]/g,"");!a.match(/^\s*$/);){var c=a.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!c){Ut("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+a);break}e=c[0];var u=c[1];if("core"!==u&&new Oa(u).invalid)Ut("Skipping parsing of block: Invalid selector found in string stylesheet: "+u),o();else{var l=c[2],h=!1;n=l;for(var f=[];!n.match(/^\s*$/);){var d=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!d){Ut("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+l),h=!0;break}i=d[0];var g=d[1],p=d[2];this.properties[g]?r.parse(g,p)?(f.push({name:g,val:p}),s()):(Ut("Skipping property: Invalid property definition in: "+i),s()):(Ut("Skipping property: Invalid property name in: "+i),s())}if(h){o();break}r.selector(u);for(var b=0;b<f.length;b++){var w=f[b];r.css(w.name,w.val)}o()}}return r},fromString:function(t){var e=this;return e.resetToDefault(),e.appendFromString(t),e}},zs={};(function(){var t=D,e=P,n=F,i=function(t){return"^"+t+"\\s*\\(\\s*([\\w\\.]+)\\s*\\)$"},r=function(i){var r=t+"|\\w+|"+e+"|"+n+"|\\#[0-9a-fA-F]{3}|\\#[0-9a-fA-F]{6}";return"^"+i+"\\s*\\(([\\w\\.]+)\\s*\\,\\s*("+t+")\\s*\\,\\s*("+t+")\\s*,\\s*("+r+")\\s*\\,\\s*("+r+")\\)$"},a=["^url\\s*\\(\\s*['\"]?(.+?)['\"]?\\s*\\)$","^(none)$","^(.+)$"];zs.types={time:{number:!0,min:0,units:"s|ms",implicitUnits:"ms"},percent:{number:!0,min:0,max:100,units:"%",implicitUnits:"%"},percentages:{number:!0,min:0,max:100,units:"%",implicitUnits:"%",multiple:!0},zeroOneNumber:{number:!0,min:0,max:1,unitless:!0},zeroOneNumbers:{number:!0,min:0,max:1,unitless:!0,multiple:!0},nOneOneNumber:{number:!0,min:-1,max:1,unitless:!0},nonNegativeInt:{number:!0,min:0,integer:!0,unitless:!0},position:{enums:["parent","origin"]},nodeSize:{number:!0,min:0,enums:["label"]},number:{number:!0,unitless:!0},numbers:{number:!0,unitless:!0,multiple:!0},positiveNumber:{number:!0,unitless:!0,min:0,strictMin:!0},size:{number:!0,min:0},bidirectionalSize:{number:!0},bidirectionalSizeMaybePercent:{number:!0,allowPercent:!0},bidirectionalSizes:{number:!0,multiple:!0},sizeMaybePercent:{number:!0,min:0,allowPercent:!0},axisDirection:{enums:["horizontal","leftward","rightward","vertical","upward","downward","auto"]},paddingRelativeTo:{enums:["width","height","average","min","max"]},bgWH:{number:!0,min:0,allowPercent:!0,enums:["auto"],multiple:!0},bgPos:{number:!0,allowPercent:!0,multiple:!0},bgRelativeTo:{enums:["inner","include-padding"],multiple:!0},bgRepeat:{enums:["repeat","repeat-x","repeat-y","no-repeat"],multiple:!0},bgFit:{enums:["none","contain","cover"],multiple:!0},bgCrossOrigin:{enums:["anonymous","use-credentials","null"],multiple:!0},bgClip:{enums:["none","node"],multiple:!0},bgContainment:{enums:["inside","over"],multiple:!0},color:{color:!0},colors:{color:!0,multiple:!0},fill:{enums:["solid","linear-gradient","radial-gradient"]},bool:{enums:["yes","no"]},bools:{enums:["yes","no"],multiple:!0},lineStyle:{enums:["solid","dotted","dashed"]},lineCap:{enums:["butt","round","square"]},borderStyle:{enums:["solid","dotted","dashed","double"]},curveStyle:{enums:["bezier","unbundled-bezier","haystack","segments","straight","straight-triangle","taxi"]},fontFamily:{regex:'^([\\w- \\"]+(?:\\s*,\\s*[\\w- \\"]+)*)$'},fontStyle:{enums:["italic","normal","oblique"]},fontWeight:{enums:["normal","bold","bolder","lighter","100","200","300","400","500","600","800","900",100,200,300,400,500,600,700,800,900]},textDecoration:{enums:["none","underline","overline","line-through"]},textTransform:{enums:["none","uppercase","lowercase"]},textWrap:{enums:["none","wrap","ellipsis"]},textOverflowWrap:{enums:["whitespace","anywhere"]},textBackgroundShape:{enums:["rectangle","roundrectangle","round-rectangle"]},nodeShape:{enums:["rectangle","roundrectangle","round-rectangle","cutrectangle","cut-rectangle","bottomroundrectangle","bottom-round-rectangle","barrel","ellipse","triangle","round-triangle","square","pentagon","round-pentagon","hexagon","round-hexagon","concavehexagon","concave-hexagon","heptagon","round-heptagon","octagon","round-octagon","tag","round-tag","star","diamond","round-diamond","vee","rhomboid","right-rhomboid","polygon"]},overlayShape:{enums:["roundrectangle","round-rectangle","ellipse"]},compoundIncludeLabels:{enums:["include","exclude"]},arrowShape:{enums:["tee","triangle","triangle-tee","circle-triangle","triangle-cross","triangle-backcurve","vee","square","circle","diamond","chevron","none"]},arrowFill:{enums:["filled","hollow"]},display:{enums:["element","none"]},visibility:{enums:["hidden","visible"]},zCompoundDepth:{enums:["bottom","orphan","auto","top"]},zIndexCompare:{enums:["auto","manual"]},valign:{enums:["top","center","bottom"]},halign:{enums:["left","center","right"]},justification:{enums:["left","center","right","auto"]},text:{string:!0},data:{mapping:!0,regex:i("data")},layoutData:{mapping:!0,regex:i("layoutData")},scratch:{mapping:!0,regex:i("scratch")},mapData:{mapping:!0,regex:r("mapData")},mapLayoutData:{mapping:!0,regex:r("mapLayoutData")},mapScratch:{mapping:!0,regex:r("mapScratch")},fn:{mapping:!0,fn:!0},url:{regexes:a,singleRegexMatchValue:!0},urls:{regexes:a,singleRegexMatchValue:!0,multiple:!0},propList:{propList:!0},angle:{number:!0,units:"deg|rad",implicitUnits:"rad"},textRotation:{number:!0,units:"deg|rad",implicitUnits:"rad",enums:["none","autorotate"]},polygonPointList:{number:!0,multiple:!0,evenMultiple:!0,min:-1,max:1,unitless:!0},edgeDistances:{enums:["intersection","node-position"]},edgeEndpoint:{number:!0,multiple:!0,units:"%|px|em|deg|rad",implicitUnits:"px",enums:["inside-to-node","outside-to-node","outside-to-node-or-label","outside-to-line","outside-to-line-or-label"],singleEnum:!0,validate:function(t,e){switch(t.length){case 2:return"deg"!==e[0]&&"rad"!==e[0]&&"deg"!==e[1]&&"rad"!==e[1];case 1:return p(t[0])||"deg"===e[0]||"rad"===e[0];default:return!1}}},easing:{regexes:["^(spring)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$","^(cubic-bezier)\\s*\\(\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*,\\s*("+t+")\\s*\\)$"],enums:["linear","ease","ease-in","ease-out","ease-in-out","ease-in-sine","ease-out-sine","ease-in-out-sine","ease-in-quad","ease-out-quad","ease-in-out-quad","ease-in-cubic","ease-out-cubic","ease-in-out-cubic","ease-in-quart","ease-out-quart","ease-in-out-quart","ease-in-quint","ease-out-quint","ease-in-out-quint","ease-in-expo","ease-out-expo","ease-in-out-expo","ease-in-circ","ease-out-circ","ease-in-out-circ"]},gradientDirection:{enums:["to-bottom","to-top","to-left","to-right","to-bottom-right","to-bottom-left","to-top-right","to-top-left","to-right-bottom","to-left-bottom","to-right-top","to-left-top"]},boundsExpansion:{number:!0,multiple:!0,min:0,validate:function(t){var e=t.length;return 1===e||2===e||4===e}}};var o={zeroNonZero:function(t,e){return(null==t||null==e)&&t!==e||0==t&&0!=e||0!=t&&0==e},any:function(t,e){return t!=e},emptyNonEmpty:function(t,e){var n=C(t),i=C(e);return n&&!i||!n&&i}},s=zs.types,c=[{name:"label",type:s.text,triggersBounds:o.any,triggersZOrder:o.emptyNonEmpty},{name:"text-rotation",type:s.textRotation,triggersBounds:o.any},{name:"text-margin-x",type:s.bidirectionalSize,triggersBounds:o.any},{name:"text-margin-y",type:s.bidirectionalSize,triggersBounds:o.any}],u=[{name:"source-label",type:s.text,triggersBounds:o.any},{name:"source-text-rotation",type:s.textRotation,triggersBounds:o.any},{name:"source-text-margin-x",type:s.bidirectionalSize,triggersBounds:o.any},{name:"source-text-margin-y",type:s.bidirectionalSize,triggersBounds:o.any},{name:"source-text-offset",type:s.size,triggersBounds:o.any}],l=[{name:"target-label",type:s.text,triggersBounds:o.any},{name:"target-text-rotation",type:s.textRotation,triggersBounds:o.any},{name:"target-text-margin-x",type:s.bidirectionalSize,triggersBounds:o.any},{name:"target-text-margin-y",type:s.bidirectionalSize,triggersBounds:o.any},{name:"target-text-offset",type:s.size,triggersBounds:o.any}],h=[{name:"font-family",type:s.fontFamily,triggersBounds:o.any},{name:"font-style",type:s.fontStyle,triggersBounds:o.any},{name:"font-weight",type:s.fontWeight,triggersBounds:o.any},{name:"font-size",type:s.size,triggersBounds:o.any},{name:"text-transform",type:s.textTransform,triggersBounds:o.any},{name:"text-wrap",type:s.textWrap,triggersBounds:o.any},{name:"text-overflow-wrap",type:s.textOverflowWrap,triggersBounds:o.any},{name:"text-max-width",type:s.size,triggersBounds:o.any},{name:"text-outline-width",type:s.size,triggersBounds:o.any},{name:"line-height",type:s.positiveNumber,triggersBounds:o.any}],f=[{name:"text-valign",type:s.valign,triggersBounds:o.any},{name:"text-halign",type:s.halign,triggersBounds:o.any},{name:"color",type:s.color},{name:"text-outline-color",type:s.color},{name:"text-outline-opacity",type:s.zeroOneNumber},{name:"text-background-color",type:s.color},{name:"text-background-opacity",type:s.zeroOneNumber},{name:"text-background-padding",type:s.size,triggersBounds:o.any},{name:"text-border-opacity",type:s.zeroOneNumber},{name:"text-border-color",type:s.color},{name:"text-border-width",type:s.size,triggersBounds:o.any},{name:"text-border-style",type:s.borderStyle,triggersBounds:o.any},{name:"text-background-shape",type:s.textBackgroundShape,triggersBounds:o.any},{name:"text-justification",type:s.justification}],d=[{name:"events",type:s.bool},{name:"text-events",type:s.bool}],g=[{name:"display",type:s.display,triggersZOrder:o.any,triggersBounds:o.any,triggersBoundsOfParallelBeziers:!0},{name:"visibility",type:s.visibility,triggersZOrder:o.any},{name:"opacity",type:s.zeroOneNumber,triggersZOrder:o.zeroNonZero},{name:"text-opacity",type:s.zeroOneNumber},{name:"min-zoomed-font-size",type:s.size},{name:"z-compound-depth",type:s.zCompoundDepth,triggersZOrder:o.any},{name:"z-index-compare",type:s.zIndexCompare,triggersZOrder:o.any},{name:"z-index",type:s.nonNegativeInt,triggersZOrder:o.any}],b=[{name:"overlay-padding",type:s.size,triggersBounds:o.any},{name:"overlay-color",type:s.color},{name:"overlay-opacity",type:s.zeroOneNumber,triggersBounds:o.zeroNonZero},{name:"overlay-shape",type:s.overlayShape,triggersBounds:o.any}],w=[{name:"underlay-padding",type:s.size,triggersBounds:o.any},{name:"underlay-color",type:s.color},{name:"underlay-opacity",type:s.zeroOneNumber,triggersBounds:o.zeroNonZero},{name:"underlay-shape",type:s.overlayShape,triggersBounds:o.any}],y=[{name:"transition-property",type:s.propList},{name:"transition-duration",type:s.time},{name:"transition-delay",type:s.time},{name:"transition-timing-function",type:s.easing}],m=function(t,e){return"label"===e.value?-t.poolIndex():e.pfValue},v=[{name:"height",type:s.nodeSize,triggersBounds:o.any,hashOverride:m},{name:"width",type:s.nodeSize,triggersBounds:o.any,hashOverride:m},{name:"shape",type:s.nodeShape,triggersBounds:o.any},{name:"shape-polygon-points",type:s.polygonPointList,triggersBounds:o.any},{name:"background-color",type:s.color},{name:"background-fill",type:s.fill},{name:"background-opacity",type:s.zeroOneNumber},{name:"background-blacken",type:s.nOneOneNumber},{name:"background-gradient-stop-colors",type:s.colors},{name:"background-gradient-stop-positions",type:s.percentages},{name:"background-gradient-direction",type:s.gradientDirection},{name:"padding",type:s.sizeMaybePercent,triggersBounds:o.any},{name:"padding-relative-to",type:s.paddingRelativeTo,triggersBounds:o.any},{name:"bounds-expansion",type:s.boundsExpansion,triggersBounds:o.any}],x=[{name:"border-color",type:s.color},{name:"border-opacity",type:s.zeroOneNumber},{name:"border-width",type:s.size,triggersBounds:o.any},{name:"border-style",type:s.borderStyle}],k=[{name:"background-image",type:s.urls},{name:"background-image-crossorigin",type:s.bgCrossOrigin},{name:"background-image-opacity",type:s.zeroOneNumbers},{name:"background-image-containment",type:s.bgContainment},{name:"background-image-smoothing",type:s.bools},{name:"background-position-x",type:s.bgPos},{name:"background-position-y",type:s.bgPos},{name:"background-width-relative-to",type:s.bgRelativeTo},{name:"background-height-relative-to",type:s.bgRelativeTo},{name:"background-repeat",type:s.bgRepeat},{name:"background-fit",type:s.bgFit},{name:"background-clip",type:s.bgClip},{name:"background-width",type:s.bgWH},{name:"background-height",type:s.bgWH},{name:"background-offset-x",type:s.bgPos},{name:"background-offset-y",type:s.bgPos}],_=[{name:"position",type:s.position,triggersBounds:o.any},{name:"compound-sizing-wrt-labels",type:s.compoundIncludeLabels,triggersBounds:o.any},{name:"min-width",type:s.size,triggersBounds:o.any},{name:"min-width-bias-left",type:s.sizeMaybePercent,triggersBounds:o.any},{name:"min-width-bias-right",type:s.sizeMaybePercent,triggersBounds:o.any},{name:"min-height",type:s.size,triggersBounds:o.any},{name:"min-height-bias-top",type:s.sizeMaybePercent,triggersBounds:o.any},{name:"min-height-bias-bottom",type:s.sizeMaybePercent,triggersBounds:o.any}],E=[{name:"line-style",type:s.lineStyle},{name:"line-color",type:s.color},{name:"line-fill",type:s.fill},{name:"line-cap",type:s.lineCap},{name:"line-opacity",type:s.zeroOneNumber},{name:"line-dash-pattern",type:s.numbers},{name:"line-dash-offset",type:s.number},{name:"line-gradient-stop-colors",type:s.colors},{name:"line-gradient-stop-positions",type:s.percentages},{name:"curve-style",type:s.curveStyle,triggersBounds:o.any,triggersBoundsOfParallelBeziers:!0},{name:"haystack-radius",type:s.zeroOneNumber,triggersBounds:o.any},{name:"source-endpoint",type:s.edgeEndpoint,triggersBounds:o.any},{name:"target-endpoint",type:s.edgeEndpoint,triggersBounds:o.any},{name:"control-point-step-size",type:s.size,triggersBounds:o.any},{name:"control-point-distances",type:s.bidirectionalSizes,triggersBounds:o.any},{name:"control-point-weights",type:s.numbers,triggersBounds:o.any},{name:"segment-distances",type:s.bidirectionalSizes,triggersBounds:o.any},{name:"segment-weights",type:s.numbers,triggersBounds:o.any},{name:"taxi-turn",type:s.bidirectionalSizeMaybePercent,triggersBounds:o.any},{name:"taxi-turn-min-distance",type:s.size,triggersBounds:o.any},{name:"taxi-direction",type:s.axisDirection,triggersBounds:o.any},{name:"edge-distances",type:s.edgeDistances,triggersBounds:o.any},{name:"arrow-scale",type:s.positiveNumber,triggersBounds:o.any},{name:"loop-direction",type:s.angle,triggersBounds:o.any},{name:"loop-sweep",type:s.angle,triggersBounds:o.any},{name:"source-distance-from-node",type:s.size,triggersBounds:o.any},{name:"target-distance-from-node",type:s.size,triggersBounds:o.any}],T=[{name:"ghost",type:s.bool,triggersBounds:o.any},{name:"ghost-offset-x",type:s.bidirectionalSize,triggersBounds:o.any},{name:"ghost-offset-y",type:s.bidirectionalSize,triggersBounds:o.any},{name:"ghost-opacity",type:s.zeroOneNumber}],S=[{name:"selection-box-color",type:s.color},{name:"selection-box-opacity",type:s.zeroOneNumber},{name:"selection-box-border-color",type:s.color},{name:"selection-box-border-width",type:s.size},{name:"active-bg-color",type:s.color},{name:"active-bg-opacity",type:s.zeroOneNumber},{name:"active-bg-size",type:s.size},{name:"outside-texture-bg-color",type:s.color},{name:"outside-texture-bg-opacity",type:s.zeroOneNumber}],A=[];zs.pieBackgroundN=16,A.push({name:"pie-size",type:s.sizeMaybePercent});for(var M=1;M<=zs.pieBackgroundN;M++)A.push({name:"pie-"+M+"-background-color",type:s.color}),A.push({name:"pie-"+M+"-background-size",type:s.percent}),A.push({name:"pie-"+M+"-background-opacity",type:s.zeroOneNumber});var I=[],L=zs.arrowPrefixes=["source","mid-source","target","mid-target"];[{name:"arrow-shape",type:s.arrowShape,triggersBounds:o.any},{name:"arrow-color",type:s.color},{name:"arrow-fill",type:s.arrowFill}].forEach((function(t){L.forEach((function(e){var n=e+"-"+t.name,i=t.type,r=t.triggersBounds;I.push({name:n,type:i,triggersBounds:r})}))}),{});var O=zs.properties=[].concat(d,y,g,b,w,T,f,h,c,u,l,v,x,k,A,_,E,I,S),N=zs.propertyGroups={behavior:d,transition:y,visibility:g,overlay:b,underlay:w,ghost:T,commonLabel:f,labelDimensions:h,mainLabel:c,sourceLabel:u,targetLabel:l,nodeBody:v,nodeBorder:x,backgroundImage:k,pie:A,compound:_,edgeLine:E,edgeArrow:I,core:S},B=zs.propertyGroupNames={};(zs.propertyGroupKeys=Object.keys(N)).forEach((function(t){B[t]=N[t].map((function(t){return t.name})),N[t].forEach((function(e){return e.groupKey=t}))}));var $=zs.aliases=[{name:"content",pointsTo:"label"},{name:"control-point-distance",pointsTo:"control-point-distances"},{name:"control-point-weight",pointsTo:"control-point-weights"},{name:"edge-text-rotation",pointsTo:"text-rotation"},{name:"padding-left",pointsTo:"padding"},{name:"padding-right",pointsTo:"padding"},{name:"padding-top",pointsTo:"padding"},{name:"padding-bottom",pointsTo:"padding"}];zs.propertyNames=O.map((function(t){return t.name}));for(var j=0;j<O.length;j++){var R=O[j];O[R.name]=R}for(var z=0;z<$.length;z++){var q=$[z],H=O[q.pointsTo],Z={name:q.name,alias:!0,pointsTo:H};O.push(Z),O[q.name]=Z}})(),zs.getDefaultProperty=function(t){return this.getDefaultProperties()[t]},zs.getDefaultProperties=function(){var t=this._private;if(null!=t.defaultProperties)return t.defaultProperties;for(var e=j({"selection-box-color":"#ddd","selection-box-opacity":.65,"selection-box-border-color":"#aaa","selection-box-border-width":1,"active-bg-color":"black","active-bg-opacity":.15,"active-bg-size":30,"outside-texture-bg-color":"#000","outside-texture-bg-opacity":.125,events:"yes","text-events":"no","text-valign":"top","text-halign":"center","text-justification":"auto","line-height":1,color:"#000","text-outline-color":"#000","text-outline-width":0,"text-outline-opacity":1,"text-opacity":1,"text-decoration":"none","text-transform":"none","text-wrap":"none","text-overflow-wrap":"whitespace","text-max-width":9999,"text-background-color":"#000","text-background-opacity":0,"text-background-shape":"rectangle","text-background-padding":0,"text-border-opacity":0,"text-border-width":0,"text-border-style":"solid","text-border-color":"#000","font-family":"Helvetica Neue, Helvetica, sans-serif","font-style":"normal","font-weight":"normal","font-size":16,"min-zoomed-font-size":0,"text-rotation":"none","source-text-rotation":"none","target-text-rotation":"none",visibility:"visible",display:"element",opacity:1,"z-compound-depth":"auto","z-index-compare":"auto","z-index":0,label:"","text-margin-x":0,"text-margin-y":0,"source-label":"","source-text-offset":0,"source-text-margin-x":0,"source-text-margin-y":0,"target-label":"","target-text-offset":0,"target-text-margin-x":0,"target-text-margin-y":0,"overlay-opacity":0,"overlay-color":"#000","overlay-padding":10,"overlay-shape":"round-rectangle","underlay-opacity":0,"underlay-color":"#000","underlay-padding":10,"underlay-shape":"round-rectangle","transition-property":"none","transition-duration":0,"transition-delay":0,"transition-timing-function":"linear","background-blacken":0,"background-color":"#999","background-fill":"solid","background-opacity":1,"background-image":"none","background-image-crossorigin":"anonymous","background-image-opacity":1,"background-image-containment":"inside","background-image-smoothing":"yes","background-position-x":"50%","background-position-y":"50%","background-offset-x":0,"background-offset-y":0,"background-width-relative-to":"include-padding","background-height-relative-to":"include-padding","background-repeat":"no-repeat","background-fit":"none","background-clip":"node","background-width":"auto","background-height":"auto","border-color":"#000","border-opacity":1,"border-width":0,"border-style":"solid",height:30,width:30,shape:"ellipse","shape-polygon-points":"-1, -1, 1, -1, 1, 1, -1, 1","bounds-expansion":0,"background-gradient-direction":"to-bottom","background-gradient-stop-colors":"#999","background-gradient-stop-positions":"0%",ghost:"no","ghost-offset-y":0,"ghost-offset-x":0,"ghost-opacity":0,padding:0,"padding-relative-to":"width",position:"origin","compound-sizing-wrt-labels":"include","min-width":0,"min-width-bias-left":0,"min-width-bias-right":0,"min-height":0,"min-height-bias-top":0,"min-height-bias-bottom":0},{"pie-size":"100%"},[{name:"pie-{{i}}-background-color",value:"black"},{name:"pie-{{i}}-background-size",value:"0%"},{name:"pie-{{i}}-background-opacity",value:1}].reduce((function(t,e){for(var n=1;n<=zs.pieBackgroundN;n++){var i=e.name.replace("{{i}}",n),r=e.value;t[i]=r}return t}),{}),{"line-style":"solid","line-color":"#999","line-fill":"solid","line-cap":"butt","line-opacity":1,"line-gradient-stop-colors":"#999","line-gradient-stop-positions":"0%","control-point-step-size":40,"control-point-weights":.5,"segment-weights":.5,"segment-distances":20,"taxi-turn":"50%","taxi-turn-min-distance":10,"taxi-direction":"auto","edge-distances":"intersection","curve-style":"haystack","haystack-radius":0,"arrow-scale":1,"loop-direction":"-45deg","loop-sweep":"-90deg","source-distance-from-node":0,"target-distance-from-node":0,"source-endpoint":"outside-to-node","target-endpoint":"outside-to-node","line-dash-pattern":[6,3],"line-dash-offset":0},[{name:"arrow-shape",value:"none"},{name:"arrow-color",value:"#999"},{name:"arrow-fill",value:"filled"}].reduce((function(t,e){return zs.arrowPrefixes.forEach((function(n){var i=n+"-"+e.name,r=e.value;t[i]=r})),t}),{})),n={},i=0;i<this.properties.length;i++){var r=this.properties[i];if(!r.pointsTo){var a=r.name,o=e[a],s=this.parse(a,o);n[a]=s}}return t.defaultProperties=n,t.defaultProperties},zs.addDefaultStylesheet=function(){this.selector(":parent").css({shape:"rectangle",padding:10,"background-color":"#eee","border-color":"#ccc","border-width":1}).selector("edge").css({width:3}).selector(":loop").css({"curve-style":"bezier"}).selector("edge:compound").css({"curve-style":"bezier","source-endpoint":"outside-to-line","target-endpoint":"outside-to-line"}).selector(":selected").css({"background-color":"#0169D9","line-color":"#0169D9","source-arrow-color":"#0169D9","target-arrow-color":"#0169D9","mid-source-arrow-color":"#0169D9","mid-target-arrow-color":"#0169D9"}).selector(":parent:selected").css({"background-color":"#CCE1F9","border-color":"#aec8e5"}).selector(":active").css({"overlay-color":"black","overlay-padding":10,"overlay-opacity":.25}),this.defaultLength=this.length};var qs={parse:function(t,e,n,i){var r=this;if(b(e))return r.parseImplWarn(t,e,n,i);var a,o=Dt(t,""+e,n?"t":"f","mapping"===i||!0===i||!1===i||null==i?"dontcare":i),s=r.propCache=r.propCache||[];return(a=s[o])||(a=s[o]=r.parseImplWarn(t,e,n,i)),(n||"mapping"===i)&&(a=Yt(a))&&(a.value=Yt(a.value)),a},parseImplWarn:function(t,e,n,i){var r=this.parseImpl(t,e,n,i);return r||null==e||Ut("The style property `".concat(t,": ").concat(e,"` is invalid")),!r||"width"!==r.name&&"height"!==r.name||"label"!==e||Ut("The style value of `label` is deprecated for `"+r.name+"`"),r},parseImpl:function(t,e,n,i){var r=this;t=M(t);var a=r.properties[t],o=e,s=r.types;if(!a)return null;if(void 0===e)return null;a.alias&&(a=a.pointsTo,t=a.name);var c=p(e);c&&(e=e.trim());var u,l,h=a.type;if(!h)return null;if(n&&(""===e||null===e))return{name:t,value:e,bypass:!0,deleteBypass:!0};if(b(e))return{name:t,value:e,strValue:"fn",mapped:s.fn,bypass:n};if(!c||i||e.length<7||"a"!==e[1]);else{if(e.length>=7&&"d"===e[0]&&(u=new RegExp(s.data.regex).exec(e))){if(n)return!1;var f=s.data;return{name:t,value:u,strValue:""+e,mapped:f,field:u[1],bypass:n}}if(e.length>=10&&"m"===e[0]&&(l=new RegExp(s.mapData.regex).exec(e))){if(n)return!1;if(h.multiple)return!1;var d=s.mapData;if(!h.color&&!h.number)return!1;var g=this.parse(t,l[4]);if(!g||g.mapped)return!1;var y=this.parse(t,l[5]);if(!y||y.mapped)return!1;if(g.pfValue===y.pfValue||g.strValue===y.strValue)return Ut("`"+t+": "+e+"` is not a valid mapper because the output range is zero; converting to `"+t+": "+g.strValue+"`"),this.parse(t,g.strValue);if(h.color){var v=g.value,x=y.value;if(!(v[0]!==x[0]||v[1]!==x[1]||v[2]!==x[2]||v[3]!==x[3]&&(null!=v[3]&&1!==v[3]||null!=x[3]&&1!==x[3])))return!1}return{name:t,value:l,strValue:""+e,mapped:d,field:l[1],fieldMin:parseFloat(l[2]),fieldMax:parseFloat(l[3]),valueMin:g.value,valueMax:y.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var k;if(k=c?e.split(/\s+/):w(e)?e:[e],h.evenMultiple&&k.length%2!=0)return null;for(var _=[],E=[],T=[],C="",S=!1,A=0;A<k.length;A++){var I=r.parse(t,k[A],n,"multiple");S=S||p(I.value),_.push(I.value),T.push(null!=I.pfValue?I.pfValue:I.value),E.push(I.units),C+=(A>0?" ":"")+I.strValue}return h.validate&&!h.validate(_,E)?null:h.singleEnum&&S?1===_.length&&p(_[0])?{name:t,value:_[0],strValue:_[0],bypass:n}:null:{name:t,value:_,pfValue:T,strValue:C,bypass:n,units:E}}var L,O,N=function(){for(var i=0;i<h.enums.length;i++)if(h.enums[i]===e)return{name:t,value:e,strValue:""+e,bypass:n};return null};if(h.number){var P,B="px";if(h.units&&(P=h.units),h.implicitUnits&&(B=h.implicitUnits),!h.unitless)if(c){var F="px|em"+(h.allowPercent?"|\\%":"");P&&(F=P);var $=e.match("^("+D+")("+F+")?$");$&&(e=$[1],P=$[2]||B)}else P&&!h.implicitUnits||(P=B);if(e=parseFloat(e),isNaN(e)&&void 0===h.enums)return null;if(isNaN(e)&&void 0!==h.enums)return e=o,N();if(h.integer&&(!m(O=e)||Math.floor(O)!==O))return null;if(void 0!==h.min&&(e<h.min||h.strictMin&&e===h.min)||void 0!==h.max&&(e>h.max||h.strictMax&&e===h.max))return null;var j={name:t,value:e,strValue:""+e+(P||""),units:P,bypass:n};return h.unitless||"px"!==P&&"em"!==P?j.pfValue=e:j.pfValue="px"!==P&&P?this.getEmSizeInPixels()*e:e,"ms"!==P&&"s"!==P||(j.pfValue="ms"===P?e:1e3*e),"deg"!==P&&"rad"!==P||(j.pfValue="rad"===P?e:(L=e,Math.PI*L/180)),"%"===P&&(j.pfValue=e/100),j}if(h.propList){var z=[],q=""+e;if("none"===q);else{for(var H=q.split(/\s*,\s*|\s+/),Z=0;Z<H.length;Z++){var U=H[Z].trim();r.properties[U]?z.push(U):Ut("`"+U+"` is not a valid property name")}if(0===z.length)return null}return{name:t,value:z,strValue:0===z.length?"none":z.join(" "),bypass:n}}if(h.color){var Y=R(e);return Y?{name:t,value:Y,pfValue:Y,strValue:"rgb("+Y[0]+","+Y[1]+","+Y[2]+")",bypass:n}:null}if(h.regex||h.regexes){if(h.enums){var G=N();if(G)return G}for(var K=h.regexes?h.regexes:[h.regex],W=0;W<K.length;W++){var X=new RegExp(K[W]).exec(e);if(X)return{name:t,value:h.singleRegexMatchValue?X[1]:X,strValue:""+e,bypass:n}}return null}return h.string?{name:t,value:""+e,strValue:""+e,bypass:n}:h.enums?N():null}},Hs=function t(e){if(!(this instanceof t))return new t(e);E(e)?(this._private={cy:e,coreStyle:{}},this.length=0,this.resetToDefault()):Ht("A style must have a core reference")},Zs=Hs.prototype;Zs.instanceString=function(){return"style"},Zs.clear=function(){for(var t=this._private,e=t.cy.elements(),n=0;n<this.length;n++)this[n]=void 0;return this.length=0,t.contextStyles={},t.propDiffs={},this.cleanElements(e,!0),e.forEach((function(t){var e=t[0]._private;e.styleDirty=!0,e.appliedInitStyle=!1})),this},Zs.resetToDefault=function(){return this.clear(),this.addDefaultStylesheet(),this},Zs.core=function(t){return this._private.coreStyle[t]||this.getDefaultProperty(t)},Zs.selector=function(t){var e="core"===t?null:new Oa(t),n=this.length++;return this[n]={selector:e,properties:[],mappedProperties:[],index:n},this},Zs.css=function(){var t=arguments;if(1===t.length)for(var e=t[0],n=0;n<this.properties.length;n++){var i=this.properties[n],r=e[i.name];void 0===r&&(r=e[I(i.name)]),void 0!==r&&this.cssRule(i.name,r)}else 2===t.length&&this.cssRule(t[0],t[1]);return this},Zs.style=Zs.css,Zs.cssRule=function(t,e){var n=this.parse(t,e);if(n){var i=this.length-1;this[i].properties.push(n),this[i].properties[n.name]=n,n.name.match(/pie-(\d+)-background-size/)&&n.value&&(this._private.hasPie=!0),n.mapped&&this[i].mappedProperties.push(n),!this[i].selector&&(this._private.coreStyle[n.name]=n)}return this},Zs.append=function(t){return T(t)?t.appendToStyle(this):w(t)?this.appendFromJson(t):p(t)&&this.appendFromString(t),this},Hs.fromJson=function(t,e){var n=new Hs(t);return n.fromJson(e),n},Hs.fromString=function(t,e){return new Hs(t).fromString(e)},[Ns,Bs,Fs,$s,js,Rs,zs,qs].forEach((function(t){j(Zs,t)})),Hs.types=Zs.types,Hs.properties=Zs.properties,Hs.propertyGroups=Zs.propertyGroups,Hs.propertyGroupNames=Zs.propertyGroupNames,Hs.propertyGroupKeys=Zs.propertyGroupKeys;var Us={style:function(t){return t&&this.setStyle(t).update(),this._private.style},setStyle:function(t){var e=this._private;return T(t)?e.style=t.generateStyle(this):w(t)?e.style=Hs.fromJson(this,t):p(t)?e.style=Hs.fromString(this,t):e.style=Hs(this),e.style},updateStyle:function(){this.mutableElements().updateStyle()}},Ys={autolock:function(t){return void 0===t?this._private.autolock:(this._private.autolock=!!t,this)},autoungrabify:function(t){return void 0===t?this._private.autoungrabify:(this._private.autoungrabify=!!t,this)},autounselectify:function(t){return void 0===t?this._private.autounselectify:(this._private.autounselectify=!!t,this)},selectionType:function(t){var e=this._private;return null==e.selectionType&&(e.selectionType="single"),void 0===t?e.selectionType:("additive"!==t&&"single"!==t||(e.selectionType=t),this)},panningEnabled:function(t){return void 0===t?this._private.panningEnabled:(this._private.panningEnabled=!!t,this)},userPanningEnabled:function(t){return void 0===t?this._private.userPanningEnabled:(this._private.userPanningEnabled=!!t,this)},zoomingEnabled:function(t){return void 0===t?this._private.zoomingEnabled:(this._private.zoomingEnabled=!!t,this)},userZoomingEnabled:function(t){return void 0===t?this._private.userZoomingEnabled:(this._private.userZoomingEnabled=!!t,this)},boxSelectionEnabled:function(t){return void 0===t?this._private.boxSelectionEnabled:(this._private.boxSelectionEnabled=!!t,this)},pan:function(){var t,e,n,i,r,a=arguments,o=this._private.pan;switch(a.length){case 0:return o;case 1:if(p(a[0]))return o[t=a[0]];if(y(a[0])){if(!this._private.panningEnabled)return this;i=(n=a[0]).x,r=n.y,m(i)&&(o.x=i),m(r)&&(o.y=r),this.emit("pan viewport")}break;case 2:if(!this._private.panningEnabled)return this;e=a[1],"x"!==(t=a[0])&&"y"!==t||!m(e)||(o[t]=e),this.emit("pan viewport")}return this.notify("viewport"),this},panBy:function(t,e){var n,i,r,a,o,s=arguments,c=this._private.pan;if(!this._private.panningEnabled)return this;switch(s.length){case 1:y(t)&&(a=(r=s[0]).x,o=r.y,m(a)&&(c.x+=a),m(o)&&(c.y+=o),this.emit("pan viewport"));break;case 2:i=e,"x"!==(n=t)&&"y"!==n||!m(i)||(c[n]+=i),this.emit("pan viewport")}return this.notify("viewport"),this},fit:function(t,e){var n=this.getFitViewport(t,e);if(n){var i=this._private;i.zoom=n.zoom,i.pan=n.pan,this.emit("pan zoom viewport"),this.notify("viewport")}return this},getFitViewport:function(t,e){if(m(t)&&void 0===e&&(e=t,t=void 0),this._private.panningEnabled&&this._private.zoomingEnabled){var n;if(p(t)){var i=t;t=this.$(i)}else if(y(c=t)&&m(c.x1)&&m(c.x2)&&m(c.y1)&&m(c.y2)){var r=t;(n={x1:r.x1,y1:r.y1,x2:r.x2,y2:r.y2}).w=n.x2-n.x1,n.h=n.y2-n.y1}else x(t)||(t=this.mutableElements());if(!x(t)||!t.empty()){n=n||t.boundingBox();var a,o=this.width(),s=this.height();if(e=m(e)?e:0,!isNaN(o)&&!isNaN(s)&&o>0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)<this._private.minZoom?this._private.minZoom:a,pan:{x:(o-a*(n.x1+n.x2))/2,y:(s-a*(n.y1+n.y2))/2}}}}var c},zoomRange:function(t,e){var n=this._private;if(null==e){var i=t;t=i.min,e=i.max}return m(t)&&m(e)&&t<=e?(n.minZoom=t,n.maxZoom=e):m(t)&&void 0===e&&t<=n.maxZoom?n.minZoom=t:m(e)&&void 0===t&&e>=n.minZoom&&(n.maxZoom=e),this},minZoom:function(t){return void 0===t?this._private.minZoom:this.zoomRange({min:t})},maxZoom:function(t){return void 0===t?this._private.maxZoom:this.zoomRange({max:t})},getZoomedViewport:function(t){var e,n,i=this._private,r=i.pan,a=i.zoom,o=!1;if(i.zoomingEnabled||(o=!0),m(t)?n=t:y(t)&&(n=t.level,null!=t.position?e=ke(t.position,a,r):null!=t.renderedPosition&&(e=t.renderedPosition),null==e||i.panningEnabled||(o=!0)),n=(n=n>i.maxZoom?i.maxZoom:n)<i.minZoom?i.minZoom:n,o||!m(n)||n===a||null!=e&&(!m(e.x)||!m(e.y)))return null;if(null!=e){var s=r,c=a,u=n;return{zoomed:!0,panned:!0,zoom:u,pan:{x:-u/c*(e.x-s.x)+e.x,y:-u/c*(e.y-s.y)+e.y}}}return{zoomed:!0,panned:!1,zoom:n,pan:r}},zoom:function(t){if(void 0===t)return this._private.zoom;var e=this.getZoomedViewport(t),n=this._private;return null!=e&&e.zoomed?(n.zoom=e.zoom,e.panned&&(n.pan.x=e.pan.x,n.pan.y=e.pan.y),this.emit("zoom"+(e.panned?" pan":"")+" viewport"),this.notify("viewport"),this):this},viewport:function(t){var e=this._private,n=!0,i=!0,r=[],a=!1,o=!1;if(!t)return this;if(m(t.zoom)||(n=!1),y(t.pan)||(i=!1),!n&&!i)return this;if(n){var s=t.zoom;s<e.minZoom||s>e.maxZoom||!e.zoomingEnabled?a=!0:(e.zoom=s,r.push("zoom"))}if(i&&(!a||!t.cancelOnFailedZoom)&&e.panningEnabled){var c=t.pan;m(c.x)&&(e.pan.x=c.x,o=!1),m(c.y)&&(e.pan.y=c.y,o=!1),o||r.push("pan")}return r.length>0&&(r.push("viewport"),this.emit(r.join(" ")),this.notify("viewport")),this},center:function(t){var e=this.getCenterPan(t);return e&&(this._private.pan=e,this.emit("pan viewport"),this.notify("viewport")),this},getCenterPan:function(t,e){if(this._private.panningEnabled){if(p(t)){var n=t;t=this.mutableElements().filter(n)}else x(t)||(t=this.mutableElements());if(0!==t.length){var i=t.boundingBox(),r=this.width(),a=this.height();return{x:(r-(e=void 0===e?this._private.zoom:e)*(i.x1+i.x2))/2,y:(a-e*(i.y1+i.y2))/2}}}},reset:function(){return this._private.panningEnabled&&this._private.zoomingEnabled?(this.viewport({pan:{x:0,y:0},zoom:1}),this):this},invalidateSize:function(){this._private.sizeCache=null},size:function(){var t,e,n=this._private,i=n.container;return n.sizeCache=n.sizeCache||(i?(t=this.window().getComputedStyle(i),e=function(e){return parseFloat(t.getPropertyValue(e))},{width:i.clientWidth-e("padding-left")-e("padding-right"),height:i.clientHeight-e("padding-top")-e("padding-bottom")}):{width:1,height:1})},width:function(){return this.size().width},height:function(){return this.size().height},extent:function(){var t=this._private.pan,e=this._private.zoom,n=this.renderedExtent(),i={x1:(n.x1-t.x)/e,x2:(n.x2-t.x)/e,y1:(n.y1-t.y)/e,y2:(n.y2-t.y)/e};return i.w=i.x2-i.x1,i.h=i.y2-i.y1,i},renderedExtent:function(){var t=this.width(),e=this.height();return{x1:0,y1:0,x2:t,y2:e,w:t,h:e}},multiClickDebounceTime:function(t){return t?(this._private.multiClickDebounceTime=t,this):this._private.multiClickDebounceTime}};Ys.centre=Ys.center,Ys.autolockNodes=Ys.autolock,Ys.autoungrabifyNodes=Ys.autoungrabify;var Gs={data:Kr.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:Kr.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:Kr.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:Kr.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};Gs.attr=Gs.data,Gs.removeAttr=Gs.removeData;var Ks=function(t){var e=this,n=(t=j({},t)).container;n&&!v(n)&&v(n[0])&&(n=n[0]);var i=n?n._cyreg:null;(i=i||{})&&i.cy&&(i.cy.destroy(),i={});var r=i.readies=i.readies||[];n&&(n._cyreg=i),i.cy=e;var a=void 0!==c&&void 0!==n&&!t.headless,o=t;o.layout=j({name:a?"grid":"null"},o.layout),o.renderer=j({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},u=this._private={container:n,ready:!1,options:o,elements:new ls(this),listeners:[],aniEles:new ls(this),data:o.data||{},scratch:{},layout:null,renderer:null,destroyed:!1,notificationsEnabled:!0,minZoom:1e-50,maxZoom:1e50,zoomingEnabled:s(!0,o.zoomingEnabled),userZoomingEnabled:s(!0,o.userZoomingEnabled),panningEnabled:s(!0,o.panningEnabled),userPanningEnabled:s(!0,o.userPanningEnabled),boxSelectionEnabled:s(!0,o.boxSelectionEnabled),autolock:s(!1,o.autolock,o.autolockNodes),autoungrabify:s(!1,o.autoungrabify,o.autoungrabifyNodes),autounselectify:s(!1,o.autounselectify),styleEnabled:void 0===o.styleEnabled?a:o.styleEnabled,zoom:m(o.zoom)?o.zoom:1,pan:{x:y(o.pan)&&m(o.pan.x)?o.pan.x:0,y:y(o.pan)&&m(o.pan.y)?o.pan.y:0},animation:{current:[],queue:[]},hasCompoundNodes:!1,multiClickDebounceTime:s(250,o.multiClickDebounceTime)};this.createEmitter(),this.selectionType(o.selectionType),this.zoomRange({min:o.minZoom,max:o.maxZoom});u.styleEnabled&&e.setStyle([]);var l=j({},o,o.renderer);e.initRenderer(l);!function(t,e){if(t.some(S))return _i.all(t).then(e);e(t)}([o.style,o.elements],(function(t){var n=t[0],a=t[1];u.styleEnabled&&e.style().append(n),function(t,n,i){e.notifications(!1);var r=e.mutableElements();r.length>0&&r.remove(),null!=t&&(y(t)||w(t))&&e.add(t),e.one("layoutready",(function(t){e.notifications(!0),e.emit(t),e.one("load",n),e.emitAndNotify("load")})).one("layoutstop",(function(){e.one("done",i),e.emit("done")}));var a=j({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run()}(a,(function(){e.startAnimationLoop(),u.ready=!0,b(o.ready)&&e.on("ready",o.ready);for(var t=0;t<r.length;t++){var n=r[t];e.on("ready",n)}i&&(i.readies=[]),e.emit("ready")}),o.done)}))},Ws=Ks.prototype;j(Ws,{instanceString:function(){return"core"},isReady:function(){return this._private.ready},destroyed:function(){return this._private.destroyed},ready:function(t){return this.isReady()?this.emitter().emit("ready",[],t):this.on("ready",t),this},destroy:function(){var t=this;if(!t.destroyed())return t.stopAnimationLoop(),t.destroyRenderer(),this.emit("destroy"),t._private.destroyed=!0,t},hasElementWithId:function(t){return this._private.elements.hasElementWithId(t)},getElementById:function(t){return this._private.elements.getElementById(t)},hasCompoundNodes:function(){return this._private.hasCompoundNodes},headless:function(){return this._private.renderer.isHeadless()},styleEnabled:function(){return this._private.styleEnabled},addToPool:function(t){return this._private.elements.merge(t),this},removeFromPool:function(t){return this._private.elements.unmerge(t),this},container:function(){return this._private.container||null},window:function(){if(null==this._private.container)return c;var t=this._private.container.ownerDocument;return void 0===t||null==t?c:t.defaultView||c},mount:function(t){if(null!=t){var e=this,n=e._private,i=n.options;return!v(t)&&v(t[0])&&(t=t[0]),e.stopAnimationLoop(),e.destroyRenderer(),n.container=t,n.styleEnabled=!0,e.invalidateSize(),e.initRenderer(j({},i,i.renderer,{name:"null"===i.renderer.name?"canvas":i.renderer.name})),e.startAnimationLoop(),e.style(i.style),e.emit("mount"),e}},unmount:function(){var t=this;return t.stopAnimationLoop(),t.destroyRenderer(),t.initRenderer({name:"null"}),t.emit("unmount"),t},options:function(){return Yt(this._private.options)},json:function(t){var e=this,n=e._private,i=e.mutableElements();if(y(t)){if(e.startBatch(),t.elements){var r={},a=function(t,n){for(var i=[],a=[],o=0;o<t.length;o++){var s=t[o];if(s.data.id){var c=""+s.data.id,u=e.getElementById(c);r[c]=!0,0!==u.length?a.push({ele:u,json:s}):n?(s.group=n,i.push(s)):i.push(s)}else Ut("cy.json() cannot handle elements without an ID attribute")}e.add(i);for(var l=0;l<a.length;l++){var h=a[l],f=h.ele,d=h.json;f.json(d)}};if(w(t.elements))a(t.elements);else for(var o=["nodes","edges"],s=0;s<o.length;s++){var c=o[s],u=t.elements[c];w(u)&&a(u,c)}var l=e.collection();i.filter((function(t){return!r[t.id()]})).forEach((function(t){t.isParent()?l.merge(t):t.remove()})),l.forEach((function(t){return t.children().move({parent:null})})),l.forEach((function(t){return function(t){return e.getElementById(t.id())}(t).remove()}))}t.style&&e.style(t.style),null!=t.zoom&&t.zoom!==n.zoom&&e.zoom(t.zoom),t.pan&&(t.pan.x===n.pan.x&&t.pan.y===n.pan.y||e.pan(t.pan)),t.data&&e.data(t.data);for(var h=["minZoom","maxZoom","zoomingEnabled","userZoomingEnabled","panningEnabled","userPanningEnabled","boxSelectionEnabled","autolock","autoungrabify","autounselectify","multiClickDebounceTime"],f=0;f<h.length;f++){var d=h[f];null!=t[d]&&e[d](t[d])}return e.endBatch(),this}var g={};t?g.elements=this.elements().map((function(t){return t.json()})):(g.elements={},i.forEach((function(t){var e=t.group();g.elements[e]||(g.elements[e]=[]),g.elements[e].push(t.json())}))),this._private.styleEnabled&&(g.style=e.style().json()),g.data=Yt(e.data());var p=n.options;return g.zoomingEnabled=n.zoomingEnabled,g.userZoomingEnabled=n.userZoomingEnabled,g.zoom=n.zoom,g.minZoom=n.minZoom,g.maxZoom=n.maxZoom,g.panningEnabled=n.panningEnabled,g.userPanningEnabled=n.userPanningEnabled,g.pan=Yt(n.pan),g.boxSelectionEnabled=n.boxSelectionEnabled,g.renderer=Yt(p.renderer),g.hideEdgesOnViewport=p.hideEdgesOnViewport,g.textureOnViewport=p.textureOnViewport,g.wheelSensitivity=p.wheelSensitivity,g.motionBlur=p.motionBlur,g.multiClickDebounceTime=p.multiClickDebounceTime,g}}),Ws.$id=Ws.getElementById,[fs,Es,Ss,As,Ms,Is,Os,Ds,Us,Ys,Gs].forEach((function(t){j(Ws,t)}));var Xs={fit:!0,directed:!1,padding:30,circle:!1,grid:!1,spacingFactor:1.75,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,roots:void 0,depthSort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}},Vs={maximal:!1,acyclic:!1},Qs=function(t){return t.scratch("breadthfirst")},Js=function(t,e){return t.scratch("breadthfirst",e)};function tc(t){this.options=j({},Xs,Vs,t)}tc.prototype.run=function(){var t,e=this.options,n=e,i=e.cy,r=n.eles,a=r.nodes().filter((function(t){return!t.isParent()})),o=r,s=n.directed,c=n.acyclic||n.maximal||n.maximalAdjustments>0,u=Ne(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(x(n.roots))t=n.roots;else if(w(n.roots)){for(var l=[],h=0;h<n.roots.length;h++){var f=n.roots[h],d=i.getElementById(f);l.push(d)}t=i.collection(l)}else if(p(n.roots))t=i.$(n.roots);else if(s)t=a.roots();else{var g=r.components();t=i.collection();for(var b=function(e){var n=g[e],i=n.maxDegree(!1),r=n.filter((function(t){return t.degree(!1)===i}));t=t.add(r)},y=0;y<g.length;y++)b(y)}var m=[],v={},k=function(t,e){null==m[e]&&(m[e]=[]);var n=m[e].length;m[e].push(t),Js(t,{index:n,depth:e})};o.bfs({roots:t,directed:n.directed,visit:function(t,e,n,i,r){var a=t[0],o=a.id();k(a,r),v[o]=!0}});for(var _=[],E=0;E<a.length;E++){var T=a[E];v[T.id()]||_.push(T)}var C=function(t){for(var e=m[t],n=0;n<e.length;n++){var i=e[n];null!=i?Js(i,{depth:t,index:n}):(e.splice(n,1),n--)}},S=function(){for(var t=0;t<m.length;t++)C(t)},A=function(t,e){for(var i=Qs(t),a=t.incomers().filter((function(t){return t.isNode()&&r.has(t)})),o=-1,s=t.id(),c=0;c<a.length;c++){var u=a[c],l=Qs(u);o=Math.max(o,l.depth)}if(i.depth<=o){if(!n.acyclic&&e[s])return null;var h=o+1;return function(t,e){var n=Qs(t),i=n.depth,r=n.index;m[i][r]=null,k(t,e)}(t,h),e[s]=h,!0}return!1};if(s&&c){var M=[],I={},L=function(t){return M.push(t)};for(a.forEach((function(t){return M.push(t)}));M.length>0;){var O=M.shift(),D=A(O,I);if(D)O.outgoers().filter((function(t){return t.isNode()&&r.has(t)})).forEach(L);else if(null===D){Ut("Detected double maximal shift for node `"+O.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}S();var N=0;if(n.avoidOverlap)for(var P=0;P<a.length;P++){var B=a[P].layoutDimensions(n),F=B.w,j=B.h;N=Math.max(N,F,j)}var R={},z=function(t){if(R[t.id()])return R[t.id()];for(var e=Qs(t).depth,n=t.neighborhood(),i=0,r=0,o=0;o<n.length;o++){var s=n[o];if(!s.isEdge()&&!s.isParent()&&a.has(s)){var c=Qs(s);if(null!=c){var u=c.index,l=c.depth;if(null!=u&&null!=l){var h=m[l].length;l<e&&(i+=u/h,r++)}}}}return i/=r=Math.max(1,r),0===r&&(i=0),R[t.id()]=i,i},q=function(t,e){var n=z(t)-z(e);return 0===n?$(t.id(),e.id()):n};void 0!==n.depthSort&&(q=n.depthSort);for(var H=0;H<m.length;H++)m[H].sort(q),C(H);for(var Z=[],U=0;U<_.length;U++)Z.push(_[U]);m.unshift(Z),S();for(var Y=0,G=0;G<m.length;G++)Y=Math.max(m[G].length,Y);var K=u.x1+u.w/2,W=u.x1+u.h/2,X=m.reduce((function(t,e){return Math.max(t,e.length)}),0);return r.nodes().layoutPositions(this,n,(function(t){var e=Qs(t),i=e.depth,r=e.index,a=m[i].length,o=Math.max(u.w/((n.grid?X:a)+1),N),s=Math.max(u.h/(m.length+1),N),c=Math.min(u.w/2/m.length,u.h/2/m.length);if(c=Math.max(c,N),n.circle){var l=c*i+c-(m.length>0&&m[0].length<=3?c/2:0),h=2*Math.PI/m[i].length*r;return 0===i&&1===m[0].length&&(l=1),{x:K+l*Math.cos(h),y:W+l*Math.sin(h)}}return{x:K+(r+1-(a+1)/2)*o,y:(i+1)*s}})),this};var ec={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,radius:void 0,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function nc(t){this.options=j({},ec,t)}nc.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,a=i.nodes().not(":parent");e.sort&&(a=a.sort(e.sort));for(var o,s=Ne(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()}),c={x:s.x1+s.w/2,y:s.y1+s.h/2},u=(void 0===e.sweep?2*Math.PI-2*Math.PI/a.length:e.sweep)/Math.max(1,a.length-1),l=0,h=0;h<a.length;h++){var f=a[h].layoutDimensions(e),d=f.w,g=f.h;l=Math.max(l,d,g)}if(o=m(e.radius)?e.radius:a.length<=1?0:Math.min(s.h,s.w)/2-l,a.length>1&&e.avoidOverlap){l*=1.75;var p=Math.cos(u)-Math.cos(0),b=Math.sin(u)-Math.sin(0),w=Math.sqrt(l*l/(p*p+b*b));o=Math.max(w,o)}return i.nodes().layoutPositions(this,e,(function(t,n){var i=e.startAngle+n*u*(r?1:-1),a=o*Math.cos(i),s=o*Math.sin(i);return{x:c.x+a,y:c.y+s}})),this};var ic,rc={fit:!0,padding:30,startAngle:1.5*Math.PI,sweep:void 0,clockwise:!0,equidistant:!1,minNodeSpacing:10,boundingBox:void 0,avoidOverlap:!0,nodeDimensionsIncludeLabels:!1,height:void 0,width:void 0,spacingFactor:void 0,concentric:function(t){return t.degree()},levelWidth:function(t){return t.maxDegree()/4},animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function ac(t){this.options=j({},rc,t)}ac.prototype.run=function(){for(var t=this.options,e=t,n=void 0!==e.counterclockwise?!e.counterclockwise:e.clockwise,i=t.cy,r=e.eles,a=r.nodes().not(":parent"),o=Ne(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()}),s={x:o.x1+o.w/2,y:o.y1+o.h/2},c=[],u=0,l=0;l<a.length;l++){var h,f=a[l];h=e.concentric(f),c.push({value:h,node:f}),f._private.scratch.concentric=h}a.updateStyle();for(var d=0;d<a.length;d++){var g=a[d].layoutDimensions(e);u=Math.max(u,g.w,g.h)}c.sort((function(t,e){return e.value-t.value}));for(var p=e.levelWidth(a),b=[[]],w=b[0],y=0;y<c.length;y++){var m=c[y];w.length>0&&Math.abs(w[0].value-m.value)>=p&&(w=[],b.push(w)),w.push(m)}var v=u+e.minNodeSpacing;if(!e.avoidOverlap){var x=b.length>0&&b[0].length>1,k=(Math.min(o.w,o.h)/2-v)/(b.length+x?1:0);v=Math.min(v,k)}for(var _=0,E=0;E<b.length;E++){var T=b[E],C=void 0===e.sweep?2*Math.PI-2*Math.PI/T.length:e.sweep,S=T.dTheta=C/Math.max(1,T.length-1);if(T.length>1&&e.avoidOverlap){var A=Math.cos(S)-Math.cos(0),M=Math.sin(S)-Math.sin(0),I=Math.sqrt(v*v/(A*A+M*M));_=Math.max(I,_)}T.r=_,_+=v}if(e.equidistant){for(var L=0,O=0,D=0;D<b.length;D++){var N=b[D].r-O;L=Math.max(L,N)}O=0;for(var P=0;P<b.length;P++){var B=b[P];0===P&&(O=B.r),B.r=O,O+=L}}for(var F={},$=0;$<b.length;$++)for(var j=b[$],R=j.dTheta,z=j.r,q=0;q<j.length;q++){var H=j[q],Z=e.startAngle+(n?1:-1)*R*q,U={x:s.x+z*Math.cos(Z),y:s.y+z*Math.sin(Z)};F[H.node.id()]=U}return r.nodes().layoutPositions(this,e,(function(t){var e=t.id();return F[e]})),this};var oc={ready:function(){},stop:function(){},animate:!0,animationEasing:void 0,animationDuration:void 0,animateFilter:function(t,e){return!0},animationThreshold:250,refresh:20,fit:!0,padding:30,boundingBox:void 0,nodeDimensionsIncludeLabels:!1,randomize:!1,componentSpacing:40,nodeRepulsion:function(t){return 2048},nodeOverlap:4,idealEdgeLength:function(t){return 32},edgeElasticity:function(t){return 32},nestingFactor:1.2,gravity:1,numIter:1e3,initialTemp:1e3,coolingFactor:.99,minTemp:1};function sc(t){this.options=j({},oc,t),this.options.layout=this}sc.prototype.run=function(){var t=this.options,e=t.cy,n=this;n.stopped=!1,!0!==t.animate&&!1!==t.animate||n.emit({type:"layoutstart",layout:n}),ic=!0===t.debug;var i=cc(e,n,t);ic&&undefined(i),t.randomize&&hc(i);var r=Et(),a=function(){dc(i,e,t),!0===t.fit&&e.fit(t.padding)},o=function(e){return!(n.stopped||e>=t.numIter||(gc(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature<t.minTemp))},s=function(){if(!0===t.animate||!1===t.animate)a(),n.one("layoutstop",t.stop),n.emit({type:"layoutstop",layout:n});else{var e=t.eles.nodes(),r=fc(i,t,e);e.layoutPositions(n,t,r)}},c=0,u=!0;if(!0===t.animate)!function e(){for(var n=0;u&&n<t.refresh;)u=o(c),c++,n++;u?(Et()-r>=t.animationThreshold&&a(),_t(e)):(Cc(i,t),s())}();else{for(;u;)u=o(c),c++;Cc(i,t),s()}return this},sc.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},sc.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var cc=function(t,e,n){for(var i=n.eles.edges(),r=n.eles.nodes(),a=Ne(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:t.width(),h:t.height()}),o={isCompound:t.hasCompoundNodes(),layoutNodes:[],idToIndex:{},nodeSize:r.size(),graphSet:[],indexToGraph:[],layoutEdges:[],edgeSize:i.size(),temperature:n.initialTemp,clientWidth:a.w,clientHeight:a.h,boundingBox:a},s=n.eles.components(),c={},u=0;u<s.length;u++)for(var l=s[u],h=0;h<l.length;h++)c[l[h].id()]=u;for(u=0;u<o.nodeSize;u++){var f=(y=r[u]).layoutDimensions(n);(N={}).isLocked=y.locked(),N.id=y.data("id"),N.parentId=y.data("parent"),N.cmptId=c[y.id()],N.children=[],N.positionX=y.position("x"),N.positionY=y.position("y"),N.offsetX=0,N.offsetY=0,N.height=f.w,N.width=f.h,N.maxX=N.positionX+N.width/2,N.minX=N.positionX-N.width/2,N.maxY=N.positionY+N.height/2,N.minY=N.positionY-N.height/2,N.padLeft=parseFloat(y.style("padding")),N.padRight=parseFloat(y.style("padding")),N.padTop=parseFloat(y.style("padding")),N.padBottom=parseFloat(y.style("padding")),N.nodeRepulsion=b(n.nodeRepulsion)?n.nodeRepulsion(y):n.nodeRepulsion,o.layoutNodes.push(N),o.idToIndex[N.id]=u}var d=[],g=0,p=-1,w=[];for(u=0;u<o.nodeSize;u++){var y,m=(y=o.layoutNodes[u]).parentId;null!=m?o.layoutNodes[o.idToIndex[m]].children.push(y.id):(d[++p]=y.id,w.push(y.id))}for(o.graphSet.push(w);g<=p;){var v=d[g++],x=o.idToIndex[v],k=o.layoutNodes[x].children;if(k.length>0)for(o.graphSet.push(k),u=0;u<k.length;u++)d[++p]=k[u]}for(u=0;u<o.graphSet.length;u++){var _=o.graphSet[u];for(h=0;h<_.length;h++){var E=o.idToIndex[_[h]];o.indexToGraph[E]=u}}for(u=0;u<o.edgeSize;u++){var T=i[u],C={};C.id=T.data("id"),C.sourceId=T.data("source"),C.targetId=T.data("target");var S=b(n.idealEdgeLength)?n.idealEdgeLength(T):n.idealEdgeLength,A=b(n.edgeElasticity)?n.edgeElasticity(T):n.edgeElasticity,M=o.idToIndex[C.sourceId],I=o.idToIndex[C.targetId];if(o.indexToGraph[M]!=o.indexToGraph[I]){for(var L=uc(C.sourceId,C.targetId,o),O=o.graphSet[L],D=0,N=o.layoutNodes[M];-1===O.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],D++;for(N=o.layoutNodes[I];-1===O.indexOf(N.id);)N=o.layoutNodes[o.idToIndex[N.parentId]],D++;S*=D*n.nestingFactor}C.idealLength=S,C.elasticity=A,o.layoutEdges.push(C)}return o},uc=function(t,e,n){var i=lc(t,e,0,n);return 2>i.count?0:i.graph},lc=function t(e,n,i,r){var a=r.graphSet[i];if(-1<a.indexOf(e)&&-1<a.indexOf(n))return{count:2,graph:i};for(var o=0,s=0;s<a.length;s++){var c=a[s],u=r.idToIndex[c],l=r.layoutNodes[u].children;if(0!==l.length){var h=t(e,n,r.indexToGraph[r.idToIndex[l[0]]],r);if(0!==h.count){if(1!==h.count)return h;if(2==++o)break}}}return{count:o,graph:i}},hc=function(t,e){for(var n=t.clientWidth,i=t.clientHeight,r=0;r<t.nodeSize;r++){var a=t.layoutNodes[r];0!==a.children.length||a.isLocked||(a.positionX=Math.random()*n,a.positionY=Math.random()*i)}},fc=function(t,e,n){var i=t.boundingBox,r={x1:1/0,x2:-1/0,y1:1/0,y2:-1/0};return e.boundingBox&&(n.forEach((function(e){var n=t.layoutNodes[t.idToIndex[e.data("id")]];r.x1=Math.min(r.x1,n.positionX),r.x2=Math.max(r.x2,n.positionX),r.y1=Math.min(r.y1,n.positionY),r.y2=Math.max(r.y2,n.positionY)})),r.w=r.x2-r.x1,r.h=r.y2-r.y1),function(n,a){var o=t.layoutNodes[t.idToIndex[n.data("id")]];if(e.boundingBox){var s=(o.positionX-r.x1)/r.w,c=(o.positionY-r.y1)/r.h;return{x:i.x1+s*i.w,y:i.y1+c*i.h}}return{x:o.positionX,y:o.positionY}}},dc=function(t,e,n){var i=n.layout,r=n.eles.nodes(),a=fc(t,n,r);r.positions(a),!0!==t.ready&&(t.ready=!0,i.one("layoutready",n.ready),i.emit({type:"layoutready",layout:this}))},gc=function(t,e,n){pc(t,e),vc(t),xc(t,e),kc(t),_c(t)},pc=function(t,e){for(var n=0;n<t.graphSet.length;n++)for(var i=t.graphSet[n],r=i.length,a=0;a<r;a++)for(var o=t.layoutNodes[t.idToIndex[i[a]]],s=a+1;s<r;s++){var c=t.layoutNodes[t.idToIndex[i[s]]];wc(o,c,t,e)}},bc=function(t){return-t+2*t*Math.random()},wc=function(t,e,n,i){if(t.cmptId===e.cmptId||n.isCompound){var r=e.positionX-t.positionX,a=e.positionY-t.positionY;0===r&&0===a&&(r=bc(1),a=bc(1));var o=yc(t,e,r,a);if(o>0)var s=(u=i.nodeOverlap*o)*r/(p=Math.sqrt(r*r+a*a)),c=u*a/p;else{var u,l=mc(t,r,a),h=mc(e,-1*r,-1*a),f=h.x-l.x,d=h.y-l.y,g=f*f+d*d,p=Math.sqrt(g);s=(u=(t.nodeRepulsion+e.nodeRepulsion)/g)*f/p,c=u*d/p}t.isLocked||(t.offsetX-=s,t.offsetY-=c),e.isLocked||(e.offsetX+=s,e.offsetY+=c)}},yc=function(t,e,n,i){if(n>0)var r=t.maxX-e.minX;else r=e.maxX-t.minX;if(i>0)var a=t.maxY-e.minY;else a=e.maxY-t.minY;return r>=0&&a>=0?Math.sqrt(r*r+a*a):0},mc=function(t,e,n){var i=t.positionX,r=t.positionY,a=t.height||1,o=t.width||1,s=n/e,c=a/o,u={};return 0===e&&0<n||0===e&&0>n?(u.x=i,u.y=r+a/2,u):0<e&&-1*c<=s&&s<=c?(u.x=i+o/2,u.y=r+o*n/2/e,u):0>e&&-1*c<=s&&s<=c?(u.x=i-o/2,u.y=r-o*n/2/e,u):0<n&&(s<=-1*c||s>=c)?(u.x=i+a*e/2/n,u.y=r+a/2,u):0>n&&(s<=-1*c||s>=c)?(u.x=i-a*e/2/n,u.y=r-a/2,u):u},vc=function(t,e){for(var n=0;n<t.edgeSize;n++){var i=t.layoutEdges[n],r=t.idToIndex[i.sourceId],a=t.layoutNodes[r],o=t.idToIndex[i.targetId],s=t.layoutNodes[o],c=s.positionX-a.positionX,u=s.positionY-a.positionY;if(0!==c||0!==u){var l=mc(a,c,u),h=mc(s,-1*c,-1*u),f=h.x-l.x,d=h.y-l.y,g=Math.sqrt(f*f+d*d),p=Math.pow(i.idealLength-g,2)/i.elasticity;if(0!==g)var b=p*f/g,w=p*d/g;else b=0,w=0;a.isLocked||(a.offsetX+=b,a.offsetY+=w),s.isLocked||(s.offsetX-=b,s.offsetY-=w)}}},xc=function(t,e){if(0!==e.gravity)for(var n=0;n<t.graphSet.length;n++){var i=t.graphSet[n],r=i.length;if(0===n)var a=t.clientHeight/2,o=t.clientWidth/2;else{var s=t.layoutNodes[t.idToIndex[i[0]]],c=t.layoutNodes[t.idToIndex[s.parentId]];a=c.positionX,o=c.positionY}for(var u=0;u<r;u++){var l=t.layoutNodes[t.idToIndex[i[u]]];if(!l.isLocked){var h=a-l.positionX,f=o-l.positionY,d=Math.sqrt(h*h+f*f);if(d>1){var g=e.gravity*h/d,p=e.gravity*f/d;l.offsetX+=g,l.offsetY+=p}}}}},kc=function(t,e){var n=[],i=0,r=-1;for(n.push.apply(n,t.graphSet[0]),r+=t.graphSet[0].length;i<=r;){var a=n[i++],o=t.idToIndex[a],s=t.layoutNodes[o],c=s.children;if(0<c.length&&!s.isLocked){for(var u=s.offsetX,l=s.offsetY,h=0;h<c.length;h++){var f=t.layoutNodes[t.idToIndex[c[h]]];f.offsetX+=u,f.offsetY+=l,n[++r]=c[h]}s.offsetX=0,s.offsetY=0}}},_c=function(t,e){for(var n=0;n<t.nodeSize;n++)0<(r=t.layoutNodes[n]).children.length&&(r.maxX=void 0,r.minX=void 0,r.maxY=void 0,r.minY=void 0);for(n=0;n<t.nodeSize;n++)if(!(0<(r=t.layoutNodes[n]).children.length||r.isLocked)){var i=Ec(r.offsetX,r.offsetY,t.temperature);r.positionX+=i.x,r.positionY+=i.y,r.offsetX=0,r.offsetY=0,r.minX=r.positionX-r.width,r.maxX=r.positionX+r.width,r.minY=r.positionY-r.height,r.maxY=r.positionY+r.height,Tc(r,t)}for(n=0;n<t.nodeSize;n++){var r;0<(r=t.layoutNodes[n]).children.length&&!r.isLocked&&(r.positionX=(r.maxX+r.minX)/2,r.positionY=(r.maxY+r.minY)/2,r.width=r.maxX-r.minX,r.height=r.maxY-r.minY)}},Ec=function(t,e,n){var i=Math.sqrt(t*t+e*e);if(i>n)var r={x:n*t/i,y:n*e/i};else r={x:t,y:e};return r},Tc=function t(e,n){var i=e.parentId;if(null!=i){var r=n.layoutNodes[n.idToIndex[i]],a=!1;return(null==r.maxX||e.maxX+r.padRight>r.maxX)&&(r.maxX=e.maxX+r.padRight,a=!0),(null==r.minX||e.minX-r.padLeft<r.minX)&&(r.minX=e.minX-r.padLeft,a=!0),(null==r.maxY||e.maxY+r.padBottom>r.maxY)&&(r.maxY=e.maxY+r.padBottom,a=!0),(null==r.minY||e.minY-r.padTop<r.minY)&&(r.minY=e.minY-r.padTop,a=!0),a?t(r,n):void 0}},Cc=function(t,e){for(var n=t.layoutNodes,i=[],r=0;r<n.length;r++){var a=n[r],o=a.cmptId;(i[o]=i[o]||[]).push(a)}var s=0;for(r=0;r<i.length;r++)if(p=i[r]){p.x1=1/0,p.x2=-1/0,p.y1=1/0,p.y2=-1/0;for(var c=0;c<p.length;c++){var u=p[c];p.x1=Math.min(p.x1,u.positionX-u.width/2),p.x2=Math.max(p.x2,u.positionX+u.width/2),p.y1=Math.min(p.y1,u.positionY-u.height/2),p.y2=Math.max(p.y2,u.positionY+u.height/2)}p.w=p.x2-p.x1,p.h=p.y2-p.y1,s+=p.w*p.h}i.sort((function(t,e){return e.w*e.h-t.w*t.h}));var l=0,h=0,f=0,d=0,g=Math.sqrt(s)*t.clientWidth/t.clientHeight;for(r=0;r<i.length;r++){var p;if(p=i[r]){for(c=0;c<p.length;c++)(u=p[c]).isLocked||(u.positionX+=l-p.x1,u.positionY+=h-p.y1);l+=p.w+e.componentSpacing,f+=p.w+e.componentSpacing,d=Math.max(d,p.h),f>g&&(h+=d+e.componentSpacing,l=0,f=0,d=0)}}},Sc={fit:!0,padding:30,boundingBox:void 0,avoidOverlap:!0,avoidOverlapPadding:10,nodeDimensionsIncludeLabels:!1,spacingFactor:void 0,condense:!1,rows:void 0,cols:void 0,position:function(t){},sort:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Ac(t){this.options=j({},Sc,t)}Ac.prototype.run=function(){var t=this.options,e=t,n=t.cy,i=e.eles,r=i.nodes().not(":parent");e.sort&&(r=r.sort(e.sort));var a=Ne(e.boundingBox?e.boundingBox:{x1:0,y1:0,w:n.width(),h:n.height()});if(0===a.h||0===a.w)i.nodes().layoutPositions(this,e,(function(t){return{x:a.x1,y:a.y1}}));else{var o=r.size(),s=Math.sqrt(o*a.h/a.w),c=Math.round(s),u=Math.round(a.w/a.h*s),l=function(t){if(null==t)return Math.min(c,u);Math.min(c,u)==c?c=t:u=t},h=function(t){if(null==t)return Math.max(c,u);Math.max(c,u)==c?c=t:u=t},f=e.rows,d=null!=e.cols?e.cols:e.columns;if(null!=f&&null!=d)c=f,u=d;else if(null!=f&&null==d)c=f,u=Math.ceil(o/c);else if(null==f&&null!=d)u=d,c=Math.ceil(o/u);else if(u*c>o){var g=l(),p=h();(g-1)*p>=o?l(g-1):(p-1)*g>=o&&h(p-1)}else for(;u*c<o;){var b=l(),w=h();(w+1)*b>=o?h(w+1):l(b+1)}var y=a.w/u,m=a.h/c;if(e.condense&&(y=0,m=0),e.avoidOverlap)for(var v=0;v<r.length;v++){var x=r[v],k=x._private.position;null!=k.x&&null!=k.y||(k.x=0,k.y=0);var _=x.layoutDimensions(e),E=e.avoidOverlapPadding,T=_.w+E,C=_.h+E;y=Math.max(y,T),m=Math.max(m,C)}for(var S={},A=function(t,e){return!!S["c-"+t+"-"+e]},M=function(t,e){S["c-"+t+"-"+e]=!0},I=0,L=0,O=function(){++L>=u&&(L=0,I++)},D={},N=0;N<r.length;N++){var P=r[N],B=e.position(P);if(B&&(void 0!==B.row||void 0!==B.col)){var F={row:B.row,col:B.col};if(void 0===F.col)for(F.col=0;A(F.row,F.col);)F.col++;else if(void 0===F.row)for(F.row=0;A(F.row,F.col);)F.row++;D[P.id()]=F,M(F.row,F.col)}}r.layoutPositions(this,e,(function(t,e){var n,i;if(t.locked()||t.isParent())return!1;var r=D[t.id()];if(r)n=r.col*y+y/2+a.x1,i=r.row*m+m/2+a.y1;else{for(;A(I,L);)O();n=L*y+y/2+a.x1,i=I*m+m/2+a.y1,M(I,L),O()}return{x:n,y:i}}))}return this};var Mc={ready:function(){},stop:function(){}};function Ic(t){this.options=j({},Mc,t)}Ic.prototype.run=function(){var t=this.options,e=t.eles,n=this;return t.cy,n.emit("layoutstart"),e.nodes().positions((function(){return{x:0,y:0}})),n.one("layoutready",t.ready),n.emit("layoutready"),n.one("layoutstop",t.stop),n.emit("layoutstop"),this},Ic.prototype.stop=function(){return this};var Lc={positions:void 0,zoom:void 0,pan:void 0,fit:!0,padding:30,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Oc(t){this.options=j({},Lc,t)}Oc.prototype.run=function(){var t=this.options,e=t.eles.nodes(),n=b(t.positions);return e.layoutPositions(this,t,(function(e,i){var r=function(e){if(null==t.positions)return function(t){return{x:t.x,y:t.y}}(e.position());if(n)return t.positions(e);var i=t.positions[e._private.data.id];return null==i?null:i}(e);return!e.locked()&&null!=r&&r})),this};var Dc={fit:!0,padding:30,boundingBox:void 0,animate:!1,animationDuration:500,animationEasing:void 0,animateFilter:function(t,e){return!0},ready:void 0,stop:void 0,transform:function(t,e){return e}};function Nc(t){this.options=j({},Dc,t)}Nc.prototype.run=function(){var t=this.options,e=t.cy,n=t.eles,i=Ne(t.boundingBox?t.boundingBox:{x1:0,y1:0,w:e.width(),h:e.height()});return n.nodes().layoutPositions(this,t,(function(t,e){return{x:i.x1+Math.round(Math.random()*i.w),y:i.y1+Math.round(Math.random()*i.h)}})),this};var Pc=[{name:"breadthfirst",impl:tc},{name:"circle",impl:nc},{name:"concentric",impl:ac},{name:"cose",impl:sc},{name:"grid",impl:Ac},{name:"null",impl:Ic},{name:"preset",impl:Oc},{name:"random",impl:Nc}];function Bc(t){this.options=t,this.notifications=0}var Fc=function(){},$c=function(){throw new Error("A headless instance can not render images")};Bc.prototype={recalculateRenderedStyle:Fc,notify:function(){this.notifications++},init:Fc,isHeadless:function(){return!0},png:$c,jpg:$c};var jc={arrowShapeWidth:.3,registerArrowShapes:function(){var t=this.arrowShapes={},e=this,n=function(t,e,n,i,r,a,o){var s=r.x-n/2-o,c=r.x+n/2+o,u=r.y-n/2-o,l=r.y+n/2+o;return s<=t&&t<=c&&u<=e&&e<=l},i=function(t,e,n,i,r){var a=t*Math.cos(i)-e*Math.sin(i),o=(t*Math.sin(i)+e*Math.cos(i))*n;return{x:a*n+r.x,y:o+r.y}},r=function(t,e,n,r){for(var a=[],o=0;o<t.length;o+=2){var s=t[o],c=t[o+1];a.push(i(s,c,e,n,r))}return a},a=function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];e.push(i.x,i.y)}return e},o=function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").pfValue*2},s=function(i,s){p(s)&&(s=t[s]),t[i]=j({name:i,points:[-.15,-.3,.15,-.3,.15,.3,-.15,.3],collide:function(t,e,n,i,o,s){var c=a(r(this.points,n+2*s,i,o));return Ge(t,e,c)},roughCollide:n,draw:function(t,n,i,a){var o=r(this.points,n,i,a);e.arrowShapeImpl("polygon")(t,o)},spacing:function(t){return 0},gap:o},s)};s("none",{collide:Rt,roughCollide:Rt,draw:qt,spacing:zt,gap:zt}),s("triangle",{points:[-.15,-.3,0,0,.15,-.3]}),s("arrow","triangle"),s("triangle-backcurve",{points:t.triangle.points,controlPoint:[0,-.15],roughCollide:n,draw:function(t,n,a,o,s){var c=r(this.points,n,a,o),u=this.controlPoint,l=i(u[0],u[1],n,a,o);e.arrowShapeImpl(this.name)(t,c,l)},gap:function(t){return.8*o(t)}}),s("triangle-tee",{points:[0,0,.15,-.3,-.15,-.3,0,0],pointsTee:[-.15,-.4,-.15,-.5,.15,-.5,.15,-.4],collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.pointsTee,n+2*c,i,o));return Ge(t,e,u)||Ge(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.pointsTee,n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("circle-triangle",{radius:.15,pointsTr:[0,-.15,.15,-.45,-.15,-.45,0,-.15],collide:function(t,e,n,i,o,s,c){var u=o,l=Math.pow(u.x-t,2)+Math.pow(u.y-e,2)<=Math.pow((n+2*c)*this.radius,2),h=a(r(this.points,n+2*c,i,o));return Ge(t,e,h)||l},draw:function(t,n,i,a,o){var s=r(this.pointsTr,n,i,a);e.arrowShapeImpl(this.name)(t,s,a.x,a.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("triangle-cross",{points:[0,0,.15,-.3,-.15,-.3,0,0],baseCrossLinePts:[-.15,-.4,-.15,-.4,.15,-.4,.15,-.4],crossLinePts:function(t,e){var n=this.baseCrossLinePts.slice(),i=e/t;return n[3]=n[3]-i,n[5]=n[5]-i,n},collide:function(t,e,n,i,o,s,c){var u=a(r(this.points,n+2*c,i,o)),l=a(r(this.crossLinePts(n,s),n+2*c,i,o));return Ge(t,e,u)||Ge(t,e,l)},draw:function(t,n,i,a,o){var s=r(this.points,n,i,a),c=r(this.crossLinePts(n,o),n,i,a);e.arrowShapeImpl(this.name)(t,s,c)}}),s("vee",{points:[-.15,-.3,0,0,.15,-.3,0,-.15],gap:function(t){return.525*o(t)}}),s("circle",{radius:.15,collide:function(t,e,n,i,r,a,o){var s=r;return Math.pow(s.x-t,2)+Math.pow(s.y-e,2)<=Math.pow((n+2*o)*this.radius,2)},draw:function(t,n,i,r,a){e.arrowShapeImpl(this.name)(t,r.x,r.y,this.radius*n)},spacing:function(t){return e.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.radius}}),s("tee",{points:[-.15,0,-.15,-.1,.15,-.1,.15,0],spacing:function(t){return 1},gap:function(t){return 1}}),s("square",{points:[-.15,0,.15,0,.15,-.3,-.15,-.3]}),s("diamond",{points:[-.15,-.15,0,-.3,.15,-.15,0,0],gap:function(t){return t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}}),s("chevron",{points:[0,0,-.15,-.15,-.1,-.2,0,-.1,.1,-.2,.15,-.15],gap:function(t){return.95*t.pstyle("width").pfValue*t.pstyle("arrow-scale").value}})}},Rc={projectIntoViewport:function(t,e){var n=this.cy,i=this.findContainerClientCoords(),r=i[0],a=i[1],o=i[4],s=n.pan(),c=n.zoom();return[((t-r)/o-s.x)/c,((e-a)/o-s.y)/c]},findContainerClientCoords:function(){if(this.containerBB)return this.containerBB;var t=this.container,e=t.getBoundingClientRect(),n=this.cy.window().getComputedStyle(t),i=function(t){return parseFloat(n.getPropertyValue(t))},r=i("padding-left"),a=i("padding-right"),o=i("padding-top"),s=i("padding-bottom"),c=i("border-left-width"),u=i("border-right-width"),l=i("border-top-width"),h=(i("border-bottom-width"),t.clientWidth),f=t.clientHeight,d=r+a,g=o+s,p=c+u,b=e.width/(h+p),w=h-d,y=f-g,m=e.left+r+c,v=e.top+o+l;return this.containerBB=[m,v,w,y,b]},invalidateContainerClientCoordsCache:function(){this.containerBB=null},findNearestElement:function(t,e,n,i){return this.findNearestElements(t,e,n,i)[0]},findNearestElements:function(t,e,n,i){var r,a,o=this,s=this,c=s.getCachedZSortedEles(),u=[],l=s.cy.zoom(),h=s.cy.hasCompoundNodes(),f=(i?24:8)/l,d=(i?8:2)/l,g=(i?8:2)/l,p=1/0;function b(t,e){if(t.isNode()){if(a)return;a=t,u.push(t)}if(t.isEdge()&&(null==e||e<p))if(r){if(r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value&&r.pstyle("z-compound-depth").value===t.pstyle("z-compound-depth").value)for(var n=0;n<u.length;n++)if(u[n].isEdge()){u[n]=t,r=t,p=null!=e?e:p;break}}else u.push(t),r=t,p=null!=e?e:p}function w(n){var i=n.outerWidth()+2*d,r=n.outerHeight()+2*d,a=i/2,c=r/2,u=n.position();if(u.x-a<=t&&t<=u.x+a&&u.y-c<=e&&e<=u.y+c&&s.nodeShapes[o.getNodeShape(n)].checkPoint(t,e,0,i,r,u.x,u.y))return b(n,0),!0}function y(n){var i,r=n._private,a=r.rscratch,c=n.pstyle("width").pfValue,l=n.pstyle("arrow-scale").value,d=c/2+f,g=d*d,p=2*d,y=r.source,m=r.target;if("segments"===a.edgeType||"straight"===a.edgeType||"haystack"===a.edgeType){for(var v=a.allpts,x=0;x+3<v.length;x+=2)if(He(t,e,v[x],v[x+1],v[x+2],v[x+3],p)&&g>(i=Ye(t,e,v[x],v[x+1],v[x+2],v[x+3])))return b(n,i),!0}else if("bezier"===a.edgeType||"multibezier"===a.edgeType||"self"===a.edgeType||"compound"===a.edgeType)for(v=a.allpts,x=0;x+5<a.allpts.length;x+=4)if(Ze(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5],p)&&g>(i=Ue(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5])))return b(n,i),!0;y=y||r.source,m=m||r.target;var k=o.getArrowWidth(c,l),_=[{name:"source",x:a.arrowStartX,y:a.arrowStartY,angle:a.srcArrowAngle},{name:"target",x:a.arrowEndX,y:a.arrowEndY,angle:a.tgtArrowAngle},{name:"mid-source",x:a.midX,y:a.midY,angle:a.midsrcArrowAngle},{name:"mid-target",x:a.midX,y:a.midY,angle:a.midtgtArrowAngle}];for(x=0;x<_.length;x++){var E=_[x],T=s.arrowShapes[n.pstyle(E.name+"-arrow-shape").value],C=n.pstyle("width").pfValue;if(T.roughCollide(t,e,k,E.angle,{x:E.x,y:E.y},C,f)&&T.collide(t,e,k,E.angle,{x:E.x,y:E.y},C,f))return b(n),!0}h&&u.length>0&&(w(y),w(m))}function m(t,e,n){return Jt(t,e,n)}function v(n,i){var r,a=n._private,o=g;r=i?i+"-":"",n.boundingBox();var s=a.labelBounds[i||"main"],c=n.pstyle(r+"label").value;if("yes"===n.pstyle("text-events").strValue&&c){var u=m(a.rscratch,"labelX",i),l=m(a.rscratch,"labelY",i),h=m(a.rscratch,"labelAngle",i),f=n.pstyle(r+"text-margin-x").pfValue,d=n.pstyle(r+"text-margin-y").pfValue,p=s.x1-o-f,w=s.x2+o-f,y=s.y1-o-d,v=s.y2+o-d;if(h){var x=Math.cos(h),k=Math.sin(h),_=function(t,e){return{x:(t-=u)*x-(e-=l)*k+u,y:t*k+e*x+l}},E=_(p,y),T=_(p,v),C=_(w,y),S=_(w,v),A=[E.x+f,E.y+d,C.x+f,C.y+d,S.x+f,S.y+d,T.x+f,T.y+d];if(Ge(t,e,A))return b(n),!0}else if(Re(s,t,e))return b(n),!0}}n&&(c=c.interactive);for(var x=c.length-1;x>=0;x--){var k=c[x];k.isNode()?w(k)||v(k):y(k)||v(k)||v(k,"source")||v(k,"target")}return u},getAllInBox:function(t,e,n,i){for(var r=this.getCachedZSortedEles().interactive,a=[],o=Math.min(t,n),s=Math.max(t,n),c=Math.min(e,i),u=Math.max(e,i),l=Ne({x1:t=o,y1:e=c,x2:n=s,y2:i=u}),h=0;h<r.length;h++){var f=r[h];if(f.isNode()){var d=f,g=d.boundingBox({includeNodes:!0,includeEdges:!1,includeLabels:!1});je(l,g)&&!ze(g,l)&&a.push(d)}else{var p=f,b=p._private,w=b.rscratch;if(null!=w.startX&&null!=w.startY&&!Re(l,w.startX,w.startY))continue;if(null!=w.endX&&null!=w.endY&&!Re(l,w.endX,w.endY))continue;if("bezier"===w.edgeType||"multibezier"===w.edgeType||"self"===w.edgeType||"compound"===w.edgeType||"segments"===w.edgeType||"haystack"===w.edgeType){for(var y=b.rstyle.bezierPts||b.rstyle.linePts||b.rstyle.haystackPts,m=!0,v=0;v<y.length;v++)if(x=l,k=y[v],!Re(x,k.x,k.y)){m=!1;break}m&&a.push(p)}else"haystack"!==w.edgeType&&"straight"!==w.edgeType||a.push(p)}}var x,k;return a}},zc={calculateArrowAngles:function(t){var e,n,i,r,a,o,s=t._private.rscratch,c="haystack"===s.edgeType,u="bezier"===s.edgeType,l="multibezier"===s.edgeType,h="segments"===s.edgeType,f="compound"===s.edgeType,d="self"===s.edgeType;if(c?(i=s.haystackPts[0],r=s.haystackPts[1],a=s.haystackPts[2],o=s.haystackPts[3]):(i=s.arrowStartX,r=s.arrowStartY,a=s.arrowEndX,o=s.arrowEndY),p=s.midX,b=s.midY,h)e=i-s.segpts[0],n=r-s.segpts[1];else if(l||f||d||u){var g=s.allpts;e=i-Le(g[0],g[2],g[4],.1),n=r-Le(g[1],g[3],g[5],.1)}else e=i-p,n=r-b;s.srcArrowAngle=Te(e,n);var p=s.midX,b=s.midY;if(c&&(p=(i+a)/2,b=(r+o)/2),e=a-i,n=o-r,h)if((g=s.allpts).length/2%2==0){var w=(y=g.length/2)-2;e=g[y]-g[w],n=g[y+1]-g[w+1]}else{w=(y=g.length/2-1)-2;var y,m=y+2;e=g[y]-g[w],n=g[y+1]-g[w+1]}else if(l||f||d){var v,x,k,_;g=s.allpts;if(s.ctrlpts.length/2%2==0){var E=2+(T=2+(C=g.length/2-1));v=Le(g[C],g[T],g[E],0),x=Le(g[C+1],g[T+1],g[E+1],0),k=Le(g[C],g[T],g[E],1e-4),_=Le(g[C+1],g[T+1],g[E+1],1e-4)}else{var T,C;E=2+(T=g.length/2-1),v=Le(g[C=T-2],g[T],g[E],.4999),x=Le(g[C+1],g[T+1],g[E+1],.4999),k=Le(g[C],g[T],g[E],.5),_=Le(g[C+1],g[T+1],g[E+1],.5)}e=k-v,n=_-x}if(s.midtgtArrowAngle=Te(e,n),s.midDispX=e,s.midDispY=n,e*=-1,n*=-1,h&&((g=s.allpts).length/2%2==0||(e=-(g[m=2+(y=g.length/2-1)]-g[y]),n=-(g[m+1]-g[y+1]))),s.midsrcArrowAngle=Te(e,n),h)e=a-s.segpts[s.segpts.length-2],n=o-s.segpts[s.segpts.length-1];else if(l||f||d||u){var S=(g=s.allpts).length;e=a-Le(g[S-6],g[S-4],g[S-2],.9),n=o-Le(g[S-5],g[S-3],g[S-1],.9)}else e=a-p,n=o-b;s.tgtArrowAngle=Te(e,n)}};zc.getArrowWidth=zc.getArrowHeight=function(t,e){var n=this.arrowWidthCache=this.arrowWidthCache||{},i=n[t+", "+e];return i||(i=Math.max(Math.pow(13.37*t,.9),29)*e,n[t+", "+e]=i,i)};var qc={};function Hc(t){var e=[];if(null!=t){for(var n=0;n<t.length;n+=2){var i=t[n],r=t[n+1];e.push({x:i,y:r})}return e}}qc.findHaystackPoints=function(t){for(var e=0;e<t.length;e++){var n=t[e],i=n._private,r=i.rscratch;if(!r.haystack){var a=2*Math.random()*Math.PI;r.source={x:Math.cos(a),y:Math.sin(a)},a=2*Math.random()*Math.PI,r.target={x:Math.cos(a),y:Math.sin(a)}}var o=i.source,s=i.target,c=o.position(),u=s.position(),l=o.width(),h=s.width(),f=o.height(),d=s.height(),g=n.pstyle("haystack-radius").value/2;r.haystackPts=r.allpts=[r.source.x*l*g+c.x,r.source.y*f*g+c.y,r.target.x*h*g+u.x,r.target.y*d*g+u.y],r.midX=(r.allpts[0]+r.allpts[2])/2,r.midY=(r.allpts[1]+r.allpts[3])/2,r.edgeType="haystack",r.haystack=!0,this.storeEdgeProjections(n),this.calculateArrowAngles(n),this.recalculateEdgeLabelProjections(n),this.calculateLabelAngles(n)}},qc.findSegmentsPoints=function(t,e){var n=t._private.rscratch,i=e.posPts,r=e.intersectionPts,a=e.vectorNormInverse,o=t.pstyle("edge-distances").value,s=t.pstyle("segment-weights"),c=t.pstyle("segment-distances"),u=Math.min(s.pfValue.length,c.pfValue.length);n.edgeType="segments",n.segpts=[];for(var l=0;l<u;l++){var h=s.pfValue[l],f=c.pfValue[l],d=1-h,g=h,p="node-position"===o?i:r,b={x:p.x1*d+p.x2*g,y:p.y1*d+p.y2*g};n.segpts.push(b.x+a.x*f,b.y+a.y*f)}},qc.findLoopPoints=function(t,e,n,i){var r=t._private.rscratch,a=e.dirCounts,o=e.srcPos,s=t.pstyle("control-point-distances"),c=s?s.pfValue[0]:void 0,u=t.pstyle("loop-direction").pfValue,l=t.pstyle("loop-sweep").pfValue,h=t.pstyle("control-point-step-size").pfValue;r.edgeType="self";var f=n,d=h;i&&(f=0,d=c);var g=u-Math.PI/2,p=g-l/2,b=g+l/2,w=String(u+"_"+l);f=void 0===a[w]?a[w]=0:++a[w],r.ctrlpts=[o.x+1.4*Math.cos(p)*d*(f/3+1),o.y+1.4*Math.sin(p)*d*(f/3+1),o.x+1.4*Math.cos(b)*d*(f/3+1),o.y+1.4*Math.sin(b)*d*(f/3+1)]},qc.findCompoundLoopPoints=function(t,e,n,i){var r=t._private.rscratch;r.edgeType="compound";var a=e.srcPos,o=e.tgtPos,s=e.srcW,c=e.srcH,u=e.tgtW,l=e.tgtH,h=t.pstyle("control-point-step-size").pfValue,f=t.pstyle("control-point-distances"),d=f?f.pfValue[0]:void 0,g=n,p=h;i&&(g=0,p=d);var b={x:a.x-s/2,y:a.y-c/2},w={x:o.x-u/2,y:o.y-l/2},y={x:Math.min(b.x,w.x),y:Math.min(b.y,w.y)},m=Math.max(.5,Math.log(.01*s)),v=Math.max(.5,Math.log(.01*u));r.ctrlpts=[y.x,y.y-(1+Math.pow(50,1.12)/100)*p*(g/3+1)*m,y.x-(1+Math.pow(50,1.12)/100)*p*(g/3+1)*v,y.y]},qc.findStraightEdgePoints=function(t){t._private.rscratch.edgeType="straight"},qc.findBezierPoints=function(t,e,n,i,r){var a=t._private.rscratch,o=e.vectorNormInverse,s=e.posPts,c=e.intersectionPts,u=t.pstyle("edge-distances").value,l=t.pstyle("control-point-step-size").pfValue,h=t.pstyle("control-point-distances"),f=t.pstyle("control-point-weights"),d=h&&f?Math.min(h.value.length,f.value.length):1,g=h?h.pfValue[0]:void 0,p=f.value[0],b=i;a.edgeType=b?"multibezier":"bezier",a.ctrlpts=[];for(var w=0;w<d;w++){var y,m=(.5-e.eles.length/2+n)*l*(r?-1:1),v=Se(m);b&&(g=h?h.pfValue[w]:l,p=f.value[w]);var x=void 0!==(y=i?g:void 0!==g?v*g:void 0)?y:m,k=1-p,_=p,E="node-position"===u?s:c,T={x:E.x1*k+E.x2*_,y:E.y1*k+E.y2*_};a.ctrlpts.push(T.x+o.x*x,T.y+o.y*x)}},qc.findTaxiPoints=function(t,e){var n=t._private.rscratch;n.edgeType="segments";var i="vertical",r="horizontal",a="leftward",o="rightward",s="downward",c="upward",u=e.posPts,l=e.srcW,h=e.srcH,f=e.tgtW,d=e.tgtH,g="node-position"!==t.pstyle("edge-distances").value,p=t.pstyle("taxi-direction").value,b=p,w=t.pstyle("taxi-turn"),y="%"===w.units,m=w.pfValue,v=m<0,x=t.pstyle("taxi-turn-min-distance").pfValue,k=g?(l+f)/2:0,_=g?(h+d)/2:0,E=u.x2-u.x1,T=u.y2-u.y1,C=function(t,e){return t>0?Math.max(t-e,0):Math.min(t+e,0)},S=C(E,k),A=C(T,_),M=!1;"auto"===b?p=Math.abs(S)>Math.abs(A)?r:i:b===c||b===s?(p=i,M=!0):b!==a&&b!==o||(p=r,M=!0);var I,L=p===i,O=L?A:S,D=L?T:E,N=Se(D),P=!1;M&&(y||v)||!(b===s&&D<0||b===c&&D>0||b===a&&D>0||b===o&&D<0)||(O=(N*=-1)*Math.abs(O),P=!0);var B=function(t){return Math.abs(t)<x||Math.abs(t)>=Math.abs(O)},F=B(I=y?(m<0?1+m:m)*O:(m<0?O:0)+m*N),$=B(Math.abs(O)-Math.abs(I));if(!F&&!$||P)if(L){var j=u.y1+I+(g?h/2*N:0),R=u.x1,z=u.x2;n.segpts=[R,j,z,j]}else{var q=u.x1+I+(g?l/2*N:0),H=u.y1,Z=u.y2;n.segpts=[q,H,q,Z]}else if(L){var U=Math.abs(D)<=h/2,Y=Math.abs(E)<=f/2;if(U){var G=(u.x1+u.x2)/2,K=u.y1,W=u.y2;n.segpts=[G,K,G,W]}else if(Y){var X=(u.y1+u.y2)/2,V=u.x1,Q=u.x2;n.segpts=[V,X,Q,X]}else n.segpts=[u.x1,u.y2]}else{var J=Math.abs(D)<=l/2,tt=Math.abs(T)<=d/2;if(J){var et=(u.y1+u.y2)/2,nt=u.x1,it=u.x2;n.segpts=[nt,et,it,et]}else if(tt){var rt=(u.x1+u.x2)/2,at=u.y1,ot=u.y2;n.segpts=[rt,at,rt,ot]}else n.segpts=[u.x2,u.y1]}},qc.tryToCorrectInvalidPoints=function(t,e){var n=t._private.rscratch;if("bezier"===n.edgeType){var i=e.srcPos,r=e.tgtPos,a=e.srcW,o=e.srcH,s=e.tgtW,c=e.tgtH,u=e.srcShape,l=e.tgtShape,h=!m(n.startX)||!m(n.startY),f=!m(n.arrowStartX)||!m(n.arrowStartY),d=!m(n.endX)||!m(n.endY),g=!m(n.arrowEndX)||!m(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=Ae({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.startX,y:n.startY}),w=b<p,y=Ae({x:n.ctrlpts[0],y:n.ctrlpts[1]},{x:n.endX,y:n.endY}),v=y<p,x=!1;if(h||f||w){x=!0;var k={x:n.ctrlpts[0]-i.x,y:n.ctrlpts[1]-i.y},_=Math.sqrt(k.x*k.x+k.y*k.y),E={x:k.x/_,y:k.y/_},T=Math.max(a,o),C={x:n.ctrlpts[0]+2*E.x*T,y:n.ctrlpts[1]+2*E.y*T},S=u.intersectLine(i.x,i.y,a,o,C.x,C.y,0);w?(n.ctrlpts[0]=n.ctrlpts[0]+E.x*(p-b),n.ctrlpts[1]=n.ctrlpts[1]+E.y*(p-b)):(n.ctrlpts[0]=S[0]+E.x*p,n.ctrlpts[1]=S[1]+E.y*p)}if(d||g||v){x=!0;var A={x:n.ctrlpts[0]-r.x,y:n.ctrlpts[1]-r.y},M=Math.sqrt(A.x*A.x+A.y*A.y),I={x:A.x/M,y:A.y/M},L=Math.max(a,o),O={x:n.ctrlpts[0]+2*I.x*L,y:n.ctrlpts[1]+2*I.y*L},D=l.intersectLine(r.x,r.y,s,c,O.x,O.y,0);v?(n.ctrlpts[0]=n.ctrlpts[0]+I.x*(p-y),n.ctrlpts[1]=n.ctrlpts[1]+I.y*(p-y)):(n.ctrlpts[0]=D[0]+I.x*p,n.ctrlpts[1]=D[1]+I.y*p)}x&&this.findEndpoints(t)}},qc.storeAllpts=function(t){var e=t._private.rscratch;if("multibezier"===e.edgeType||"bezier"===e.edgeType||"self"===e.edgeType||"compound"===e.edgeType){e.allpts=[],e.allpts.push(e.startX,e.startY);for(var n=0;n+1<e.ctrlpts.length;n+=2)e.allpts.push(e.ctrlpts[n],e.ctrlpts[n+1]),n+3<e.ctrlpts.length&&e.allpts.push((e.ctrlpts[n]+e.ctrlpts[n+2])/2,(e.ctrlpts[n+1]+e.ctrlpts[n+3])/2);var i;e.allpts.push(e.endX,e.endY),e.ctrlpts.length/2%2==0?(i=e.allpts.length/2-1,e.midX=e.allpts[i],e.midY=e.allpts[i+1]):(i=e.allpts.length/2-3,.5,e.midX=Le(e.allpts[i],e.allpts[i+2],e.allpts[i+4],.5),e.midY=Le(e.allpts[i+1],e.allpts[i+3],e.allpts[i+5],.5))}else if("straight"===e.edgeType)e.allpts=[e.startX,e.startY,e.endX,e.endY],e.midX=(e.startX+e.endX+e.arrowStartX+e.arrowEndX)/4,e.midY=(e.startY+e.endY+e.arrowStartY+e.arrowEndY)/4;else if("segments"===e.edgeType)if(e.allpts=[],e.allpts.push(e.startX,e.startY),e.allpts.push.apply(e.allpts,e.segpts),e.allpts.push(e.endX,e.endY),e.segpts.length%4==0){var r=e.segpts.length/2,a=r-2;e.midX=(e.segpts[a]+e.segpts[r])/2,e.midY=(e.segpts[a+1]+e.segpts[r+1])/2}else{var o=e.segpts.length/2-1;e.midX=e.segpts[o],e.midY=e.segpts[o+1]}},qc.checkForInvalidEdgeWarning=function(t){var e=t[0]._private.rscratch;e.nodesOverlap||m(e.startX)&&m(e.startY)&&m(e.endX)&&m(e.endY)?e.loggedErr=!1:e.loggedErr||(e.loggedErr=!0,Ut("Edge `"+t.id()+"` has invalid endpoints and so it is impossible to draw. Adjust your edge style (e.g. control points) accordingly or use an alternative edge type. This is expected behaviour when the source node and the target node overlap."))},qc.findEdgeControlPoints=function(t){var e=this;if(t&&0!==t.length){for(var n=this,i=n.cy.hasCompoundNodes(),r={map:new ee,get:function(t){var e=this.map.get(t[0]);return null!=e?e.get(t[1]):null},set:function(t,e){var n=this.map.get(t[0]);null==n&&(n=new ee,this.map.set(t[0],n)),n.set(t[1],e)}},a=[],o=[],s=0;s<t.length;s++){var c=t[s],u=c._private,l=c.pstyle("curve-style").value;if(!c.removed()&&c.takesUpSpace())if("haystack"!==l){var h="unbundled-bezier"===l||"segments"===l||"straight"===l||"straight-triangle"===l||"taxi"===l,f="unbundled-bezier"===l||"bezier"===l,d=u.source,g=u.target,p=[d.poolIndex(),g.poolIndex()].sort(),b=r.get(p);null==b&&(b={eles:[]},r.set(p,b),a.push(p)),b.eles.push(c),h&&(b.hasUnbundled=!0),f&&(b.hasBezier=!0)}else o.push(c)}for(var w=function(t){var o=a[t],s=r.get(o),c=void 0;if(!s.hasUnbundled){var u=s.eles[0].parallelEdges().filter((function(t){return t.isBundledBezier()}));Qt(s.eles),u.forEach((function(t){return s.eles.push(t)})),s.eles.sort((function(t,e){return t.poolIndex()-e.poolIndex()}))}var l=s.eles[0],h=l.source(),f=l.target();if(h.poolIndex()>f.poolIndex()){var d=h;h=f,f=d}var g=s.srcPos=h.position(),p=s.tgtPos=f.position(),b=s.srcW=h.outerWidth(),w=s.srcH=h.outerHeight(),y=s.tgtW=f.outerWidth(),v=s.tgtH=f.outerHeight(),x=s.srcShape=n.nodeShapes[e.getNodeShape(h)],k=s.tgtShape=n.nodeShapes[e.getNodeShape(f)];s.dirCounts={north:0,west:0,south:0,east:0,northwest:0,southwest:0,northeast:0,southeast:0};for(var _=0;_<s.eles.length;_++){var E=s.eles[_],T=E[0]._private.rscratch,C=E.pstyle("curve-style").value,S="unbundled-bezier"===C||"segments"===C||"taxi"===C,A=!h.same(E.source());if(!s.calculatedIntersection&&h!==f&&(s.hasBezier||s.hasUnbundled)){s.calculatedIntersection=!0;var M=x.intersectLine(g.x,g.y,b,w,p.x,p.y,0),I=s.srcIntn=M,L=k.intersectLine(p.x,p.y,y,v,g.x,g.y,0),O=s.tgtIntn=L,D=s.intersectionPts={x1:M[0],x2:L[0],y1:M[1],y2:L[1]},N=s.posPts={x1:g.x,x2:p.x,y1:g.y,y2:p.y},P=L[1]-M[1],B=L[0]-M[0],F=Math.sqrt(B*B+P*P),$=s.vector={x:B,y:P},j=s.vectorNorm={x:$.x/F,y:$.y/F},R={x:-j.y,y:j.x};s.nodesOverlap=!m(F)||k.checkPoint(M[0],M[1],0,y,v,p.x,p.y)||x.checkPoint(L[0],L[1],0,b,w,g.x,g.y),s.vectorNormInverse=R,c={nodesOverlap:s.nodesOverlap,dirCounts:s.dirCounts,calculatedIntersection:!0,hasBezier:s.hasBezier,hasUnbundled:s.hasUnbundled,eles:s.eles,srcPos:p,tgtPos:g,srcW:y,srcH:v,tgtW:b,tgtH:w,srcIntn:O,tgtIntn:I,srcShape:k,tgtShape:x,posPts:{x1:N.x2,y1:N.y2,x2:N.x1,y2:N.y1},intersectionPts:{x1:D.x2,y1:D.y2,x2:D.x1,y2:D.y1},vector:{x:-$.x,y:-$.y},vectorNorm:{x:-j.x,y:-j.y},vectorNormInverse:{x:-R.x,y:-R.y}}}var z=A?c:s;T.nodesOverlap=z.nodesOverlap,T.srcIntn=z.srcIntn,T.tgtIntn=z.tgtIntn,i&&(h.isParent()||h.isChild()||f.isParent()||f.isChild())&&(h.parents().anySame(f)||f.parents().anySame(h)||h.same(f)&&h.isParent())?e.findCompoundLoopPoints(E,z,_,S):h===f?e.findLoopPoints(E,z,_,S):"segments"===C?e.findSegmentsPoints(E,z):"taxi"===C?e.findTaxiPoints(E,z):"straight"===C||!S&&s.eles.length%2==1&&_===Math.floor(s.eles.length/2)?e.findStraightEdgePoints(E):e.findBezierPoints(E,z,_,S,A),e.findEndpoints(E),e.tryToCorrectInvalidPoints(E,z),e.checkForInvalidEdgeWarning(E),e.storeAllpts(E),e.storeEdgeProjections(E),e.calculateArrowAngles(E),e.recalculateEdgeLabelProjections(E),e.calculateLabelAngles(E)}},y=0;y<a.length;y++)w(y);this.findHaystackPoints(o)}},qc.getSegmentPoints=function(t){var e=t[0]._private.rscratch;if("segments"===e.edgeType)return this.recalculateRenderedStyle(t),Hc(e.segpts)},qc.getControlPoints=function(t){var e=t[0]._private.rscratch,n=e.edgeType;if("bezier"===n||"multibezier"===n||"self"===n||"compound"===n)return this.recalculateRenderedStyle(t),Hc(e.ctrlpts)},qc.getEdgeMidpoint=function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),{x:e.midX,y:e.midY}};var Zc={manualEndptToPx:function(t,e){var n=t.position(),i=t.outerWidth(),r=t.outerHeight();if(2===e.value.length){var a=[e.pfValue[0],e.pfValue[1]];return"%"===e.units[0]&&(a[0]=a[0]*i),"%"===e.units[1]&&(a[1]=a[1]*r),a[0]+=n.x,a[1]+=n.y,a}var o=e.pfValue[0];o=-Math.PI/2+o;var s=2*Math.max(i,r),c=[n.x+Math.cos(o)*s,n.y+Math.sin(o)*s];return this.nodeShapes[this.getNodeShape(t)].intersectLine(n.x,n.y,i,r,c[0],c[1],0)},findEndpoints:function(t){var e,n,i,r,a,o=this,s=t.source()[0],c=t.target()[0],u=s.position(),l=c.position(),h=t.pstyle("target-arrow-shape").value,f=t.pstyle("source-arrow-shape").value,d=t.pstyle("target-distance-from-node").pfValue,g=t.pstyle("source-distance-from-node").pfValue,p=t.pstyle("curve-style").value,b=t._private.rscratch,w=b.edgeType,y="self"===w||"compound"===w,v="bezier"===w||"multibezier"===w||y,x="bezier"!==w,k="straight"===w||"segments"===w,_="segments"===w,E=v||x||k,T=y||"taxi"===p,C=t.pstyle("source-endpoint"),S=T?"outside-to-node":C.value,A=t.pstyle("target-endpoint"),M=T?"outside-to-node":A.value;if(b.srcManEndpt=C,b.tgtManEndpt=A,v){var I=[b.ctrlpts[0],b.ctrlpts[1]];n=x?[b.ctrlpts[b.ctrlpts.length-2],b.ctrlpts[b.ctrlpts.length-1]]:I,i=I}else if(k){var L=_?b.segpts.slice(0,2):[l.x,l.y];n=_?b.segpts.slice(b.segpts.length-2):[u.x,u.y],i=L}if("inside-to-node"===M)e=[l.x,l.y];else if(A.units)e=this.manualEndptToPx(c,A);else if("outside-to-line"===M)e=b.tgtIntn;else if("outside-to-node"===M||"outside-to-node-or-label"===M?r=n:"outside-to-line"!==M&&"outside-to-line-or-label"!==M||(r=[u.x,u.y]),e=o.nodeShapes[this.getNodeShape(c)].intersectLine(l.x,l.y,c.outerWidth(),c.outerHeight(),r[0],r[1],0),"outside-to-node-or-label"===M||"outside-to-line-or-label"===M){var O=c._private.rscratch,D=O.labelWidth,N=O.labelHeight,P=O.labelX,B=O.labelY,F=D/2,$=N/2,j=c.pstyle("text-valign").value;"top"===j?B-=$:"bottom"===j&&(B+=$);var R=c.pstyle("text-halign").value;"left"===R?P-=F:"right"===R&&(P+=F);var z=en(r[0],r[1],[P-F,B-$,P+F,B-$,P+F,B+$,P-F,B+$],l.x,l.y);if(z.length>0){var q=u,H=Me(q,Ee(e)),Z=Me(q,Ee(z)),U=H;Z<H&&(e=z,U=Z),z.length>2&&Me(q,{x:z[2],y:z[3]})<U&&(e=[z[2],z[3]])}}var Y=nn(e,n,o.arrowShapes[h].spacing(t)+d),G=nn(e,n,o.arrowShapes[h].gap(t)+d);if(b.endX=G[0],b.endY=G[1],b.arrowEndX=Y[0],b.arrowEndY=Y[1],"inside-to-node"===S)e=[u.x,u.y];else if(C.units)e=this.manualEndptToPx(s,C);else if("outside-to-line"===S)e=b.srcIntn;else if("outside-to-node"===S||"outside-to-node-or-label"===S?a=i:"outside-to-line"!==S&&"outside-to-line-or-label"!==S||(a=[l.x,l.y]),e=o.nodeShapes[this.getNodeShape(s)].intersectLine(u.x,u.y,s.outerWidth(),s.outerHeight(),a[0],a[1],0),"outside-to-node-or-label"===S||"outside-to-line-or-label"===S){var K=s._private.rscratch,W=K.labelWidth,X=K.labelHeight,V=K.labelX,Q=K.labelY,J=W/2,tt=X/2,et=s.pstyle("text-valign").value;"top"===et?Q-=tt:"bottom"===et&&(Q+=tt);var nt=s.pstyle("text-halign").value;"left"===nt?V-=J:"right"===nt&&(V+=J);var it=en(a[0],a[1],[V-J,Q-tt,V+J,Q-tt,V+J,Q+tt,V-J,Q+tt],u.x,u.y);if(it.length>0){var rt=l,at=Me(rt,Ee(e)),ot=Me(rt,Ee(it)),st=at;ot<at&&(e=[it[0],it[1]],st=ot),it.length>2&&Me(rt,{x:it[2],y:it[3]})<st&&(e=[it[2],it[3]])}}var ct=nn(e,i,o.arrowShapes[f].spacing(t)+g),ut=nn(e,i,o.arrowShapes[f].gap(t)+g);b.startX=ut[0],b.startY=ut[1],b.arrowStartX=ct[0],b.arrowStartY=ct[1],E&&(m(b.startX)&&m(b.startY)&&m(b.endX)&&m(b.endY)?b.badLine=!1:b.badLine=!0)},getSourceEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[0],y:e.haystackPts[1]}:{x:e.arrowStartX,y:e.arrowStartY}},getTargetEndpoint:function(t){var e=t[0]._private.rscratch;return this.recalculateRenderedStyle(t),"haystack"===e.edgeType?{x:e.haystackPts[2],y:e.haystackPts[3]}:{x:e.arrowEndX,y:e.arrowEndY}}},Uc={};function Yc(t,e,n){for(var i=function(t,e,n,i){return Le(t,e,n,i)},r=e._private.rstyle.bezierPts,a=0;a<t.bezierProjPcts.length;a++){var o=t.bezierProjPcts[a];r.push({x:i(n[0],n[2],n[4],o),y:i(n[1],n[3],n[5],o)})}}Uc.storeEdgeProjections=function(t){var e=t._private,n=e.rscratch,i=n.edgeType;if(e.rstyle.bezierPts=null,e.rstyle.linePts=null,e.rstyle.haystackPts=null,"multibezier"===i||"bezier"===i||"self"===i||"compound"===i){e.rstyle.bezierPts=[];for(var r=0;r+5<n.allpts.length;r+=4)Yc(this,t,n.allpts.slice(r,r+6))}else if("segments"===i){var a=e.rstyle.linePts=[];for(r=0;r+1<n.allpts.length;r+=2)a.push({x:n.allpts[r],y:n.allpts[r+1]})}else if("haystack"===i){var o=n.haystackPts;e.rstyle.haystackPts=[{x:o[0],y:o[1]},{x:o[2],y:o[3]}]}e.rstyle.arrowWidth=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth},Uc.recalculateEdgeProjections=function(t){this.findEdgeControlPoints(t)};var Gc={recalculateNodeLabelProjection:function(t){var e=t.pstyle("label").strValue;if(!C(e)){var n,i,r=t._private,a=t.width(),o=t.height(),s=t.padding(),c=t.position(),u=t.pstyle("text-halign").strValue,l=t.pstyle("text-valign").strValue,h=r.rscratch,f=r.rstyle;switch(u){case"left":n=c.x-a/2-s;break;case"right":n=c.x+a/2+s;break;default:n=c.x}switch(l){case"top":i=c.y-o/2-s;break;case"bottom":i=c.y+o/2+s;break;default:i=c.y}h.labelX=n,h.labelY=i,f.labelX=n,f.labelY=i,this.calculateLabelAngles(t),this.applyLabelDimensions(t)}}},Kc=function(t,e){var n=Math.atan(e/t);return 0===t&&n<0&&(n*=-1),n},Wc=function(t,e){var n=e.x-t.x,i=e.y-t.y;return Kc(n,i)};Gc.recalculateEdgeLabelProjections=function(t){var e,n=t._private,i=n.rscratch,r=this,a={mid:t.pstyle("label").strValue,source:t.pstyle("source-label").strValue,target:t.pstyle("target-label").strValue};if(a.mid||a.source||a.target){e={x:i.midX,y:i.midY};var o=function(t,e,i){te(n.rscratch,t,e,i),te(n.rstyle,t,e,i)};o("labelX",null,e.x),o("labelY",null,e.y);var s=Kc(i.midDispX,i.midDispY);o("labelAutoAngle",null,s);var c=function t(){if(t.cache)return t.cache;for(var e=[],a=0;a+5<i.allpts.length;a+=4){var o={x:i.allpts[a],y:i.allpts[a+1]},s={x:i.allpts[a+2],y:i.allpts[a+3]},c={x:i.allpts[a+4],y:i.allpts[a+5]};e.push({p0:o,p1:s,p2:c,startDist:0,length:0,segments:[]})}var u=n.rstyle.bezierPts,l=r.bezierProjPcts.length;function h(t,e,n,i,r){var a=Ae(e,n),o=t.segments[t.segments.length-1],s={p0:e,p1:n,t0:i,t1:r,startDist:o?o.startDist+o.length:0,length:a};t.segments.push(s),t.length+=a}for(var f=0;f<e.length;f++){var d=e[f],g=e[f-1];g&&(d.startDist=g.startDist+g.length),h(d,d.p0,u[f*l],0,r.bezierProjPcts[0]);for(var p=0;p<l-1;p++)h(d,u[f*l+p],u[f*l+p+1],r.bezierProjPcts[p],r.bezierProjPcts[p+1]);h(d,u[f*l+l-1],d.p2,r.bezierProjPcts[l-1],1)}return t.cache=e},u=function(n){var r,s="source"===n;if(a[n]){var u=t.pstyle(n+"-text-offset").pfValue;switch(i.edgeType){case"self":case"compound":case"bezier":case"multibezier":for(var l,h=c(),f=0,d=0,g=0;g<h.length;g++){for(var p=h[s?g:h.length-1-g],b=0;b<p.segments.length;b++){var w=p.segments[s?b:p.segments.length-1-b],y=g===h.length-1&&b===p.segments.length-1;if(f=d,(d+=w.length)>=u||y){l={cp:p,segment:w};break}}if(l)break}var m=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=De(0,_,1),e=Oe(m.p0,m.p1,m.p2,_),r=function(t,e,n,i){var r=De(0,i-.001,1),a=De(0,i+.001,1),o=Oe(t,e,n,r),s=Oe(t,e,n,a);return Wc(o,s)}(m.p0,m.p1,m.p2,_);break;case"straight":case"segments":case"haystack":for(var E,T,C,S,A=0,M=i.allpts.length,I=0;I+3<M&&(s?(C={x:i.allpts[I],y:i.allpts[I+1]},S={x:i.allpts[I+2],y:i.allpts[I+3]}):(C={x:i.allpts[M-2-I],y:i.allpts[M-1-I]},S={x:i.allpts[M-4-I],y:i.allpts[M-3-I]}),T=A,!((A+=E=Ae(C,S))>=u));I+=2);var L=(u-T)/E;L=De(0,L,1),e=function(t,e,n,i){var r=e.x-t.x,a=e.y-t.y,o=Ae(t,e),s=r/o,c=a/o;return n=null==n?0:n,i=null!=i?i:n*o,{x:t.x+s*i,y:t.y+c*i}}(C,S,L),r=Wc(C,S)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(t)}},Gc.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},Gc.applyPrefixedLabelDimensions=function(t,e){var n=t._private,i=this.getLabelText(t,e),r=this.calculateLabelDimensions(t,i),a=t.pstyle("line-height").pfValue,o=t.pstyle("text-wrap").strValue,s=Jt(n.rscratch,"labelWrapCachedLines",e)||[],c="wrap"!==o?1:Math.max(s.length,1),u=r.height/c,l=u*a,h=r.width,f=r.height+(c-1)*(a-1)*u;te(n.rstyle,"labelWidth",e,h),te(n.rscratch,"labelWidth",e,h),te(n.rstyle,"labelHeight",e,f),te(n.rscratch,"labelHeight",e,f),te(n.rscratch,"labelLineHeight",e,l)},Gc.getLabelText=function(t,e){var n=t._private,i=e?e+"-":"",r=t.pstyle(i+"label").strValue,a=t.pstyle("text-transform").value,o=function(t,i){return i?(te(n.rscratch,t,e,i),i):Jt(n.rscratch,t,e)};if(!r)return"";"none"==a||("uppercase"==a?r=r.toUpperCase():"lowercase"==a&&(r=r.toLowerCase()));var s=t.pstyle("text-wrap").value;if("wrap"===s){var c=o("labelKey");if(null!=c&&o("labelWrapKey")===c)return o("labelWrapCachedText");for(var u=r.split("\n"),l=t.pstyle("text-max-width").pfValue,h="anywhere"===t.pstyle("text-overflow-wrap").value,f=[],d=/[\s\u200b]+/,g=h?"":" ",p=0;p<u.length;p++){var b=u[p],w=this.calculateLabelDimensions(t,b).width;if(h){var y=b.split("").join("");b=y}if(w>l){for(var m=b.split(d),v="",x=0;x<m.length;x++){var k=m[x],_=0===v.length?k:v+g+k;this.calculateLabelDimensions(t,_).width<=l?v+=k+g:(v&&f.push(v),v=k+g)}v.match(/^[\s\u200b]+$/)||f.push(v)}else f.push(b)}o("labelWrapCachedLines",f),r=o("labelWrapCachedText",f.join("\n")),o("labelWrapKey",c)}else if("ellipsis"===s){var E=t.pstyle("text-max-width").pfValue,T="",C=!1;if(this.calculateLabelDimensions(t,r).width<E)return r;for(var S=0;S<r.length&&!(this.calculateLabelDimensions(t,T+r[S]+"…").width>E);S++)T+=r[S],S===r.length-1&&(C=!0);return C||(T+="…"),T}return r},Gc.getLabelJustification=function(t){var e=t.pstyle("text-justification").strValue,n=t.pstyle("text-halign").strValue;if("auto"!==e)return e;if(!t.isNode())return"center";switch(n){case"left":return"right";case"right":return"left";default:return"center"}},Gc.calculateLabelDimensions=function(t,e){var n=Ot(e,t._private.labelDimsKey),i=this.labelDimCache||(this.labelDimCache=[]),r=i[n];if(null!=r)return r;var a=t.pstyle("font-style").strValue,o=t.pstyle("font-size").pfValue,s=t.pstyle("font-family").strValue,c=t.pstyle("font-weight").strValue,u=this.labelCalcCanvas,l=this.labelCalcCanvasContext;if(!u){u=this.labelCalcCanvas=document.createElement("canvas"),l=this.labelCalcCanvasContext=u.getContext("2d");var h=u.style;h.position="absolute",h.left="-9999px",h.top="-9999px",h.zIndex="-1",h.visibility="hidden",h.pointerEvents="none"}l.font="".concat(a," ").concat(c," ").concat(o,"px ").concat(s);for(var f=0,d=0,g=e.split("\n"),p=0;p<g.length;p++){var b=g[p],w=l.measureText(b),y=Math.ceil(w.width),m=o;f=Math.max(y,f),d+=m}return f+=0,d+=0,i[n]={width:f,height:d}},Gc.calculateLabelAngle=function(t,e){var n=t._private.rscratch,i=t.isEdge(),r=e?e+"-":"",a=t.pstyle(r+"text-rotation"),o=a.strValue;return"none"===o?0:i&&"autorotate"===o?n.labelAutoAngle:"autorotate"===o?0:a.pfValue},Gc.calculateLabelAngles=function(t){var e=this,n=t.isEdge(),i=t._private.rscratch;i.labelAngle=e.calculateLabelAngle(t),n&&(i.sourceLabelAngle=e.calculateLabelAngle(t,"source"),i.targetLabelAngle=e.calculateLabelAngle(t,"target"))};var Xc={},Vc=!1;Xc.getNodeShape=function(t){var e=t.pstyle("shape").value;if("cutrectangle"===e&&(t.width()<28||t.height()<28))return Vc||(Ut("The `cutrectangle` node shape can not be used at small sizes so `rectangle` is used instead"),Vc=!0),"rectangle";if(t.isParent())return"rectangle"===e||"roundrectangle"===e||"round-rectangle"===e||"cutrectangle"===e||"cut-rectangle"===e||"barrel"===e?e:"rectangle";if("polygon"===e){var n=t.pstyle("shape-polygon-points").value;return this.nodeShapes.makePolygon(n).name}return e};var Qc={updateCachedGrabbedEles:function(){var t=this.cachedZSortedEles;if(t){t.drag=[],t.nondrag=[];for(var e=[],n=0;n<t.length;n++){var i=(r=t[n])._private.rscratch;r.grabbed()&&!r.isParent()?e.push(r):i.inDragLayer?t.drag.push(r):t.nondrag.push(r)}for(n=0;n<e.length;n++){var r=e[n];t.drag.push(r)}}},invalidateCachedZSortedEles:function(){this.cachedZSortedEles=null},getCachedZSortedEles:function(t){if(t||!this.cachedZSortedEles){var e=this.cy.mutableElements().toArray();e.sort(jo),e.interactive=e.filter((function(t){return t.interactive()})),this.cachedZSortedEles=e,this.updateCachedGrabbedEles()}else e=this.cachedZSortedEles;return e}},Jc={};[Rc,zc,qc,Zc,Uc,Gc,Xc,{registerCalculationListeners:function(){var t=this.cy,e=t.collection(),n=this,i=function(t){var n=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i<t.length;i++){var r=t[i]._private.rstyle;r.clean=!1,r.cleanConnected=!1}};n.binder(t).on("bounds.* dirty.*",(function(t){var e=t.target;i(e)})).on("style.* background.*",(function(t){var e=t.target;i(e,!1)}));var r=function(r){if(r){var a=n.onUpdateEleCalcsFns;e.cleanStyle();for(var o=0;o<e.length;o++){var s=e[o],c=s._private.rstyle;s.isNode()&&!c.cleanConnected&&(i(s.connectedEdges()),c.cleanConnected=!0)}if(a)for(var u=0;u<a.length;u++)(0,a[u])(r,e);n.recalculateRenderedStyle(e),e=t.collection()}};n.flushRenderedStyleQueue=function(){r(!0)},n.beforeRender(r,n.beforeRenderPriorities.eleCalcs)},onUpdateEleCalcs:function(t){(this.onUpdateEleCalcsFns=this.onUpdateEleCalcsFns||[]).push(t)},recalculateRenderedStyle:function(t,e){var n=function(t){return t._private.rstyle.cleanConnected},i=[],r=[];if(!this.destroyed){void 0===e&&(e=!0);for(var a=0;a<t.length;a++){var o=t[a],s=o._private,c=s.rstyle;!o.isEdge()||n(o.source())&&n(o.target())||(c.clean=!1),e&&c.clean||o.removed()||"none"!==o.pstyle("display").value&&("nodes"===s.group?r.push(o):i.push(o),c.clean=!0)}for(var u=0;u<r.length;u++){var l=r[u],h=l._private.rstyle,f=l.position();this.recalculateNodeLabelProjection(l),h.nodeX=f.x,h.nodeY=f.y,h.nodeW=l.pstyle("width").pfValue,h.nodeH=l.pstyle("height").pfValue}this.recalculateEdgeProjections(i);for(var d=0;d<i.length;d++){var g=i[d]._private,p=g.rstyle,b=g.rscratch;p.srcX=b.arrowStartX,p.srcY=b.arrowStartY,p.tgtX=b.arrowEndX,p.tgtY=b.arrowEndY,p.midX=b.midX,p.midY=b.midY,p.labelAngle=b.labelAngle,p.sourceLabelAngle=b.sourceLabelAngle,p.targetLabelAngle=b.targetLabelAngle}}}},Qc].forEach((function(t){j(Jc,t)}));var tu={getCachedImage:function(t,e,n){var i=this.imageCache=this.imageCache||{},r=i[t];if(r)return r.image.complete||r.image.addEventListener("load",n),r.image;var a=(r=i[t]=i[t]||{}).image=new Image;a.addEventListener("load",n),a.addEventListener("error",(function(){a.error=!0}));var o="data:";return t.substring(0,5).toLowerCase()===o||(e="null"===e?null:e,a.crossOrigin=e),a.src=t,a}},eu={registerBinding:function(t,e,n,i){var r=Array.prototype.slice.apply(arguments,[1]),a=this.binder(t);return a.on.apply(a,r)},binder:function(t){var e,n=this,i=n.cy.window(),r=t===i||t===i.document||t===i.document.body||(e=t,"undefined"!=typeof HTMLElement&&e instanceof HTMLElement);if(null==n.supportsPassiveEvents){var a=!1;try{var o=Object.defineProperty({},"passive",{get:function(){return a=!0,!0}});i.addEventListener("test",null,o)}catch(t){}n.supportsPassiveEvents=a}var s=function(e,i,a){var o=Array.prototype.slice.call(arguments);return r&&n.supportsPassiveEvents&&(o[2]={capture:null!=a&&a,passive:!1,once:!1}),n.bindings.push({target:t,args:o}),(t.addEventListener||t.on).apply(t,o),this};return{on:s,addEventListener:s,addListener:s,bind:s}},nodeIsDraggable:function(t){return t&&t.isNode()&&!t.locked()&&t.grabbable()},nodeIsGrabbable:function(t){return this.nodeIsDraggable(t)&&t.interactive()},load:function(){var t=this,e=t.cy.window(),n=function(t){return t.selected()},i=function(e,n,i,r){null==e&&(e=t.cy);for(var a=0;a<n.length;a++){var o=n[a];e.emit({originalEvent:i,type:o,position:r})}},r=function(t){return t.shiftKey||t.metaKey||t.ctrlKey},a=function(e,n){var i=!0;if(t.cy.hasCompoundNodes()&&e&&e.pannable()){for(var r=0;n&&r<n.length;r++)if((e=n[r]).isNode()&&e.isParent()&&!e.pannable()){i=!1;break}}else i=!0;return i},o=function(t){t[0]._private.rscratch.inDragLayer=!0},s=function(t){t[0]._private.rscratch.isGrabTarget=!0},c=function(t,e){var n=e.addToList;n.has(t)||!t.grabbable()||t.locked()||(n.merge(t),function(t){t[0]._private.grabbed=!0}(t))},u=function(e,n){n=n||{};var i=e.cy().hasCompoundNodes();n.inDragLayer&&(e.forEach(o),e.neighborhood().stdFilter((function(t){return!i||t.isEdge()})).forEach(o)),n.addToList&&e.forEach((function(t){c(t,n)})),function(t,e){if(t.cy().hasCompoundNodes()&&(null!=e.inDragLayer||null!=e.addToList)){var n=t.descendants();e.inDragLayer&&(n.forEach(o),n.connectedEdges().forEach(o)),e.addToList&&c(n,e)}}(e,n),f(e,{inDragLayer:n.inDragLayer}),t.updateCachedGrabbedEles()},l=u,h=function(e){e&&(t.getCachedZSortedEles().forEach((function(t){(function(t){t[0]._private.grabbed=!1})(t),function(t){t[0]._private.rscratch.inDragLayer=!1}(t),function(t){t[0]._private.rscratch.isGrabTarget=!1}(t)})),t.updateCachedGrabbedEles())},f=function(t,e){if((null!=e.inDragLayer||null!=e.addToList)&&t.cy().hasCompoundNodes()){var n=t.ancestors().orphans();if(!n.same(t)){var i=n.descendants().spawnSelf().merge(n).unmerge(t).unmerge(t.descendants()),r=i.connectedEdges();e.inDragLayer&&(r.forEach(o),i.forEach(o)),e.addToList&&i.forEach((function(t){c(t,e)}))}}},d=function(){null!=document.activeElement&&null!=document.activeElement.blur&&document.activeElement.blur()},g="undefined"!=typeof MutationObserver,p="undefined"!=typeof ResizeObserver;g?(t.removeObserver=new MutationObserver((function(e){for(var n=0;n<e.length;n++){var i=e[n].removedNodes;if(i)for(var r=0;r<i.length;r++)if(i[r]===t.container){t.destroy();break}}})),t.container.parentNode&&t.removeObserver.observe(t.container.parentNode,{childList:!0})):t.registerBinding(t.container,"DOMNodeRemoved",(function(e){t.destroy()}));var b=mt((function(){t.cy.resize()}),100);g&&(t.styleObserver=new MutationObserver(b),t.styleObserver.observe(t.container,{attributes:!0})),t.registerBinding(e,"resize",b),p&&(t.resizeObserver=new ResizeObserver(b),t.resizeObserver.observe(t.container));var w=function(){t.invalidateContainerClientCoordsCache()};(function(t,e){for(;null!=t;)e(t),t=t.parentNode})(t.container,(function(e){t.registerBinding(e,"transitionend",w),t.registerBinding(e,"animationend",w),t.registerBinding(e,"scroll",w)})),t.registerBinding(t.container,"contextmenu",(function(t){t.preventDefault()}));var y,v,x,k=function(e){for(var n=t.findContainerClientCoords(),i=n[0],r=n[1],a=n[2],o=n[3],s=e.touches?e.touches:[e],c=!1,u=0;u<s.length;u++){var l=s[u];if(i<=l.clientX&&l.clientX<=i+a&&r<=l.clientY&&l.clientY<=r+o){c=!0;break}}if(!c)return!1;for(var h=t.container,f=e.target.parentNode,d=!1;f;){if(f===h){d=!0;break}f=f.parentNode}return!!d};t.registerBinding(t.container,"mousedown",(function(e){if(k(e)){e.preventDefault(),d(),t.hoverData.capture=!0,t.hoverData.which=e.which;var n=t.cy,r=[e.clientX,e.clientY],a=t.projectIntoViewport(r[0],r[1]),o=t.selection,c=t.findNearestElements(a[0],a[1],!0,!1),h=c[0],f=t.dragData.possibleDragElements;t.hoverData.mdownPos=a,t.hoverData.mdownGPos=r;if(3==e.which){t.hoverData.cxtStarted=!0;var g={originalEvent:e,type:"cxttapstart",position:{x:a[0],y:a[1]}};h?(h.activate(),h.emit(g),t.hoverData.down=h):n.emit(g),t.hoverData.downTime=(new Date).getTime(),t.hoverData.cxtDragged=!1}else if(1==e.which){if(h&&h.activate(),null!=h&&t.nodeIsGrabbable(h)){var p=function(t){return{originalEvent:e,type:t,position:{x:a[0],y:a[1]}}};if(s(h),h.selected()){f=t.dragData.possibleDragElements=n.collection();var b=n.$((function(e){return e.isNode()&&e.selected()&&t.nodeIsGrabbable(e)}));u(b,{addToList:f}),h.emit(p("grabon")),b.forEach((function(t){t.emit(p("grab"))}))}else f=t.dragData.possibleDragElements=n.collection(),l(h,{addToList:f}),h.emit(p("grabon")).emit(p("grab"));t.redrawHint("eles",!0),t.redrawHint("drag",!0)}t.hoverData.down=h,t.hoverData.downs=c,t.hoverData.downTime=(new Date).getTime(),i(h,["mousedown","tapstart","vmousedown"],e,{x:a[0],y:a[1]}),null==h?(o[4]=1,t.data.bgActivePosistion={x:a[0],y:a[1]},t.redrawHint("select",!0),t.redraw()):h.pannable()&&(o[4]=1),t.hoverData.tapholdCancelled=!1,clearTimeout(t.hoverData.tapholdTimeout),t.hoverData.tapholdTimeout=setTimeout((function(){if(!t.hoverData.tapholdCancelled){var i=t.hoverData.down;i?i.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}}):n.emit({originalEvent:e,type:"taphold",position:{x:a[0],y:a[1]}})}}),t.tapholdDuration)}o[0]=o[2]=a[0],o[1]=o[3]=a[1]}}),!1),t.registerBinding(e,"mousemove",(function(e){if(t.hoverData.capture||k(e)){var n=!1,o=t.cy,s=o.zoom(),c=[e.clientX,e.clientY],l=t.projectIntoViewport(c[0],c[1]),f=t.hoverData.mdownPos,d=t.hoverData.mdownGPos,g=t.selection,p=null;t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.selecting||(p=t.findNearestElement(l[0],l[1],!0,!1));var b,w=t.hoverData.last,y=t.hoverData.down,v=[l[0]-g[2],l[1]-g[3]],x=t.dragData.possibleDragElements;if(d){var _=c[0]-d[0],E=_*_,T=c[1]-d[1],C=E+T*T;t.hoverData.isOverThresholdDrag=b=C>=t.desktopTapThreshold2}var S=r(e);b&&(t.hoverData.tapholdCancelled=!0);n=!0,i(p,["mousemove","vmousemove","tapdrag"],e,{x:l[0],y:l[1]});var A=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:l[0],y:l[1]}}),g[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(b){var M={originalEvent:e,type:"cxtdrag",position:{x:l[0],y:l[1]}};y?y.emit(M):o.emit(M),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&p===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:l[0],y:l[1]}}),t.hoverData.cxtOver=p,p&&p.emit({originalEvent:e,type:"cxtdragover",position:{x:l[0],y:l[1]}}))}}else if(t.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var I;if(t.hoverData.justStartedPan){var L=t.hoverData.mdownPos;I={x:(l[0]-L[0])*s,y:(l[1]-L[1])*s},t.hoverData.justStartedPan=!1}else I={x:v[0]*s,y:v[1]*s};o.panBy(I),o.emit("dragpan"),t.hoverData.dragged=!0}l=t.projectIntoViewport(e.clientX,e.clientY)}else if(1!=g[4]||null!=y&&!y.pannable()){if(y&&y.pannable()&&y.active()&&y.unactivate(),y&&y.grabbed()||p==w||(w&&i(w,["mouseout","tapdragout"],e,{x:l[0],y:l[1]}),p&&i(p,["mouseover","tapdragover"],e,{x:l[0],y:l[1]}),t.hoverData.last=p),y)if(b){if(o.boxSelectionEnabled()&&S)y&&y.grabbed()&&(h(x),y.emit("freeon"),x.emit("free"),t.dragData.didDrag&&(y.emit("dragfreeon"),x.emit("dragfree"))),A();else if(y&&y.grabbed()&&t.nodeIsDraggable(y)){var O=!t.dragData.didDrag;O&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||u(x,{inDragLayer:!0});var D={x:0,y:0};if(m(v[0])&&m(v[1])&&(D.x+=v[0],D.y+=v[1],O)){var N=t.hoverData.dragDelta;N&&m(N[0])&&m(N[1])&&(D.x+=N[0],D.y+=N[1])}t.hoverData.draggingEles=!0,x.silentShift(D).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else!function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(v[0]),e.push(v[1])):(e[0]+=v[0],e[1]+=v[1])}();n=!0}else b&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!S&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(y,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,g[4]=0,t.data.bgActivePosistion=Ee(f),t.redrawHint("select",!0),t.redraw()):A(),y&&y.pannable()&&y.active()&&y.unactivate());return g[2]=l[0],g[3]=l[1],n?(e.stopPropagation&&e.stopPropagation(),e.preventDefault&&e.preventDefault(),!1):void 0}}),!1),t.registerBinding(e,"mouseup",(function(e){if(t.hoverData.capture){t.hoverData.capture=!1;var a=t.cy,o=t.projectIntoViewport(e.clientX,e.clientY),s=t.selection,c=t.findNearestElement(o[0],o[1],!0,!1),u=t.dragData.possibleDragElements,l=t.hoverData.down,f=r(e);if(t.data.bgActivePosistion&&(t.redrawHint("select",!0),t.redraw()),t.hoverData.tapholdCancelled=!0,t.data.bgActivePosistion=void 0,l&&l.unactivate(),3===t.hoverData.which){var d={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(d):a.emit(d),!t.hoverData.cxtDragged){var g={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(g):a.emit(g)}t.hoverData.cxtDragged=!1,t.hoverData.which=null}else if(1===t.hoverData.which){if(i(c,["mouseup","tapend","vmouseup"],e,{x:o[0],y:o[1]}),t.dragData.didDrag||t.hoverData.dragged||t.hoverData.selecting||t.hoverData.isOverThresholdDrag||(i(l,["click","tap","vclick"],e,{x:o[0],y:o[1]}),v=!1,e.timeStamp-x<=a.multiClickDebounceTime()?(y&&clearTimeout(y),v=!0,x=null,i(l,["dblclick","dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(y=setTimeout((function(){v||i(l,["oneclick","onetap","voneclick"],e,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),x=e.timeStamp)),null!=l||t.dragData.didDrag||t.hoverData.selecting||t.hoverData.dragged||r(e)||(a.$(n).unselect(["tapunselect"]),u.length>0&&t.redrawHint("eles",!0),t.dragData.possibleDragElements=u=a.collection()),c!=l||t.dragData.didDrag||t.hoverData.selecting||null!=c&&c._private.selectable&&(t.hoverData.dragging||("additive"===a.selectionType()||f?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):f||(a.$(n).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var p=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),p.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});"additive"===a.selectionType()||f||a.$(n).unmerge(p).unselect(),p.emit("box").stdFilter((function(t){return t.selectable()&&!t.selected()})).select().emit("boxselect"),t.redraw()}if(t.hoverData.dragging&&(t.hoverData.dragging=!1,t.redrawHint("select",!0),t.redrawHint("eles",!0),t.redraw()),!s[4]){t.redrawHint("drag",!0),t.redrawHint("eles",!0);var b=l&&l.grabbed();h(u),b&&(l.emit("freeon"),u.emit("free"),t.dragData.didDrag&&(l.emit("dragfreeon"),u.emit("dragfree")))}}s[4]=0,t.hoverData.down=null,t.hoverData.cxtStarted=!1,t.hoverData.draggingEles=!1,t.hoverData.selecting=!1,t.hoverData.isOverThresholdDrag=!1,t.dragData.didDrag=!1,t.hoverData.dragged=!1,t.hoverData.dragDelta=[],t.hoverData.mdownPos=null,t.hoverData.mdownGPos=null}}),!1);var _,E,T,C,S,A,M,I,L,O,D,N,P,B=function(e){if(!t.scrollingPage){var n=t.cy,i=n.zoom(),r=n.pan(),a=t.projectIntoViewport(e.clientX,e.clientY),o=[a[0]*i+r.x,a[1]*i+r.y];if(t.hoverData.draggingEles||t.hoverData.dragging||t.hoverData.cxtStarted||0!==t.selection[4])e.preventDefault();else if(n.panningEnabled()&&n.userPanningEnabled()&&n.zoomingEnabled()&&n.userZoomingEnabled()){var s;e.preventDefault(),t.data.wheelZooming=!0,clearTimeout(t.data.wheelTimeout),t.data.wheelTimeout=setTimeout((function(){t.data.wheelZooming=!1,t.redrawHint("eles",!0),t.redraw()}),150),s=null!=e.deltaY?e.deltaY/-250:null!=e.wheelDeltaY?e.wheelDeltaY/1e3:e.wheelDelta/1e3,s*=t.wheelSensitivity,1===e.deltaMode&&(s*=33);var c=n.zoom()*Math.pow(10,s);"gesturechange"===e.type&&(c=t.gestureStartZoom*e.scale),n.zoom({level:c,renderedPosition:{x:o[0],y:o[1]}}),n.emit("gesturechange"===e.type?"pinchzoom":"scrollzoom")}}};t.registerBinding(t.container,"wheel",B,!0),t.registerBinding(e,"scroll",(function(e){t.scrollingPage=!0,clearTimeout(t.scrollingPageTimeout),t.scrollingPageTimeout=setTimeout((function(){t.scrollingPage=!1}),250)}),!0),t.registerBinding(t.container,"gesturestart",(function(e){t.gestureStartZoom=t.cy.zoom(),t.hasTouchStarted||e.preventDefault()}),!0),t.registerBinding(t.container,"gesturechange",(function(e){t.hasTouchStarted||B(e)}),!0),t.registerBinding(t.container,"mouseout",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseout",position:{x:n[0],y:n[1]}})}),!1),t.registerBinding(t.container,"mouseover",(function(e){var n=t.projectIntoViewport(e.clientX,e.clientY);t.cy.emit({originalEvent:e,type:"mouseover",position:{x:n[0],y:n[1]}})}),!1);var F,$,j,R,z,q,H,Z=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},U=function(t,e,n,i){return(n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",F=function(e){if(t.hasTouchStarted=!0,k(e)){d(),t.touchData.capture=!0,t.data.bgActivePosistion=void 0;var n=t.cy,r=t.touchData.now,a=t.touchData.earlier;if(e.touches[0]){var o=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);r[0]=o[0],r[1]=o[1]}if(e.touches[1]&&(o=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),r[2]=o[0],r[3]=o[1]),e.touches[2]&&(o=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),r[4]=o[0],r[5]=o[1]),e.touches[1]){t.touchData.singleTouchMoved=!0,h(t.dragData.touchDragEles);var c=t.findContainerClientCoords();L=c[0],O=c[1],D=c[2],N=c[3],_=e.touches[0].clientX-L,E=e.touches[0].clientY-O,T=e.touches[1].clientX-L,C=e.touches[1].clientY-O,P=0<=_&&_<=D&&0<=T&&T<=D&&0<=E&&E<=N&&0<=C&&C<=N;var f=n.pan(),g=n.zoom();S=Z(_,E,T,C),A=U(_,E,T,C),I=[((M=[(_+T)/2,(E+C)/2])[0]-f.x)/g,(M[1]-f.y)/g];if(A<4e4&&!e.touches[2]){var p=t.findNearestElement(r[0],r[1],!0,!0),b=t.findNearestElement(r[2],r[3],!0,!0);return p&&p.isNode()?(p.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=p):b&&b.isNode()?(b.activate().emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start=b):n.emit({originalEvent:e,type:"cxttapstart",position:{x:r[0],y:r[1]}}),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!0,t.touchData.cxtDragged=!1,t.data.bgActivePosistion=void 0,void t.redraw()}}if(e.touches[2])n.boxSelectionEnabled()&&e.preventDefault();else if(e.touches[1]);else if(e.touches[0]){var w=t.findNearestElements(r[0],r[1],!0,!0),y=w[0];if(null!=y&&(y.activate(),t.touchData.start=y,t.touchData.starts=w,t.nodeIsGrabbable(y))){var m=t.dragData.touchDragEles=n.collection(),v=null;t.redrawHint("eles",!0),t.redrawHint("drag",!0),y.selected()?(v=n.$((function(e){return e.selected()&&t.nodeIsGrabbable(e)})),u(v,{addToList:m})):l(y,{addToList:m}),s(y);var x=function(t){return{originalEvent:e,type:t,position:{x:r[0],y:r[1]}}};y.emit(x("grabon")),v?v.forEach((function(t){t.emit(x("grab"))})):y.emit(x("grab"))}i(y,["touchstart","tapstart","vmousedown"],e,{x:r[0],y:r[1]}),null==y&&(t.data.bgActivePosistion={x:o[0],y:o[1]},t.redrawHint("select",!0),t.redraw()),t.touchData.singleTouchMoved=!1,t.touchData.singleTouchStartTime=+new Date,clearTimeout(t.touchData.tapholdTimeout),t.touchData.tapholdTimeout=setTimeout((function(){!1!==t.touchData.singleTouchMoved||t.pinching||t.touchData.selecting||i(t.touchData.start,["taphold"],e,{x:r[0],y:r[1]})}),t.tapholdDuration)}if(e.touches.length>=1){for(var B=t.touchData.startPosition=[null,null,null,null,null,null],F=0;F<r.length;F++)B[F]=a[F]=r[F];var $=e.touches[0];t.touchData.startGPosition=[$.clientX,$.clientY]}}},!1),t.registerBinding(window,"touchmove",$=function(e){var n=t.touchData.capture;if(n||k(e)){var r=t.selection,o=t.cy,s=t.touchData.now,c=t.touchData.earlier,l=o.zoom();if(e.touches[0]){var f=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);s[0]=f[0],s[1]=f[1]}e.touches[1]&&(f=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=f[0],s[3]=f[1]),e.touches[2]&&(f=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=f[0],s[5]=f[1]);var d,g=t.touchData.startGPosition;if(n&&e.touches[0]&&g){for(var p=[],b=0;b<s.length;b++)p[b]=s[b]-c[b];var w=e.touches[0].clientX-g[0],y=w*w,v=e.touches[0].clientY-g[1];d=y+v*v>=t.touchTapThreshold2}if(n&&t.touchData.cxt){e.preventDefault();var x=e.touches[0].clientX-L,M=e.touches[0].clientY-O,D=e.touches[1].clientX-L,N=e.touches[1].clientY-O,B=U(x,M,D,N);if(B/A>=2.25||B>=22500){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var F={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(F),t.touchData.start=null):o.emit(F)}}if(n&&t.touchData.cxt){F={originalEvent:e,type:"cxtdrag",position:{x:s[0],y:s[1]}},t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.touchData.start?t.touchData.start.emit(F):o.emit(F),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var $=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&$===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=$,$&&$.emit({originalEvent:e,type:"cxtdragover",position:{x:s[0],y:s[1]}}))}else if(n&&e.touches[2]&&o.boxSelectionEnabled())e.preventDefault(),t.data.bgActivePosistion=void 0,this.lastThreeTouch=+new Date,t.touchData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:s[0],y:s[1]}}),t.touchData.selecting=!0,t.touchData.didSelect=!0,r[4]=1,r&&0!==r.length&&void 0!==r[0]?(r[2]=(s[0]+s[2]+s[4])/3,r[3]=(s[1]+s[3]+s[5])/3):(r[0]=(s[0]+s[2]+s[4])/3,r[1]=(s[1]+s[3]+s[5])/3,r[2]=(s[0]+s[2]+s[4])/3+1,r[3]=(s[1]+s[3]+s[5])/3+1),t.redrawHint("select",!0),t.redraw();else if(n&&e.touches[1]&&!t.touchData.didSelect&&o.zoomingEnabled()&&o.panningEnabled()&&o.userZoomingEnabled()&&o.userPanningEnabled()){if(e.preventDefault(),t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),tt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var j=0;j<tt.length;j++){var R=tt[j]._private;R.grabbed=!1,R.rscratch.inDragLayer=!1}}var z=t.touchData.start,q=(x=e.touches[0].clientX-L,M=e.touches[0].clientY-O,D=e.touches[1].clientX-L,N=e.touches[1].clientY-O,Z(x,M,D,N)),H=q/S;if(P){var Y=(x-_+(D-T))/2,G=(M-E+(N-C))/2,K=o.zoom(),W=K*H,X=o.pan(),V=I[0]*K+X.x,Q=I[1]*K+X.y,J={x:-W/K*(V-X.x-Y)+V,y:-W/K*(Q-X.y-G)+Q};if(z&&z.active()){var tt=t.dragData.touchDragEles;h(tt),t.redrawHint("drag",!0),t.redrawHint("eles",!0),z.unactivate().emit("freeon"),tt.emit("free"),t.dragData.didDrag&&(z.emit("dragfreeon"),tt.emit("dragfree"))}o.viewport({zoom:W,pan:J,cancelOnFailedZoom:!0}),o.emit("pinchzoom"),S=q,_=x,E=M,T=D,C=N,t.pinching=!0}e.touches[0]&&(f=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=f[0],s[1]=f[1]),e.touches[1]&&(f=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),s[2]=f[0],s[3]=f[1]),e.touches[2]&&(f=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),s[4]=f[0],s[5]=f[1])}else if(e.touches[0]&&!t.touchData.didSelect){var et=t.touchData.start,nt=t.touchData.last;if(t.hoverData.draggingEles||t.swipePanning||($=t.findNearestElement(s[0],s[1],!0,!0)),n&&null!=et&&e.preventDefault(),n&&null!=et&&t.nodeIsDraggable(et))if(d){tt=t.dragData.touchDragEles;var it=!t.dragData.didDrag;it&&u(tt,{inDragLayer:!0}),t.dragData.didDrag=!0;var rt={x:0,y:0};m(p[0])&&m(p[1])&&(rt.x+=p[0],rt.y+=p[1],it&&(t.redrawHint("eles",!0),(at=t.touchData.dragDelta)&&m(at[0])&&m(at[1])&&(rt.x+=at[0],rt.y+=at[1]))),t.hoverData.draggingEles=!0,tt.silentShift(rt).emit("position drag"),t.redrawHint("drag",!0),t.touchData.startPosition[0]==c[0]&&t.touchData.startPosition[1]==c[1]&&t.redrawHint("eles",!0),t.redraw()}else{var at;0===(at=t.touchData.dragDelta=t.touchData.dragDelta||[]).length?(at.push(p[0]),at.push(p[1])):(at[0]+=p[0],at[1]+=p[1])}if(i(et||$,["touchmove","tapdrag","vmousemove"],e,{x:s[0],y:s[1]}),et&&et.grabbed()||$==nt||(nt&&nt.emit({originalEvent:e,type:"tapdragout",position:{x:s[0],y:s[1]}}),$&&$.emit({originalEvent:e,type:"tapdragover",position:{x:s[0],y:s[1]}})),t.touchData.last=$,n)for(j=0;j<s.length;j++)s[j]&&t.touchData.startPosition[j]&&d&&(t.touchData.singleTouchMoved=!0);n&&(null==et||et.pannable())&&o.panningEnabled()&&o.userPanningEnabled()&&(a(et,t.touchData.starts)&&(e.preventDefault(),t.data.bgActivePosistion||(t.data.bgActivePosistion=Ee(t.touchData.startPosition)),t.swipePanning?(o.panBy({x:p[0]*l,y:p[1]*l}),o.emit("dragpan")):d&&(t.swipePanning=!0,o.panBy({x:w*l,y:v*l}),o.emit("dragpan"),et&&(et.unactivate(),t.redrawHint("select",!0),t.touchData.start=null))),f=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY),s[0]=f[0],s[1]=f[1])}for(b=0;b<s.length;b++)c[b]=s[b];n&&e.touches.length>0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(e,"touchcancel",j=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(e,"touchend",R=function(e){var r=t.touchData.start;if(t.touchData.capture){0===e.touches.length&&(t.touchData.capture=!1),e.preventDefault();var a=t.selection;t.swipePanning=!1,t.hoverData.draggingEles=!1;var o,s=t.cy,c=s.zoom(),u=t.touchData.now,l=t.touchData.earlier;if(e.touches[0]){var f=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);u[0]=f[0],u[1]=f[1]}if(e.touches[1]&&(f=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),u[2]=f[0],u[3]=f[1]),e.touches[2]&&(f=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),u[4]=f[0],u[5]=f[1]),r&&r.unactivate(),t.touchData.cxt){if(o={originalEvent:e,type:"cxttapend",position:{x:u[0],y:u[1]}},r?r.emit(o):s.emit(o),!t.touchData.cxtDragged){var d={originalEvent:e,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(d):s.emit(d)}return t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxt=!1,t.touchData.start=null,void t.redraw()}if(!e.touches[2]&&s.boxSelectionEnabled()&&t.touchData.selecting){t.touchData.selecting=!1;var g=s.collection(t.getAllInBox(a[0],a[1],a[2],a[3]));a[0]=void 0,a[1]=void 0,a[2]=void 0,a[3]=void 0,a[4]=0,t.redrawHint("select",!0),s.emit({type:"boxend",originalEvent:e,position:{x:u[0],y:u[1]}});g.emit("box").stdFilter((function(t){return t.selectable()&&!t.selected()})).select().emit("boxselect"),g.nonempty()&&t.redrawHint("eles",!0),t.redraw()}if(null!=r&&r.unactivate(),e.touches[2])t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);else if(e.touches[1]);else if(e.touches[0]);else if(!e.touches[0]){t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var p=t.dragData.touchDragEles;if(null!=r){var b=r._private.grabbed;h(p),t.redrawHint("drag",!0),t.redrawHint("eles",!0),b&&(r.emit("freeon"),p.emit("free"),t.dragData.didDrag&&(r.emit("dragfreeon"),p.emit("dragfree"))),i(r,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]}),r.unactivate(),t.touchData.start=null}else{var w=t.findNearestElement(u[0],u[1],!0,!0);i(w,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]})}var y=t.touchData.startPosition[0]-u[0],m=y*y,v=t.touchData.startPosition[1]-u[1],x=(m+v*v)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],e,{x:u[0],y:u[1]}),z=!1,e.timeStamp-H<=s.multiClickDebounceTime()?(q&&clearTimeout(q),z=!0,H=null,i(r,["dbltap","vdblclick"],e,{x:u[0],y:u[1]})):(q=setTimeout((function(){z||i(r,["onetap","voneclick"],e,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),H=e.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&x<t.touchTapThreshold2&&!t.pinching&&("single"===s.selectionType()?(s.$(n).unmerge(r).unselect(["tapunselect"]),r.select(["tapselect"])):r.selected()?r.unselect(["tapunselect"]):r.select(["tapselect"]),t.redrawHint("eles",!0)),t.touchData.singleTouchMoved=!0}for(var k=0;k<u.length;k++)l[k]=u[k];t.dragData.didDrag=!1,0===e.touches.length&&(t.touchData.dragDelta=[],t.touchData.startPosition=[null,null,null,null,null,null],t.touchData.startGPosition=null,t.touchData.didSelect=!1),e.touches.length<2&&(1===e.touches.length&&(t.touchData.startGPosition=[e.touches[0].clientX,e.touches[0].clientY]),t.pinching=!1,t.redrawHint("eles",!0),t.redraw())}},!1),"undefined"==typeof TouchEvent){var Y=[],G=function(t){return{clientX:t.clientX,clientY:t.clientY,force:1,identifier:t.pointerId,pageX:t.pageX,pageY:t.pageY,radiusX:t.width/2,radiusY:t.height/2,screenX:t.screenX,screenY:t.screenY,target:t.target}},K=function(t){Y.push(function(t){return{event:t,touch:G(t)}}(t))},W=function(t){for(var e=0;e<Y.length;e++)if(Y[e].event.pointerId===t.pointerId)return void Y.splice(e,1)},X=function(t){t.touches=Y.map((function(t){return t.touch}))},V=function(t){return"mouse"===t.pointerType||4===t.pointerType};t.registerBinding(t.container,"pointerdown",(function(t){V(t)||(t.preventDefault(),K(t),X(t),F(t))})),t.registerBinding(t.container,"pointerup",(function(t){V(t)||(W(t),X(t),R(t))})),t.registerBinding(t.container,"pointercancel",(function(t){V(t)||(W(t),X(t),j())})),t.registerBinding(t.container,"pointermove",(function(t){V(t)||(t.preventDefault(),function(t){var e=Y.filter((function(e){return e.event.pointerId===t.pointerId}))[0];e.event=t,e.touch=G(t)}(t),X(t),$(t))}))}}},nu={generatePolygon:function(t,e){return this.nodeShapes[t]={renderer:this,name:t,points:e,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return en(r,a,this.points,t,e,n/2,i/2,o)},checkPoint:function(t,e,n,i,r,a,o){return Ke(t,e,this.points,a,o,i,r,[0,-1],n)}}},generateEllipse:function(){return this.nodeShapes.ellipse={renderer:this,name:"ellipse",draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return function(t,e,n,i,r,a){var o=n-t,s=i-e;o/=r,s/=a;var c=Math.sqrt(o*o+s*s),u=c-1;if(u<0)return[];var l=u/c;return[(n-t)*l+t,(i-e)*l+e]}(r,a,t,e,n/2+o,i/2+o)},checkPoint:function(t,e,n,i,r,a,o){return Ve(t,e,i,r,a,o,n)}}},generateRoundPolygon:function(t,e){for(var n=new Array(2*e.length),i=0;i<e.length/2;i++){var r,a=2*i;r=i<e.length/2-1?2*(i+1):0,n[4*i]=e[a],n[4*i+1]=e[a+1];var o=e[r]-e[a],s=e[r+1]-e[a+1],c=Math.sqrt(o*o+s*s);n[4*i+2]=o/c,n[4*i+3]=s/c}return this.nodeShapes[t]={renderer:this,name:t,points:n,draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl("round-polygon",t,e,n,i,r,this.points)},intersectLine:function(t,e,n,i,r,a,o){return function(t,e,n,i,r,a,o,s){for(var c,u=[],l=new Array(n.length),h=a/2,f=o/2,d=cn(a,o),g=0;g<n.length/4;g++){var p,b;p=0===g?n.length-2:4*g-2,b=4*g+2;var w=i+h*n[4*g],y=r+f*n[4*g+1],m=-n[p]*n[b]-n[p+1]*n[b+1],v=d/Math.tan(Math.acos(m)/2),x=w-v*n[p],k=y-v*n[p+1],_=w+v*n[b],E=y+v*n[b+1];0===g?(l[n.length-2]=x,l[n.length-1]=k):(l[4*g-2]=x,l[4*g-1]=k),l[4*g]=_,l[4*g+1]=E;var T=n[p+1],C=-n[p];T*n[b]+C*n[b+1]<0&&(T*=-1,C*=-1),0!==(c=Qe(t,e,i,r,x+T*d,k+C*d,d)).length&&u.push(c[0],c[1])}for(var S=0;S<l.length/4;S++)0!==(c=tn(t,e,i,r,l[4*S],l[4*S+1],l[4*S+2],l[4*S+3],!1)).length&&u.push(c[0],c[1]);if(u.length>2){for(var A=[u[0],u[1]],M=Math.pow(A[0]-t,2)+Math.pow(A[1]-e,2),I=1;I<u.length/2;I++){var L=Math.pow(u[2*I]-t,2)+Math.pow(u[2*I+1]-e,2);L<=M&&(A[0]=u[2*I],A[1]=u[2*I+1],M=L)}return A}return u}(r,a,this.points,t,e,n,i)},checkPoint:function(t,e,n,i,r,a,o){return function(t,e,n,i,r,a,o){for(var s=new Array(n.length),c=a/2,u=o/2,l=cn(a,o),h=l*l,f=0;f<n.length/4;f++){var d,g;d=0===f?n.length-2:4*f-2,g=4*f+2;var p=i+c*n[4*f],b=r+u*n[4*f+1],w=-n[d]*n[g]-n[d+1]*n[g+1],y=l/Math.tan(Math.acos(w)/2),m=p-y*n[d],v=b-y*n[d+1],x=p+y*n[g],k=b+y*n[g+1];s[4*f]=m,s[4*f+1]=v,s[4*f+2]=x,s[4*f+3]=k;var _=n[d+1],E=-n[d];_*n[g]+E*n[g+1]<0&&(_*=-1,E*=-1);var T=m+_*l,C=v+E*l;if(Math.pow(T-t,2)+Math.pow(C-e,2)<=h)return!0}return Ge(t,e,s)}(t,e,this.points,a,o,i,r)}}},generateRoundRectangle:function(){return this.nodeShapes["round-rectangle"]=this.nodeShapes.roundrectangle={renderer:this,name:"round-rectangle",points:rn(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){return qe(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=sn(i,r),c=2*s;return!!(Ke(t,e,this.points,a,o,i,r-c,[0,-1],n)||Ke(t,e,this.points,a,o,i-c,r,[0,-1],n)||Ve(t,e,c,c,a-i/2+s,o-r/2+s,n)||Ve(t,e,c,c,a+i/2-s,o-r/2+s,n)||Ve(t,e,c,c,a+i/2-s,o+r/2-s,n)||Ve(t,e,c,c,a-i/2+s,o+r/2-s,n))}}},generateCutRectangle:function(){return this.nodeShapes["cut-rectangle"]=this.nodeShapes.cutrectangle={renderer:this,name:"cut-rectangle",cornerLength:8,points:rn(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},generateCutTrianglePts:function(t,e,n,i){var r=this.cornerLength,a=e/2,o=t/2,s=n-o,c=n+o,u=i-a,l=i+a;return{topLeft:[s,u+r,s+r,u,s+r,u+r],topRight:[c-r,u,c,u+r,c-r,u+r],bottomRight:[c,l-r,c-r,l,c-r,l-r],bottomLeft:[s+r,l,s,l-r,s+r,l-r]}},intersectLine:function(t,e,n,i,r,a,o){var s=this.generateCutTrianglePts(n+2*o,i+2*o,t,e),c=[].concat.apply([],[s.topLeft.splice(0,4),s.topRight.splice(0,4),s.bottomRight.splice(0,4),s.bottomLeft.splice(0,4)]);return en(r,a,c,t,e)},checkPoint:function(t,e,n,i,r,a,o){if(Ke(t,e,this.points,a,o,i,r-2*this.cornerLength,[0,-1],n))return!0;if(Ke(t,e,this.points,a,o,i-2*this.cornerLength,r,[0,-1],n))return!0;var s=this.generateCutTrianglePts(i,r,a,o);return Ge(t,e,s.topLeft)||Ge(t,e,s.topRight)||Ge(t,e,s.bottomRight)||Ge(t,e,s.bottomLeft)}}},generateBarrel:function(){return this.nodeShapes.barrel={renderer:this,name:"barrel",points:rn(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=this.generateBarrelBezierPts(n+2*o,i+2*o,t,e),c=function(t){var e=Oe({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},.15),n=Oe({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},.5),i=Oe({x:t[0],y:t[1]},{x:t[2],y:t[3]},{x:t[4],y:t[5]},.85);return[t[0],t[1],e.x,e.y,n.x,n.y,i.x,i.y,t[4],t[5]]},u=[].concat(c(s.topLeft),c(s.topRight),c(s.bottomRight),c(s.bottomLeft));return en(r,a,u,t,e)},generateBarrelBezierPts:function(t,e,n,i){var r=e/2,a=t/2,o=n-a,s=n+a,c=i-r,u=i+r,l=un(t,e),h=l.heightOffset,f=l.widthOffset,d=l.ctrlPtOffsetPct*t,g={topLeft:[o,c+h,o+d,c,o+f,c],topRight:[s-f,c,s-d,c,s,c+h],bottomRight:[s,u-h,s-d,u,s-f,u],bottomLeft:[o+f,u,o+d,u,o,u-h]};return g.topLeft.isTop=!0,g.topRight.isTop=!0,g.bottomLeft.isBottom=!0,g.bottomRight.isBottom=!0,g},checkPoint:function(t,e,n,i,r,a,o){var s=un(i,r),c=s.heightOffset,u=s.widthOffset;if(Ke(t,e,this.points,a,o,i,r-2*c,[0,-1],n))return!0;if(Ke(t,e,this.points,a,o,i-2*u,r,[0,-1],n))return!0;for(var l=this.generateBarrelBezierPts(i,r,a,o),h=function(t,e,n){var i,r,a=n[4],o=n[2],s=n[0],c=n[5],u=n[1],l=Math.min(a,s),h=Math.max(a,s),f=Math.min(c,u),d=Math.max(c,u);if(l<=t&&t<=h&&f<=e&&e<=d){var g=[(i=a)-2*(r=o)+s,2*(r-i),i],p=function(t,e,n,i){var r=e*e-4*t*(n-=i);if(r<0)return[];var a=Math.sqrt(r),o=2*t;return[(-e+a)/o,(-e-a)/o]}(g[0],g[1],g[2],t).filter((function(t){return 0<=t&&t<=1}));if(p.length>0)return p[0]}return null},f=Object.keys(l),d=0;d<f.length;d++){var g=l[f[d]],p=h(t,e,g);if(null!=p){var b=g[5],w=g[3],y=g[1],m=Le(b,w,y,p);if(g.isTop&&m<=e)return!0;if(g.isBottom&&e<=m)return!0}}return!1}}},generateBottomRoundrectangle:function(){return this.nodeShapes["bottom-round-rectangle"]=this.nodeShapes.bottomroundrectangle={renderer:this,name:"bottom-round-rectangle",points:rn(4,0),draw:function(t,e,n,i,r){this.renderer.nodeShapeImpl(this.name,t,e,n,i,r)},intersectLine:function(t,e,n,i,r,a,o){var s=e-(i/2+o),c=tn(r,a,t,e,t-(n/2+o),s,t+(n/2+o),s,!1);return c.length>0?c:qe(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=sn(i,r),c=2*s;if(Ke(t,e,this.points,a,o,i,r-c,[0,-1],n))return!0;if(Ke(t,e,this.points,a,o,i-c,r,[0,-1],n))return!0;var u=i/2+2*n,l=r/2+2*n;return!!Ge(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||!!Ve(t,e,c,c,a+i/2-s,o+r/2-s,n)||!!Ve(t,e,c,c,a-i/2+s,o+r/2-s,n)}}},registerNodeShapes:function(){var t=this.nodeShapes={},e=this;this.generateEllipse(),this.generatePolygon("triangle",rn(3,0)),this.generateRoundPolygon("round-triangle",rn(3,0)),this.generatePolygon("rectangle",rn(4,0)),t.square=t.rectangle,this.generateRoundRectangle(),this.generateCutRectangle(),this.generateBarrel(),this.generateBottomRoundrectangle();var n=[0,1,1,0,0,-1,-1,0];this.generatePolygon("diamond",n),this.generateRoundPolygon("round-diamond",n),this.generatePolygon("pentagon",rn(5,0)),this.generateRoundPolygon("round-pentagon",rn(5,0)),this.generatePolygon("hexagon",rn(6,0)),this.generateRoundPolygon("round-hexagon",rn(6,0)),this.generatePolygon("heptagon",rn(7,0)),this.generateRoundPolygon("round-heptagon",rn(7,0)),this.generatePolygon("octagon",rn(8,0)),this.generateRoundPolygon("round-octagon",rn(8,0));var i=new Array(20),r=on(5,0),a=on(5,Math.PI/5),o=.5*(3-Math.sqrt(5));o*=1.57;for(var s=0;s<a.length/2;s++)a[2*s]*=o,a[2*s+1]*=o;for(s=0;s<5;s++)i[4*s]=r[2*s],i[4*s+1]=r[2*s+1],i[4*s+2]=a[2*s],i[4*s+3]=a[2*s+1];i=an(i),this.generatePolygon("star",i),this.generatePolygon("vee",[-1,-1,0,-.333,1,-1,0,1]),this.generatePolygon("rhomboid",[-1,-1,.333,-1,1,1,-.333,1]),this.generatePolygon("right-rhomboid",[-.333,-1,1,-1,.333,1,-1,1]),this.nodeShapes.concavehexagon=this.generatePolygon("concave-hexagon",[-1,-.95,-.75,0,-1,.95,1,.95,.75,0,1,-.95]);var c=[-1,-1,.25,-1,1,0,.25,1,-1,1];this.generatePolygon("tag",c),this.generateRoundPolygon("round-tag",c),t.makePolygon=function(t){var n,i="polygon-"+t.join("$");return(n=this[i])?n:e.generatePolygon(i,t)}}},iu={timeToRender:function(){return this.redrawTotalTime/this.redrawCount},redraw:function(t){t=t||Wt();var e=this;void 0===e.averageRedrawTime&&(e.averageRedrawTime=0),void 0===e.lastRedrawTime&&(e.lastRedrawTime=0),void 0===e.lastDrawTime&&(e.lastDrawTime=0),e.requestedFrame=!0,e.renderOptions=t},beforeRender:function(t,e){if(!this.destroyed){null==e&&Ht("Priority is not optional for beforeRender");var n=this.beforeRenderCallbacks;n.push({fn:t,priority:e}),n.sort((function(t,e){return e.priority-t.priority}))}}},ru=function(t,e,n){for(var i=t.beforeRenderCallbacks,r=0;r<i.length;r++)i[r].fn(e,n)};iu.startRenderLoop=function(){var t=this,e=t.cy;if(!t.renderLoopStarted){t.renderLoopStarted=!0;_t((function n(i){if(!t.destroyed){if(e.batching());else if(t.requestedFrame&&!t.skipFrame){ru(t,!0,i);var r=Et();t.render(t.renderOptions);var a=t.lastDrawTime=Et();void 0===t.averageRedrawTime&&(t.averageRedrawTime=a-r),void 0===t.redrawCount&&(t.redrawCount=0),t.redrawCount++,void 0===t.redrawTotalTime&&(t.redrawTotalTime=0);var o=a-r;t.redrawTotalTime+=o,t.lastRedrawTime=o,t.averageRedrawTime=t.averageRedrawTime/2+o/2,t.requestedFrame=!1}else ru(t,!1,i);t.skipFrame=!1,_t(n)}}))}};var au=function(t){this.init(t)},ou=au.prototype;ou.clientFunctions=["redrawHint","render","renderTo","matchCanvasSize","nodeShapeImpl","arrowShapeImpl"],ou.init=function(t){var e=this;e.options=t,e.cy=t.cy;var n=e.container=t.cy.container(),i=e.cy.window();if(i){var r=i.document,a=r.head,o="__________cytoscape_stylesheet",s="__________cytoscape_container",c=null!=r.getElementById(o);if(n.className.indexOf(s)<0&&(n.className=(n.className||"")+" "+s),!c){var u=r.createElement("style");u.id=o,u.textContent="."+s+" { position: relative; }",a.insertBefore(u,a.children[0])}"static"===i.getComputedStyle(n).getPropertyValue("position")&&Ut("A Cytoscape container has style position:static and so can not use UI extensions properly")}e.selection=[void 0,void 0,void 0,void 0,0],e.bezierProjPcts=[.05,.225,.4,.5,.6,.775,.95],e.hoverData={down:null,last:null,downTime:null,triggerMode:null,dragging:!1,initialPan:[null,null],capture:!1},e.dragData={possibleDragElements:[]},e.touchData={start:null,capture:!1,startPosition:[null,null,null,null,null,null],singleTouchStartTime:null,singleTouchMoved:!0,now:[null,null,null,null,null,null],earlier:[null,null,null,null,null,null]},e.redraws=0,e.showFps=t.showFps,e.debug=t.debug,e.hideEdgesOnViewport=t.hideEdgesOnViewport,e.textureOnViewport=t.textureOnViewport,e.wheelSensitivity=t.wheelSensitivity,e.motionBlurEnabled=t.motionBlur,e.forcedPixelRatio=m(t.pixelRatio)?t.pixelRatio:null,e.motionBlur=t.motionBlur,e.motionBlurOpacity=t.motionBlurOpacity,e.motionBlurTransparency=1-e.motionBlurOpacity,e.motionBlurPxRatio=1,e.mbPxRBlurry=1,e.minMbLowQualFrames=4,e.fullQualityMb=!1,e.clearedForMotionBlur=[],e.desktopTapThreshold=t.desktopTapThreshold,e.desktopTapThreshold2=t.desktopTapThreshold*t.desktopTapThreshold,e.touchTapThreshold=t.touchTapThreshold,e.touchTapThreshold2=t.touchTapThreshold*t.touchTapThreshold,e.tapholdDuration=500,e.bindings=[],e.beforeRenderCallbacks=[],e.beforeRenderPriorities={animations:400,eleCalcs:300,eleTxrDeq:200,lyrTxrDeq:150,lyrTxrSkip:100},e.registerNodeShapes(),e.registerArrowShapes(),e.registerCalculationListeners()},ou.notify=function(t,e){var n=this,i=n.cy;this.destroyed||("init"!==t?"destroy"!==t?(("add"===t||"remove"===t||"move"===t&&i.hasCompoundNodes()||"load"===t||"zorder"===t||"mount"===t)&&n.invalidateCachedZSortedEles(),"viewport"===t&&n.redrawHint("select",!0),"load"!==t&&"resize"!==t&&"mount"!==t||(n.invalidateContainerClientCoordsCache(),n.matchCanvasSize(n.container)),n.redrawHint("eles",!0),n.redrawHint("drag",!0),this.startRenderLoop(),this.redraw()):n.destroy():n.load())},ou.destroy=function(){var t=this;t.destroyed=!0,t.cy.stopAnimationLoop();for(var e=0;e<t.bindings.length;e++){var n=t.bindings[e],i=n.target;(i.off||i.removeEventListener).apply(i,n.args)}if(t.bindings=[],t.beforeRenderCallbacks=[],t.onUpdateEleCalcsFns=[],t.removeObserver&&t.removeObserver.disconnect(),t.styleObserver&&t.styleObserver.disconnect(),t.resizeObserver&&t.resizeObserver.disconnect(),t.labelCalcDiv)try{document.body.removeChild(t.labelCalcDiv)}catch(t){}},ou.isHeadless=function(){return!1},[jc,Jc,tu,eu,nu,iu].forEach((function(t){j(ou,t)}));var su=1e3/60,cu=function(t){return function(){var e=this,n=this.renderer;if(!e.dequeueingSetup){e.dequeueingSetup=!0;var i=mt((function(){n.redrawHint("eles",!0),n.redrawHint("drag",!0),n.redraw()}),t.deqRedrawThreshold),r=t.priority||qt;n.beforeRender((function(r,a){var o=Et(),s=n.averageRedrawTime,c=n.lastRedrawTime,u=[],l=n.cy.extent(),h=n.getPixelRatio();for(r||n.flushRenderedStyleQueue();;){var f=Et(),d=f-o,g=f-a;if(c<su){var p=su-(r?s:0);if(g>=t.deqFastCost*p)break}else if(r){if(d>=t.deqCost*c||d>=t.deqAvgCost*s)break}else if(g>=t.deqNoDrawCost*su)break;var b=t.deq(e,h,l);if(!(b.length>0))break;for(var w=0;w<b.length;w++)u.push(b[w])}u.length>0&&(t.onDeqd(e,u),!r&&t.shouldRedraw(e,u,h,l)&&i())}),r(e))}}},uu=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:Rt;e(this,t),this.idsByKey=new ee,this.keyForId=new ee,this.cachesByLvl=new ee,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=i}return r(t,[{key:"getIdsFor",value:function(t){null==t&&Ht("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new ie,e.set(t,n)),n}},{key:"addIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).add(e)}},{key:"deleteIdForKey",value:function(t,e){null!=t&&this.getIdsFor(t).delete(e)}},{key:"getNumberOfIdsForKey",value:function(t){return null==t?0:this.getIdsFor(t).size}},{key:"updateKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e),i=this.getKey(t);this.deleteIdForKey(n,e),this.addIdForKey(i,e),this.keyForId.set(e,i)}},{key:"deleteKeyMappingFor",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteIdForKey(n,e),this.keyForId.delete(e)}},{key:"keyHasChangedFor",value:function(t){var e=t.id();return this.keyForId.get(e)!==this.getKey(t)}},{key:"isInvalid",value:function(t){return this.keyHasChangedFor(t)||this.doesEleInvalidateKey(t)}},{key:"getCachesAt",value:function(t){var e=this.cachesByLvl,n=this.lvls,i=e.get(t);return i||(i=new ee,e.set(t,i),n.push(t)),i}},{key:"getCache",value:function(t,e){return this.getCachesAt(e).get(t)}},{key:"get",value:function(t,e){var n=this.getKey(t),i=this.getCache(n,e);return null!=i&&this.updateKeyMappingFor(t),i}},{key:"getForCachedKey",value:function(t,e){var n=this.keyForId.get(t.id());return this.getCache(n,e)}},{key:"hasCache",value:function(t,e){return this.getCachesAt(e).has(t)}},{key:"has",value:function(t,e){var n=this.getKey(t);return this.hasCache(n,e)}},{key:"setCache",value:function(t,e,n){n.key=t,this.getCachesAt(e).set(t,n)}},{key:"set",value:function(t,e,n){var i=this.getKey(t);this.setCache(i,e,n),this.updateKeyMappingFor(t)}},{key:"deleteCache",value:function(t,e){this.getCachesAt(e).delete(t)}},{key:"delete",value:function(t,e){var n=this.getKey(t);this.deleteCache(n,e)}},{key:"invalidateKey",value:function(t){var e=this;this.lvls.forEach((function(n){return e.deleteCache(t,n)}))}},{key:"invalidate",value:function(t){var e=t.id(),n=this.keyForId.get(e);this.deleteKeyMappingFor(t);var i=this.doesEleInvalidateKey(t);return i&&this.invalidateKey(n),i||0===this.getNumberOfIdsForKey(n)}}]),t}(),lu={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},hu=Xt({getKey:null,doesEleInvalidateKey:Rt,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:jt,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),fu=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=hu(e);j(n,i),n.lookup=new uu(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},du=fu.prototype;du.reasons=lu,du.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},du.getRetiredTextureQueue=function(t){var e=this.eleImgCaches.retired=this.eleImgCaches.retired||{};return e[t]=e[t]||[]},du.getElementQueue=function(){return this.eleCacheQueue=this.eleCacheQueue||new ce((function(t,e){return e.reqs-t.reqs}))},du.getElementKeyToQueue=function(){return this.eleKeyToCacheQueue=this.eleKeyToCacheQueue||{}},du.getElement=function(t,e,n,i,r){var a=this,o=this.renderer,s=o.cy.zoom(),c=this.lookup;if(!e||0===e.w||0===e.h||isNaN(e.w)||isNaN(e.h)||!t.visible()||t.removed())return null;if(!a.allowEdgeTxrCaching&&t.isEdge()||!a.allowParentTxrCaching&&t.isParent())return null;if(null==i&&(i=Math.ceil(Ce(s*n))),i<-4)i=-4;else if(s>=7.99||i>3)return null;var u=Math.pow(2,i),l=e.h*u,h=e.w*u,f=o.eleTextBiggerThanMin(t,u);if(!this.isVisible(t,f))return null;var d,g=c.get(t,i);if(g&&g.invalidated&&(g.invalidated=!1,g.texture.invalidatedWidth-=g.width),g)return g;if(d=l<=25?25:l<=50?50:50*Math.ceil(l/50),l>1024||h>1024)return null;var p=a.getTextureQueue(d),b=p[p.length-2],w=function(){return a.recycleTexture(d,h)||a.addTexture(d,h)};b||(b=p[p.length-1]),b||(b=w()),b.width-b.usedWidth<h&&(b=w());for(var y,m=function(t){return t&&t.scaledLabelShown===f},v=r&&r===lu.dequeue,x=r&&r===lu.highQuality,k=r&&r===lu.downscale,_=i+1;_<=3;_++){var E=c.get(t,_);if(E){y=E;break}}var T=y&&y.level===i+1?y:null,C=function(){b.context.drawImage(T.texture.canvas,T.x,0,T.width,T.height,b.usedWidth,0,h,l)};if(b.context.setTransform(1,0,0,1,0,0),b.context.clearRect(b.usedWidth,0,h,d),m(T))C();else if(m(y)){if(!x)return a.queueElement(t,y.level-1),y;for(var S=y.level;S>i;S--)T=a.getElement(t,e,n,S,lu.downscale);C()}else{var A;if(!v&&!x&&!k)for(var M=i-1;M>=-4;M--){var I=c.get(t,M);if(I){A=I;break}}if(m(A))return a.queueElement(t,i),A;b.context.translate(b.usedWidth,0),b.context.scale(u,u),this.drawElement(b.context,t,e,f,!1),b.context.scale(1/u,1/u),b.context.translate(-b.usedWidth,0)}return g={x:b.usedWidth,texture:b,level:i,scale:u,width:h,height:l,scaledLabelShown:f},b.usedWidth+=Math.ceil(h+8),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},du.invalidateElements=function(t){for(var e=0;e<t.length;e++)this.invalidateElement(t[e])},du.invalidateElement=function(t){var e=this,n=e.lookup,i=[];if(n.isInvalid(t)){for(var r=-4;r<=3;r++){var a=n.getForCachedKey(t,r);a&&i.push(a)}if(n.invalidate(t))for(var o=0;o<i.length;o++){var s=i[o],c=s.texture;c.invalidatedWidth+=s.width,s.invalidated=!0,e.checkTextureUtility(c)}e.removeFromQueue(t)}},du.checkTextureUtility=function(t){t.invalidatedWidth>=.2*t.width&&this.retireTexture(t)},du.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>.8&&t.fullnessChecks>=10?Vt(e,t):t.fullnessChecks++},du.retireTexture=function(t){var e=t.height,n=this.getTextureQueue(e),i=this.lookup;Vt(n,t),t.retired=!0;for(var r=t.eleCaches,a=0;a<r.length;a++){var o=r[a];i.deleteCache(o.key,o.level)}Qt(r),this.getRetiredTextureQueue(e).push(t)},du.addTexture=function(t,e){var n={};return this.getTextureQueue(t).push(n),n.eleCaches=[],n.height=t,n.width=Math.max(1024,e),n.usedWidth=0,n.invalidatedWidth=0,n.fullnessChecks=0,n.canvas=this.renderer.makeOffscreenCanvas(n.width,n.height),n.context=n.canvas.getContext("2d"),n},du.recycleTexture=function(t,e){for(var n=this.getTextureQueue(t),i=this.getRetiredTextureQueue(t),r=0;r<i.length;r++){var a=i[r];if(a.width>=e)return a.retired=!1,a.usedWidth=0,a.invalidatedWidth=0,a.fullnessChecks=0,Qt(a.eleCaches),a.context.setTransform(1,0,0,1,0,0),a.context.clearRect(0,0,a.width,a.height),Vt(i,a),n.push(a),a}},du.queueElement=function(t,e){var n=this.getElementQueue(),i=this.getElementKeyToQueue(),r=this.getKey(t),a=i[r];if(a)a.level=Math.max(a.level,e),a.eles.merge(t),a.reqs++,n.updateItem(a);else{var o={eles:t.spawn().merge(t),level:e,reqs:1,key:r};n.push(o),i[r]=o}},du.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o<1&&n.size()>0;o++){var s=n.pop(),c=s.key,u=s.eles[0],l=a.hasCache(u,s.level);if(i[c]=null,!l){r.push(s);var h=e.getBoundingBox(u);e.getElement(u,h,t,s.level,lu.dequeue)}}return r},du.removeFromQueue=function(t){var e=this.getElementQueue(),n=this.getElementKeyToQueue(),i=this.getKey(t),r=n[i];null!=r&&(1===r.eles.length?(r.reqs=$t,e.updateItem(r),e.pop(),n[i]=null):r.eles.unmerge(t))},du.onDequeue=function(t){this.onDequeues.push(t)},du.offDequeue=function(t){Vt(this.onDequeues,t)},du.setupDequeueing=cu({deqRedrawThreshold:100,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n<t.onDequeues.length;n++)(0,t.onDequeues[n])(e)},shouldRedraw:function(t,e,n,i){for(var r=0;r<e.length;r++)for(var a=e[r].eles,o=0;o<a.length;o++){var s=a[o].boundingBox();if(je(s,i))return!0}return!1},priority:function(t){return t.renderer.beforeRenderPriorities.eleTxrDeq}});var gu=function(t){var e=this,n=e.renderer=t,i=n.cy;e.layersByLevel={},e.firstGet=!0,e.lastInvalidationTime=Et()-500,e.skipping=!1,e.eleTxrDeqs=i.collection(),e.scheduleElementRefinement=mt((function(){e.refineElementTextures(e.eleTxrDeqs),e.eleTxrDeqs.unmerge(e.eleTxrDeqs)}),50),n.beforeRender((function(t,n){n-e.lastInvalidationTime<=250?e.skipping=!0:e.skipping=!1}),n.beforeRenderPriorities.lyrTxrSkip);e.layersQueue=new ce((function(t,e){return e.reqs-t.reqs})),e.setupDequeueing()},pu=gu.prototype,bu=0,wu=Math.pow(2,53)-1;pu.makeLayer=function(t,e){var n=Math.pow(2,e),i=Math.ceil(t.w*n),r=Math.ceil(t.h*n),a=this.renderer.makeOffscreenCanvas(i,r),o={id:bu=++bu%wu,bb:t,level:e,width:i,height:r,canvas:a,context:a.getContext("2d"),eles:[],elesQueue:[],reqs:0},s=o.context,c=-o.bb.x1,u=-o.bb.y1;return s.scale(n,n),s.translate(c,u),o},pu.getLayers=function(t,e,n){var i=this,r=i.renderer.cy.zoom(),a=i.firstGet;if(i.firstGet=!1,null==n)if((n=Math.ceil(Ce(r*e)))<-4)n=-4;else if(r>=3.99||n>2)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[];if(i.levelIsComplete(n,t))return l;!function(){var e=function(e){if(i.validateLayersElesOrdering(e,t),i.levelIsComplete(e,t))return s=c[e],!0},r=function(t){if(!s)for(var i=n+t;-4<=i&&i<=2&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Vt(l,o)}}();var h=function(e){var r=(e=e||{}).after;if(function(){if(!o){o=Ne();for(var e=0;e<t.length;e++)n=o,i=t[e].boundingBox(),n.x1=Math.min(n.x1,i.x1),n.x2=Math.max(n.x2,i.x2),n.w=n.x2-n.x1,n.y1=Math.min(n.y1,i.y1),n.y2=Math.max(n.y2,i.y2),n.h=n.y2-n.y1}var n,i}(),o.w*u*(o.h*u)>16e6)return null;var a=i.makeLayer(o,n);if(null!=r){var s=l.indexOf(r)+1;l.splice(s,0,a)}else(void 0===e.insert||e.insert)&&l.unshift(a);return a};if(i.skipping&&!a)return null;for(var f=null,d=t.length/1,g=!a,p=0;p<t.length;p++){var b=t[p],w=b._private.rscratch,y=w.imgLayerCaches=w.imgLayerCaches||{},m=y[n];if(m)f=m;else{if((!f||f.eles.length>=d||!ze(f.bb,b.boundingBox()))&&!(f=h({insert:!0,after:f})))return null;s||g?i.queueLayer(f,b):i.drawEleInLayer(f,b,n,e),f.eles.push(b),y[n]=f}}return s||(g?null:l)},pu.getEleLevelForLayerLevel=function(t,e){return t},pu.drawEleInLayer=function(t,e,n,i){var r=this.renderer,a=t.context,o=e.boundingBox();0!==o.w&&0!==o.h&&e.visible()&&(n=this.getEleLevelForLayerLevel(n,i),r.setImgSmoothing(a,!1),r.drawCachedElement(a,e,null,null,n,true),r.setImgSmoothing(a,!0))},pu.levelIsComplete=function(t,e){var n=this.layersByLevel[t];if(!n||0===n.length)return!1;for(var i=0,r=0;r<n.length;r++){var a=n[r];if(a.reqs>0)return!1;if(a.invalid)return!1;i+=a.eles.length}return i===e.length},pu.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i<n.length;i++){for(var r=n[i],a=-1,o=0;o<e.length;o++)if(r.eles[0]===e[o]){a=o;break}if(a<0)this.invalidateLayer(r);else{var s=a;for(o=0;o<r.eles.length;o++)if(r.eles[o]!==e[s+o]){this.invalidateLayer(r);break}}}},pu.updateElementsInLayers=function(t,e){for(var n=k(t[0]),i=0;i<t.length;i++)for(var r=n?null:t[i],a=n?t[i]:t[i].ele,o=a._private.rscratch,s=o.imgLayerCaches=o.imgLayerCaches||{},c=-4;c<=2;c++){var u=s[c];u&&(r&&this.getEleLevelForLayerLevel(u.level)!==r.level||e(u,a,r))}},pu.haveLayers=function(){for(var t=!1,e=-4;e<=2;e++){var n=this.layersByLevel[e];if(n&&n.length>0){t=!0;break}}return t},pu.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=Et(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t)})))},pu.invalidateLayer=function(t){if(this.lastInvalidationTime=Et(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Vt(i,t),t.elesQueue=[],t.invalid=!0,t.replacement&&(t.replacement.invalid=!0);for(var r=0;r<n.length;r++){var a=n[r]._private.rscratch.imgLayerCaches;a&&(a[e]=null)}}},pu.refineElementTextures=function(t){var e=this;e.updateElementsInLayers(t,(function(t,n,i){var r=t.replacement;if(r||((r=t.replacement=e.makeLayer(t.bb,t.level)).replaces=t,r.eles=t.eles),!r.reqs)for(var a=0;a<r.eles.length;a++)e.queueLayer(r,r.eles[a])}))},pu.enqueueElementRefinement=function(t){this.eleTxrDeqs.merge(t),this.scheduleElementRefinement()},pu.queueLayer=function(t,e){var n=this.layersQueue,i=t.elesQueue,r=i.hasId=i.hasId||{};if(!t.replacement){if(e){if(r[e.id()])return;i.push(e),r[e.id()]=!0}t.reqs?(t.reqs++,n.updateItem(t)):(t.reqs=1,n.push(t))}},pu.dequeue=function(t){for(var e=this,n=e.layersQueue,i=[],r=0;r<1&&0!==n.size();){var a=n.peek();if(a.replacement)n.pop();else if(a.replaces&&a!==a.replaces.replacement)n.pop();else if(a.invalid)n.pop();else{var o=a.elesQueue.shift();o&&(e.drawEleInLayer(a,o,a.level,t),r++),0===i.length&&i.push(!0),0===a.elesQueue.length&&(n.pop(),a.reqs=0,a.replaces&&e.applyLayerReplacement(a),e.requestRedraw())}}return i},pu.applyLayerReplacement=function(t){var e=this.layersByLevel[t.level],n=t.replaces,i=e.indexOf(n);if(!(i<0||n.invalid)){e[i]=t;for(var r=0;r<t.eles.length;r++){var a=t.eles[r]._private,o=a.imgLayerCaches=a.imgLayerCaches||{};o&&(o[t.level]=t)}this.requestRedraw()}},pu.requestRedraw=mt((function(){var t=this.renderer;t.redrawHint("eles",!0),t.redrawHint("drag",!0),t.redraw()}),100),pu.setupDequeueing=cu({deqRedrawThreshold:50,deqCost:.15,deqAvgCost:.1,deqNoDrawCost:.9,deqFastCost:.9,deq:function(t,e){return t.dequeue(e)},onDeqd:qt,shouldRedraw:jt,priority:function(t){return t.renderer.beforeRenderPriorities.lyrTxrDeq}});var yu,mu={};function vu(t,e){for(var n=0;n<e.length;n++){var i=e[n];t.lineTo(i.x,i.y)}}function xu(t,e,n){for(var i,r=0;r<e.length;r++){var a=e[r];0===r&&(i=a),t.lineTo(a.x,a.y)}t.quadraticCurveTo(n.x,n.y,i.x,i.y)}function ku(t,e,n){t.beginPath&&t.beginPath();for(var i=e,r=0;r<i.length;r++){var a=i[r];t.lineTo(a.x,a.y)}var o=n,s=n[0];for(t.moveTo(s.x,s.y),r=1;r<o.length;r++)a=o[r],t.lineTo(a.x,a.y);t.closePath&&t.closePath()}function _u(t,e,n,i,r){t.beginPath&&t.beginPath(),t.arc(n,i,r,0,2*Math.PI,!1);var a=e,o=a[0];t.moveTo(o.x,o.y);for(var s=0;s<a.length;s++){var c=a[s];t.lineTo(c.x,c.y)}t.closePath&&t.closePath()}function Eu(t,e,n,i){t.arc(e,n,i,0,2*Math.PI,!1)}mu.arrowShapeImpl=function(t){return(yu||(yu={polygon:vu,"triangle-backcurve":xu,"triangle-tee":ku,"circle-triangle":_u,"triangle-cross":ku,circle:Eu}))[t]};var Tu={drawElement:function(t,e,n,i,r,a){e.isNode()?this.drawNode(t,e,n,i,r,a):this.drawEdge(t,e,n,i,r,a)},drawElementOverlay:function(t,e){e.isNode()?this.drawNodeOverlay(t,e):this.drawEdgeOverlay(t,e)},drawElementUnderlay:function(t,e){e.isNode()?this.drawNodeUnderlay(t,e):this.drawEdgeUnderlay(t,e)},drawCachedElementPortion:function(t,e,n,i,r,a,o,s){var c=this,u=n.getBoundingBox(e);if(0!==u.w&&0!==u.h){var l=n.getElement(e,u,i,r,a);if(null!=l){var h=s(c,e);if(0===h)return;var f,d,g,p,b,w,y=o(c,e),m=u.x1,v=u.y1,x=u.w,k=u.h;if(0!==y){var _=n.getRotationPoint(e);g=_.x,p=_.y,t.translate(g,p),t.rotate(y),(b=c.getImgSmoothing(t))||c.setImgSmoothing(t,!0);var E=n.getRotationOffset(e);f=E.x,d=E.y}else f=m,d=v;1!==h&&(w=t.globalAlpha,t.globalAlpha=w*h),t.drawImage(l.texture.canvas,l.x,0,l.width,l.height,f,d,x,k),1!==h&&(t.globalAlpha=w),0!==y&&(t.rotate(-y),t.translate(-g,-p),b||c.setImgSmoothing(t,!1))}else n.drawElement(t,e)}}},Cu=function(){return 0},Su=function(t,e){return t.getTextAngle(e,null)},Au=function(t,e){return t.getTextAngle(e,"source")},Mu=function(t,e){return t.getTextAngle(e,"target")},Iu=function(t,e){return e.effectiveOpacity()},Lu=function(t,e){return e.pstyle("text-opacity").pfValue*e.effectiveOpacity()};Tu.drawCachedElement=function(t,e,n,i,r,a){var o=this,s=o.data,c=s.eleTxrCache,u=s.lblTxrCache,l=s.slbTxrCache,h=s.tlbTxrCache,f=e.boundingBox(),d=!0===a?c.reasons.highQuality:null;if(0!==f.w&&0!==f.h&&e.visible()&&(!i||je(f,i))){var g=e.isEdge(),p=e.element()._private.rscratch.badLine;o.drawElementUnderlay(t,e),o.drawCachedElementPortion(t,e,c,n,r,d,Cu,Iu),g&&p||o.drawCachedElementPortion(t,e,u,n,r,d,Su,Lu),g&&!p&&(o.drawCachedElementPortion(t,e,l,n,r,d,Au,Lu),o.drawCachedElementPortion(t,e,h,n,r,d,Mu,Lu)),o.drawElementOverlay(t,e)}},Tu.drawElements=function(t,e){for(var n=0;n<e.length;n++){var i=e[n];this.drawElement(t,i)}},Tu.drawCachedElements=function(t,e,n,i){for(var r=0;r<e.length;r++){var a=e[r];this.drawCachedElement(t,a,n,i)}},Tu.drawCachedNodes=function(t,e,n,i){for(var r=0;r<e.length;r++){var a=e[r];a.isNode()&&this.drawCachedElement(t,a,n,i)}},Tu.drawLayeredElements=function(t,e,n,i){var r=this.data.lyrTxrCache.getLayers(e,n);if(r)for(var a=0;a<r.length;a++){var o=r[a],s=o.bb;0!==s.w&&0!==s.h&&t.drawImage(o.canvas,s.x1,s.y1,s.w,s.h)}else this.drawCachedElements(t,e,n,i)};var Ou={drawEdge:function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this,s=e._private.rscratch;if((!a||e.visible())&&!s.badLine&&null!=s.allpts&&!isNaN(s.allpts[0])){var c;n&&(c=n,t.translate(-c.x1,-c.y1));var u=a?e.pstyle("opacity").value:1,l=a?e.pstyle("line-opacity").value:1,h=e.pstyle("curve-style").value,f=e.pstyle("line-style").value,d=e.pstyle("width").pfValue,g=e.pstyle("line-cap").value,p=u*l,b=u*l,w=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:p;"straight-triangle"===h?(o.eleStrokeStyle(t,e,n),o.drawEdgeTrianglePath(e,t,s.allpts)):(t.lineWidth=d,t.lineCap=g,o.eleStrokeStyle(t,e,n),o.drawEdgePath(e,t,s.allpts,f),t.lineCap="butt")},y=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var m=e.pstyle("ghost-offset-x").pfValue,v=e.pstyle("ghost-offset-y").pfValue,x=e.pstyle("ghost-opacity").value,k=p*x;t.translate(m,v),w(k),y(k),t.translate(-m,-v)}r&&o.drawEdgeUnderlay(t,e),w(),y(),r&&o.drawEdgeOverlay(t,e),o.drawElementText(t,e,null,i),n&&t.translate(c.x1,c.y1)}}},Du=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n){if(n.visible()){var i=n.pstyle("".concat(t,"-opacity")).value;if(0!==i){var r=this,a=r.usePaths(),o=n._private.rscratch,s=2*n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-color")).value;e.lineWidth=s,"self"!==o.edgeType||a?e.lineCap="round":e.lineCap="butt",r.colorStrokeStyle(e,c[0],c[1],c[2],i),r.drawEdgePath(n,e,o.allpts,"solid")}}}};Ou.drawEdgeOverlay=Du("overlay"),Ou.drawEdgeUnderlay=Du("underlay"),Ou.drawEdgePath=function(t,e,n,i){var r,a=t._private.rscratch,o=e,s=!1,c=this.usePaths(),u=t.pstyle("line-dash-pattern").pfValue,l=t.pstyle("line-dash-offset").pfValue;if(c){var h=n.join("$");a.pathCacheKey&&a.pathCacheKey===h?(r=e=a.pathCache,s=!0):(r=e=new Path2D,a.pathCacheKey=h,a.pathCache=r)}if(o.setLineDash)switch(i){case"dotted":o.setLineDash([1,1]);break;case"dashed":o.setLineDash(u),o.lineDashOffset=l;break;case"solid":o.setLineDash([])}if(!s&&!a.badLine)switch(e.beginPath&&e.beginPath(),e.moveTo(n[0],n[1]),a.edgeType){case"bezier":case"self":case"compound":case"multibezier":for(var f=2;f+3<n.length;f+=4)e.quadraticCurveTo(n[f],n[f+1],n[f+2],n[f+3]);break;case"straight":case"segments":case"haystack":for(var d=2;d+1<n.length;d+=2)e.lineTo(n[d],n[d+1])}e=o,c?e.stroke(r):e.stroke(),e.setLineDash&&e.setLineDash([])},Ou.drawEdgeTrianglePath=function(t,e,n){e.fillStyle=e.strokeStyle;for(var i=t.pstyle("width").pfValue,r=0;r+1<n.length;r+=2){var a=[n[r+2]-n[r],n[r+3]-n[r+1]],o=Math.sqrt(a[0]*a[0]+a[1]*a[1]),s=[a[1]/o,-a[0]/o],c=[s[0]*i/2,s[1]*i/2];e.beginPath(),e.moveTo(n[r]-c[0],n[r+1]-c[1]),e.lineTo(n[r]+c[0],n[r+1]+c[1]),e.lineTo(n[r+2],n[r+3]),e.closePath(),e.fill()}},Ou.drawArrowheads=function(t,e,n){var i=e._private.rscratch,r="haystack"===i.edgeType;r||this.drawArrowhead(t,e,"source",i.arrowStartX,i.arrowStartY,i.srcArrowAngle,n),this.drawArrowhead(t,e,"mid-target",i.midX,i.midY,i.midtgtArrowAngle,n),this.drawArrowhead(t,e,"mid-source",i.midX,i.midY,i.midsrcArrowAngle,n),r||this.drawArrowhead(t,e,"target",i.arrowEndX,i.arrowEndY,i.tgtArrowAngle,n)},Ou.drawArrowhead=function(t,e,n,i,r,a,o){if(!(isNaN(i)||null==i||isNaN(r)||null==r||isNaN(a)||null==a)){var s=this,c=e.pstyle(n+"-arrow-shape").value;if("none"!==c){var u="hollow"===e.pstyle(n+"-arrow-fill").value?"both":"filled",l=e.pstyle(n+"-arrow-fill").value,h=e.pstyle("width").pfValue,f=e.pstyle("opacity").value;void 0===o&&(o=f);var d=t.globalCompositeOperation;1===o&&"hollow"!==l||(t.globalCompositeOperation="destination-out",s.colorFillStyle(t,255,255,255,1),s.colorStrokeStyle(t,255,255,255,1),s.drawArrowShape(e,t,u,h,c,i,r,a),t.globalCompositeOperation=d);var g=e.pstyle(n+"-arrow-color").value;s.colorFillStyle(t,g[0],g[1],g[2],o),s.colorStrokeStyle(t,g[0],g[1],g[2],o),s.drawArrowShape(e,t,l,h,c,i,r,a)}}},Ou.drawArrowShape=function(t,e,n,i,r,a,o,s){var c,u=this,l=this.usePaths()&&"triangle-cross"!==r,h=!1,f=e,d={x:a,y:o},g=t.pstyle("arrow-scale").value,p=this.getArrowWidth(i,g),b=u.arrowShapes[r];if(l){var w=u.arrowPathCache=u.arrowPathCache||[],y=Ot(r),m=w[y];null!=m?(c=e=m,h=!0):(c=e=new Path2D,w[y]=c)}h||(e.beginPath&&e.beginPath(),l?b.draw(e,1,0,{x:0,y:0},1):b.draw(e,p,s,d,i),e.closePath&&e.closePath()),e=f,l&&(e.translate(a,o),e.rotate(s),e.scale(p,p)),"filled"!==n&&"both"!==n||(l?e.fill(c):e.fill()),"hollow"!==n&&"both"!==n||(e.lineWidth=(b.matchEdgeWidth?i:1)/(l?p:1),e.lineJoin="miter",l?e.stroke(c):e.stroke()),l&&(e.scale(1/p,1/p),e.rotate(-s),e.translate(-a,-o))};var Nu={safeDrawImage:function(t,e,n,i,r,a,o,s,c,u){if(!(r<=0||a<=0||c<=0||u<=0))try{t.drawImage(e,n,i,r,a,o,s,c,u)}catch(t){Ut(t)}},drawInscribedImage:function(t,e,n,i,r){var a=this,o=n.position(),s=o.x,c=o.y,u=n.cy().style(),l=u.getIndexedStyle.bind(u),h=l(n,"background-fit","value",i),f=l(n,"background-repeat","value",i),d=n.width(),g=n.height(),p=2*n.padding(),b=d+("inner"===l(n,"background-width-relative-to","value",i)?0:p),w=g+("inner"===l(n,"background-height-relative-to","value",i)?0:p),y=n._private.rscratch,m="node"===l(n,"background-clip","value",i),v=l(n,"background-image-opacity","value",i)*r,x=l(n,"background-image-smoothing","value",i),k=e.width||e.cachedW,_=e.height||e.cachedH;null!=k&&null!=_||(document.body.appendChild(e),k=e.cachedW=e.width||e.offsetWidth,_=e.cachedH=e.height||e.offsetHeight,document.body.removeChild(e));var E=k,T=_;if("auto"!==l(n,"background-width","value",i)&&(E="%"===l(n,"background-width","units",i)?l(n,"background-width","pfValue",i)*b:l(n,"background-width","pfValue",i)),"auto"!==l(n,"background-height","value",i)&&(T="%"===l(n,"background-height","units",i)?l(n,"background-height","pfValue",i)*w:l(n,"background-height","pfValue",i)),0!==E&&0!==T){if("contain"===h)E*=C=Math.min(b/E,w/T),T*=C;else if("cover"===h){var C;E*=C=Math.max(b/E,w/T),T*=C}var S=s-b/2,A=l(n,"background-position-x","units",i),M=l(n,"background-position-x","pfValue",i);S+="%"===A?(b-E)*M:M;var I=l(n,"background-offset-x","units",i),L=l(n,"background-offset-x","pfValue",i);S+="%"===I?(b-E)*L:L;var O=c-w/2,D=l(n,"background-position-y","units",i),N=l(n,"background-position-y","pfValue",i);O+="%"===D?(w-T)*N:N;var P=l(n,"background-offset-y","units",i),B=l(n,"background-offset-y","pfValue",i);O+="%"===P?(w-T)*B:B,y.pathCache&&(S-=s,O-=c,s=0,c=0);var F=t.globalAlpha;t.globalAlpha=v;var $=a.getImgSmoothing(t),j=!1;if("no"===x&&$?(a.setImgSmoothing(t,!1),j=!0):"yes"!==x||$||(a.setImgSmoothing(t,!0),j=!0),"no-repeat"===f)m&&(t.save(),y.pathCache?t.clip(y.pathCache):(a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.clip())),a.safeDrawImage(t,e,0,0,k,_,S,O,E,T),m&&t.restore();else{var R=t.createPattern(e,f);t.fillStyle=R,a.nodeShapes[a.getNodeShape(n)].draw(t,s,c,b,w),t.translate(S,O),t.fill(),t.translate(-S,-O)}t.globalAlpha=F,j&&a.setImgSmoothing(t,$)}}},Pu={};Pu.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil(Ce(n*i));e=Math.pow(2,r)}return!(t.pstyle("font-size").pfValue*e<t.pstyle("min-zoomed-font-size").pfValue)},Pu.drawElementText=function(t,e,n,i,r){var a=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],o=this;if(null==i){if(a&&!o.eleTextBiggerThanMin(e))return}else if(!1===i)return;if(e.isNode()){var s=e.pstyle("label");if(!s||!s.value)return;var c=o.getLabelJustification(e);t.textAlign=c,t.textBaseline="bottom"}else{var u=e.element()._private.rscratch.badLine,l=e.pstyle("label"),h=e.pstyle("source-label"),f=e.pstyle("target-label");if(u||(!l||!l.value)&&(!h||!h.value)&&(!f||!f.value))return;t.textAlign="center",t.textBaseline="bottom"}var d,g=!n;n&&(d=n,t.translate(-d.x1,-d.y1)),null==r?(o.drawText(t,e,null,g,a),e.isEdge()&&(o.drawText(t,e,"source",g,a),o.drawText(t,e,"target",g,a))):o.drawText(t,e,r,g,a),n&&t.translate(d.x1,d.y1)},Pu.getFontCache=function(t){var e;this.fontCaches=this.fontCaches||[];for(var n=0;n<this.fontCaches.length;n++)if((e=this.fontCaches[n]).context===t)return e;return e={context:t},this.fontCaches.push(e),e},Pu.setupTextStyle=function(t,e){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=e.pstyle("font-style").strValue,r=e.pstyle("font-size").pfValue+"px",a=e.pstyle("font-family").strValue,o=e.pstyle("font-weight").strValue,s=n?e.effectiveOpacity()*e.pstyle("text-opacity").value:1,c=e.pstyle("text-outline-opacity").value*s,u=e.pstyle("color").value,l=e.pstyle("text-outline-color").value;t.font=i+" "+o+" "+r+" "+a,t.lineJoin="round",this.colorFillStyle(t,u[0],u[1],u[2],s),this.colorStrokeStyle(t,l[0],l[1],l[2],c)},Pu.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=Jt(n,"labelAngle",e);return"autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},Pu.drawText=function(t,e,n){var i=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],r=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],a=e._private.rscratch,o=r?e.effectiveOpacity():1;if(!r||0!==o&&0!==e.pstyle("text-opacity").value){"main"===n&&(n=null);var s,c,u=Jt(a,"labelX",n),l=Jt(a,"labelY",n),h=this.getLabelText(e,n);if(null!=h&&""!==h&&!isNaN(u)&&!isNaN(l)){this.setupTextStyle(t,e,r);var f,d=n?n+"-":"",g=Jt(a,"labelWidth",n),p=Jt(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,y=e.isEdge(),m=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(y&&(m="center",v="center"),u+=b,l+=w,0!==(f=i?this.getTextAngle(e,n):0)&&(s=u,c=l,t.translate(s,c),t.rotate(f),u=0,l=0),v){case"top":break;case"center":l+=p/2;break;case"bottom":l+=p}var x=e.pstyle("text-background-opacity").value,k=e.pstyle("text-border-opacity").value,_=e.pstyle("text-border-width").pfValue,E=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var T=u-E;switch(m){case"left":T-=g;break;case"center":T-=g/2}var C=l-p-E,S=g+2*E,A=p+2*E;if(x>0){var M=t.fillStyle,I=e.pstyle("text-background-color").value;t.fillStyle="rgba("+I[0]+","+I[1]+","+I[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?function(t,e,n,i,r){var a=arguments.length>5&&void 0!==arguments[5]?arguments[5]:5;t.beginPath(),t.moveTo(e+a,n),t.lineTo(e+i-a,n),t.quadraticCurveTo(e+i,n,e+i,n+a),t.lineTo(e+i,n+r-a),t.quadraticCurveTo(e+i,n+r,e+i-a,n+r),t.lineTo(e+a,n+r),t.quadraticCurveTo(e,n+r,e,n+r-a),t.lineTo(e,n+a),t.quadraticCurveTo(e,n,e+a,n),t.closePath(),t.fill()}(t,T,C,S,A,2):t.fillRect(T,C,S,A),t.fillStyle=M}if(_>0&&k>0){var L=t.strokeStyle,O=t.lineWidth,D=e.pstyle("text-border-color").value,N=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+D[0]+","+D[1]+","+D[2]+","+k*o+")",t.lineWidth=_,t.setLineDash)switch(N){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"double":t.lineWidth=_/4,t.setLineDash([]);break;case"solid":t.setLineDash([])}if(t.strokeRect(T,C,S,A),"double"===N){var P=_/2;t.strokeRect(T+P,C+P,S-2*P,A-2*P)}t.setLineDash&&t.setLineDash([]),t.lineWidth=O,t.strokeStyle=L}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var F=Jt(a,"labelWrapCachedLines",n),$=Jt(a,"labelLineHeight",n),j=g/2,R=this.getLabelJustification(e);switch("auto"===R||("left"===m?"left"===R?u+=-g:"center"===R&&(u+=-j):"center"===m?"left"===R?u+=-j:"right"===R&&(u+=j):"right"===m&&("center"===R?u+=j:"right"===R&&(u+=g))),v){case"top":case"center":case"bottom":l-=(F.length-1)*$}for(var z=0;z<F.length;z++)B>0&&t.strokeText(F[z],u,l),t.fillText(F[z],u,l),l+=$}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var Bu={drawNode:function(t,e,n){var i,r,a=!(arguments.length>3&&void 0!==arguments[3])||arguments[3],o=!(arguments.length>4&&void 0!==arguments[4])||arguments[4],s=!(arguments.length>5&&void 0!==arguments[5])||arguments[5],c=this,u=e._private,l=u.rscratch,h=e.position();if(m(h.x)&&m(h.y)&&(!s||e.visible())){var f,d,g=s?e.effectiveOpacity():1,p=c.usePaths(),b=!1,w=e.padding();i=e.width()+2*w,r=e.height()+2*w,n&&(d=n,t.translate(-d.x1,-d.y1));for(var y=e.pstyle("background-image").value,v=new Array(y.length),x=new Array(y.length),k=0,_=0;_<y.length;_++){var E=y[_];if(v[_]=null!=E&&"none"!==E){var T=e.cy().style().getIndexedStyle(e,"background-image-crossorigin","value",_);k++,x[_]=c.getCachedImage(E,T,(function(){u.backgroundTimestamp=Date.now(),e.emitAndNotify("background")}))}}var C=e.pstyle("background-blacken").value,S=e.pstyle("border-width").pfValue,A=e.pstyle("background-opacity").value*g,M=e.pstyle("border-color").value,I=e.pstyle("border-style").value,L=e.pstyle("border-opacity").value*g;t.lineJoin="miter";var O=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:A;c.eleFillStyle(t,e,n)},D=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:L;c.colorStrokeStyle(t,M[0],M[1],M[2],e)},N=e.pstyle("shape").strValue,P=e.pstyle("shape-polygon-points").pfValue;if(p){t.translate(h.x,h.y);var B=c.nodePathCache=c.nodePathCache||[],F=Dt("polygon"===N?N+","+P.join(","):N,""+r,""+i),$=B[F];null!=$?(f=$,b=!0,l.pathCache=f):(f=new Path2D,B[F]=l.pathCache=f)}var j=function(){if(!b){var n=h;p&&(n={x:0,y:0}),c.nodeShapes[c.getNodeShape(e)].draw(f||t,n.x,n.y,i,r)}p?t.fill(f):t.fill()},R=function(){for(var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:g,i=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],r=u.backgrounding,a=0,o=0;o<x.length;o++){var s=e.cy().style().getIndexedStyle(e,"background-image-containment","value",o);i&&"over"===s||!i&&"inside"===s?a++:v[o]&&x[o].complete&&!x[o].error&&(a++,c.drawInscribedImage(t,x[o],e,o,n))}u.backgrounding=!(a===k),r!==u.backgrounding&&e.updateStyle(!1)},z=function(){var n=arguments.length>0&&void 0!==arguments[0]&&arguments[0],a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:g;c.hasPie(e)&&(c.drawPie(t,e,a),n&&(p||c.nodeShapes[c.getNodeShape(e)].draw(t,h.x,h.y,i,r)))},q=function(){var e=(C>0?C:-C)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=C>0?0:255;0!==C&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},H=function(){if(S>0){if(t.lineWidth=S,t.lineCap="butt",t.setLineDash)switch(I){case"dotted":t.setLineDash([1,1]);break;case"dashed":t.setLineDash([4,2]);break;case"solid":case"double":t.setLineDash([])}if(p?t.stroke(f):t.stroke(),"double"===I){t.lineWidth=S/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}};if("yes"===e.pstyle("ghost").value){var Z=e.pstyle("ghost-offset-x").pfValue,U=e.pstyle("ghost-offset-y").pfValue,Y=e.pstyle("ghost-opacity").value,G=Y*g;t.translate(Z,U),O(Y*A),j(),R(G,!0),D(Y*L),H(),z(0!==C||0!==S),R(G,!1),q(G),t.translate(-Z,-U)}p&&t.translate(-h.x,-h.y),o&&c.drawNodeUnderlay(t,e,h,i,r),p&&t.translate(h.x,h.y),O(),j(),R(g,!0),D(),H(),z(0!==C||0!==S),R(g,!1),q(),p&&t.translate(-h.x,-h.y),c.drawElementText(t,e,null,a),o&&c.drawNodeOverlay(t,e,h,i,r),n&&t.translate(d.x1,d.y1)}}},Fu=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){if(n.visible()){var o=n.pstyle("".concat(t,"-padding")).pfValue,s=n.pstyle("".concat(t,"-opacity")).value,c=n.pstyle("".concat(t,"-color")).value,u=n.pstyle("".concat(t,"-shape")).value;if(s>0){if(i=i||n.position(),null==r||null==a){var l=n.padding();r=n.width()+2*l,a=n.height()+2*l}this.colorFillStyle(e,c[0],c[1],c[2],s),this.nodeShapes[u].draw(e,i.x,i.y,r+2*o,a+2*o),e.fill()}}}};Bu.drawNodeOverlay=Fu("overlay"),Bu.drawNodeUnderlay=Fu("underlay"),Bu.hasPie=function(t){return(t=t[0])._private.hasPie},Bu.drawPie=function(t,e,n,i){e=e[0],i=i||e.position();var r=e.cy().style(),a=e.pstyle("pie-size"),o=i.x,s=i.y,c=e.width(),u=e.height(),l=Math.min(c,u)/2,h=0;this.usePaths()&&(o=0,s=0),"%"===a.units?l*=a.pfValue:void 0!==a.pfValue&&(l=a.pfValue/2);for(var f=1;f<=r.pieBackgroundN;f++){var d=e.pstyle("pie-"+f+"-background-size").value,g=e.pstyle("pie-"+f+"-background-color").value,p=e.pstyle("pie-"+f+"-background-opacity").value*n,b=d/100;b+h>1&&(b=1-h);var w=1.5*Math.PI+2*Math.PI*h,y=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,y),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b)}};var $u={};$u.getPixelRatio=function(){var t=this.data.contexts[0];if(null!=this.forcedPixelRatio)return this.forcedPixelRatio;var e=t.backingStorePixelRatio||t.webkitBackingStorePixelRatio||t.mozBackingStorePixelRatio||t.msBackingStorePixelRatio||t.oBackingStorePixelRatio||t.backingStorePixelRatio||1;return(window.devicePixelRatio||1)/e},$u.paintCache=function(t){for(var e,n=this.paintCaches=this.paintCaches||[],i=!0,r=0;r<n.length;r++)if((e=n[r]).context===t){i=!1;break}return i&&(e={context:t},n.push(e)),e},$u.createGradientStyleFor=function(t,e,n,i,r){var a,o=this.usePaths(),s=n.pstyle(e+"-gradient-stop-colors").value,c=n.pstyle(e+"-gradient-stop-positions").pfValue;if("radial-gradient"===i)if(n.isEdge()){var u=n.sourceEndpoint(),l=n.targetEndpoint(),h=n.midpoint(),f=Ae(u,h),d=Ae(l,h);a=t.createRadialGradient(h.x,h.y,0,h.x,h.y,Math.max(f,d))}else{var g=o?{x:0,y:0}:n.position(),p=n.paddedWidth(),b=n.paddedHeight();a=t.createRadialGradient(g.x,g.y,0,g.x,g.y,Math.max(p,b))}else if(n.isEdge()){var w=n.sourceEndpoint(),y=n.targetEndpoint();a=t.createLinearGradient(w.x,w.y,y.x,y.y)}else{var m=o?{x:0,y:0}:n.position(),v=n.paddedWidth()/2,x=n.paddedHeight()/2;switch(n.pstyle("background-gradient-direction").value){case"to-bottom":a=t.createLinearGradient(m.x,m.y-x,m.x,m.y+x);break;case"to-top":a=t.createLinearGradient(m.x,m.y+x,m.x,m.y-x);break;case"to-left":a=t.createLinearGradient(m.x+v,m.y,m.x-v,m.y);break;case"to-right":a=t.createLinearGradient(m.x-v,m.y,m.x+v,m.y);break;case"to-bottom-right":case"to-right-bottom":a=t.createLinearGradient(m.x-v,m.y-x,m.x+v,m.y+x);break;case"to-top-right":case"to-right-top":a=t.createLinearGradient(m.x-v,m.y+x,m.x+v,m.y-x);break;case"to-bottom-left":case"to-left-bottom":a=t.createLinearGradient(m.x+v,m.y-x,m.x-v,m.y+x);break;case"to-top-left":case"to-left-top":a=t.createLinearGradient(m.x+v,m.y+x,m.x-v,m.y-x)}}if(!a)return null;for(var k=c.length===s.length,_=s.length,E=0;E<_;E++)a.addColorStop(k?c[E]:E/(_-1),"rgba("+s[E][0]+","+s[E][1]+","+s[E][2]+","+r+")");return a},$u.gradientFillStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"background",e,n,i);if(!r)return null;t.fillStyle=r},$u.colorFillStyle=function(t,e,n,i,r){t.fillStyle="rgba("+e+","+n+","+i+","+r+")"},$u.eleFillStyle=function(t,e,n){var i=e.pstyle("background-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientFillStyle(t,e,i,n);else{var r=e.pstyle("background-color").value;this.colorFillStyle(t,r[0],r[1],r[2],n)}},$u.gradientStrokeStyle=function(t,e,n,i){var r=this.createGradientStyleFor(t,"line",e,n,i);if(!r)return null;t.strokeStyle=r},$u.colorStrokeStyle=function(t,e,n,i,r){t.strokeStyle="rgba("+e+","+n+","+i+","+r+")"},$u.eleStrokeStyle=function(t,e,n){var i=e.pstyle("line-fill").value;if("linear-gradient"===i||"radial-gradient"===i)this.gradientStrokeStyle(t,e,i,n);else{var r=e.pstyle("line-color").value;this.colorStrokeStyle(t,r[0],r[1],r[2],n)}},$u.matchCanvasSize=function(t){var e=this,n=e.data,i=e.findContainerClientCoords(),r=i[2],a=i[3],o=e.getPixelRatio(),s=e.motionBlurPxRatio;t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_NODE]&&t!==e.data.bufferCanvases[e.MOTIONBLUR_BUFFER_DRAG]||(o=s);var c,u=r*o,l=a*o;if(u!==e.canvasWidth||l!==e.canvasHeight){e.fontCaches=null;var h=n.canvasContainer;h.style.width=r+"px",h.style.height=a+"px";for(var f=0;f<e.CANVAS_LAYERS;f++)(c=n.canvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";for(f=0;f<e.BUFFER_COUNT;f++)(c=n.bufferCanvases[f]).width=u,c.height=l,c.style.width=r+"px",c.style.height=a+"px";e.textureMult=1,o<=1&&(c=n.bufferCanvases[e.TEXTURE_BUFFER],e.textureMult=2,c.width=u*e.textureMult,c.height=l*e.textureMult),e.canvasWidth=u,e.canvasHeight=l}},$u.renderTo=function(t,e,n,i){this.render({forcedContext:t,forcedZoom:e,forcedPan:n,drawAllLayers:!0,forcedPxRatio:i})},$u.render=function(t){var e=(t=t||Wt()).forcedContext,n=t.drawAllLayers,i=t.drawOnlyNodeLayer,r=t.forcedZoom,a=t.forcedPan,o=this,s=void 0===t.forcedPxRatio?this.getPixelRatio():t.forcedPxRatio,c=o.cy,u=o.data,l=u.canvasNeedsRedraw,h=o.textureOnViewport&&!e&&(o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming),f=void 0!==t.motionBlur?t.motionBlur:o.motionBlur,d=o.motionBlurPxRatio,g=c.hasCompoundNodes(),p=o.hoverData.draggingEles,b=!(!o.hoverData.selecting&&!o.touchData.selecting),w=f=f&&!e&&o.motionBlurEnabled&&!b;e||(o.prevPxRatio!==s&&(o.invalidateContainerClientCoordsCache(),o.matchCanvasSize(o.container),o.redrawHint("eles",!0),o.redrawHint("drag",!0)),o.prevPxRatio=s),!e&&o.motionBlurTimeout&&clearTimeout(o.motionBlurTimeout),f&&(null==o.mbFrames&&(o.mbFrames=0),o.mbFrames++,o.mbFrames<3&&(w=!1),o.mbFrames>o.minMbLowQualFrames&&(o.motionBlurPxRatio=o.mbPxRBlurry)),o.clearingMotionBlur&&(o.motionBlurPxRatio=1),o.textureDrawLastFrame&&!h&&(l[o.NODE]=!0,l[o.SELECT_BOX]=!0);var y=c.style(),m=c.zoom(),v=void 0!==r?r:m,x=c.pan(),k={x:x.x,y:x.y},_={zoom:m,pan:{x:x.x,y:x.y}},E=o.prevViewport;void 0===E||_.zoom!==E.zoom||_.pan.x!==E.pan.x||_.pan.y!==E.pan.y||p&&!g||(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var T=o.getCachedZSortedEles();function C(t,e,n,i,r){var a=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",o.colorFillStyle(t,255,255,255,o.motionBlurTransparency),t.fillRect(e,n,i,r),t.globalCompositeOperation=a}function S(t,i){var s,c,l,h;o.clearingMotionBlur||t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]&&t!==u.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]?(s=k,c=v,l=o.canvasWidth,h=o.canvasHeight):(s={x:x.x*d,y:x.y*d},c=m*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?C(t,0,0,l,h):e||void 0!==i&&!i||t.clearRect(0,0,l,h),n||(t.translate(s.x,s.y),t.scale(c,c)),a&&t.translate(a.x,a.y),r&&t.scale(r,r)}if(h||(o.textureDrawLastFrame=!1),h){if(o.textureDrawLastFrame=!0,!o.textureCache){o.textureCache={},o.textureCache.bb=c.mutableElements().boundingBox(),o.textureCache.texture=o.data.bufferCanvases[o.TEXTURE_BUFFER];var A=o.data.bufferContexts[o.TEXTURE_BUFFER];A.setTransform(1,0,0,1,0,0),A.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:A,drawOnlyNodeLayer:!0,forcedPxRatio:s*o.textureMult}),(_=o.textureCache.viewport={zoom:c.zoom(),pan:c.pan(),width:o.canvasWidth,height:o.canvasHeight}).mpan={x:(0-_.pan.x)/_.zoom,y:(0-_.pan.y)/_.zoom}}l[o.DRAG]=!1,l[o.NODE]=!1;var M=u.contexts[o.NODE],I=o.textureCache.texture;_=o.textureCache.viewport,M.setTransform(1,0,0,1,0,0),f?C(M,0,0,_.width,_.height):M.clearRect(0,0,_.width,_.height);var L=y.core("outside-texture-bg-color").value,O=y.core("outside-texture-bg-opacity").value;o.colorFillStyle(M,L[0],L[1],L[2],O),M.fillRect(0,0,_.width,_.height),m=c.zoom(),S(M,!1),M.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),M.drawImage(I,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var D=c.extent(),N=o.pinching||o.hoverData.dragging||o.swipePanning||o.data.wheelZooming||o.hoverData.draggingEles||o.cy.animated(),P=o.hideEdgesOnViewport&&N,B=[];if(B[o.NODE]=!l[o.NODE]&&f&&!o.clearedForMotionBlur[o.NODE]||o.clearingMotionBlur,B[o.NODE]&&(o.clearedForMotionBlur[o.NODE]=!0),B[o.DRAG]=!l[o.DRAG]&&f&&!o.clearedForMotionBlur[o.DRAG]||o.clearingMotionBlur,B[o.DRAG]&&(o.clearedForMotionBlur[o.DRAG]=!0),l[o.NODE]||n||i||B[o.NODE]){var F=f&&!B[o.NODE]&&1!==d;S(M=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(M,T.nondrag,s,D):o.drawLayeredElements(M,T.nondrag,s,D),o.debug&&o.drawDebugPoints(M,T.nondrag),n||f||(l[o.NODE]=!1)}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(F=f&&!B[o.DRAG]&&1!==d,S(M=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(M,T.drag,s,D):o.drawCachedElements(M,T.drag,s,D),o.debug&&o.drawDebugPoints(M,T.drag),n||f||(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(S(M=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){m=o.cy.zoom();var $=y.core("selection-box-border-width").value/m;M.lineWidth=$,M.fillStyle="rgba("+y.core("selection-box-color").value[0]+","+y.core("selection-box-color").value[1]+","+y.core("selection-box-color").value[2]+","+y.core("selection-box-opacity").value+")",M.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),$>0&&(M.strokeStyle="rgba("+y.core("selection-box-border-color").value[0]+","+y.core("selection-box-border-color").value[1]+","+y.core("selection-box-border-color").value[2]+","+y.core("selection-box-opacity").value+")",M.strokeRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]))}if(u.bgActivePosistion&&!o.hoverData.selecting){m=o.cy.zoom();var j=u.bgActivePosistion;M.fillStyle="rgba("+y.core("active-bg-color").value[0]+","+y.core("active-bg-color").value[1]+","+y.core("active-bg-color").value[2]+","+y.core("active-bg-opacity").value+")",M.beginPath(),M.arc(j.x,j.y,y.core("active-bg-size").pfValue/m,0,2*Math.PI),M.fill()}var R=o.lastRedrawTime;if(o.showFps&&R){R=Math.round(R);var z=Math.round(1e3/R);M.setTransform(1,0,0,1,0,0),M.fillStyle="rgba(255, 0, 0, 0.75)",M.strokeStyle="rgba(255, 0, 0, 0.75)",M.lineWidth=1,M.fillText("1 frame = "+R+" ms = "+z+" fps",0,20);M.strokeRect(0,30,250,20),M.fillRect(0,30,250*Math.min(z/60,1),20)}n||(l[o.SELECT_BOX]=!1)}if(f&&1!==d){var q=u.contexts[o.NODE],H=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],Z=u.contexts[o.DRAG],U=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Y=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):C(t,0,0,o.canvasWidth,o.canvasHeight);var i=d;t.drawImage(e,0,0,o.canvasWidth*i,o.canvasHeight*i,0,0,o.canvasWidth,o.canvasHeight)};(l[o.NODE]||B[o.NODE])&&(Y(q,H,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Y(Z,U,B[o.DRAG]),l[o.DRAG]=!1)}o.prevViewport=_,o.clearingMotionBlur&&(o.clearingMotionBlur=!1,o.motionBlurCleared=!0,o.motionBlur=!0),f&&(o.motionBlurTimeout=setTimeout((function(){o.motionBlurTimeout=null,o.clearedForMotionBlur[o.NODE]=!1,o.clearedForMotionBlur[o.DRAG]=!1,o.motionBlur=!1,o.clearingMotionBlur=!h,o.mbFrames=0,l[o.NODE]=!0,l[o.DRAG]=!0,o.redraw()}),100)),e||c.emit("render")};for(var ju={drawPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2;t.beginPath&&t.beginPath(),t.moveTo(e+o*a[0],n+s*a[1]);for(var c=1;c<a.length/2;c++)t.lineTo(e+o*a[2*c],n+s*a[2*c+1]);t.closePath()},drawRoundPolygonPath:function(t,e,n,i,r,a){var o=i/2,s=r/2,c=cn(i,r);t.beginPath&&t.beginPath();for(var u=0;u<a.length/4;u++){var l,h;l=0===u?a.length-2:4*u-2,h=4*u+2;var f=e+o*a[4*u],d=n+s*a[4*u+1],g=-a[l]*a[h]-a[l+1]*a[h+1],p=c/Math.tan(Math.acos(g)/2),b=f-p*a[l],w=d-p*a[l+1],y=f+p*a[h],m=d+p*a[h+1];0===u?t.moveTo(b,w):t.lineTo(b,w),t.arcTo(f,d,y,m,c)}t.closePath()},drawRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=sn(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.arcTo(e+a,n-o,e+a,n,s),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.arcTo(e-a,n-o,e,n-o,s),t.lineTo(e,n-o),t.closePath()},drawBottomRoundRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2,s=sn(i,r);t.beginPath&&t.beginPath(),t.moveTo(e,n-o),t.lineTo(e+a,n-o),t.lineTo(e+a,n),t.arcTo(e+a,n+o,e,n+o,s),t.arcTo(e-a,n+o,e-a,n,s),t.lineTo(e-a,n-o),t.lineTo(e,n-o),t.closePath()},drawCutRectanglePath:function(t,e,n,i,r){var a=i/2,o=r/2;t.beginPath&&t.beginPath(),t.moveTo(e-a+8,n-o),t.lineTo(e+a-8,n-o),t.lineTo(e+a,n-o+8),t.lineTo(e+a,n+o-8),t.lineTo(e+a-8,n+o),t.lineTo(e-a+8,n+o),t.lineTo(e-a,n+o-8),t.lineTo(e-a,n-o+8),t.closePath()},drawBarrelPath:function(t,e,n,i,r){var a=i/2,o=r/2,s=e-a,c=e+a,u=n-o,l=n+o,h=un(i,r),f=h.widthOffset,d=h.heightOffset,g=h.ctrlPtOffsetPct*f;t.beginPath&&t.beginPath(),t.moveTo(s,u+d),t.lineTo(s,l-d),t.quadraticCurveTo(s+g,l,s+f,l),t.lineTo(c-f,l),t.quadraticCurveTo(c-g,l,c,l-d),t.lineTo(c,u+d),t.quadraticCurveTo(c-g,u,c-f,u),t.lineTo(s+f,u),t.quadraticCurveTo(s+g,u,s,u+d),t.closePath()}},Ru=Math.sin(0),zu=Math.cos(0),qu={},Hu={},Zu=Math.PI/40,Uu=0*Math.PI;Uu<2*Math.PI;Uu+=Zu)qu[Uu]=Math.sin(Uu),Hu[Uu]=Math.cos(Uu);ju.drawEllipsePath=function(t,e,n,i,r){if(t.beginPath&&t.beginPath(),t.ellipse)t.ellipse(e,n,i/2,r/2,0,0,2*Math.PI);else for(var a,o,s=i/2,c=r/2,u=0*Math.PI;u<2*Math.PI;u+=Zu)a=e-s*qu[u]*Ru+s*Hu[u]*zu,o=n+c*Hu[u]*Ru+c*qu[u]*zu,0===u?t.moveTo(a,o):t.lineTo(a,o);t.closePath()};var Yu={};function Gu(t){var e=t.indexOf(",");return t.substr(e+1)}function Ku(t,e,n){var i=function(){return e.toDataURL(n,t.quality)};switch(t.output){case"blob-promise":return new _i((function(i,r){try{e.toBlob((function(t){null!=t?i(t):r(new Error("`canvas.toBlob()` sent a null value in its callback"))}),n,t.quality)}catch(t){r(t)}}));case"blob":return function(t,e){for(var n=atob(t),i=new ArrayBuffer(n.length),r=new Uint8Array(i),a=0;a<n.length;a++)r[a]=n.charCodeAt(a);return new Blob([i],{type:e})}(Gu(i()),n);case"base64":return Gu(i());default:return i()}}Yu.createBuffer=function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,[n,n.getContext("2d")]},Yu.bufferCanvasImage=function(t){var e=this.cy,n=e.mutableElements().boundingBox(),i=this.findContainerClientCoords(),r=t.full?Math.ceil(n.w):i[2],a=t.full?Math.ceil(n.h):i[3],o=m(t.maxWidth)||m(t.maxHeight),s=this.getPixelRatio(),c=1;if(void 0!==t.scale)r*=t.scale,a*=t.scale,c=t.scale;else if(o){var u=1/0,l=1/0;m(t.maxWidth)&&(u=c*t.maxWidth/r),m(t.maxHeight)&&(l=c*t.maxHeight/a),r*=c=Math.min(u,l),a*=c}o||(r*=s,a*=s,c*=s);var h=document.createElement("canvas");h.width=r,h.height=a,h.style.width=r+"px",h.style.height=a+"px";var f=h.getContext("2d");if(r>0&&a>0){f.clearRect(0,0,r,a),f.globalCompositeOperation="source-over";var d=this.getCachedZSortedEles();if(t.full)f.translate(-n.x1*c,-n.y1*c),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(n.x1*c,n.y1*c);else{var g=e.pan(),p={x:g.x*c,y:g.y*c};c*=e.zoom(),f.translate(p.x,p.y),f.scale(c,c),this.drawElements(f,d),f.scale(1/c,1/c),f.translate(-p.x,-p.y)}t.bg&&(f.globalCompositeOperation="destination-over",f.fillStyle=t.bg,f.rect(0,0,r,a),f.fill())}return h},Yu.png=function(t){return Ku(t,this.bufferCanvasImage(t),"image/png")},Yu.jpg=function(t){return Ku(t,this.bufferCanvasImage(t),"image/jpeg")};var Wu=Vu,Xu=Vu.prototype;function Vu(t){var e=this;e.data={canvases:new Array(Xu.CANVAS_LAYERS),contexts:new Array(Xu.CANVAS_LAYERS),canvasNeedsRedraw:new Array(Xu.CANVAS_LAYERS),bufferCanvases:new Array(Xu.BUFFER_COUNT),bufferContexts:new Array(Xu.CANVAS_LAYERS)};var n="-webkit-tap-highlight-color",i="rgba(0,0,0,0)";e.data.canvasContainer=document.createElement("div");var r=e.data.canvasContainer.style;e.data.canvasContainer.style[n]=i,r.position="relative",r.zIndex="0",r.overflow="hidden";var a=t.cy.container();a.appendChild(e.data.canvasContainer),a.style[n]=i;var o={"-webkit-user-select":"none","-moz-user-select":"-moz-none","user-select":"none","-webkit-tap-highlight-color":"rgba(0,0,0,0)","outline-style":"none"};u&&u.userAgent.match(/msie|trident|edge/i)&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s<Xu.CANVAS_LAYERS;s++){var c=e.data.canvases[s]=document.createElement("canvas");e.data.contexts[s]=c.getContext("2d"),Object.keys(o).forEach((function(t){c.style[t]=o[t]})),c.style.position="absolute",c.setAttribute("data-id","layer"+s),c.style.zIndex=String(Xu.CANVAS_LAYERS-s),e.data.canvasContainer.appendChild(c),e.data.canvasNeedsRedraw[s]=!1}for(e.data.topCanvas=e.data.canvases[0],e.data.canvases[Xu.NODE].setAttribute("data-id","layer"+Xu.NODE+"-node"),e.data.canvases[Xu.SELECT_BOX].setAttribute("data-id","layer"+Xu.SELECT_BOX+"-selectbox"),e.data.canvases[Xu.DRAG].setAttribute("data-id","layer"+Xu.DRAG+"-drag"),s=0;s<Xu.BUFFER_COUNT;s++)e.data.bufferCanvases[s]=document.createElement("canvas"),e.data.bufferContexts[s]=e.data.bufferCanvases[s].getContext("2d"),e.data.bufferCanvases[s].style.position="absolute",e.data.bufferCanvases[s].setAttribute("data-id","buffer"+s),e.data.bufferCanvases[s].style.zIndex=String(-s-1),e.data.bufferCanvases[s].style.visibility="hidden";e.pathsEnabled=!0;var l=Ne(),h=function(t){return{x:-t.w/2,y:-t.h/2}},f=function(t){return t.boundingBox(),t[0]._private.bodyBounds},d=function(t){return t.boundingBox(),t[0]._private.labelBounds.main||l},g=function(t){return t.boundingBox(),t[0]._private.labelBounds.source||l},p=function(t){return t.boundingBox(),t[0]._private.labelBounds.target||l},b=function(t,e){return e},w=function(t,e,n){var i=t?t+"-":"";return{x:e.x+n.pstyle(i+"text-margin-x").pfValue,y:e.y+n.pstyle(i+"text-margin-y").pfValue}},y=function(t,e,n){var i=t[0]._private.rscratch;return{x:i[e],y:i[n]}},m=e.data.eleTxrCache=new fu(e,{getKey:function(t){return t[0]._private.nodeKey},doesEleInvalidateKey:function(t){var e=t[0]._private;return!(e.oldBackgroundTimestamp===e.backgroundTimestamp)},drawElement:function(t,n,i,r,a){return e.drawElement(t,n,i,!1,!1,a)},getBoundingBox:f,getRotationPoint:function(t){return{x:((e=f(t)).x1+e.x2)/2,y:(e.y1+e.y2)/2};var e},getRotationOffset:function(t){return h(f(t))},allowEdgeTxrCaching:!1,allowParentTxrCaching:!1}),v=e.data.lblTxrCache=new fu(e,{getKey:function(t){return t[0]._private.labelStyleKey},drawElement:function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"main",a)},getBoundingBox:d,getRotationPoint:function(t){return w("",y(t,"labelX","labelY"),t)},getRotationOffset:function(t){var e=d(t),n=h(d(t));if(t.isNode()){switch(t.pstyle("text-halign").value){case"left":n.x=-e.w;break;case"right":n.x=0}switch(t.pstyle("text-valign").value){case"top":n.y=-e.h;break;case"bottom":n.y=0}}return n},isVisible:b}),x=e.data.slbTxrCache=new fu(e,{getKey:function(t){return t[0]._private.sourceLabelStyleKey},drawElement:function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"source",a)},getBoundingBox:g,getRotationPoint:function(t){return w("source",y(t,"sourceLabelX","sourceLabelY"),t)},getRotationOffset:function(t){return h(g(t))},isVisible:b}),k=e.data.tlbTxrCache=new fu(e,{getKey:function(t){return t[0]._private.targetLabelStyleKey},drawElement:function(t,n,i,r,a){return e.drawElementText(t,n,i,r,"target",a)},getBoundingBox:p,getRotationPoint:function(t){return w("target",y(t,"targetLabelX","targetLabelY"),t)},getRotationOffset:function(t){return h(p(t))},isVisible:b}),_=e.data.lyrTxrCache=new gu(e);e.onUpdateEleCalcs((function(t,e){m.invalidateElements(e),v.invalidateElements(e),x.invalidateElements(e),k.invalidateElements(e),_.invalidateElements(e);for(var n=0;n<e.length;n++){var i=e[n]._private;i.oldBackgroundTimestamp=i.backgroundTimestamp}}));var E=function(t){for(var e=0;e<t.length;e++)_.enqueueElementRefinement(t[e].ele)};m.onDequeue(E),v.onDequeue(E),x.onDequeue(E),k.onDequeue(E)}Xu.CANVAS_LAYERS=3,Xu.SELECT_BOX=0,Xu.DRAG=1,Xu.NODE=2,Xu.BUFFER_COUNT=3,Xu.TEXTURE_BUFFER=0,Xu.MOTIONBLUR_BUFFER_NODE=1,Xu.MOTIONBLUR_BUFFER_DRAG=2,Xu.redrawHint=function(t,e){var n=this;switch(t){case"eles":n.data.canvasNeedsRedraw[Xu.NODE]=e;break;case"drag":n.data.canvasNeedsRedraw[Xu.DRAG]=e;break;case"select":n.data.canvasNeedsRedraw[Xu.SELECT_BOX]=e}};var Qu="undefined"!=typeof Path2D;Xu.path2dEnabled=function(t){if(void 0===t)return this.pathsEnabled;this.pathsEnabled=!!t},Xu.usePaths=function(){return Qu&&this.pathsEnabled},Xu.setImgSmoothing=function(t,e){null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled=e:(t.webkitImageSmoothingEnabled=e,t.mozImageSmoothingEnabled=e,t.msImageSmoothingEnabled=e)},Xu.getImgSmoothing=function(t){return null!=t.imageSmoothingEnabled?t.imageSmoothingEnabled:t.webkitImageSmoothingEnabled||t.mozImageSmoothingEnabled||t.msImageSmoothingEnabled},Xu.makeOffscreenCanvas=function(e,n){var i;return"undefined"!==("undefined"==typeof OffscreenCanvas?"undefined":t(OffscreenCanvas))?i=new OffscreenCanvas(e,n):((i=document.createElement("canvas")).width=e,i.height=n),i},[mu,Tu,Ou,Nu,Pu,Bu,$u,ju,Yu,{nodeShapeImpl:function(t,e,n,i,r,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,i,r,a);case"polygon":return this.drawPolygonPath(e,n,i,r,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,i,r,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,i,r,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,i,r,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,i,r,a);case"barrel":return this.drawBarrelPath(e,n,i,r,a)}}}].forEach((function(t){j(Xu,t)}));var Ju=[{type:"layout",extensions:Pc},{type:"renderer",extensions:[{name:"null",impl:Bc},{name:"base",impl:au},{name:"canvas",impl:Wu}]}],tl={},el={};function nl(t,e,n){var i=n,r=function(n){Ut("Can not register `"+e+"` for `"+t+"` since `"+n+"` already exists in the prototype and can not be overridden")};if("core"===t){if(Ks.prototype[e])return r(e);Ks.prototype[e]=n}else if("collection"===t){if(ls.prototype[e])return r(e);ls.prototype[e]=n}else if("layout"===t){for(var a=function(t){this.options=t,n.call(this,t),y(this._private)||(this._private={}),this._private.cy=t.cy,this._private.listeners=[],this.createEmitter()},o=a.prototype=Object.create(n.prototype),s=[],c=0;c<s.length;c++){var u=s[c];o[u]=o[u]||function(){return this}}o.start&&!o.run?o.run=function(){return this.start(),this}:!o.start&&o.run&&(o.start=function(){return this.run(),this});var l=n.prototype.stop;o.stop=function(){var t=this.options;if(t&&t.animate){var e=this.animations;if(e)for(var n=0;n<e.length;n++)e[n].stop()}return l?l.call(this):this.emit("layoutstop"),this},o.destroy||(o.destroy=function(){return this}),o.cy=function(){return this._private.cy};var h=function(t){return t._private.cy},f={addEventFields:function(t,e){e.layout=t,e.cy=h(t),e.target=t},bubble:function(){return!0},parent:function(t){return h(t)}};j(o,{createEmitter:function(){return this._private.emitter=new Ao(f,this),this},emitter:function(){return this._private.emitter},on:function(t,e){return this.emitter().on(t,e),this},one:function(t,e){return this.emitter().one(t,e),this},once:function(t,e){return this.emitter().one(t,e),this},removeListener:function(t,e){return this.emitter().removeListener(t,e),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},emit:function(t,e){return this.emitter().emit(t,e),this}}),Kr.eventAliasesOn(o),i=a}else if("renderer"===t&&"null"!==e&&"base"!==e){var d=il("renderer","base"),g=d.prototype,p=n,b=n.prototype,w=function(){d.apply(this,arguments),p.apply(this,arguments)},m=w.prototype;for(var v in g){var x=g[v];if(null!=b[v])return r(v);m[v]=x}for(var k in b)m[k]=b[k];g.clientFunctions.forEach((function(t){m[t]=m[t]||function(){Ht("Renderer does not implement `renderer."+t+"()` on its prototype")}})),i=w}else if("__proto__"===t||"constructor"===t||"prototype"===t)return Ht(t+" is an illegal type to be registered, possibly lead to prototype pollutions");return q({map:tl,keys:[t,e],value:i})}function il(t,e){return H({map:tl,keys:[t,e]})}function rl(t,e,n,i,r){return q({map:el,keys:[t,e,n,i],value:r})}function al(t,e,n,i){return H({map:el,keys:[t,e,n,i]})}var ol=function(){return 2===arguments.length?il.apply(null,arguments):3===arguments.length?nl.apply(null,arguments):4===arguments.length?al.apply(null,arguments):5===arguments.length?rl.apply(null,arguments):void Ht("Invalid extension access syntax")};Ks.prototype.extension=ol,Ju.forEach((function(t){t.extensions.forEach((function(e){nl(t.type,e.name,e.impl)}))}));var sl=function t(){if(!(this instanceof t))return new t;this.length=0},cl=sl.prototype;cl.instanceString=function(){return"stylesheet"},cl.selector=function(t){return this[this.length++]={selector:t,properties:[]},this},cl.css=function(t,e){var n=this.length-1;if(p(t))this[n].properties.push({name:t,value:e});else if(y(t))for(var i=t,r=Object.keys(i),a=0;a<r.length;a++){var o=r[a],s=i[o];if(null!=s){var c=Hs.properties[o]||Hs.properties[I(o)];if(null!=c){var u=c.name,l=s;this[n].properties.push({name:u,value:l})}}}return this},cl.style=cl.css,cl.generateStyle=function(t){var e=new Hs(t);return this.appendToStyle(e)},cl.appendToStyle=function(t){for(var e=0;e<this.length;e++){var n=this[e],i=n.selector,r=n.properties;t.selector(i);for(var a=0;a<r.length;a++){var o=r[a];t.css(o.name,o.value)}}return t};var ul=function(t){return void 0===t&&(t={}),y(t)?new Ks(t):p(t)?ol.apply(ol,arguments):void 0};return ul.use=function(t){var e=Array.prototype.slice.call(arguments,1);return e.unshift(ul),t.apply(null,e),this},ul.warnings=function(t){return Zt(t)},ul.version="3.26.0",ul.stylesheet=ul.Stylesheet=sl,ul}()},7484:function(t){t.exports=function(){"use strict";var t=6e4,e=36e5,n="millisecond",i="second",r="minute",a="hour",o="day",s="week",c="month",u="quarter",l="year",h="date",f="Invalid Date",d=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,g=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,p={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(t){var e=["th","st","nd","rd"],n=t%100;return"["+t+(e[(n-20)%10]||e[n]||e[0])+"]"}},b=function(t,e,n){var i=String(t);return!i||i.length>=e?t:""+Array(e+1-i.length).join(n)+t},w={s:b,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+b(i,2,"0")+":"+b(r,2,"0")},m:function t(e,n){if(e.date()<n.date())return-t(n,e);var i=12*(n.year()-e.year())+(n.month()-e.month()),r=e.clone().add(i,c),a=n-r<0,o=e.clone().add(i+(a?-1:1),c);return+(-(i+(n-r)/(a?r-o:o-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(t){return{M:c,y:l,w:s,d:o,D:h,h:a,m:r,s:i,ms:n,Q:u}[t]||String(t||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},y="en",m={};m[y]=p;var v="$isDayjsObject",x=function(t){return t instanceof T||!(!t||!t[v])},k=function t(e,n,i){var r;if(!e)return y;if("string"==typeof e){var a=e.toLowerCase();m[a]&&(r=a),n&&(m[a]=n,r=a);var o=e.split("-");if(!r&&o.length>1)return t(o[0])}else{var s=e.name;m[s]=e,r=s}return!i&&r&&(y=r),r||!i&&y},_=function(t,e){if(x(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new T(n)},E=w;E.l=k,E.i=x,E.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var T=function(){function p(t){this.$L=k(t.locale,null,!0),this.parse(t),this.$x=this.$x||t.x||{},this[v]=!0}var b=p.prototype;return b.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(E.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var i=e.match(d);if(i){var r=i[2]-1||0,a=(i[7]||"0").substring(0,3);return n?new Date(Date.UTC(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)):new Date(i[1],r,i[3]||1,i[4]||0,i[5]||0,i[6]||0,a)}}return new Date(e)}(t),this.init()},b.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},b.$utils=function(){return E},b.isValid=function(){return!(this.$d.toString()===f)},b.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},b.isAfter=function(t,e){return _(t)<this.startOf(e)},b.isBefore=function(t,e){return this.endOf(e)<_(t)},b.$g=function(t,e,n){return E.u(t)?this[e]:this.set(n,t)},b.unix=function(){return Math.floor(this.valueOf()/1e3)},b.valueOf=function(){return this.$d.getTime()},b.startOf=function(t,e){var n=this,u=!!E.u(e)||e,f=E.p(t),d=function(t,e){var i=E.w(n.$u?Date.UTC(n.$y,e,t):new Date(n.$y,e,t),n);return u?i:i.endOf(o)},g=function(t,e){return E.w(n.toDate()[t].apply(n.toDate("s"),(u?[0,0,0,0]:[23,59,59,999]).slice(e)),n)},p=this.$W,b=this.$M,w=this.$D,y="set"+(this.$u?"UTC":"");switch(f){case l:return u?d(1,0):d(31,11);case c:return u?d(1,b):d(0,b+1);case s:var m=this.$locale().weekStart||0,v=(p<m?p+7:p)-m;return d(u?w-v:w+(6-v),b);case o:case h:return g(y+"Hours",0);case a:return g(y+"Minutes",1);case r:return g(y+"Seconds",2);case i:return g(y+"Milliseconds",3);default:return this.clone()}},b.endOf=function(t){return this.startOf(t,!1)},b.$set=function(t,e){var s,u=E.p(t),f="set"+(this.$u?"UTC":""),d=(s={},s[o]=f+"Date",s[h]=f+"Date",s[c]=f+"Month",s[l]=f+"FullYear",s[a]=f+"Hours",s[r]=f+"Minutes",s[i]=f+"Seconds",s[n]=f+"Milliseconds",s)[u],g=u===o?this.$D+(e-this.$W):e;if(u===c||u===l){var p=this.clone().set(h,1);p.$d[d](g),p.init(),this.$d=p.set(h,Math.min(this.$D,p.daysInMonth())).$d}else d&&this.$d[d](g);return this.init(),this},b.set=function(t,e){return this.clone().$set(t,e)},b.get=function(t){return this[E.p(t)]()},b.add=function(n,u){var h,f=this;n=Number(n);var d=E.p(u),g=function(t){var e=_(f);return E.w(e.date(e.date()+Math.round(t*n)),f)};if(d===c)return this.set(c,this.$M+n);if(d===l)return this.set(l,this.$y+n);if(d===o)return g(1);if(d===s)return g(7);var p=(h={},h[r]=t,h[a]=e,h[i]=1e3,h)[d]||1,b=this.$d.getTime()+n*p;return E.w(b,this)},b.subtract=function(t,e){return this.add(-1*t,e)},b.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return n.invalidDate||f;var i=t||"YYYY-MM-DDTHH:mm:ssZ",r=E.z(this),a=this.$H,o=this.$m,s=this.$M,c=n.weekdays,u=n.months,l=n.meridiem,h=function(t,n,r,a){return t&&(t[n]||t(e,i))||r[n].slice(0,a)},d=function(t){return E.s(a%12||12,t,"0")},p=l||function(t,e,n){var i=t<12?"AM":"PM";return n?i.toLowerCase():i};return i.replace(g,(function(t,i){return i||function(t){switch(t){case"YY":return String(e.$y).slice(-2);case"YYYY":return E.s(e.$y,4,"0");case"M":return s+1;case"MM":return E.s(s+1,2,"0");case"MMM":return h(n.monthsShort,s,u,3);case"MMMM":return h(u,s);case"D":return e.$D;case"DD":return E.s(e.$D,2,"0");case"d":return String(e.$W);case"dd":return h(n.weekdaysMin,e.$W,c,2);case"ddd":return h(n.weekdaysShort,e.$W,c,3);case"dddd":return c[e.$W];case"H":return String(a);case"HH":return E.s(a,2,"0");case"h":return d(1);case"hh":return d(2);case"a":return p(a,o,!0);case"A":return p(a,o,!1);case"m":return String(o);case"mm":return E.s(o,2,"0");case"s":return String(e.$s);case"ss":return E.s(e.$s,2,"0");case"SSS":return E.s(e.$ms,3,"0");case"Z":return r}return null}(t)||r.replace(":","")}))},b.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},b.diff=function(n,h,f){var d,g=this,p=E.p(h),b=_(n),w=(b.utcOffset()-this.utcOffset())*t,y=this-b,m=function(){return E.m(g,b)};switch(p){case l:d=m()/12;break;case c:d=m();break;case u:d=m()/3;break;case s:d=(y-w)/6048e5;break;case o:d=(y-w)/864e5;break;case a:d=y/e;break;case r:d=y/t;break;case i:d=y/1e3;break;default:d=y}return f?d:E.a(d)},b.daysInMonth=function(){return this.endOf(c).$D},b.$locale=function(){return m[this.$L]},b.locale=function(t,e){if(!t)return this.$L;var n=this.clone(),i=k(t,e,!0);return i&&(n.$L=i),n},b.clone=function(){return E.w(this.$d,this)},b.toDate=function(){return new Date(this.valueOf())},b.toJSON=function(){return this.isValid()?this.toISOString():null},b.toISOString=function(){return this.$d.toISOString()},b.toString=function(){return this.$d.toUTCString()},p}(),C=T.prototype;return _.prototype=C,[["$ms",n],["$s",i],["$m",r],["$H",a],["$W",o],["$M",c],["$y",l],["$D",h]].forEach((function(t){C[t[1]]=function(e){return this.$g(e,t[0],t[1])}})),_.extend=function(t,e){return t.$i||(t(e,T,_),t.$i=!0),_},_.locale=k,_.isDayjs=x,_.unix=function(t){return _(1e3*t)},_.en=m[y],_.Ls=m,_.p={},_}()},8734:function(t){t.exports=function(){"use strict";return function(t,e){var n=e.prototype,i=n.format;n.format=function(t){var e=this,n=this.$locale();if(!this.isValid())return i.bind(this)(t);var r=this.$utils(),a=(t||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(t){switch(t){case"Q":return Math.ceil((e.$M+1)/3);case"Do":return n.ordinal(e.$D);case"gggg":return e.weekYear();case"GGGG":return e.isoWeekYear();case"wo":return n.ordinal(e.week(),"W");case"w":case"ww":return r.s(e.week(),"w"===t?1:2,"0");case"W":case"WW":return r.s(e.isoWeek(),"W"===t?1:2,"0");case"k":case"kk":return r.s(String(0===e.$H?24:e.$H),"k"===t?1:2,"0");case"X":return Math.floor(e.$d.getTime()/1e3);case"x":return e.$d.getTime();case"z":return"["+e.offsetName()+"]";case"zzz":return"["+e.offsetName("long")+"]";default:return t}}));return i.bind(this)(a)}}}()},285:function(t){t.exports=function(){"use strict";var t={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},e=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,n=/\d\d/,i=/\d\d?/,r=/\d*[^-_:/,()\s\d]+/,a={},o=function(t){return(t=+t)+(t>68?1900:2e3)},s=function(t){return function(e){this[t]=+e}},c=[/[+-]\d\d:?(\d\d)?|Z/,function(t){(this.zone||(this.zone={})).offset=function(t){if(!t)return 0;if("Z"===t)return 0;var e=t.match(/([+-]|\d\d)/g),n=60*e[1]+(+e[2]||0);return 0===n?0:"+"===e[0]?-n:n}(t)}],u=function(t){var e=a[t];return e&&(e.indexOf?e:e.s.concat(e.f))},l=function(t,e){var n,i=a.meridiem;if(i){for(var r=1;r<=24;r+=1)if(t.indexOf(i(r,0,e))>-1){n=r>12;break}}else n=t===(e?"pm":"PM");return n},h={A:[r,function(t){this.afternoon=l(t,!1)}],a:[r,function(t){this.afternoon=l(t,!0)}],S:[/\d/,function(t){this.milliseconds=100*+t}],SS:[n,function(t){this.milliseconds=10*+t}],SSS:[/\d{3}/,function(t){this.milliseconds=+t}],s:[i,s("seconds")],ss:[i,s("seconds")],m:[i,s("minutes")],mm:[i,s("minutes")],H:[i,s("hours")],h:[i,s("hours")],HH:[i,s("hours")],hh:[i,s("hours")],D:[i,s("day")],DD:[n,s("day")],Do:[r,function(t){var e=a.ordinal,n=t.match(/\d+/);if(this.day=n[0],e)for(var i=1;i<=31;i+=1)e(i).replace(/\[|\]/g,"")===t&&(this.day=i)}],M:[i,s("month")],MM:[n,s("month")],MMM:[r,function(t){var e=u("months"),n=(u("monthsShort")||e.map((function(t){return t.slice(0,3)}))).indexOf(t)+1;if(n<1)throw new Error;this.month=n%12||n}],MMMM:[r,function(t){var e=u("months").indexOf(t)+1;if(e<1)throw new Error;this.month=e%12||e}],Y:[/[+-]?\d+/,s("year")],YY:[n,function(t){this.year=o(t)}],YYYY:[/\d{4}/,s("year")],Z:c,ZZ:c};function f(n){var i,r;i=n,r=a&&a.formats;for(var o=(n=i.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(e,n,i){var a=i&&i.toUpperCase();return n||r[i]||t[i]||r[a].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(t,e,n){return e||n.slice(1)}))}))).match(e),s=o.length,c=0;c<s;c+=1){var u=o[c],l=h[u],f=l&&l[0],d=l&&l[1];o[c]=d?{regex:f,parser:d}:u.replace(/^\[|\]$/g,"")}return function(t){for(var e={},n=0,i=0;n<s;n+=1){var r=o[n];if("string"==typeof r)i+=r.length;else{var a=r.regex,c=r.parser,u=t.slice(i),l=a.exec(u)[0];c.call(e,l),t=t.replace(l,"")}}return function(t){var e=t.afternoon;if(void 0!==e){var n=t.hours;e?n<12&&(t.hours+=12):12===n&&(t.hours=0),delete t.afternoon}}(e),e}}return function(t,e,n){n.p.customParseFormat=!0,t&&t.parseTwoDigitYear&&(o=t.parseTwoDigitYear);var i=e.prototype,r=i.parse;i.parse=function(t){var e=t.date,i=t.utc,o=t.args;this.$u=i;var s=o[1];if("string"==typeof s){var c=!0===o[2],u=!0===o[3],l=c||u,h=o[2];u&&(h=o[2]),a=this.$locale(),!c&&h&&(a=n.Ls[h]),this.$d=function(t,e,n){try{if(["x","X"].indexOf(e)>-1)return new Date(("X"===e?1e3:1)*t);var i=f(e)(t),r=i.year,a=i.month,o=i.day,s=i.hours,c=i.minutes,u=i.seconds,l=i.milliseconds,h=i.zone,d=new Date,g=o||(r||a?1:d.getDate()),p=r||d.getFullYear(),b=0;r&&!a||(b=a>0?a-1:d.getMonth());var w=s||0,y=c||0,m=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,y,m,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,y,m,v)):new Date(p,b,g,w,y,m,v)}catch(t){return new Date("")}}(e,s,i),this.init(),h&&!0!==h&&(this.$L=this.locale(h).$L),l&&e!=this.format(s)&&(this.$d=new Date("")),a={}}else if(s instanceof Array)for(var d=s.length,g=1;g<=d;g+=1){o[1]=s[g-1];var p=n.apply(this,o);if(p.isValid()){this.$d=p.$d,this.$L=p.$L,this.init();break}g===d&&(this.$d=new Date(""))}else r.call(this,t)}}}()},9542:function(t){t.exports=function(){"use strict";var t="day";return function(e,n,i){var r=function(e){return e.add(4-e.isoWeekday(),t)},a=n.prototype;a.isoWeekYear=function(){return r(this).year()},a.isoWeek=function(e){if(!this.$utils().u(e))return this.add(7*(e-this.isoWeek()),t);var n,a,o,s=r(this),c=(n=this.isoWeekYear(),o=4-(a=(this.$u?i.utc:i)().year(n).startOf("year")).isoWeekday(),a.isoWeekday()>4&&(o+=7),a.add(o,t));return s.diff(c,"week")+1},a.isoWeekday=function(t){return this.$utils().u(t)?this.day()||7:this.day(this.day()%7?t:t-7)};var o=a.startOf;a.startOf=function(t,e){var n=this.$utils(),i=!!n.u(e)||e;return"isoweek"===n.p(t)?i?this.date(this.date()-(this.isoWeekday()-1)).startOf("day"):this.date(this.date()-1-(this.isoWeekday()-1)+7).endOf("day"):o.bind(this)(t,e)}}}()},7856:function(t){t.exports=function(){"use strict";const{entries:t,setPrototypeOf:e,isFrozen:n,getPrototypeOf:i,getOwnPropertyDescriptor:r}=Object;let{freeze:a,seal:o,create:s}=Object,{apply:c,construct:u}="undefined"!=typeof Reflect&&Reflect;a||(a=function(t){return t}),o||(o=function(t){return t}),c||(c=function(t,e,n){return t.apply(e,n)}),u||(u=function(t,e){return new t(...e)});const l=k(Array.prototype.forEach),h=k(Array.prototype.pop),f=k(Array.prototype.push),d=k(String.prototype.toLowerCase),g=k(String.prototype.toString),p=k(String.prototype.match),b=k(String.prototype.replace),w=k(String.prototype.indexOf),y=k(String.prototype.trim),m=k(RegExp.prototype.test),v=(x=TypeError,function(){for(var t=arguments.length,e=new Array(t),n=0;n<t;n++)e[n]=arguments[n];return u(x,e)});var x;function k(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return c(t,e,i)}}function _(t,i){let r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:d;e&&e(t,null);let a=i.length;for(;a--;){let e=i[a];if("string"==typeof e){const t=r(e);t!==e&&(n(i)||(i[a]=t),e=t)}t[e]=!0}return t}function E(e){const n=s(null);for(const[i,a]of t(e))void 0!==r(e,i)&&(n[i]=a);return n}function T(t,e){for(;null!==t;){const n=r(t,e);if(n){if(n.get)return k(n.get);if("function"==typeof n.value)return k(n.value)}t=i(t)}return function(t){return console.warn("fallback value for",t),null}}const C=a(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),S=a(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),A=a(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),M=a(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),I=a(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),L=a(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),O=a(["#text"]),D=a(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","xmlns","slot"]),N=a(["accent-height","accumulate","additive","alignment-baseline","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),P=a(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),B=a(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),F=o(/\{\{[\w\W]*|[\w\W]*\}\}/gm),$=o(/<%[\w\W]*|[\w\W]*%>/gm),j=o(/\${[\w\W]*}/gm),R=o(/^data-[\-\w.\u00B7-\uFFFF]/),z=o(/^aria-[\-\w]+$/),q=o(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),H=o(/^(?:\w+script|data):/i),Z=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),U=o(/^html$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:$,TMPLIT_EXPR:j,DATA_ATTR:R,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:Z,DOCTYPE_NAME:U});const G=function(){return"undefined"==typeof window?null:window};return function e(){let n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:G();const i=t=>e(t);if(i.version="3.0.6",i.removed=[],!n||!n.document||9!==n.document.nodeType)return i.isSupported=!1,i;let{document:r}=n;const o=r,c=o.currentScript,{DocumentFragment:u,HTMLTemplateElement:x,Node:k,Element:F,NodeFilter:$,NamedNodeMap:j=n.NamedNodeMap||n.MozNamedAttrMap,HTMLFormElement:R,DOMParser:z,trustedTypes:H}=n,Z=F.prototype,K=T(Z,"cloneNode"),W=T(Z,"nextSibling"),X=T(Z,"childNodes"),V=T(Z,"parentNode");if("function"==typeof x){const t=r.createElement("template");t.content&&t.content.ownerDocument&&(r=t.content.ownerDocument)}let Q,J="";const{implementation:tt,createNodeIterator:et,createDocumentFragment:nt,getElementsByTagName:it}=r,{importNode:rt}=o;let at={};i.isSupported="function"==typeof t&&"function"==typeof V&&tt&&void 0!==tt.createHTMLDocument;const{MUSTACHE_EXPR:ot,ERB_EXPR:st,TMPLIT_EXPR:ct,DATA_ATTR:ut,ARIA_ATTR:lt,IS_SCRIPT_OR_DATA:ht,ATTR_WHITESPACE:ft}=Y;let{IS_ALLOWED_URI:dt}=Y,gt=null;const pt=_({},[...C,...S,...A,...I,...O]);let bt=null;const wt=_({},[...D,...N,...P,...B]);let yt=Object.seal(s(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),mt=null,vt=null,xt=!0,kt=!0,_t=!1,Et=!0,Tt=!1,Ct=!1,St=!1,At=!1,Mt=!1,It=!1,Lt=!1,Ot=!0,Dt=!1,Nt=!0,Pt=!1,Bt={},Ft=null;const $t=_({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let jt=null;const Rt=_({},["audio","video","img","source","image","track"]);let zt=null;const qt=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ht="http://www.w3.org/1998/Math/MathML",Zt="http://www.w3.org/2000/svg",Ut="http://www.w3.org/1999/xhtml";let Yt=Ut,Gt=!1,Kt=null;const Wt=_({},[Ht,Zt,Ut],g);let Xt=null;const Vt=["application/xhtml+xml","text/html"];let Qt=null,Jt=null;const te=r.createElement("form"),ee=function(t){return t instanceof RegExp||t instanceof Function},ne=function(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Jt||Jt!==t){if(t&&"object"==typeof t||(t={}),t=E(t),Xt=Xt=-1===Vt.indexOf(t.PARSER_MEDIA_TYPE)?"text/html":t.PARSER_MEDIA_TYPE,Qt="application/xhtml+xml"===Xt?g:d,gt="ALLOWED_TAGS"in t?_({},t.ALLOWED_TAGS,Qt):pt,bt="ALLOWED_ATTR"in t?_({},t.ALLOWED_ATTR,Qt):wt,Kt="ALLOWED_NAMESPACES"in t?_({},t.ALLOWED_NAMESPACES,g):Wt,zt="ADD_URI_SAFE_ATTR"in t?_(E(qt),t.ADD_URI_SAFE_ATTR,Qt):qt,jt="ADD_DATA_URI_TAGS"in t?_(E(Rt),t.ADD_DATA_URI_TAGS,Qt):Rt,Ft="FORBID_CONTENTS"in t?_({},t.FORBID_CONTENTS,Qt):$t,mt="FORBID_TAGS"in t?_({},t.FORBID_TAGS,Qt):{},vt="FORBID_ATTR"in t?_({},t.FORBID_ATTR,Qt):{},Bt="USE_PROFILES"in t&&t.USE_PROFILES,xt=!1!==t.ALLOW_ARIA_ATTR,kt=!1!==t.ALLOW_DATA_ATTR,_t=t.ALLOW_UNKNOWN_PROTOCOLS||!1,Et=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Tt=t.SAFE_FOR_TEMPLATES||!1,Ct=t.WHOLE_DOCUMENT||!1,Mt=t.RETURN_DOM||!1,It=t.RETURN_DOM_FRAGMENT||!1,Lt=t.RETURN_TRUSTED_TYPE||!1,At=t.FORCE_BODY||!1,Ot=!1!==t.SANITIZE_DOM,Dt=t.SANITIZE_NAMED_PROPS||!1,Nt=!1!==t.KEEP_CONTENT,Pt=t.IN_PLACE||!1,dt=t.ALLOWED_URI_REGEXP||q,Yt=t.NAMESPACE||Ut,yt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ee(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(yt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ee(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(yt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(yt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Tt&&(kt=!1),It&&(Mt=!0),Bt&&(gt=_({},[...O]),bt=[],!0===Bt.html&&(_(gt,C),_(bt,D)),!0===Bt.svg&&(_(gt,S),_(bt,N),_(bt,B)),!0===Bt.svgFilters&&(_(gt,A),_(bt,N),_(bt,B)),!0===Bt.mathMl&&(_(gt,I),_(bt,P),_(bt,B))),t.ADD_TAGS&&(gt===pt&&(gt=E(gt)),_(gt,t.ADD_TAGS,Qt)),t.ADD_ATTR&&(bt===wt&&(bt=E(bt)),_(bt,t.ADD_ATTR,Qt)),t.ADD_URI_SAFE_ATTR&&_(zt,t.ADD_URI_SAFE_ATTR,Qt),t.FORBID_CONTENTS&&(Ft===$t&&(Ft=E(Ft)),_(Ft,t.FORBID_CONTENTS,Qt)),Nt&&(gt["#text"]=!0),Ct&&_(gt,["html","head","body"]),gt.table&&(_(gt,["tbody"]),delete mt.tbody),t.TRUSTED_TYPES_POLICY){if("function"!=typeof t.TRUSTED_TYPES_POLICY.createHTML)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof t.TRUSTED_TYPES_POLICY.createScriptURL)throw v('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');Q=t.TRUSTED_TYPES_POLICY,J=Q.createHTML("")}else void 0===Q&&(Q=function(t,e){if("object"!=typeof t||"function"!=typeof t.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";e&&e.hasAttribute(i)&&(n=e.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return t.createPolicy(r,{createHTML:t=>t,createScriptURL:t=>t})}catch(t){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(H,c)),null!==Q&&"string"==typeof J&&(J=Q.createHTML(""));a&&a(t),Jt=t}},ie=_({},["mi","mo","mn","ms","mtext"]),re=_({},["foreignobject","desc","title","annotation-xml"]),ae=_({},["title","style","font","a","script"]),oe=_({},S);_(oe,A),_(oe,M);const se=_({},I);_(se,L);const ce=function(t){f(i.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},ue=function(t,e){try{f(i.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(i.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(Mt||It)try{ce(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},le=function(t){let e=null,n=null;if(At)t="<remove></remove>"+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Xt&&Yt===Ut&&(t='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+t+"</body></html>");const i=Q?Q.createHTML(t):t;if(Yt===Ut)try{e=(new z).parseFromString(i,Xt)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(Yt,"template",null);try{e.documentElement.innerHTML=Gt?J:i}catch(t){}}const a=e.body||e.documentElement;return t&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),Yt===Ut?it.call(e,Ct?"html":"body")[0]:Ct?e.documentElement:a},he=function(t){return et.call(t.ownerDocument||t,t,$.SHOW_ELEMENT|$.SHOW_COMMENT|$.SHOW_TEXT,null)},fe=function(t){return"function"==typeof k&&t instanceof k},de=function(t,e,n){at[t]&&l(at[t],(t=>{t.call(i,e,n,Jt)}))},ge=function(t){let e=null;if(de("beforeSanitizeElements",t,null),(n=t)instanceof R&&("string"!=typeof n.nodeName||"string"!=typeof n.textContent||"function"!=typeof n.removeChild||!(n.attributes instanceof j)||"function"!=typeof n.removeAttribute||"function"!=typeof n.setAttribute||"string"!=typeof n.namespaceURI||"function"!=typeof n.insertBefore||"function"!=typeof n.hasChildNodes))return ce(t),!0;var n;const r=Qt(t.nodeName);if(de("uponSanitizeElement",t,{tagName:r,allowedTags:gt}),t.hasChildNodes()&&!fe(t.firstElementChild)&&m(/<[/\w]/g,t.innerHTML)&&m(/<[/\w]/g,t.textContent))return ce(t),!0;if(!gt[r]||mt[r]){if(!mt[r]&&be(r)){if(yt.tagNameCheck instanceof RegExp&&m(yt.tagNameCheck,r))return!1;if(yt.tagNameCheck instanceof Function&&yt.tagNameCheck(r))return!1}if(Nt&&!Ft[r]){const e=V(t)||t.parentNode,n=X(t)||t.childNodes;if(n&&e)for(let i=n.length-1;i>=0;--i)e.insertBefore(K(n[i],!0),W(t))}return ce(t),!0}return t instanceof F&&!function(t){let e=V(t);e&&e.tagName||(e={namespaceURI:Yt,tagName:"template"});const n=d(t.tagName),i=d(e.tagName);return!!Kt[t.namespaceURI]&&(t.namespaceURI===Zt?e.namespaceURI===Ut?"svg"===n:e.namespaceURI===Ht?"svg"===n&&("annotation-xml"===i||ie[i]):Boolean(oe[n]):t.namespaceURI===Ht?e.namespaceURI===Ut?"math"===n:e.namespaceURI===Zt?"math"===n&&re[i]:Boolean(se[n]):t.namespaceURI===Ut?!(e.namespaceURI===Zt&&!re[i])&&!(e.namespaceURI===Ht&&!ie[i])&&!se[n]&&(ae[n]||!oe[n]):!("application/xhtml+xml"!==Xt||!Kt[t.namespaceURI]))}(t)?(ce(t),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!m(/<\/no(script|embed|frames)/i,t.innerHTML)?(Tt&&3===t.nodeType&&(e=t.textContent,l([ot,st,ct],(t=>{e=b(e,t," ")})),t.textContent!==e&&(f(i.removed,{element:t.cloneNode()}),t.textContent=e)),de("afterSanitizeElements",t,null),!1):(ce(t),!0)},pe=function(t,e,n){if(Ot&&("id"===e||"name"===e)&&(n in r||n in te))return!1;if(kt&&!vt[e]&&m(ut,e));else if(xt&&m(lt,e));else if(!bt[e]||vt[e]){if(!(be(t)&&(yt.tagNameCheck instanceof RegExp&&m(yt.tagNameCheck,t)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(t))&&(yt.attributeNameCheck instanceof RegExp&&m(yt.attributeNameCheck,e)||yt.attributeNameCheck instanceof Function&&yt.attributeNameCheck(e))||"is"===e&&yt.allowCustomizedBuiltInElements&&(yt.tagNameCheck instanceof RegExp&&m(yt.tagNameCheck,n)||yt.tagNameCheck instanceof Function&&yt.tagNameCheck(n))))return!1}else if(zt[e]);else if(m(dt,b(n,ft,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!jt[t])if(_t&&!m(ht,b(n,ft,"")));else if(n)return!1;return!0},be=function(t){return t.indexOf("-")>0},we=function(t){de("beforeSanitizeAttributes",t,null);const{attributes:e}=t;if(!e)return;const n={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};let r=e.length;for(;r--;){const a=e[r],{name:o,namespaceURI:s,value:c}=a,u=Qt(o);let f="value"===o?c:y(c);if(n.attrName=u,n.attrValue=f,n.keepAttr=!0,n.forceKeepAttr=void 0,de("uponSanitizeAttribute",t,n),f=n.attrValue,n.forceKeepAttr)continue;if(ue(o,t),!n.keepAttr)continue;if(!Et&&m(/\/>/i,f)){ue(o,t);continue}Tt&&l([ot,st,ct],(t=>{f=b(f,t," ")}));const d=Qt(t.nodeName);if(pe(d,u,f)){if(!Dt||"id"!==u&&"name"!==u||(ue(o,t),f="user-content-"+f),Q&&"object"==typeof H&&"function"==typeof H.getAttributeType)if(s);else switch(H.getAttributeType(d,u)){case"TrustedHTML":f=Q.createHTML(f);break;case"TrustedScriptURL":f=Q.createScriptURL(f)}try{s?t.setAttributeNS(s,o,f):t.setAttribute(o,f),h(i.removed)}catch(t){}}}de("afterSanitizeAttributes",t,null)},ye=function t(e){let n=null;const i=he(e);for(de("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)de("uponSanitizeShadowNode",n,null),ge(n)||(n.content instanceof u&&t(n.content),we(n));de("afterSanitizeShadowDOM",e,null)};return i.sanitize=function(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=null,r=null,a=null,s=null;if(Gt=!t,Gt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!fe(t)){if("function"!=typeof t.toString)throw v("toString is not a function");if("string"!=typeof(t=t.toString()))throw v("dirty is not a string, aborting")}if(!i.isSupported)return t;if(St||ne(e),i.removed=[],"string"==typeof t&&(Pt=!1),Pt){if(t.nodeName){const e=Qt(t.nodeName);if(!gt[e]||mt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof k)n=le("\x3c!----\x3e"),r=n.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?n=r:n.appendChild(r);else{if(!Mt&&!Tt&&!Ct&&-1===t.indexOf("<"))return Q&&Lt?Q.createHTML(t):t;if(n=le(t),!n)return Mt?null:Lt?J:""}n&&At&&ce(n.firstChild);const c=he(Pt?t:n);for(;a=c.nextNode();)ge(a)||(a.content instanceof u&&ye(a.content),we(a));if(Pt)return t;if(Mt){if(It)for(s=nt.call(n.ownerDocument);n.firstChild;)s.appendChild(n.firstChild);else s=n;return(bt.shadowroot||bt.shadowrootmode)&&(s=rt.call(o,s,!0)),s}let h=Ct?n.outerHTML:n.innerHTML;return Ct&&gt["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&m(U,n.ownerDocument.doctype.name)&&(h="<!DOCTYPE "+n.ownerDocument.doctype.name+">\n"+h),Tt&&l([ot,st,ct],(t=>{h=b(h,t," ")})),Q&&Lt?Q.createHTML(h):h},i.setConfig=function(){ne(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),St=!0},i.clearConfig=function(){Jt=null,St=!1},i.isValidAttribute=function(t,e,n){Jt||ne({});const i=Qt(t),r=Qt(e);return pe(i,r,n)},i.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],f(at[t],e))},i.removeHook=function(t){if(at[t])return h(at[t])},i.removeHooks=function(t){at[t]&&(at[t]=[])},i.removeAllHooks=function(){at={}},i}()}()},7295:(t,e,n)=>{t.exports=function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){return r(e[o][1][t]||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=void 0,o=0;o<i.length;o++)r(i[o]);return r}({1:[function(t,e,n){"use strict";Object.defineProperty(n,"__esModule",{value:!0});var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}();function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var a=function(){function t(){var e=this,n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=n.defaultLayoutOptions,a=void 0===i?{}:i,s=n.algorithms,c=void 0===s?["layered","stress","mrtree","radial","force","disco","sporeOverlap","sporeCompaction","rectpacking"]:s,u=n.workerFactory,l=n.workerUrl;if(r(this,t),this.defaultLayoutOptions=a,this.initialized=!1,void 0===l&&void 0===u)throw new Error("Cannot construct an ELK without both 'workerUrl' and 'workerFactory'.");var h=u;void 0!==l&&void 0===u&&(h=function(t){return new Worker(t)});var f=h(l);if("function"!=typeof f.postMessage)throw new TypeError("Created worker does not provide the required 'postMessage' function.");this.worker=new o(f),this.worker.postMessage({cmd:"register",algorithms:c}).then((function(t){return e.initialized=!0})).catch(console.err)}return i(t,[{key:"layout",value:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.layoutOptions,i=void 0===n?this.defaultLayoutOptions:n,r=e.logging,a=void 0!==r&&r,o=e.measureExecutionTime,s=void 0!==o&&o;return t?this.worker.postMessage({cmd:"layout",graph:t,layoutOptions:i,options:{logging:a,measureExecutionTime:s}}):Promise.reject(new Error("Missing mandatory parameter 'graph'."))}},{key:"knownLayoutAlgorithms",value:function(){return this.worker.postMessage({cmd:"algorithms"})}},{key:"knownLayoutOptions",value:function(){return this.worker.postMessage({cmd:"options"})}},{key:"knownLayoutCategories",value:function(){return this.worker.postMessage({cmd:"categories"})}},{key:"terminateWorker",value:function(){this.worker.terminate()}}]),t}();n.default=a;var o=function(){function t(e){var n=this;if(r(this,t),void 0===e)throw new Error("Missing mandatory parameter 'worker'.");this.resolvers={},this.worker=e,this.worker.onmessage=function(t){setTimeout((function(){n.receive(n,t)}),0)}}return i(t,[{key:"postMessage",value:function(t){var e=this.id||0;this.id=e+1,t.id=e;var n=this;return new Promise((function(i,r){n.resolvers[e]=function(t,e){t?(n.convertGwtStyleError(t),r(t)):i(e)},n.worker.postMessage(t)}))}},{key:"receive",value:function(t,e){var n=e.data,i=t.resolvers[n.id];i&&(delete t.resolvers[n.id],n.error?i(n.error):i(null,n.data))}},{key:"terminate",value:function(){this.worker.terminate&&this.worker.terminate()}},{key:"convertGwtStyleError",value:function(t){if(t){var e=t.__java$exception;e&&(e.cause&&e.cause.backingJsObject&&(t.cause=e.cause.backingJsObject,this.convertGwtStyleError(t.cause)),delete t.__java$exception)}}}]),t}()},{}],2:[function(t,e,i){(function(t){(function(){"use strict";var n;function r(){}function a(){}function o(){}function s(){}function c(){}function u(){}function l(){}function h(){}function f(){}function d(){}function g(){}function p(){}function b(){}function w(){}function y(){}function m(){}function v(){}function x(){}function k(){}function _(){}function E(){}function T(){}function C(){}function S(){}function A(){}function M(){}function I(){}function L(){}function O(){}function D(){}function N(){}function P(){}function B(){}function F(){}function $(){}function j(){}function R(){}function z(){}function q(){}function H(){}function Z(){}function U(){}function Y(){}function G(){}function K(){}function W(){}function X(){}function V(){}function Q(){}function J(){}function tt(){}function et(){}function nt(){}function it(){}function rt(){}function at(){}function ot(){}function st(){}function ct(){}function ut(){}function lt(){}function ht(){}function ft(){}function dt(){}function gt(){}function pt(){}function bt(){}function wt(){}function yt(){}function mt(){}function vt(){}function xt(){}function kt(){}function _t(){}function Et(){}function Tt(){}function Ct(){}function St(){}function At(){}function Mt(){}function It(){}function Lt(){}function Ot(){}function Dt(){}function Nt(){}function Pt(){}function Bt(){}function Ft(){}function $t(){}function jt(){}function Rt(){}function zt(){}function qt(){}function Ht(){}function Zt(){}function Ut(){}function Yt(){}function Gt(){}function Kt(){}function Wt(){}function Xt(){}function Vt(){}function Qt(){}function Jt(){}function te(){}function ee(){}function ne(){}function ie(){}function re(){}function ae(){}function oe(){}function se(){}function ce(){}function ue(){}function le(){}function he(){}function fe(){}function de(){}function ge(){}function pe(){}function be(){}function we(){}function ye(){}function me(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ae(){}function Me(){}function Ie(){}function Le(){}function Oe(){}function De(){}function Ne(){}function Pe(){}function Be(){}function Fe(){}function $e(){}function je(){}function Re(){}function ze(){}function qe(){}function He(){}function Ze(){}function Ue(){}function Ye(){}function Ge(){}function Ke(){}function We(){}function Xe(){}function Ve(){}function Qe(){}function Je(){}function tn(){}function en(){}function nn(){}function rn(){}function an(){}function on(){}function sn(){}function cn(){}function un(){}function ln(){}function hn(){}function fn(){}function dn(){}function gn(){}function pn(){}function bn(){}function wn(){}function yn(){}function mn(){}function vn(){}function xn(){}function kn(){}function _n(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function An(){}function Mn(){}function In(){}function Ln(){}function On(){}function Dn(){}function Nn(){}function Pn(){}function Bn(){}function Fn(){}function $n(){}function jn(){}function Rn(){}function zn(){}function qn(){}function Hn(){}function Zn(){}function Un(){}function Yn(){}function Gn(){}function Kn(){}function Wn(){}function Xn(){}function Vn(){}function Qn(){}function Jn(){}function ti(){}function ei(){}function ni(){}function ii(){}function ri(){}function ai(){}function oi(){}function si(){}function ci(){}function ui(){}function li(){}function hi(){}function fi(){}function di(){}function gi(){}function pi(){}function bi(){}function wi(){}function yi(){}function mi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ai(){}function Mi(){}function Ii(){}function Li(){}function Oi(){}function Di(){}function Ni(){}function Pi(){}function Bi(){}function Fi(){}function $i(){}function ji(){}function Ri(){}function zi(){}function qi(){}function Hi(){}function Zi(){}function Ui(){}function Yi(){}function Gi(){}function Ki(){}function Wi(){}function Xi(){}function Vi(){}function Qi(){}function Ji(){}function tr(){}function er(){}function nr(){}function ir(){}function rr(){}function ar(){}function or(){}function sr(){}function cr(){}function ur(){}function lr(){}function hr(){}function fr(){}function dr(){}function gr(){}function pr(){}function br(){}function wr(){}function yr(){}function mr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ar(){}function Mr(){}function Ir(){}function Lr(){}function Or(){}function Dr(){}function Nr(){}function Pr(){}function Br(){}function Fr(){}function $r(){}function jr(){}function Rr(){}function zr(){}function qr(){}function Hr(){}function Zr(){}function Ur(){}function Yr(){}function Gr(){}function Kr(){}function Wr(){}function Xr(){}function Vr(){}function Qr(){}function Jr(){}function ta(){}function ea(){}function na(){}function ia(){}function ra(){}function aa(){}function oa(){}function sa(){}function ca(){}function ua(){}function la(){}function ha(){}function fa(){}function da(){}function ga(){}function pa(){}function ba(){}function wa(){}function ya(){}function ma(){}function va(){}function xa(){}function ka(){}function _a(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Aa(){}function Ma(){}function Ia(){}function La(){}function Oa(){}function Da(){}function Na(){}function Pa(){}function Ba(){}function Fa(){}function $a(){}function ja(){}function Ra(){}function za(){}function qa(){}function Ha(){}function Za(){}function Ua(){}function Ya(){}function Ga(){}function Ka(){}function Wa(){}function Xa(){}function Va(){}function Qa(){}function Ja(){}function to(){}function eo(){}function no(){}function io(){}function ro(){}function ao(){}function oo(){}function so(){}function co(){}function uo(){}function lo(){}function ho(){}function fo(){}function go(){}function po(){}function bo(){}function wo(){}function yo(){}function mo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Eo(){}function To(){}function Co(){}function So(){}function Ao(){}function Mo(){}function Io(){}function Lo(){}function Oo(){}function Do(){}function No(){}function Po(){}function Bo(){}function Fo(){}function $o(){}function jo(){}function Ro(){}function zo(){}function qo(){}function Ho(){}function Zo(){}function Uo(){}function Yo(){}function Go(){}function Ko(){}function Wo(){}function Xo(){}function Vo(){}function Qo(){}function Jo(){}function ts(){}function es(){}function ns(){}function is(){}function rs(){}function as(){}function os(){}function ss(){}function cs(){}function us(){}function ls(){}function hs(){}function fs(){}function ds(){}function gs(){}function ps(){}function bs(){}function ws(){}function ys(){}function ms(){}function vs(){}function xs(){}function ks(){}function _s(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function As(){}function Ms(){}function Is(){}function Ls(){}function Os(){}function Ds(){}function Ns(){}function Ps(){}function Bs(){}function Fs(){}function $s(){}function js(){}function Rs(){}function zs(){}function qs(){}function Hs(){}function Zs(){}function Us(){}function Ys(){}function Gs(){}function Ks(){}function Ws(){}function Xs(){}function Vs(){}function Qs(){}function Js(){}function tc(){}function ec(){}function nc(){}function ic(){}function rc(){}function ac(){}function oc(){}function sc(){}function cc(){}function uc(){}function lc(){}function hc(){}function fc(){}function dc(){}function gc(){}function pc(){}function bc(){}function wc(){}function yc(){}function mc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ac(){}function Mc(){}function Ic(){}function Lc(){}function Oc(){}function Dc(){}function Nc(){}function Pc(){}function Bc(){}function Fc(){}function $c(){}function jc(){}function Rc(){}function zc(){}function qc(){}function Hc(){}function Zc(){}function Uc(){}function Yc(){}function Gc(){}function Kc(){}function Wc(){}function Xc(){}function Vc(){}function Qc(){}function Jc(){}function tu(){}function eu(){}function nu(){}function iu(){}function ru(){}function au(){}function ou(){}function su(){}function cu(){}function uu(){}function lu(){}function hu(){}function fu(){}function du(){}function gu(){}function pu(){}function bu(){}function wu(){}function yu(){}function mu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Au(){}function Mu(){}function Iu(){}function Lu(){}function Ou(){}function Du(){}function Nu(){}function Pu(){}function Bu(){}function Fu(){}function $u(){}function ju(){}function Ru(){}function zu(){}function qu(){}function Hu(){}function Zu(){}function Uu(){}function Yu(){}function Gu(){}function Ku(){}function Wu(){}function Xu(){}function Vu(){}function Qu(){}function Ju(){}function tl(){}function el(){}function nl(){}function il(){}function rl(){}function al(){}function ol(){}function sl(){}function cl(){}function ul(){}function ll(){}function hl(){}function fl(){}function dl(){}function gl(){}function pl(){}function bl(){}function wl(){}function yl(){}function ml(){}function vl(){}function xl(){}function kl(){}function _l(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Al(){}function Ml(){}function Il(){}function Ll(){}function Ol(){}function Dl(){}function Nl(){}function Pl(){}function Bl(){}function Fl(){}function $l(){}function jl(){bm()}function Rl(){I6()}function zl(){dnt()}function ql(){yat()}function Hl(){Ect()}function Zl(){qpt()}function Ul(){Nrt()}function Yl(){Wrt()}function Gl(){X_()}function Kl(){Y_()}function Wl(){LP()}function Xl(){V_()}function Vl(){m2()}function Ql(){J_()}function Jl(){nX()}function th(){S0()}function eh(){sV()}function nh(){cU()}function ih(){L6()}function rh(){Vst()}function ah(){A0()}function oh(){bG()}function sh(){Okt()}function ch(){$rt()}function uh(){uU()}function lh(){wkt()}function hh(){oU()}function fh(){M0()}function dh(){n5()}function gh(){dU()}function ph(){TV()}function bh(){tE()}function wh(){dft()}function yh(){Rrt()}function mh(){d3()}function vh(){Fst()}function xh(){Hpt()}function kh(){dit()}function _h(){oft()}function Eh(){i4()}function Th(){hU()}function Ch(){iwt()}function Sh(){cft()}function Ah(){Jft()}function Mh(){AV()}function Ih(){$st()}function Lh(){Ikt()}function Oh(){D6()}function Dh(){Itt()}function Nh(){Jyt()}function Ph(){pP()}function Bh(){K2()}function Fh(){zwt()}function $h(t){yz(t)}function jh(t){this.a=t}function Rh(t){this.a=t}function zh(t){this.a=t}function qh(t){this.a=t}function Hh(t){this.a=t}function Zh(t){this.a=t}function Uh(t){this.a=t}function Yh(t){this.a=t}function Gh(t){this.a=t}function Kh(t){this.a=t}function Wh(t){this.a=t}function Xh(t){this.a=t}function Vh(t){this.a=t}function Qh(t){this.a=t}function Jh(t){this.a=t}function tf(t){this.a=t}function ef(t){this.a=t}function nf(t){this.a=t}function rf(t){this.a=t}function af(t){this.a=t}function of(t){this.a=t}function sf(t){this.b=t}function cf(t){this.c=t}function uf(t){this.a=t}function lf(t){this.a=t}function hf(t){this.a=t}function ff(t){this.a=t}function df(t){this.a=t}function gf(t){this.a=t}function pf(t){this.a=t}function bf(t){this.a=t}function wf(t){this.a=t}function yf(t){this.a=t}function mf(t){this.a=t}function vf(t){this.a=t}function xf(t){this.a=t}function kf(t){this.a=t}function _f(t){this.a=t}function Ef(t){this.a=t}function Tf(t){this.a=t}function Cf(){this.a=[]}function Sf(t,e){t.a=e}function Af(t,e){t.j=e}function Mf(t,e){t.c=e}function If(t,e){t.d=e}function Lf(t,e){t.k=e}function Of(t,e){t.c=e}function Df(t,e){t.a=e}function Nf(t,e){t.a=e}function Pf(t,e){t.f=e}function Bf(t,e){t.a=e}function Ff(t,e){t.b=e}function $f(t,e){t.d=e}function jf(t,e){t.i=e}function Rf(t,e){t.o=e}function zf(t,e){t.e=e}function qf(t,e){t.g=e}function Hf(t,e){t.e=e}function Zf(t,e){t.f=e}function Uf(t,e){t.f=e}function Yf(t,e){t.n=e}function Gf(t){t.b=t.a}function Kf(t){t.c=t.d.d}function Wf(t){this.d=t}function Xf(t){this.a=t}function Vf(t){this.a=t}function Qf(t){this.a=t}function Jf(t){this.a=t}function td(t){this.a=t}function ed(t){this.a=t}function nd(t){this.a=t}function id(t){this.a=t}function rd(t){this.a=t}function ad(t){this.a=t}function od(t){this.a=t}function sd(t){this.a=t}function cd(t){this.a=t}function ud(t){this.a=t}function ld(t){this.b=t}function hd(t){this.b=t}function fd(t){this.b=t}function dd(t){this.a=t}function gd(t){this.a=t}function pd(t){this.a=t}function bd(t){this.c=t}function wd(t){this.c=t}function yd(t){this.c=t}function md(t){this.a=t}function vd(t){this.a=t}function xd(t){this.a=t}function kd(t){this.a=t}function _d(t){this.a=t}function Ed(t){this.a=t}function Td(t){this.a=t}function Cd(t){this.a=t}function Sd(t){this.a=t}function Ad(t){this.a=t}function Md(t){this.a=t}function Id(t){this.a=t}function Ld(t){this.a=t}function Od(t){this.a=t}function Dd(t){this.a=t}function Nd(t){this.a=t}function Pd(t){this.a=t}function Bd(t){this.a=t}function Fd(t){this.a=t}function $d(t){this.a=t}function jd(t){this.a=t}function Rd(t){this.a=t}function zd(t){this.a=t}function qd(t){this.a=t}function Hd(t){this.a=t}function Zd(t){this.a=t}function Ud(t){this.a=t}function Yd(t){this.a=t}function Gd(t){this.a=t}function Kd(t){this.a=t}function Wd(t){this.a=t}function Xd(t){this.a=t}function Vd(t){this.a=t}function Qd(t){this.a=t}function Jd(t){this.a=t}function tg(t){this.a=t}function eg(t){this.a=t}function ng(t){this.a=t}function ig(t){this.a=t}function rg(t){this.a=t}function ag(t){this.a=t}function og(t){this.a=t}function sg(t){this.a=t}function cg(t){this.a=t}function ug(t){this.a=t}function lg(t){this.e=t}function hg(t){this.a=t}function fg(t){this.a=t}function dg(t){this.a=t}function gg(t){this.a=t}function pg(t){this.a=t}function bg(t){this.a=t}function wg(t){this.a=t}function yg(t){this.a=t}function mg(t){this.a=t}function vg(t){this.a=t}function xg(t){this.a=t}function kg(t){this.a=t}function _g(t){this.a=t}function Eg(t){this.a=t}function Tg(t){this.a=t}function Cg(t){this.a=t}function Sg(t){this.a=t}function Ag(t){this.a=t}function Mg(t){this.a=t}function Ig(t){this.a=t}function Lg(t){this.a=t}function Og(t){this.a=t}function Dg(t){this.a=t}function Ng(t){this.a=t}function Pg(t){this.a=t}function Bg(t){this.a=t}function Fg(t){this.a=t}function $g(t){this.a=t}function jg(t){this.a=t}function Rg(t){this.a=t}function zg(t){this.a=t}function qg(t){this.a=t}function Hg(t){this.a=t}function Zg(t){this.a=t}function Ug(t){this.a=t}function Yg(t){this.a=t}function Gg(t){this.a=t}function Kg(t){this.a=t}function Wg(t){this.a=t}function Xg(t){this.a=t}function Vg(t){this.a=t}function Qg(t){this.a=t}function Jg(t){this.a=t}function tp(t){this.a=t}function ep(t){this.a=t}function np(t){this.a=t}function ip(t){this.a=t}function rp(t){this.a=t}function ap(t){this.a=t}function op(t){this.a=t}function sp(t){this.a=t}function cp(t){this.a=t}function up(t){this.a=t}function lp(t){this.c=t}function hp(t){this.b=t}function fp(t){this.a=t}function dp(t){this.a=t}function gp(t){this.a=t}function pp(t){this.a=t}function bp(t){this.a=t}function wp(t){this.a=t}function yp(t){this.a=t}function mp(t){this.a=t}function vp(t){this.a=t}function xp(t){this.a=t}function kp(t){this.a=t}function _p(t){this.a=t}function Ep(t){this.a=t}function Tp(t){this.a=t}function Cp(t){this.a=t}function Sp(t){this.a=t}function Ap(t){this.a=t}function Mp(t){this.a=t}function Ip(t){this.a=t}function Lp(t){this.a=t}function Op(t){this.a=t}function Dp(t){this.a=t}function Np(t){this.a=t}function Pp(t){this.a=t}function Bp(t){this.a=t}function Fp(t){this.a=t}function $p(t){this.a=t}function jp(t){this.a=t}function Rp(t){this.a=t}function zp(t){this.a=t}function qp(t){this.a=t}function Hp(t){this.a=t}function Zp(t){this.a=t}function Up(t){this.a=t}function Yp(t){this.a=t}function Gp(t){this.a=t}function Kp(t){this.a=t}function Wp(t){this.a=t}function Xp(t){this.a=t}function Vp(t){this.a=t}function Qp(t){this.a=t}function Jp(t){this.a=t}function tb(t){this.a=t}function eb(t){this.a=t}function nb(t){this.a=t}function ib(t){this.a=t}function rb(t){this.a=t}function ab(t){this.a=t}function ob(t){this.a=t}function sb(t){this.a=t}function cb(t){this.a=t}function ub(t){this.a=t}function lb(t){this.a=t}function hb(t){this.a=t}function fb(t){this.a=t}function db(t){this.a=t}function gb(t){this.a=t}function pb(t){this.a=t}function bb(t){this.a=t}function wb(t){this.a=t}function yb(t){this.a=t}function mb(t){this.a=t}function vb(t){this.a=t}function xb(t){this.a=t}function kb(t){this.a=t}function _b(t){this.a=t}function Eb(t){this.a=t}function Tb(t){this.a=t}function Cb(t){this.a=t}function Sb(t){this.a=t}function Ab(t){this.a=t}function Mb(t){this.a=t}function Ib(t){this.b=t}function Lb(t){this.f=t}function Ob(t){this.a=t}function Db(t){this.a=t}function Nb(t){this.a=t}function Pb(t){this.a=t}function Bb(t){this.a=t}function Fb(t){this.a=t}function $b(t){this.a=t}function jb(t){this.a=t}function Rb(t){this.a=t}function zb(t){this.a=t}function qb(t){this.a=t}function Hb(t){this.b=t}function Zb(t){this.c=t}function Ub(t){this.e=t}function Yb(t){this.a=t}function Gb(t){this.a=t}function Kb(t){this.a=t}function Wb(t){this.a=t}function Xb(t){this.a=t}function Vb(t){this.d=t}function Qb(t){this.a=t}function Jb(t){this.a=t}function tw(t){this.e=t}function ew(){this.a=0}function nw(){OM(this)}function iw(){LM(this)}function rw(){Yj(this)}function aw(){Xz(this)}function ow(){}function sw(){this.c=Koe}function cw(t,e){t.b+=e}function uw(t){t.b=new bv}function lw(t){return t.e}function hw(t){return t.a}function fw(t){return t.a}function dw(t){return t.a}function gw(t){return t.a}function pw(t){return t.a}function bw(){return null}function ww(){return null}function yw(t,e){t.b=e-t.b}function mw(t,e){t.a=e-t.a}function vw(t,e){e.ad(t.a)}function xw(t,e){t.e=e,e.b=t}function kw(t){wP(),this.a=t}function _w(t){wP(),this.a=t}function Ew(t){wP(),this.a=t}function Tw(t){WR(),this.a=t}function Cw(t){OH(),yjt.be(t)}function Sw(){IL.call(this)}function Aw(){IL.call(this)}function Mw(){Sw.call(this)}function Iw(){Sw.call(this)}function Lw(){Sw.call(this)}function Ow(){Sw.call(this)}function Dw(){Sw.call(this)}function Nw(){Sw.call(this)}function Pw(){Sw.call(this)}function Bw(){Sw.call(this)}function Fw(){Sw.call(this)}function $w(){Sw.call(this)}function jw(){Sw.call(this)}function Rw(){this.a=this}function zw(){this.Bb|=256}function qw(){this.b=new PA}function Hw(){Hw=I,new rw}function Zw(){Mw.call(this)}function Uw(t,e){t.length=e}function Yw(t,e){nB(t.a,e)}function Gw(t,e){$3(t.e,e)}function Kw(t){kht(t.c,t.b)}function Ww(t){this.a=function(t){var e;return(e=wct(t))>34028234663852886e22?JEt:e<-34028234663852886e22?tTt:e}(t)}function Xw(){this.a=new rw}function Vw(){this.a=new rw}function Qw(){this.a=new iw}function Jw(){this.a=new iw}function ty(){this.a=new iw}function ey(){this.a=new vt}function ny(){this.a=new KW}function iy(){this.a=new fe}function ry(){this.a=new k_}function ay(){this.a=new bY}function oy(){this.a=new NZ}function sy(){this.a=new oN}function cy(){this.a=new iw}function uy(){this.a=new iw}function ly(){this.a=new iw}function hy(){this.a=new iw}function fy(){this.d=new iw}function dy(){this.a=new Xw}function gy(){this.a=new rw}function py(){this.b=new rw}function by(){this.b=new iw}function wy(){this.e=new iw}function yy(){this.d=new iw}function my(){this.a=new rh}function vy(){iw.call(this)}function xy(){Qw.call(this)}function ky(){uN.call(this)}function _y(){uy.call(this)}function Ey(){Ty.call(this)}function Ty(){ow.call(this)}function Cy(){ow.call(this)}function Sy(){Cy.call(this)}function Ay(){_H.call(this)}function My(){_H.call(this)}function Iy(){sm.call(this)}function Ly(){sm.call(this)}function Oy(){sm.call(this)}function Dy(){cm.call(this)}function Ny(){T_.call(this)}function Py(){ic.call(this)}function By(){ic.call(this)}function Fy(){dm.call(this)}function $y(){dm.call(this)}function jy(){rw.call(this)}function Ry(){rw.call(this)}function zy(){rw.call(this)}function qy(){Xw.call(this)}function Hy(){E0.call(this)}function Zy(){zw.call(this)}function Uy(){UI.call(this)}function Yy(){UI.call(this)}function Gy(){rw.call(this)}function Ky(){rw.call(this)}function Wy(){rw.call(this)}function Xy(){vc.call(this)}function Vy(){vc.call(this)}function Qy(){Xy.call(this)}function Jy(){Bl.call(this)}function tm(t){jJ.call(this,t)}function em(t){jJ.call(this,t)}function nm(t){Gh.call(this,t)}function im(t){e_.call(this,t)}function rm(t){im.call(this,t)}function am(t){e_.call(this,t)}function om(){this.a=new T_}function sm(){this.a=new Xw}function cm(){this.a=new rw}function um(){this.a=new iw}function lm(){this.j=new iw}function hm(){this.a=new Ko}function fm(){this.a=new dk}function dm(){this.a=new mc}function gm(){gm=I,ejt=new $v}function pm(){pm=I,tjt=new Fv}function bm(){bm=I,Y$t=new a}function wm(){wm=I,sjt=new mL}function ym(t){im.call(this,t)}function mm(t){im.call(this,t)}function vm(t){lK.call(this,t)}function xm(t){lK.call(this,t)}function km(t){iP.call(this,t)}function _m(t){kct.call(this,t)}function Em(t){r_.call(this,t)}function Tm(t){o_.call(this,t)}function Cm(t){o_.call(this,t)}function Sm(t){o_.call(this,t)}function Am(t){P$.call(this,t)}function Mm(t){Am.call(this,t)}function Im(){Tf.call(this,{})}function Lm(t){HI(),this.a=t}function Om(t){t.b=null,t.c=0}function Dm(t,e){t.a=e,function(t){var e,i,r;for(function(t){var e,i,r;for(i=new wd(t.a.a.b);i.a<i.c.c.length;)e=VP(qU(i),81),yz(0),(r=0)>0&&((!fM(t.a.c)||!e.n.d)&&(!dM(t.a.c)||!e.n.b)&&(e.g.d-=n.Math.max(0,r/2-.5)),(!fM(t.a.c)||!e.n.a)&&(!dM(t.a.c)||!e.n.c)&&(e.g.a+=n.Math.max(0,r-1)))}(t),r=new iw,i=new wd(t.a.a.b);i.a<i.c.c.length;)nB(r,new MT(e=VP(qU(i),81),!0)),nB(r,new MT(e,!1));(function(t){var e,n;for(Om(t.b.a),t.a=WX(hUt,r_t,81,t.c.a.a.b.c.length,0,1),e=0,n=new wd(t.c.a.a.b);n.a<n.c.c.length;)VP(qU(n),81).i=e++})(t.c),OY(r,t.b,new ov(P4(Zv(dUt,1),r_t,369,0,[t.c]))),function(t){var e,i,r;for(i=new wd(t.a.a.b);i.a<i.c.c.length;)e=VP(qU(i),81),yz(0),(r=0)>0&&((!fM(t.a.c)||!e.n.d)&&(!dM(t.a.c)||!e.n.b)&&(e.g.d+=n.Math.max(0,r/2-.5)),(!fM(t.a.c)||!e.n.a)&&(!dM(t.a.c)||!e.n.c)&&(e.g.a-=r-1))}(t)}(t)}function Nm(t,e,n){t.a[e.g]=n}function Pm(t,e,n){!function(t,e,n){var i,r;for(EM(t,t.j+e,t.k+n),r=new YI((!t.a&&(t.a=new GI(Xre,t,5)),t.a));r.e!=r.i.gc();)vM(i=VP(hnt(r),469),i.a+e,i.b+n);_M(t,t.b+e,t.c+n)}(n,t,e)}function Bm(t,e){!function(t,e){fM(t.f)?function(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new wd(t.d);i.a<i.c.c.length;)r=(n=VP(qU(i),70)).n,t.a==($4(),NGt)||t.i==(Mxt(),_ie)?r.a=a:t.a==PGt||t.i==(Mxt(),Hie)?r.a=a+t.j.a-n.o.a:r.a=a+(t.j.a-n.o.a)/2,r.b=o,mN(r,e),o+=n.o.b+t.e}(t,e):function(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new wd(t.d);i.a<i.c.c.length;)(r=(n=VP(qU(i),70)).n).a=a,t.i==(Mxt(),Eie)?r.b=o+t.j.b-n.o.b:r.b=o,mN(r,e),a+=n.o.a+t.e}(t,e)}(e.i,t.n)}function Fm(t,e){(function(t){return nB(t.c,(q4(),g9t)),p1(t.a,ev(hD(unt((att(),l2t)))))?new Zs:new Vp(t)})(t).td(e)}function $m(t,e){return t.g-e.g}function jm(t){return new Ef(t)}function Rm(t){return new UR(t)}function zm(t){Am.call(this,t)}function qm(t){Am.call(this,t)}function Hm(t){Am.call(this,t)}function Zm(t){P$.call(this,t)}function Um(t){f3(),this.a=t}function Ym(t){gP(),this.a=t}function Gm(t){b$(),this.f=t}function Km(t){b$(),this.f=t}function Wm(t){Am.call(this,t)}function Xm(t){Am.call(this,t)}function Vm(t){Am.call(this,t)}function Qm(t){Am.call(this,t)}function Jm(t){Am.call(this,t)}function tv(t){return yz(t),t}function ev(t){return yz(t),t}function nv(t){return yz(t),t}function iv(t){return yz(t),t}function rv(t){return t.b==t.c}function av(t){return!!t&&t.b}function ov(t){yz(t),this.a=t}function sv(t){return G5(t),t}function cv(t){Pj(t,t.length)}function uv(t){Am.call(this,t)}function lv(t){Am.call(this,t)}function hv(t){Am.call(this,t)}function fv(t){Am.call(this,t)}function dv(t){Am.call(this,t)}function gv(t){Am.call(this,t)}function pv(t){iO.call(this,t,0)}function bv(){MU.call(this,12,3)}function wv(){wv=I,wjt=new k}function yv(){yv=I,djt=new r}function mv(){mv=I,vjt=new b}function vv(){vv=I,Cjt=new y}function xv(){throw lw(new Pw)}function kv(){throw lw(new Pw)}function _v(){throw lw(new Pw)}function Ev(){this.a=fD(TR(n_t))}function Tv(t){wP(),this.a=TR(t)}function Cv(t,e){t.Td(e),e.Sd(t)}function Sv(t){qm.call(this,t)}function Av(t){Xm.call(this,t)}function Mv(){td.call(this,"")}function Iv(){td.call(this,"")}function Lv(){td.call(this,"")}function Ov(){td.call(this,"")}function Dv(t){qm.call(this,t)}function Nv(t){hd.call(this,t)}function Pv(t){SL.call(this,t)}function Bv(t){Nv.call(this,t)}function Fv(){Qh.call(this,null)}function $v(){Qh.call(this,null)}function jv(){jv=I,OH()}function Rv(){Rv=I,BRt=function(){function t(){try{return(new Map).entries().next().done}catch(t){return!1}}return typeof Map===Vkt&&Map.prototype.entries&&t()?Map:function(){function t(){this.obj=this.createObject()}return t.prototype.createObject=function(t){return Object.create(null)},t.prototype.get=function(t){return this.obj[t]},t.prototype.set=function(t,e){this.obj[t]=e},t.prototype[mTt]=function(t){delete this.obj[t]},t.prototype.keys=function(){return Object.getOwnPropertyNames(this.obj)},t.prototype.entries=function(){var t=this.keys(),e=this,n=0;return{next:function(){if(n>=t.length)return{done:!0};var i=t[n++];return{value:[i,e.get(i)],done:!1}}}},function(){if(!Object.create||!Object.getOwnPropertyNames)return!1;var t="__proto__",e=Object.create(null);return void 0===e[t]&&0==Object.getOwnPropertyNames(e).length&&(e[t]=42,42===e[t]&&0!=Object.getOwnPropertyNames(e).length)}()||(t.prototype.createObject=function(){return{}},t.prototype.get=function(t){return this.obj[":"+t]},t.prototype.set=function(t,e){this.obj[":"+t]=e},t.prototype[mTt]=function(t){delete this.obj[":"+t]},t.prototype.keys=function(){var t=[];for(var e in this.obj)58==e.charCodeAt(0)&&t.push(e.substring(1));return t}),t}()}()}function zv(t){return t.a?t.b:0}function qv(t){return t.a?t.b:0}function Hv(t,e){return oQ(t,e)}function Zv(t,e){return HZ(t,e)}function Uv(t,e){return t.f=e,t}function Yv(t,e){return t.c=e,t}function Gv(t,e){return t.a=e,t}function Kv(t,e){return t.f=e,t}function Wv(t,e){return t.k=e,t}function Xv(t,e){return t.a=e,t}function Vv(t,e){return t.e=e,t}function Qv(t,e){t.b=!0,t.d=e}function Jv(t,e){return t?0:e-1}function tx(t,e){return t.b=e,t}function ex(t,e){return t.a=e,t}function nx(t,e){return t.c=e,t}function ix(t,e){return t.d=e,t}function rx(t,e){return t.e=e,t}function ax(t,e){return t.f=e,t}function ox(t,e){return t.a=e,t}function sx(t,e){return t.b=e,t}function cx(t,e){return t.c=e,t}function ux(t,e){return t.c=e,t}function lx(t,e){return t.b=e,t}function hx(t,e){return t.d=e,t}function fx(t,e){return t.e=e,t}function dx(t,e){return t.g=e,t}function gx(t,e){return t.a=e,t}function px(t,e){return t.i=e,t}function bx(t,e){return t.j=e,t}function wx(t,e){return t.k=e,t}function yx(t,e,n){!function(t,e,n){jj(t,new JE(e.a,n.a))}(t.a,e,n)}function mx(t){gq.call(this,t)}function vx(t){gq.call(this,t)}function xx(t){cP.call(this,t)}function kx(t){I9.call(this,t)}function _x(t){RJ.call(this,t)}function Ex(t){$q.call(this,t)}function Tx(t){$q.call(this,t)}function Cx(){uI.call(this,"")}function Sx(){this.a=0,this.b=0}function Ax(){this.b=0,this.a=0}function Mx(t,e){t.b=0,R1(t,e)}function Ix(t,e){return t.c._b(e)}function Lx(t){return t.e&&t.e()}function Ox(t){return t?t.d:null}function Dx(t,e){return F7(t.b,e)}function Nx(t){return uD(t),t.o}function Px(){Px=I,Ire=function(){var t,e;Jyt();try{if(e=VP(Jat((mE(),ooe),BNt),2014))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new sc}()}function Bx(){var t;Bx=I,Lre=uae?VP(Hft((mE(),ooe),BNt),2016):(t=VP(MI(oZ((mE(),ooe),BNt),555)?oZ(ooe,BNt):new Uht,555),uae=!0,function(t){t.q||(t.q=!0,t.p=H3(t,0),t.a=H3(t,1),S2(t.a,0),t.f=H3(t,2),S2(t.f,1),C2(t.f,2),t.n=H3(t,3),C2(t.n,3),C2(t.n,4),C2(t.n,5),C2(t.n,6),t.g=H3(t,4),S2(t.g,7),C2(t.g,8),t.c=H3(t,5),S2(t.c,7),S2(t.c,8),t.i=H3(t,6),S2(t.i,9),S2(t.i,10),S2(t.i,11),S2(t.i,12),C2(t.i,13),t.j=H3(t,7),S2(t.j,9),t.d=H3(t,8),S2(t.d,3),S2(t.d,4),S2(t.d,5),S2(t.d,6),C2(t.d,7),C2(t.d,8),C2(t.d,9),C2(t.d,10),t.b=H3(t,9),C2(t.b,0),C2(t.b,1),t.e=H3(t,10),C2(t.e,1),C2(t.e,2),C2(t.e,3),C2(t.e,4),S2(t.e,5),S2(t.e,6),S2(t.e,7),S2(t.e,8),S2(t.e,9),S2(t.e,10),C2(t.e,11),t.k=H3(t,11),C2(t.k,0),C2(t.k,1),t.o=Z3(t,12),t.s=Z3(t,13))}(t),function(t){var e,n,i,r,a,o,s;t.r||(t.r=!0,_2(t,"graph"),E2(t,"graph"),T2(t,BNt),b4(t.o,"T"),hV(AH(t.a),t.p),hV(AH(t.f),t.a),hV(AH(t.n),t.f),hV(AH(t.g),t.n),hV(AH(t.c),t.n),hV(AH(t.i),t.c),hV(AH(t.j),t.c),hV(AH(t.d),t.f),hV(AH(t.e),t.a),EY(t.p,cHt,YCt,!0,!0,!1),s=O4(o=c6(t.p,t.p,"setProperty")),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),mot(n,i=Sq(s)),Qat(o,e,$Nt),Qat(o,e=Sq(s),jNt),s=O4(o=c6(t.p,null,"getProperty")),e=Cq(t.o),n=Sq(s),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Qat(o,e,$Nt),(a=fst(o,e=Sq(s),null))&&a.Fi(),o=c6(t.p,t.wb.e,"hasProperty"),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Qat(o,e,$Nt),Irt(o=c6(t.p,t.p,"copyProperties"),t.p,RNt),o=c6(t.p,null,"getAllProperties"),e=Cq(t.wb.P),n=Cq(t.o),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),i=new sw,hV((!n.d&&(n.d=new GI(loe,n,1)),n.d),i),n=Cq(t.wb.M),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(r=fst(o,e,null))&&r.Fi(),EY(t.a,Wre,sNt,!0,!1,!0),Art(VP(a1(oH(t.a),0),18),t.k,null,zNt,0,-1,Wre,!1,!1,!0,!0,!1,!1,!1),EY(t.f,Vre,uNt,!0,!1,!0),Art(VP(a1(oH(t.f),0),18),t.g,VP(a1(oH(t.g),0),18),"labels",0,-1,Vre,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.f),1),34),t.wb._,qNt,null,0,1,Vre,!1,!1,!0,!1,!0,!1),EY(t.n,Qre,"ElkShape",!0,!1,!0),U2(VP(a1(oH(t.n),0),34),t.wb.t,HNt,lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),1),34),t.wb.t,ZNt,lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),2),34),t.wb.t,"x",lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.n),3),34),t.wb.t,"y",lTt,1,1,Qre,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.n,null,"setDimensions"),t.wb.t,ZNt),Irt(o,t.wb.t,HNt),Irt(o=c6(t.n,null,"setLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.g,oae,pNt,!1,!1,!0),Art(VP(a1(oH(t.g),0),18),t.f,VP(a1(oH(t.f),0),18),UNt,0,1,oae,!1,!1,!0,!1,!1,!1,!1),U2(VP(a1(oH(t.g),1),34),t.wb._,YNt,"",0,1,oae,!1,!1,!0,!1,!0,!1),EY(t.c,Jre,lNt,!0,!1,!0),Art(VP(a1(oH(t.c),0),18),t.d,VP(a1(oH(t.d),1),18),"outgoingEdges",0,-1,Jre,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.c),1),18),t.d,VP(a1(oH(t.d),2),18),"incomingEdges",0,-1,Jre,!1,!1,!0,!1,!0,!1,!1),EY(t.i,sae,bNt,!1,!1,!0),Art(VP(a1(oH(t.i),0),18),t.j,VP(a1(oH(t.j),0),18),"ports",0,-1,sae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.i),1),18),t.i,VP(a1(oH(t.i),2),18),GNt,0,-1,sae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.i),2),18),t.i,VP(a1(oH(t.i),1),18),UNt,0,1,sae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.i),3),18),t.d,VP(a1(oH(t.d),0),18),"containedEdges",0,-1,sae,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.i),4),34),t.wb.e,KNt,null,0,1,sae,!0,!0,!1,!1,!0,!0),EY(t.j,cae,wNt,!1,!1,!0),Art(VP(a1(oH(t.j),0),18),t.i,VP(a1(oH(t.i),0),18),UNt,0,1,cae,!1,!1,!0,!1,!1,!1,!1),EY(t.d,tae,hNt,!1,!1,!0),Art(VP(a1(oH(t.d),0),18),t.i,VP(a1(oH(t.i),3),18),"containingNode",0,1,tae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.d),1),18),t.c,VP(a1(oH(t.c),0),18),WNt,0,-1,tae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.d),2),18),t.c,VP(a1(oH(t.c),1),18),XNt,0,-1,tae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.d),3),18),t.e,VP(a1(oH(t.e),5),18),VNt,0,-1,tae,!1,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.d),4),34),t.wb.e,"hyperedge",null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),5),34),t.wb.e,KNt,null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),6),34),t.wb.e,"selfloop",null,0,1,tae,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.d),7),34),t.wb.e,"connected",null,0,1,tae,!0,!0,!1,!1,!0,!0),EY(t.b,Xre,cNt,!1,!1,!0),U2(VP(a1(oH(t.b),0),34),t.wb.t,"x",lTt,1,1,Xre,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.b),1),34),t.wb.t,"y",lTt,1,1,Xre,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.b,null,"set"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.e,eae,fNt,!1,!1,!0),U2(VP(a1(oH(t.e),0),34),t.wb.t,"startX",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),1),34),t.wb.t,"startY",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),2),34),t.wb.t,"endX",null,0,1,eae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.e),3),34),t.wb.t,"endY",null,0,1,eae,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.e),4),18),t.b,null,QNt,0,-1,eae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.e),5),18),t.d,VP(a1(oH(t.d),3),18),UNt,0,1,eae,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.e),6),18),t.c,null,JNt,0,1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),7),18),t.c,null,tPt,0,1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),8),18),t.e,VP(a1(oH(t.e),9),18),ePt,0,-1,eae,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.e),9),18),t.e,VP(a1(oH(t.e),8),18),nPt,0,-1,eae,!1,!1,!0,!1,!0,!1,!1),U2(VP(a1(oH(t.e),10),34),t.wb._,qNt,null,0,1,eae,!1,!1,!0,!1,!0,!1),Irt(o=c6(t.e,null,"setStartLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),Irt(o=c6(t.e,null,"setEndLocation"),t.wb.t,"x"),Irt(o,t.wb.t,"y"),EY(t.k,rjt,"ElkPropertyToValueMapEntry",!1,!1,!1),e=Cq(t.o),n=new sw,hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Aht(VP(a1(oH(t.k),0),34),e,"key",rjt,!1,!1,!0,!1),U2(VP(a1(oH(t.k),1),34),t.s,jNt,null,0,1,rjt,!1,!1,!0,!1,!0,!1),Vz(t.o,S9t,"IProperty",!0),Vz(t.s,G$t,"PropertyValue",!0),u7(t,BNt))}(t),Srt(t),ZZ(ooe,BNt,t),t)}function Fx(){Fx=I,poe=function(){var t,e;Jyt();try{if(e=VP(Jat((mE(),ooe),hFt),1941))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new Hc}()}function $x(){$x=I,Ise=function(){var t,e;rQ();try{if(e=VP(Jat((mE(),ooe),qFt),2024))return e}catch(e){if(!MI(e=k4(e),102))throw lw(e);t=e,L$((ZM(),t))}return new Bu}()}function jx(){var t;jx=I,Lse=gce?VP(Hft((mE(),ooe),qFt),1945):(UA(Mse,new Wu),UA(oce,new ol),UA(sce,new wl),UA(cce,new Al),UA(fRt,new Ol),UA(Zv(Vce,1),new Dl),UA(Fjt,new Nl),UA(Rjt,new Pl),UA(fRt,new ju),UA(fRt,new Ru),UA(fRt,new zu),UA(Hjt,new qu),UA(fRt,new Hu),UA(J$t,new Zu),UA(J$t,new Uu),UA(fRt,new Yu),UA(Zjt,new Gu),UA(fRt,new Ku),UA(fRt,new Xu),UA(fRt,new Vu),UA(fRt,new Qu),UA(fRt,new Ju),UA(Zv(Vce,1),new tl),UA(fRt,new el),UA(fRt,new nl),UA(J$t,new il),UA(J$t,new rl),UA(fRt,new al),UA(Gjt,new sl),UA(fRt,new cl),UA(Jjt,new ul),UA(fRt,new ll),UA(fRt,new hl),UA(fRt,new fl),UA(fRt,new dl),UA(J$t,new gl),UA(J$t,new pl),UA(fRt,new bl),UA(fRt,new yl),UA(fRt,new ml),UA(fRt,new vl),UA(fRt,new xl),UA(fRt,new kl),UA(eRt,new _l),UA(fRt,new El),UA(fRt,new Tl),UA(fRt,new Cl),UA(eRt,new Sl),UA(Jjt,new Ml),UA(fRt,new Il),UA(Gjt,new Ll),t=VP(MI(oZ((mE(),ooe),qFt),586)?oZ(ooe,qFt):new Lz,586),gce=!0,function(t){t.N||(t.N=!0,t.b=H3(t,0),C2(t.b,0),C2(t.b,1),C2(t.b,2),t.bb=H3(t,1),C2(t.bb,0),C2(t.bb,1),t.fb=H3(t,2),C2(t.fb,3),C2(t.fb,4),S2(t.fb,5),t.qb=H3(t,3),C2(t.qb,0),S2(t.qb,1),S2(t.qb,2),C2(t.qb,3),C2(t.qb,4),S2(t.qb,5),C2(t.qb,6),t.a=Z3(t,4),t.c=Z3(t,5),t.d=Z3(t,6),t.e=Z3(t,7),t.f=Z3(t,8),t.g=Z3(t,9),t.i=Z3(t,10),t.j=Z3(t,11),t.k=Z3(t,12),t.n=Z3(t,13),t.o=Z3(t,14),t.p=Z3(t,15),t.q=Z3(t,16),t.s=Z3(t,17),t.r=Z3(t,18),t.t=Z3(t,19),t.u=Z3(t,20),t.v=Z3(t,21),t.w=Z3(t,22),t.B=Z3(t,23),t.A=Z3(t,24),t.C=Z3(t,25),t.D=Z3(t,26),t.F=Z3(t,27),t.G=Z3(t,28),t.H=Z3(t,29),t.J=Z3(t,30),t.I=Z3(t,31),t.K=Z3(t,32),t.M=Z3(t,33),t.L=Z3(t,34),t.P=Z3(t,35),t.Q=Z3(t,36),t.R=Z3(t,37),t.S=Z3(t,38),t.T=Z3(t,39),t.U=Z3(t,40),t.V=Z3(t,41),t.X=Z3(t,42),t.W=Z3(t,43),t.Y=Z3(t,44),t.Z=Z3(t,45),t.$=Z3(t,46),t._=Z3(t,47),t.ab=Z3(t,48),t.cb=Z3(t,49),t.db=Z3(t,50),t.eb=Z3(t,51),t.gb=Z3(t,52),t.hb=Z3(t,53),t.ib=Z3(t,54),t.jb=Z3(t,55),t.kb=Z3(t,56),t.lb=Z3(t,57),t.mb=Z3(t,58),t.nb=Z3(t,59),t.ob=Z3(t,60),t.pb=Z3(t,61))}(t),function(t){var e;t.O||(t.O=!0,_2(t,"type"),E2(t,"ecore.xml.type"),T2(t,qFt),e=VP(Hft((mE(),ooe),qFt),1945),hV(AH(t.fb),t.b),EY(t.b,Mse,"AnyType",!1,!1,!0),U2(VP(a1(oH(t.b),0),34),t.wb.D,tFt,null,0,-1,Mse,!1,!1,!0,!1,!1,!1),U2(VP(a1(oH(t.b),1),34),t.wb.D,"any",null,0,-1,Mse,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.b),2),34),t.wb.D,"anyAttribute",null,0,-1,Mse,!1,!1,!0,!1,!1,!1),EY(t.bb,oce,GFt,!1,!1,!0),U2(VP(a1(oH(t.bb),0),34),t.gb,"data",null,0,1,oce,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),1),34),t.gb,dPt,null,1,1,oce,!1,!1,!0,!1,!0,!1),EY(t.fb,sce,KFt,!1,!1,!0),U2(VP(a1(oH(t.fb),0),34),e.gb,"rawValue",null,0,1,sce,!0,!0,!0,!1,!0,!0),U2(VP(a1(oH(t.fb),1),34),e.a,jNt,null,0,1,sce,!0,!0,!0,!1,!0,!0),Art(VP(a1(oH(t.fb),2),18),t.wb.q,null,"instanceType",1,1,sce,!1,!1,!0,!1,!1,!1,!1),EY(t.qb,cce,WFt,!1,!1,!0),U2(VP(a1(oH(t.qb),0),34),t.wb.D,tFt,null,0,-1,null,!1,!1,!0,!1,!1,!1),Art(VP(a1(oH(t.qb),1),18),t.wb.ab,null,"xMLNSPrefixMap",0,-1,null,!0,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.qb),2),18),t.wb.ab,null,"xSISchemaLocation",0,-1,null,!0,!1,!0,!0,!1,!1,!1),U2(VP(a1(oH(t.qb),3),34),t.gb,"cDATA",null,0,-2,null,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.qb),4),34),t.gb,"comment",null,0,-2,null,!0,!0,!0,!1,!1,!0),Art(VP(a1(oH(t.qb),5),18),t.bb,null,x$t,0,-2,null,!0,!0,!0,!0,!1,!1,!0),U2(VP(a1(oH(t.qb),6),34),t.gb,YNt,null,0,-2,null,!0,!0,!0,!1,!1,!0),Vz(t.a,G$t,"AnySimpleType",!0),Vz(t.c,fRt,"AnyURI",!0),Vz(t.d,Zv(Vce,1),"Base64Binary",!0),Vz(t.e,Wce,"Boolean",!0),Vz(t.f,Fjt,"BooleanObject",!0),Vz(t.g,Vce,"Byte",!0),Vz(t.i,Rjt,"ByteObject",!0),Vz(t.j,fRt,"Date",!0),Vz(t.k,fRt,"DateTime",!0),Vz(t.n,mRt,"Decimal",!0),Vz(t.o,Qce,"Double",!0),Vz(t.p,Hjt,"DoubleObject",!0),Vz(t.q,fRt,"Duration",!0),Vz(t.s,J$t,"ENTITIES",!0),Vz(t.r,J$t,"ENTITIESBase",!0),Vz(t.t,fRt,e$t,!0),Vz(t.u,Jce,"Float",!0),Vz(t.v,Zjt,"FloatObject",!0),Vz(t.w,fRt,"GDay",!0),Vz(t.B,fRt,"GMonth",!0),Vz(t.A,fRt,"GMonthDay",!0),Vz(t.C,fRt,"GYear",!0),Vz(t.D,fRt,"GYearMonth",!0),Vz(t.F,Zv(Vce,1),"HexBinary",!0),Vz(t.G,fRt,"ID",!0),Vz(t.H,fRt,"IDREF",!0),Vz(t.J,J$t,"IDREFS",!0),Vz(t.I,J$t,"IDREFSBase",!0),Vz(t.K,Kce,"Int",!0),Vz(t.M,ERt,"Integer",!0),Vz(t.L,Gjt,"IntObject",!0),Vz(t.P,fRt,"Language",!0),Vz(t.Q,Xce,"Long",!0),Vz(t.R,Jjt,"LongObject",!0),Vz(t.S,fRt,"Name",!0),Vz(t.T,fRt,n$t,!0),Vz(t.U,ERt,"NegativeInteger",!0),Vz(t.V,fRt,f$t,!0),Vz(t.X,J$t,"NMTOKENS",!0),Vz(t.W,J$t,"NMTOKENSBase",!0),Vz(t.Y,ERt,"NonNegativeInteger",!0),Vz(t.Z,ERt,"NonPositiveInteger",!0),Vz(t.$,fRt,"NormalizedString",!0),Vz(t._,fRt,"NOTATION",!0),Vz(t.ab,fRt,"PositiveInteger",!0),Vz(t.cb,fRt,"QName",!0),Vz(t.db,tue,"Short",!0),Vz(t.eb,eRt,"ShortObject",!0),Vz(t.gb,fRt,aEt,!0),Vz(t.hb,fRt,"Time",!0),Vz(t.ib,fRt,"Token",!0),Vz(t.jb,tue,"UnsignedByte",!0),Vz(t.kb,eRt,"UnsignedByteObject",!0),Vz(t.lb,Xce,"UnsignedInt",!0),Vz(t.mb,Jjt,"UnsignedIntObject",!0),Vz(t.nb,ERt,"UnsignedLong",!0),Vz(t.ob,Kce,"UnsignedShort",!0),Vz(t.pb,Gjt,"UnsignedShortObject",!0),u7(t,qFt),function(t){tdt(t.a,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anySimpleType"])),tdt(t.b,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anyType",nFt,tFt])),tdt(VP(a1(oH(t.b),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,wPt,":mixed"])),tdt(VP(a1(oH(t.b),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,zFt,HFt,wPt,":1",QFt,"lax"])),tdt(VP(a1(oH(t.b),2),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,DFt,zFt,HFt,wPt,":2",QFt,"lax"])),tdt(t.c,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"anyURI",RFt,BFt])),tdt(t.d,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"base64Binary",RFt,BFt])),tdt(t.e,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,Kkt,RFt,BFt])),tdt(t.f,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"boolean:Object",gFt,Kkt])),tdt(t.g,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,qBt])),tdt(t.i,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"byte:Object",gFt,qBt])),tdt(t.j,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"date",RFt,BFt])),tdt(t.k,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"dateTime",RFt,BFt])),tdt(t.n,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"decimal",RFt,BFt])),tdt(t.o,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,ZBt,RFt,BFt])),tdt(t.p,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"double:Object",gFt,ZBt])),tdt(t.q,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"duration",RFt,BFt])),tdt(t.s,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"ENTITIES",gFt,JFt,t$t,"1"])),tdt(t.r,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,JFt,FFt,e$t])),tdt(t.t,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,e$t,gFt,n$t])),tdt(t.u,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,UBt,RFt,BFt])),tdt(t.v,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"float:Object",gFt,UBt])),tdt(t.w,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gDay",RFt,BFt])),tdt(t.B,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gMonth",RFt,BFt])),tdt(t.A,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gMonthDay",RFt,BFt])),tdt(t.C,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gYear",RFt,BFt])),tdt(t.D,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"gYearMonth",RFt,BFt])),tdt(t.F,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"hexBinary",RFt,BFt])),tdt(t.G,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"ID",gFt,n$t])),tdt(t.H,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"IDREF",gFt,n$t])),tdt(t.J,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"IDREFS",gFt,i$t,t$t,"1"])),tdt(t.I,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,i$t,FFt,"IDREF"])),tdt(t.K,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,YBt])),tdt(t.M,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,r$t])),tdt(t.L,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"int:Object",gFt,YBt])),tdt(t.P,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"language",gFt,a$t,o$t,s$t])),tdt(t.Q,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,GBt])),tdt(t.R,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"long:Object",gFt,GBt])),tdt(t.S,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"Name",gFt,a$t,o$t,c$t])),tdt(t.T,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,n$t,gFt,"Name",o$t,u$t])),tdt(t.U,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"negativeInteger",gFt,l$t,h$t,"-1"])),tdt(t.V,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,f$t,gFt,a$t,o$t,"\\c+"])),tdt(t.X,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"NMTOKENS",gFt,d$t,t$t,"1"])),tdt(t.W,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,d$t,FFt,f$t])),tdt(t.Y,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,g$t,gFt,r$t,p$t,"0"])),tdt(t.Z,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,l$t,gFt,r$t,h$t,"0"])),tdt(t.$,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,b$t,gFt,Xkt,RFt,"replace"])),tdt(t._,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"NOTATION",RFt,BFt])),tdt(t.ab,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"positiveInteger",gFt,g$t,p$t,"1"])),tdt(t.bb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"processingInstruction_._type",nFt,"empty"])),tdt(VP(a1(oH(t.bb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,OFt,wPt,"data"])),tdt(VP(a1(oH(t.bb),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,OFt,wPt,dPt])),tdt(t.cb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"QName",RFt,BFt])),tdt(t.db,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,KBt])),tdt(t.eb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"short:Object",gFt,KBt])),tdt(t.fb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"simpleAnyType",nFt,LFt])),tdt(VP(a1(oH(t.fb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":3",nFt,LFt])),tdt(VP(a1(oH(t.fb),1),34),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":4",nFt,LFt])),tdt(VP(a1(oH(t.fb),2),18),eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,":5",nFt,LFt])),tdt(t.gb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,Xkt,RFt,"preserve"])),tdt(t.hb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"time",RFt,BFt])),tdt(t.ib,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,a$t,gFt,b$t,RFt,BFt])),tdt(t.jb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,w$t,h$t,"255",p$t,"0"])),tdt(t.kb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedByte:Object",gFt,w$t])),tdt(t.lb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,y$t,h$t,"4294967295",p$t,"0"])),tdt(t.mb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedInt:Object",gFt,y$t])),tdt(t.nb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedLong",gFt,g$t,h$t,m$t,p$t,"0"])),tdt(t.ob,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,v$t,h$t,"65535",p$t,"0"])),tdt(t.pb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"unsignedShort:Object",gFt,v$t])),tdt(t.qb,eFt,P4(Zv(fRt,1),T_t,2,6,[wPt,"",nFt,tFt])),tdt(VP(a1(oH(t.qb),0),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,PFt,wPt,":mixed"])),tdt(VP(a1(oH(t.qb),1),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,OFt,wPt,"xmlns:prefix"])),tdt(VP(a1(oH(t.qb),2),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,OFt,wPt,"xsi:schemaLocation"])),tdt(VP(a1(oH(t.qb),3),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,"cDATA",$Ft,jFt])),tdt(VP(a1(oH(t.qb),4),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,"comment",$Ft,jFt])),tdt(VP(a1(oH(t.qb),5),18),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,x$t,$Ft,jFt])),tdt(VP(a1(oH(t.qb),6),34),eFt,P4(Zv(fRt,1),T_t,2,6,[nFt,NFt,wPt,YNt,$Ft,jFt]))}(t))}(t),Pz((vE(),goe),t,new $u),Srt(t),ZZ(ooe,qFt,t),t)}function Rx(){Rx=I,Sae=u0()}function zx(){throw lw(new Pw)}function qx(){throw lw(new Pw)}function Hx(){throw lw(new Pw)}function Zx(){throw lw(new Pw)}function Ux(){throw lw(new Pw)}function Yx(){throw lw(new Pw)}function Gx(t){this.a=new x_(t)}function Kx(t){Ext(),function(t,e){var n,i,r,a,o,s,c,u;if(n=0,o=0,a=e.length,s=null,u=new Ov,o<a&&(DU(o,e.length),43==e.charCodeAt(o))&&(++n,++o<a&&(DU(o,e.length),43==e.charCodeAt(o)||(DU(o,e.length),45==e.charCodeAt(o)))))throw lw(new Av(QEt+e+'"'));for(;o<a&&(DU(o,e.length),46!=e.charCodeAt(o))&&(DU(o,e.length),101!=e.charCodeAt(o))&&(DU(o,e.length),69!=e.charCodeAt(o));)++o;if(u.a+=""+fO(null==e?s_t:(yz(e),e),n,o),o<a&&(DU(o,e.length),46==e.charCodeAt(o))){for(n=++o;o<a&&(DU(o,e.length),101!=e.charCodeAt(o))&&(DU(o,e.length),69!=e.charCodeAt(o));)++o;t.e=o-n,u.a+=""+fO(null==e?s_t:(yz(e),e),n,o)}else t.e=0;if(o<a&&(DU(o,e.length),101==e.charCodeAt(o)||(DU(o,e.length),69==e.charCodeAt(o)))&&(n=++o,o<a&&(DU(o,e.length),43==e.charCodeAt(o))&&++o<a&&(DU(o,e.length),45!=e.charCodeAt(o))&&++n,s=e.substr(n,a-n),t.e=t.e-rwt(s,eEt,Qkt),t.e!=cZ(t.e)))throw lw(new Av("Scale out of range."));if((c=u.a).length<16){if(t.f=(null==hRt&&(hRt=new RegExp("^[+-]?\\d*$","i")),hRt.test(c)?parseInt(c,10):NaN),isNaN(t.f))throw lw(new Av(QEt+e+'"'));t.a=Tlt(t.f)}else!function(t,e){var n;t.c=e,t.a=function(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&r3(t)==t.d-1&&(--n,n|=0),e-=Qlt(n))}(e),t.a<54&&(t.f=(n=e.d>1?UU(Z$(e.a[1],32),ZU(e.a[0],cTt)):ZU(e.a[0],cTt),WY(n9(e.e,n))))}(t,new AM(c));for(t.d=u.a.length,r=0;r<u.a.length&&(45==(i=Gz(u.a,r))||48==i);++r)--t.d;0==t.d&&(t.d=1)}(this,t)}function Wx(t){this.a=new hj(t)}function Xx(t,e){for(;t.ye(e););}function Vx(t,e){for(;t.sd(e););}function Qx(t,e){return t.a+=e,t}function Jx(t,e){return t.a+=e,t}function tk(t,e){return t.a+=e,t}function ek(t,e){return t.a+=e,t}function nk(t){return vz(t),t.a}function ik(t){return t.b!=t.d.c}function rk(t){return t.l|t.m<<22}function ak(t,e){return t.d[e.p]}function ok(t,e){return function(t,e){var n,i;if(q4(),n=lW(u0(),e.tg())){if(i=n.j,MI(t,239))return function(t){return!t.a&&(t.a=new mj(sae,t,10,11)),t.a.i>0}(VP(t,33))?$L(i,(Vet(),E9t))||$L(i,T9t):$L(i,(Vet(),E9t));if(MI(t,352))return $L(i,(Vet(),k9t));if(MI(t,186))return $L(i,(Vet(),C9t));if(MI(t,354))return $L(i,(Vet(),_9t))}return!0}(t,e)}function sk(t,e,n){t.splice(e,n)}function ck(t){t.c?ypt(t):mpt(t)}function uk(t){this.a=0,this.b=t}function lk(){this.a=new Gdt(y6t)}function hk(){this.b=new Gdt(r5t)}function fk(){this.b=new Gdt(u8t)}function dk(){this.b=new Gdt(u8t)}function gk(){throw lw(new Pw)}function pk(){throw lw(new Pw)}function bk(){throw lw(new Pw)}function wk(){throw lw(new Pw)}function yk(){throw lw(new Pw)}function mk(){throw lw(new Pw)}function vk(){throw lw(new Pw)}function xk(){throw lw(new Pw)}function kk(){throw lw(new Pw)}function _k(){throw lw(new Pw)}function Ek(t){this.a=new Tk(t)}function Tk(t){!function(t,e,n){var i;t.b=e,t.a=n,i=512==(512&t.a)?new Jy:new Bl,t.c=function(t,e,n){var i,r,a;if(t.e=n,t.d=0,t.b=0,t.f=1,t.i=e,16==(16&t.e)&&(t.i=function(t){var e,n,i,r,a;for(i=t.length,e=new Iv,a=0;a<i;)if(9!=(n=Gz(t,a++))&&10!=n&&12!=n&&13!=n&&32!=n)if(35!=n)92==n&&a<i?35==(DU(a,t.length),r=t.charCodeAt(a))||9==r||10==r||12==r||13==r||32==r?($R(e,r&fEt),++a):(e.a+="\\",$R(e,r&fEt),++a):$R(e,n&fEt);else for(;a<i&&13!=(n=Gz(t,a++))&&10!=n;);return e.a}(t.i)),t.j=t.i.length,kkt(t),a=net(t),t.d!=t.j)throw lw(new gv(jkt((ZM(),IPt))));if(t.g){for(i=0;i<t.g.a.c.length;i++)if(r=VP(fz(t.g,i),584),t.f<=r.a)throw lw(new gv(jkt((ZM(),LPt))));t.g.a.c=WX(G$t,r_t,1,0,5,1)}return a}(i,t.b,t.a)}(this,t,function(){var t,e,n;for(e=0,t=0;t<1;t++){if(0==(n=Bht((DU(t,1),"X".charCodeAt(t)))))throw lw(new gv("Unknown Option: "+"X".substr(t)));e|=n}return e}())}function Ck(t){return!t||gz(t)}function Sk(t){return-1!=uce[t]}function Ak(){0!=xjt&&(xjt=0),_jt=-1}function Mk(){null==Hkt&&(Hkt=[])}function Ik(t,e){iL.call(this,t,e)}function Lk(t,e){Ik.call(this,t,e)}function Ok(t,e){this.b=t,this.c=e}function Dk(t,e){this.b=t,this.a=e}function Nk(t,e){this.a=t,this.b=e}function Pk(t,e){this.a=t,this.b=e}function Bk(t,e){this.a=t,this.b=e}function Fk(t,e){this.a=t,this.b=e}function $k(t,e){this.a=t,this.b=e}function jk(t,e){this.a=t,this.b=e}function Rk(t,e){this.a=t,this.b=e}function zk(t,e){this.a=t,this.b=e}function qk(t,e){this.b=t,this.a=e}function Hk(t,e){this.b=t,this.a=e}function Zk(t,e){this.b=t,this.a=e}function Uk(t,e){this.b=t,this.a=e}function Yk(t,e){this.f=t,this.g=e}function Gk(t,e){this.e=t,this.d=e}function Kk(t,e){this.g=t,this.i=e}function Wk(t,e){this.a=t,this.b=e}function Xk(t,e){this.a=t,this.f=e}function Vk(t,e){this.b=t,this.c=e}function Qk(t,e){this.a=t,this.b=e}function Jk(t,e){this.a=t,this.b=e}function t_(t,e){this.a=t,this.b=e}function e_(t){vL(t.dc()),this.c=t}function n_(t){this.b=VP(TR(t),83)}function i_(t){this.a=VP(TR(t),83)}function r_(t){this.a=VP(TR(t),15)}function a_(t){this.a=VP(TR(t),15)}function o_(t){this.b=VP(TR(t),47)}function s_(){this.q=new n.Date}function c_(){c_=I,iRt=new L}function u_(){u_=I,ARt=new S}function l_(t){return t.f.c+t.g.c}function h_(t,e){return t.b.Hc(e)}function f_(t,e){return t.b.Ic(e)}function d_(t,e){return t.b.Qc(e)}function g_(t,e){return t.b.Hc(e)}function p_(t,e){return t.c.uc(e)}function b_(t,e){return t.a._b(e)}function w_(t,e){return X7(t.c,e)}function y_(t,e){return Sj(t.b,e)}function m_(t,e){return t>e&&e<Y_t}function v_(t){return KR(),t?Tjt:Ejt}function x_(t){a5.call(this,t,0)}function k_(){hj.call(this,null)}function __(){JX.call(this,null)}function E_(t){this.c=t,aJ(this)}function T_(){oI(this),zq(this)}function C_(t,e){vz(t),t.a.Nb(e)}function S_(t,e){return t.Gc(e),t}function A_(t,e){return t.a.f=e,t}function M_(t,e){return t.a.d=e,t}function I_(t,e){return t.a.g=e,t}function L_(t,e){return t.a.j=e,t}function O_(t,e){return t.a.a=e,t}function D_(t,e){return t.a.d=e,t}function N_(t,e){return t.a.e=e,t}function P_(t,e){return t.a.g=e,t}function B_(t,e){return t.a.f=e,t}function F_(){F_=I,qRt=new BA}function $_(){$_=I,HRt=new FA}function j_(){j_=I,izt=new Y}function R_(){R_=I,DUt=new Fe}function z_(){z_=I,mHt=new AO}function q_(){q_=I,bzt=new ut}function H_(){H_=I,BUt=new $e}function Z_(){Z_=I,Ezt=new gt}function U_(){U_=I,aUt=new me}function Y_(){Y_=I,eYt=new Sx}function G_(){G_=I,oUt=new Ce}function K_(){K_=I,lUt=new f$}function W_(){W_=I,TUt=new Ee}function X_(){X_=I,nYt=new dn}function V_(){V_=I,pGt=new Vn}function Q_(){Q_=I,MGt=new Dr}function J_(){J_=I,hKt=new ra}function tE(){tE=I,u6t=new hG}function eE(){eE=I,c8t=new oE}function nE(){nE=I,h8t=new oD}function iE(){iE=I,a9t=new Dz}function rE(){rE=I,u2t=new Ws}function aE(){C0(),this.c=new bv}function oE(){Yk.call(this,rMt,0)}function sE(t,e){Uet(t.c.b,e.c,e)}function cE(t,e){Uet(t.c.c,e.b,e)}function uE(t,e,n){ZZ(t.d,e.f,n)}function lE(t,e,n,i){!function(t,e,n,i){var r;(r=function(t){var e,n,i,r;for(Pkt(),i=0,r=(n=Ket()).length;i<r;++i)if(-1!=lQ((e=n[i]).a,t,0))return e;return Zqt}(e.Xe((Ikt(),Vte))?VP(e.We(Vte),21):t.j))!=(Pkt(),Zqt)&&(n&&!fet(r)||zct(function(t,e,n){var i,r,a;if(!(r=VP(Zz(t.i,e),306)))if(r=new $J(t.d,e,n),VF(t.i,e,r),fet(e))!function(t,e,n,i){BR(t.a[e.g],n.g,i)}(t.a,e.c,e.b,r);else switch(a=function(t){switch(t.g){case 0:case 1:case 2:return Mxt(),Eie;case 3:case 4:case 5:return Mxt(),zie;case 6:case 7:case 8:return Mxt(),Hie;case 9:case 10:case 11:return Mxt(),_ie;default:return Mxt(),qie}}(e),i=VP(Zz(t.p,a),244),a.g){case 1:case 3:r.j=!0,Nm(i,e.b,r);break;case 4:case 2:r.k=!0,Nm(i,e.c,r)}return r}(t,r,i),e))}(t,i,e,n)}function hE(t,e,n,i){!function(t,e,n,i){var r,a,o,s,c,u;for(o=t.j.c.length,c=WX(xqt,vCt,306,o,0,1),s=0;s<o;s++)(a=VP(EF(t.j,s),11)).p=s,c[s]=oht(Jht(a),n,i);for(function(t,e,n,i,r){var a,o,s,c;for(c=new aP(a=VP(Lx(ere),9),VP(nN(a,a.length),9),0),s=new wd(t.j);s.a<s.c.c.length;)e[(o=VP(qU(s),11)).p]&&($xt(o,e[o.p],i),t2(c,o.j));r?(Oot(t,e,(Mxt(),_ie),2*n,i),Oot(t,e,Hie,2*n,i)):(Oot(t,e,(Mxt(),Eie),2*n,i),Oot(t,e,zie,2*n,i))}(t,c,n,e,i),u=new rw,r=0;r<c.length;r++)c[r]&&Pz(u,VP(EF(t.j,r),11),c[r]);u.f.c+u.g.c!=0&&(d5(t,(Lkt(),oXt),u),function(t,e){var n,i,r,a,o,s,c;for(o=t.d,c=t.o,s=new mq(-o.b,-o.d,o.b+c.a+o.c,o.d+c.b+o.a),r=0,a=(i=e).length;r<a;++r)(n=i[r])&&gut(s,n.i);o.b=-s.c,o.d=-s.d,o.c=s.b-o.b-c.a,o.a=s.a-o.d-c.b}(t,c))}(i,t,e,n)}function fE(t,e,i,r){!function(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;if(d=ev(hD(Ost(t,(wkt(),H0t)))),g=ev(hD(Ost(t,Z0t))),f=ev(hD(Ost(t,z0t))),c=t.o,s=(o=VP(EF(t.j,0),11)).n,b=function(t,e){var i,r,a;if(0==t.f.c.length)return null;for(a=new lM,i=new wd(t.f);i.a<i.c.c.length;)r=VP(qU(i),70).o,a.b=n.Math.max(a.b,r.a),a.a+=r.b;return a.a+=(t.f.c.length-1)*e,a}(o,f)){if(e.Hc((Ilt(),wie)))switch(VP(Ost(t,(Lkt(),hXt)),61).g){case 1:b.c=(c.a-b.b)/2-s.a,b.d=g;break;case 3:b.c=(c.a-b.b)/2-s.a,b.d=-g-b.a;break;case 2:i&&0==o.e.c.length&&0==o.g.c.length?(h=r?b.a:VP(EF(o.f,0),70).o.b,b.d=(c.b-h)/2-s.b):b.d=c.b+g-s.b,b.c=-d-b.b;break;case 4:i&&0==o.e.c.length&&0==o.g.c.length?(h=r?b.a:VP(EF(o.f,0),70).o.b,b.d=(c.b-h)/2-s.b):b.d=c.b+g-s.b,b.c=d}else if(e.Hc(mie))switch(VP(Ost(t,(Lkt(),hXt)),61).g){case 1:case 3:b.c=s.a+d;break;case 2:case 4:i&&!o.c?(h=r?b.a:VP(EF(o.f,0),70).o.b,b.d=(c.b-h)/2-s.b):b.d=s.b+g}for(a=b.d,l=new wd(o.f);l.a<l.c.c.length;)(p=(u=VP(qU(l),70)).n).a=b.c,p.b=a,a+=u.o.b+f}}(r,t,e,i)}function dE(t,e){return t.a=e.g,t}function gE(t,e){return function(t,e){var i,r,a;if(0==(i=function(t,e,i){var r,a,o,s,c,u,l,h,f;for(s=new Tat,l=P4(Zv(Kce,1),CEt,25,15,[0]),a=-1,o=0,r=0,u=0;u<t.b.c.length;++u){if(!((h=VP(EF(t.b,u),434)).b>0)){if(a=-1,32==Gz(h.c,0)){if(f=l[0],QQ(e,l),l[0]>f)continue}else if(FH(e,h.c,l[0])){l[0]+=h.c.length;continue}return 0}if(a<0&&h.a&&(a=u,o=l[0],r=0),a>=0){if(c=h.b,u==a&&0==(c-=r++))return 0;if(!Nxt(e,l,h,c,s)){u=a-1,l[0]=o;continue}}else if(a=-1,!Nxt(e,l,h,0,s))return 0}return function(t,e){var i,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>eEt&&QG(e,t.p-TEt),s=e.q.getDate(),mZ(e,1),t.k>=0&&function(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),Myt(t,n)}(e,t.k),t.c>=0?mZ(e,t.c):t.k>=0?(r=35-new v5(e.q.getFullYear()-TEt,e.q.getMonth(),35).q.getDate(),mZ(e,n.Math.min(r,s))):mZ(e,s),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),function(t,e){t.q.setHours(e),Myt(t,e)}(e,24==t.f&&t.g?0:t.f),t.j>=0&&function(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),Myt(t,n)}(e,t.j),t.n>=0&&function(t,e){var n;n=t.q.getHours()+(e/3600|0),t.q.setSeconds(e),Myt(t,n)}(e,t.n),t.i>=0&&EA(e,e9(n9(qat(B3(e.q.getTime()),hEt),hEt),t.i)),t.a&&(QG(a=new s_,a.q.getFullYear()-TEt-80),DE(B3(e.q.getTime()),B3(a.q.getTime()))&&QG(e,a.q.getFullYear()-TEt+100)),t.d>=0)if(-1==t.c)(i=(7+t.d-e.q.getDay())%7)>3&&(i-=7),c=e.q.getMonth(),mZ(e,e.q.getDate()+i),e.q.getMonth()!=c&&mZ(e,e.q.getDate()+(i>0?-7:7));else if(e.q.getDay()!=t.d)return!1;return t.o>eEt&&(o=e.q.getTimezoneOffset(),EA(e,e9(B3(e.q.getTime()),60*(t.o-o)*hEt))),!0}(s,i)?l[0]:0}(t,e,a=new v5((r=new s_).q.getFullYear()-TEt,r.q.getMonth(),r.q.getDate())))||i<e.length)throw lw(new Xm(e));return a}(t.a,e)}function pE(){pE=I,Sre=new nc}function bE(){bE=I,Hre=new hc}function wE(){wE=I,Qae=new Ry}function yE(){yE=I,soe=new zy}function mE(){mE=I,ooe=new Gy}function vE(){vE=I,goe=new Wy}function xE(){xE=I,Woe=new yI}function kE(){kE=I,Xoe=new mI}function _E(){_E=I,mse=new Nu}function EE(){EE=I,xse=new Pu}function TE(){TE=I,Nae=new rw}function CE(){CE=I,lse=new iw}function SE(){SE=I,Rce=new $l}function AE(t){this.a=VP(TR(t),224)}function ME(t){return VP(t,42).cd()}function IE(t){return t.b<t.d.gc()}function LE(t,e){return r$(t.a,e)}function OE(t,e){return x7(t,e)>0}function DE(t,e){return x7(t,e)<0}function NE(t,e){return t.a.get(e)}function PE(t,e){return Sj(t.e,e)}function BE(t){return yz(t),!1}function FE(t){NU.call(this,t,21)}function $E(t,e){yZ.call(this,t,e)}function jE(t,e){Yk.call(this,t,e)}function RE(t,e){Yk.call(this,t,e)}function zE(t){XR(),iP.call(this,t)}function qE(t,e){t$(t,t.length,e)}function HE(t,e){aR(t,t.length,e)}function ZE(t,e,n){t.splice(e,0,n)}function UE(t,e){this.d=t,this.e=e}function YE(t,e){this.b=t,this.a=e}function GE(t,e){this.b=t,this.a=e}function KE(t,e){this.b=t,this.a=e}function WE(t,e){this.a=t,this.b=e}function XE(t,e){this.a=t,this.b=e}function VE(t,e){this.a=t,this.b=e}function QE(t,e){this.a=t,this.b=e}function JE(t,e){this.a=t,this.b=e}function tT(t,e){this.b=t,this.a=e}function eT(t,e){this.b=t,this.a=e}function nT(t,e){Yk.call(this,t,e)}function iT(t,e){Yk.call(this,t,e)}function rT(t,e){Yk.call(this,t,e)}function aT(t,e){Yk.call(this,t,e)}function oT(t,e){Yk.call(this,t,e)}function sT(t,e){Yk.call(this,t,e)}function cT(t,e){Yk.call(this,t,e)}function uT(t,e){Yk.call(this,t,e)}function lT(t,e){Yk.call(this,t,e)}function hT(t,e){Yk.call(this,t,e)}function fT(t,e){Yk.call(this,t,e)}function dT(t,e){Yk.call(this,t,e)}function gT(t,e){Yk.call(this,t,e)}function pT(t,e){Yk.call(this,t,e)}function bT(t,e){Yk.call(this,t,e)}function wT(t,e){Yk.call(this,t,e)}function yT(t,e){Yk.call(this,t,e)}function mT(t,e){Yk.call(this,t,e)}function vT(t,e){this.a=t,this.b=e}function xT(t,e){this.a=t,this.b=e}function kT(t,e){this.a=t,this.b=e}function _T(t,e){this.a=t,this.b=e}function ET(t,e){this.a=t,this.b=e}function TT(t,e){this.a=t,this.b=e}function CT(t,e){this.a=t,this.b=e}function ST(t,e){this.a=t,this.b=e}function AT(t,e){this.a=t,this.b=e}function MT(t,e){this.b=t,this.a=e}function IT(t,e){this.b=t,this.a=e}function LT(t,e){this.b=t,this.a=e}function OT(t,e){this.b=t,this.a=e}function DT(t,e){this.c=t,this.d=e}function NT(t,e){this.e=t,this.d=e}function PT(t,e){this.a=t,this.b=e}function BT(t,e){this.b=e,this.c=t}function FT(t,e){Yk.call(this,t,e)}function $T(t,e){Yk.call(this,t,e)}function jT(t,e){Yk.call(this,t,e)}function RT(t,e){Yk.call(this,t,e)}function zT(t,e){Yk.call(this,t,e)}function qT(t,e){Yk.call(this,t,e)}function HT(t,e){Yk.call(this,t,e)}function ZT(t,e){Yk.call(this,t,e)}function UT(t,e){Yk.call(this,t,e)}function YT(t,e){Yk.call(this,t,e)}function GT(t,e){Yk.call(this,t,e)}function KT(t,e){Yk.call(this,t,e)}function WT(t,e){Yk.call(this,t,e)}function XT(t,e){Yk.call(this,t,e)}function VT(t,e){Yk.call(this,t,e)}function QT(t,e){Yk.call(this,t,e)}function JT(t,e){Yk.call(this,t,e)}function tC(t,e){Yk.call(this,t,e)}function eC(t,e){Yk.call(this,t,e)}function nC(t,e){Yk.call(this,t,e)}function iC(t,e){Yk.call(this,t,e)}function rC(t,e){Yk.call(this,t,e)}function aC(t,e){Yk.call(this,t,e)}function oC(t,e){Yk.call(this,t,e)}function sC(t,e){Yk.call(this,t,e)}function cC(t,e){Yk.call(this,t,e)}function uC(t,e){Yk.call(this,t,e)}function lC(t,e){Yk.call(this,t,e)}function hC(t,e){Yk.call(this,t,e)}function fC(t,e){Yk.call(this,t,e)}function dC(t,e){Yk.call(this,t,e)}function gC(t,e){Yk.call(this,t,e)}function pC(t,e){Yk.call(this,t,e)}function bC(t,e){Yk.call(this,t,e)}function wC(t,e){this.b=t,this.a=e}function yC(t,e){this.a=t,this.b=e}function mC(t,e){this.a=t,this.b=e}function vC(t,e){this.a=t,this.b=e}function xC(t,e){this.a=t,this.b=e}function kC(t,e){Yk.call(this,t,e)}function _C(t,e){Yk.call(this,t,e)}function EC(t,e){this.b=t,this.d=e}function TC(t,e){Yk.call(this,t,e)}function CC(t,e){Yk.call(this,t,e)}function SC(t,e){this.a=t,this.b=e}function AC(t,e){this.a=t,this.b=e}function MC(t,e){Yk.call(this,t,e)}function IC(t,e){Yk.call(this,t,e)}function LC(t,e){Yk.call(this,t,e)}function OC(t,e){Yk.call(this,t,e)}function DC(t,e){Yk.call(this,t,e)}function NC(t,e){Yk.call(this,t,e)}function PC(t,e){Yk.call(this,t,e)}function BC(t,e){Yk.call(this,t,e)}function FC(t,e){Yk.call(this,t,e)}function $C(t,e){Yk.call(this,t,e)}function jC(t,e){Yk.call(this,t,e)}function RC(t,e){Yk.call(this,t,e)}function zC(t,e){Yk.call(this,t,e)}function qC(t,e){Yk.call(this,t,e)}function HC(t,e){Yk.call(this,t,e)}function ZC(t,e){Yk.call(this,t,e)}function UC(t,e){return $L(t.g,e)}function YC(t,e){Yk.call(this,t,e)}function GC(t,e){Yk.call(this,t,e)}function KC(t,e){this.a=t,this.b=e}function WC(t,e){this.a=t,this.b=e}function XC(t,e){this.a=t,this.b=e}function VC(t,e){Yk.call(this,t,e)}function QC(t,e){Yk.call(this,t,e)}function JC(t,e){Yk.call(this,t,e)}function tS(t,e){Yk.call(this,t,e)}function eS(t,e){Yk.call(this,t,e)}function nS(t,e){Yk.call(this,t,e)}function iS(t,e){Yk.call(this,t,e)}function rS(t,e){Yk.call(this,t,e)}function aS(t,e){Yk.call(this,t,e)}function oS(t,e){Yk.call(this,t,e)}function sS(t,e){Yk.call(this,t,e)}function cS(t,e){Yk.call(this,t,e)}function uS(t,e){Yk.call(this,t,e)}function lS(t,e){Yk.call(this,t,e)}function hS(t,e){Yk.call(this,t,e)}function fS(t,e){Yk.call(this,t,e)}function dS(t,e){this.a=t,this.b=e}function gS(t,e){this.a=t,this.b=e}function pS(t,e){this.a=t,this.b=e}function bS(t,e){this.a=t,this.b=e}function wS(t,e){this.a=t,this.b=e}function yS(t,e){this.a=t,this.b=e}function mS(t,e){this.a=t,this.b=e}function vS(t,e){Yk.call(this,t,e)}function xS(t,e){this.a=t,this.b=e}function kS(t,e){this.a=t,this.b=e}function _S(t,e){this.a=t,this.b=e}function ES(t,e){this.a=t,this.b=e}function TS(t,e){this.a=t,this.b=e}function CS(t,e){this.a=t,this.b=e}function SS(t,e){this.b=t,this.a=e}function AS(t,e){this.b=t,this.a=e}function MS(t,e){this.b=t,this.a=e}function IS(t,e){this.b=t,this.a=e}function LS(t,e){this.a=t,this.b=e}function OS(t,e){this.a=t,this.b=e}function DS(t,e){!function(t,e){if(MI(e,239))return function(t,e){var n;if(null==(n=b1(t.i,e)))throw lw(new lv("Node did not exist in input."));return h3(e,n),null}(t,VP(e,33));if(MI(e,186))return function(t,e){var n;if(null==(n=zR(t.k,e)))throw lw(new lv("Port did not exist in input."));return h3(e,n),null}(t,VP(e,118));if(MI(e,354))return function(t,e){return h3(e,zR(t.f,e)),null}(t,VP(e,137));if(MI(e,352))return function(t,e){var n,i,r,a,o,s;if(!(o=VP(zR(t.c,e),183)))throw lw(new lv("Edge did not exist in input."));return i=iet(o),!Ck((!e.a&&(e.a=new mj(eae,e,6,6)),e.a))&&(n=new FP(t,i,s=new Cf),function(t,e){!function(t,e){var n;for(n=0;t.e!=t.i.gc();)uF(e,hnt(t),p8(n)),n!=Qkt&&++n}(new YI(t),e)}((!e.a&&(e.a=new mj(eae,e,6,6)),e.a),n),IJ(o,VNt,s)),UX(e,(Ikt(),Ute))&&!(!(r=VP(_ft(e,Ute),74))||gz(r))&&(GK(r,new mb(a=new Cf)),IJ(o,"junctionPoints",a)),NB(o,"container",_Z(e).k),null}(t,VP(e,79));if(e)return null;throw lw(new Xm(sPt+Ust(new ov(P4(Zv(G$t,1),r_t,1,5,[e])))))}(t.a,VP(e,56))}function NS(t,e){!function(t,e){pB(),nB(t,new mS(e,p8(e.e.c.length+e.g.c.length)))}(t.a,VP(e,11))}function PS(){return Rv(),new BRt}function BS(){fU(),this.b=new Xw}function FS(){xgt(),this.a=new Xw}function $S(){sU(),g$.call(this)}function jS(t,e){Yk.call(this,t,e)}function RS(t,e){this.a=t,this.b=e}function zS(t,e){this.a=t,this.b=e}function qS(t,e){this.a=t,this.b=e}function HS(t,e){this.a=t,this.b=e}function ZS(t,e){this.a=t,this.b=e}function US(t,e){this.a=t,this.b=e}function YS(t,e){this.d=t,this.b=e}function GS(t,e){this.d=t,this.e=e}function KS(t,e){this.f=t,this.c=e}function WS(t,e){this.b=t,this.c=e}function XS(t,e){this.i=t,this.g=e}function VS(t,e){this.e=t,this.a=e}function QS(t,e){this.a=t,this.b=e}function JS(t,e){t.i=null,Q0(t,e)}function tA(t,e){return mtt(t.a,e)}function eA(t){return xtt(t.c,t.b)}function nA(t){return t?t.dd():null}function iA(t){return null==t?null:t}function rA(t){return typeof t===Kkt}function aA(t){return typeof t===Wkt}function oA(t){return typeof t===Xkt}function sA(t,e){return t.Hd().Xb(e)}function cA(t,e){return function(t,e){for(TR(e);t.Ob();)if(!h4(VP(t.Pb(),10)))return!1;return!0}(t.Kc(),e)}function uA(t,e){return 0==x7(t,e)}function lA(t,e){return 0!=x7(t,e)}function hA(t){return""+(yz(t),t)}function fA(t,e){return t.substr(e)}function dA(t){return L9(t),t.d.gc()}function gA(t){return function(t,e){var n,i,r;for(n=new wd(t.a.a);n.a<n.c.c.length;)VP(qU(n),189).g=!0;for(r=new wd(t.a.b);r.a<r.c.c.length;)(i=VP(qU(r),81)).k=tv(lD(t.e.Kb(new mS(i,e)))),i.d.g=i.d.g&tv(lD(t.e.Kb(new mS(i,e))))}(t,t.c),t}function pA(t){return XB(null==t),t}function bA(t,e){return t.a+=""+e,t}function wA(t,e){return t.a+=""+e,t}function yA(t,e){return t.a+=""+e,t}function mA(t,e){return t.a+=""+e,t}function vA(t,e){return t.a+=""+e,t}function xA(t,e){return t.a+=""+e,t}function kA(t,e){WK(t,e,t.a,t.a.a)}function _A(t,e){WK(t,e,t.c.b,t.c)}function EA(t,e){t.q.setTime(WY(e))}function TA(t,e){cj.call(this,t,e)}function CA(t,e){cj.call(this,t,e)}function SA(t,e){cj.call(this,t,e)}function AA(t){Yj(this),i3(this,t)}function MA(t){return OU(t,0),null}function IA(t){return t.a=0,t.b=0,t}function LA(t,e){return t.a=e.g+1,t}function OA(t){return function(t){return Yq(),AZ(jst(t))==AZ(qst(t))}(VP(t,79))}function DA(){DA=I,Yqt=U6(Ket())}function NA(){NA=I,gGt=U6(Udt())}function PA(){this.b=new x_(AJ(12))}function BA(){this.b=0,this.a=!1}function FA(){this.b=0,this.a=!1}function $A(t){this.a=t,jl.call(this)}function jA(t){this.a=t,jl.call(this)}function RA(t,e){jD.call(this,t,e)}function zA(t,e){kN.call(this,t,e)}function qA(t,e){XS.call(this,t,e)}function HA(t,e){V3.call(this,t,e)}function ZA(t,e){tO.call(this,t,e)}function UA(t,e){TE(),Pz(Nae,t,e)}function YA(t,e){return fO(t.a,0,e)}function GA(t,e){return t.a.a.a.cc(e)}function KA(t,e){return iA(t)===iA(e)}function WA(t,e){return t.indexOf(e)}function XA(t,e){return t==e?0:t?1:-1}function VA(t){return t<10?"0"+t:""+t}function QA(t){return rI(t.l,t.m,t.h)}function JA(t){return cZ((yz(t),t))}function tM(t,e){return nI(t.g,e.g)}function eM(t){return typeof t===Wkt}function nM(t){return lQ(t.b.b,t,0)}function iM(t){this.a=PS(),this.b=t}function rM(t){this.a=PS(),this.b=t}function aM(t,e){return nB(t.a,e),e}function oM(t,e){return E3(t.a,e),t}function sM(t,e){BV(t,0,t.length,e)}function cM(){Td.call(this,new dK)}function uM(){RF.call(this,0,0,0,0)}function lM(){mq.call(this,0,0,0,0)}function hM(t){this.a=t.a,this.b=t.b}function fM(t){return t==tne||t==ene}function dM(t){return t==ine||t==Jee}function gM(t){return t==C2t||t==T2t}function pM(t){return t!=hie&&t!=fie}function bM(t){return t.Lg()&&t.Mg()}function wM(t){return Qz(VP(t,118))}function yM(t){return E3(new hG,t)}function mM(t,e){return new V3(e,t)}function vM(t,e,n){A1(t,e),M1(t,n)}function xM(t,e,n){O1(t,e),L1(t,n)}function kM(t,e,n){D1(t,e),N1(t,n)}function _M(t,e,n){I1(t,e),B1(t,n)}function EM(t,e,n){P1(t,e),F1(t,n)}function TM(t,e){k6(t,e),z1(t,t.D)}function CM(t){KS.call(this,t,!0)}function SM(t,e,n){vD.call(this,t,e,n)}function AM(t){gpt(),N3.call(this,t)}function MM(){jE.call(this,"Head",1)}function IM(){jE.call(this,"Tail",3)}function LM(t){t.c=WX(G$t,r_t,1,0,5,1)}function OM(t){t.a=WX(G$t,r_t,1,8,5,1)}function DM(t){KJ(t.xf(),new Wd(t))}function NM(t){return null!=t?K5(t):0}function PM(t){return function(t,e){return TR(t),TR(e),new qk(t,e)}(t.b.Kc(),t.a)}function BM(t,e){jD.call(this,t.b,e)}function FM(t){RF.call(this,t,t,t,t)}function $M(t){return t.b&&nmt(t),t.a}function jM(t){return t.b&&nmt(t),t.c}function RM(t,e,n){return BR(t,e,n),n}function zM(t,e,n){BR(t.c[e.g],e.g,n)}function qM(t){Nkt(),tw.call(this,t)}function HM(){HM=I,E4t=new M9(_ne)}function ZM(){ZM=I,new UM,new iw}function UM(){new rw,new rw,new rw}function YM(){YM=I,Hw(),mjt=new rw}function GM(){GM=I,n.Math.log(2)}function KM(){KM=I,bE(),Qoe=Hre}function WM(t){this.a=t,rB.call(this,t)}function XM(t){this.a=t,n_.call(this,t)}function VM(t){this.a=t,n_.call(this,t)}function QM(t,e){QF(t.c,t.c.length,e)}function JM(t){return t.a<t.c.c.length}function tI(t){return t.a<t.c.a.length}function eI(t,e){return t.a?t.b:e.De()}function nI(t,e){return t<e?-1:t>e?1:0}function iI(t,e){return x7(t,e)>0?t:e}function rI(t,e,n){return{l:t,m:e,h:n}}function aI(t,e){null!=t.a&&NS(e,t.a)}function oI(t){t.a=new O,t.c=new O}function sI(t){this.b=t,this.a=new iw}function cI(t){this.b=new ee,this.a=t}function uI(t){cN.call(this),this.a=t}function lI(){jE.call(this,"Range",2)}function hI(){Cat(),this.a=new Gdt(sUt)}function fI(t,e,n){return Rtt(e,n,t.c)}function dI(t){return new XC(t.c,t.d)}function gI(t){return new XC(t.c,t.d)}function pI(t){return new XC(t.a,t.b)}function bI(t,e){return function(t,e,n){var i,r,a,o,s,c,u,l,h;for(!n&&(n=function(t){var e;return(e=new w).a=t,e.b=function(t){var e;return 0==t?"Etc/GMT":(t<0?(t=-t,e="Etc/GMT-"):e="Etc/GMT+",e+GQ(t))}(t),e.c=WX(fRt,T_t,2,2,6,1),e.c[0]=L2(t),e.c[1]=L2(t),e}(e.q.getTimezoneOffset())),r=6e4*(e.q.getTimezoneOffset()-n.a),c=s=new dD(e9(B3(e.q.getTime()),r)),s.q.getTimezoneOffset()!=e.q.getTimezoneOffset()&&(r>0?r-=864e5:r+=864e5,c=new dD(e9(B3(e.q.getTime()),r))),l=new Ov,u=t.a.length,a=0;a<u;)if((i=Gz(t.a,a))>=97&&i<=122||i>=65&&i<=90){for(o=a+1;o<u&&Gz(t.a,o)==i;++o);Akt(l,i,o-a,s,c,n),a=o}else if(39==i){if(++a<u&&39==Gz(t.a,a)){l.a+="'",++a;continue}for(h=!1;!h;){for(o=a;o<u&&39!=Gz(t.a,o);)++o;if(o>=u)throw lw(new Xm("Missing trailing '"));o+1<u&&39==Gz(t.a,o+1)?++o:h=!0,vA(l,fO(t.a,a,o)),a=o+1}}else l.a+=String.fromCharCode(i),++a;return l.a}(t.a,e,null)}function wI(t){wU(t,null),yU(t,null)}function yI(){tO.call(this,null,null)}function mI(){eO.call(this,null,null)}function vI(t){this.a=t,rw.call(this)}function xI(t){this.b=(Gq(),new bd(t))}function kI(t){t.j=WX(nRt,T_t,310,0,0,1)}function _I(t,e){Hmt(t),t.Gc(VP(e,15))}function EI(t,e){return function(t,e,n){var i,r,a,o,s,c,u,l;if(0==n.gc())return!1;if(EE(),a=(s=VP(e,66).Oj())?n:new RJ(n.gc()),Ngt(t.e,e)){if(e.hi())for(u=n.Kc();u.Ob();)fyt(t,e,c=u.Pb(),MI(e,99)&&0!=(VP(e,18).Bb&iTt))||(r=WG(e,c),a.Hc(r)||a.Fc(r));else if(!s)for(u=n.Kc();u.Ob();)r=WG(e,c=u.Pb()),a.Fc(r)}else{if(n.gc()>1)throw lw(new Xm(UFt));for(l=bgt(t.e.Tg(),e),i=VP(t.g,119),o=0;o<t.i;++o)if(r=i[o],l.rl(r.ak())){if(n.Hc(s?r:r.dd()))return!1;for(u=n.Kc();u.Ob();)c=u.Pb(),VP(jnt(t,o,s?VP(c,72):WG(e,c)),72);return!0}s||(r=WG(e,n.Kc().Pb()),a.Fc(r))}return kR(t,a)}(t.c,t.b,e)}function TI(t,e){return-1!=function(t,e){var n,i;for(rH(e,"predicate"),i=0;t.Ob();i++)if(n=t.Pb(),e.Lb(n))return i;return-1}(t.Kc(),e)}function CI(t,e){return null!=t.a.Bc(e)}function SI(t){return t.Ob()?t.Pb():null}function AI(t){return Wtt(t,0,t.length)}function MI(t,e){return null!=t&&Lnt(t,e)}function II(t,e){t.c&&(jB(e),iZ(e))}function LI(t,e,n){return function(t,e,n){var i,r,a,o,s,c,u,l;for(c=new iw,s=new wd(e.a);s.a<s.c.c.length;)for(l=i9(VP(qU(s),10),(Mxt(),_ie)).Kc();l.Ob();)for(r=new wd(VP(l.Pb(),11).g);r.a<r.c.c.length;)!JK(i=VP(qU(r),17))&&i.c.i.c==i.d.i.c||JK(i)||i.d.i.c!=n||(c.c[c.c.length]=i);for(o=A3(n.a).Kc();o.Ob();)for(l=i9(VP(o.Pb(),10),(Mxt(),Hie)).Kc();l.Ob();)for(r=new wd(VP(l.Pb(),11).e);r.a<r.c.c.length;)if((JK(i=VP(qU(r),17))||i.c.i.c!=i.d.i.c)&&!JK(i)&&i.c.i.c==e){for(CO((u=new QY(c,c.c.length)).b>0),a=VP(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,CO(u.b>0),a=VP(u.a.Xb(u.c=--u.b),17);u.b>0&&lz(u)}}(t,e,n),n}function OI(t,e,n){t.a=1502^e,t.b=n^kTt}function DI(t,e,n){return t.a[e.g][n.g]}function NI(t,e){return t.a[e.c.p][e.p]}function PI(t,e){return t.e[e.c.p][e.p]}function BI(t,e){return t.c[e.c.p][e.p]}function FI(t,e){return t.j[e.p]=function(t){var e,n,i,r;for(e=0,n=0,r=new wd(t.j);r.a<r.c.c.length;)if(e=KF(e9(e,hX(lq(new CF(null,new NU((i=VP(qU(r),11)).e,16)),new Va)))),n=KF(e9(n,hX(lq(new CF(null,new NU(i.g,16)),new Qa)))),e>1||n>1)return 2;return e+n==1?2:0}(e)}function $I(t,e){return t.a*=e,t.b*=e,t}function jI(t,e,n){return BR(t.g,e,n),n}function RI(t){t.a=VP(q3(t.b.a,4),126)}function zI(t){t.a=VP(q3(t.b.a,4),126)}function qI(t){PH(t,mPt),Sdt(t,function(t){var e,n,i,r,a;switch(PH(t,mPt),(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i+(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i){case 0:throw lw(new Xm("The edge must have at least one source or target."));case 1:return 0==(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i?AZ(rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))):AZ(rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)))}if(1==(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i&&1==(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i){if(r=rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)),a=rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82)),AZ(r)==AZ(a))return AZ(r);if(r==AZ(a))return r;if(a==AZ(r))return a}for(e=rst(VP(xW(i=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c)])))),82));Xht(i);)if((n=rst(VP(xW(i),82)))!=e&&!GJ(n,e))if(AZ(n)==AZ(e))e=AZ(n);else if(!(e=Gft(e,n)))return null;return e}(t))}function HI(){HI=I,zRt=new Lm(null)}function ZI(){(ZI=I)(),GRt=new U}function UI(){this.Bb|=256,this.Bb|=512}function YI(t){this.i=t,this.f=this.i.j}function GI(t,e,n){EB.call(this,t,e,n)}function KI(t,e,n){GI.call(this,t,e,n)}function WI(t,e,n){GI.call(this,t,e,n)}function XI(t,e,n){KI.call(this,t,e,n)}function VI(t,e,n){EB.call(this,t,e,n)}function QI(t,e,n){EB.call(this,t,e,n)}function JI(t,e,n){MB.call(this,t,e,n)}function tL(t,e,n){MB.call(this,t,e,n)}function eL(t,e,n){JI.call(this,t,e,n)}function nL(t,e,n){VI.call(this,t,e,n)}function iL(t,e){this.a=t,n_.call(this,e)}function rL(t,e){this.a=t,pv.call(this,e)}function aL(t,e){this.a=t,pv.call(this,e)}function oL(t,e){this.a=t,pv.call(this,e)}function sL(t){this.a=t,cf.call(this,t.d)}function cL(t){this.c=t,this.a=this.c.a}function uL(t,e){this.a=e,pv.call(this,t)}function lL(t,e){this.a=e,lK.call(this,t)}function hL(t,e){this.a=t,lK.call(this,e)}function fL(t,e){return function(t,e,n){try{!function(t,e,n){if(TR(e),n.Ob())for(xA(e,OR(n.Pb()));n.Ob();)xA(e,t.a),xA(e,OR(n.Pb()))}(t,e,n)}catch(t){throw MI(t=k4(t),597)?lw(new nW(t)):lw(t)}return e}(t,new Lv,e).a}function dL(t,e){return TR(e),new gL(t,e)}function gL(t,e){this.a=e,o_.call(this,t)}function pL(t){this.b=t,this.a=this.b.a.e}function bL(t){t.b.Qb(),--t.d.f.d,c$(t.d)}function wL(t){Qh.call(this,VP(TR(t),35))}function yL(t){Qh.call(this,VP(TR(t),35))}function mL(){Yk.call(this,"INSTANCE",0)}function vL(t){if(!t)throw lw(new Ow)}function xL(t){if(!t)throw lw(new Dw)}function kL(t){if(!t)throw lw(new $w)}function _L(){_L=I,_E(),vse=new Fh}function EL(){EL=I,Djt=!1,Njt=!0}function TL(t){td.call(this,(yz(t),t))}function CL(t){td.call(this,(yz(t),t))}function SL(t){hd.call(this,t),this.a=t}function AL(t){fd.call(this,t),this.a=t}function ML(t){Nv.call(this,t),this.a=t}function IL(){kI(this),Hq(this),this._d()}function LL(t,e){this.a=e,o_.call(this,t)}function OL(t,e){return new _ut(t.a,t.b,e)}function DL(t,e){return t.lastIndexOf(e)}function NL(t,e,n){return t.indexOf(e,n)}function PL(t){return null==t?s_t:A9(t)}function BL(t){return null!=t.a?t.a:null}function FL(t,e){return null!=hZ(t.a,e)}function $L(t,e){return!!e&&t.b[e.g]==e}function jL(t){return t.$H||(t.$H=++vzt)}function RL(t,e){return nB(e.a,t.a),t.a}function zL(t,e){return nB(e.b,t.a),t.a}function qL(t,e){return nB(e.a,t.a),t.a}function HL(t){return CO(null!=t.a),t.a}function ZL(t){Td.call(this,new eV(t))}function UL(t,e){Eet.call(this,t,e,null)}function YL(t){this.a=t,ld.call(this,t)}function GL(){GL=I,Kqt=new jD(LCt,0)}function KL(t,e){return++t.b,nB(t.a,e)}function WL(t,e){return++t.b,sQ(t.a,e)}function XL(t,e){return VP(jW(t.b,e),15)}function VL(t){return JM(t.a)||JM(t.b)}function QL(t,e,n){return OG(t,e,n,t.c)}function JL(t,e,n){VP(kQ(t,e),21).Fc(n)}function tO(t,e){xE(),this.a=t,this.b=e}function eO(t,e){kE(),this.b=t,this.c=e}function nO(t,e){b$(),this.f=e,this.d=t}function iO(t,e){HW(e,t),this.d=t,this.c=e}function rO(t){var e;e=t.a,t.a=t.b,t.b=e}function aO(t,e){return new NN(t,t.gc(),e)}function oO(t){this.d=t,YI.call(this,t)}function sO(t){this.c=t,YI.call(this,t)}function cO(t){this.c=t,oO.call(this,t)}function uO(){Q_(),this.b=new Hg(this)}function lO(t){return b0(t,G_t),new wX(t)}function hO(t){return OH(),parseInt(t)||-1}function fO(t,e,n){return t.substr(e,n-e)}function dO(t,e,n){return NL(t,wst(e),n)}function gO(t){return rR(t.c,t.c.length)}function pO(t){return null!=t.f?t.f:""+t.g}function bO(t){return CO(0!=t.b),t.a.a.c}function wO(t){return CO(0!=t.b),t.c.b.c}function yO(t){MI(t,150)&&VP(t,150).Gh()}function mO(t){return t.b=VP(Rq(t.a),42)}function vO(t){F_(),this.b=t,this.a=!0}function xO(t){$_(),this.b=t,this.a=!0}function kO(t){t.d=new SO(t),t.e=new rw}function _O(t){if(!t)throw lw(new Bw)}function EO(t){if(!t)throw lw(new Ow)}function TO(t){if(!t)throw lw(new Dw)}function CO(t){if(!t)throw lw(new $w)}function SO(t){cB.call(this,t,null,null)}function AO(){Yk.call(this,"POLYOMINO",0)}function MO(t,e,n,i){D$.call(this,t,e,n,i)}function IO(t,e){return!!t.q&&Sj(t.q,e)}function LO(t,e,n){t.Zc(e).Rb(n)}function OO(t,e,n){return t.a+=e,t.b+=n,t}function DO(t,e,n){return t.a*=e,t.b*=n,t}function NO(t,e,n){return t.a-=e,t.b-=n,t}function PO(t,e){return t.a=e.a,t.b=e.b,t}function BO(t){return t.a=-t.a,t.b=-t.b,t}function FO(t){this.c=t,this.a=1,this.b=1}function $O(t){this.c=t,D1(t,0),N1(t,0)}function jO(t){T_.call(this),r0(this,t)}function RO(t){dkt(),uw(this),this.mf(t)}function zO(t,e){xE(),tO.call(this,t,e)}function qO(t,e){kE(),eO.call(this,t,e)}function HO(t,e){kE(),eO.call(this,t,e)}function ZO(t,e){kE(),qO.call(this,t,e)}function UO(t,e,n){vV.call(this,t,e,n,2)}function YO(t,e){KM(),$F.call(this,t,e)}function GO(t,e){KM(),YO.call(this,t,e)}function KO(t,e){KM(),YO.call(this,t,e)}function WO(t,e){KM(),KO.call(this,t,e)}function XO(t,e){KM(),$F.call(this,t,e)}function VO(t,e){KM(),XO.call(this,t,e)}function QO(t,e){KM(),$F.call(this,t,e)}function JO(t,e,n){return Mmt(CQ(t,e),n)}function tD(t,e){return S7(t.e,VP(e,49))}function eD(t,e){e.$modCount=t.$modCount}function nD(){nD=I,l6t=new Ib("root")}function iD(){iD=I,Oae=new Fy,new $y}function rD(){this.a=new JH,this.b=new JH}function aD(){E0.call(this),this.Bb|=iTt}function oD(){Yk.call(this,"GROW_TREE",0)}function sD(t){return null==t?null:function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(Jwt(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=WX(Gce,lEt,25,4*(0!=(s=h%24)?f+1:f),15,1),u=0,l=0,e=0,n=0,i=0,o=0,r=0,c=0;c<f;c++)e=t[r++],l=(15&(n=t[r++]))<<24>>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,p=0==(-128&(i=t[r++]))?i>>6<<24>>24:(i>>6^252)<<24>>24,a[o++]=lce[d],a[o++]=lce[g|u<<4],a[o++]=lce[l<<2|p],a[o++]=lce[63&i];return 8==s?(u=(3&(e=t[r]))<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,a[o++]=lce[d],a[o++]=lce[u<<4],a[o++]=61,a[o++]=61):16==s&&(e=t[r],l=(15&(n=t[r+1]))<<24>>24,u=(3&e)<<24>>24,d=0==(-128&e)?e>>2<<24>>24:(e>>2^192)<<24>>24,g=0==(-128&n)?n>>4<<24>>24:(n>>4^240)<<24>>24,a[o++]=lce[d],a[o++]=lce[g|u<<4],a[o++]=lce[l<<2],a[o++]=61),Wtt(a,0,a.length)}(t)}function cD(t){return null==t?null:function(t){var e,n,i,r;if(kpt(),null==t)return null;for(i=t.length,e=WX(Gce,lEt,25,2*i,15,1),n=0;n<i;n++)(r=t[n])<0&&(r+=256),e[2*n]=fce[r>>4],e[2*n+1]=fce[15&r];return Wtt(e,0,e.length)}(t)}function uD(t){null==t.o&&function(t){if(t.pe()){var e=t.c;return e.qe()?t.o="["+e.n:e.pe()?t.o="["+e.ne():t.o="[L"+e.ne()+";",t.b=e.me()+"[]",void(t.k=e.oe()+"[]")}var n=t.j,i=t.d;i=i.split("/"),t.o=Ktt(".",[n,Ktt("$",i)]),t.b=Ktt(".",[n,Ktt(".",i)]),t.k=i[i.length-1]}(t)}function lD(t){return XB(null==t||rA(t)),t}function hD(t){return XB(null==t||aA(t)),t}function fD(t){return XB(null==t||oA(t)),t}function dD(t){this.q=new n.Date(WY(t))}function gD(t,e){this.c=t,Gk.call(this,t,e)}function pD(t,e){this.a=t,gD.call(this,t,e)}function bD(t,e){this.d=t,Kf(this),this.b=e}function wD(t,e){JX.call(this,t),this.a=e}function yD(t,e){JX.call(this,t),this.a=e}function mD(t){ltt.call(this,0,0),this.f=t}function vD(t,e,n){pX.call(this,t,e,n,null)}function xD(t,e,n){pX.call(this,t,e,n,null)}function kD(t,e){return VP(YQ(t.b,e),149)}function _D(t,e){return VP(YQ(t.c,e),229)}function ED(t){return VP(EF(t.a,t.b),287)}function TD(t){return new XC(t.c,t.d+t.a)}function CD(t){return lU(),gM(VP(t,197))}function SD(){SD=I,Gqt=Q8((Ltt(),tre))}function AD(t,e){e.a?function(t,e){var n,i,r;if(!sR(t.a,e.b))throw lw(new Vm("Invalid hitboxes for scanline overlap calculation."));for(r=!1,i=new ud(new bN(new YL(new cd(t.a.a).a).b));IE(i.a.a);)if(n=VP(mO(i.a).cd(),65),s5(e.b,n))yx(t.b.a,e.b,n),r=!0;else if(r)break}(t,e):FL(t.a,e.b)}function MD(t,e){hzt||nB(t.a,e)}function ID(t,e){return PH(e,_Ct),t.f=e,t}function LD(t,e,n){return uwt(t,e,3,n)}function OD(t,e,n){return uwt(t,e,6,n)}function DD(t,e,n){return uwt(t,e,9,n)}function ND(t,e,n){++t.j,t.Ki(),GX(t,e,n)}function PD(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function BD(t,e,n){t.Zc(e).Rb(n)}function FD(t,e,n){return amt(t.c,t.b,e,n)}function $D(t,e){return(e&Qkt)%t.d.length}function jD(t,e){Ib.call(this,t),this.a=e}function RD(t,e){Zb.call(this,t),this.a=e}function zD(t,e){Zb.call(this,t),this.a=e}function qD(t,e){this.c=t,RJ.call(this,e)}function HD(t,e){this.a=t,Hb.call(this,e)}function ZD(t,e){this.a=t,Hb.call(this,e)}function UD(t){this.a=(b0(t,G_t),new wX(t))}function YD(t){this.a=(b0(t,G_t),new wX(t))}function GD(t){return!t.a&&(t.a=new g),t.a}function KD(t){return t>8?0:t+1}function WD(t,e,n){return VF(t,VP(e,22),n)}function XD(t,e,n){return t.a+=Wtt(e,0,n),t}function VD(t,e){var n;return n=t.e,t.e=e,n}function QD(t,e){t[mTt].call(t,e)}function JD(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function tN(t){Yj(t.e),t.d.b=t.d,t.d.a=t.d}function eN(t){t.b?eN(t.b):t.f.c.zc(t.e,t.d)}function nN(t,e){return Hv(new Array(e),t)}function iN(t){return String.fromCharCode(t)}function rN(){this.a=new iw,this.b=new iw}function aN(){this.a=new fe,this.b=new qw}function oN(){this.b=new Sx,this.c=new iw}function sN(){this.d=new Sx,this.e=new Sx}function cN(){this.n=new Sx,this.o=new Sx}function uN(){this.n=new Cy,this.i=new lM}function lN(){this.a=new Ql,this.b=new sa}function hN(){this.a=new iw,this.d=new iw}function fN(){this.b=new Xw,this.a=new Xw}function dN(){this.b=new rw,this.a=new rw}function gN(){this.b=new hk,this.a=new bo}function pN(){uN.call(this),this.a=new Sx}function bN(t){X3.call(this,t,(qV(),WRt))}function wN(t,e,n,i){RF.call(this,t,e,n,i)}function yN(t,e,n){return uwt(t,e,11,n)}function mN(t,e){return t.a+=e.a,t.b+=e.b,t}function vN(t,e){return t.a-=e.a,t.b-=e.b,t}function xN(t,e){return null==Pz(t.a,e,"")}function kN(t,e){qm.call(this,yBt+t+EPt+e)}function _N(t,e,n,i){mj.call(this,t,e,n,i)}function EN(t,e,n,i){mj.call(this,t,e,n,i)}function TN(t,e,n,i){EN.call(this,t,e,n,i)}function CN(t,e,n,i){vj.call(this,t,e,n,i)}function SN(t,e,n,i){vj.call(this,t,e,n,i)}function AN(t,e,n,i){vj.call(this,t,e,n,i)}function MN(t,e,n,i){SN.call(this,t,e,n,i)}function IN(t,e,n,i){SN.call(this,t,e,n,i)}function LN(t,e,n,i){AN.call(this,t,e,n,i)}function ON(t,e,n,i){IN.call(this,t,e,n,i)}function DN(t,e,n,i){bj.call(this,t,e,n,i)}function NN(t,e,n){this.a=t,iO.call(this,e,n)}function PN(t,e,n){this.c=e,this.b=n,this.a=t}function BN(t,e){return t.Aj().Nh().Kh(t,e)}function FN(t,e){return t.Aj().Nh().Ih(t,e)}function $N(t,e){return yz(t),iA(t)===iA(e)}function jN(t,e){return yz(t),iA(t)===iA(e)}function RN(t,e){return Ox(Btt(t.a,e,!1))}function zN(t,e){return Ox(Ftt(t.a,e,!1))}function qN(t,e){return t.b.sd(new QE(t,e))}function HN(t,e,n){return t.lastIndexOf(e,n)}function ZN(t){return t.c?lQ(t.c.a,t,0):-1}function UN(t){return t==sie||t==uie||t==cie}function YN(t,e){return MI(e,15)&&Apt(t.c,e)}function GN(t,e){return!!a6(t,e)}function KN(t,e){this.c=t,Jj.call(this,t,e)}function WN(t){this.c=t,SA.call(this,M_t,0)}function XN(t,e){oB.call(this,t,t.length,e)}function VN(t,e,n){return VP(t.c,69).mk(e,n)}function QN(t,e,n){return function(t,e,n){return e.Rk(t.e,t.c,n)}(t,VP(e,332),n)}function JN(t,e,n){return function(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?$H(t,4,i,a,null,Dyt(t,i,a,MI(i,99)&&0!=(VP(i,18).Bb&iTt)),!0):$H(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}(t,VP(e,332),n)}function tP(t,e){return null==e?null:P7(t.b,e)}function eP(t){return aA(t)?(yz(t),t):t.ke()}function nP(t){return!isNaN(t)&&!isFinite(t)}function iP(t){wP(),this.a=(Gq(),new Nv(t))}function rP(t){pB(),this.d=t,this.a=new nw}function aP(t,e,n){this.a=t,this.b=e,this.c=n}function oP(t,e,n){this.a=t,this.b=e,this.c=n}function sP(t,e,n){this.d=t,this.b=n,this.a=e}function cP(t){oI(this),zq(this),M2(this,t)}function uP(t){LM(this),uB(this.c,0,t.Pc())}function lP(t){lz(t.a),iV(t.c,t.b),t.b=null}function hP(t){this.a=t,c_(),B3(Date.now())}function fP(){fP=I,yzt=new r,mzt=new r}function dP(){dP=I,jRt=new D,RRt=new N}function gP(){gP=I,Mae=WX(G$t,r_t,1,0,5,1)}function pP(){pP=I,Roe=WX(G$t,r_t,1,0,5,1)}function bP(){bP=I,zoe=WX(G$t,r_t,1,0,5,1)}function wP(){wP=I,new kw((Gq(),Gq(),TRt))}function yP(t,e){if(!t)throw lw(new Xm(e))}function mP(t){RF.call(this,t.d,t.c,t.a,t.b)}function vP(t){RF.call(this,t.d,t.c,t.a,t.b)}function xP(t,e,n){this.b=t,this.c=e,this.a=n}function kP(t,e,n){this.b=t,this.a=e,this.c=n}function _P(t,e,n){this.a=t,this.b=e,this.c=n}function EP(t,e,n){this.a=t,this.b=e,this.c=n}function TP(t,e,n){this.a=t,this.b=e,this.c=n}function CP(t,e,n){this.a=t,this.b=e,this.c=n}function SP(t,e,n){this.b=t,this.a=e,this.c=n}function AP(t,e,n){this.e=e,this.b=t,this.d=n}function MP(t){var e;return(e=new xt).e=t,e}function IP(t){var e;return(e=new fy).b=t,e}function LP(){LP=I,sYt=new Nn,cYt=new Pn}function OP(){OP=I,IGt=new yr,LGt=new mr}function DP(t,e){this.c=t,this.a=e,this.b=e-t}function NP(t,e,n){this.a=t,this.b=e,this.c=n}function PP(t,e,n){this.a=t,this.b=e,this.c=n}function BP(t,e,n){this.a=t,this.b=e,this.c=n}function FP(t,e,n){this.a=t,this.b=e,this.c=n}function $P(t,e,n){this.a=t,this.b=e,this.c=n}function jP(t,e,n){this.e=t,this.a=e,this.c=n}function RP(t,e,n){KM(),eZ.call(this,t,e,n)}function zP(t,e,n){KM(),iz.call(this,t,e,n)}function qP(t,e,n){KM(),iz.call(this,t,e,n)}function HP(t,e,n){KM(),iz.call(this,t,e,n)}function ZP(t,e,n){KM(),zP.call(this,t,e,n)}function UP(t,e,n){KM(),zP.call(this,t,e,n)}function YP(t,e,n){KM(),UP.call(this,t,e,n)}function GP(t,e,n){KM(),qP.call(this,t,e,n)}function KP(t,e,n){KM(),HP.call(this,t,e,n)}function WP(t,e){return TR(t),TR(e),new Rk(t,e)}function XP(t,e){return TR(t),TR(e),new zB(t,e)}function VP(t,e){return XB(null==t||Lnt(t,e)),t}function QP(t){var e;return UQ(e=new iw,t),e}function JP(t){var e;return O2(e=new ry,t),e}function tB(t){var e;return O2(e=new T_,t),e}function eB(t){return!t.e&&(t.e=new iw),t.e}function nB(t,e){return t.c[t.c.length]=e,!0}function iB(t,e){this.c=t,this.b=e,this.a=!1}function rB(t){this.d=t,Kf(this),this.b=function(t){return MI(t,15)?VP(t,15).Yc():t.Kc()}(t.d)}function aB(){this.a=";,;",this.b="",this.c=""}function oB(t,e,n){uj.call(this,e,n),this.a=t}function sB(t,e,n){this.b=t,TA.call(this,e,n)}function cB(t,e,n){this.c=t,UE.call(this,e,n)}function uB(t,e,n){hlt(n,0,t,e,n.length,!1)}function lB(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r}function hB(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r}function fB(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function dB(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function gB(t){return O3(function(t){return rI(~t.l&qEt,~t.m&qEt,~t.h&HEt)}(eM(t)?K3(t):t))}function pB(){pB=I,Mxt(),Q3t=Hie,J3t=_ie}function bB(){this.b=ev(hD(unt((qpt(),xZt))))}function wB(t){return q_(),WX(G$t,r_t,1,t,5,1)}function yB(t){return new XC(t.c+t.b,t.d+t.a)}function mB(t){return CO(0!=t.b),WJ(t,t.a.a)}function vB(t){return CO(0!=t.b),WJ(t,t.c.b)}function xB(t,e){if(!t)throw lw(new Hm(e))}function kB(t,e){if(!t)throw lw(new Xm(e))}function _B(t,e,n){DT.call(this,t,e),this.b=n}function EB(t,e,n){GS.call(this,t,e),this.c=n}function TB(t,e,n){FJ.call(this,e,n),this.d=t}function CB(t){bP(),vc.call(this),this.th(t)}function SB(t,e,n){this.a=t,qA.call(this,e,n)}function AB(t,e,n){this.a=t,qA.call(this,e,n)}function MB(t,e,n){GS.call(this,t,e),this.c=n}function IB(){gW(),sz.call(this,(mE(),ooe))}function LB(t){return null!=t&&!O9(t,Kae,Wae)}function OB(t,e){return(s8(t)<<4|s8(e))&fEt}function DB(t,e){var n;t.n&&(n=e,nB(t.f,n))}function NB(t,e,n){IJ(t,e,new UR(n))}function PB(t,e){return t.g=e<0?-1:e,t}function BB(t,e){return function(t){var e;(e=n.Math.sqrt(t.a*t.a+t.b*t.b))>0&&(t.a/=e,t.b/=e)}(t),t.a*=e,t.b*=e,t}function FB(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r}function $B(t,e){return WK(t,e,t.c.b,t.c),!0}function jB(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function RB(t){this.b=t,this.a=B$(this.b.a).Ed()}function zB(t,e){this.b=t,this.a=e,jl.call(this)}function qB(t,e){this.a=t,this.b=e,jl.call(this)}function HB(t,e){uj.call(this,e,1040),this.a=t}function ZB(t){return 0==t||isNaN(t)?t:t<0?-1:1}function UB(t,e){return iot(t,new DT(e.a,e.b))}function YB(t){var e;return e=t.n,t.a.b+e.d+e.a}function GB(t){var e;return e=t.n,t.e.b+e.d+e.a}function KB(t){var e;return e=t.n,t.e.a+e.b+e.c}function WB(t){return Nkt(),new zF(0,t)}function XB(t){if(!t)throw lw(new Wm(null))}function VB(){VB=I,Gq(),kse=new dd(HFt)}function QB(){QB=I,new Rnt((gm(),ejt),(pm(),tjt))}function JB(){JB=I,Ujt=WX(Gjt,T_t,19,256,0,1)}function tF(t,e,n,i){R9.call(this,t,e,n,i,0,0)}function eF(t){return t.e.c.length+t.g.c.length}function nF(t){return t.e.c.length-t.g.c.length}function iF(t){return t.b.c.length-t.e.c.length}function rF(t){bP(),CB.call(this,t),this.a=-1}function aF(t,e){WS.call(this,t,e),this.a=this}function oF(t,e){var n;return(n=ER(t,e)).i=2,n}function sF(t,e){return++t.j,t.Ti(e)}function cF(t,e,n){return t.a=-1,JL(t,e.g,n),t}function uF(t,e,n){!function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;null==(g=zR(t.e,i))&&(u=VP(g=new Im,183),c=new UR(e+"_s"+r),IJ(u,aPt,c)),tz(n,d=VP(g,183)),tH(b=new Im,"x",i.j),tH(b,"y",i.k),IJ(d,cPt,b),tH(h=new Im,"x",i.b),tH(h,"y",i.c),IJ(d,"endPoint",h),!Ck((!i.a&&(i.a=new GI(Xre,i,5)),i.a))&&(a=new wb(l=new Cf),GK((!i.a&&(i.a=new GI(Xre,i,5)),i.a),a),IJ(d,QNt,l)),!!Jnt(i)&&_st(t.a,d,tPt,kut(t,Jnt(i))),!!tit(i)&&_st(t.a,d,JNt,kut(t,tit(i))),!(0==(!i.e&&(i.e=new LN(eae,i,10,9)),i.e).i)&&(o=new RS(t,f=new Cf),GK((!i.e&&(i.e=new LN(eae,i,10,9)),i.e),o),IJ(d,nPt,f)),0!=(!i.g&&(i.g=new LN(eae,i,9,10)),i.g).i&&(s=new zS(t,p=new Cf),GK((!i.g&&(i.g=new LN(eae,i,9,10)),i.g),s),IJ(d,ePt,p))}(t.a,t.b,t.c,VP(e,202),n)}function lF(t,e,n){return new PN(function(t){return 0>=t?new __:function(t){return 0>t?new __:new yD(null,new aW(t+1,t))}(t-1)}(t).Ie(),n,e)}function hF(t,e,n,i,r,a){return eot(t,e,n,i,r,0,a)}function fF(){fF=I,$jt=WX(Rjt,T_t,217,256,0,1)}function dF(){dF=I,Kjt=WX(Jjt,T_t,162,256,0,1)}function gF(){gF=I,tRt=WX(eRt,T_t,184,256,0,1)}function pF(){pF=I,zjt=WX(qjt,T_t,172,128,0,1)}function bF(){lB(this,!1,!1,!1,!1)}function wF(t){WR(),this.a=(Gq(),new dd(TR(t)))}function yF(t){for(TR(t);t.Ob();)t.Pb(),t.Qb()}function mF(t){this.c=t,this.b=this.c.d.vc().Kc()}function vF(t){this.c=t,this.a=new E_(this.c.a)}function xF(t){this.a=new x_(t.gc()),M2(this,t)}function kF(t){Td.call(this,new dK),M2(this,t)}function _F(t,e){return t.a+=Wtt(e,0,e.length),t}function EF(t,e){return OU(e,t.c.length),t.c[e]}function TF(t,e){return OU(e,t.a.length),t.a[e]}function CF(t,e){q_(),JX.call(this,t),this.a=e}function SF(t,e){return function(t,e){return xet(e9(xet(t.a).a,e.a))}(VP(t,162),VP(e,162))}function AF(t){return t.c-VP(EF(t.a,t.b),287).b}function MF(t){return t.q?t.q:(Gq(),Gq(),CRt)}function IF(t){return t.e.Hd().gc()*t.c.Hd().gc()}function LF(t,e,i){return n.Math.min(i/t,1/e)}function OF(t,e){return t?0:n.Math.max(0,e-1)}function DF(t){var e;return(e=hot(t))?DF(e):t}function NF(t,e){return null==t.a&&Zpt(t),t.a[e]}function PF(t){return t.c?t.c.f:t.e.b}function BF(t){return t.c?t.c.g:t.e.a}function FF(t){RJ.call(this,t.gc()),kR(this,t)}function $F(t,e){KM(),Ub.call(this,e),this.a=t}function jF(t,e,n){this.a=t,GI.call(this,e,n,2)}function RF(t,e,n,i){hB(this,t,e,n,i)}function zF(t,e){Nkt(),tw.call(this,t),this.a=e}function qF(t){this.b=new T_,this.a=t,this.c=-1}function HF(){this.d=new XC(0,0),this.e=new Xw}function ZF(t){iO.call(this,0,0),this.a=t,this.b=0}function UF(t){this.a=t,this.c=new rw,function(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)S5(t,e=n[i],(Mxt(),zie)),S5(t,e,Eie)}(this)}function YF(t){if(t.e.c!=t.b)throw lw(new Bw)}function GF(t){if(t.c.e!=t.a)throw lw(new Bw)}function KF(t){return eM(t)?0|t:rk(t)}function WF(t,e){return Nkt(),new eR(t,e)}function XF(t,e){return null==t?null==e:jN(t,e)}function VF(t,e,n){return t2(t.a,e),$j(t,e.g,n)}function QF(t,e,n){j6(0,e,t.length),BV(t,0,e,n)}function JF(t,e,n){iU(e,t.c.length),ZE(t.c,e,n)}function t$(t,e,n){var i;for(i=0;i<e;++i)t[i]=n}function e$(t,e){var n;return D5(n=Q8(t),e),n}function n$(t,e){return!t&&(t=[]),t[t.length]=e,t}function i$(t,e){return function(t,e,n){return xQ(t,new Nd(e),new ot,new Pd(n),P4(Zv(pzt,1),K_t,132,0,[]))}(new tt,new Id(t),e)}function r$(t,e){return MI(e,22)&&$L(t,VP(e,22))}function a$(t,e){return MI(e,22)&&function(t,e){return!(!e||t.b[e.g]!=e||(BR(t.b,e.g,null),--t.c,0))}(t,VP(e,22))}function o$(t){return Kft(t,26)*vTt+Kft(t,27)*xTt}function s$(t){return Array.isArray(t)&&t.im===M}function c$(t){t.b?c$(t.b):t.d.dc()&&t.f.c.Bc(t.e)}function u$(t,e){mN(t.c,e),t.b.c+=e.a,t.b.d+=e.b}function l$(t,e){u$(t,vN(new XC(e.a,e.b),t.c))}function h$(t,e){this.b=new T_,this.a=t,this.c=e}function f$(){this.b=new Me,this.c=new vH(this)}function d$(){this.d=new yt,this.e=new mH(this)}function g$(){sU(),this.f=new T_,this.e=new T_}function p$(){lU(),this.k=new rw,this.d=new Xw}function b$(){b$=I,Are=new BM((Ikt(),xee),0)}function w$(){w$=I,ajt=new ZF(WX(G$t,r_t,1,0,5,1))}function y$(t,e,n){var i;t&&((i=t.i).c=e,i.b=n)}function m$(t,e,n){var i;t&&((i=t.i).d=e,i.a=n)}function v$(t,e,n){return t.a=-1,JL(t,e.g+1,n),t}function x$(t,e,n){return uwt(t,VP(e,49),7,n)}function k$(t,e,n){return uwt(t,VP(e,49),3,n)}function _$(t,e,n){this.a=t,KI.call(this,e,n,22)}function E$(t,e,n){this.a=t,KI.call(this,e,n,14)}function T$(t,e,n,i){KM(),gY.call(this,t,e,n,i)}function C$(t,e,n,i){KM(),gY.call(this,t,e,n,i)}function S$(t){return null!=t&&Wj(t)&&!(t.im===M)}function A$(t){return!Array.isArray(t)&&t.im===M}function M$(t){return t.Qc(WX(G$t,r_t,1,t.gc(),5,1))}function I$(t,e){return function(t){var e;return t.b||function(t,e){t.c=e,t.b=!0}(t,!(e=function(t,e){return e.Hh(t.a)}(t.e,t.a))||!jN(_Dt,vtt((!e.b&&(e.b=new UO((Bkt(),Boe),cse,e)),e.b),"qualified"))),t.c}(CQ(t,e))?e.Qh():null}function L$(t){t?Jit(t,(c_(),iRt),""):c_()}function O$(t){this.a=(w$(),ajt),this.d=VP(TR(t),47)}function D$(t,e,n,i){this.a=t,pX.call(this,t,e,n,i)}function N$(t){SE(),this.a=0,this.b=t-1,this.c=1}function P$(t){kI(this),this.g=t,Hq(this),this._d()}function B$(t){return t.c?t.c:t.c=t.Id()}function F$(t){return t.d?t.d:t.d=t.Jd()}function $$(t){return t.c||(t.c=t.Dd())}function j$(t){return t.f||(t.f=t.Dc())}function R$(t){return t.i||(t.i=t.bc())}function z$(t){return Nkt(),new tZ(10,t,0)}function q$(t){return eM(t)?""+t:Cpt(t)}function H$(t){if(t.e.j!=t.d)throw lw(new Bw)}function Z$(t,e){return O3(bct(eM(t)?K3(t):t,e))}function U$(t,e){return O3(nft(eM(t)?K3(t):t,e))}function Y$(t,e){return O3(function(t,e){var n,i,r,a;return e&=63,n=t.h&HEt,e<22?(a=n>>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),rI(i&qEt,r&qEt,a&HEt)}(eM(t)?K3(t):t,e))}function G$(t,e){return function(t,e){return EL(),t==e?0:t?1:-1}((yz(t),t),(yz(e),e))}function K$(t,e){return O8((yz(t),t),(yz(e),e))}function W$(t,e){return TR(e),t.a.Ad(e)&&!t.b.Ad(e)}function X$(t,e){return K7(t,(yz(e),new Sd(e)))}function V$(t,e){return K7(t,(yz(e),new Ad(e)))}function Q$(t){return X2(),0!=VP(t,11).e.c.length}function J$(t){return X2(),0!=VP(t,11).g.c.length}function tj(t,e,n){return function(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(0!=e.e.c.length&&0!=n.e.c.length){if((i=VP(EF(e.e,0),17).c.i)==(o=VP(EF(n.e,0),17).c.i))return nI(VP(Ost(VP(EF(e.e,0),17),(Lkt(),MXt)),19).a,VP(Ost(VP(EF(n.e,0),17),MXt),19).a);for(h=0,f=(l=t.a).length;h<f;++h){if((u=l[h])==i)return 1;if(u==o)return-1}}return 0!=e.g.c.length&&0!=n.g.c.length?(a=VP(Ost(e,(Lkt(),SXt)),10),c=VP(Ost(n,SXt),10),r=0,s=0,IO(VP(EF(e.g,0),17),MXt)&&(r=VP(Ost(VP(EF(e.g,0),17),MXt),19).a),IO(VP(EF(n.g,0),17),MXt)&&(s=VP(Ost(VP(EF(e.g,0),17),MXt),19).a),a&&a==c?tv(lD(Ost(VP(EF(e.g,0),17),HXt)))&&!tv(lD(Ost(VP(EF(n.g,0),17),HXt)))?1:!tv(lD(Ost(VP(EF(e.g,0),17),HXt)))&&tv(lD(Ost(VP(EF(n.g,0),17),HXt)))||r<s?-1:r>s?1:0:(t.b&&(t.b._b(a)&&(r=VP(t.b.xc(a),19).a),t.b._b(c)&&(s=VP(t.b.xc(c),19).a)),r<s?-1:r>s?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}(t,VP(e,11),VP(n,11))}function ej(t){return t.e?cX(t.e):null}function nj(t){t.d||(t.d=t.b.Kc(),t.c=t.b.gc())}function ij(t,e){if(t<0||t>=e)throw lw(new Zw)}function rj(t,e,n){return cpt(),u3(t,e)&&u3(t,n)}function aj(t){return Ilt(),!t.Hc(wie)&&!t.Hc(mie)}function oj(t){return new XC(t.c+t.b/2,t.d+t.a/2)}function sj(t,e){return e.kh()?S7(t.b,VP(e,49)):e}function cj(t,e){this.e=t,this.d=0!=(64&e)?e|C_t:e}function uj(t,e){this.c=0,this.d=t,this.b=64|e|C_t}function lj(t){this.b=new wX(11),this.a=(Kq(),t)}function hj(t){this.b=null,this.a=(Kq(),t||MRt)}function fj(t){this.a=Bnt(t.a),this.b=new uP(t.b)}function dj(t){this.b=t,oO.call(this,t),RI(this)}function gj(t){this.b=t,cO.call(this,t),zI(this)}function pj(t,e,n){this.a=t,_N.call(this,e,n,5,6)}function bj(t,e,n,i){this.b=t,GI.call(this,e,n,i)}function wj(t,e,n,i,r){xV.call(this,t,e,n,i,r,-1)}function yj(t,e,n,i,r){kV.call(this,t,e,n,i,r,-1)}function mj(t,e,n,i){GI.call(this,t,e,n),this.b=i}function vj(t,e,n,i){EB.call(this,t,e,n),this.b=i}function xj(t){KS.call(this,t,!1),this.a=!1}function kj(t,e){this.b=t,cf.call(this,t.b),this.a=e}function _j(t,e){WR(),Qk.call(this,t,O7(new ov(e)))}function Ej(t,e){return Nkt(),new rz(t,e,0)}function Tj(t,e){return Nkt(),new rz(6,t,e)}function Cj(t,e){return jN(t.substr(0,e.length),e)}function Sj(t,e){return oA(e)?lH(t,e):!!BH(t.f,e)}function Aj(t,e){for(yz(e);t.Ob();)e.td(t.Pb())}function Mj(t,e,n){gpt(),this.e=t,this.d=e,this.a=n}function Ij(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i}function Lj(t){var e;for(e=t;e.f;)e=e.f;return e}function Oj(t){var e;return CO(null!=(e=E5(t))),e}function Dj(t){var e;return CO(null!=(e=function(t){var e;return null==(e=t.a[t.c-1&t.a.length-1])?null:(t.c=t.c-1&t.a.length-1,BR(t.a,t.c,null),e)}(t))),e}function Nj(t,e){var n;return HW(e,n=t.a.gc()),n-e}function Pj(t,e){var n;for(n=0;n<e;++n)t[n]=!1}function Bj(t,e,n,i){j6(e,n,t.length),function(t,e,n,i){var r;for(r=e;r<n;++r)t[r]=i}(t,e,n,i)}function Fj(t,e,n){this.c=t,this.a=e,Gq(),this.b=n}function $j(t,e,n){var i;return i=t.b[e],t.b[e]=n,i}function jj(t,e){return null==t.a.zc(e,t)}function Rj(t){if(!t)throw lw(new $w);return t.d}function zj(t,e){if(null==t)throw lw(new Jm(e))}function qj(t,e){return!!e&&M2(t,e)}function Hj(t,e,n){return function(t,e,n){if(e<0)throw lw(new qm(bDt+e));e<t.j.c.length?XK(t.j,e,n):(LG(t,e),nB(t.j,n))}(t,e.g,n),t2(t.c,e),t}function Zj(t){return!t.j&&function(t,e){t.j=e}(t,function(t,e){var n,i,r,a,o,s,c;if((n=e.Hh(t.a))&&null!=(c=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),zFt)))){for(i=new iw,o=0,s=(a=Lbt(c,"\\w")).length;o<s;++o)jN(r=a[o],"##other")?nB(i,"!##"+I$(t,i1(e.Hj()))):jN(r,"##local")?i.c[i.c.length]=null:jN(r,jFt)?nB(i,I$(t,i1(e.Hj()))):i.c[i.c.length]=r;return i}return Gq(),Gq(),TRt}(t.g,t.b)),t.j}function Uj(t){TO(-1!=t.b),$W(t.c,t.a=t.b),t.b=-1}function Yj(t){t.f=new iM(t),t.g=new rM(t),bH(t)}function Gj(t){return new CF(null,function(t,e){return function(t,e){if(0>t||t>e)throw lw(new Sv("fromIndex: 0, toIndex: "+t+CTt+e))}(e,t.length),new HB(t,e)}(t,t.length))}function Kj(t){return new O$(new uL(t.a.length,t.a))}function Wj(t){return typeof t===Gkt||typeof t===Vkt}function Xj(t,e){return x7(t,e)<0?-1:x7(t,e)>0?1:0}function Vj(t,e,n){return _mt(t,VP(e,46),VP(n,167))}function Qj(t,e){return VP($$(B$(t.a)).Xb(e),42).cd()}function Jj(t,e){this.d=t,YI.call(this,t),this.e=e}function tR(t){this.d=(yz(t),t),this.a=0,this.c=M_t}function eR(t,e){tw.call(this,1),this.a=t,this.b=e}function nR(t,e){return t.c?nR(t.c,e):nB(t.b,e),t}function iR(t,e,n){var i;return i=WQ(t,e),JG(t,e,n),i}function rR(t,e){return oQ(t.slice(0,e),t)}function aR(t,e,n){var i;for(i=0;i<e;++i)BR(t,i,n)}function oR(t,e,n,i,r){for(;e<n;)i[r++]=Gz(t,e++)}function sR(t,e){return null==C5(t.a,e,(EL(),Djt))}function cR(t,e){WK(t.d,e,t.b.b,t.b),++t.a,t.c=null}function uR(t,e){_I(t,MI(e,153)?e:VP(e,1937).gl())}function lR(t,e){C_(hq(t.Oc(),new Vr),new Qg(e))}function hR(t,e,n,i,r){Cot(t,VP(jW(e.k,n),15),n,i,r)}function fR(t){t.s=NaN,t.c=NaN,Fht(t,t.e),Fht(t,t.j)}function dR(t){t.a=null,t.e=null,Yj(t.b),t.d=0,++t.c}function gR(t){return n.Math.abs(t.d.e-t.e.e)-t.a}function pR(t){sN.call(this),this.a=t,nB(t.a,this)}function bR(t,e){this.d=function(t){switch(t){case 0:return new Oy;case 1:return new Iy;case 2:return new Ly;default:throw lw(new Ow)}}(t),this.c=e,this.a=.5*e}function wR(){dK.call(this),this.a=!0,this.b=!0}function yR(t){return(null==t.i&&lyt(t),t.i).length}function mR(t){return MI(t,99)&&0!=(VP(t,18).Bb&CNt)}function vR(t,e){++t.j,Yot(t,t.i,e),function(t,e){var n,i,r,a;t.j=-1,bM(t.e)?(n=t.i,a=0!=t.i,NW(t,e),i=new vQ(t.e,3,t.c,null,e,n,a),r=e.Qk(t.e,t.c,null),(r=_ot(t,e,r))?(r.Ei(i),r.Fi()):$3(t.e,i)):(NW(t,e),(r=e.Qk(t.e,t.c,null))&&r.Fi())}(t,VP(e,332))}function xR(t,e){return e=t.nk(null,e),sst(t,null,e)}function kR(t,e){return t.hi()&&(e=IZ(t,e)),t.Wh(e)}function _R(t,e,n){var i;return n0(n,i=ER(t,e)),i}function ER(t,e){var n;return(n=new m5).j=t,n.d=e,n}function TR(t){if(null==t)throw lw(new Nw);return t}function CR(t){return t.j||(t.j=new ff(t))}function SR(t){return t.f||(t.f=new sL(t))}function AR(t){return t.k||(t.k=new Kh(t))}function MR(t){return t.k||(t.k=new Kh(t))}function IR(t){return t.g||(t.g=new Gh(t))}function LR(t){return t.d||(t.d=new tf(t))}function OR(t){return TR(t),MI(t,475)?VP(t,475):A9(t)}function DR(t){return MI(t,607)?t:new WH(t)}function NR(t,e){return qY(e,t.c.b.c.gc()),new jk(t,e)}function PR(t,e,n){return Nkt(),new rY(t,e,n)}function BR(t,e,n){return function(t){if(!t)throw lw(new Iw)}(null==n||function(t,e){var n;switch(XQ(t)){case 6:return oA(e);case 7:return aA(e);case 8:return rA(e);case 3:return Array.isArray(e)&&!((n=XQ(e))>=14&&n<=16);case 11:return null!=e&&typeof e===Vkt;case 12:return null!=e&&(typeof e===Gkt||typeof e==Vkt);case 0:return Lnt(e,t.__elementTypeId$);case 2:return Wj(e)&&!(e.im===M);case 1:return Wj(e)&&!(e.im===M)||Lnt(e,t.__elementTypeId$);default:return!0}}(t,n)),t[e]=n}function FR(t,e){var n;return qY(e,n=t.a.gc()),n-1-e}function $R(t,e){return t.a+=String.fromCharCode(e),t}function jR(t,e){return t.a+=String.fromCharCode(e),t}function RR(t,e){for(yz(e);t.c<t.d;)t.ze(e,t.c++)}function zR(t,e){return oA(e)?oZ(t,e):nA(BH(t.f,e))}function qR(t){this.b=new iw,this.a=new iw,this.c=t}function HR(t){this.c=new Sx,this.a=new iw,this.b=t}function ZR(t){sN.call(this),this.a=new Sx,this.c=t}function UR(t){if(null==t)throw lw(new Nw);this.a=t}function YR(t){Hw(),this.b=new iw,this.a=t,function(t,e){var n,i,r,a,o;for(n=new Ov,o=!1,a=0;a<e.length;a++)if(DU(a,e.length),32!=(i=e.charCodeAt(a)))o?39==i?a+1<e.length&&(DU(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+=String.fromCharCode(i),++a):o=!1:n.a+=String.fromCharCode(i):WA("GyMLdkHmsSEcDahKzZv",wst(i))>0?(bnt(t,n,0),n.a+=String.fromCharCode(i),bnt(t,n,r=het(e,a)),a+=r-1):39==i?a+1<e.length&&(DU(a+1,e.length),39==e.charCodeAt(a+1))?(n.a+="'",++a):o=!0:n.a+=String.fromCharCode(i);else for(bnt(t,n,0),n.a+=" ",bnt(t,n,0);a+1<e.length&&(DU(a+1,e.length),32==e.charCodeAt(a+1));)++a;bnt(t,n,0),function(t){var e,n,i;for(e=!1,i=t.b.c.length,n=0;n<i;n++)U5(VP(EF(t.b,n),434))?!e&&n+1<i&&U5(VP(EF(t.b,n+1),434))&&(e=!0,VP(EF(t.b,n),434).a=!0):e=!1}(t)}(this,t)}function GR(t){this.c=t,this.a=new T_,this.b=new T_}function KR(){KR=I,Ejt=new _f(!1),Tjt=new _f(!0)}function WR(){WR=I,wP(),njt=new LH((Gq(),Gq(),TRt))}function XR(){XR=I,wP(),hjt=new zE((Gq(),Gq(),SRt))}function VR(){var t;VR=I,CE(),boe=hse?VP(Hft((mE(),ooe),hFt),1939):(UA(rjt,new Au),UA(noe,new eu),UA(Jae,new fu),UA(roe,new _u),UA(ioe,new Mu),UA(aoe,new Iu),UA(coe,new Lu),UA(uoe,new Ou),UA(iae,new Du),UA(nae,new Uc),UA(rae,new Yc),UA(Kre,new Gc),UA(hoe,new Kc),UA(aae,new Wc),UA(foe,new Xc),UA(doe,new Vc),UA(eoe,new Qc),UA(toe,new Jc),UA(cse,new tu),UA(loe,new nu),UA(Uoe,new iu),UA(Fjt,new ru),UA(Zv(Vce,1),new au),UA(Rjt,new ou),UA(qjt,new su),UA(Pjt,new cu),UA(nue,new uu),UA(Hjt,new lu),UA(kae,new hu),UA(Pae,new du),UA(_se,new gu),UA(Goe,new pu),UA(Zjt,new bu),UA(Gjt,new wu),UA(K$t,new yu),UA(Jjt,new mu),UA(X$t,new vu),UA(yse,new xu),UA(iue,new ku),UA(eRt,new Eu),UA(fRt,new Tu),UA(Eae,new Cu),UA(rue,new Su),t=VP(MI(oZ((mE(),ooe),hFt),547)?oZ(ooe,hFt):new Oz,547),hse=!0,function(t){t.gb||(t.gb=!0,t.b=H3(t,0),C2(t.b,18),S2(t.b,19),t.a=H3(t,1),C2(t.a,1),S2(t.a,2),S2(t.a,3),S2(t.a,4),S2(t.a,5),t.o=H3(t,2),C2(t.o,8),C2(t.o,9),S2(t.o,10),S2(t.o,11),S2(t.o,12),S2(t.o,13),S2(t.o,14),S2(t.o,15),S2(t.o,16),S2(t.o,17),S2(t.o,18),S2(t.o,19),S2(t.o,20),S2(t.o,21),S2(t.o,22),S2(t.o,23),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),NJ(t.o),t.p=H3(t,3),C2(t.p,2),C2(t.p,3),C2(t.p,4),C2(t.p,5),S2(t.p,6),S2(t.p,7),NJ(t.p),NJ(t.p),t.q=H3(t,4),C2(t.q,8),t.v=H3(t,5),S2(t.v,9),NJ(t.v),NJ(t.v),NJ(t.v),t.w=H3(t,6),C2(t.w,2),C2(t.w,3),C2(t.w,4),S2(t.w,5),t.B=H3(t,7),S2(t.B,1),NJ(t.B),NJ(t.B),NJ(t.B),t.Q=H3(t,8),S2(t.Q,0),NJ(t.Q),t.R=H3(t,9),C2(t.R,1),t.S=H3(t,10),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),NJ(t.S),t.T=H3(t,11),S2(t.T,10),S2(t.T,11),S2(t.T,12),S2(t.T,13),S2(t.T,14),NJ(t.T),NJ(t.T),t.U=H3(t,12),C2(t.U,2),C2(t.U,3),S2(t.U,4),S2(t.U,5),S2(t.U,6),S2(t.U,7),NJ(t.U),t.V=H3(t,13),S2(t.V,10),t.W=H3(t,14),C2(t.W,18),C2(t.W,19),C2(t.W,20),S2(t.W,21),S2(t.W,22),S2(t.W,23),t.bb=H3(t,15),C2(t.bb,10),C2(t.bb,11),C2(t.bb,12),C2(t.bb,13),C2(t.bb,14),C2(t.bb,15),C2(t.bb,16),S2(t.bb,17),NJ(t.bb),NJ(t.bb),t.eb=H3(t,16),C2(t.eb,2),C2(t.eb,3),C2(t.eb,4),C2(t.eb,5),C2(t.eb,6),C2(t.eb,7),S2(t.eb,8),S2(t.eb,9),t.ab=H3(t,17),C2(t.ab,0),C2(t.ab,1),t.H=H3(t,18),S2(t.H,0),S2(t.H,1),S2(t.H,2),S2(t.H,3),S2(t.H,4),S2(t.H,5),NJ(t.H),t.db=H3(t,19),S2(t.db,2),t.c=Z3(t,20),t.d=Z3(t,21),t.e=Z3(t,22),t.f=Z3(t,23),t.i=Z3(t,24),t.g=Z3(t,25),t.j=Z3(t,26),t.k=Z3(t,27),t.n=Z3(t,28),t.r=Z3(t,29),t.s=Z3(t,30),t.t=Z3(t,31),t.u=Z3(t,32),t.fb=Z3(t,33),t.A=Z3(t,34),t.C=Z3(t,35),t.D=Z3(t,36),t.F=Z3(t,37),t.G=Z3(t,38),t.I=Z3(t,39),t.J=Z3(t,40),t.L=Z3(t,41),t.M=Z3(t,42),t.N=Z3(t,43),t.O=Z3(t,44),t.P=Z3(t,45),t.X=Z3(t,46),t.Y=Z3(t,47),t.Z=Z3(t,48),t.$=Z3(t,49),t._=Z3(t,50),t.cb=Z3(t,51),t.K=Z3(t,52))}(t),function(t){var e,n,i,r,a,o,s;t.hb||(t.hb=!0,_2(t,"ecore"),E2(t,"ecore"),T2(t,hFt),b4(t.fb,"E"),b4(t.L,"T"),b4(t.P,"K"),b4(t.P,"V"),b4(t.cb,"E"),hV(AH(t.b),t.bb),hV(AH(t.a),t.Q),hV(AH(t.o),t.p),hV(AH(t.p),t.R),hV(AH(t.q),t.p),hV(AH(t.v),t.q),hV(AH(t.w),t.R),hV(AH(t.B),t.Q),hV(AH(t.R),t.Q),hV(AH(t.T),t.eb),hV(AH(t.U),t.R),hV(AH(t.V),t.eb),hV(AH(t.W),t.bb),hV(AH(t.bb),t.eb),hV(AH(t.eb),t.R),hV(AH(t.db),t.R),EY(t.b,noe,ABt,!1,!1,!0),U2(VP(a1(oH(t.b),0),34),t.e,"iD",null,0,1,noe,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.b),1),18),t.q,null,"eAttributeType",1,1,noe,!0,!0,!1,!1,!0,!1,!0),EY(t.a,Jae,TBt,!1,!1,!0),U2(VP(a1(oH(t.a),0),34),t._,RNt,null,0,1,Jae,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.a),1),18),t.ab,null,"details",0,-1,Jae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.a),2),18),t.Q,VP(a1(oH(t.Q),0),18),"eModelElement",0,1,Jae,!0,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.a),3),18),t.S,null,"contents",0,-1,Jae,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.a),4),18),t.S,null,"references",0,-1,Jae,!1,!1,!0,!1,!0,!1,!1),EY(t.o,roe,"EClass",!1,!1,!0),U2(VP(a1(oH(t.o),0),34),t.e,"abstract",null,0,1,roe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.o),1),34),t.e,"interface",null,0,1,roe,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.o),2),18),t.o,null,"eSuperTypes",0,-1,roe,!1,!1,!0,!1,!0,!0,!1),Art(VP(a1(oH(t.o),3),18),t.T,VP(a1(oH(t.T),0),18),"eOperations",0,-1,roe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.o),4),18),t.b,null,"eAllAttributes",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),5),18),t.W,null,"eAllReferences",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),6),18),t.W,null,"eReferences",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),7),18),t.b,null,"eAttributes",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),8),18),t.W,null,"eAllContainments",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),9),18),t.T,null,"eAllOperations",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),10),18),t.bb,null,"eAllStructuralFeatures",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),11),18),t.o,null,"eAllSuperTypes",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.o),12),18),t.b,null,"eIDAttribute",0,1,roe,!0,!0,!1,!1,!1,!1,!0),Art(VP(a1(oH(t.o),13),18),t.bb,VP(a1(oH(t.bb),7),18),"eStructuralFeatures",0,-1,roe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.o),14),18),t.H,null,"eGenericSuperTypes",0,-1,roe,!1,!1,!0,!0,!1,!0,!1),Art(VP(a1(oH(t.o),15),18),t.H,null,"eAllGenericSuperTypes",0,-1,roe,!0,!0,!1,!1,!0,!1,!0),Irt(s=p0(VP(a1(aH(t.o),0),59),t.e,"isSuperTypeOf"),t.o,"someClass"),p0(VP(a1(aH(t.o),1),59),t.I,"getFeatureCount"),Irt(s=p0(VP(a1(aH(t.o),2),59),t.bb,pFt),t.I,"featureID"),Irt(s=p0(VP(a1(aH(t.o),3),59),t.I,bFt),t.bb,wFt),Irt(s=p0(VP(a1(aH(t.o),4),59),t.bb,pFt),t._,"featureName"),p0(VP(a1(aH(t.o),5),59),t.I,"getOperationCount"),Irt(s=p0(VP(a1(aH(t.o),6),59),t.T,"getEOperation"),t.I,"operationID"),Irt(s=p0(VP(a1(aH(t.o),7),59),t.I,yFt),t.T,mFt),Irt(s=p0(VP(a1(aH(t.o),8),59),t.T,"getOverride"),t.T,mFt),Irt(s=p0(VP(a1(aH(t.o),9),59),t.H,"getFeatureType"),t.bb,wFt),EY(t.p,ioe,MBt,!0,!1,!0),U2(VP(a1(oH(t.p),0),34),t._,"instanceClassName",null,0,1,ioe,!1,!0,!0,!0,!0,!1),e=Cq(t.L),n=$Y(),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Aht(VP(a1(oH(t.p),1),34),e,"instanceClass",ioe,!0,!0,!1,!0),U2(VP(a1(oH(t.p),2),34),t.M,vFt,null,0,1,ioe,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.p),3),34),t._,"instanceTypeName",null,0,1,ioe,!1,!0,!0,!0,!0,!1),Art(VP(a1(oH(t.p),4),18),t.U,VP(a1(oH(t.U),3),18),"ePackage",0,1,ioe,!0,!1,!1,!1,!0,!1,!1),Art(VP(a1(oH(t.p),5),18),t.db,null,xFt,0,-1,ioe,!1,!1,!0,!0,!0,!1,!1),Irt(s=p0(VP(a1(aH(t.p),0),59),t.e,kFt),t.M,Gkt),p0(VP(a1(aH(t.p),1),59),t.I,"getClassifierID"),EY(t.q,aoe,"EDataType",!1,!1,!0),U2(VP(a1(oH(t.q),0),34),t.e,"serializable",kDt,0,1,aoe,!1,!1,!0,!1,!0,!1),EY(t.v,coe,"EEnum",!1,!1,!0),Art(VP(a1(oH(t.v),0),18),t.w,VP(a1(oH(t.w),3),18),"eLiterals",0,-1,coe,!1,!1,!0,!0,!1,!1,!1),Irt(s=p0(VP(a1(aH(t.v),0),59),t.w,_Ft),t._,wPt),Irt(s=p0(VP(a1(aH(t.v),1),59),t.w,_Ft),t.I,jNt),Irt(s=p0(VP(a1(aH(t.v),2),59),t.w,"getEEnumLiteralByLiteral"),t._,"literal"),EY(t.w,uoe,IBt,!1,!1,!0),U2(VP(a1(oH(t.w),0),34),t.I,jNt,null,0,1,uoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.w),1),34),t.A,"instance",null,0,1,uoe,!0,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.w),2),34),t._,"literal",null,0,1,uoe,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.w),3),18),t.v,VP(a1(oH(t.v),0),18),"eEnum",0,1,uoe,!0,!1,!1,!1,!1,!1,!1),EY(t.B,iae,"EFactory",!1,!1,!0),Art(VP(a1(oH(t.B),0),18),t.U,VP(a1(oH(t.U),2),18),"ePackage",1,1,iae,!0,!1,!0,!1,!1,!1,!1),Irt(s=p0(VP(a1(aH(t.B),0),59),t.S,"create"),t.o,"eClass"),Irt(s=p0(VP(a1(aH(t.B),1),59),t.M,"createFromString"),t.q,"eDataType"),Irt(s,t._,"literalValue"),Irt(s=p0(VP(a1(aH(t.B),2),59),t._,"convertToString"),t.q,"eDataType"),Irt(s,t.M,"instanceValue"),EY(t.Q,nae,dNt,!0,!1,!0),Art(VP(a1(oH(t.Q),0),18),t.a,VP(a1(oH(t.a),2),18),"eAnnotations",0,-1,nae,!1,!1,!0,!0,!1,!1,!1),Irt(s=p0(VP(a1(aH(t.Q),0),59),t.a,"getEAnnotation"),t._,RNt),EY(t.R,rae,gNt,!0,!1,!0),U2(VP(a1(oH(t.R),0),34),t._,wPt,null,0,1,rae,!1,!1,!0,!1,!0,!1),EY(t.S,Kre,"EObject",!1,!1,!0),p0(VP(a1(aH(t.S),0),59),t.o,"eClass"),p0(VP(a1(aH(t.S),1),59),t.e,"eIsProxy"),p0(VP(a1(aH(t.S),2),59),t.X,"eResource"),p0(VP(a1(aH(t.S),3),59),t.S,"eContainer"),p0(VP(a1(aH(t.S),4),59),t.bb,"eContainingFeature"),p0(VP(a1(aH(t.S),5),59),t.W,"eContainmentFeature"),s=p0(VP(a1(aH(t.S),6),59),null,"eContents"),e=Cq(t.fb),n=Cq(t.S),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(r=fst(s,e,null))&&r.Fi(),s=p0(VP(a1(aH(t.S),7),59),null,"eAllContents"),e=Cq(t.cb),n=Cq(t.S),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(a=fst(s,e,null))&&a.Fi(),s=p0(VP(a1(aH(t.S),8),59),null,"eCrossReferences"),e=Cq(t.fb),n=Cq(t.S),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(o=fst(s,e,null))&&o.Fi(),Irt(s=p0(VP(a1(aH(t.S),9),59),t.M,"eGet"),t.bb,wFt),Irt(s=p0(VP(a1(aH(t.S),10),59),t.M,"eGet"),t.bb,wFt),Irt(s,t.e,"resolve"),Irt(s=p0(VP(a1(aH(t.S),11),59),null,"eSet"),t.bb,wFt),Irt(s,t.M,"newValue"),Irt(s=p0(VP(a1(aH(t.S),12),59),t.e,"eIsSet"),t.bb,wFt),Irt(s=p0(VP(a1(aH(t.S),13),59),null,"eUnset"),t.bb,wFt),Irt(s=p0(VP(a1(aH(t.S),14),59),t.M,"eInvoke"),t.T,mFt),e=Cq(t.fb),n=$Y(),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),Qat(s,e,"arguments"),function(t,e){hV((!t.a&&(t.a=new ZD(t,t)),t.a),e)}(s,t.K),EY(t.T,hoe,OBt,!1,!1,!0),Art(VP(a1(oH(t.T),0),18),t.o,VP(a1(oH(t.o),3),18),EFt,0,1,hoe,!0,!1,!1,!1,!1,!1,!1),Art(VP(a1(oH(t.T),1),18),t.db,null,xFt,0,-1,hoe,!1,!1,!0,!0,!0,!1,!1),Art(VP(a1(oH(t.T),2),18),t.V,VP(a1(oH(t.V),0),18),"eParameters",0,-1,hoe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.T),3),18),t.p,null,"eExceptions",0,-1,hoe,!1,!1,!0,!1,!0,!0,!1),Art(VP(a1(oH(t.T),4),18),t.H,null,"eGenericExceptions",0,-1,hoe,!1,!1,!0,!0,!1,!0,!1),p0(VP(a1(aH(t.T),0),59),t.I,yFt),Irt(s=p0(VP(a1(aH(t.T),1),59),t.e,"isOverrideOf"),t.T,"someOperation"),EY(t.U,aae,"EPackage",!1,!1,!0),U2(VP(a1(oH(t.U),0),34),t._,"nsURI",null,0,1,aae,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.U),1),34),t._,"nsPrefix",null,0,1,aae,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.U),2),18),t.B,VP(a1(oH(t.B),0),18),"eFactoryInstance",1,1,aae,!0,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.U),3),18),t.p,VP(a1(oH(t.p),4),18),"eClassifiers",0,-1,aae,!1,!1,!0,!0,!0,!1,!1),Art(VP(a1(oH(t.U),4),18),t.U,VP(a1(oH(t.U),5),18),"eSubpackages",0,-1,aae,!1,!1,!0,!0,!0,!1,!1),Art(VP(a1(oH(t.U),5),18),t.U,VP(a1(oH(t.U),4),18),"eSuperPackage",0,1,aae,!0,!1,!1,!1,!0,!1,!1),Irt(s=p0(VP(a1(aH(t.U),0),59),t.p,"getEClassifier"),t._,wPt),EY(t.V,foe,DBt,!1,!1,!0),Art(VP(a1(oH(t.V),0),18),t.T,VP(a1(oH(t.T),2),18),"eOperation",0,1,foe,!0,!1,!1,!1,!1,!1,!1),EY(t.W,doe,NBt,!1,!1,!0),U2(VP(a1(oH(t.W),0),34),t.e,"containment",null,0,1,doe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.W),1),34),t.e,"container",null,0,1,doe,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.W),2),34),t.e,"resolveProxies",kDt,0,1,doe,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.W),3),18),t.W,null,"eOpposite",0,1,doe,!1,!1,!0,!1,!0,!1,!1),Art(VP(a1(oH(t.W),4),18),t.o,null,"eReferenceType",1,1,doe,!0,!0,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.W),5),18),t.b,null,"eKeys",0,-1,doe,!1,!1,!0,!1,!0,!1,!1),EY(t.bb,eoe,SBt,!0,!1,!0),U2(VP(a1(oH(t.bb),0),34),t.e,"changeable",kDt,0,1,eoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),1),34),t.e,"volatile",null,0,1,eoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),2),34),t.e,"transient",null,0,1,eoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),3),34),t._,"defaultValueLiteral",null,0,1,eoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),4),34),t.M,vFt,null,0,1,eoe,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.bb),5),34),t.e,"unsettable",null,0,1,eoe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.bb),6),34),t.e,"derived",null,0,1,eoe,!1,!1,!0,!1,!0,!1),Art(VP(a1(oH(t.bb),7),18),t.o,VP(a1(oH(t.o),13),18),EFt,0,1,eoe,!0,!1,!1,!1,!1,!1,!1),p0(VP(a1(aH(t.bb),0),59),t.I,bFt),s=p0(VP(a1(aH(t.bb),1),59),null,"getContainerClass"),e=Cq(t.L),n=$Y(),hV((!e.d&&(e.d=new GI(loe,e,1)),e.d),n),(i=fst(s,e,null))&&i.Fi(),EY(t.eb,toe,CBt,!0,!1,!0),U2(VP(a1(oH(t.eb),0),34),t.e,"ordered",kDt,0,1,toe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.eb),1),34),t.e,"unique",kDt,0,1,toe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.eb),2),34),t.I,"lowerBound",null,0,1,toe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.eb),3),34),t.I,"upperBound","1",0,1,toe,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.eb),4),34),t.e,"many",null,0,1,toe,!0,!0,!1,!1,!0,!0),U2(VP(a1(oH(t.eb),5),34),t.e,"required",null,0,1,toe,!0,!0,!1,!1,!0,!0),Art(VP(a1(oH(t.eb),6),18),t.p,null,"eType",0,1,toe,!1,!0,!0,!1,!0,!0,!1),Art(VP(a1(oH(t.eb),7),18),t.H,null,"eGenericType",0,1,toe,!1,!0,!0,!0,!1,!0,!1),EY(t.ab,rjt,"EStringToStringMapEntry",!1,!1,!1),U2(VP(a1(oH(t.ab),0),34),t._,"key",null,0,1,rjt,!1,!1,!0,!1,!0,!1),U2(VP(a1(oH(t.ab),1),34),t._,jNt,null,0,1,rjt,!1,!1,!0,!1,!0,!1),EY(t.H,loe,LBt,!1,!1,!0),Art(VP(a1(oH(t.H),0),18),t.H,null,"eUpperBound",0,1,loe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.H),1),18),t.H,null,"eTypeArguments",0,-1,loe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.H),2),18),t.p,null,"eRawType",1,1,loe,!0,!1,!1,!1,!0,!1,!0),Art(VP(a1(oH(t.H),3),18),t.H,null,"eLowerBound",0,1,loe,!1,!1,!0,!0,!1,!1,!1),Art(VP(a1(oH(t.H),4),18),t.db,null,"eTypeParameter",0,1,loe,!1,!1,!0,!1,!1,!1,!1),Art(VP(a1(oH(t.H),5),18),t.p,null,"eClassifier",0,1,loe,!1,!1,!0,!1,!0,!1,!1),Irt(s=p0(VP(a1(aH(t.H),0),59),t.e,kFt),t.M,Gkt),EY(t.db,Uoe,PBt,!1,!1,!0),Art(VP(a1(oH(t.db),0),18),t.H,null,"eBounds",0,-1,Uoe,!1,!1,!0,!0,!1,!1,!1),Vz(t.c,mRt,"EBigDecimal",!0),Vz(t.d,ERt,"EBigInteger",!0),Vz(t.e,Wce,"EBoolean",!0),Vz(t.f,Fjt,"EBooleanObject",!0),Vz(t.i,Vce,"EByte",!0),Vz(t.g,Zv(Vce,1),"EByteArray",!0),Vz(t.j,Rjt,"EByteObject",!0),Vz(t.k,Gce,"EChar",!0),Vz(t.n,qjt,"ECharacterObject",!0),Vz(t.r,Pjt,"EDate",!0),Vz(t.s,nue,"EDiagnosticChain",!1),Vz(t.t,Qce,"EDouble",!0),Vz(t.u,Hjt,"EDoubleObject",!0),Vz(t.fb,kae,"EEList",!1),Vz(t.A,Pae,"EEnumerator",!1),Vz(t.C,_se,"EFeatureMap",!1),Vz(t.D,Goe,"EFeatureMapEntry",!1),Vz(t.F,Jce,"EFloat",!0),Vz(t.G,Zjt,"EFloatObject",!0),Vz(t.I,Kce,"EInt",!0),Vz(t.J,Gjt,"EIntegerObject",!0),Vz(t.L,K$t,"EJavaClass",!0),Vz(t.M,G$t,"EJavaObject",!0),Vz(t.N,Xce,"ELong",!0),Vz(t.O,Jjt,"ELongObject",!0),Vz(t.P,X$t,"EMap",!1),Vz(t.X,yse,"EResource",!1),Vz(t.Y,iue,"EResourceSet",!1),Vz(t.Z,tue,"EShort",!0),Vz(t.$,eRt,"EShortObject",!0),Vz(t._,fRt,"EString",!0),Vz(t.cb,Eae,"ETreeIterator",!1),Vz(t.K,rue,"EInvocationTargetException",!1),u7(t,hFt))}(t),Pz((vE(),goe),t,new Zc),ZZ(ooe,hFt,t),t),Bkt(),yoe&&function(){var t;for(CE(),function(t){tdt(t.c,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#decimal"])),tdt(t.d,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#integer"])),tdt(t.e,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#boolean"])),tdt(t.f,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EBoolean",wPt,"EBoolean:Object"])),tdt(t.i,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#byte"])),tdt(t.g,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#hexBinary"])),tdt(t.j,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EByte",wPt,"EByte:Object"])),tdt(t.n,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EChar",wPt,"EChar:Object"])),tdt(t.t,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#double"])),tdt(t.u,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EDouble",wPt,"EDouble:Object"])),tdt(t.F,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#float"])),tdt(t.G,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EFloat",wPt,"EFloat:Object"])),tdt(t.I,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#int"])),tdt(t.J,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EInt",wPt,"EInt:Object"])),tdt(t.N,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#long"])),tdt(t.O,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"ELong",wPt,"ELong:Object"])),tdt(t.Z,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#short"])),tdt(t.$,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"EShort",wPt,"EShort:Object"])),tdt(t._,eFt,P4(Zv(fRt,1),T_t,2,6,[gFt,"http://www.w3.org/2001/XMLSchema#string"]))}((VR(),boe)),function(t){tdt(t.b,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"ConsistentTransient"])),tdt(t.a,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"WellFormedSourceURI"])),tdt(t.o,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"InterfaceIsAbstract AtMostOneID UniqueFeatureNames UniqueOperationSignatures NoCircularSuperTypes WellFormedMapEntryClass ConsistentSuperTypes DisjointFeatureAndOperationSignatures"])),tdt(t.p,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"WellFormedInstanceTypeName UniqueTypeParameterNames"])),tdt(t.v,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"UniqueEnumeratorNames UniqueEnumeratorLiterals"])),tdt(t.R,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"WellFormedName"])),tdt(t.T,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"UniqueParameterNames UniqueTypeParameterNames NoRepeatingVoid"])),tdt(t.U,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"WellFormedNsURI WellFormedNsPrefix UniqueSubpackageNames UniqueClassifierNames UniqueNsURIs"])),tdt(t.W,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"ConsistentOpposite SingleContainer ConsistentKeys ConsistentUnique ConsistentContainer"])),tdt(t.bb,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"ValidDefaultValueLiteral"])),tdt(t.eb,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"ValidLowerBound ValidUpperBound ConsistentBounds ValidType"])),tdt(t.H,hFt,P4(Zv(fRt,1),T_t,2,6,[dFt,"ConsistentType ConsistentBounds ConsistentArguments"]))}(boe),Srt(boe),Bkt(),Koe=Soe,t=new wd(lse);t.a<t.c.c.length;)Yvt(VP(qU(t),241),Soe,null)}()}function QR(t,e,n,i){return 0==n||(n-i)/n<t.e||e>=t.g}function JR(t,e,n){return nbt(t,l2(t,e,n))}function tz(t,e){var n;WQ(t,n=t.a.length),JG(t,n,e)}function ez(t,e){console[t].call(console,e)}function nz(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function iz(t,e,n){Ub.call(this,e),this.a=t,this.b=n}function rz(t,e,n){tw.call(this,t),this.a=e,this.b=n}function az(t,e,n){this.a=t,Zb.call(this,e),this.b=n}function oz(t,e,n){this.a=t,fG.call(this,8,e,null,n)}function sz(t){this.a=(yz(eFt),eFt),this.b=t,new Gy}function cz(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function uz(t){this.c=t,this.b=t.a.d.a,eD(t.a.e,this)}function lz(t){TO(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function hz(t){return n.Math.sqrt(t.a*t.a+t.b*t.b)}function fz(t,e){return ij(e,t.a.c.length),EF(t.a,e)}function dz(t,e){return iA(t)===iA(e)||null!=t&&X7(t,e)}function gz(t){return t?t.dc():!t.Kc().Ob()}function pz(t){return!t.a&&t.c?t.c.b:t.a}function bz(t){return!t.a&&(t.a=new GI(Kre,t,4)),t.a}function wz(t){return!t.d&&(t.d=new GI(loe,t,1)),t.d}function yz(t){if(null==t)throw lw(new Nw);return t}function mz(t){t.c?t.c.He():(t.d=!0,function(t){var e,n,i,r,a;if(a=new iw,KJ(t.b,new Zd(a)),t.b.c=WX(G$t,r_t,1,0,5,1),0!=a.c.length){for(OU(0,a.c.length),e=VP(a.c[0],78),n=1,i=a.c.length;n<i;++n)OU(n,a.c.length),(r=VP(a.c[n],78))!=e&&gst(e,r);if(MI(e,60))throw lw(VP(e,60));if(MI(e,289))throw lw(VP(e,289))}}(t))}function vz(t){t.c?vz(t.c):(K8(t),t.d=!0)}function xz(t){iq(t.a),t.b=WX(G$t,r_t,1,t.b.length,5,1)}function kz(t){return t.c.i.c==t.d.i.c}function _z(t){return!t.b&&(t.b=new Gb(new Ky)),t.b}function Ez(t){return-2==t.c&&function(t,e){t.c=e}(t,function(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),nFt)))for(i=1;i<(put(),dse).length;++i)if(jN(dse[i],r))return i;return 0}(t.g,t.b)),t.c}function Tz(t,e){var n;return(n=ER("",t)).n=e,n.i=1,n}function Cz(t,e){this.b=t,Jj.call(this,t,e),RI(this)}function Sz(t,e){this.b=t,KN.call(this,t,e),zI(this)}function Az(t,e,n,i){Kk.call(this,t,e),this.d=n,this.a=i}function Mz(t,e,n,i){Kk.call(this,t,n),this.a=e,this.f=i}function Iz(t,e){xI.call(this,function(t,e){var n;return Gq(),n=new x_(1),oA(t)?ZZ(n,t,e):Qut(n.f,t,e),new bd(n)}(TR(t),TR(e))),this.a=e}function Lz(){var t;Mst.call(this,qFt,($x(),Ise)),(t=this).b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function Oz(){var t;Mst.call(this,hFt,(Fx(),poe)),(t=this).b=null,t.a=null,t.o=null,t.q=null,t.v=null,t.w=null,t.B=null,t.p=null,t.Q=null,t.R=null,t.S=null,t.T=null,t.U=null,t.V=null,t.W=null,t.bb=null,t.eb=null,t.ab=null,t.H=null,t.db=null,t.c=null,t.d=null,t.f=null,t.n=null,t.r=null,t.s=null,t.u=null,t.G=null,t.J=null,t.e=null,t.j=null,t.i=null,t.g=null,t.k=null,t.t=null,t.F=null,t.I=null,t.L=null,t.M=null,t.O=null,t.P=null,t.$=null,t.N=null,t.Z=null,t.cb=null,t.K=null,t.D=null,t.A=null,t.C=null,t._=null,t.fb=null,t.X=null,t.Y=null,t.gb=!1,t.hb=!1}function Dz(){Yk.call(this,"DELAUNAY_TRIANGULATION",0)}function Nz(t){return String.fromCharCode.apply(null,t)}function Pz(t,e,n){return oA(e)?ZZ(t,e,n):Qut(t.f,e,n)}function Bz(t){return Gq(),t?t.ve():(Kq(),Kq(),LRt)}function Fz(t,e){return QB(),new Rnt(new yL(t),new wL(e))}function $z(){$z=I,ijt=new _m(P4(Zv(rjt,1),F_t,42,0,[]))}function jz(t){return!t.d&&(t.d=new hd(t.c.Cc())),t.d}function Rz(t){return!t.a&&(t.a=new Bv(t.c.vc())),t.a}function zz(t){return!t.b&&(t.b=new Nv(t.c.ec())),t.b}function qz(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function Hz(t,e){return iA(t)===iA(e)||null!=t&&X7(t,e)}function Zz(t,e){return r$(t.a,e)?t.b[VP(e,22).g]:null}function Uz(t,e,n,i){t.a=fO(t.a,0,e)+""+i+fA(t.a,n)}function Yz(t,e){t.u.Hc((Ilt(),wie))&&function(t,e){var i,r,a,o;for(i=(o=VP(Zz(t.b,e),124)).a,a=VP(VP(jW(t.r,e),21),84).Kc();a.Ob();)(r=VP(a.Pb(),111)).c&&(i.a=n.Math.max(i.a,KB(r.c)));if(i.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}(t,e),function(t,e){var n;t.C&&((n=VP(Zz(t.b,e),124).n).d=t.C.d,n.a=t.C.a)}(t,e)}function Gz(t,e){return DU(e,t.length),t.charCodeAt(e)}function Kz(){Am.call(this,"There is no more element.")}function Wz(t){this.d=t,this.a=this.d.b,this.b=this.d.c}function Xz(t){t.b=!1,t.c=!1,t.d=!1,t.a=!1}function Vz(t,e,n,i){return l3(t,e,n,!1),h8(t,i),t}function Qz(t){return!t.n&&(t.n=new mj(oae,t,1,7)),t.n}function Jz(t){return!t.c&&(t.c=new mj(cae,t,9,9)),t.c}function tq(t){return t.e==ZFt&&function(t,e){t.e=e}(t,function(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),wPt)))?i:e.ne()}(t.g,t.b)),t.e}function eq(t){return t.f==ZFt&&function(t,e){t.f=e}(t,function(t,e){var n,i;return(n=e.Hh(t.a))?(i=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),$Ft)),jN(jFt,i)?I$(t,i1(e.Hj())):i):null}(t.g,t.b)),t.f}function nq(t){var e;return!(e=t.b)&&(t.b=e=new Wh(t)),e}function iq(t){var e;for(e=t.Kc();e.Ob();)e.Pb(),e.Qb()}function rq(t){if(L9(t.d),t.d.d!=t.c)throw lw(new Bw)}function aq(t,e){this.b=t,this.c=e,this.a=new E_(this.b)}function oq(t,e,n){this.a=uEt,this.d=t,this.b=e,this.c=n}function sq(t,e){this.d=(yz(t),t),this.a=16449,this.c=e}function cq(t,e){X8(t,ev(H1(e,"x")),ev(H1(e,"y")))}function uq(t,e){X8(t,ev(H1(e,"x")),ev(H1(e,"y")))}function lq(t,e){return K8(t),new CF(t,new jV(e,t.a))}function hq(t,e){return K8(t),new CF(t,new QW(e,t.a))}function fq(t,e){return K8(t),new wD(t,new XW(e,t.a))}function dq(t,e){return K8(t),new yD(t,new VW(e,t.a))}function gq(t){this.a=new iw,this.e=WX(Kce,T_t,48,t,0,2)}function pq(t,e,n,i){this.a=t,this.e=e,this.d=n,this.c=i}function bq(t,e,n,i){this.a=t,this.c=e,this.b=n,this.d=i}function wq(t,e,n,i){this.c=t,this.b=e,this.a=n,this.d=i}function yq(t,e,n,i){this.c=t,this.b=e,this.d=n,this.a=i}function mq(t,e,n,i){this.c=t,this.d=e,this.b=n,this.a=i}function vq(t,e,n,i){this.a=t,this.d=e,this.c=n,this.b=i}function xq(t,e,n,i){Yk.call(this,t,e),this.a=n,this.b=i}function kq(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function _q(t,e,i){(function(t,e){var n,i,r,a;for(function(t){var e;for(e=0;e<t.c.length;e++)(OU(e,t.c.length),VP(t.c[e],11)).p=e}(e.b.j),C_(hq(new CF(null,new NU(e.d,16)),new aa),new oa),a=new wd(e.d);a.a<a.c.c.length;){switch((r=VP(qU(a),101)).e.g){case 0:n=VP(EF(r.j,0),113).d.j,Df(r,VP(HL(V$(VP(jW(r.k,n),15).Oc(),hKt)),113)),Of(r,VP(HL(X$(VP(jW(r.k,n),15).Oc(),hKt)),113));break;case 1:i=Brt(r),Df(r,VP(HL(V$(VP(jW(r.k,i[0]),15).Oc(),hKt)),113)),Of(r,VP(HL(X$(VP(jW(r.k,i[1]),15).Oc(),hKt)),113));break;case 2:Nut(t,r);break;case 3:ngt(r);break;case 4:sgt(t,r)}o1(r)}t.a=null})(t.a,i),function(t){var e,n;for(function(t){var e,n,i,r,a,o,s,c,u,l,h;for(n=null,s=null,(r=VP(Ost(t.b,(wkt(),y1t)),376))==(rX(),d3t)&&(n=new iw,s=new iw),o=new wd(t.d);o.a<o.c.c.length;)if((a=VP(qU(o),101)).i)switch(a.e.g){case 0:e=VP(nK(new E_(a.b)),61),r==d3t&&e==(Mxt(),Eie)?n.c[n.c.length]=a:r==d3t&&e==(Mxt(),zie)?s.c[s.c.length]=a:Git(a,e);break;case 1:c=a.a.d.j,u=a.c.d.j,c==(Mxt(),Eie)?Ij(a,Eie,($4(),NGt),a.a):u==Eie?Ij(a,Eie,($4(),PGt),a.c):c==zie?Ij(a,zie,($4(),PGt),a.a):u==zie&&Ij(a,zie,($4(),NGt),a.c);break;case 2:case 3:$L(i=a.b,(Mxt(),Eie))?$L(i,zie)?$L(i,Hie)?$L(i,_ie)||Ij(a,Eie,($4(),PGt),a.c):Ij(a,Eie,($4(),NGt),a.a):Ij(a,Eie,($4(),DGt),null):Ij(a,zie,($4(),DGt),null);break;case 4:l=a.a.d.j,h=a.a.d.j,l==(Mxt(),Eie)||h==Eie?Ij(a,zie,($4(),DGt),null):Ij(a,Eie,($4(),DGt),null)}n&&(0==n.c.length||byt(n,(Mxt(),Eie)),0==s.c.length||byt(s,(Mxt(),zie)))}(t),n=new wd(t.d);n.a<n.c.c.length;)(e=VP(qU(n),101)).i&&qct(e)}(i),function(t,e){var i,r;(function(t,e,n){var i,r,a,o,s,c,u;for(u=e.d,t.a=new wX(u.c.length),t.c=new rw,s=new wd(u);s.a<s.c.c.length;)o=VP(qU(s),101),a=new o4(null),nB(t.a,a),Pz(t.c,o,a);for(t.b=new rw,function(t,e){var n,i,r,a,o,s,c;for(c=e.d,r=e.b.j,s=new wd(c);s.a<s.c.c.length;)for(o=VP(qU(s),101),a=WX(Wce,pCt,25,r.c.length,16,1),Pz(t.b,o,a),n=o.a.d.p-1,i=o.c.d.p;n!=i;)a[n=(n+1)%r.c.length]=!0}(t,e),i=0;i<u.c.length-1;i++)for(c=VP(EF(e.d,i),101),r=i+1;r<u.c.length;r++)Ddt(t,c,VP(EF(e.d,r),101),n)})(t,e,i=function(t){var e,n,i,r,a,o,s,c,u,l;for(n=0,s=new wd(t.d);s.a<s.c.c.length;)(o=VP(qU(s),101)).i&&(o.i.c=n++);for(e=hF(Wce,[T_t,pCt],[177,25],16,[n,n],2),l=t.d,r=0;r<l.c.length;r++)if(OU(r,l.c.length),(c=VP(l.c[r],101)).i)for(a=r+1;a<l.c.length;a++)OU(a,l.c.length),(u=VP(l.c[a],101)).i&&(i=kst(c,u),e[c.i.c][u.i.c]=i,e[u.i.c][c.i.c]=i);return e}(e)),Hot(t.a,VP(Ost(pz(e.b),(Lkt(),zXt)),230)),function(t){var e,i,r,a,o,s;for(o=new T_,a=new wd(t.a);a.a<a.c.c.length;)$f(r=VP(qU(a),112),r.f.c.length),jf(r,r.k.c.length),0==r.i&&(r.o=0,WK(o,r,o.c.b,o.c));for(;0!=o.b;)for(i=(r=VP(0==o.b?null:(CO(0!=o.b),WJ(o,o.a.a)),112)).o+1,e=new wd(r.f);e.a<e.c.c.length;)Rf(s=VP(qU(e),129).a,n.Math.max(s.o,i)),jf(s,s.i-1),0==s.i&&WK(o,s,o.c.b,o.c)}(t),function(t,e){var n,i,r,a;for(r=new wd(e.d);r.a<r.c.c.length;)for(i=VP(qU(r),101),a=VP(zR(t.c,i),112).o,n=new E_(i.b);n.a<n.c.a.length;)bV(i,VP(nK(n),61),a)}(t,e),r=WX(Kce,CEt,25,e.b.j.c.length,15,1),Kvt(t,e,(Mxt(),Eie),r,i),Kvt(t,e,_ie,r,i),Kvt(t,e,zie,r,i),Kvt(t,e,Hie,r,i),t.a=null,t.c=null,t.b=null}(t.b,i),function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=(o=e.b).o,c=o.d,i=ev(hD(ont(o,(wkt(),P0t)))),r=ev(hD(ont(o,F0t))),u=ev(hD(ont(o,G0t))),hB(s=new Ey,c.d,c.c,c.a,c.b),f=function(t,e,n,i){var r,a,o,s,c;for(c=WX(Qce,T_t,104,(Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length,0,2),o=0,s=(a=P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length;o<s;++o)c[(r=a[o]).g]=WX(Qce,aTt,25,t.c[r.g],15,1);return vat(c,t,Eie),vat(c,t,zie),Kit(c,t,Eie,e,n,i),Kit(c,t,_ie,e,n,i),Kit(c,t,zie,e,n,i),Kit(c,t,Hie,e,n,i),c}(e,i,r,u),w=new wd(e.d);w.a<w.c.c.length;){for(g=(b=VP(qU(w),101)).f.a.ec().Kc();g.Ob();)a=(d=VP(g.Pb(),409)).a,h=tst(d),y=new Ny,Wot(d,d.c,f,y),Qst(d,h,f,y),Wot(d,d.d,f,y),n=y,n=t.Uf(d,h,n),zq(a.a),M2(a.a,n),C_(new CF(null,new NU(n,16)),new OT(l,s));(p=b.i)&&(Uot(b,p,f,r),yet(l,s,m=new hM(p.g)),mN(m,p.j),yet(l,s,m))}hB(c,s.d,s.c,s.a,s.b)}(e,i)}function Eq(t,e,n){var i;return i=Dxt(t),e.Kh(n,i)}function Tq(t,e){var n,i;return(n=t/e)>(i=cZ(n))&&++i,i}function Cq(t){var e;return d1(e=new sw,t),e}function Sq(t){var e;return Kst(e=new sw,t),e}function Aq(t){return function(t){var e;return MI(e=Ost(t,(Lkt(),IXt)),160)?K9(VP(e,160)):null}(t)||null}function Mq(t){return!t.b&&(t.b=new mj(tae,t,12,3)),t.b}function Iq(t,e,n){n.a?N1(t,e.b-t.f/2):D1(t,e.a-t.g/2)}function Lq(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function Oq(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function Dq(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i}function Nq(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function Pq(t,e,n,i){KM(),LW.call(this,e,n,i),this.a=t}function Bq(t,e,n,i){KM(),LW.call(this,e,n,i),this.a=t}function Fq(t,e){this.a=t,bD.call(this,t,VP(t.d,15).Zc(e))}function $q(t){this.f=t,this.c=this.f.e,t.f>0&&Mat(this)}function jq(t,e,n,i){this.b=t,this.c=i,SA.call(this,e,n)}function Rq(t){return CO(t.b<t.d.gc()),t.d.Xb(t.c=t.b++)}function zq(t){t.a.a=t.c,t.c.b=t.a,t.a.b=t.c.a=null,t.b=0}function qq(t,e){return t.b=e.b,t.c=e.c,t.d=e.d,t.a=e.a,t}function Hq(t){return t.n&&(t.e!==nEt&&t._d(),t.j=null),t}function Zq(t){return XB(null==t||Wj(t)&&!(t.im===M)),t}function Uq(t){this.b=new iw,C4(this.b,this.b),this.a=t}function Yq(){Yq=I,zHt=new iw,RHt=new rw,jHt=new iw}function Gq(){Gq=I,TRt=new C,CRt=new A,SRt=new T}function Kq(){Kq=I,MRt=new F,IRt=new F,LRt=new $}function Wq(){Wq=I,Tzt=new pt,Szt=new d$,Czt=new bt}function Xq(t){return t.f||(t.f=new Gk(t,t.c))}function Vq(t,e){return Z7(t.j,e.s,e.c)+Z7(e.e,t.s,t.c)}function Qq(t,e){t.e&&!t.e.a&&(cw(t.e,e),Qq(t.e,e))}function Jq(t,e){t.d&&!t.d.a&&(cw(t.d,e),Jq(t.d,e))}function tH(t,e,n){IJ(t,e,new Ef(eP(n)))}function eH(t,e,n,i,r,a){kV.call(this,t,e,n,i,r,a?-2:-1)}function nH(t,e,n,i){GS.call(this,e,n),this.b=t,this.a=i}function iH(t,e){new T_,this.a=new Ny,this.b=t,this.c=e}function rH(t,e){if(null==t)throw lw(new Jm(e));return t}function aH(t){return!t.q&&(t.q=new mj(hoe,t,11,10)),t.q}function oH(t){return!t.s&&(t.s=new mj(eoe,t,21,17)),t.s}function sH(t){return!t.a&&(t.a=new mj(sae,t,10,11)),t.a}function cH(t){return MI(t,14)?new xF(VP(t,14)):function(t){var e;return UQ(e=new Xw,t),e}(t.Kc())}function uH(t){return t&&t.hashCode?t.hashCode():jL(t)}function lH(t,e){return null==e?!!BH(t.f,null):function(t,e){return!(void 0===t.a.get(e))}(t.g,e)}function hH(t){return TR(t),Eit(new O$(dL(t.a.Kc(),new l)))}function fH(t){return Gq(),MI(t,54)?new Pv(t):new SL(t)}function dH(t,e,n){return!!t.f&&t.f.Ne(e,n)}function gH(t,e){return t.a=fO(t.a,0,e)+""+fA(t.a,e+1),t}function pH(t,e){var n;return(n=CI(t.a,e))&&(e.d=null),n}function bH(t){var e,n;e=0|(n=t).$modCount,n.$modCount=e+1}function wH(t){this.b=t,this.c=t,t.e=null,t.c=null,this.a=1}function yH(t){this.b=t,this.a=new Wx(VP(TR(new te),62))}function mH(t){this.c=t,this.b=new Wx(VP(TR(new wt),62))}function vH(t){this.c=t,this.b=new Wx(VP(TR(new Ae),62))}function xH(){this.a=new uy,this.b=new _y,this.d=new Pe}function kH(){this.a=new Ny,this.b=(b0(3,G_t),new wX(3))}function _H(){this.b=new Xw,this.d=new T_,this.e=new xy}function EH(t){this.c=t.c,this.d=t.d,this.b=t.b,this.a=t.a}function TH(t,e){rm.call(this,new hj(t)),this.a=t,this.b=e}function CH(){dct(this,new Nh),this.wb=(VR(),boe),Fx()}function SH(t){jv(),n.setTimeout((function(){throw t}),0)}function AH(t){return t.u||(dW(t),t.u=new HD(t,t)),t.u}function MH(t){return VP(q3(t,16),26)||t.zh()}function IH(t,e){return MI(e,146)&&jN(t.b,VP(e,146).tg())}function LH(t){this.a=(Gq(),MI(t,54)?new Pv(t):new SL(t))}function OH(){var t,e;OH=I,e=!(Error.stackTraceLimit>0?(n.Error.stackTraceLimit=Error.stackTraceLimit=64,1):"stack"in new Error),t=new p,yjt=e?new _:t}function DH(t,e){var n;return n=Nx(t.gm),null==e?n:n+": "+e}function NH(t,e){var n;return wK(n=t.b.Qc(e),t.b.gc()),n}function PH(t,e){if(null==t)throw lw(new Jm(e));return t}function BH(t,e){return H6(t,e,function(t,e){var n;return null==(n=t.a.get(e))?new Array:n}(t,null==e?0:t.b.se(e)))}function FH(t,e,n){return n>=0&&jN(t.substr(n,e.length),e)}function $H(t,e,n,i,r,a,o){return new cK(t.e,e,n,i,r,a,o)}function jH(t,e,n,i,r,a){this.a=t,_0.call(this,e,n,i,r,a)}function RH(t,e,n,i,r,a){this.a=t,_0.call(this,e,n,i,r,a)}function zH(t,e){this.g=t,this.d=P4(Zv(UUt,1),kAt,10,0,[e])}function qH(t,e){this.e=t,this.a=G$t,this.b=tbt(e),this.c=e}function HH(t,e){uN.call(this),VJ(this),this.a=t,this.c=e}function ZH(t,e,n,i){BR(t.c[e.g],n.g,i),BR(t.c[n.g],e.g,i)}function UH(t,e,n,i){BR(t.c[e.g],e.g,n),BR(t.b[e.g],e.g,i)}function YH(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function GH(t){return 0==t.b.b?t.a.$e():mB(t.b)}function KH(t){return iA(t.a)===iA((K2(),Zoe))&&function(t){var e,n,i,r,a,o,s,c,u,l;for(e=new Ec,n=new Ec,u=jN(tFt,(r=bwt(t.b,eFt))?fD(vtt((!r.b&&(r.b=new UO((Bkt(),Boe),cse,r)),r.b),nFt)):null),c=0;c<t.i;++c)MI(s=VP(t.g[c],170),99)?0!=((o=VP(s,18)).Bb&CNt)?(0==(o.Bb&C_t)||!u&&null==((a=bwt(o,eFt))?fD(vtt((!a.b&&(a.b=new UO((Bkt(),Boe),cse,a)),a.b),bPt)):null))&&hV(e,o):(l=eit(o))&&0!=(l.Bb&CNt)||(0==(o.Bb&C_t)||!u&&null==((i=bwt(o,eFt))?fD(vtt((!i.b&&(i.b=new UO((Bkt(),Boe),cse,i)),i.b),bPt)):null))&&hV(n,o):(EE(),VP(s,66).Oj()&&(s.Jj()||(hV(e,s),hV(n,s))));z6(e),z6(n),t.a=VP(e.g,247),VP(n.g,247)}(t),t.a}function WH(t){this.a=VP(TR(t),271),this.b=(Gq(),new ML(t))}function XH(t,e){(function(t,e){t.a=e})(this,new XC(t.a,t.b)),function(t,e){t.b=e}(this,tB(e))}function VH(){VH=I,K4t=new CC(xCt,0),W4t=new CC(kCt,1)}function QH(){QH=I,b4t=new _C(kCt,0),p4t=new _C(xCt,1)}function JH(){mm.call(this,new x_(AJ(12))),vL(!0),this.a=2}function tZ(t,e,n){Nkt(),tw.call(this,t),this.b=e,this.a=n}function eZ(t,e,n){KM(),Ub.call(this,e),this.a=t,this.b=n}function nZ(t){uN.call(this),VJ(this),this.a=t,this.c=!0}function iZ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function rZ(t){(function(t){var e;for(e=new wd(hrt(t));e.a<e.c.c.length;)VP(qU(e),680).Gf()})(t.a),DM(t.a),F9(new Xd(t.a))}function aZ(t,e){return tK(e),function(t,e,i){var r;return r=t.length,hlt(t,0,e,0,n.Math.min(i,r),!0),e}(t,WX(Kce,CEt,25,e,15,1),e)}function oZ(t,e){return null==e?nA(BH(t.f,null)):NE(t.g,e)}function sZ(t){return 0==t.b?null:(CO(0!=t.b),WJ(t,t.a.a))}function cZ(t){return 0|Math.max(Math.min(t,Qkt),-2147483648)}function uZ(t,e){return rH(t,"set1"),rH(e,"set2"),new Jk(t,e)}function lZ(t,e){return mN(BO(function(t,e){return vN(pI(VP(zR(t.g,e),8)),dI(VP(zR(t.f,e),460).b))}(t.f,e)),t.f.d)}function hZ(t,e){var n;return zvt(t,e,n=new H),n.d}function fZ(t,e,n,i){var r;r=new pN,e.a[n.g]=r,VF(t.b,i,r)}function dZ(t,e,n){var i;(i=t.Yg(e))>=0?t.sh(i,n):ydt(t,e,n)}function gZ(t,e,n){jZ(),t&&Pz(Cae,t,e),t&&Pz(Tae,t,n)}function pZ(t,e,n){this.i=new iw,this.b=t,this.g=e,this.a=n}function bZ(t,e,n){this.c=new iw,this.e=t,this.f=e,this.b=n}function wZ(t,e,n){this.a=new iw,this.e=t,this.f=e,this.c=n}function yZ(t,e){kI(this),this.f=e,this.g=t,Hq(this),this._d()}function mZ(t,e){var n;n=t.q.getHours(),t.q.setDate(e),Myt(t,n)}function vZ(t,e){var n;for(TR(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function xZ(t){var e;return D5(e=new Gx(AJ(t.length)),t),e}function kZ(t,e){if(null==e)throw lw(new Nw);return function(t,e){var n,i=t.a;e=String(e),i.hasOwnProperty(e)&&(n=i[e]);var r=(r5(),Sjt)[typeof n];return r?r(n):J6(typeof n)}(t,e)}function _Z(t){return t.Db>>16!=3?null:VP(t.Cb,33)}function EZ(t){return t.Db>>16!=9?null:VP(t.Cb,33)}function TZ(t){return t.Db>>16!=6?null:VP(t.Cb,79)}function CZ(t){return t.Db>>16!=7?null:VP(t.Cb,235)}function SZ(t){return t.Db>>16!=7?null:VP(t.Cb,160)}function AZ(t){return t.Db>>16!=11?null:VP(t.Cb,33)}function MZ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):Ylt(t,e)}function IZ(t,e){var n;return Est(n=new kF(e),t),new uP(n)}function LZ(t){var e;return e=t.d,e=t.si(t.f),hV(t,e),e.Ob()}function OZ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function DZ(t,e){return n.Math.abs(t)<n.Math.abs(e)?t:e}function NZ(){this.a=new cM,this.e=new Xw,this.g=0,this.i=0}function PZ(t){this.a=t,this.b=WX(t4t,T_t,1944,t.e.length,0,2)}function BZ(t,e,n){var i;i=P5(t,e,n),t.b=new u2(i.c.length)}function FZ(){FZ=I,m4t=new kC(DCt,0),v4t=new kC("UP",1)}function $Z(){$Z=I,Q5t=new LC(cOt,0),J5t=new LC("FAN",1)}function jZ(){var t,e;jZ=I,Cae=new rw,Tae=new rw,t=PRt,e=new pc,t&&Pz(Tae,t,e)}function RZ(t){return t.Db>>16!=3?null:VP(t.Cb,147)}function zZ(t){return t.Db>>16!=6?null:VP(t.Cb,235)}function qZ(t){return t.Db>>16!=17?null:VP(t.Cb,26)}function HZ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function ZZ(t,e,n){return null==e?Qut(t.f,null,n):r9(t.g,e,n)}function UZ(t,e,n,i,r,a){return new vQ(t.e,e,t.aj(),n,i,r,a)}function YZ(t,e,n){return t.a=fO(t.a,0,e)+""+n+fA(t.a,e),t}function GZ(t,e,n){return nB(t.a,($z(),wit(e,n),new Kk(e,n))),t}function KZ(t){return kL(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function WZ(t){return kL(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function XZ(t,e){t.d&&sQ(t.d.e,t),t.d=e,t.d&&nB(t.d.e,t)}function VZ(t,e){t.c&&sQ(t.c.g,t),t.c=e,t.c&&nB(t.c.g,t)}function QZ(t,e){t.c&&sQ(t.c.a,t),t.c=e,t.c&&nB(t.c.a,t)}function JZ(t,e){t.i&&sQ(t.i.j,t),t.i=e,t.i&&nB(t.i.j,t)}function tU(t,e,n){this.a=e,this.c=t,this.b=(TR(n),new uP(n))}function eU(t,e,n){this.a=e,this.c=t,this.b=(TR(n),new uP(n))}function nU(t,e){this.a=t,this.c=pI(this.a),this.b=new EH(e)}function iU(t,e){if(t<0||t>e)throw lw(new qm($Tt+t+jTt+e))}function rU(t,e){return a$(t.a,e)?$j(t,VP(e,22).g,null):null}function aU(){aU=I,ujt=U6((wm(),P4(Zv(ljt,1),K_t,538,0,[sjt])))}function oU(){oU=I,O3t=v$(new hG,(Dst(),nUt),(Dkt(),rGt))}function sU(){sU=I,D3t=v$(new hG,(Dst(),nUt),(Dkt(),rGt))}function cU(){cU=I,P3t=v$(new hG,(Dst(),nUt),(Dkt(),rGt))}function uU(){uU=I,o4t=cF(new hG,(Dst(),nUt),(Dkt(),IYt))}function lU(){lU=I,h4t=cF(new hG,(Dst(),nUt),(Dkt(),IYt))}function hU(){hU=I,g4t=cF(new hG,(Dst(),nUt),(Dkt(),IYt))}function fU(){fU=I,_4t=cF(new hG,(Dst(),nUt),(Dkt(),IYt))}function dU(){dU=I,o6t=v$(new hG,(jrt(),e5t),(xut(),o5t))}function gU(t,e,n,i){this.c=t,this.d=i,wU(this,e),yU(this,n)}function pU(t){this.c=new T_,this.b=t.b,this.d=t.c,this.a=t.a}function bU(t){this.a=n.Math.cos(t),this.b=n.Math.sin(t)}function wU(t,e){t.a&&sQ(t.a.k,t),t.a=e,t.a&&nB(t.a.k,t)}function yU(t,e){t.b&&sQ(t.b.f,t),t.b=e,t.b&&nB(t.b.f,t)}function mU(t,e){(function(t,e,n){VP(e.b,65),KJ(e.a,new PP(t,n,e))})(t,t.b,t.c),VP(t.b.b,65),e&&VP(e.b,65).b}function vU(t,e){MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),4),_2(t,e)}function xU(t,e){MI(t.Cb,179)&&(VP(t.Cb,179).tb=null),_2(t,e)}function kU(t,e){return EE(),ZQ(e)?new aF(e,t):new WS(e,t)}function _U(t){var e;return Fx(),d1(e=new sw,t),e}function EU(t){var e;return Fx(),d1(e=new sw,t),e}function TU(t,e){var n;return n=new HR(t),e.c[e.c.length]=n,n}function CU(t,e){var n;return(n=VP(P7(Xq(t.a),e),14))?n.gc():0}function SU(t){return K8(t),Kq(),Kq(),qJ(t,IRt)}function AU(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function MU(t,e){am.call(this,new x_(AJ(t))),b0(e,E_t),this.a=e}function IU(t,e,n){i8(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function LU(t,e,n){var i;i8(e,n,t.c.length),i=n-e,sk(t.c,e,i)}function OU(t,e){if(t<0||t>=e)throw lw(new qm($Tt+t+jTt+e))}function DU(t,e){if(t<0||t>=e)throw lw(new Dv($Tt+t+jTt+e))}function NU(t,e){this.b=(yz(t),t),this.a=0==(e&eTt)?64|e|C_t:e}function PU(t){OM(this),Uw(this.a,k5(n.Math.max(8,t))<<1)}function BU(t){return O5(P4(Zv(q9t,1),T_t,8,0,[t.i.n,t.n,t.a]))}function FU(t,e){return function(t,e,n){var i,r,a,o,s,c;if(o=new bc,s=bgt(t.e.Tg(),e),i=VP(t.g,119),EE(),VP(e,66).Oj())for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&hV(o,r);else for(a=0;a<t.i;++a)r=i[a],s.rl(r.ak())&&(c=r.dd(),hV(o,n?Zlt(t,e,a,o.i,c):c));return $G(o)}(t,e,MI(e,99)&&0!=(VP(e,18).Bb&iTt))}function $U(t,e,n){var i;(i=new ao).b=e,i.a=n,++e.b,nB(t.d,i)}function jU(t,e){var n,i;return i=Nj(t,e),n=t.a.Zc(i),new Vk(t,n)}function RU(t){return t.a==(gW(),wse)&&function(t,e){t.a=e}(t,function(t,e){var n,i,r;return(n=e.Hh(t.a))&&null!=(r=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),"affiliation")))?-1==(i=DL(r,wst(35)))?y8(t,I$(t,i1(e.Hj())),r):0==i?y8(t,null,r.substr(1)):y8(t,r.substr(0,i),r.substr(i+1)):null}(t.g,t.b)),t.a}function zU(t){return t.d==(gW(),wse)&&function(t,e){t.d=e}(t,function(t,e){var n,i,r,a,o,s;if((n=e.Hh(t.a))&&null!=(s=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),bPt))))switch(r=DL(s,wst(35)),i=e.Hj(),-1==r?(o=I$(t,i1(i)),a=s):0==r?(o=null,a=s.substr(1)):(o=s.substr(0,r),a=s.substr(r+1)),Ez(SQ(t,e))){case 2:case 3:return function(t,e,n,i){var r;return(r=Dft(t,e,n,i))||!(r=function(t,e,n){var i,r;return(r=Hft(t.b,e))&&(i=VP(Mmt(CQ(t,r),""),26))?Dft(t,i,e,n):null}(t,n,i))||rvt(t,e,r)?r:null}(t,i,o,a);case 0:case 4:case 5:case 6:return function(t,e,n,i){var r;return(r=Nft(t,e,n,i))||!(r=y8(t,n,i))||rvt(t,e,r)?r:null}(t,i,o,a)}return null}(t.g,t.b)),t.d}function qU(t){return CO(t.a<t.c.c.length),t.b=t.a++,t.c.c[t.b]}function HU(t,e){t.b=t.b|e.b,t.c=t.c|e.c,t.d=t.d|e.d,t.a=t.a|e.a}function ZU(t,e){return O3(function(t,e){return rI(t.l&e.l,t.m&e.m,t.h&e.h)}(eM(t)?K3(t):t,eM(e)?K3(e):e))}function UU(t,e){return O3(function(t,e){return rI(t.l|e.l,t.m|e.m,t.h|e.h)}(eM(t)?K3(t):t,eM(e)?K3(e):e))}function YU(t,e){return O3(function(t,e){return rI(t.l^e.l,t.m^e.m,t.h^e.h)}(eM(t)?K3(t):t,eM(e)?K3(e):e))}function GU(t){return TR(t),MI(t,14)?new uP(VP(t,14)):QP(t.Kc())}function KU(t,e){var n;return n=fQ(e),VP(zR(t.c,n),19).a}function WU(t,e){var n;for(n=t+"";n.length<e;)n="0"+n;return n}function XU(t){return null==t.c||0==t.c.length?"n_"+t.g:"n_"+t.c}function VU(t){return null==t.c||0==t.c.length?"n_"+t.b:"n_"+t.c}function QU(t,e){return t&&t.equals?t.equals(e):iA(t)===iA(e)}function JU(t,e){return 0==e?!!t.o&&0!=t.o.f:cnt(t,e)}function tY(t,e,n){var i;t.n&&e&&n&&(i=new tc,nB(t.e,i))}function eY(t,e,n){var i;i=t.d[e.p],t.d[e.p]=t.d[n.p],t.d[n.p]=i}function nY(t,e,n){this.d=t,this.j=e,this.e=n,this.o=-1,this.p=3}function iY(t,e,n){this.d=t,this.k=e,this.f=n,this.o=-1,this.p=5}function rY(t,e,n){tw.call(this,25),this.b=t,this.a=e,this.c=n}function aY(t){Nkt(),tw.call(this,t),this.c=!1,this.a=!1}function oY(t,e,n,i,r,a){K1.call(this,t,e,n,i,r),a&&(this.o=-2)}function sY(t,e,n,i,r,a){W1.call(this,t,e,n,i,r),a&&(this.o=-2)}function cY(t,e,n,i,r,a){SW.call(this,t,e,n,i,r),a&&(this.o=-2)}function uY(t,e,n,i,r,a){Q1.call(this,t,e,n,i,r),a&&(this.o=-2)}function lY(t,e,n,i,r,a){AW.call(this,t,e,n,i,r),a&&(this.o=-2)}function hY(t,e,n,i,r,a){X1.call(this,t,e,n,i,r),a&&(this.o=-2)}function fY(t,e,n,i,r,a){V1.call(this,t,e,n,i,r),a&&(this.o=-2)}function dY(t,e,n,i,r,a){MW.call(this,t,e,n,i,r),a&&(this.o=-2)}function gY(t,e,n,i){Ub.call(this,n),this.b=t,this.c=e,this.d=i}function pY(t,e){this.a=new iw,this.d=new iw,this.f=t,this.c=e}function bY(){this.c=new hI,this.a=new xH,this.b=new py,R_()}function wY(){q4(),this.b=new rw,this.a=new rw,this.c=new iw}function yY(t,e){this.g=t,this.d=(gW(),wse),this.a=wse,this.b=e}function mY(t,e){this.f=t,this.a=(gW(),bse),this.c=bse,this.b=e}function vY(t,e){!t.c&&(t.c=new n3(t,0)),kmt(t.c,(svt(),Kse),e)}function xY(){xY=I,i6t=new OC("DFS",0),n6t=new OC("BFS",1)}function kY(t,e,n){var i;return!!(i=VP(t.Zb().xc(e),14))&&i.Mc(n)}function _Y(t,e,n,i){return t.a+=""+fO(null==e?s_t:A9(e),n,i),t}function EY(t,e,n,i,r,a){return l3(t,e,n,a),l8(t,i),d8(t,r),t}function TY(t){return CO(t.b.b!=t.d.a),t.c=t.b=t.b.b,--t.a,t.c.c}function CY(t){for(;t.d>0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function SY(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function AY(t){return lF(t.e.Hd().gc()*t.c.Hd().gc(),16,new qh(t))}function MY(t){return VP(Het(t,WX(PUt,xAt,17,t.c.length,0,1)),474)}function IY(t){return VP(Het(t,WX(UUt,kAt,10,t.c.length,0,1)),193)}function LY(t,e,n){TR(t),function(t){var e,n,i;for(Gq(),QM(t.c,t.a),i=new wd(t.c);i.a<i.c.c.length;)for(n=qU(i),e=new wd(t.b);e.a<e.c.c.length;)VP(qU(e),679).Ke(n)}(new tU(new uP(t),e,n))}function OY(t,e,n){TR(t),function(t){var e,n,i;for(Gq(),QM(t.c,t.a),i=new wd(t.c);i.a<i.c.c.length;)for(n=qU(i),e=new wd(t.b);e.a<e.c.c.length;)VP(qU(e),369).Ke(n)}(new eU(new uP(t),e,n))}function DY(t,e){var n;return n=1-e,t.a[n]=a2(t.a[n],n),a2(t,e)}function NY(t,e){var n;t.e=new hm,QM(n=rpt(e),t.c),dpt(t,n,0)}function PY(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,$B(t.a,r)}function BY(t,e,n,i){var r;(r=new ms).a=e,r.b=n,r.c=i,$B(t.b,r)}function FY(t){var e,n;return n=Vbt(e=new wR,t),function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(h=new uz(new Cd(t));h.b!=h.c.a.d;)for(s=VP((l=uV(h)).d,56),e=VP(l.e,56),p=0,v=(null==(o=s.Tg()).i&&lyt(o),o.i).length;p<v;++p)if(null==o.i&&lyt(o),a=o.i,(u=p>=0&&p<a.length?a[p]:null).Ij()&&!u.Jj())if(MI(u,99))0==((c=VP(u,18)).Bb&CNt)&&(!(k=eit(c))||0==(k.Bb&CNt))&&Nyt(t,c,s,e);else if(EE(),VP(u,66).Oj()&&(n=VP((x=u)?VP(e,49).xh(x):null,153)))for(d=VP(s.ah(u),153),i=n.gc(),b=0,g=d.gc();b<g;++b)if(MI(f=d.il(b),99)){if(null==(r=YQ(t,m=d.jl(b)))&&null!=m){if(y=VP(f,18),!t.b||0!=(y.Bb&CNt)||eit(y))continue;r=m}if(!n.dl(f,r))for(w=0;w<i;++w)if(n.il(w)==f&&iA(n.jl(w))===iA(r)){n.ii(n.gc()-1,w),--i;break}}else n.dl(d.il(b),d.jl(b))}(e),n}function $Y(){var t,e;return t=new sw,nB(lse,e=t),e}function jY(t){return t.j.c=WX(G$t,r_t,1,0,5,1),iq(t.c),function(t){t.j.c=WX(G$t,r_t,1,0,5,1),t.a=-1}(t.a),t}function RY(t){return Q_(),MI(t.g,10)?VP(t.g,10):null}function zY(t){return!nq(t).dc()&&(function(t,e){TR(e),nq(t).Jc(new d)}(t,new m),!0)}function qY(t,e){if(t<0||t>=e)throw lw(new qm(function(t,e){if(t<0)return ebt(i_t,P4(Zv(G$t,1),r_t,1,5,["index",p8(t)]));if(e<0)throw lw(new Xm(a_t+e));return ebt("%s (%s) must be less than size (%s)",P4(Zv(G$t,1),r_t,1,5,["index",p8(t),p8(e)]))}(t,e)));return t}function HY(t,e,n){if(t<0||e<t||e>n)throw lw(new qm(function(t,e,n){return t<0||t>n?Gut(t,n,"start index"):e<0||e>n?Gut(e,n,"end index"):ebt("end index (%s) must not be less than start index (%s)",P4(Zv(G$t,1),r_t,1,5,[p8(e),p8(t)]))}(t,e,n)))}function ZY(t,e){if(jj(t.a,e),e.d)throw lw(new Am(UTt));e.d=t}function UY(t,e){if(e.$modCount!=t.$modCount)throw lw(new Bw)}function YY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function GY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function KY(t,e){return!!MI(e,42)&&zit(t.a,VP(e,42))}function WY(t){var e;return eM(t)?-0==(e=t)?0:e:function(t){return wat(t,(DQ(),Ojt))<0?-function(t){return t.l+t.m*UEt+t.h*YEt}(l5(t)):t.l+t.m*UEt+t.h*YEt}(t)}function XY(t){var e;return vz(t),e=new R,Xx(t.a,new jd(e)),e}function VY(t){var e;return vz(t),e=new j,Xx(t.a,new $d(e)),e}function QY(t,e){this.a=t,Wf.call(this,t),iU(e,t.gc()),this.b=e}function JY(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function tG(t){return new wX((b0(t,X_t),SJ(e9(e9(5,t),t/10|0))))}function eG(t){return VP(Het(t,WX(aYt,_At,11,t.c.length,0,1)),1943)}function nG(t,e,n){t.d&&sQ(t.d.e,t),t.d=e,t.d&&JF(t.d.e,n,t)}function iG(t,e){(function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==e.f.b)for(w=new wd(t);w.a<w.c.c.length;)p=VP(qU(w),10),m=n.Math.max(m,p.n.b+p.o.b+p.d.a);else m=e.f.b-e.c.b;for(m-=e.c.b,b=new wd(t);b.a<b.c.c.length;){switch(yw((p=VP(qU(b),10)).n,m-p.o.b),dB(p.f),crt(p),(p.q?p.q:(Gq(),Gq(),CRt))._b((wkt(),E0t))&&yw(VP(Ost(p,E0t),8),m-p.o.b),VP(Ost(p,BJt),248).g){case 3:d5(p,BJt,(Znt(),Z9t));break;case 4:d5(p,BJt,(Znt(),K9t))}for(y=p.o,x=new wd(p.j);x.a<x.c.c.length;){for(yw((v=VP(qU(x),11)).n,y.b-v.o.b),yw(v.a,v.o.b),plt(v,o3(v.j)),(s=VP(Ost(v,y0t),19))&&d5(v,y0t,p8(-s.a)),o=new wd(v.g);o.a<o.c.c.length;){for(r=tnt((a=VP(qU(o),17)).a,0);r.b!=r.d.c;)(i=VP(AG(r),8)).b=m-i.b;if(l=VP(Ost(a,D1t),74))for(u=tnt(l,0);u.b!=u.d.c;)(c=VP(AG(u),8)).b=m-c.b;for(d=new wd(a.b);d.a<d.c.c.length;)yw((h=VP(qU(d),70)).n,m-h.o.b)}for(g=new wd(v.f);g.a<g.c.c.length;)yw((h=VP(qU(g),70)).n,v.o.b-h.o.b)}for(p.k==(gct(),RUt)&&(d5(p,(Lkt(),hXt),o3(VP(Ost(p,hXt),61))),_8(p)),f=new wd(p.b);f.a<f.c.c.length;)crt(h=VP(qU(f),70)),yw(h.n,y.b-h.o.b)}})(e,t),dB(t.d),dB(VP(Ost(t,(wkt(),Y1t)),207))}function rG(t,e){(function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(m=0,0==e.f.a)for(w=new wd(t);w.a<w.c.c.length;)p=VP(qU(w),10),m=n.Math.max(m,p.n.a+p.o.a+p.d.c);else m=e.f.a-e.c.a;for(m-=e.c.a,b=new wd(t);b.a<b.c.c.length;){switch(mw((p=VP(qU(b),10)).n,m-p.o.a),fB(p.f),srt(p),(p.q?p.q:(Gq(),Gq(),CRt))._b((wkt(),E0t))&&mw(VP(Ost(p,E0t),8),m-p.o.a),VP(Ost(p,BJt),248).g){case 1:d5(p,BJt,(Znt(),G9t));break;case 2:d5(p,BJt,(Znt(),Y9t))}for(y=p.o,x=new wd(p.j);x.a<x.c.c.length;){for(mw((v=VP(qU(x),11)).n,y.a-v.o.a),mw(v.a,v.o.a),plt(v,a3(v.j)),(s=VP(Ost(v,y0t),19))&&d5(v,y0t,p8(-s.a)),o=new wd(v.g);o.a<o.c.c.length;){for(r=tnt((a=VP(qU(o),17)).a,0);r.b!=r.d.c;)(i=VP(AG(r),8)).a=m-i.a;if(l=VP(Ost(a,D1t),74))for(u=tnt(l,0);u.b!=u.d.c;)(c=VP(AG(u),8)).a=m-c.a;for(d=new wd(a.b);d.a<d.c.c.length;)mw((h=VP(qU(d),70)).n,m-h.o.a)}for(g=new wd(v.f);g.a<g.c.c.length;)mw((h=VP(qU(g),70)).n,v.o.a-h.o.a)}for(p.k==(gct(),RUt)&&(d5(p,(Lkt(),hXt),a3(VP(Ost(p,hXt),61))),sct(p)),f=new wd(p.b);f.a<f.c.c.length;)srt(h=VP(qU(f),70)),mw(h.n,y.a-h.o.a)}})(e,t),fB(t.d),fB(VP(Ost(t,(wkt(),Y1t)),207))}function aG(t,e){var n,i;return i=null,(n=kZ(t,e))&&(i=n.fe()),i}function oG(t,e){var n,i;return i=null,(n=WQ(t,e))&&(i=n.ie()),i}function sG(t,e){var n,i;return i=null,(n=kZ(t,e))&&(i=n.ie()),i}function cG(t,e){var n,i;return i=null,(n=kZ(t,e))&&(i=uut(n)),i}function uG(t,e,i){var r;r=function(){var t;return 0!=xjt&&(t=Date.now?Date.now():(new Date).getTime())-kjt>2e3&&(kjt=t,_jt=n.setTimeout(Ak,10)),0==xjt++&&(function(t){var e,n;if(t.a){n=null;do{e=t.a,t.a=null,n=tut(e,n)}while(t.a);t.a=n}}((wv(),wjt)),!0)}();try{return function(t,e,n){return t.apply(e,n)}(t,e,i)}finally{!function(t){t&&function(t){var e,n;if(t.b){n=null;do{e=t.b,t.b=null,n=tut(e,n)}while(t.b);t.b=n}}((wv(),wjt)),--xjt,t&&-1!=_jt&&(function(t){n.clearTimeout(t)}(_jt),_jt=-1)}(r)}}function lG(t){var e;e=t.Wg(),this.a=MI(e,69)?VP(e,69).Zh():e.Kc()}function hG(){lm.call(this),this.j.c=WX(G$t,r_t,1,0,5,1),this.a=-1}function fG(t,e,n,i){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1}function dG(t,e,n,i){this.e=i,this.d=null,this.c=t,this.a=e,this.b=n}function gG(t,e,n){this.d=new up(this),this.e=t,this.i=e,this.f=n}function pG(){pG=I,YWt=new tC(yCt,0),GWt=new tC("TOP_LEFT",1)}function bG(){bG=I,j3t=Fz(p8(1),p8(4)),$3t=Fz(p8(1),p8(2))}function wG(){wG=I,d8t=U6((nE(),P4(Zv(b8t,1),K_t,551,0,[h8t])))}function yG(){yG=I,l8t=U6((eE(),P4(Zv(f8t,1),K_t,482,0,[c8t])))}function mG(){mG=I,s9t=U6((iE(),P4(Zv(l9t,1),K_t,530,0,[a9t])))}function vG(){vG=I,xHt=U6((z_(),P4(Zv(qHt,1),K_t,481,0,[mHt])))}function xG(t,e,n,i){return MI(n,54)?new MO(t,e,n,i):new D$(t,e,n,i)}function kG(t,e){return VP(HL(X$(VP(jW(t.k,e),15).Oc(),hKt)),113)}function _G(t,e){return VP(HL(V$(VP(jW(t.k,e),15).Oc(),hKt)),113)}function EG(t){return new NU(function(t,e){var n,i;for(Gq(),i=new iw,n=0;n<t;++n)i.c[i.c.length]=e;return new Pv(i)}(VP(t.a.dd(),14).gc(),t.a.cd()),16)}function TG(t){return MI(t,14)?VP(t,14).dc():!t.Kc().Ob()}function CG(t){return Q_(),MI(t.g,145)?VP(t.g,145):null}function SG(t){if(t.e.g!=t.b)throw lw(new Bw);return!!t.c&&t.d>0}function AG(t){return CO(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function MG(t,e){yz(e),BR(t.a,t.c,e),t.c=t.c+1&t.a.length-1,mrt(t)}function IG(t,e){yz(e),t.b=t.b-1&t.a.length-1,BR(t.a,t.b,e),mrt(t)}function LG(t,e){var n;for(n=t.j.c.length;n<e;n++)nB(t.j,t.rg())}function OG(t,e,n,i){var r;return r=i[e.g][n.g],ev(hD(Ost(t.a,r)))}function DG(t,e,n,i,r){this.i=t,this.a=e,this.e=n,this.j=i,this.f=r}function NG(t,e,n,i,r){this.a=t,this.e=e,this.f=n,this.b=i,this.g=r}function PG(t,e,n){return e<0?Ylt(t,n):VP(n,66).Nj().Sj(t,t.yh(),e)}function BG(t,e,n){var i;return i=iet(n),Sbt(t.j,i,e),Pz(t.k,e,n),e}function FG(t){var e;return Px(),e=new rc,t&&Sdt(e,t),e}function $G(t){var e;return e=t.ri(t.i),t.i>0&&lmt(t.g,0,e,0,t.i),e}function jG(t,e){var n;return TE(),!(n=VP(zR(Nae,t),55))||n.wj(e)}function RG(t){var e;for(e=0;t.Ob();)t.Pb(),e=e9(e,1);return SJ(e)}function zG(t,e){var n;return n=new Ov,t.xd(n),n.a+="..",e.yd(n),n.a}function qG(t,e,n){return fyt(t,e,n,MI(e,99)&&0!=(VP(e,18).Bb&iTt))}function HG(t,e,n){return function(t,e,n,i){var r,a,o,s,c,u;if(s=new bc,c=bgt(t.e.Tg(),e),r=VP(t.g,119),EE(),VP(e,66).Oj())for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&hV(s,a);else for(o=0;o<t.i;++o)a=r[o],c.rl(a.ak())&&(u=a.dd(),hV(s,i?Zlt(t,e,o,s.i,u):u));return dtt(s,n)}(t,e,n,MI(e,99)&&0!=(VP(e,18).Bb&iTt))}function ZG(t,e){return t==(gct(),HUt)&&e==HUt?4:t==HUt||e==HUt?8:32}function UG(t,e){return iA(e)===iA(t)?"(this Map)":null==e?s_t:A9(e)}function YG(t,e,n){var i;return i=iet(n),Pz(t.b,i,e),Pz(t.c,e,n),e}function GG(t,e){var n;for(n=e;n;)OO(t,n.i,n.j),n=AZ(n);return t}function KG(t,e){var n;return n=fH(QP(new gQ(t,e))),yF(new gQ(t,e)),n}function WG(t,e){var n;return EE(),function(t,e){var n;if(null!=e&&!t.c.Yj().wj(e))throw n=MI(e,56)?VP(e,56).Tg().zb:Nx(W5(e)),lw(new Wm(vNt+t.c.ne()+"'s type '"+t.c.Yj().ne()+"' does not permit a value of type '"+n+"'"))}(n=VP(t,66).Mj(),e),n.Ok(e)}function XG(t,e,n,i,r){nB(e,function(t,e){for(t.r=new o4(t.p),function(t,e){t.r=e}(t.r,t),M2(t.r.j,t.j),zq(t.j),$B(t.j,e),$B(t.r.e,e),fR(t),fR(t.r);0!=t.f.c.length;)wI(VP(EF(t.f,0),129));for(;0!=t.k.c.length;)wI(VP(EF(t.k,0),129));return t.r}(r,function(t,e,n){var i,r,a,o,s,c;for(a=-1,s=-1,o=0;o<e.c.length&&(OU(o,e.c.length),!((r=VP(e.c[o],329)).c>t.c));o++)r.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=function(t){return(t.c+t.a)/2}((OU(i=function(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;if(a=n,n<i)for(d=new o4(t.p),g=new o4(t.p),M2(d.e,t.e),d.q=t.q,d.r=g,fR(d),M2(g.j,t.j),g.r=d,fR(g),h=VP((f=new mS(d,g)).a,112),l=VP(f.b,112),OU(a,e.c.length),o=bpt(t,h,l,r=VP(e.c[a],329)),u=n+1;u<=i;u++)OU(u,e.c.length),Int(s=VP(e.c[u],329),c=bpt(t,h,l,s),r,o)&&(r=s,o=c);return a}(t,e,a,s),e.c.length),VP(e.c[i],329))),function(t,e,n){var i,r,a,o,s,c;OU(e,t.c.length),s=VP(t.c[e],329),$W(t,e),s.b/2>=n&&(i=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&JF(t,i++,new DP(s.c,a)),(o=c+n)<=s.a&&(r=new DP(o,s.a),iU(i,t.c.length),ZE(t.c,i,r)))}(e,i,n)),c}(r,n,i))),function(t,e,n){var i,r,a,o;for(a=e.q,o=e.r,new gU((iX(),j4t),e,a,1),new gU(j4t,a,o,1),r=new wd(n);r.a<r.c.c.length;)(i=VP(qU(r),112))!=a&&i!=e&&i!=o&&(wmt(t.a,i,e),wmt(t.a,i,o))}(t,r,e)}function VG(t,e,n){t.i=0,t.e=0,e!=n&&(H5(t,e,n),q5(t,e,n))}function QG(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+TEt),Myt(t,n)}function JG(t,e,n){if(n){var i=n.ee();n=i(n)}else n=void 0;t.a[e]=n}function tK(t){if(t<0)throw lw(new Qm("Negative array size: "+t))}function eK(t){return t.n||(dW(t),t.n=new _$(t,loe,t),AH(t)),t.n}function nK(t){return CO(t.a<t.c.a.length),t.b=t.a,aJ(t),t.c.b[t.b]}function iK(t){t.b!=t.c&&(t.a=WX(G$t,r_t,1,8,5,1),t.b=0,t.c=0)}function rK(t){this.b=new rw,this.c=new rw,this.d=new rw,this.a=t}function aK(t,e){Nkt(),tw.call(this,t),this.a=e,this.c=-1,this.b=-1}function oK(t,e,n,i){nY.call(this,1,n,i),this.c=t,this.b=e}function sK(t,e,n,i){iY.call(this,1,n,i),this.c=t,this.b=e}function cK(t,e,n,i,r,a,o){_0.call(this,e,i,r,a,o),this.c=t,this.a=n}function uK(t,e,n){this.e=t,this.a=G$t,this.b=tbt(e),this.c=e,this.d=n}function lK(t){this.e=t,this.c=this.e.a,this.b=this.e.g,this.d=this.e.i}function hK(t){this.c=t,this.a=VP(fat(t),148),this.b=this.a.Aj().Nh()}function fK(t){this.d=t,this.b=this.d.a.entries(),this.a=this.b.next()}function dK(){rw.call(this),kO(this),this.d.b=this.d,this.d.a=this.d}function gK(t,e){sN.call(this),this.a=t,this.b=e,nB(this.a.b,this)}function pK(t,e){return pA(null!=e?oZ(t,e):nA(BH(t.f,e)))}function bK(t,e){return pA(null!=e?oZ(t,e):nA(BH(t.f,e)))}function wK(t,e){var n;for(n=0;n<e;++n)BR(t,n,new pd(VP(t[n],42)))}function yK(t,e){var n;return L6(),0!=(n=t.j.g-e.j.g)?n:0}function mK(t,e){return yz(e),null!=t.a?function(t){return null==t?zRt:new Lm(yz(t))}(e.Kb(t.a)):zRt}function vK(t){var e;return t?new kF(t):(O2(e=new cM,t),e)}function xK(t,e){return e.b.Kb(hQ(t,e.c.Ee(),new Hd(e)))}function kK(t){Vot(),OI(this,KF(ZU(U$(t,24),TTt)),KF(ZU(t,TTt)))}function _K(){_K=I,Ozt=U6((ent(),P4(Zv(Pzt,1),K_t,428,0,[Izt,Mzt])))}function EK(){EK=I,Bzt=U6((uJ(),P4(Zv(Jzt,1),K_t,427,0,[Dzt,Nzt])))}function TK(){TK=I,tZt=U6((lJ(),P4(Zv(GZt,1),K_t,424,0,[VHt,QHt])))}function CK(){CK=I,oYt=U6((b2(),P4(Zv(uYt,1),K_t,511,0,[rYt,iYt])))}function SK(){SK=I,ZKt=U6((hJ(),P4(Zv(KKt,1),K_t,419,0,[zKt,qKt])))}function AK(){AK=I,sWt=U6((aQ(),P4(Zv(gWt,1),K_t,479,0,[aWt,rWt])))}function MK(){MK=I,b3t=U6((rX(),P4(Zv(v3t,1),K_t,376,0,[g3t,d3t])))}function IK(){IK=I,n3t=U6((OQ(),P4(Zv(o3t,1),K_t,421,0,[J2t,t3t])))}function LK(){LK=I,_Kt=U6((oV(),P4(Zv(SKt,1),K_t,422,0,[vKt,xKt])))}function OK(){OK=I,WWt=U6((pG(),P4(Zv(aVt,1),K_t,420,0,[YWt,GWt])))}function DK(){DK=I,q4t=U6((iX(),P4(Zv(X4t,1),K_t,520,0,[R4t,j4t])))}function NK(){NK=I,a4t=U6((ZK(),P4(Zv(l4t,1),K_t,523,0,[i4t,n4t])))}function PK(){PK=I,y4t=U6((QH(),P4(Zv(x4t,1),K_t,516,0,[b4t,p4t])))}function BK(){BK=I,k4t=U6((FZ(),P4(Zv(z4t,1),K_t,515,0,[m4t,v4t])))}function FK(){FK=I,V4t=U6((VH(),P4(Zv(n5t,1),K_t,455,0,[K4t,W4t])))}function $K(){$K=I,a6t=U6((xY(),P4(Zv(d6t,1),K_t,425,0,[i6t,n6t])))}function jK(){jK=I,g6t=U6((w2(),P4(Zv(y6t,1),K_t,495,0,[h6t,f6t])))}function RK(){RK=I,e6t=U6(($Z(),P4(Zv(r6t,1),K_t,480,0,[Q5t,J5t])))}function zK(){zK=I,_6t=U6((MV(),P4(Zv(S6t,1),K_t,426,0,[v6t,x6t])))}function qK(){qK=I,h9t=U6((z4(),P4(Zv(f9t,1),K_t,429,0,[u9t,c9t])))}function HK(){HK=I,w8t=U6((aX(),P4(Zv(_8t,1),K_t,430,0,[p8t,g8t])))}function ZK(){ZK=I,i4t=new bC("UPPER",0),n4t=new bC("LOWER",1)}function UK(t,e){var n,i;for(n=e,i=0;n>0;)i+=t.a[n],n-=n&-n;return i}function YK(t,e){var n;for(n=e;n;)OO(t,-n.i,-n.j),n=AZ(n);return t}function GK(t,e){var n,i;for(yz(e),i=t.Kc();i.Ob();)n=i.Pb(),e.td(n)}function KK(t,e){var n;return new Kk(n=e.cd(),t.e.pc(n,VP(e.dd(),14)))}function WK(t,e,n,i){var r;(r=new O).c=e,r.b=n,r.a=i,i.b=n.a=r,++t.b}function XK(t,e,n){var i;return OU(e,t.c.length),i=t.c[e],t.c[e]=n,i}function VK(t){return t.c&&t.d?VU(t.c)+"->"+VU(t.d):"e_"+jL(t)}function QK(t,e){return(K8(t),nk(new CF(t,new jV(e,t.a)))).sd(bzt)}function JK(t){return!(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function tW(t){if(!t.c.Sb())throw lw(new $w);return t.a=!0,t.c.Ub()}function eW(t){t.i=0,HE(t.b,null),HE(t.c,null),t.a=null,t.e=null,++t.g}function nW(t){$E.call(this,null==t?s_t:A9(t),MI(t,78)?VP(t,78):null)}function iW(t){Tkt(),uw(this),this.a=new T_,o6(this,t),$B(this.a,t)}function rW(){LM(this),this.b=new XC(JEt,JEt),this.a=new XC(tTt,tTt)}function aW(t,e){this.c=0,this.b=e,CA.call(this,t,17493),this.a=this.c}function oW(t){sW(),hzt||(this.c=t,this.e=!0,this.a=new iw)}function sW(){sW=I,hzt=!0,uzt=!1,lzt=!1,dzt=!1,fzt=!1}function cW(t,e){return!!MI(e,149)&&jN(t.c,VP(e,149).c)}function uW(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function lW(t,e){return VP(YQ(t.d,e),23)||VP(YQ(t.e,e),23)}function hW(t){this.b=t,YI.call(this,t),this.a=VP(q3(this.b.a,4),126)}function fW(t){this.b=t,sO.call(this,t),this.a=VP(q3(this.b.a,4),126)}function dW(t){return t.t||(t.t=new $b(t),v8(new Ym(t),0,t.t)),t.t}function gW(){var t,e;gW=I,Fx(),e=new zw,bse=e,t=new Hy,wse=t}function pW(t){var e;return t.c||MI(e=t.r,88)&&(t.c=VP(e,26)),t.c}function bW(t){return rI(t&qEt,t>>22&qEt,t<0?HEt:0)}function wW(t,e){var n,i;(n=VP(function(t,e){TR(t);try{return t.Bc(e)}catch(t){if(MI(t=k4(t),205)||MI(t,173))return null;throw lw(t)}}(t.c,e),14))&&(i=n.gc(),n.$b(),t.d-=i)}function yW(t,e){var n;return!!(n=a6(t,e.cd()))&&Hz(n.e,e.dd())}function mW(t,e){return 0==e||0==t.e?t:e>0?Ntt(t,e):Lgt(t,-e)}function vW(t,e){return 0==e||0==t.e?t:e>0?Lgt(t,e):Ntt(t,-e)}function xW(t){if(Xht(t))return t.c=t.a,t.a.Pb();throw lw(new $w)}function kW(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(gct(),RUt)&&n.k==RUt}function _W(t){var e;return c4(e=new kH,t),d5(e,(wkt(),D1t),null),e}function EW(t,e,n){var i;return(i=t.Yg(e))>=0?t._g(i,n,!0):nht(t,e,n)}function TW(t,e,n,i){var r;for(r=0;r<gqt;r++)m$(t.a[e.g][r],n,i[e.g])}function CW(t,e,n,i){var r;for(r=0;r<pqt;r++)y$(t.a[r][e.g],n,i[e.g])}function SW(t,e,n,i,r){nY.call(this,e,i,r),this.c=t,this.a=n}function AW(t,e,n,i,r){iY.call(this,e,i,r),this.c=t,this.a=n}function MW(t,e,n,i,r){OW.call(this,e,i,r),this.c=t,this.a=n}function IW(t,e,n,i,r){OW.call(this,e,i,r),this.c=t,this.b=n}function LW(t,e,n){Ub.call(this,n),this.b=t,this.c=e,this.d=(ctt(),ose)}function OW(t,e,n){this.d=t,this.k=e?1:0,this.f=n?1:0,this.o=-1,this.p=0}function DW(t,e,n){var i;i3(i=new vI(t.a),t.a.a),Qut(i.f,e,n),t.a.a=i}function NW(t,e){t.qi(t.i+1),jI(t,t.i,t.oi(t.i,e)),t.bi(t.i++,e),t.ci()}function PW(t){var e,n;++t.j,e=t.g,n=t.i,t.g=null,t.i=0,t.di(n,e),t.ci()}function BW(t){var e;return TR(t),D5(e=new wX(function(t){return b0(t,X_t),SJ(e9(e9(5,t),t/10|0))}(t.length)),t),e}function FW(t){var e;return TR(t),Fut(e=t?new uP(t):QP(t.Kc())),O7(e)}function $W(t,e){var n;return OU(e,t.c.length),n=t.c[e],sk(t.c,e,1),n}function jW(t,e){var n;return!(n=VP(t.c.xc(e),14))&&(n=t.ic(e)),t.pc(e,n)}function RW(t,e){var n,i;return yz(t),n=t,yz(e),n==(i=e)?0:n<i?-1:1}function zW(t){var e;return e=t.e+t.f,isNaN(e)&&nP(t.d)?t.d:e}function qW(t,e){return t.a?vA(t.a,t.b):t.a=new CL(t.d),yA(t.a,e),t}function HW(t,e){if(t<0||t>e)throw lw(new qm(Gut(t,e,"index")));return t}function ZW(t,e,n,i){var r;return function(t,e,n,i,r){var a,o;for(a=0,o=0;o<r;o++)a=e9(a,t9(ZU(e[o],cTt),ZU(i[o],cTt))),t[o]=KF(a),a=U$(a,32);for(;o<n;o++)a=e9(a,ZU(e[o],cTt)),t[o]=KF(a),a=U$(a,32)}(r=WX(Kce,CEt,25,e,15,1),t,e,n,i),r}function UW(t,e){return oA(e)?null==e?Vht(t.f,null):u4(t.g,e):Vht(t.f,e)}function YW(t){this.c=t,this.a=new wd(this.c.a),this.b=new wd(this.c.b)}function GW(){this.e=new iw,this.c=new iw,this.d=new iw,this.b=new iw}function KW(){this.g=new ty,this.b=new ty,this.a=new iw,this.k=new iw}function WW(t,e,n){this.a=t,this.c=e,this.d=n,nB(e.e,this),nB(n.b,this)}function XW(t,e){TA.call(this,e.rd(),-6&e.qd()),yz(t),this.a=t,this.b=e}function VW(t,e){CA.call(this,e.rd(),-6&e.qd()),yz(t),this.a=t,this.b=e}function QW(t,e){SA.call(this,e.rd(),-6&e.qd()),yz(t),this.a=t,this.b=e}function JW(t,e,n){this.a=t,this.b=e,this.c=n,nB(t.t,this),nB(e.i,this)}function tX(){this.b=new T_,this.a=new T_,this.b=new T_,this.a=new T_}function eX(){eX=I,j9t=new Ib("org.eclipse.elk.labels.labelManager")}function nX(){nX=I,wGt=new jD("separateLayerConnections",(F4(),xGt))}function iX(){iX=I,R4t=new TC("REGULAR",0),j4t=new TC("CRITICAL",1)}function rX(){rX=I,g3t=new hC("STACKED",0),d3t=new hC("SEQUENCED",1)}function aX(){aX=I,p8t=new qC("FIXED",0),g8t=new qC("CENTER_NODE",1)}function oX(t,e){var n;return n=function(t,e){var n,i,r,a,o,s,c,u,l,h;for(l=new iw,h=new nw,a=null,r=0,i=0;i<e.length;++i)switch(_6(a,n=e[i])&&(r=jtt(t,h,l,J3t,r)),IO(n,(Lkt(),mXt))&&(a=VP(Ost(n,mXt),10)),n.k.g){case 0:for(c=PM(XP(i9(n,(Mxt(),Eie)),new Pa));G0(c);)o=VP(dQ(c),11),t.d[o.p]=r++,l.c[l.c.length]=o;for(r=jtt(t,h,l,J3t,r),u=PM(XP(i9(n,zie),new Pa));G0(u);)o=VP(dQ(u),11),t.d[o.p]=r++,l.c[l.c.length]=o;break;case 3:i9(n,Q3t).dc()||(o=VP(i9(n,Q3t).Xb(0),11),t.d[o.p]=r++,l.c[l.c.length]=o),i9(n,J3t).dc()||IG(h,n);break;case 1:for(s=i9(n,(Mxt(),Hie)).Kc();s.Ob();)o=VP(s.Pb(),11),t.d[o.p]=r++,l.c[l.c.length]=o;i9(n,_ie).Jc(new wC(h,n))}return jtt(t,h,l,J3t,r),l}(t,e),t.b=new u2(n.c.length),function(t,e){var n,i,r,a,o,s,c;for(n=0,c=new iw,a=new wd(e);a.a<a.c.c.length;){switch(r=VP(qU(a),11),F6(t.b,t.d[r.p]),c.c=WX(G$t,r_t,1,0,5,1),r.i.k.g){case 0:KJ(VP(Ost(r,(Lkt(),$Xt)),10).j,new kp(c));break;case 1:aI(Z5(lq(new CF(null,new NU(r.i.j,16)),new _p(r))),new Ep(c));break;case 3:nB(c,new mS(VP(Ost(r,(Lkt(),IXt)),11),p8(r.e.c.length+r.g.c.length)))}for(s=new wd(c);s.a<s.c.c.length;)o=VP(qU(s),46),(i=ak(t,VP(o.a,11)))>t.d[r.p]&&(n+=UK(t.b,i)*VP(o.b,19).a,IG(t.a,p8(i)));for(;!rv(t.a);)nJ(t.b,VP(Oj(t.a),19).a)}return n}(t,n)}function sX(t){var e;return t.a||MI(e=t.r,148)&&(t.a=VP(e,148)),t.a}function cX(t){return t.a?t.e?cX(t.e):null:t}function uX(t,e){return yz(e),t.c<t.d&&(t.ze(e,t.c++),!0)}function lX(t,e){return!!Sj(t.a,e)&&(UW(t.a,e),!0)}function hX(t){var e;for(vz(t),e=0;t.a.sd(new lt);)e=e9(e,1);return e}function fX(t,e,n){var i,r;for(i=0,r=0;r<e.length;r++)i+=t.$f(e[r],i,n)}function dX(t,e,n){return qY(e,t.e.Hd().gc()),qY(n,t.c.Hd().gc()),t.a[e][n]}function gX(t,e){gpt(),this.e=t,this.d=1,this.a=P4(Zv(Kce,1),CEt,25,15,[e])}function pX(t,e,n,i){this.f=t,this.e=e,this.d=n,this.b=i,this.c=i?i.d:null}function bX(t){var e,n,i,r;r=t.d,e=t.a,n=t.b,i=t.c,t.d=n,t.a=i,t.b=r,t.c=e}function wX(t){LM(this),kB(t>=0,"Initial capacity must not be negative")}function yX(){yX=I,uqt=U6((QJ(),P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])))}function mX(){mX=I,bqt=U6((zV(),P4(Zv(wqt,1),K_t,461,0,[fqt,hqt,dqt])))}function vX(){vX=I,kqt=U6((IQ(),P4(Zv(Uqt,1),K_t,462,0,[vqt,mqt,yqt])))}function xX(){xX=I,gzt=U6((M6(),P4(Zv(pzt,1),K_t,132,0,[ozt,szt,czt])))}function kX(){kX=I,KZt=U6((MQ(),P4(Zv(iUt,1),K_t,379,0,[UZt,ZZt,YZt])))}function _X(){_X=I,LUt=U6((n8(),P4(Zv(NUt,1),K_t,423,0,[MUt,AUt,SUt])))}function EX(){EX=I,AKt=U6((I0(),P4(Zv(OKt,1),K_t,314,0,[TKt,EKt,CKt])))}function TX(){TX=I,DKt=U6((h0(),P4(Zv(jKt,1),K_t,337,0,[MKt,LKt,IKt])))}function CX(){CX=I,WKt=U6((i5(),P4(Zv(nWt,1),K_t,450,0,[YKt,UKt,GKt])))}function SX(){SX=I,tKt=U6((y2(),P4(Zv(uKt,1),K_t,361,0,[QGt,VGt,XGt])))}function AX(){AX=I,UWt=U6((LQ(),P4(Zv(KWt,1),K_t,303,0,[qWt,HWt,zWt])))}function MX(){MX=I,RWt=U6((r4(),P4(Zv(ZWt,1),K_t,292,0,[FWt,$Wt,BWt])))}function IX(){IX=I,E2t=U6((i7(),P4(Zv(M2t,1),K_t,378,0,[v2t,x2t,k2t])))}function LX(){LX=I,f3t=U6((p3(),P4(Zv(p3t,1),K_t,375,0,[c3t,u3t,l3t])))}function OX(){OX=I,Q2t=U6((x5(),P4(Zv(e3t,1),K_t,339,0,[W2t,K2t,X2t])))}function DX(){DX=I,s3t=U6((l0(),P4(Zv(h3t,1),K_t,452,0,[a3t,i3t,r3t])))}function NX(){NX=I,L3t=U6((R4(),P4(Zv(z3t,1),K_t,377,0,[A3t,M3t,S3t])))}function PX(){PX=I,x3t=U6((O6(),P4(Zv(T3t,1),K_t,336,0,[w3t,y3t,m3t])))}function BX(){BX=I,C3t=U6((W2(),P4(Zv(I3t,1),K_t,338,0,[E3t,k3t,_3t])))}function FX(){FX=I,W3t=U6((f0(),P4(Zv(X3t,1),K_t,454,0,[U3t,Y3t,G3t])))}function $X(){$X=I,m6t=U6((m9(),P4(Zv(k6t,1),K_t,442,0,[w6t,p6t,b6t])))}function jX(){jX=I,A6t=U6((A6(),P4(Zv(a7t,1),K_t,380,0,[E6t,T6t,C6t])))}function RX(){RX=I,w7t=U6((w9(),P4(Zv(W7t,1),K_t,381,0,[g7t,p7t,d7t])))}function zX(){zX=I,h7t=U6((g3(),P4(Zv(f7t,1),K_t,293,0,[c7t,u7t,s7t])))}function qX(){qX=I,s8t=U6((y9(),P4(Zv(u8t,1),K_t,437,0,[i8t,r8t,a8t])))}function HX(){HX=I,Bne=U6((I7(),P4(Zv(zne,1),K_t,334,0,[Dne,One,Nne])))}function ZX(){ZX=I,lne=U6((JJ(),P4(Zv(pne,1),K_t,272,0,[one,sne,cne])))}function UX(t,e){return!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),mtt(t.o,e)}function YX(t){return!t.g&&(t.g=new uc),!t.g.c&&(t.g.c=new Fb(t)),t.g.c}function GX(t,e,n){var i,r;if(null!=n)for(i=0;i<e;++i)r=n[i],t.fi(i,r)}function KX(t,e,n,i){var r;return function(t,e,n,i,r){var a,o;if(a=e9(ZU(e[0],cTt),ZU(i[0],cTt)),t[0]=KF(a),a=U$(a,32),n>=r){for(o=1;o<r;o++)a=e9(a,e9(ZU(e[o],cTt),ZU(i[o],cTt))),t[o]=KF(a),a=U$(a,32);for(;o<n;o++)a=e9(a,ZU(e[o],cTt)),t[o]=KF(a),a=U$(a,32)}else{for(o=1;o<n;o++)a=e9(a,e9(ZU(e[o],cTt),ZU(i[o],cTt))),t[o]=KF(a),a=U$(a,32);for(;o<r;o++)a=e9(a,ZU(i[o],cTt)),t[o]=KF(a),a=U$(a,32)}0!=x7(a,0)&&(t[o]=KF(a))}(r=WX(Kce,CEt,25,e+1,15,1),t,e,n,i),r}function WX(t,e,n,i,r,a){var o;return o=trt(r,i),10!=r&&P4(Zv(t,a),e,n,r,o),o}function XX(t,e,n){VP(t.b,65),VP(t.b,65),VP(t.b,65),KJ(t.a,new _P(n,e,t))}function VX(t,e,n){if(t<0||e>n||e<t)throw lw(new Dv(PTt+t+FTt+e+CTt+n))}function QX(t){if(!t)throw lw(new Vm("Unable to add element to queue"))}function JX(t){t?(this.c=t,this.b=null):(this.c=null,this.b=new iw)}function tV(t,e){UE.call(this,t,e),this.a=WX(JRt,F_t,436,2,0,1),this.b=!0}function eV(t){a5.call(this,t,0),kO(this),this.d.b=this.d,this.d.a=this.d}function nV(t){var e;return 0==(e=t.b).b?null:VP(knt(e,0),188).b}function iV(t,e){var n;return(n=new H).c=!0,n.d=e.dd(),zvt(t,e.cd(),n)}function rV(t,e,n){var i;(i=t.b[n.c.p][n.p]).b+=e.b,i.c+=e.c,i.a+=e.a,++i.a}function aV(t,e){var i,r;return i=t.a-e.a,r=t.b-e.b,n.Math.sqrt(i*i+r*r)}function oV(){oV=I,vKt=new zT("QUADRATIC",0),xKt=new zT("SCANLINE",1)}function sV(){sV=I,N3t=v$(cF(new hG,(Dst(),QZt),(Dkt(),BYt)),nUt,rGt)}function cV(t){TO(!!t.c),UY(t.e,t),t.c.Qb(),t.c=null,t.b=T4(t),eD(t.e,t)}function uV(t){return UY(t.c.a.e,t),CO(t.b!=t.c.a.d),t.a=t.b,t.b=t.b.a,t.a}function lV(t){var e;return t.a||-1==t.b||(e=t.c.Tg(),t.a=MJ(e,t.b)),t.a}function hV(t,e){return!(t.hi()&&t.Hc(e)||(t.Yh(e),0))}function fV(t,e){return PH(e,"Horizontal alignment cannot be null"),t.b=e,t}function dV(t,e,n){var i;return Nkt(),i=Uxt(t,e),n&&i&&function(t){return!!zce&&lH(zce,t)}(t)&&(i=null),i}function gV(t,e,n){var i;for(i=t.Kc();i.Ob();)gbt(VP(i.Pb(),37),e,n)}function pV(t,e){var n;for(n=e.Kc();n.Ob();)Fbt(t,VP(n.Pb(),37),0,0)}function bV(t,e,i){var r;t.d[e.g]=i,(r=t.g.c)[e.g]=n.Math.max(r[e.g],i+1)}function wV(t,e){var n,i,r;return r=t.r,i=t.d,(n=umt(t,e,!0)).b!=r||n.a!=i}function yV(t,e){return PE(t.e,e)||Uet(t.e,e,new Xet(e)),VP(YQ(t.e,e),113)}function mV(t,e,n,i){return yz(t),yz(e),yz(n),yz(i),new Fj(t,e,new Z)}function vV(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=new bj(this,e,n,i)}function xV(t,e,n,i,r,a){fG.call(this,e,i,r,a),this.c=t,this.b=n}function kV(t,e,n,i,r,a){fG.call(this,e,i,r,a),this.c=t,this.a=n}function _V(t,e,n){var i;return(i=Hft(t.b,e))?Mmt(CQ(t,i),n):null}function EV(t,e){var n;return(n=t.Yg(e))>=0?t._g(n,!0,!0):nht(t,e,!0)}function TV(){TV=I,s6t=det(det(dE(new hG,(jrt(),J4t)),(xut(),h5t)),s5t)}function CV(t){for(;!t.a;)if(!qN(t.c,new Rd(t)))return!1;return!0}function SV(t){return TR(t),MI(t,198)?VP(t,198):new of(t)}function AV(){AV=I,b9t=new gs,y9t=new ps,w9t=function(t,e,n,i){return $z(),new _m(P4(Zv(rjt,1),F_t,42,0,[(wit(t,e),new Kk(t,e)),(wit(n,i),new Kk(n,i))]))}((Ikt(),Tee),b9t,ree,y9t)}function MV(){MV=I,v6t=new PC("LEAF_NUMBER",0),x6t=new PC("NODE_SIZE",1)}function IV(t){t.a=WX(Kce,CEt,25,t.b+1,15,1),t.c=WX(Kce,CEt,25,t.b,15,1),t.d=0}function LV(t,e){if(null==t.g||e>=t.i)throw lw(new zA(e,t.i));return t.g[e]}function OV(t,e,n){if(x6(t,n),null!=n&&!t.wj(n))throw lw(new Iw);return n}function DV(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)a1(t,e);return $G(t)}function NV(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function PV(t,e){var n;return tK(e),(n=oQ(t.slice(0,e),t)).length=e,n}function BV(t,e,n,i){Kq(),i=i||MRt,Kut(t.slice(e,n),t,e,n,-e,i)}function FV(t,e,n,i,r){return e<0?nht(t,n,i):VP(n,66).Nj().Pj(t,t.yh(),e,i,r)}function $V(t,e){if(e.a)throw lw(new Am(UTt));jj(t.a,e),e.a=t,!t.j&&(t.j=e)}function jV(t,e){SA.call(this,e.rd(),-16449&e.qd()),yz(t),this.a=t,this.c=e}function RV(t,e){var n,i;return i=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),dX(t,i,n)}function zV(){zV=I,fqt=new cT(xCt,0),hqt=new cT(yCt,1),dqt=new cT(kCt,2)}function qV(){qV=I,WRt=new jE("All",0),XRt=new MM,VRt=new lI,QRt=new IM}function HV(){HV=I,tzt=U6((qV(),P4(Zv(ezt,1),K_t,297,0,[WRt,XRt,VRt,QRt])))}function ZV(){ZV=I,mUt=U6((j4(),P4(Zv(IUt,1),K_t,405,0,[gUt,wUt,pUt,bUt])))}function UV(){UV=I,tHt=U6((n4(),P4(Zv(aHt,1),K_t,406,0,[Qqt,Wqt,Xqt,Vqt])))}function YV(){YV=I,oHt=U6((Snt(),P4(Zv(sHt,1),K_t,323,0,[nHt,eHt,iHt,rHt])))}function GV(){GV=I,yHt=U6((Ant(),P4(Zv(vHt,1),K_t,394,0,[gHt,dHt,pHt,bHt])))}function KV(){KV=I,i5t=U6((jrt(),P4(Zv(r5t,1),K_t,393,0,[Q4t,J4t,t5t,e5t])))}function WV(){WV=I,_Gt=U6((F4(),P4(Zv(OGt,1),K_t,360,0,[xGt,mGt,vGt,yGt])))}function XV(){XV=I,o7t=U6((Hit(),P4(Zv(l7t,1),K_t,340,0,[r7t,n7t,i7t,e7t])))}function VV(){VV=I,$Gt=U6(($4(),P4(Zv(ZGt,1),K_t,411,0,[DGt,NGt,PGt,BGt])))}function QV(){QV=I,I2t=U6((Hnt(),P4(Zv(B2t,1),K_t,197,0,[S2t,A2t,C2t,T2t])))}function JV(){JV=I,Cre=U6((S6(),P4(Zv(Mre,1),K_t,396,0,[kre,_re,xre,Ere])))}function tQ(){tQ=I,qne=U6((zrt(),P4(Zv(Qne,1),K_t,285,0,[Rne,Fne,$ne,jne])))}function eQ(){eQ=I,bne=U6((b9(),P4(Zv(_ne,1),K_t,218,0,[gne,fne,hne,dne])))}function nQ(){nQ=I,mre=U6((stt(),P4(Zv(vre,1),K_t,311,0,[wre,gre,bre,pre])))}function iQ(){iQ=I,nre=U6((Ltt(),P4(Zv(fre,1),K_t,374,0,[Jie,tre,Qie,Vie])))}function rQ(){rQ=I,Jyt(),ice=JEt,nce=tTt,ace=new id(JEt),rce=new id(tTt)}function aQ(){aQ=I,aWt=new KT(fAt,0),rWt=new KT("IMPROVE_STRAIGHTNESS",1)}function oQ(t,e){return 10!=XQ(e)&&P4(W5(e),e.hm,e.__elementTypeId$,XQ(e),t),t}function sQ(t,e){var n;return-1!=(n=lQ(t,e,0))&&($W(t,n),!0)}function cQ(t,e){var n;return(n=VP(UW(t.e,e),387))?(jB(n),n.e):null}function uQ(t){var e;return eM(t)&&(e=0-t,!isNaN(e))?e:O3(l5(t))}function lQ(t,e,n){for(;n<t.c.length;++n)if(Hz(e,t.c[n]))return n;return-1}function hQ(t,e,n){var i;return vz(t),(i=new ct).a=e,t.a.Nb(new GE(i,n)),i.a}function fQ(t){var e;return e=VP(EF(t.j,0),11),VP(Ost(e,(Lkt(),IXt)),11)}function dQ(t){var e;if(!G0(t))throw lw(new $w);return t.e=1,e=t.d,t.d=null,e}function gQ(t,e){var n;this.f=t,this.b=e,n=VP(zR(t.b,e),283),this.c=n?n.b:null}function pQ(){OP(),this.b=new rw,this.f=new rw,this.g=new rw,this.e=new rw}function bQ(t,e){this.a=WX(UUt,kAt,10,t.a.c.length,0,1),Het(t.a,this.a),this.b=e}function wQ(t){var e;for(e=t.p+1;e<t.c.a.c.length;++e)--VP(EF(t.c.a,e),10).p}function yQ(t){var e;null!=(e=t.Ai())&&-1!=t.d&&VP(e,92).Ng(t),t.i&&t.i.Fi()}function mQ(t){kI(this),this.g=t?DH(t,t.$d()):null,this.f=t,Hq(this),this._d()}function vQ(t,e,n,i,r,a,o){_0.call(this,e,i,r,a,o),this.c=t,this.b=n}function xQ(t,e,n,i,r){return yz(t),yz(e),yz(n),yz(i),yz(r),new Fj(t,e,i)}function kQ(t,e){if(e<0)throw lw(new qm(bDt+e));return LG(t,e+1),EF(t.j,e)}function _Q(t,e,n,i){if(!t)throw lw(new Xm(ebt(e,P4(Zv(G$t,1),r_t,1,5,[n,i]))))}function EQ(t,e){return Hz(e,EF(t.f,0))||Hz(e,EF(t.f,1))||Hz(e,EF(t.f,2))}function TQ(t,e){UN(VP(VP(t.f,33).We((Ikt(),kee)),98))&&function(t,e){var n,i,r,a;for(iD(),r=e,BV(i=DV(t),0,i.length,r),n=0;n<i.length;n++)n!=(a=aat(t,i[n],n))&&D8(t,n,a)}(Jz(VP(t.f,33)),e)}function CQ(t,e){var n,i;return!(i=(n=VP(e,675)).Oh())&&n.Rh(i=new VS(t,e)),i}function SQ(t,e){var n,i;return!(i=(n=VP(e,677)).pk())&&n.tk(i=new yY(t,e)),i}function AQ(t){return t.b||(t.b=new E$(t,loe,t),!t.a&&(t.a=new ZD(t,t))),t.b}function MQ(){MQ=I,UZt=new fT("XY",0),ZZt=new fT("X",1),YZt=new fT("Y",2)}function IQ(){IQ=I,vqt=new uT("TOP",0),mqt=new uT(yCt,1),yqt=new uT(ECt,2)}function LQ(){LQ=I,qWt=new JT(fAt,0),HWt=new JT("TOP",1),zWt=new JT(ECt,2)}function OQ(){OQ=I,J2t=new cC("INPUT_ORDER",0),t3t=new cC("PORT_DEGREE",1)}function DQ(){DQ=I,Mjt=rI(qEt,qEt,524287),Ijt=rI(0,0,ZEt),Ljt=bW(1),bW(2),Ojt=bW(0)}function NQ(t,e,i){t.a.c=WX(G$t,r_t,1,0,5,1),function(t,e,i){var r,a,o,s,c,u,l,h,f;t.c=0,t.b=0,r=2*e.c.a.c.length+1;t:for(l=i.Kc();l.Ob();){if(f=0,s=(u=VP(l.Pb(),11)).j==(Mxt(),Eie)||u.j==zie){if(!(h=VP(Ost(u,(Lkt(),$Xt)),10)))continue;f+=Ppt(t,r,u,h)}else{for(c=new wd(u.g);c.a<c.c.c.length;){if((a=VP(qU(c),17).d).i.c==e.c){nB(t.a,u);continue t}f+=t.g[a.p]}for(o=new wd(u.e);o.a<o.c.c.length;){if((a=VP(qU(o),17).c).i.c==e.c){nB(t.a,u);continue t}f-=t.g[a.p]}}u.e.c.length+u.g.c.length>0?(t.f[u.p]=f/(u.e.c.length+u.g.c.length),t.c=n.Math.min(t.c,t.f[u.p]),t.b=n.Math.max(t.b,t.f[u.p])):s&&(t.f[u.p]=f)}}(t,e,i),0==t.a.c.length||function(t,e){var n,i,r,a,o,s,c,u,l,h;for(u=t.e[e.c.p][e.p]+1,c=e.c.a.c.length+1,s=new wd(t.a);s.a<s.c.c.length;){for(o=VP(qU(s),11),h=0,a=0,r=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(o),new dg(o)])));Xht(r);)(i=VP(xW(r),11)).i.c==e.c&&(h+=PI(t,i.i)+1,++a);n=h/a,(l=o.j)==(Mxt(),_ie)?t.f[o.p]=n<u?t.c-n:t.b+(c-n):l==Hie&&(t.f[o.p]=n<u?t.b+n:t.c-(c-n))}}(t,e)}function PQ(t){var e,n;return oR(t,0,n=t.length,e=WX(Gce,lEt,25,n,15,1),0),e}function BQ(t){var e;return t.dh()||(e=yR(t.Tg())-t.Ah(),t.ph().bk(e)),t.Pg()}function FQ(t){var e;return null==(e=l1(q3(t,32)))&&(bet(t),e=l1(q3(t,32))),e}function $Q(t,e){var n;return(n=ett(t.d,e))>=0?Dnt(t,n,!0,!0):nht(t,e,!0)}function jQ(t,e){var n,i;return Q_(),n=CG(t),i=CG(e),!!n&&!!i&&!Ent(n.k,i.k)}function RQ(t){(this.q?this.q:(Gq(),Gq(),CRt)).Ac(t.q?t.q:(Gq(),Gq(),CRt))}function zQ(t,e){lHt=new ne,wHt=e,VP((uHt=t).b,65),XX(uHt,lHt,null),qmt(uHt)}function qQ(t,e,n){var i;return i=t.g[e],jI(t,e,t.oi(e,n)),t.gi(e,n,i),t.ci(),i}function HQ(t,e){var n;return(n=t.Xc(e))>=0&&(t.$c(n),!0)}function ZQ(t){var e;return t.d!=t.r&&(e=fat(t),t.e=!!e&&e.Cj()==jBt,t.d=e),t.e}function UQ(t,e){var n;for(TR(t),TR(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function YQ(t,e){var n;return(n=VP(zR(t.e,e),387))?(II(t,n),n.e):null}function GQ(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function KQ(t,e){return K8(t),new CF(t,new WN(new QW(e,t.a)))}function WQ(t,e){var n=t.a[e],i=(r5(),Sjt)[typeof n];return i?i(n):J6(typeof n)}function XQ(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function VQ(t){var e;return null!=(e=0==t.b.c.length?null:EF(t.b,0))&&n2(t,0),e}function QQ(t,e){for(;e[0]<t.length&&WA(" \t\r\n",wst(Gz(t,e[0])))>=0;)++e[0]}function JQ(t,e){this.e=e,this.a=l4(t),this.a<54?this.f=WY(t):this.c=Get(t)}function tJ(t,e,n,i){Nkt(),tw.call(this,26),this.c=t,this.a=e,this.d=n,this.b=i}function eJ(t,e,n){var i,r;for(i=10,r=0;r<n-1;r++)e<i&&(t.a+="0"),i*=10;t.a+=e}function nJ(t,e){var n;for(++t.d,++t.c[e],n=e+1;n<t.a.length;)++t.a[n],n+=n&-n}function iJ(t){var e,n;return e=t+128,!(n=(fF(),$jt)[e])&&(n=$jt[e]=new ed(t)),n}function rJ(t,e){var n;return yz(e),function(t,e){if(!t)throw lw(new Xm(function(t,e){var n,i,r,a;for(t=null==t?s_t:(yz(t),t),n=new Ov,a=0,i=0;i<e.length&&-1!=(r=t.indexOf("%s",a));)vA(n,t.substr(a,r-a)),mA(n,e[i++]),a=r+2;if(vA(n,t.substr(a)),i<e.length){for(n.a+=" [",mA(n,e[i++]);i<e.length;)n.a+=n_t,mA(n,e[i++]);n.a+="]"}return n.a}("Enum constant undefined: %s",e)))}(!!(n=t[":"+e]),P4(Zv(G$t,1),r_t,1,5,[e])),n}function aJ(t){var e;for(++t.a,e=t.c.a.length;t.a<e;++t.a)if(t.c.b[t.a])return}function oJ(t,e){var n,i;for(n=(i=e.c)+1;n<=e.f;n++)t.a[n]>t.a[i]&&(i=n);return i}function sJ(t,e){return 0==e.e||0==t.e?yRt:(_ht(),Xdt(t,e))}function cJ(){cJ=I,kUt=new Te,_Ut=new _e,vUt=new Ie,xUt=new Le,EUt=new Oe}function uJ(){uJ=I,Dzt=new aT("BY_SIZE",0),Nzt=new aT("BY_SIZE_AND_SHAPE",1)}function lJ(){lJ=I,VHt=new hT("EADES",0),QHt=new hT("FRUCHTERMAN_REINGOLD",1)}function hJ(){hJ=I,zKt=new UT("READING_DIRECTION",0),qKt=new UT("ROTATION",1)}function fJ(){fJ=I,RKt=U6((vit(),P4(Zv(HKt,1),K_t,335,0,[PKt,NKt,FKt,$Kt,BKt])))}function dJ(){dJ=I,F2t=U6((sit(),P4(Zv(Y2t,1),K_t,315,0,[P2t,O2t,D2t,L2t,N2t])))}function gJ(){gJ=I,UGt=U6((Tot(),P4(Zv(JGt,1),K_t,363,0,[RGt,qGt,HGt,zGt,jGt])))}function pJ(){pJ=I,oVt=U6((p9(),P4(Zv(y2t,1),K_t,163,0,[rVt,tVt,eVt,nVt,iVt])))}function bJ(){bJ=I,E8t=U6((Oct(),P4(Zv(o9t,1),K_t,316,0,[y8t,m8t,k8t,v8t,x8t])))}function wJ(){wJ=I,A9t=U6((Vet(),P4(Zv(F9t,1),K_t,175,0,[T9t,E9t,k9t,C9t,_9t])))}function yJ(){yJ=I,n8t=U6((Bdt(),P4(Zv(o8t,1),K_t,355,0,[V7t,X7t,J7t,Q7t,t8t])))}function mJ(){mJ=I,rUt=U6((Dst(),P4(Zv(sUt,1),K_t,356,0,[QZt,JZt,tUt,eUt,nUt])))}function vJ(){vJ=I,ane=U6((e8(),P4(Zv(une,1),K_t,103,0,[nne,ene,tne,Jee,ine])))}function xJ(){xJ=I,oie=U6((Qet(),P4(Zv(die,1),K_t,249,0,[nie,rie,tie,eie,iie])))}function kJ(){kJ=I,Uie=U6((Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])))}function _J(t,e){var n;return(n=VP(zR(t.a,e),134))||(n=new Qt,Pz(t.a,e,n)),n}function EJ(t){var e;return!!(e=VP(Ost(t,(Lkt(),QWt)),305))&&e.a==t}function TJ(t){var e;return!!(e=VP(Ost(t,(Lkt(),QWt)),305))&&e.i==t}function CJ(t,e){return yz(e),nj(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function SJ(t){return x7(t,Qkt)>0?Qkt:x7(t,eEt)<0?eEt:KF(t)}function AJ(t){return t<3?(b0(t,U_t),t+1):t<Y_t?cZ(t/.75+1):Qkt}function MJ(t,e){var n;return null==t.i&&lyt(t),n=t.i,e>=0&&e<n.length?n[e]:null}function IJ(t,e,n){var i;if(null==e)throw lw(new Nw);return i=kZ(t,e),function(t,e,n){if(n){var i=n.ee();t.a[e]=i(n)}else delete t.a[e]}(t,e,n),i}function LJ(t){return t.a>=-.01&&t.a<=SCt&&(t.a=0),t.b>=-.01&&t.b<=SCt&&(t.b=0),t}function OJ(t,e){return e==(dP(),dP(),RRt)?t.toLocaleLowerCase():t.toLowerCase()}function DJ(t){return(0!=(2&t.i)?"interface ":0!=(1&t.i)?"":"class ")+(uD(t),t.o)}function NJ(t){var e;e=new Uy,hV((!t.q&&(t.q=new mj(hoe,t,11,10)),t.q),e)}function PJ(t){this.g=t,this.f=new iw,this.a=n.Math.min(this.g.c.c,this.g.d.c)}function BJ(t){this.b=new iw,this.a=new iw,this.c=new iw,this.d=new iw,this.e=t}function FJ(t,e){this.a=new rw,this.e=new rw,this.b=(i7(),k2t),this.c=t,this.b=e}function $J(t,e,n){uN.call(this),VJ(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function jJ(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(wm(),sjt)}function RJ(t){if(t<0)throw lw(new Xm("Illegal Capacity: "+t));this.g=this.ri(t)}function zJ(t){var e;TO(!!t.c),e=t.c.a,WJ(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function qJ(t,e){var n;return K8(t),n=new jq(t,t.a.rd(),4|t.a.qd(),e),new CF(t,n)}function HJ(t,e){var n;for(n=t.Kc();n.Ob();)d5(VP(n.Pb(),70),(Lkt(),kXt),e)}function ZJ(t){var e;return(e=ev(hD(Ost(t,(wkt(),x1t)))))<0&&d5(t,x1t,e=0),e}function UJ(t,e,n,i,r,a){var o;VZ(o=_W(i),r),XZ(o,a),Vlt(t.a,i,new kP(o,e,n.f))}function YJ(t,e){var n;if(!(n=Qdt(t.Tg(),e)))throw lw(new Xm(vNt+e+_Nt));return n}function GJ(t,e){var n;for(n=t;AZ(n);)if((n=AZ(n))==e)return!0;return!1}function KJ(t,e){var n,i,r,a;for(yz(e),r=0,a=(i=t.c).length;r<a;++r)n=i[r],e.td(n)}function WJ(t,e){var n;return n=e.c,e.a.b=e.b,e.b.a=e.a,e.a=e.b=null,e.c=null,--t.b,n}function XJ(t,e){return!!j2(t,e,KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15))))}function VJ(t){t.b=(zV(),hqt),t.f=(IQ(),mqt),t.d=(b0(2,G_t),new wX(2)),t.e=new Sx}function QJ(){QJ=I,aqt=new sT("BEGIN",0),oqt=new sT(yCt,1),sqt=new sT("END",2)}function JJ(){JJ=I,one=new tS(yCt,0),sne=new tS("HEAD",1),cne=new tS("TAIL",2)}function t1(){t1=I,gie=U6(($ot(),P4(Zv(xie,1),K_t,98,0,[fie,hie,lie,sie,uie,cie])))}function e1(){e1=I,pqt=(QJ(),P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length,gqt=pqt}function n1(t){this.b=(TR(t),new uP(t)),this.a=new iw,this.d=new iw,this.e=new Sx}function i1(t){var e;return t.w?t.w:((e=function(t){return t.Db>>16!=6?null:VP(qht(t),235)}(t))&&!e.kh()&&(t.w=e),e)}function r1(t){var e;return null==t?null:function(t,e){var n,i,r,a,o;if(null==t)return null;for(o=WX(Gce,lEt,25,2*e,15,1),i=0,r=0;i<e;++i)n=t[i]>>4&15,a=15&t[i],o[r++]=Ure[n],o[r++]=Ure[a];return Wtt(o,0,o.length)}(e=VP(t,190),e.length)}function a1(t,e){if(null==t.g||e>=t.i)throw lw(new zA(e,t.i));return t.li(e,t.g[e])}function o1(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)t2(t.b,e),e=L8(e);t2(t.b,e)}function s1(t,e){var n,i,r,a;for(r=0,a=(i=t.d).length;r<a;++r)n=i[r],NI(t.g,n).a=e}function c1(t,e){var n;for(n=tnt(t,0);n.b!=n.d.c;)mN(VP(AG(n),8),e);return t}function u1(t){var e;return UY(t.e,t),CO(t.b),t.c=t.a,e=VP(t.a.Pb(),42),t.b=T4(t),e}function l1(t){var e;return XB(null==t||Array.isArray(t)&&!((e=XQ(t))>=14&&e<=16)),t}function h1(t,e,n){var i=function(){return t.apply(i,arguments)};return e.apply(i,n),i}function f1(t,e,n){var i,r;i=e;do{r=ev(t.p[i.p])+n,t.p[i.p]=r,i=t.a[i.p]}while(i!=e)}function d1(t,e){var n,i;i=t.a,n=function(t,e,n){var i,r;return r=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,5,r,t.a),n?Aot(n,i):n=i),n}(t,e,null),i!=e&&!t.e&&(n=Yvt(t,e,n)),n&&n.Fi()}function g1(t,e){return GM(),c0(tEt),n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)}function p1(t,e){return GM(),c0(tEt),n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)}function b1(t,e){return function(t){return t?t.i:null}($2(t,e,KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15)))))}function w1(){w1=I,YUt=U6((gct(),P4(Zv(GUt,1),K_t,267,0,[HUt,qUt,RUt,ZUt,zUt,jUt])))}function y1(){y1=I,bte=U6((bot(),P4(Zv(rne,1),K_t,291,0,[gte,dte,fte,lte,ute,hte])))}function m1(){m1=I,X9t=U6((Znt(),P4(Zv(pte,1),K_t,248,0,[H9t,Y9t,G9t,K9t,Z9t,U9t])))}function v1(){v1=I,mKt=U6((yut(),P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])))}function x1(){x1=I,_Wt=U6((cct(),P4(Zv(NWt,1),K_t,275,0,[vWt,wWt,xWt,mWt,yWt,bWt])))}function k1(){k1=I,pWt=U6((Wat(),P4(Zv(kWt,1),K_t,274,0,[hWt,lWt,dWt,uWt,fWt,cWt])))}function _1(){_1=I,m2t=U6((est(),P4(Zv(_2t,1),K_t,313,0,[b2t,g2t,f2t,d2t,w2t,p2t])))}function E1(){E1=I,iWt=U6((yct(),P4(Zv(oWt,1),K_t,276,0,[VKt,XKt,JKt,QKt,eWt,tWt])))}function T1(){T1=I,d5t=U6((xut(),P4(Zv(t6t,1),K_t,327,0,[h5t,s5t,u5t,c5t,l5t,o5t])))}function C1(){C1=I,kie=U6((Ilt(),P4(Zv(Zie,1),K_t,273,0,[mie,wie,yie,bie,pie,vie])))}function S1(){S1=I,Ene=U6((mst(),P4(Zv(Pne,1),K_t,312,0,[xne,mne,kne,wne,vne,yne])))}function A1(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,0,n,t.a))}function M1(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,1,n,t.b))}function I1(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,3,n,t.b))}function L1(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,3,n,t.f))}function O1(t,e){var n;n=t.g,t.g=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,4,n,t.g))}function D1(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,5,n,t.i))}function N1(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,6,n,t.j))}function P1(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,1,n,t.j))}function B1(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,4,n,t.c))}function F1(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new oK(t,2,n,t.k))}function $1(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new sK(t,2,n,t.d))}function j1(t,e){var n;n=t.s,t.s=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new sK(t,4,n,t.s))}function R1(t,e){var n;n=t.t,t.t=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new sK(t,5,n,t.t))}function z1(t,e){var n;n=t.F,t.F=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,5,n,e))}function q1(t,e){var n;return(n=VP(zR((TE(),Nae),t),55))?n.xj(e):WX(G$t,r_t,1,e,5,1)}function H1(t,e){var n;return e in t.a&&(n=kZ(t,e).he())?n.a:null}function Z1(t,e){var n,i;return Px(),i=new cc,!!e&&Kdt(i,e),P0(n=i,t),n}function U1(t,e,n){if(x6(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw lw(new Iw);return n}function Y1(t,e){return t.n=e,t.n?(t.f=new iw,t.e=new iw):(t.f=null,t.e=null),t}function G1(t,e,n,i,r,a){var o;return n0(n,o=ER(t,e)),o.i=r?8:0,o.f=i,o.e=r,o.g=a,o}function K1(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=1,this.c=t,this.a=n}function W1(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=2,this.c=t,this.a=n}function X1(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=6,this.c=t,this.a=n}function V1(t,e,n,i,r){this.d=e,this.k=i,this.f=r,this.o=-1,this.p=7,this.c=t,this.a=n}function Q1(t,e,n,i,r){this.d=e,this.j=i,this.e=r,this.o=-1,this.p=4,this.c=t,this.a=n}function J1(t,e){var n,i,r,a;for(r=0,a=(i=e).length;r<a;++r)n=i[r],$V(t.a,n);return t}function t0(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)TR(e[n]);return new jA(t)}function e0(t){var e=/function(?:\s+([\w$]+))?\s*\(/.exec(t);return e&&e[1]||sEt}function n0(t,e){if(t){e.n=t;var n=function(t){if(t.qe())return null;var e=t.n;return qkt[e]}(e);n?n.gm=e:qkt[t]=[e]}}function i0(t,e,n){var i,r;for(r=e.Kc();r.Ob();)i=VP(r.Pb(),79),jj(t,VP(n.Kb(i),33))}function r0(t,e){var n,i,r;for(i=0,r=(n=e).length;i<r;++i)WK(t,n[i],t.c.b,t.c)}function a0(t,e){t.b=n.Math.max(t.b,e.d),t.e+=e.r+(0==t.a.c.length?0:t.c),nB(t.a,e)}function o0(t){TO(t.c>=0),function(t,e){var n,i,r;return i=t.a.length-1,n=e-t.b&i,r=t.c-e&i,_O(n<(t.c-t.b&i)),n>=r?(function(t,e){var n,i;for(n=t.a.length-1,t.c=t.c-1&n;e!=t.c;)i=e+1&n,BR(t.a,e,t.a[i]),e=i;BR(t.a,t.c,null)}(t,e),-1):(function(t,e){var n,i;for(n=t.a.length-1;e!=t.b;)i=e-1&n,BR(t.a,e,t.a[i]),e=i;BR(t.a,t.b,null),t.b=t.b+1&n}(t,e),1)}(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function s0(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=Q6(t.f)),t.c).e}function c0(t){if(!(t>=0))throw lw(new Xm("tolerance ("+t+") must be >= 0"));return t}function u0(){return v9t||l6(v9t=new Jpt,P4(Zv(tqt,1),r_t,130,0,[new Lh])),v9t}function l0(){l0=I,a3t=new uC(CCt,0),i3t=new uC("INPUT",1),r3t=new uC("OUTPUT",2)}function h0(){h0=I,MKt=new HT("ARD",0),LKt=new HT("MSD",1),IKt=new HT("MANUAL",2)}function f0(){f0=I,U3t=new pC("BARYCENTER",0),Y3t=new pC(jAt,1),G3t=new pC(RAt,2)}function d0(t,e){var n;if(n=t.gc(),e<0||e>n)throw lw(new kN(e,n));return new KN(t,e)}function g0(t,e){var n;return MI(e,42)?t.c.Mc(e):(n=mtt(t,e),eet(t,e),n)}function p0(t,e,n){return o7(t,e),_2(t,n),j1(t,0),R1(t,1),f8(t,!0),u8(t,!0),t}function b0(t,e){if(t<0)throw lw(new Xm(e+" cannot be negative but was: "+t));return t}function w0(t,e){var n,i;for(n=0,i=t.gc();n<i;++n)if(Hz(e,t.Xb(n)))return n;return-1}function y0(t){var e;for(e=t.c.Cc().Kc();e.Ob();)VP(e.Pb(),14).$b();t.c.$b(),t.d=0}function m0(t){var e,n;if(0==t)return 32;for(n=0,e=1;0==(e&t);e<<=1)++n;return n}function v0(t){U_(),this.g=new rw,this.f=new rw,this.b=new rw,this.c=new JH,this.i=t}function x0(){this.f=new Sx,this.d=new Sy,this.c=new Sx,this.a=new iw,this.b=new iw}function k0(t,e,n,i){this.rj(),this.a=e,this.b=t,this.c=null,this.c=new DN(this,e,n,i)}function _0(t,e,n,i,r){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1,r||(this.o=-2-i-1)}function E0(){UI.call(this),this.n=-1,this.g=null,this.i=null,this.j=null,this.Bb|=FNt}function T0(){T0=I,Yjt=P4(Zv(Kce,1),CEt,25,15,[0,8,4,12,2,10,6,14,1,9,5,13,3,11,7,15])}function C0(){C0=I,B3t=cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),vYt)),JZt,UYt),tUt,ZYt)}function S0(){S0=I,F3t=cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),vYt)),JZt,UYt),tUt,ZYt)}function A0(){A0=I,R3t=cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),vYt)),JZt,UYt),tUt,ZYt)}function M0(){M0=I,H3t=v$(cF(cF(new hG,(Dst(),tUt),(Dkt(),KYt)),eUt,$Yt),nUt,GYt)}function I0(){I0=I,TKt=new qT("LAYER_SWEEP",0),EKt=new qT(iMt,1),CKt=new qT(fAt,2)}function L0(t,e){var n,i;return n=t.c,(i=e.e[t.p])>0?VP(EF(n.a,i-1),10):null}function O0(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,2,n,t.k))}function D0(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,8,n,t.f))}function N0(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,7,n,t.i))}function P0(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,8,n,t.a))}function B0(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,0,n,t.b))}function F0(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,0,n,t.b))}function $0(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,1,n,t.c))}function j0(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,1,n,t.c))}function R0(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,4,n,t.c))}function z0(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,1,n,t.d))}function q0(t,e){var n;n=t.D,t.D=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,2,n,t.D))}function H0(t,e){t.r>0&&t.c<t.r&&(t.c+=e,t.i&&t.i.d>0&&0!=t.g&&H0(t.i,e/t.r*t.i.d))}function Z0(t,e){return Ngt(t.e,e)?(EE(),ZQ(e)?new aF(e,t):new WS(e,t)):new QS(e,t)}function U0(t,e){return function(t){return t?t.g:null}(j2(t.a,e,KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15)))))}function Y0(t){var e;return(t=n.Math.max(t,2))>(e=k5(t))?(e<<=1)>0?e:Y_t:e}function G0(t){switch(xL(3!=t.e),t.e){case 2:return!1;case 0:return!0}return function(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}(t)}function K0(t,e){var n;return!!MI(e,8)&&(n=VP(e,8),t.a==n.a&&t.b==n.b)}function W0(t,e,n){var i,r;return r=e>>5,i=31&e,ZU(Y$(t.n[n][r],KF(Z$(i,1))),3)}function X0(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,21,n,t.b))}function V0(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,11,n,t.d))}function Q0(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,13,n,t.j))}function J0(t,e,n){var i,r,a;for(a=t.a.length-1,r=t.b,i=0;i<n;r=r+1&a,++i)BR(e,i,t.a[r])}function t2(t,e){var n;return yz(e),n=e.g,!t.b[n]&&(BR(t.b,n,e),++t.c,!0)}function e2(t,e){var n;return!((n=null==e?-1:lQ(t.b,e,0))<0||(n2(t,n),0))}function n2(t,e){var n;n=$W(t.b,t.b.c.length-1),e<t.b.c.length&&(XK(t.b,e,n),llt(t,e))}function i2(t,e){ast(e,"Hierarchical port constraint processing",1),function(t){var e;UN(VP(Ost(t,(wkt(),w0t)),98))&&(sht((OU(0,(e=t.b).c.length),VP(e.c[0],29))),sht(VP(EF(e,e.c.length-1),29)))}(t),function(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;if((k=VP(Ost(t,(wkt(),w0t)),98))!=($ot(),hie)&&k!=fie){for(u=new wX((b0((d=(g=t.b).c.length)+2,X_t),SJ(e9(e9(5,d+2),(d+2)/10|0)))),p=new wX((b0(d+2,X_t),SJ(e9(e9(5,d+2),(d+2)/10|0)))),nB(u,new rw),nB(u,new rw),nB(p,new iw),nB(p,new iw),x=new iw,e=0;e<d;e++)for(OU(e,g.c.length),n=VP(g.c[e],29),OU(e,u.c.length),_=VP(u.c[e],83),b=new rw,u.c[u.c.length]=b,OU(e,p.c.length),T=VP(p.c[e],15),y=new iw,p.c[p.c.length]=y,r=new wd(n.a);r.a<r.c.c.length;)if(w8(i=VP(qU(r),10)))x.c[x.c.length]=i;else{for(c=new O$(dL(s9(i).a.Kc(),new l));Xht(c);)w8(C=(o=VP(xW(c),17)).c.i)&&((E=VP(_.xc(Ost(C,(Lkt(),IXt))),10))||(E=Clt(t,C),_.zc(Ost(C,IXt),E),T.Fc(E)),VZ(o,VP(EF(E.j,1),11)));for(s=new O$(dL(c9(i).a.Kc(),new l));Xht(s);)w8(S=(o=VP(xW(s),17)).d.i)&&((w=VP(zR(b,Ost(S,(Lkt(),IXt))),10))||(w=Clt(t,S),Pz(b,Ost(S,IXt),w),y.c[y.c.length]=w),XZ(o,VP(EF(w.j,0),11)))}for(h=0;h<p.c.length;h++)if(OU(h,p.c.length),!(m=VP(p.c[h],15)).dc())for(f=null,0==h?(f=new HR(t),iU(0,g.c.length),ZE(g.c,0,f)):h==u.c.length-1?(f=new HR(t),g.c[g.c.length]=f):(OU(h-1,g.c.length),f=VP(g.c[h-1],29)),a=m.Kc();a.Ob();)QZ(VP(a.Pb(),10),f);for(v=new wd(x);v.a<v.c.c.length;)QZ(VP(qU(v),10),null);d5(t,(Lkt(),uXt),x)}}(t),$ct(e)}function r2(t,e){var n,i;for(i=e.Kc();i.Ob();)n=VP(i.Pb(),266),t.b=!0,jj(t.e,n),n.b=t}function a2(t,e){var n,i;return n=1-e,i=t.a[n],t.a[n]=i.a[e],i.a[e]=t,t.b=!0,i.b=!1,i}function o2(t){d$.call(this),this.b=ev(hD(Ost(t,(wkt(),P0t)))),this.a=VP(Ost(t,g1t),218)}function s2(t,e,n){gG.call(this,t,e,n),this.a=new rw,this.b=new rw,this.d=new wp(this)}function c2(t){this.e=t,this.d=new Gx(AJ(R$(this.e).gc())),this.c=this.e.a,this.b=this.e.c}function u2(t){this.b=t,this.a=WX(Kce,CEt,25,t+1,15,1),this.c=WX(Kce,CEt,25,t,15,1),this.d=0}function l2(t,e,n){var i;return Sgt(t,e,i=new iw,n,!0,!0),t.b=new u2(i.c.length),i}function h2(t,e){var n;return(n=VP(zR(t.c,e),458))||((n=new yy).c=e,Pz(t.c,n.c,n)),n}function f2(t,e){var n=t.a,i=0;for(var r in n)n.hasOwnProperty(r)&&(e[i++]=r);return e}function d2(t){return null==t.b?(kE(),kE(),Xoe):t.Lk()?t.Kk():t.Jk()}function g2(t){var e,n;for(n=new YI(t);n.e!=n.i.gc();)D1(e=VP(hnt(n),33),0),N1(e,0)}function p2(){p2=I,EZt=new Ib(YSt),TZt=new Ib(GSt),_Zt=new Ib(KSt),kZt=new Ib(WSt)}function b2(){b2=I,rYt=new wT("TO_INTERNAL_LTR",0),iYt=new wT("TO_INPUT_DIRECTION",1)}function w2(){w2=I,h6t=new DC("P1_NODE_PLACEMENT",0),f6t=new DC("P2_EDGE_ROUTING",1)}function y2(){y2=I,QGt=new jT("START",0),VGt=new jT("MIDDLE",1),XGt=new jT("END",2)}function m2(){m2=I,bGt=new jD("edgelabelcenterednessanalysis.includelabel",(EL(),Djt))}function v2(){this.c=new uk(0),this.b=new uk(iOt),this.d=new uk(nOt),this.a=new uk(gSt)}function x2(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Pf(e=VP(n.Pb(),214),new tct(e.e))}function k2(t){var e,n;for(n=t.c.a.ec().Kc();n.Ob();)Nf(e=VP(n.Pb(),214),new fj(e.f))}function _2(t,e){var n;n=t.zb,t.zb=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,1,n,t.zb))}function E2(t,e){var n;n=t.xb,t.xb=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,3,n,t.xb))}function T2(t,e){var n;n=t.yb,t.yb=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,2,n,t.yb))}function C2(t,e){var n;(n=new Hy).n=e,hV((!t.s&&(t.s=new mj(eoe,t,21,17)),t.s),n)}function S2(t,e){var n;(n=new aD).n=e,hV((!t.s&&(t.s=new mj(eoe,t,21,17)),t.s),n)}function A2(t,e){var n,i;for(BV(n=t.Pc(),0,n.length,e),i=0;i<n.length;i++)t._c(i,n[i])}function M2(t,e){var n,i,r;for(yz(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),n|=t.Fc(i);return n}function I2(t){var e,n,i;for(e=0,i=t.Kc();i.Ob();)e=~~(e+=null!=(n=i.Pb())?K5(n):0);return e}function L2(t){var e;return 0==t?"UTC":(t<0?(t=-t,e="UTC+"):e="UTC-",e+GQ(t))}function O2(t,e){var n;return MI(e,14)?(n=VP(e,14),t.Gc(n)):UQ(t,VP(TR(e),20).Kc())}function D2(t,e,n){FJ.call(this,e,n),this.d=WX(UUt,kAt,10,t.a.c.length,0,1),Het(t.a,this.d)}function N2(t,e){e?null==t.B&&(t.B=t.D,t.D=null):null!=t.B&&(t.D=t.B,t.B=null)}function P2(t,e){return ev(hD(HL(K7(hq(new CF(null,new NU(t.c.b,16)),new rp(t)),e))))}function B2(t,e){return ev(hD(HL(K7(hq(new CF(null,new NU(t.c.b,16)),new ip(t)),e))))}function F2(t,e,n){var i,r;for(r=tnt(t,0);r.b!=r.d.c;)(i=VP(AG(r),8)).a+=e,i.b+=n;return t}function $2(t,e,n){var i;for(i=t.b[n&t.f];i;i=i.b)if(n==i.a&&dz(e,i.g))return i;return null}function j2(t,e,n){var i;for(i=t.c[n&t.f];i;i=i.d)if(n==i.f&&dz(e,i.i))return i;return null}function R2(t){var e;return uA((e=VY(t)).a,0)?(F_(),F_(),qRt):(F_(),new vO(e.b))}function z2(t){var e;return uA((e=VY(t)).a,0)?(F_(),F_(),qRt):(F_(),new vO(e.c))}function q2(t){var e;return uA((e=XY(t)).a,0)?($_(),$_(),HRt):($_(),new xO(e.b))}function H2(t){return t.b.c.i.k==(gct(),RUt)?VP(Ost(t.b.c.i,(Lkt(),IXt)),11):t.b.c}function Z2(t){return t.b.d.i.k==(gct(),RUt)?VP(Ost(t.b.d.i,(Lkt(),IXt)),11):t.b.d}function U2(t,e,n,i,r,a,o,s,c,u,l,h,f){return Uut(t,e,n,i,r,a,o,s,c,u,l,h,f),H8(t,!1),t}function Y2(t,e,n,i,r,a,o){Yk.call(this,t,e),this.d=n,this.e=i,this.c=r,this.b=a,this.a=BW(o)}function G2(t,e){return GM(),c0(SCt),n.Math.abs(0-e)<=SCt||0==e||isNaN(0)&&isNaN(e)?0:t/e}function K2(){K2=I,qoe=new qy,Zoe=P4(Zv(eoe,1),XBt,170,0,[]),Hoe=P4(Zv(hoe,1),VBt,59,0,[])}function W2(){W2=I,E3t=new dC("NO",0),k3t=new dC("GREEDY",1),_3t=new dC("LOOK_BACK",2)}function X2(){X2=I,VUt=new ze,WUt=new Re,XUt=new qe,KUt=new He,QUt=new Ze,JUt=new Ue}function V2(t,e){var n;return zlt(new XC((n=ust(t)).c,n.d),new XC(n.b,n.a),t.rf(),e,t.Hf())}function Q2(t,e){var n;return t.b?null:(n=function(t,e){var n;return n=e>0?e-1:e,wx(function(t,e){return t.j=e,t}(Y1(PB(new om,n),t.n),t.j),t.k)}(t,t.g),$B(t.a,n),n.i=t,t.d=e,n)}function J2(t,e,n){ast(n,"DFS Treeifying phase",1),function(t,e){var n,i,r;for(r=e.b.b,t.a=new T_,t.b=WX(Kce,CEt,25,r,15,1),n=0,i=tnt(e.b,0);i.b!=i.d.c;)VP(AG(i),86).g=n++}(t,e),function(t,e){var n,i,r,a,o;for(o=VP(Ost(e,(oft(),K5t)),425),a=tnt(e.b,0);a.b!=a.d.c;)if(r=VP(AG(a),86),0==t.b[r.g]){switch(o.g){case 0:xit(t,r);break;case 1:wft(t,r)}t.b[r.g]=2}for(i=tnt(t.a,0);i.b!=i.d.c;)W9((n=VP(AG(i),188)).b.d,n,!0),W9(n.c.b,n,!0);d5(e,(avt(),S5t),t.a)}(t,e),t.a=null,t.b=null,$ct(n)}function t3(t,e,n){this.g=t,this.d=e,this.e=n,this.a=new iw,function(t){var e,n,i,r;for(r=W7(t.d,t.e).Kc();r.Ob();)for(i=VP(r.Pb(),11),n=new wd(t.e==(Mxt(),Hie)?i.e:i.g);n.a<n.c.c.length;)JK(e=VP(qU(n),17))||e.c.i.c==e.d.i.c||(Nct(t,e),++t.f,++t.c)}(this),Gq(),QM(this.a,null)}function e3(t){this.i=t.gc(),this.i>0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function n3(t,e){MB.call(this,use,t,e),this.b=this,this.a=bgt(t.Tg(),MJ(this.e.Tg(),this.c))}function i3(t,e){var n,i;for(yz(e),i=e.vc().Kc();i.Ob();)n=VP(i.Pb(),42),t.zc(n.cd(),n.dd())}function r3(t){var e;if(-2==t.b){if(0==t.e)e=-1;else for(e=0;0==t.a[e];e++);t.b=e}return t.b}function a3(t){switch(t.g){case 2:return Mxt(),Hie;case 4:return Mxt(),_ie;default:return t}}function o3(t){switch(t.g){case 1:return Mxt(),zie;case 3:return Mxt(),Eie;default:return t}}function s3(t,e){return EL(),oA(t)?RW(t,fD(e)):aA(t)?K$(t,hD(e)):rA(t)?G$(t,lD(e)):t.wd(e)}function c3(t,e){e.q=t,t.d=n.Math.max(t.d,e.r),t.b+=e.d+(0==t.a.c.length?0:t.c),nB(t.a,e)}function u3(t,e){var n,i,r,a;return r=t.c,n=t.c+t.b,a=t.d,i=t.d+t.a,e.a>r&&e.a<n&&e.b>a&&e.b<i}function l3(t,e,n,i){MI(t.Cb,179)&&(VP(t.Cb,179).tb=null),_2(t,n),e&&function(t,e){var n,i,r;if(e)if(0!=(4&e.i))for(i="[]",n=e.c;;n=n.c){if(0==(4&n.i)){q0(t,r=iv((uD(n),n.o+i))),z1(t,r);break}i+="[]"}else q0(t,r=iv((uD(e),e.o))),z1(t,r);else q0(t,null),z1(t,null);t.yk(e)}(t,e),i&&t.xk(!0)}function h3(t,e){var n;tH(n=VP(e,183),"x",t.i),tH(n,"y",t.j),tH(n,ZNt,t.g),tH(n,HNt,t.f)}function f3(){f3=I,Z3t=det(LA(cF(cF(new hG,(Dst(),tUt),(Dkt(),KYt)),eUt,$Yt),nUt),GYt)}function d3(){d3=I,V3t=det(LA(cF(cF(new hG,(Dst(),tUt),(Dkt(),KYt)),eUt,$Yt),nUt),GYt)}function g3(){g3=I,c7t=new $C(fAt,0),u7t=new $C("POLAR_COORDINATE",1),s7t=new $C("ID",2)}function p3(){p3=I,c3t=new lC("EQUALLY",0),u3t=new lC(PCt,1),l3t=new lC("NORTH_SOUTH",2)}function b3(){b3=I,G2t=U6((Rdt(),P4(Zv(V2t,1),K_t,260,0,[Z2t,j2t,q2t,R2t,z2t,$2t,H2t,U2t])))}function w3(){w3=I,lKt=U6((spt(),P4(Zv(yKt,1),K_t,270,0,[nKt,aKt,eKt,cKt,rKt,iKt,sKt,oKt])))}function y3(){y3=I,$9t=U6((dut(),P4(Zv(z9t,1),K_t,277,0,[B9t,M9t,D9t,P9t,I9t,L9t,O9t,N9t])))}function m3(){m3=I,vae=U6((Yht(),P4(Zv(xae,1),K_t,237,0,[yae,pae,bae,gae,wae,fae,hae,dae])))}function v3(){v3=I,hHt=new jD("debugSVG",(EL(),!1)),fHt=new jD("overlapsExisted",!0)}function x3(t,e){return xQ(new Ld(t),new Od(e),new Dd(e),new et,P4(Zv(pzt,1),K_t,132,0,[]))}function k3(){var t;return rzt||(rzt=new Vw,function(t,e){hzt||(t.b=e)}(t=new oW(""),(j_(),izt)),function(t,e){0==(sW(),hzt?null:e.c).length&&MD(e,new G),ZZ(t.a,hzt?null:e.c,e)}(rzt,t)),rzt}function _3(t,e){var n;return!!(n=lbt(u0(),t))&&(Ont(e,(Ikt(),Nee),n),!0)}function E3(t,e){var n;for(n=0;n<e.j.c.length;n++)VP(kQ(t,n),21).Gc(VP(kQ(e,n),14));return t}function T3(t,e){var n,i;for(i=new wd(e.b);i.a<i.c.c.length;)n=VP(qU(i),29),t.a[n.p]=oct(n)}function C3(t,e){var n,i;for(yz(e),i=t.vc().Kc();i.Ob();)n=VP(i.Pb(),42),e.Od(n.cd(),n.dd())}function S3(t,e){MI(e,83)?(VP(t.c,76).Xj(),function(t,e){var n,i;for(i=e.vc().Kc();i.Ob();)Bat(t,(n=VP(i.Pb(),42)).cd(),n.dd())}(t,VP(e,83))):VP(t.c,76).Wb(e)}function A3(t){return MI(t,152)?FW(VP(t,152)):MI(t,131)?VP(t,131).a:MI(t,54)?new Em(t):new r_(t)}function M3(t,e){t.a=e9(t.a,1),t.c=n.Math.min(t.c,e),t.b=n.Math.max(t.b,e),t.d=e9(t.d,e)}function I3(t,e){ast(e,"Edge and layer constraint edge reversal",1),function(t){var e,n,i,r,a,o,s,c,u,l,h;for(u=new wd(t);u.a<u.c.c.length;){switch(c=VP(qU(u),10),a=null,(o=VP(Ost(c,(wkt(),B1t)),163)).g){case 1:case 2:i5(),a=GKt;break;case 3:case 4:i5(),a=UKt}if(a)d5(c,(Lkt(),aXt),(i5(),GKt)),a==UKt?egt(c,o,(l0(),i3t)):a==GKt&&egt(c,o,(l0(),r3t));else if(pM(VP(Ost(c,w0t),98))&&0!=c.j.c.length){for(e=!0,h=new wd(c.j);h.a<h.c.c.length;){if(!((l=VP(qU(h),11)).j==(Mxt(),_ie)&&l.e.c.length-l.g.c.length>0||l.j==Hie&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new wd(l.g);r.a<r.c.c.length;)if(n=VP(qU(r),17),(s=VP(Ost(n.d.i,B1t),163))==(p9(),nVt)||s==iVt){e=!1;break}for(i=new wd(l.e);i.a<i.c.c.length;)if(n=VP(qU(i),17),(s=VP(Ost(n.c.i,B1t),163))==(p9(),tVt)||s==eVt){e=!1;break}}e&&egt(c,o,(l0(),a3t))}}}(function(t){var e,n,i,r,a;for(a=new wX(t.a.c.length),r=new wd(t.a);r.a<r.c.c.length;){switch(i=VP(qU(r),10),e=null,(n=VP(Ost(i,(wkt(),B1t)),163)).g){case 1:case 2:i5(),e=GKt;break;case 3:case 4:i5(),e=UKt}e?(d5(i,(Lkt(),aXt),(i5(),GKt)),e==UKt?egt(i,n,(l0(),i3t)):e==GKt&&egt(i,n,(l0(),r3t))):a.c[a.c.length]=i}return a}(t)),$ct(e)}function L3(t){var e;null==t.d?(++t.e,t.f=0,M7(null)):(++t.e,e=t.d,t.d=null,t.f=0,M7(e))}function O3(t){var e;return 0==(e=t.h)?t.l+t.m*UEt:e==HEt?t.l+t.m*UEt-YEt:t}function D3(t){return SD(),t.A.Hc((Ltt(),Vie))&&!t.B.Hc((Xbt(),sre))?ptt(t):null}function N3(t){if(yz(t),0==t.length)throw lw(new Av("Zero length BigInteger"));!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=d=e.length,DU(0,e.length),45==e.charCodeAt(0)?(h=-1,f=1,--d):(h=1,f=0),r=d/(a=(hmt(),xRt)[10])|0,0!=(b=d%a)&&++r,s=WX(Kce,CEt,25,r,15,1),n=vRt[8],o=0,g=f+(0==b?a:b),p=f;p<c;g=(p=g)+a)i=rwt(e.substr(p,g-p),eEt,Qkt),_ht(),u=Unt(s,s,o,n),u+=htt(s,o,i),s[o++]=u;l=o,t.e=h,t.d=l,t.a=s,CY(t)}(this,t)}function P3(t){if(!t)throw lw(new Vm("no calls to next() since the last call to remove()"))}function B3(t){return KEt<t&&t<YEt?t<0?n.Math.ceil(t):n.Math.floor(t):O3(function(t){var e,n,i,r;return isNaN(t)?(DQ(),Ojt):t<-0x8000000000000000?(DQ(),Ijt):t>=0x8000000000000000?(DQ(),Mjt):(i=!1,t<0&&(i=!0,t=-t),n=0,t>=YEt&&(t-=(n=cZ(t/YEt))*YEt),e=0,t>=UEt&&(t-=(e=cZ(t/UEt))*UEt),r=rI(cZ(t),e,n),i&&L5(r),r)}(t))}function F3(t,e){var n,i,r;for(n=t.c.Ee(),r=e.Kc();r.Ob();)i=r.Pb(),t.a.Od(n,i);return t.b.Kb(n)}function $3(t,e){var n,i,r;if(null!=(n=t.Jg())&&t.Mg())for(i=0,r=n.length;i<r;++i)n[i].ui(e)}function j3(t,e){var n,i;for(i=pz(n=t).e;i;){if((n=i)==e)return!0;i=pz(n).e}return!1}function R3(t,e,n){var i,r;return r=VP(tP(t.d,e),19),i=VP(tP(t.b,n),19),r&&i?dX(t,r.a,i.a):null}function z3(t,e){var n,i;i=new iw,n=e;do{i.c[i.c.length]=n,n=VP(zR(t.k,n),17)}while(n);return i}function q3(t,e){var n;return 0!=(t.Db&e)?-1==(n=Xit(t,e))?t.Eb:l1(t.Eb)[n]:null}function H3(t,e){var n;return(n=new Bh).G=e,!t.rb&&(t.rb=new pj(t,ioe,t)),hV(t.rb,n),n}function Z3(t,e){var n;return(n=new zw).G=e,!t.rb&&(t.rb=new pj(t,ioe,t)),hV(t.rb,n),n}function U3(t,e){switch(e){case 1:return!!t.n&&0!=t.n.i;case 2:return null!=t.k}return JU(t,e)}function Y3(t){switch(t.a.g){case 1:return new FS;case 3:return new wrt;default:return new Ch}}function G3(t){var e;if(t.g>1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw lw(new $w)}function K3(t){var e,n,i;return n=0,(i=t)<0&&(i+=YEt,n=HEt),e=cZ(i/UEt),rI(cZ(i-e*UEt),e,n)}function W3(t){var e,n,i;for(i=0,n=new E_(t.a);n.a<n.c.a.length;)e=nK(n),t.b.Hc(e)&&++i;return i}function X3(t,e){var n;this.c=t,Nit(t,n=new iw,e,t.b,null,!1,null,!1),this.a=new QY(n,0)}function V3(t,e){this.b=t,this.e=e,this.d=e.j,this.f=(EE(),VP(t,66).Oj()),this.k=bgt(e.e.Tg(),t)}function Q3(t,e,n){this.b=(yz(t),t),this.d=(yz(e),e),this.e=(yz(n),n),this.c=this.d+""+this.e}function J3(){this.a=VP(unt((qpt(),rZt)),19).a,this.c=ev(hD(unt(vZt))),this.b=ev(hD(unt(bZt)))}function t4(){t4=I,Jne=U6((Eft(),P4(Zv(aie,1),K_t,93,0,[Zne,Hne,Yne,Vne,Xne,Wne,Gne,Kne,Une])))}function e4(){e4=I,eqt=U6((Dpt(),P4(Zv(nqt,1),K_t,250,0,[Qzt,Gzt,Kzt,Yzt,Xzt,Vzt,Wzt,Uzt,Zzt])))}function n4(){n4=I,Qqt=new lT("UP",0),Wqt=new lT(DCt,1),Xqt=new lT(xCt,2),Vqt=new lT(kCt,3)}function i4(){i4=I,$Z(),P5t=new RA(uOt,B5t=Q5t),xY(),D5t=new RA(lOt,N5t=i6t)}function r4(){r4=I,FWt=new QT("ONE_SIDED",0),$Wt=new QT("TWO_SIDED",1),BWt=new QT("OFF",2)}function a4(t){t.r=new Xw,t.w=new Xw,t.t=new iw,t.i=new iw,t.d=new Xw,t.a=new lM,t.c=new rw}function o4(t){this.n=new iw,this.e=new T_,this.j=new T_,this.k=new iw,this.f=new iw,this.p=t}function s4(t,e){t.c&&(Kbt(t,e,!0),C_(new CF(null,new NU(e,16)),new fp(t))),Kbt(t,e,!1)}function c4(t,e){var n;return e?((n=e.Ve()).dc()||(t.q?i3(t.q,n):t.q=new AA(n)),t):t}function u4(t,e){var n;return void 0===(n=t.a.get(e))?++t.d:(function(t,e){t[mTt].call(t,e)}(t.a,e),--t.c,bH(t.b)),n}function l4(t){var e;return x7(t,0)<0&&(t=gB(t)),64-(0!=(e=KF(U$(t,32)))?Qlt(e):Qlt(KF(t))+32)}function h4(t){var e;return e=VP(Ost(t,(Lkt(),hXt)),61),t.k==(gct(),RUt)&&(e==(Mxt(),Hie)||e==_ie)}function f4(t,e,n){var i,r;(r=VP(Ost(t,(wkt(),D1t)),74))&&(N6(i=new Ny,0,r),c1(i,n),M2(e,i))}function d4(t,e,n){var i,r,a,o;i=(o=pz(t)).d,r=o.c,a=t.n,e&&(a.a=a.a-i.b-r.a),n&&(a.b=a.b-i.d-r.b)}function g4(t,e,n,i,r){BR(t.c[e.g],n.g,i),BR(t.c[n.g],e.g,i),BR(t.b[e.g],n.g,r),BR(t.b[n.g],e.g,r)}function p4(t,e,n,i){return 1==n?(!t.n&&(t.n=new mj(oae,t,1,7)),Tnt(t.n,e,i)):fct(t,e,n,i)}function b4(t,e){var n;return _2(n=new qc,e),hV((!t.A&&(t.A=new WI(Uoe,t,7)),t.A),n),n}function w4(t,e,n){var i,r;return r=aG(e,GNt),function(t,e,n){var i,r,a;if(n)for(a=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);a.Ob();)(r=oG(n,VP(a.Pb(),19).a))&&Llt(t,r,e)}((i=new xS(t,n)).a,i.b,r),r}function y4(t){var e;return(!t.a||0==(1&t.Bb)&&t.a.kh())&&MI(e=fat(t),148)&&(t.a=VP(e,148)),t.a}function m4(t,e){var n,i;for(yz(e),i=e.Kc();i.Ob();)if(n=i.Pb(),!t.Hc(n))return!1;return!0}function v4(t,e){var n,i,r;return n=t.l-e.l,i=t.m-e.m+(n>>22),r=t.h-e.h+(i>>22),rI(n&qEt,i&qEt,r&HEt)}function x4(t){var e;return t<128?(!(e=(pF(),zjt)[t])&&(e=zjt[t]=new nd(t)),e):new nd(t)}function k4(t){var e;return MI(t,78)?t:((e=t&&t.__java$exception)||Cw(e=new t7(t)),e)}function _4(t){if(MI(t,186))return VP(t,118);if(t)return null;throw lw(new Jm(yPt))}function E4(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(X7(e,g7(t)))return!0;return!1}function T4(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new JY(t.e.f),t.a.Ob())}function C4(t,e){var n;return 0!=(n=e.Pc()).length&&(uB(t.c,t.c.length,n),!0)}function S4(t,e){var n;for(n=new wd(t.b);n.a<n.c.c.length;)d5(VP(qU(n),70),(Lkt(),kXt),e)}function A4(t,e){if(!t)throw lw(new Xm(ebt("value already present: %s",P4(Zv(G$t,1),r_t,1,5,[e]))))}function M4(t,e){return!(!t||!e||t==e)&&Gtt(t.d.c,e.d.c+e.d.b)&&Gtt(e.d.c,t.d.c+t.d.b)}function I4(){return sW(),hzt?new oW(null):Mht(k3(),"com.google.common.base.Strings")}function L4(t,e){var n;return n=lO(e.a.gc()),C_(qJ(new CF(null,new NU(e,1)),t.i),new WC(t,n)),n}function O4(t){var e;return _2(e=new qc,"T"),hV((!t.d&&(t.d=new WI(Uoe,t,11)),t.d),e),e}function D4(t){var e,n,i,r;for(e=1,n=0,r=t.gc();n<r;++n)e=31*e+(null==(i=t.ki(n))?0:K5(i));return e}function N4(t,e,n,i){var r;return qY(e,t.e.Hd().gc()),qY(n,t.c.Hd().gc()),r=t.a[e][n],BR(t.a[e],n,i),r}function P4(t,e,n,i,r){return r.gm=t,r.hm=e,r.im=M,r.__elementTypeId$=n,r.__elementTypeCategory$=i,r}function B4(t,e,i,r,a){return cpt(),n.Math.min($vt(t,e,i,r,a),$vt(i,r,t,e,BO(new XC(a.a,a.b))))}function F4(){F4=I,xGt=new mT(fAt,0),mGt=new mT(ZAt,1),vGt=new mT(UAt,2),yGt=new mT("BOTH",3)}function $4(){$4=I,DGt=new FT(yCt,0),NGt=new FT(xCt,1),PGt=new FT(kCt,2),BGt=new FT("TOP",3)}function j4(){j4=I,gUt=new gT("Q1",0),wUt=new gT("Q4",1),pUt=new gT("Q2",2),bUt=new gT("Q3",3)}function R4(){R4=I,A3t=new gC("OFF",0),M3t=new gC("SINGLE_EDGE",1),S3t=new gC("MULTI_EDGE",2)}function z4(){z4=I,u9t=new ZC("MINIMUM_SPANNING_TREE",0),c9t=new ZC("MAXIMUM_SPANNING_TREE",1)}function q4(){q4=I,new Ib("org.eclipse.elk.addLayoutConfig"),g9t=new us,d9t=new ss,new cs}function H4(t){var e,n;for(e=new T_,n=tnt(t.d,0);n.b!=n.d.c;)$B(e,VP(AG(n),188).c);return e}function Z4(t){var e,n;for(n=new iw,e=t.Kc();e.Ob();)C4(n,rpt(VP(e.Pb(),33)));return n}function U4(t,e,n){var i;Yj(t.a),KJ(n.i,new Up(t)),vet(t,i=new sI(VP(zR(t.a,e.b),65)),e),n.f=i}function Y4(t,e){var n,i;return n=t.c,(i=e.e[t.p])<n.a.c.length-1?VP(EF(n.a,i+1),10):null}function G4(t,e){var n,i;if(i=0,t<64&&t<=e)for(e=e<64?e:63,n=t;n<=e;n++)i=UU(i,Z$(1,n));return i}function K4(t){var e,n,i;for(Gq(),i=0,n=t.Kc();n.Ob();)i+=null!=(e=n.Pb())?K5(e):0,i|=0;return i}function W4(t){var e;return Px(),e=new oc,t&&hV((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),e),e}function X4(t,e){if(0===e)return!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),void t.o.c.$b();cut(t,e)}function V4(t,e,n){switch(n.g){case 2:t.b=e;break;case 1:t.c=e;break;case 4:t.d=e;break;case 3:t.a=e}}function Q4(t){switch(t.g){case 1:return $ne;case 2:return Fne;case 3:return jne;default:return Rne}}function J4(t){switch(VP(Ost(t,(wkt(),B1t)),163).g){case 2:case 4:return!0;default:return!1}}function t5(){t5=I,PWt=U6((ipt(),P4(Zv(jWt,1),K_t,256,0,[TWt,SWt,AWt,MWt,IWt,LWt,DWt,EWt,CWt,OWt])))}function e5(){e5=I,dre=U6((Xbt(),P4(Zv(yre,1),K_t,259,0,[are,sre,rre,cre,ure,hre,lre,ore,ire])))}function n5(){n5=I,c6t=cF(det(det(dE(cF(new hG,(jrt(),J4t),(xut(),h5t)),t5t),c5t),u5t),e5t,l5t)}function i5(){i5=I,YKt=new YT(fAt,0),UKt=new YT("INCOMING_ONLY",1),GKt=new YT("OUTGOING_ONLY",2)}function r5(){r5=I,Sjt={boolean:v_,number:jm,string:Rm,object:tlt,function:tlt,undefined:bw}}function a5(t,e){kB(t>=0,"Negative initial capacity"),kB(e>=0,"Non-positive load factor"),Yj(this)}function o5(t,e,n){return!(t>=128)&&lA(t<64?ZU(Z$(1,t),n):ZU(Z$(1,t-64),e),0)}function s5(t,e){return!(!t||!e||t==e)&&v9(t.b.c,e.b.c+e.b.b)<0&&v9(e.b.c,t.b.c+t.b.b)<0}function c5(t){var e,n,i;return n=t.n,i=t.o,e=t.d,new mq(n.a-e.b,n.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function u5(t){var e,i;for(null==t.j&&(t.j=(OH(),function(t){var e,i,r;for(e="Sz",i="ez",r=n.Math.min(t.length,5)-1;r>=0;r--)if(jN(t[r].d,e)||jN(t[r].d,i)){t.length>=r+1&&t.splice(0,r+1);break}return t}(yjt.ce(t)))),e=0,i=t.j.length;e<i;++e);}function l5(t){var e,n;return rI(e=1+~t.l&qEt,n=~t.m+(0==e?1:0)&qEt,~t.h+(0==e&&0==n?1:0)&HEt)}function h5(t,e,n){var i;if(e>(i=t.gc()))throw lw(new kN(e,i));return t.hi()&&(n=IZ(t,n)),t.Vh(e,n)}function f5(t,e,n){return null==n?(!t.q&&(t.q=new rw),UW(t.q,e)):(!t.q&&(t.q=new rw),Pz(t.q,e,n)),t}function d5(t,e,n){return null==n?(!t.q&&(t.q=new rw),UW(t.q,e)):(!t.q&&(t.q=new rw),Pz(t.q,e,n)),t}function g5(t){var e,i;return c4(i=new GW,t),d5(i,(p2(),EZt),t),function(t,e,i){var r,a,o,s,c;for(r=0,o=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));o.e!=o.i.gc();)s="",0==(!(a=VP(hnt(o),33)).n&&(a.n=new mj(oae,a,1,7)),a.n).i||(s=VP(a1((!a.n&&(a.n=new mj(oae,a,1,7)),a.n),0),137).a),c4(c=new ZR(s),a),d5(c,(p2(),EZt),a),c.b=r++,c.d.a=a.i+a.g/2,c.d.b=a.j+a.f/2,c.e.a=n.Math.max(a.g,1),c.e.b=n.Math.max(a.f,1),nB(e.e,c),Qut(i.f,a,c),VP(_ft(a,(qpt(),fZt)),98),$ot()}(t,i,e=new rw),function(t,e,i){var r,a,o,s,c,u,h,f;for(u=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));u.e!=u.i.gc();)for(a=new O$(dL(ddt(c=VP(hnt(u),33)).a.Kc(),new l));Xht(a);){if(!(r=VP(xW(a),79)).b&&(r.b=new LN(Jre,r,4,7)),!(r.b.i<=1&&(!r.c&&(r.c=new LN(Jre,r,5,8)),r.c.i<=1)))throw lw(new dv("Graph must not contain hyperedges."));if(!$ht(r)&&c!=rst(VP(a1((!r.c&&(r.c=new LN(Jre,r,5,8)),r.c),0),82)))for(c4(h=new rN,r),d5(h,(p2(),EZt),r),Mf(h,VP(nA(BH(i.f,c)),144)),If(h,VP(zR(i,rst(VP(a1((!r.c&&(r.c=new LN(Jre,r,5,8)),r.c),0),82))),144)),nB(e.c,h),s=new YI((!r.n&&(r.n=new mj(oae,r,1,7)),r.n));s.e!=s.i.gc();)c4(f=new gK(h,(o=VP(hnt(s),137)).a),o),d5(f,EZt,o),f.e.a=n.Math.max(o.g,1),f.e.b=n.Math.max(o.f,1),Wyt(f),nB(e.d,f)}}(t,i,e),i}function p5(t,e){var n,i,r;for(n=!1,i=t.a[e].length,r=0;r<i-1;r++)n|=$tt(t,e,r,r+1);return n}function b5(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)Pit(t,a,o)||obt(t,a,o,!0,!1)}function w5(t,e){this.b=t,qA.call(this,(VP(a1(oH((VR(),boe).o),10),18),e.i),e.g),this.a=(K2(),Zoe)}function y5(t,e){this.c=t,this.d=e,this.b=this.d/this.c.c.Hd().gc()|0,this.a=this.d%this.c.c.Hd().gc()}function m5(){this.o=null,this.k=null,this.j=null,this.d=null,this.b=null,this.n=null,this.a=null}function v5(t,e,i){this.q=new n.Date,this.q.setFullYear(t+TEt,e,i),this.q.setHours(0,0,0,0),Myt(this,0)}function x5(){x5=I,W2t=new sC(fAt,0),K2t=new sC("NODES_AND_EDGES",1),X2t=new sC("PREFER_EDGES",2)}function k5(t){var e;if(t<0)return eEt;if(0==t)return 0;for(e=Y_t;0==(e&t);e>>=1);return e}function _5(t){var e,n;return 32==(n=Qlt(t.h))?32==(e=Qlt(t.m))?Qlt(t.l)+32:e+20-10:n-12}function E5(t){var e;return null==(e=t.a[t.b])?null:(BR(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function T5(t){var e,n;return e=t.t-t.k[t.o.p]*t.d+t.j[t.o.p]>t.f,n=t.u+t.e[t.o.p]*t.d>t.f*t.s*t.d,e||n}function C5(t,e,n){var i,r;return i=new tV(e,n),r=new H,t.b=Hgt(t,t.b,i,r),r.b||++t.c,t.b.b=!1,r.d}function S5(t,e,n){var i,r,a;for(a=0,r=W7(e,n).Kc();r.Ob();)i=VP(r.Pb(),11),Pz(t.c,i,p8(a++))}function A5(t){var e,n;for(n=new wd(t.a.b);n.a<n.c.c.length;)(e=VP(qU(n),81)).g.c=-e.g.c-e.g.b;Zdt(t)}function M5(t){var e,n;for(n=new wd(t.a.b);n.a<n.c.c.length;)(e=VP(qU(n),57)).d.c=-e.d.c-e.d.b;Hdt(t)}function I5(t){var e;return(!t.c||0==(1&t.Bb)&&0!=(64&t.c.Db))&&MI(e=fat(t),88)&&(t.c=VP(e,26)),t.c}function L5(t){var e,n,i;e=1+~t.l&qEt,n=~t.m+(0==e?1:0)&qEt,i=~t.h+(0==e&&0==n?1:0)&HEt,t.l=e,t.m=n,t.h=i}function O5(t){var e,n,i,r,a;for(e=new Sx,r=0,a=(i=t).length;r<a;++r)n=i[r],e.a+=n.a,e.b+=n.b;return e}function D5(t,e){var n,i,r,a,o;for(Gq(),o=!1,r=0,a=(i=e).length;r<a;++r)n=i[r],o|=t.Fc(n);return o}function N5(t){var e,n;for(cpt(),n=-17976931348623157e292,e=0;e<t.length;e++)t[e]>n&&(n=t[e]);return n}function P5(t,e,n){var i;return Sgt(t,e,i=new iw,(Mxt(),_ie),!0,!1),Sgt(t,n,i,Hie,!1,!1),i}function B5(t,e,n){var i,r;return r=aG(e,"labels"),function(t,e,n){var i,r,a,o;if(n)for(r=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);r.Ob();)(a=oG(n,VP(r.Pb(),19).a))&&(o=Z1(cG(a,YNt),e),Pz(t.f,o,a),aPt in a.a&&O0(o,cG(a,aPt)),ist(a,o),rlt(a,o))}((i=new LS(t,n)).a,i.b,r),r}function F5(t,e){var n;for(n=0;n<t.a.a.length;n++)if(!VP(TF(t.a,n),169).Lb(e))return!1;return!0}function $5(t){var e,n,i;for(Gq(),i=1,n=t.Kc();n.Ob();)i=31*i+(null!=(e=n.Pb())?K5(e):0),i|=0;return i}function j5(t,e,n,i,r){var a;return a=nft(t,e),n&&L5(a),r&&(t=function(t,e){var n,i,r;return e<=22?(n=t.l&(1<<e)-1,i=r=0):e<=44?(n=t.l,i=t.m&(1<<e-22)-1,r=0):(n=t.l,i=t.m,r=t.h&(1<<e-44)-1),rI(n,i,r)}(t,e),Ajt=i?l5(t):rI(t.l,t.m,t.h)),a}function R5(t,e,n){var i,r;return MI(e,144)&&n?(i=VP(e,144),r=n,t.a[i.b][r.b]+t.a[r.b][i.b]):0}function z5(t,e){switch(e){case 7:return!!t.e&&0!=t.e.i;case 8:return!!t.d&&0!=t.d.i}return U9(t,e)}function q5(t,e,n){t.g=wut(t,e,(Mxt(),_ie),t.b),t.d=wut(t,n,_ie,t.b),0!=t.g.c&&0!=t.d.c&&ict(t)}function H5(t,e,n){t.g=wut(t,e,(Mxt(),Hie),t.j),t.d=wut(t,n,Hie,t.j),0!=t.g.c&&0!=t.d.c&&ict(t)}function Z5(t){var e;return vz(t),e=new ct,t.a.sd(e)?(HI(),new Lm(yz(e.a))):(HI(),HI(),zRt)}function U5(t){var e;return!(t.b<=0)&&((e=WA("MLydhHmsSDkK",wst(Gz(t.c,0))))>1||e>=0&&t.b<3)}function Y5(t){var e,n;for(e=new Ny,n=tnt(t,0);n.b!=n.d.c;)LO(e,0,new hM(VP(AG(n),8)));return e}function G5(t){var e;for(e=new wd(t.a.b);e.a<e.c.c.length;)VP(qU(e),81).f.$b();Dm(t.b,t),agt(t)}function K5(t){return oA(t)?Knt(t):aA(t)?JA(t):rA(t)?(yz(t),t?1231:1237):A$(t)?t.Hb():s$(t)?jL(t):uH(t)}function W5(t){return oA(t)?fRt:aA(t)?Hjt:rA(t)?Fjt:A$(t)||s$(t)?t.gm:t.gm||Array.isArray(t)&&Zv(bjt,1)||bjt}function X5(t){if(0===t.g)return new os;throw lw(new Xm(XOt+(null!=t.f?t.f:""+t.g)))}function V5(t){if(0===t.g)return new rs;throw lw(new Xm(XOt+(null!=t.f?t.f:""+t.g)))}function Q5(t,e,n){if(0===e)return!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),void S3(t.o,n);Xut(t,e,n)}function J5(t,e,n){this.g=t,this.e=new Sx,this.f=new Sx,this.d=new T_,this.b=new T_,this.a=e,this.c=n}function t6(t,e,n,i){this.b=new iw,this.n=new iw,this.i=i,this.j=n,this.s=t,this.t=e,this.r=0,this.d=0}function e6(t){this.e=t,this.d=new fK(this.e.g),this.a=this.d,this.b=T4(this),this.$modCount=t.$modCount}function n6(t){for(;!t.d||!t.d.Ob();){if(!t.b||rv(t.b))return null;t.d=VP(Oj(t.b),47)}return t.d}function i6(t){switch(t.g){case 1:return nOt;default:case 2:return 0;case 3:return gSt;case 4:return iOt}}function r6(){var t;return Nkt(),qce||(t=function(t){return new aK(3,t)}(Uxt("M",!0)),t=WF(Uxt("M",!1),t),qce=t)}function a6(t,e){var n,i,r;for(r=t.b;r;){if(0==(n=t.a.ue(e,r.d)))return r;i=n<0?0:1,r=r.a[i]}return null}function o6(t,e){return!!zdt(t,e)&&(Vlt(t.b,VP(Ost(e,(Lkt(),cXt)),21),e),$B(t.a,e),!0)}function s6(t){return hzt?WX(azt,LTt,572,0,0,1):VP(Het(t.a,WX(azt,LTt,572,t.a.c.length,0,1)),842)}function c6(t,e,n){var i;return p0(i=new Uy,e,n),hV((!t.q&&(t.q=new mj(hoe,t,11,10)),t.q),i),i}function u6(t){var e,n,i,r;for(n=(r=function(t,e){return e.split(t)}(Yre,t)).length,i=WX(fRt,T_t,2,n,6,1),e=0;e<n;++e)i[e]=r[e];return i}function l6(t,e){var n,i,r,a,o;for(r=0,a=(i=e).length;r<a;++r)n=i[r],o=new GR(t),n.Qe(o),Yyt(o);Yj(t.f)}function h6(t,e){var n;return e===t||!!MI(e,224)&&(n=VP(e,224),X7(t.Zb(),n.Zb()))}function f6(t,e){var n;2*e+1>=t.b.c.length||(f6(t,2*e+1),(n=2*e+2)<t.b.c.length&&f6(t,n),llt(t,e))}function d6(t,e,n){var i,r;this.g=t,this.c=e,this.a=this,this.d=this,r=Y0(n),i=WX(fjt,Z_t,330,r,0,1),this.b=i}function g6(t,e,n){var i;for(i=n-1;i>=0&&t[i]===e[i];i--);return i<0?0:DE(ZU(t[i],cTt),ZU(e[i],cTt))?-1:1}function p6(t,e){var n,i;return i=VP(q3(t.a,4),126),n=WX(Iae,mBt,415,e,0,1),null!=i&&lmt(i,0,n,0,i.length),n}function b6(t,e){var n;return n=new Bpt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,e),null!=t.e||(n.c=t),n}function w6(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)if(Pit(t,a,o))return!0;return!1}function y6(t,e,n){var i,r,a,o;for(yz(n),o=!1,a=t.Zc(e),r=n.Kc();r.Ob();)i=r.Pb(),a.Rb(i),o=!0;return o}function m6(t,e,n){var i,r;for(r=n.Kc();r.Ob();)if(i=VP(r.Pb(),42),t.re(e,i.dd()))return!0;return!1}function v6(t,e,n){return t.d[e.p][n.p]||(function(t,e,n){if(t.e)switch(t.b){case 1:!function(t,e,n){t.i=0,t.e=0,e!=n&&q5(t,e,n)}(t.c,e,n);break;case 0:!function(t,e,n){t.i=0,t.e=0,e!=n&&H5(t,e,n)}(t.c,e,n)}else VG(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function x6(t,e){if(!t.ai()&&null==e)throw lw(new Xm("The 'no null' constraint is violated"));return e}function k6(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),q0(t,null==e?null:(yz(e),e)),t.C&&t.yk(null)}function _6(t,e){return!(!t||t==e||!IO(e,(Lkt(),mXt)))&&VP(Ost(e,(Lkt(),mXt)),10)!=t}function E6(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function T6(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function C6(t){yZ.call(this,"The given string does not match the expected format for individual spacings.",t)}function S6(){S6=I,kre=new vS("ELK",0),_re=new vS("JSON",1),xre=new vS("DOT",2),Ere=new vS("SVG",3)}function A6(){A6=I,E6t=new BC(fAt,0),T6t=new BC("RADIAL_COMPACTION",1),C6t=new BC("WEDGE_COMPACTION",2)}function M6(){M6=I,ozt=new RE("CONCURRENT",0),szt=new RE("IDENTITY_FINISH",1),czt=new RE("UNORDERED",2)}function I6(){I6=I,z_(),_Ht=new RA(iSt,EHt=mHt),kHt=new Ib(rSt),THt=new Ib(aSt),CHt=new Ib(oSt)}function L6(){L6=I,SGt=new ki,AGt=new _i,CGt=new Ei,TGt=new Ti,yz(new Ci),EGt=new B}function O6(){O6=I,w3t=new fC("CONSERVATIVE",0),y3t=new fC("CONSERVATIVE_SOFT",1),m3t=new fC("SLOPPY",2)}function D6(){D6=I,Ine=new FM(15),Mne=new BM((Ikt(),cee),Ine),Lne=Lee,Tne=xte,Cne=Jte,Ane=nee,Sne=eee}function N6(t,e,n){var i,r;for(i=new T_,r=tnt(n,0);r.b!=r.d.c;)$B(i,new hM(VP(AG(r),8)));y6(t,e,i)}function P6(t){var e;return!t.a&&(t.a=new mj(uoe,t,9,5)),0!=(e=t.a).i?function(t){return t.b?t.b:t.a}(VP(a1(e,0),678)):null}function B6(t,e){var n;return n=e9(t,e),DE(YU(t,e),0)|function(t,e){return x7(t,e)>=0}(YU(t,n),0)?n:e9(M_t,YU(Y$(n,63),1))}function F6(t,e){var n,i;if(0!=(i=t.c[e]))for(t.c[e]=0,t.d-=i,n=e+1;n<t.a.length;)t.a[n]-=i,n+=n&-n}function $6(t){var e;if((e=t.a.c.length)>0)return ij(e-1,t.a.c.length),$W(t.a,e-1);throw lw(new Fw)}function j6(t,e,n){if(t>e)throw lw(new Xm(PTt+t+BTt+e));if(t<0||e>n)throw lw(new Sv(PTt+t+FTt+e+CTt+n))}function R6(t){if(!t.a||0==(8&t.a.i))throw lw(new Vm("Enumeration class expected for layout option "+t.f))}function z6(t){var e;++t.j,0==t.i?t.g=null:t.i<t.g.length&&(e=t.g,t.g=t.ri(t.i),lmt(e,0,t.g,0,t.i))}function q6(t,e,n){var i;return iU(e,t.c.length),0!=(i=n.Pc()).length&&(uB(t.c,e,i),!0)}function H6(t,e,n){var i,r,a,o;for(a=0,o=(r=n).length;a<o;++a)if(i=r[a],t.b.re(e,i.cd()))return i;return null}function Z6(t){var e,n,i,r,a;for(a=1,i=0,r=(n=t).length;i<r;++i)a=31*a+(null!=(e=n[i])?K5(e):0),a|=0;return a}function U6(t){var e,n,i,r,a;for(e={},r=0,a=(i=t).length;r<a;++r)e[":"+(null!=(n=i[r]).f?n.f:""+n.g)]=n;return e}function Y6(t){var e,n,i;for(i=0,n=new O$(dL(t.a.Kc(),new l));Xht(n);)(e=VP(xW(n),17)).c.i==e.d.i||++i;return i}function G6(t,e){var n,i,r;for(n=t,r=0;;){if(n==e)return r;if(!(i=n.e))throw lw(new Ow);n=pz(i),++r}}function K6(t,e){var n,i,r;for(r=e-t.f,i=new wd(t.d);i.a<i.c.c.length;)Dtt(n=VP(qU(i),443),n.e,n.f+r);t.f=e}function W6(t,e,i){return n.Math.abs(e-t)<eOt||n.Math.abs(i-t)<eOt||(e-t>eOt?t-i>eOt:i-t>eOt)}function X6(t,e){return t?e&&!t.j||MI(t,124)&&0==VP(t,124).a.b?0:t.Re():0}function V6(t,e){return t?e&&!t.k||MI(t,124)&&0==VP(t,124).a.a?0:t.Se():0}function Q6(t){return gpt(),t<0?-1!=t?new _nt(-1,-t):dRt:t<=10?pRt[cZ(t)]:new _nt(1,t)}function J6(t){throw r5(),lw(new Mm("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function t7(t){yv(),kI(this),Hq(this),this.e=t,Igt(this,t),this.g=null==t?s_t:A9(t),this.a="",this.b=t,this.a=""}function e7(){this.a=new es,this.f=new $p(this),this.b=new jp(this),this.i=new Rp(this),this.e=new zp(this)}function n7(){ym.call(this,new eV(AJ(16))),b0(2,E_t),this.b=2,this.a=new Az(null,null,0,null),xw(this.a,this.a)}function i7(){i7=I,v2t=new nC("DUMMY_NODE_OVER",0),x2t=new nC("DUMMY_NODE_UNDER",1),k2t=new nC("EQUAL",2)}function r7(){r7=I,cUt=xZ(P4(Zv(une,1),K_t,103,0,[(e8(),tne),ene])),uUt=xZ(P4(Zv(une,1),K_t,103,0,[ine,Jee]))}function a7(t){return(Mxt(),Pie).Hc(t.j)?ev(hD(Ost(t,(Lkt(),KXt)))):O5(P4(Zv(q9t,1),T_t,8,0,[t.i.n,t.n,t.a])).b}function o7(t,e){var n,i;n=t.nk(e,null),i=null,e&&(Fx(),d1(i=new sw,t.r)),(n=fst(t,i,n))&&n.Fi()}function s7(t,e){var n,i,r;return i=!1,n=e.q.d,e.d<t.b&&(r=qdt(e.q,t.b),e.q.d>r&&(lot(e.q,r),i=n!=e.q.d)),i}function c7(t,e){var i,r,a,o,s;return o=e.i,s=e.j,r=o-(i=t.f).i,a=s-i.j,n.Math.sqrt(r*r+a*a)}function u7(t,e){var n;return(n=ret(t))||(!Gre&&(Gre=new Ic),Imt(),hV((n=new Vb(But(e))).Vk(),t)),n}function l7(t,e){var n,i;return(n=VP(t.c.Bc(e),14))?((i=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(i)):t.jc()}function h7(t,e){var n;for(n=0;n<e.length;n++)if(t==(DU(n,e.length),e.charCodeAt(n)))return!0;return!1}function f7(t,e){var n;for(n=0;n<e.length;n++)if(t==(DU(n,e.length),e.charCodeAt(n)))return!0;return!1}function d7(t){var e;if(0!=t.c)return t.c;for(e=0;e<t.a.length;e++)t.c=33*t.c+(-1&t.a[e]);return t.c=t.c*t.e,t.c}function g7(t){var e;return CO(t.a!=t.b),e=t.d.a[t.a],_O(t.b==t.d.c&&null!=e),t.c=t.a,t.a=t.a+1&t.d.a.length-1,e}function p7(t){var e;return c4(e=new uI(t.a),t),d5(e,(Lkt(),IXt),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function b7(t,e,n,i){var r,a;for(a=t.Kc();a.Ob();)(r=VP(a.Pb(),70)).n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+n}function w7(t,e,n){var i;for(i=e.a.a.ec().Kc();i.Ob();)if(dH(t,VP(i.Pb(),57),n))return!0;return!1}function y7(t){var e,n;for(n=new wd(t.r);n.a<n.c.c.length;)if(e=VP(qU(n),10),t.n[e.p]<=0)return e;return null}function m7(t){var e,n;for(n=new Xw,e=new wd(t);e.a<e.c.c.length;)M2(n,apt(VP(qU(e),33)));return n}function v7(t,e,n){var i;i=new wht(t,e),Vlt(t.r,e.Hf(),i),n&&!aj(t.u)&&(i.c=new nZ(t.d),KJ(e.wf(),new Vd(i)))}function x7(t,e){var n;return eM(t)&&eM(e)&&(n=t-e,!isNaN(n))?n:wat(eM(t)?K3(t):t,eM(e)?K3(e):e)}function k7(t,e){return e<t.length&&(DU(e,t.length),63!=t.charCodeAt(e))&&(DU(e,t.length),35!=t.charCodeAt(e))}function _7(t,e,n,i){var r,a;t.a=e,a=i?0:1,t.f=(r=new Yct(t.c,t.a,n,a),new jpt(n,t.a,r,t.e,t.b,t.c==(f0(),Y3t)))}function E7(t,e,n){var i,r;return r=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,1,r,e),n?n.Ei(i):n=i),n}function T7(t,e,n){var i,r;return r=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,3,r,e),n?n.Ei(i):n=i),n}function C7(t,e,n){var i,r;return r=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,0,r,e),n?n.Ei(i):n=i),n}function S7(t,e){var n,i,r,a;return(a=Vut((i=e,(r=t?ret(t):null)&&r.Xk(),i)))==e&&(n=ret(t))&&n.Xk(),a}function A7(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function M7(t){var e,n,i,r;if(null!=t)for(n=0;n<t.length;++n)if(e=t[n])for(VP(e.g,367),r=e.i,i=0;i<r;++i);}function I7(){I7=I,Dne=new iS("INHERIT",0),One=new iS("INCLUDE_CHILDREN",1),Nne=new iS("SEPARATE_CHILDREN",2)}function L7(t,e){switch(e){case 1:return!t.n&&(t.n=new mj(oae,t,1,7)),void Hmt(t.n);case 2:return void O0(t,null)}X4(t,e)}function O7(t){switch(t.gc()){case 0:return njt;case 1:return new wF(TR(t.Xb(0)));default:return new LH(t)}}function D7(t){switch(wP(),t.gc()){case 0:return XR(),hjt;case 1:return new Tv(t.Kc().Pb());default:return new zE(t)}}function N7(t){switch(wP(),t.c){case 0:return XR(),hjt;case 1:return new Tv(mlt(new E_(t)));default:return new km(t)}}function P7(t,e){TR(t);try{return t.xc(e)}catch(t){if(MI(t=k4(t),205)||MI(t,173))return null;throw lw(t)}}function B7(t,e){TR(t);try{return t.Hc(e)}catch(t){if(MI(t=k4(t),205)||MI(t,173))return!1;throw lw(t)}}function F7(t,e){TR(t);try{return t._b(e)}catch(t){if(MI(t=k4(t),205)||MI(t,173))return!1;throw lw(t)}}function $7(t,e){t.a.c.length>0&&o6(VP(EF(t.a,t.a.c.length-1),570),e)||nB(t.a,new iW(e))}function j7(t){var e;return(e=new Lv).a+="VerticalSegment ",mA(e,t.e),e.a+=" ",vA(e,fL(new Ev,new wd(t.k))),e.a}function R7(t){var e;return(e=VP(YQ(t.c.c,""),229))||(e=new pU(cx(sx(new ys,""),"Other")),Uet(t.c.c,"",e)),e}function z7(t){var e;return 0!=(64&t.Db)?jft(t):((e=new TL(jft(t))).a+=" (name: ",wA(e,t.zb),e.a+=")",e.a)}function q7(t,e,n){var i,r;return r=t.sb,t.sb=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,4,r,e),n?n.Ei(i):n=i),n}function H7(t,e){var n,i;for(n=0,i=i9(t,e).Kc();i.Ob();)n+=null!=Ost(VP(i.Pb(),11),(Lkt(),$Xt))?1:0;return n}function Z7(t,e,n){var i,r,a;for(i=0,a=tnt(t,0);a.b!=a.d.c&&!((r=ev(hD(AG(a))))>n);)r>=e&&++i;return i}function U7(t,e,n){var i,r;return r=t.r,t.r=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,8,r,t.r),n?n.Ei(i):n=i),n}function Y7(t,e){var n,i;return!(i=(n=VP(e,676)).vk())&&n.wk(i=MI(e,88)?new YS(t,VP(e,26)):new mY(t,VP(e,148))),i}function G7(t,e,n){var i;t.qi(t.i+1),i=t.oi(e,n),e!=t.i&&lmt(t.g,e,t.g,e+1,t.i-e),BR(t.g,e,i),++t.i,t.bi(e,n),t.ci()}function K7(t,e){var n;return n=new ct,t.a.sd(n)?(HI(),new Lm(yz(hQ(t,n.a,e)))):(vz(t),HI(),HI(),zRt)}function W7(t,e){switch(e.g){case 2:case 1:return i9(t,e);case 3:case 4:return A3(i9(t,e))}return Gq(),Gq(),TRt}function X7(t,e){return oA(t)?jN(t,e):aA(t)?$N(t,e):rA(t)?(yz(t),iA(t)===iA(e)):A$(t)?t.Fb(e):s$(t)?KA(t,e):QU(t,e)}function V7(t,e,n,i,r){0!=e&&0!=i&&(1==e?r[i]=Unt(r,n,i,t[0]):1==i?r[e]=Unt(r,t,e,n[0]):function(t,e,n,i,r){var a,o,s,c;if(iA(t)!==iA(e)||i!=r)for(s=0;s<i;s++){for(o=0,a=t[s],c=0;c<r;c++)o=e9(e9(n9(ZU(a,cTt),ZU(e[c],cTt)),ZU(n[s+c],cTt)),ZU(KF(o),cTt)),n[s+c]=KF(o),o=Y$(o,32);n[s+r]=KF(o)}else fwt(t,i,n)}(t,n,r,e,i))}function Q7(t,e){var n;0!=t.c.length&&(sM(n=VP(Het(t,WX(UUt,kAt,10,t.c.length,0,1)),193),new In),tht(n,e))}function J7(t,e){var n;0!=t.c.length&&(sM(n=VP(Het(t,WX(UUt,kAt,10,t.c.length,0,1)),193),new Ln),tht(n,e))}function t8(t,e,n,i){switch(e){case 1:return!t.n&&(t.n=new mj(oae,t,1,7)),t.n;case 2:return t.k}return Crt(t,e,n,i)}function e8(){e8=I,nne=new JC(CCt,0),ene=new JC(kCt,1),tne=new JC(xCt,2),Jee=new JC(DCt,3),ine=new JC("UP",4)}function n8(){n8=I,MUt=new pT(fAt,0),AUt=new pT("INSIDE_PORT_SIDE_GROUPS",1),SUt=new pT("FORCE_MODEL_ORDER",2)}function i8(t,e,n){if(t<0||e>n)throw lw(new qm(PTt+t+FTt+e+", size: "+n));if(t>e)throw lw(new Xm(PTt+t+BTt+e))}function r8(t,e,n){if(e<0)Elt(t,n);else{if(!n.Ij())throw lw(new Xm(vNt+n.ne()+xNt));VP(n,66).Nj().Vj(t,t.yh(),e)}}function a8(t,e,n,i,r,a){this.e=new iw,this.f=(l0(),a3t),nB(this.e,t),this.d=e,this.a=n,this.b=i,this.f=r,this.c=a}function o8(t,e){var n,i;for(i=new YI(t);i.e!=i.i.gc();)if(n=VP(hnt(i),26),iA(e)===iA(n))return!0;return!1}function s8(t){return t>=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function c8(t){var e;return 0!=(64&t.Db)?jft(t):((e=new TL(jft(t))).a+=" (source: ",wA(e,t.d),e.a+=")",e.a)}function u8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,2,n,e))}function l8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,8,n,e))}function h8(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,8,n,e))}function f8(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,3,n,e))}function d8(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,9,n,e))}function g8(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):ett(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function p8(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(JB(),Ujt)[e])&&(n=Ujt[e]=new rd(t)),n):new rd(t)}function b8(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(gF(),tRt)[e])&&(n=tRt[e]=new od(t)),n):new od(t)}function w8(t){var e;return t.k==(gct(),RUt)&&((e=VP(Ost(t,(Lkt(),hXt)),61))==(Mxt(),Eie)||e==zie)}function y8(t,e,n){var i,r;return(r=Hft(t.b,e))&&(i=VP(Mmt(CQ(t,r),""),26))?Nft(t,i,e,n):null}function m8(t,e){var n,i;for(i=new YI(t);i.e!=i.i.gc();)if(n=VP(hnt(i),138),iA(e)===iA(n))return!0;return!1}function v8(t,e,n){var i;if(e>(i=t.gc()))throw lw(new kN(e,i));if(t.hi()&&t.Hc(n))throw lw(new Xm(kPt));t.Xh(e,n)}function x8(t,e){var n;if(MI(n=Qdt(t,e),322))return VP(n,34);throw lw(new Xm(vNt+e+"' is not a valid attribute"))}function k8(t){var e,n,i;for(e=new iw,i=new wd(t.b);i.a<i.c.c.length;)n=VP(qU(i),594),C4(e,VP(n.jf(),14));return e}function _8(t){switch(VP(Ost(t,(Lkt(),yXt)),303).g){case 1:d5(t,yXt,(LQ(),zWt));break;case 2:d5(t,yXt,(LQ(),HWt))}}function E8(t){var e;t.g&&(Bgt((e=t.c.Rf()?t.f:t.a).a,t.o,!0),Bgt(e.a,t.o,!1),d5(t.o,(wkt(),w0t),($ot(),sie)))}function T8(t){var e;if(!t.a)throw lw(new Vm("Cannot offset an unassigned cut."));e=t.c-t.b,t.b+=e,Jq(t,e),Qq(t,e)}function C8(t){var e,n;for(n=t.p.a.ec().Kc();n.Ob();)if((e=VP(n.Pb(),213)).f&&t.b[e.c]<-1e-10)return e;return null}function S8(t,e){switch(t.b.g){case 0:case 1:return e;case 2:case 3:return new mq(e.d,0,e.a,e.b);default:return null}}function A8(t){switch(t.g){case 2:return ene;case 1:return tne;case 4:return Jee;case 3:return ine;default:return nne}}function M8(t){switch(t.g){case 1:return Hie;case 2:return Eie;case 3:return _ie;case 4:return zie;default:return qie}}function I8(t){switch(t.g){case 1:return zie;case 2:return Hie;case 3:return Eie;case 4:return _ie;default:return qie}}function L8(t){switch(t.g){case 1:return _ie;case 2:return zie;case 3:return Hie;case 4:return Eie;default:return qie}}function O8(t,e){return t<e?-1:t>e?1:t==e?0==t?O8(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function D8(t,e,n){var i,r;return t.ej()?(r=t.fj(),i=Xlt(t,e,n),t.$i(t.Zi(7,p8(n),i,e,r)),i):Xlt(t,e,n)}function N8(t,e){var n,i,r;null==t.d?(++t.e,--t.f):(r=e.cd(),function(t,e,n){++t.e,--t.f,VP(t.d[e].$c(n),133).dd()}(t,i=((n=e.Sh())&Qkt)%t.d.length,qft(t,i,n,r)))}function P8(t,e){var n;n=0!=(t.Bb&FNt),e?t.Bb|=FNt:t.Bb&=-1025,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,10,n,e))}function B8(t,e){var n;n=0!=(t.Bb&eTt),e?t.Bb|=eTt:t.Bb&=-4097,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,12,n,e))}function F8(t,e){var n;n=0!=(t.Bb&RBt),e?t.Bb|=RBt:t.Bb&=-8193,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,15,n,e))}function $8(t,e){var n;n=0!=(t.Bb&zBt),e?t.Bb|=zBt:t.Bb&=-2049,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,11,n,e))}function j8(t){var e,n;for(n=Xft(i1(t)).Kc();n.Ob();)if(bwt(t,e=fD(n.Pb())))return pK((wE(),Qae),e);return null}function R8(t,e,n){var i;if(t.c)Ast(t.c,e,n);else for(i=new wd(t.b);i.a<i.c.c.length;)R8(VP(qU(i),157),e,n)}function z8(t,e){var n,i;for(i=new wd(e);i.a<i.c.c.length;)n=VP(qU(i),46),sQ(t.b.b,n.b),pH(VP(n.a,189),VP(n.b,81))}function q8(t,e){var n;n=0!=(t.Bb&C_t),e?t.Bb|=C_t:t.Bb&=-16385,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,16,n,e))}function H8(t,e){var n;n=0!=(t.Bb&CNt),e?t.Bb|=CNt:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,18,n,e))}function Z8(t,e){var n;n=0!=(t.Bb&CNt),e?t.Bb|=CNt:t.Bb&=-32769,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,18,n,e))}function U8(t,e){var n;n=0!=(t.Bb&iTt),e?t.Bb|=iTt:t.Bb&=-65537,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new IW(t,1,20,n,e))}function Y8(t){var e;return e=WX(Gce,lEt,25,2,15,1),t-=iTt,e[0]=(t>>10)+rTt&fEt,e[1]=56320+(1023&t)&fEt,Wtt(e,0,e.length)}function G8(t){var e;return(e=VP(Ost(t,(wkt(),s1t)),103))==(e8(),nne)?ev(hD(Ost(t,$Jt)))>=1?ene:Jee:e}function K8(t){if(t.c)K8(t.c);else if(t.d)throw lw(new Vm("Stream already terminated, can't be modified or used"))}function W8(t){var e;return 0!=(64&t.Db)?jft(t):((e=new TL(jft(t))).a+=" (identifier: ",wA(e,t.k),e.a+=")",e.a)}function X8(t,e,n){var i;return Px(),A1(i=new ac,e),M1(i,n),t&&hV((!t.a&&(t.a=new GI(Xre,t,5)),t.a),i),i}function V8(t,e,n,i){var r,a;return yz(i),yz(n),null==(a=null==(r=t.xc(e))?n:S_(VP(r,15),VP(n,14)))?t.Bc(e):t.zc(e,a),a}function Q8(t){var e,n,i,r;return t2(n=new aP(e=VP(Lx((r=(i=t.gm).f)==cjt?i:r),9),VP(nN(e,e.length),9),0),t),n}function J8(t,e,n){var i,r;for(r=t.a.ec().Kc();r.Ob();)if(i=VP(r.Pb(),10),m4(n,VP(EF(e,i.p),14)))return i;return null}function t9(t,e){var n;return eM(t)&&eM(e)&&KEt<(n=t-e)&&n<YEt?n:O3(v4(eM(t)?K3(t):t,eM(e)?K3(e):e))}function e9(t,e){var n;return eM(t)&&eM(e)&&KEt<(n=t+e)&&n<YEt?n:O3(function(t,e){var n,i,r;return n=t.l+e.l,i=t.m+e.m+(n>>22),r=t.h+e.h+(i>>22),rI(n&qEt,i&qEt,r&HEt)}(eM(t)?K3(t):t,eM(e)?K3(e):e))}function n9(t,e){var n;return eM(t)&&eM(e)&&KEt<(n=t*e)&&n<YEt?n:O3(function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return n=8191&t.l,i=t.l>>13|(15&t.m)<<9,r=t.m>>4&8191,a=t.m>>17|(255&t.h)<<5,o=(1048320&t.h)>>8,b=i*(s=8191&e.l),w=r*s,y=a*s,m=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(b+=n*c,w+=i*c,y+=r*c,m+=a*c),0!=(u=e.m>>4&8191)&&(w+=n*u,y+=i*u,m+=r*u),0!=(l=e.m>>17|(255&e.h)<<5)&&(y+=n*l,m+=i*l),0!=(h=(1048320&e.h)>>8)&&(m+=n*h),d=((p=n*s)>>22)+(b>>9)+((262143&w)<<4)+((31&y)<<17),g=(w>>18)+(y>>5)+((4095&m)<<8),g+=(d+=(f=(p&qEt)+((511&b)<<13))>>22)>>22,rI(f&=qEt,d&=qEt,g&=HEt)}(eM(t)?K3(t):t,eM(e)?K3(e):e))}function i9(t,e){var n;return t.i||xlt(t),(n=VP(Zz(t.g,e),46))?new IU(t.j,VP(n.a,19).a,VP(n.b,19).a):(Gq(),Gq(),TRt)}function r9(t,e,n){var i;return i=t.a.get(e),t.a.set(e,void 0===n?null:n),void 0===i?(++t.c,bH(t.b)):++t.d,i}function a9(){var t,e,i;Vot(),i=KRt+++Date.now(),t=cZ(n.Math.floor(i*_Tt))&TTt,e=cZ(i-t*ETt),this.a=1502^t,this.b=e^kTt}function o9(t){var e,n;for(e=new iw,n=new wd(t.j);n.a<n.c.c.length;)nB(e,VP(qU(n),11).b);return TR(e),new $A(e)}function s9(t){var e,n;for(e=new iw,n=new wd(t.j);n.a<n.c.c.length;)nB(e,VP(qU(n),11).e);return TR(e),new $A(e)}function c9(t){var e,n;for(e=new iw,n=new wd(t.j);n.a<n.c.c.length;)nB(e,VP(qU(n),11).g);return TR(e),new $A(e)}function u9(t){var e,n;for(n=function(t){var e,n,i,r,a,o,s;if((e=t.Hh(hFt))&&null!=(s=fD(vtt((!e.b&&(e.b=new UO((Bkt(),Boe),cse,e)),e.b),"settingDelegates")))){for(n=new iw,a=0,o=(r=Lbt(s,"\\w+")).length;a<o;++a)i=r[a],n.c[n.c.length]=i;return n}return Gq(),Gq(),TRt}(i1(qZ(t))).Kc();n.Ob();)if(bwt(t,e=fD(n.Pb())))return bK((yE(),soe),e);return null}function l9(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,63&(t+=t>>8)+(t>>16)}function h9(t){var e,n,i;for(e=new YD(t.Hd().gc()),i=0,n=SV(t.Hd().Kc());n.Ob();)GZ(e,n.Pb(),p8(i++));return function(t){var e;switch($z(),t.c.length){case 0:return ijt;case 1:return function(t,e){return $z(),wit(t,e),new Iz(t,e)}((e=VP(mlt(new wd(t)),42)).cd(),e.dd());default:return new _m(VP(Het(t,WX(rjt,F_t,42,t.c.length,0,1)),165))}}(e.a)}function f9(t,e){0==t.n.c.length&&nB(t.n,new bZ(t.s,t.t,t.i)),nB(t.b,e),Iit(VP(EF(t.n,t.n.c.length-1),211),e),cyt(t,e)}function d9(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=WX(G$t,r_t,1,0,5,1),C4(t.a,t.b),C4(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function g9(t,e){var n,i;for(i=0,n=VP(e.Kb(t),20).Kc();n.Ob();)tv(lD(Ost(VP(n.Pb(),17),(Lkt(),HXt))))||++i;return i}function p9(){p9=I,rVt=new aC(fAt,0),tVt=new aC("FIRST",1),eVt=new aC(ZAt,2),nVt=new aC("LAST",3),iVt=new aC(UAt,4)}function b9(){b9=I,gne=new eS(CCt,0),fne=new eS("POLYLINE",1),hne=new eS("ORTHOGONAL",2),dne=new eS("SPLINES",3)}function w9(){w9=I,g7t=new jC("ASPECT_RATIO_DRIVEN",0),p7t=new jC("MAX_SCALE_DRIVEN",1),d7t=new jC("AREA_DRIVEN",2)}function y9(){y9=I,i8t=new zC("P1_STRUCTURE",0),r8t=new zC("P2_PROCESSING_ORDER",1),a8t=new zC("P3_EXECUTION",2)}function m9(){m9=I,w6t=new NC("OVERLAP_REMOVAL",0),p6t=new NC("COMPACTION",1),b6t=new NC("GRAPH_SIZE_CALCULATION",2)}function v9(t,e){return GM(),c0(tEt),n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:XA(isNaN(t),isNaN(e))}function x9(t,e){var n,i;for(n=tnt(t,0);n.b!=n.d.c;){if((i=nv(hD(AG(n))))==e)return;if(i>e){TY(n);break}}cR(n,e)}function k9(t,e){var n,i,r,a,o;if(n=e.f,Uet(t.c.d,n,e),null!=e.g)for(a=0,o=(r=e.g).length;a<o;++a)i=r[a],Uet(t.c.e,i,e)}function _9(t,e,n,i){if(e<0)ydt(t,n,i);else{if(!n.Ij())throw lw(new Xm(vNt+n.ne()+xNt));VP(n,66).Nj().Tj(t,t.yh(),e,i)}}function E9(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw lw(new Xm("Node "+e+" not part of edge "+t))}function T9(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function C9(t,e,n,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return t8(t,e,n,i)}function S9(t){return t.k==(gct(),HUt)&&QK(new CF(null,new tR(new O$(dL(c9(t).a.Kc(),new l)))),new Hr)}function A9(t){return Array.isArray(t)&&t.im===M?Nx(W5(t))+"@"+(K5(t)>>>0).toString(16):t.toString()}function M9(t){var e;this.a=new aP(e=VP(t.e&&t.e(),9),VP(nN(e,e.length),9),0),this.b=WX(G$t,r_t,1,this.a.a.length,5,1)}function I9(t){var e,n,i;for(this.a=new cM,i=new wd(t);i.a<i.c.c.length;)n=VP(qU(i),14),r2(e=new HF,n),jj(this.a,e)}function L9(t){var e;if(t.b){if(L9(t.b),t.b.d!=t.c)throw lw(new Bw)}else t.d.dc()&&(e=VP(t.f.c.xc(t.e),14))&&(t.d=e)}function O9(t,e,n){var i,r;for(i=0,r=t.length;i<r;i++)if(o5((DU(i,t.length),t.charCodeAt(i)),e,n))return!0;return!1}function D9(t,e){var n,i;for(i=t.e.a.ec().Kc();i.Ob();)if(hct(e,(n=VP(i.Pb(),266)).d)||ilt(e,n.d))return!0;return!1}function N9(t,e){var i,r,a;for(a=(r=function(t,e){var i,r,a,o,s,c,u,l,h,f,d;for(a=2*ev(hD(Ost(u=pz(e.a),(wkt(),j0t)))),h=ev(hD(Ost(u,Y0t))),l=n.Math.max(a,h),o=WX(Qce,aTt,25,e.f-e.c+1,15,1),r=-l,i=0,c=e.b.Kc();c.Ob();)s=VP(c.Pb(),10),r+=t.a[s.c.p]+l,o[i++]=r;for(r+=t.a[e.a.c.p]+l,o[i++]=r,d=new wd(e.e);d.a<d.c.c.length;)f=VP(qU(d),10),r+=t.a[f.c.p]+l,o[i++]=r;return o}(t,e))[r.length-1]/2,i=0;i<r.length;i++)if(r[i]>=a)return e.c+i;return e.c+e.b.gc()}function P9(t,e){var n,i,r,a,o,s;for(i=0,n=0,o=0,s=(a=e).length;o<s;++o)(r=a[o])>0&&(i+=r,++n);return n>1&&(i+=t.d*(n-1)),i}function B9(t){var e,n,i;for((i=new Mv).a+="[",e=0,n=t.gc();e<n;)wA(i,PL(t.ki(e))),++e<n&&(i.a+=n_t);return i.a+="]",i.a}function F9(t){var e,n;for(n=ev(hD(t.a.We((Ikt(),Uee)))),e=new wd(t.a.xf());e.a<e.c.c.length;)Hxt(t,VP(qU(e),680),n)}function $9(t,e){var n,i;for(i=new wd(e);i.a<i.c.c.length;)n=VP(qU(i),46),nB(t.b.b,VP(n.b,81)),ZY(VP(n.a,189),VP(n.b,81))}function j9(t,e,i){var r;!(r=i)&&(r=PB(new om,0)),ast(r,aAt,2),Wnt(t.b,e,Q2(r,1)),function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(c=function(t){var e,n,i,r,a;for(e=new nw,n=new nw,IG(e,t),IG(n,t);n.b!=n.c;)for(a=new wd(VP(Oj(n),37).a);a.a<a.c.c.length;)(r=VP(qU(a),10)).e&&(IG(e,i=r.e),IG(n,i));return e}(e),VP(Ost(e,(wkt(),r1t)),314)!=(I0(),TKt)&&GK(c,new we),GK(c,new ag(VP(Ost(e,QJt),292))),d=0,u=new iw,r=new Wz(c);r.a!=r.b;)i=VP(g7(r),37),Dvt(t.c,i),d+=(h=VP(Ost(i,(Lkt(),RXt)),15)).gc(),nB(u,new mS(i,h.Kc()));for(ast(n,"Recursive hierarchical layout",d),f=VP(VP(EF(u,u.c.length-1),46).b,47);f.Ob();)for(s=new wd(u);s.a<s.c.c.length;)for(o=VP(qU(s),46),h=VP(o.b,47),a=VP(o.a,37);h.Ob();){if(MI(l=VP(h.Pb(),51),507)){if(a.e)break;l.pf(a,Q2(n,1));break}l.pf(a,Q2(n,1))}$ct(n)}(t,e,Q2(r,1)),function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(ast(e,"Compound graph postprocessor",1),i=tv(lD(Ost(t,(wkt(),V0t)))),c=VP(Ost(t,(Lkt(),iXt)),224),h=new Xw,y=c.ec().Kc();y.Ob();){for(w=VP(y.Pb(),17),s=new uP(c.cc(w)),Gq(),QM(s,new cg(t)),k=H2((OU(0,s.c.length),VP(s.c[0],243))),E=Z2(VP(EF(s,s.c.length-1),243)),v=k.i,m=j3(E.i,v)?v.e:pz(v),f=ynt(w,s),zq(w.a),d=null,o=new wd(s);o.a<o.c.c.length;)a=VP(qU(o),243),but(b=new Sx,a.a,m),g=a.b,N6(r=new Ny,0,g.a),c1(r,b),x=new hM(BU(g.c)),_=new hM(BU(g.d)),mN(x,b),mN(_,b),d&&(0==r.b?p=_:(CO(0!=r.b),p=VP(r.a.a.c,8)),T=n.Math.abs(d.a-p.a)>ASt,C=n.Math.abs(d.b-p.b)>ASt,(!i&&T&&C||i&&(T||C))&&$B(w.a,x)),M2(w.a,r),0==r.b?d=x:(CO(0!=r.b),d=VP(r.c.b.c,8)),f4(g,f,b),Z2(a)==E&&(pz(E.i)!=a.a&&but(b=new Sx,pz(E.i),m),d5(w,QXt,b)),Cct(g,w,m),h.a.zc(g,h);VZ(w,k),XZ(w,E)}for(l=h.a.ec().Kc();l.Ob();)VZ(u=VP(l.Pb(),17),null),XZ(u,null);$ct(e)}(e,Q2(r,1)),$ct(r)}function R9(t,e,n,i,r,a){this.a=t,this.c=e,this.b=n,this.f=i,this.d=r,this.e=a,this.c>0&&this.b>0&&LF(this.c,this.b,this.a)}function z9(t){att(),this.c=BW(P4(Zv(m9t,1),r_t,831,0,[u2t])),this.b=new rw,this.a=t,Pz(this.b,l2t,1),KJ(h2t,new Xp(this))}function q9(t,e){var n;return t.d?Sj(t.b,e)?VP(zR(t.b,e),51):(n=e.Kf(),Pz(t.b,e,n),n):e.Kf()}function H9(t,e){var n;return iA(t)===iA(e)||!!MI(e,91)&&(n=VP(e,91),t.e==n.e&&t.d==n.d&&function(t,e){var n;for(n=t.d-1;n>=0&&t.a[n]===e[n];n--);return n<0}(t,n.a))}function Z9(t){switch(Mxt(),t.g){case 4:return Eie;case 1:return _ie;case 3:return zie;case 2:return Hie;default:return qie}}function U9(t,e){switch(e){case 3:return 0!=t.f;case 4:return 0!=t.g;case 5:return 0!=t.i;case 6:return 0!=t.j}return U3(t,e)}function Y9(t){switch(t.g){case 0:return new Zo;case 1:return new Go;default:throw lw(new Xm(zAt+(null!=t.f?t.f:""+t.g)))}}function G9(t){switch(t.g){case 0:return new cm;case 1:return new Dy;default:throw lw(new Xm(XOt+(null!=t.f?t.f:""+t.g)))}}function K9(t){var e,n,i;return(n=t.zg())?MI(e=t.Ug(),160)&&null!=(i=K9(VP(e,160)))?i+"."+n:n:null}function W9(t,e,n){var i,r;for(r=t.Kc();r.Ob();)if(i=r.Pb(),iA(e)===iA(i)||null!=e&&X7(e,i))return n&&r.Qb(),!0;return!1}function X9(t,e,n){var i,r;if(++t.j,n.dc())return!1;for(r=n.Kc();r.Ob();)i=r.Pb(),t.Hi(e,t.oi(e,i)),++e;return!0}function V9(t,e){var n;if(e){for(n=0;n<t.i;++n)if(VP(t.g[n],366).Di(e))return!1;return hV(t,e)}return!1}function Q9(t){var e,n,i;for(e=new Cf,i=new fd(t.b.Kc());i.b.Ob();)n=Zct(VP(i.b.Pb(),686)),iR(e,e.a.length,n);return e.a}function J9(t){var e;return!t.c&&(t.c=new Dt),QM(t.d,new Pt),function(t){var e,n,i,r,a,o,s;for(a=new Wx(VP(TR(new Bt),62)),s=tTt,n=new wd(t.d);n.a<n.c.c.length;){for(s=(e=VP(qU(n),222)).c.c;0!=a.a.c&&(o=VP(Rj(NV(a.a)),222)).c.c+o.c.b<s;)hZ(a.a,o);for(r=new ud(new bN(new YL(new cd(a.a).a).b));IE(r.a.a);)$B((i=VP(mO(r.a).cd(),222)).b,e),$B(e.b,i);C5(a.a,e,(EL(),Djt))}}(t),e=function(t){var e,i,r,a,o,s,c,u,l,h;for(l=t.a,e=new Xw,u=0,r=new wd(t.d);r.a<r.c.c.length;){for(h=0,A2((i=VP(qU(r),222)).b,new Lt),s=tnt(i.b,0);s.b!=s.d.c;)o=VP(AG(s),222),e.a._b(o)&&(a=i.c,h<(c=o.c).d+c.a+l&&h+a.a+l>c.d&&(h=c.d+c.a+l));i.c.d=h,e.a.zc(i,e),u=n.Math.max(u,i.c.d+i.c.a)}return u}(t),C_(new CF(null,new NU(t.d,16)),new Qd(t)),e}function ttt(t){var e;return 0!=(64&t.Db)?z7(t):((e=new TL(z7(t))).a+=" (instanceClassName: ",wA(e,t.D),e.a+=")",e.a)}function ett(t,e){var n,i,r;if(null==t.i&&lyt(t),n=t.i,-1!=(i=e.aj()))for(r=n.length;i<r;++i)if(n[i]==e)return i;return-1}function ntt(t){var e;switch(WR(),(e=t.Pc()).length){case 0:return njt;case 1:return new wF(TR(e[0]));default:return new LH(function(t){var e,n;for(e=0,n=t.length;e<n;e++)if(null==t[e])throw lw(new Jm("at index "+e));return new ov(t)}(e))}}function itt(t,e){switch(e.g){case 1:return XP(t.j,(X2(),WUt));case 2:return XP(t.j,(X2(),VUt));default:return Gq(),Gq(),TRt}}function rtt(t,e){switch(e){case 3:return void L1(t,0);case 4:return void O1(t,0);case 5:return void D1(t,0);case 6:return void N1(t,0)}L7(t,e)}function att(){att=I,rE(),wkt(),l2t=U0t,h2t=BW(P4(Zv(S9t,1),FLt,146,0,[N0t,P0t,F0t,$0t,z0t,q0t,H0t,Z0t,G0t,W0t,B0t,j0t,Y0t]))}function ott(t){var e,n;e=t.d==(yut(),dKt),n=Eot(t),d5(t.a,(wkt(),BJt),e&&!n||!e&&n?(Znt(),G9t):(Znt(),Y9t))}function stt(){stt=I,wre=new fS("SIMPLE",0),gre=new fS("GROUP_DEC",1),bre=new fS("GROUP_MIXED",2),pre=new fS("GROUP_INC",3)}function ctt(){ctt=I,ose=new Oc,Joe=new Dc,tse=new Nc,ese=new Pc,nse=new Bc,ise=new Fc,rse=new $c,ase=new jc,sse=new Rc}function utt(t,e,n){e1(),ky.call(this),this.a=hF(cqt,[T_t,vCt],[595,212],0,[pqt,gqt],2),this.c=new lM,this.g=t,this.f=e,this.d=n}function ltt(t,e){this.n=hF(Xce,[T_t,nTt],[364,25],14,[e,cZ(n.Math.ceil(t/32))],2),this.o=t,this.p=e,this.j=t-1>>1,this.k=e-1>>1}function htt(t,e,n){var i,r;for(i=ZU(n,cTt),r=0;0!=x7(i,0)&&r<e;r++)i=e9(i,ZU(t[r],cTt)),t[r]=KF(i),i=U$(i,32);return KF(i)}function ftt(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)DU(n,t.length),(e=t.charCodeAt(n))<64&&(r=UU(r,Z$(1,e)));return r}function dtt(t,e){return t.i>0&&(e.length<t.i&&(e=q1(W5(e).c,t.i)),lmt(t.g,0,e,0,t.i)),e.length>t.i&&BR(e,t.i,null),e}function gtt(t,e,n){var i,r,a;return t.ej()?(i=t.i,a=t.fj(),G7(t,i,e),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):G7(t,t.i,e),n}function ptt(t){var e;return SD(),e=new hM(VP(t.e.We((Ikt(),nee)),8)),t.B.Hc((Xbt(),are))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function btt(t){return Hnt(),(t.q?t.q:(Gq(),Gq(),CRt))._b((wkt(),Q1t))?VP(Ost(t,Q1t),197):VP(Ost(pz(t),J1t),197)}function wtt(t,e){var n,i;return i=null,IO(t,(wkt(),R0t))&&(n=VP(Ost(t,R0t),94)).Xe(e)&&(i=n.We(e)),null==i&&(i=Ost(pz(t),e)),i}function ytt(t,e){var n,i,r;return!!MI(e,42)&&(i=(n=VP(e,42)).cd(),dz(r=P7(t.Rc(),i),n.dd())&&(null!=r||t.Rc()._b(i)))}function mtt(t,e){var n;return t.f>0&&(t.qj(),-1!=qft(t,((n=null==e?0:K5(e))&Qkt)%t.d.length,n,e))}function vtt(t,e){var n,i;return t.f>0&&(t.qj(),n=iht(t,((i=null==e?0:K5(e))&Qkt)%t.d.length,i,e))?n.dd():null}function xtt(t,e){var n,i,r,a;for(a=bgt(t.e.Tg(),e),n=VP(t.g,119),r=0;r<t.i;++r)if(i=n[r],a.rl(i.ak()))return!1;return!0}function ktt(t){if(null==t.b){for(;t.a.Ob();)if(t.b=t.a.Pb(),!VP(t.b,49).Zg())return!0;return t.b=null,!1}return!0}function _tt(t,e){t.mj();try{t.d.Vc(t.e++,e),t.f=t.d.j,t.g=-1}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}}function Ett(t,e){var n,i;return YM(),i=null,e==(n=GD((mv(),mv(),vjt)))&&(i=VP(oZ(mjt,t),615)),i||(i=new YR(t),e==n&&ZZ(mjt,t,i)),i}function Ttt(t,e){var i,r;t.a=e9(t.a,1),t.c=n.Math.min(t.c,e),t.b=n.Math.max(t.b,e),t.d+=e,i=e-t.f,r=t.e+i,t.f=r-t.e-i,t.e=r}function Ctt(t,e){var n;return eM(t)&&eM(e)&&KEt<(n=t%e)&&n<YEt?n:O3((Jmt(eM(t)?K3(t):t,eM(e)?K3(e):e,!0),Ajt))}function Stt(t,e){var n;(function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(f=new wd(t);f.a<f.c.c.length;){for(rO((h=VP(qU(f),10)).n),rO(h.o),bX(h.f),hbt(h),$pt(h),g=new wd(h.j);g.a<g.c.c.length;){for(rO((d=VP(qU(g),11)).n),rO(d.a),rO(d.o),plt(d,Ait(d.j)),(r=VP(Ost(d,(wkt(),y0t)),19))&&d5(d,y0t,p8(-r.a)),i=new wd(d.g);i.a<i.c.c.length;){for(e=tnt((n=VP(qU(i),17)).a,0);e.b!=e.d.c;)rO(VP(AG(e),8));if(o=VP(Ost(n,D1t),74))for(a=tnt(o,0);a.b!=a.d.c;)rO(VP(AG(a),8));for(u=new wd(n.b);u.a<u.c.c.length;)rO((s=VP(qU(u),70)).n),rO(s.o)}for(l=new wd(d.f);l.a<l.c.c.length;)rO((s=VP(qU(l),70)).n),rO(s.o)}for(h.k==(gct(),RUt)&&(d5(h,(Lkt(),hXt),Ait(VP(Ost(h,hXt),61))),vgt(h)),c=new wd(h.b);c.a<c.c.c.length;)hbt(s=VP(qU(c),70)),rO(s.o),rO(s.n)}})(e),(n=VP(Ost(t,(wkt(),d1t)),276))&&d5(t,d1t,function(t){switch(t.g){case 0:return XKt;case 1:return VKt;case 2:return QKt;case 3:return JKt;case 4:return tWt;case 5:return eWt;default:return null}}(n)),rO(t.c),rO(t.f),bX(t.d),bX(VP(Ost(t,Y1t),207))}function Att(t){this.e=WX(Kce,CEt,25,t.length,15,1),this.c=WX(Wce,pCt,25,t.length,16,1),this.b=WX(Wce,pCt,25,t.length,16,1),this.f=0}function Mtt(t){var e;0!=t.c&&(1==(e=VP(EF(t.a,t.b),287)).b?(++t.b,t.b<t.a.c.length&&Gf(VP(EF(t.a,t.b),287))):--e.b,--t.c)}function Itt(){Itt=I,Kie=new FM(15),Gie=new BM((Ikt(),cee),Kie),Xie=new BM(Kee,15),Wie=new BM(Dee,p8(0)),Yie=new BM(vte,LSt)}function Ltt(){Ltt=I,Jie=new lS("PORTS",0),tre=new lS("PORT_LABELS",1),Qie=new lS("NODE_LABELS",2),Vie=new lS("MINIMUM_SIZE",3)}function Ott(t,e){var n,i;for(i=e.length,n=0;n<i;n+=2)Ygt(t,(DU(n,e.length),e.charCodeAt(n)),(DU(n+1,e.length),e.charCodeAt(n+1)))}function Dtt(t,e,n){var i,r,a,o;for(a=e-t.e,o=n-t.f,r=new wd(t.a);r.a<r.c.c.length;)Vnt(i=VP(qU(r),187),i.s+a,i.t+o);t.e=e,t.f=n}function Ntt(t,e){var n,i,r,a;return n=e>>5,e&=31,r=t.d+n+(0==e?0:1),function(t,e,n,i){var r,a,o;if(0==i)lmt(e,0,t,n,t.length-n);else for(o=32-i,t[t.length-1]=0,a=t.length-1;a>n;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<<i;for(r=0;r<n;r++)t[r]=0}(i=WX(Kce,CEt,25,r,15,1),t.a,n,e),CY(a=new Mj(t.e,r,i)),a}function Ptt(t,e,n){var i,r;i=VP(oZ(yce,e),117),r=VP(oZ(mce,e),117),n?(ZZ(yce,t,i),ZZ(mce,t,r)):(ZZ(mce,t,i),ZZ(yce,t,r))}function Btt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i>=0?a=a.a[1]:(r=a,a=a.a[0])}return r}function Ftt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i<=0?a=a.a[0]:(r=a,a=a.a[1])}return r}function $tt(t,e,n,i){var r,a,o;return r=!1,function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;return f=t.c[e],d=t.c[n],!((g=VP(Ost(f,(Lkt(),vXt)),15))&&0!=g.gc()&&g.Hc(d)||(p=f.k!=(gct(),qUt)&&d.k!=qUt,y=(b=VP(Ost(f,mXt),10))!=(w=VP(Ost(d,mXt),10)),m=!!b&&b!=f||!!w&&w!=d,v=Mit(f,(Mxt(),Eie)),x=Mit(d,zie),m|=Mit(f,zie)||Mit(d,Eie),p&&(m&&y||v||x))||f.k==(gct(),ZUt)&&d.k==HUt||d.k==(gct(),ZUt)&&f.k==HUt)&&(l=t.c[e],a=t.c[n],r=Oat(t.e,l,a,(Mxt(),Hie)),c=Oat(t.i,l,a,_ie),function(t,e,n){t.d=0,t.b=0,e.k==(gct(),ZUt)&&n.k==ZUt&&VP(Ost(e,(Lkt(),IXt)),10)==VP(Ost(n,IXt),10)&&(fQ(e).j==(Mxt(),Eie)?Wft(t,e,n):Wft(t,n,e)),e.k==ZUt&&n.k==qUt?fQ(e).j==(Mxt(),Eie)?t.d=1:t.b=1:n.k==ZUt&&e.k==qUt&&(fQ(n).j==(Mxt(),Eie)?t.b=1:t.d=1),function(t,e,n){e.k==(gct(),HUt)&&n.k==qUt&&(t.d=H7(e,(Mxt(),zie)),t.b=H7(e,Eie)),n.k==HUt&&e.k==qUt&&(t.d=H7(n,(Mxt(),Eie)),t.b=H7(n,zie))}(t,e,n)}(t.f,l,a),u=v6(t.b,l,a)+VP(r.a,19).a+VP(c.a,19).a+t.f.d,s=v6(t.b,a,l)+VP(r.b,19).a+VP(c.b,19).a+t.f.b,t.a&&(h=VP(Ost(l,IXt),11),o=VP(Ost(a,IXt),11),u+=VP((i=Frt(t.g,h,o)).a,19).a,s+=VP(i.b,19).a),u>s)}(t.f,n,i)&&(function(t,e,n){var i,r;Sst(t.e,e,n,(Mxt(),Hie)),Sst(t.i,e,n,_ie),t.a&&(r=VP(Ost(e,(Lkt(),IXt)),11),i=VP(Ost(n,IXt),11),eY(t.g,r,i))}(t.f,t.a[e][n],t.a[e][i]),o=(a=t.a[e])[i],a[i]=a[n],a[n]=o,r=!0),r}function jtt(t,e,n,i,r){var a,o,s;for(o=r;e.b!=e.c;)a=VP(Oj(e),10),s=VP(i9(a,i).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Rtt(t,e,i){var r,a,o,s,c;return s=t.k,c=e.k,a=hD(wtt(t,r=i[s.g][c.g])),o=hD(wtt(e,r)),n.Math.max((yz(a),a),(yz(o),o))}function ztt(t,e,n){var i,r,a;for(r=VP(zR(t.b,n),177),i=0,a=new wd(e.j);a.a<a.c.c.length;)r[VP(qU(a),113).d.p]&&++i;return i}function qtt(t){var e,n;return null!=(e=VP(q3(t.a,4),126))?(lmt(e,0,n=WX(Iae,mBt,415,e.length,0,1),0,e.length),n):Mae}function Htt(t,e){var n;for(n=new O$(dL(c9(t).a.Kc(),new l));Xht(n);)if(VP(xW(n),17).d.i.c==e)return!1;return!0}function Ztt(t,e){var n;if(MI(e,245)){n=VP(e,245);try{return 0==t.vd(n)}catch(t){if(!MI(t=k4(t),205))throw lw(t)}}return!1}function Utt(t,e){return GM(),GM(),c0(tEt),(n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:XA(isNaN(t),isNaN(e)))>0}function Ytt(t,e){return GM(),GM(),c0(tEt),(n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:XA(isNaN(t),isNaN(e)))<0}function Gtt(t,e){return GM(),GM(),c0(tEt),(n.Math.abs(t-e)<=tEt||t==e||isNaN(t)&&isNaN(e)?0:t<e?-1:t>e?1:XA(isNaN(t),isNaN(e)))<=0}function Ktt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var i=e[n++];n<e.length;n++)e[n]&&""!=e[n]&&(i+=t+e[n]);return i}function Wtt(t,e,i){var r,a,o,s;for(VX(e,o=e+i,t.length),s="",a=e;a<o;)r=n.Math.min(a+1e4,o),s+=Nz(t.slice(a,r)),a=r;return s}function Xtt(t){var e,n,i,r;if(null==t)return null;for(r=new iw,n=0,i=(e=u6(t)).length;n<i;++n)nB(r,Xyt(e[n],!0));return r}function Vtt(t){var e,n,i,r;if(null==t)return null;for(r=new iw,n=0,i=(e=u6(t)).length;n<i;++n)nB(r,Xyt(e[n],!0));return r}function Qtt(t){var e,n,i,r;if(null==t)return null;for(r=new iw,n=0,i=(e=u6(t)).length;n<i;++n)nB(r,Xyt(e[n],!0));return r}function Jtt(t,e){var n,i,r;if(t.c)O1(t.c,e);else for(n=e-BF(t),r=new wd(t.d);r.a<r.c.c.length;)Jtt(i=VP(qU(r),157),BF(i)+n)}function tet(t,e){var n,i,r;if(t.c)L1(t.c,e);else for(n=e-PF(t),r=new wd(t.a);r.a<r.c.c.length;)tet(i=VP(qU(r),157),PF(i)+n)}function eet(t,e){var n,i;return t.qj(),(n=iht(t,((i=null==e?0:K5(e))&Qkt)%t.d.length,i,e))?(g0(t,n),n.dd()):null}function net(t){var e,n;for(n=Jct(t),e=null;2==t.c;)kkt(t),e||(Nkt(),Nkt(),$mt(e=new qM(2),n),n=e),n.$l(Jct(t));return n}function iet(t){if(!(aPt in t.a))throw lw(new lv("Every element must have an id."));return Plt(kZ(t,aPt))}function ret(t){var e,n,i;if(!(i=t.Zg()))for(e=0,n=t.eh();n;n=n.eh()){if(++e>oTt)return n.fh();if((i=n.Zg())||n==t)break}return i}function aet(t){return jZ(),MI(t,156)?VP(zR(Tae,PRt),288).vg(t):Sj(Tae,W5(t))?VP(zR(Tae,W5(t)),288).vg(t):null}function oet(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw lw(new Xm("Input edge is not connected to the input port."))}function set(t,e){return t.e>e.e?1:t.e<e.e?-1:t.d>e.d?t.e:t.d<e.d?-e.e:t.e*g6(t.a,e.a,t.d)}function cet(t){return t>=48&&t<48+n.Math.min(10,10)?t-48:t>=97&&t<97?t-97+10:t>=65&&t<65?t-65+10:-1}function uet(t,e){var n;return iA(e)===iA(t)||!!MI(e,21)&&(n=VP(e,21)).gc()==t.gc()&&t.Ic(n)}function het(t,e){var n,i;for(DU(e,t.length),n=t.charCodeAt(e),i=e+1;i<t.length&&(DU(i,t.length),t.charCodeAt(i)==n);)++i;return i-e}function fet(t){switch(t.g){case 12:case 13:case 14:case 15:case 16:case 17:case 18:case 19:case 20:return!0;default:return!1}}function det(t,e){if(t.a<0)throw lw(new Vm("Did not call before(...) or after(...) before calling add(...)."));return JL(t,t.a,e),t}function get(t,e,n,i){var r;0!=e.c.length&&(r=function(t,e){var n,i,r,a,o;for(n=new iw,r=KQ(new CF(null,new NU(t,16)),new Eo),a=KQ(new CF(null,new NU(t,16)),new To),o=function(t){var e;return vz(t),e=WX(Qce,aTt,25,0,15,1),Xx(t.a,new Fd(e)),e}(function(t){return K8(t),new wD(t,new sB(t,t.a.e,4|t.a.d))}(fq(function(t){var e,n,i,r,a,o,s,c;for(e=336,n=0,r=new UD(t.length),s=0,c=(o=t).length;s<c;++s)K8(a=o[s]),vz(a),i=a.a,nB(r.a,TR(i)),e&=i.qd(),n=B6(n,i.rd());return VP(VP(nR(new CF(null,dst(new NU((WR(),ntt(r.a)),16),new x,e,n)),new xf(t)),670),833)}(P4(Zv(wzt,1),r_t,833,0,[r,a])),new Co))),i=1;i<o.length;i++)o[i]-o[i-1]>=2*e&&nB(n,new DP(o[i-1]+e,o[i]-e));return n}(n,i),C_(qJ(new CF(null,new NU(function(t){var e,n,i,r,a,o,s;for(a=new cM,n=new wd(t);n.a<n.c.c.length;)o=(e=VP(qU(n),129)).a,s=e.b,a.a._b(o)||a.a._b(s)||(r=o,i=s,o.e.b+o.j.b>2&&s.e.b+s.j.b<=2&&(r=s,i=o),a.a.zc(r,a),r.q=i);return a}(e),1)),new _o),new vq(t,n,r,i)))}function pet(t,e,n){var i;0!=(t.Db&e)?null==n?function(t,e){var n,i,r,a,o,s,c;if(1==(i=l9(254&t.Db)))t.Eb=null;else if(a=l1(t.Eb),2==i)r=Xit(t,e),t.Eb=a[0==r?1:0];else{for(o=WX(G$t,r_t,1,i-1,5,1),n=2,s=0,c=0;n<=128;n<<=1)n==e?++s:0!=(t.Db&n)&&(o[c++]=a[s++]);t.Eb=o}t.Db&=~e}(t,e):-1==(i=Xit(t,e))?t.Eb=n:BR(l1(t.Eb),i,n):null!=n&&function(t,e,n){var i,r,a,o,s,c;if(0==(r=l9(254&t.Db)))t.Eb=n;else{if(1==r)o=WX(G$t,r_t,1,2,5,1),0==Xit(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=WX(G$t,r_t,1,r+1,5,1),a=l1(t.Eb),i=2,s=0,c=0;i<=128;i<<=1)i==e?o[c++]=n:0!=(t.Db&i)&&(o[c++]=a[s++]);t.Eb=o}t.Db|=e}(t,e,n)}function bet(t){var e;return 0==(32&t.Db)&&0!=(e=yR(VP(q3(t,16),26)||t.zh())-yR(t.zh()))&&pet(t,32,WX(G$t,r_t,1,e,5,1)),t}function wet(t){var e,n;for(e=new wd(t.g);e.a<e.c.c.length;)VP(qU(e),562);(function(t){var e,n,i,r,a,o,s,c;switch(s=t.b,e=t.a,0===VP(Ost(t,(yat(),Rzt)),427).g?QM(s,new _d(new Ht)):QM(s,new _d(new Zt)),1===VP(Ost(t,$zt),428).g?(QM(s,new qt),QM(s,new Ut),QM(s,new Ft)):(QM(s,new qt),QM(s,new zt)),VP(Ost(t,qzt),250).g){case 0:c=new Xt;break;case 1:c=new Kt;break;case 2:c=new Wt;break;case 3:c=new Gt;break;case 5:c=new Jd(new Wt);break;case 4:c=new Jd(new Kt);break;case 7:c=new tT(new Jd(new Kt),new Jd(new Wt));break;case 8:c=new tT(new Jd(new Gt),new Jd(new Wt));break;default:c=new Jd(new Gt)}for(o=new wd(s);o.a<o.c.c.length;){for(a=VP(qU(o),167),r=0,n=new mS(p8(i=0),p8(r));_wt(e,a,i,r);)n=VP(c.Ce(n,a),46),i=VP(n.a,19).a,r=VP(n.b,19).a;abt(e,a,i,r)}})(n=new Tgt(t.g,ev(t.a),t.c)),t.g=n.b,t.d=n.a}function yet(t,e,i){e.b=n.Math.max(e.b,-i.a),e.c=n.Math.max(e.c,i.a-t.a),e.d=n.Math.max(e.d,-i.b),e.a=n.Math.max(e.a,i.b-t.b)}function met(t,e){return yz(t),null!=e&&(!!jN(t,e)||t.length==e.length&&jN(t.toLowerCase(),e.toLowerCase()))}function vet(t,e,n){var i,r,a;for(a=new wd(n.a);a.a<a.c.c.length;)r=VP(qU(a),221),i=new sI(VP(zR(t.a,r.b),65)),nB(e.a,i),vet(t,i,r)}function xet(t){var e,n;return x7(t,-129)>0&&x7(t,128)<0?(e=KF(t)+128,!(n=(dF(),Kjt)[e])&&(n=Kjt[e]=new ad(t)),n):new ad(t)}function ket(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),wPt)))?i:e.ne()}function _et(t,e){var n,i;for(fU(),i=new O$(dL(o9(t).a.Kc(),new l));Xht(i);)if((n=VP(xW(i),17)).d.i==e||n.c.i==e)return n;return null}function Eet(t,e,n){this.c=t,this.f=new iw,this.e=new Sx,this.j=new bF,this.n=new bF,this.b=e,this.g=new mq(e.c,e.d,e.b,e.a),this.a=n}function Tet(t){var e,n,i,r;for(this.a=new cM,this.d=new Xw,this.e=0,i=0,r=(n=t).length;i<r;++i)e=n[i],!this.f&&(this.f=e),ZY(this,e)}function Cet(t){gpt(),0==t.length?(this.e=0,this.d=1,this.a=P4(Zv(Kce,1),CEt,25,15,[0])):(this.e=1,this.d=t.length,this.a=t,CY(this))}function Set(t,e,n){ky.call(this),this.a=WX(cqt,vCt,212,(QJ(),P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length,0,1),this.b=t,this.d=e,this.c=n}function Aet(t){this.d=new iw,this.e=new dK,this.c=WX(Kce,CEt,25,(Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length,15,1),this.b=t}function Met(t){var e,n,i,r;for(d5(r=VP(Ost(t,(Lkt(),IXt)),11),KXt,t.i.n.b),n=0,i=(e=MY(t.e)).length;n<i;++n)XZ(e[n],r)}function Iet(t){var e,n,i,r;for(d5(e=VP(Ost(t,(Lkt(),IXt)),11),KXt,t.i.n.b),i=0,r=(n=MY(t.g)).length;i<r;++i)VZ(n[i],e)}function Let(t){var e;iA(_ft(t,(Ikt(),$te)))===iA((I7(),Dne))&&(AZ(t)?(e=VP(_ft(AZ(t),$te),334),Ont(t,$te,e)):Ont(t,$te,Nne))}function Oet(t,e,n){var i,r,a;i=e.c.p,a=e.p,t.b[i][a]=new zH(t,e),n&&(t.a[i][a]=new lp(e),(r=VP(Ost(e,(Lkt(),mXt)),10))&&Vlt(t.d,r,e))}function Det(t,e){var n,i,r;if(nB(zHt,t),e.Fc(t),n=VP(zR(RHt,t),21))for(r=n.Kc();r.Ob();)i=VP(r.Pb(),33),-1!=lQ(zHt,i,0)||Det(i,e)}function Net(t,e,n){var i;(uzt?(function(t){var e,n;if(t.b)return t.b;for(n=hzt?null:t.d;n;){if(e=hzt?null:n.b)return e;n=hzt?null:n.d}j_()}(t),1):lzt||dzt?(j_(),1):fzt&&(j_(),0))&&((i=new hP(e)).b=n,function(t,e){var n,i,r,a,o;for(i=0,a=s6(t).length;i<a;++i)Lst(e);for(o=!hzt&&t.e?hzt?null:t.d:null;o;){for(n=0,r=s6(o).length;n<r;++n)Lst(e);o=!hzt&&o.e?hzt?null:o.d:null}}(t,i))}function Pet(t,e){var i;i=!t.A.Hc((Ltt(),tre))||t.q==($ot(),cie),t.u.Hc((Ilt(),wie))?i?function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(d=VP(VP(jW(t.r,e),21),84),e!=(Mxt(),_ie)&&e!=Hie){for(o=e==Eie?(n4(),Wqt):(n4(),Qqt),x=e==Eie?(IQ(),vqt):(IQ(),yqt),a=(r=(i=VP(Zz(t.b,e),124)).i).c+N5(P4(Zv(Qce,1),aTt,25,15,[i.n.b,t.C.b,t.k])),y=r.c+r.b-N5(P4(Zv(Qce,1),aTt,25,15,[i.n.c,t.C.c,t.k])),s=Xv(IP(o),t.t),m=e==Eie?tTt:JEt,f=d.Kc();f.Ob();)!(l=VP(f.Pb(),111)).c||l.c.d.c.length<=0||(w=l.b.rf(),b=l.e,(p=(g=l.c).i).b=(u=g.n,g.e.a+u.b+u.c),p.a=(c=g.n,g.e.b+c.d+c.a),PH(x,_Ct),g.f=x,fV(g,(zV(),dqt)),p.c=b.a-(p.b-w.a)/2,k=n.Math.min(a,b.a),_=n.Math.max(y,b.a+w.a),p.c<k?p.c=k:p.c+p.b>_&&(p.c=_-p.b),nB(s.d,new h$(p,S8(s,p))),m=e==Eie?n.Math.max(m,b.b+l.b.rf().b):n.Math.min(m,b.b));for(m+=e==Eie?t.t:-t.t,(v=J9((s.e=m,s)))>0&&(VP(Zz(t.b,e),124).a.b=v),h=d.Kc();h.Ob();)!(l=VP(h.Pb(),111)).c||l.c.d.c.length<=0||((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else kxt(t,e)}(t,e):kxt(t,e):t.u.Hc(mie)&&(i?function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=VP(VP(jW(t.r,e),21),84)).gc()<=2||e==(Mxt(),_ie)||e==(Mxt(),Hie))Zxt(t,e);else{for(b=t.u.Hc((Ilt(),vie)),i=e==(Mxt(),Eie)?(n4(),Qqt):(n4(),Wqt),y=e==Eie?(IQ(),yqt):(IQ(),vqt),r=Xv(IP(i),t.s),w=e==Eie?JEt:tTt,l=h.Kc();l.Ob();)!(c=VP(l.Pb(),111)).c||c.c.d.c.length<=0||(p=c.b.rf(),g=c.e,(d=(f=c.c).i).b=(o=f.n,f.e.a+o.b+o.c),d.a=(s=f.n,f.e.b+s.d+s.a),b?(d.c=g.a-(a=f.n,f.e.a+a.b+a.c)-t.s,b=!1):d.c=g.a+p.a+t.s,PH(y,_Ct),f.f=y,fV(f,(zV(),dqt)),nB(r.d,new h$(d,S8(r,d))),w=e==Eie?n.Math.min(w,g.b):n.Math.max(w,g.b+c.b.rf().b));for(w+=e==Eie?-t.t:t.t,J9((r.e=w,r)),u=h.Kc();u.Ob();)!(c=VP(u.Pb(),111)).c||c.c.d.c.length<=0||((d=c.c.i).c-=c.e.a,d.d-=c.e.b)}}(t,e):Zxt(t,e))}function Bet(t,e){var n,i;++t.j,null!=e&&function(t,e){var n,i,r;if(iA(t)===iA(e))return!0;if(null==t||null==e)return!1;if(t.length!=e.length)return!1;for(n=0;n<t.length;++n)if(i=t[n],r=e[n],!(iA(i)===iA(r)||null!=i&&X7(i,r)))return!1;return!0}(e,n=MI(i=t.a.Cb,97)?VP(i,97).Jg():null)?pet(t.a,4,n):pet(t.a,4,VP(e,126))}function Fet(t,e,i){return new mq(n.Math.min(t.a,e.a)-i/2,n.Math.min(t.b,e.b)-i/2,n.Math.abs(t.a-e.a)+i,n.Math.abs(t.b-e.b)+i)}function $et(t,e,n){var i;if(!n[e.d])for(n[e.d]=!0,i=new wd(d9(e));i.a<i.c.c.length;)$et(t,E9(VP(qU(i),213),e),n)}function jet(t,e,n){var i;switch(i=n[t.g][e],t.g){case 1:case 3:return new XC(0,i);case 2:case 4:return new XC(i,0);default:return null}}function Ret(t,e,n){var i;i=VP(GH(e.f),209);try{i.Ze(t,n),function(t,e){t.c<0||t.b.b<t.c?_A(t.b,e):t.a._e(e)}(e.f,i)}catch(t){throw MI(t=k4(t),102),lw(t)}}function zet(t,e,n){var i,r,a,o;return i=null,(a=xvt(u0(),e))&&(r=null,null!=(o=uvt(a,n))&&(r=t.Ye(a,o)),i=r),i}function qet(t,e,n,i){var r;if(e>=(r=t.length))return r;for(e=e>0?e:0;e<r&&!o5((DU(e,t.length),t.charCodeAt(e)),n,i);e++);return e}function Het(t,e){var n,i;for(i=t.c.length,e.length<i&&(e=Hv(new Array(i),e)),n=0;n<i;++n)BR(e,n,t.c[n]);return e.length>i&&BR(e,i,null),e}function Zet(t,e){var n,i;for(i=t.a.length,e.length<i&&(e=Hv(new Array(i),e)),n=0;n<i;++n)BR(e,n,t.a[n]);return e.length>i&&BR(e,i,null),e}function Uet(t,e,n){var i,r,a;return(r=VP(zR(t.e,e),387))?(a=VD(r,n),II(t,r),a):(i=new cB(t,e,n),Pz(t.e,e,i),iZ(i),null)}function Yet(t){var e;if(null==t)return null;if(null==(e=function(t){var e,n,i,r,a,o,s;if(kpt(),null==t)return null;if((r=t.length)%2!=0)return null;for(e=PQ(t),n=WX(Vce,NNt,25,a=r/2|0,15,1),i=0;i<a;i++){if(-1==(o=hce[e[2*i]]))return null;if(-1==(s=hce[e[2*i+1]]))return null;n[i]=(o<<4|s)<<24>>24}return n}(Xyt(t,!0))))throw lw(new hv("Invalid hexBinary value: '"+t+"'"));return e}function Get(t){return gpt(),x7(t,0)<0?0!=x7(t,-1)?new yot(-1,uQ(t)):dRt:x7(t,10)<=0?pRt[KF(t)]:new yot(1,t)}function Ket(){return Pkt(),P4(Zv(Jqt,1),K_t,159,0,[qqt,zqt,Hqt,Dqt,Oqt,Nqt,Fqt,Bqt,Pqt,Rqt,jqt,$qt,Iqt,Mqt,Lqt,Sqt,Cqt,Aqt,Eqt,_qt,Tqt,Zqt])}function Wet(t){var e;this.d=new iw,this.j=new Sx,this.g=new Sx,e=t.g.b,this.f=VP(Ost(pz(e),(wkt(),s1t)),103),this.e=ev(hD(ont(e,z0t)))}function Xet(t){this.b=new iw,this.e=new iw,this.d=t,this.a=!nk(lq(new CF(null,new tR(new YW(t.b))),new Md(new Zr))).sd((q_(),bzt))}function Vet(){Vet=I,T9t=new YC("PARENTS",0),E9t=new YC("NODES",1),k9t=new YC("EDGES",2),C9t=new YC("PORTS",3),_9t=new YC("LABELS",4)}function Qet(){Qet=I,nie=new oS("DISTRIBUTED",0),rie=new oS("JUSTIFIED",1),tie=new oS("BEGIN",2),eie=new oS(yCt,3),iie=new oS("END",4)}function Jet(t){switch(t.g){case 1:return e8(),ine;case 4:return e8(),tne;case 2:return e8(),ene;case 3:return e8(),Jee}return e8(),nne}function tnt(t,e){var n,i;if(iU(e,t.b),e>=t.b>>1)for(i=t.c,n=t.b;n>e;--n)i=i.b;else for(i=t.a.a,n=0;n<e;++n)i=i.a;return new sP(t,e,i)}function ent(){ent=I,Izt=new rT("NUM_OF_EXTERNAL_SIDES_THAN_NUM_OF_EXTENSIONS_LAST",0),Mzt=new rT("CORNER_CASES_THAN_SINGLE_SIDE_LAST",1)}function nnt(t){var e,n,i;for(QM(n=function(t){var e,n,i,r;for(n=new rw,r=new wd(t.d);r.a<r.c.c.length;)i=VP(qU(r),181),e=VP(i.We((Lkt(),sXt)),17),BH(n.f,e)||Pz(n,e,new Uq(e)),nB(VP(nA(BH(n.f,e)),456).b,i);return new uP(new Jf(n))}(t),nYt),(i=t.d).c=WX(G$t,r_t,1,0,5,1),e=new wd(n);e.a<e.c.c.length;)C4(i,VP(qU(e),456).b)}function int(t){var e,n;for(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),e=(n=t.o).c.Kc();e.e!=e.i.gc();)VP(e.nj(),42).dd();return YX(n)}function rnt(t,e){var i,r,a,o;for(i=0,a=new wd(e.a);a.a<a.c.c.length;)o=(r=VP(qU(a),10)).o.a+r.d.c+r.d.b+t.j,i=n.Math.max(i,o);return i}function ant(t){var e,n,i,r;for(r=0,n=0,i=t.length;n<i;n++)DU(n,t.length),(e=t.charCodeAt(n))>=64&&e<128&&(r=UU(r,Z$(1,e-64)));return r}function ont(t,e){var n,i;return i=null,IO(t,(Ikt(),Hee))&&(n=VP(Ost(t,Hee),94)).Xe(e)&&(i=n.We(e)),null==i&&pz(t)&&(i=Ost(pz(t),e)),i}function snt(t,e){var n,i,r;(i=(r=e.d.i).k)!=(gct(),HUt)&&i!=jUt&&Xht(n=new O$(dL(c9(r).a.Kc(),new l)))&&Pz(t.k,e,VP(xW(n),17))}function cnt(t,e){var n,i,r;return i=MJ(t.Tg(),e),(n=e-t.Ah())<0?(r=t.Yg(i))>=0?t.lh(r):Ylt(t,i):n<0?Ylt(t,i):VP(i,66).Nj().Sj(t,t.yh(),n)}function unt(t){var e;if(MI(t.a,4)){if(null==(e=aet(t.a)))throw lw(new Vm(EDt+t.b+"'. "+vDt+(uD(Aae),Aae.k)+xDt));return e}return t.a}function lnt(t){var e;if(null==t)return null;if(null==(e=function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(Jwt(),null==t)return null;if((g=function(t){var e,n,i;for(i=0,n=t.length,e=0;e<n;e++)32==t[e]||13==t[e]||10==t[e]||9==t[e]||(t[i++]=t[e]);return i}(a=PQ(t)))%4!=0)return null;if(0==(p=g/4|0))return WX(Vce,NNt,25,0,15,1);for(h=null,e=0,n=0,i=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,l=0,h=WX(Vce,NNt,25,3*p,15,1);d<p-1;d++){if(!(Sk(o=a[l++])&&Sk(s=a[l++])&&Sk(c=a[l++])&&Sk(u=a[l++])))return null;e=uce[o],n=uce[s],i=uce[c],r=uce[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24}return Sk(o=a[l++])&&Sk(s=a[l++])?(e=uce[o],n=uce[s],c=a[l++],u=a[l++],-1==uce[c]||-1==uce[u]?61==c&&61==u?0!=(15&n)?null:(lmt(h,0,b=WX(Vce,NNt,25,3*d+1,15,1),0,3*d),b[f]=(e<<2|n>>4)<<24>>24,b):61!=c&&61==u?0!=(3&(i=uce[c]))?null:(lmt(h,0,b=WX(Vce,NNt,25,3*d+2,15,1),0,3*d),b[f++]=(e<<2|n>>4)<<24>>24,b[f]=((15&n)<<4|i>>2&15)<<24>>24,b):null:(i=uce[c],r=uce[u],h[f++]=(e<<2|n>>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24,h)):null}(Xyt(t,!0))))throw lw(new hv("Invalid base64Binary value: '"+t+"'"));return e}function hnt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(e){throw MI(e=k4(e),73)?(t.mj(),lw(new $w)):lw(e)}}function fnt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(e){throw MI(e=k4(e),73)?(t.mj(),lw(new $w)):lw(e)}}function dnt(){dnt=I,Ikt(),$Ht=jee,OHt=Pte,SHt=vte,DHt=cee,yat(),BHt=Rzt,PHt=$zt,FHt=qzt,NHt=Fzt,I6(),MHt=_Ht,AHt=kHt,IHt=THt,LHt=CHt}function gnt(t){switch(W_(),this.c=new iw,this.d=t,t.g){case 0:case 2:this.a=Bz(TUt),this.b=JEt;break;case 3:case 1:this.a=TUt,this.b=tTt}}function pnt(t,e,n){var i;if(t.c)D1(t.c,t.c.i+e),N1(t.c,t.c.j+n);else for(i=new wd(t.b);i.a<i.c.c.length;)pnt(VP(qU(i),157),e,n)}function bnt(t,e,n){var i;e.a.length>0&&(nB(t.b,new iB(e.a,n)),0<(i=e.a.length)?e.a=e.a.substr(0,0):0>i&&(e.a+=AI(WX(Gce,lEt,25,-i,15,1))))}function wnt(t,e){var n,i,r;for(n=t.o,r=VP(VP(jW(t.r,e),21),84).Kc();r.Ob();)(i=VP(r.Pb(),111)).e.a=vrt(i,n.a),i.e.b=n.b*ev(hD(i.b.We(Kqt)))}function ynt(t,e){var n;return n=VP(Ost(t,(wkt(),D1t)),74),TI(e,DUt)?n?zq(n):(n=new Ny,d5(t,D1t,n)):n&&d5(t,D1t,null),n}function mnt(t){var e;return(e=new Lv).a+="n",t.k!=(gct(),HUt)&&vA(vA((e.a+="(",e),pO(t.k).toLowerCase()),")"),vA((e.a+="_",e),xrt(t)),e.a}function vnt(t,e,n,i){var r;return n>=0?t.hh(e,n,i):(t.eh()&&(i=(r=t.Vg())>=0?t.Qg(i):t.eh().ih(t,-1-r,null,i)),t.Sg(e,n,i))}function xnt(t,e){switch(e){case 7:return!t.e&&(t.e=new LN(tae,t,7,4)),void Hmt(t.e);case 8:return!t.d&&(t.d=new LN(tae,t,8,5)),void Hmt(t.d)}rtt(t,e)}function knt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(t){throw MI(t=k4(t),109)?lw(new qm("Can't get element "+e)):lw(t)}}function _nt(t,e){this.e=t,e<uTt?(this.d=1,this.a=P4(Zv(Kce,1),CEt,25,15,[0|e])):(this.d=2,this.a=P4(Zv(Kce,1),CEt,25,15,[e%uTt|0,e/uTt|0]))}function Ent(t,e){var n,i,r,a;for(Gq(),n=t,a=e,MI(t,21)&&!MI(e,21)&&(n=e,a=t),r=n.Kc();r.Ob();)if(i=r.Pb(),a.Hc(i))return!1;return!0}function Tnt(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=Lrt(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):Lrt(t,i)),n}function Cnt(t,e){var n;switch(n=VP(Zz(t.b,e),124).n,e.g){case 1:t.t>=0&&(n.d=t.t);break;case 3:t.t>=0&&(n.a=t.t)}t.C&&(n.b=t.C.b,n.c=t.C.c)}function Snt(){Snt=I,nHt=new iT(PCt,0),eHt=new iT(BCt,1),iHt=new iT(FCt,2),rHt=new iT($Ct,3),nHt.a=!1,eHt.a=!0,iHt.a=!1,rHt.a=!0}function Ant(){Ant=I,gHt=new nT(PCt,0),dHt=new nT(BCt,1),pHt=new nT(FCt,2),bHt=new nT($Ct,3),gHt.a=!1,dHt.a=!0,pHt.a=!1,bHt.a=!0}function Mnt(t){var e,n,i;if(n=0,0==(i=rpt(t)).c.length)return 1;for(e=new wd(i);e.a<e.c.c.length;)n+=Mnt(VP(qU(e),33));return n}function Int(t,e,n,i){if(e.a<i.a)return!0;if(e.a==i.a){if(e.b<i.b)return!0;if(e.b==i.b&&t.b>n.b)return!0}return!1}function Lnt(t,e){return oA(t)?!!Ykt[e]:t.hm?!!t.hm[e]:aA(t)?!!Ukt[e]:!!rA(t)&&!!Zkt[e]}function Ont(t,e,n){return null==n?(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),eet(t.o,e)):(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),Bat(t.o,e,n)),t}function Dnt(t,e,n,i){var r,a,o;return a=MJ(t.Tg(),e),(r=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):nht(t,a,n):VP(a,66).Nj().Pj(t,t.yh(),r,n,i)}function Nnt(t,e,n,i){var r,a;n.mh(e)&&(EE(),ZQ(e)?function(t,e){var n,i,r,a;for(i=0,r=e.gc();i<r;++i)MI(n=e.il(i),99)&&0!=(VP(n,18).Bb&CNt)&&null!=(a=e.jl(i))&&Vbt(t,VP(a,56))}(t,VP(n.ah(e),153)):(r=(a=e)?VP(i,49).xh(a):null)&&function(t,e){e.Wb(t)}(n.ah(e),r))}function Pnt(t){switch(typeof t){case Xkt:return Knt(t);case Wkt:return cZ(t);case Kkt:return EL(),t?1231:1237;default:return null==t?0:jL(t)}}function Bnt(t){var e,n;if(null==t)return null;for(n=WX(UUt,T_t,193,t.length,0,2),e=0;e<n.length;e++)n[e]=VP(PV(t[e],t[e].length),193);return n}function Fnt(t){var e;if(E6(t))return H$(t),t.Lk()&&(e=Zlt(t.e,t.b,t.c,t.a,t.j),t.j=e),t.g=t.a,++t.a,++t.c,t.i=0,t.j;throw lw(new $w)}function $nt(t,e){var n,i;if((i=qrt(t,e))>=0)return i;if(t.Fk())for(n=0;n<t.i;++n)if(iA(t.Gk(VP(t.g[n],56)))===iA(e))return n;return-1}function jnt(t,e,n){var i,r;if(e>=(r=t.gc()))throw lw(new kN(e,r));if(t.hi()&&(i=t.Xc(n))>=0&&i!=e)throw lw(new Xm(kPt));return t.mi(e,n)}function Rnt(t,e){if(this.a=VP(TR(t),245),this.b=VP(TR(e),245),t.vd(e)>0||t==(pm(),tjt)||e==(gm(),ejt))throw lw(new Xm("Invalid range: "+zG(t,e)))}function znt(t){var e,n;for(this.b=new iw,this.c=t,this.a=!1,n=new wd(t.a);n.a<n.c.c.length;)e=VP(qU(n),10),this.a=this.a|e.k==(gct(),HUt)}function qnt(t,e,n){var i,r,a;for(r=new O$(dL((e?s9(t):c9(t)).a.Kc(),new l));Xht(r);)i=VP(xW(r),17),(a=e?i.c.i:i.d.i).k==(gct(),zUt)&&QZ(a,n)}function Hnt(){Hnt=I,S2t=new iC(fAt,0),A2t=new iC("PORT_POSITION",1),C2t=new iC("NODE_SIZE_WHERE_SPACE_PERMITS",2),T2t=new iC("NODE_SIZE",3)}function Znt(){Znt=I,H9t=new VC("AUTOMATIC",0),Y9t=new VC(xCt,1),G9t=new VC(kCt,2),K9t=new VC("TOP",3),Z9t=new VC(ECt,4),U9t=new VC(yCt,5)}function Unt(t,e,n,i){var r,a;for(_ht(),r=0,a=0;a<n;a++)r=e9(n9(ZU(e[a],cTt),ZU(i,cTt)),ZU(KF(r),cTt)),t[a]=KF(r),r=Y$(r,32);return KF(r)}function Ynt(t,e,i){var r,a;for(a=0,r=0;r<gqt;r++)a=n.Math.max(a,X6(t.a[e.g][r],i));return e==(QJ(),oqt)&&t.b&&(a=n.Math.max(a,t.b.b)),a}function Gnt(t,e){var n,i;if(EO(e>0),(e&-e)==e)return cZ(e*Kft(t,31)*4.656612873077393e-10);do{i=(n=Kft(t,31))%e}while(n-i+(e-1)<0);return cZ(i)}function Knt(t){var e,n,i;return fP(),null!=(i=mzt[n=":"+t])?cZ((yz(i),i)):(e=null==(i=yzt[n])?function(t){var e,n,i,r;for(e=0,r=(i=t.length)-4,n=0;n<r;)DU(n+3,t.length),e=t.charCodeAt(n+3)+(DU(n+2,t.length),31*(t.charCodeAt(n+2)+(DU(n+1,t.length),31*(t.charCodeAt(n+1)+(DU(n,t.length),31*(t.charCodeAt(n)+31*e)))))),e|=0,n+=4;for(;n<i;)e=31*e+Gz(t,n++);return 0|e}(t):cZ((yz(i),i)),256==xzt&&(yzt=mzt,mzt=new r,xzt=0),++xzt,mzt[n]=e,e)}function Wnt(t,e,n){ast(n,"Compound graph preprocessor",1),t.a=new JH,sxt(t,e,null),function(t,e){var n,i,r,a,o,s,c;for(o=R$(t.a).Kc();o.Ob();){if((a=VP(o.Pb(),17)).b.c.length>0)for(i=new uP(VP(jW(t.a,a),21)),Gq(),QM(i,new cg(e)),r=new QY(a.b,0);r.b<r.d.gc();){switch(CO(r.b<r.d.gc()),n=VP(r.d.Xb(r.c=r.b++),70),s=-1,VP(Ost(n,(wkt(),f1t)),272).g){case 1:s=i.c.length-1;break;case 0:s=rot(i);break;case 2:s=0}-1!=s&&(OU(s,i.c.length),nB((c=VP(i.c[s],243)).b.b,n),VP(Ost(pz(c.b.c.i),(Lkt(),gXt)),21).Fc((ipt(),CWt)),VP(Ost(pz(c.b.c.i),gXt),21).Fc(EWt),lz(r),d5(n,DXt,a))}VZ(a,null),XZ(a,null)}}(t,e),function(t){var e,n,i,r;for(i=new e6(new Xf(t.b).a);i.b;)r=VP((n=u1(i)).cd(),11),d5(e=VP(n.dd(),10),(Lkt(),IXt),r),d5(r,$Xt,e),d5(r,wXt,(EL(),!0)),plt(r,VP(Ost(e,hXt),61)),Ost(e,hXt),d5(r.i,(wkt(),w0t),($ot(),lie)),VP(Ost(pz(r.i),gXt),21).Fc((ipt(),IWt))}(t),d5(e,(Lkt(),iXt),t.a),t.a=null,Yj(t.b),$ct(n)}function Xnt(t){switch(t.g){case 0:return null;case 1:return new v2;case 2:return new hm;default:throw lw(new Xm(xOt+(null!=t.f?t.f:""+t.g)))}}function Vnt(t,e,n){var i,r;for(function(t,e,n){var i,r;for(r=new wd(t.b);r.a<r.c.c.length;)kM(i=VP(qU(r),33),i.i+e,i.j+n)}(t,e-t.s,n-t.t),r=new wd(t.n);r.a<r.c.c.length;)Hf(i=VP(qU(r),211),i.e+e-t.s),Zf(i,i.f+n-t.t);t.s=e,t.t=n}function Qnt(t){var e,n,i,r;for(n=0,i=new wd(t.a);i.a<i.c.c.length;)VP(qU(i),121).d=n++;return r=null,(e=function(t){var e,n,i,r;for(e=new iw,Pj(n=WX(Wce,pCt,25,t.a.c.length,16,1),n.length),r=new wd(t.a);r.a<r.c.c.length;)n[(i=VP(qU(r),121)).d]||(e.c[e.c.length]=i,$et(t,i,n));return e}(t)).c.length>1&&(r=function(t,e){var n,i,r;for(n=qL(new ny,t),r=new wd(e);r.a<r.c.c.length;)i=VP(qU(r),121),cgt(N_(D_(P_(O_(new ey,0),0),n),i));return n}(t,e)),r}function Jnt(t){var e;return t.f&&t.f.kh()&&(e=VP(t.f,49),t.f=VP(S7(t,e),82),t.f!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,8,e,t.f))),t.f}function tit(t){var e;return t.i&&t.i.kh()&&(e=VP(t.i,49),t.i=VP(S7(t,e),82),t.i!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,7,e,t.i))),t.i}function eit(t){var e;return t.b&&0!=(64&t.b.Db)&&(e=t.b,t.b=VP(S7(t,e),18),t.b!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,21,e,t.b))),t.b}function nit(t,e){var n,i,r;null==t.d?(++t.e,++t.f):(i=e.Sh(),function(t,e){var n,i,r,a,o,s,c,u,l,h;if(++t.e,e>(c=null==t.d?0:t.d.length)){for(l=t.d,t.d=WX(_ae,xBt,63,2*c+4,0,1),a=0;a<c;++a)if(u=l[a])for(i=u.g,h=u.i,s=0;s<h;++s)o=$D(t,(r=VP(i[s],133)).Sh()),!(n=t.d[o])&&(n=t.d[o]=t.uj()),n.Fc(r);return!0}}(t,t.f+1),r=(i&Qkt)%t.d.length,!(n=t.d[r])&&(n=t.d[r]=t.uj()),n.Fc(e),++t.f)}function iit(t,e,n){var i;return!e.Kj()&&(-2!=e.Zj()?null==(i=e.zj())?null==n:X7(i,n):e.Hj()==t.e.Tg()&&null==n)}function rit(){var t;b0(16,U_t),t=Y0(16),this.b=WX(ojt,Z_t,317,t,0,1),this.c=WX(ojt,Z_t,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function ait(t){cN.call(this),this.k=(gct(),HUt),this.j=(b0(6,G_t),new wX(6)),this.b=(b0(2,G_t),new wX(2)),this.d=new Ey,this.f=new Sy,this.a=t}function oit(t){var e,n;t.c.length<=1||(aut(t,VP((e=upt(t,(Mxt(),zie))).a,19).a,VP(e.b,19).a),aut(t,VP((n=upt(t,Hie)).a,19).a,VP(n.b,19).a))}function sit(){sit=I,P2t=new rC("SIMPLE",0),O2t=new rC(iMt,1),D2t=new rC("LINEAR_SEGMENTS",2),L2t=new rC("BRANDES_KOEPF",3),N2t=new rC($Lt,4)}function cit(t,e,n){UN(VP(Ost(e,(wkt(),w0t)),98))||(NQ(t,e,Dct(e,n)),NQ(t,e,Dct(e,(Mxt(),zie))),NQ(t,e,Dct(e,Eie)),Gq(),QM(e.j,new cp(t)))}function uit(t,e,n,i){var r;for(r=VP(jW(i?t.a:t.b,e),21).Kc();r.Ob();)if(_pt(t,n,VP(r.Pb(),33)))return!0;return!1}function lit(t){var e,n;for(n=new YI(t);n.e!=n.i.gc();)if((e=VP(hnt(n),87)).e||0!=(!e.d&&(e.d=new GI(loe,e,1)),e.d).i)return!0;return!1}function hit(t){var e,n;for(n=new YI(t);n.e!=n.i.gc();)if((e=VP(hnt(n),87)).e||0!=(!e.d&&(e.d=new GI(loe,e,1)),e.d).i)return!0;return!1}function fit(t){var e,i;for(t.c||function(t){var e,i,r,a,o,s;if(a=new QY(t.e,0),r=new QY(t.a,0),t.d)for(i=0;i<t.b;i++)CO(a.b<a.d.gc()),a.d.Xb(a.c=a.b++);else for(i=0;i<t.b-1;i++)CO(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),lz(a);for(e=ev((CO(a.b<a.d.gc()),hD(a.d.Xb(a.c=a.b++))));t.f-e>QLt;){for(o=e,s=0;n.Math.abs(e-o)<QLt;)++s,e=ev((CO(a.b<a.d.gc()),hD(a.d.Xb(a.c=a.b++)))),CO(r.b<r.d.gc()),r.d.Xb(r.c=r.b++);s<t.b&&(CO(a.b>0),a.a.Xb(a.c=--a.b),ayt(t,t.b-s,o,r,a),CO(a.b<a.d.gc()),a.d.Xb(a.c=a.b++)),CO(r.b>0),r.a.Xb(r.c=--r.b)}if(!t.d)for(i=0;i<t.b-1;i++)CO(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),lz(a);t.d=!0,t.c=!0}(t),i=new Ny,qU(e=new wd(t.a));e.a<e.c.c.length;)$B(i,VP(qU(e),407).a);return CO(0!=i.b),WJ(i,i.c.b),i}function dit(){dit=I,Hpt(),r9t=Q8t,n9t=new FM(8),new BM((Ikt(),cee),n9t),new BM(Kee,8),i9t=X8t,t9t=R8t,e9t=z8t,J8t=new BM(Ste,(EL(),!1))}function git(t,e,n,i){switch(e){case 7:return!t.e&&(t.e=new LN(tae,t,7,4)),t.e;case 8:return!t.d&&(t.d=new LN(tae,t,8,5)),t.d}return C9(t,e,n,i)}function pit(t){var e;return t.a&&t.a.kh()&&(e=VP(t.a,49),t.a=VP(S7(t,e),138),t.a!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,5,e,t.a))),t.a}function bit(t){return t<48||t>102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function wit(t,e){if(null==t)throw lw(new Jm("null key in entry: null="+e));if(null==e)throw lw(new Jm("null value in entry: "+t+"=null"))}function yit(t,e){var i;return i=P4(Zv(Qce,1),aTt,25,15,[X6(t.a[0],e),X6(t.a[1],e),X6(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function mit(t,e){var i;return i=P4(Zv(Qce,1),aTt,25,15,[V6(t.a[0],e),V6(t.a[1],e),V6(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function vit(){vit=I,PKt=new ZT("GREEDY",0),NKt=new ZT(rMt,1),FKt=new ZT(iMt,2),$Kt=new ZT("MODEL_ORDER",3),BKt=new ZT("GREEDY_MODEL_ORDER",4)}function xit(t,e){var n,i,r;for(t.b[e.g]=1,i=tnt(e.d,0);i.b!=i.d.c;)r=(n=VP(AG(i),188)).c,1==t.b[r.g]?$B(t.a,n):2==t.b[r.g]?t.b[r.g]=1:xit(t,r)}function kit(t,e,n){var i,r,a,o;for(o=t.r+e,t.r+=e,t.d+=n,i=n/t.n.c.length,r=0,a=new wd(t.n);a.a<a.c.c.length;)Lft(VP(qU(a),211),o,i,r),++r}function _it(t,e,n){ast(n,"Shrinking tree compaction",1),tv(lD(Ost(e,(v3(),hHt))))?(function(t,e){var n;n=new ne,VP(e.b,65),VP(e.b,65),VP(e.b,65),KJ(e.a,new BP(t,n,e))}(t,e.f),zQ(e.f,e.c)):zQ(e.f,e.c),$ct(n)}function Eit(t){var e;if(e=function(t){var e;for(TR(t),yP(!0,"numberToAdvance must be nonnegative"),e=0;e<0&&Xht(t);e++)xW(t);return e}(t),!Xht(t))throw lw(new qm("position (0) must be less than the number of elements that remained ("+e+")"));return xW(t)}function Tit(t,e,n){try{return Pit(t,e+t.j,n+t.k)}catch(t){throw MI(t=k4(t),73)?lw(new qm(t.g+ZCt+e+n_t+n+").")):lw(t)}}function Cit(t,e,n){try{return Bit(t,e+t.j,n+t.k)}catch(t){throw MI(t=k4(t),73)?lw(new qm(t.g+ZCt+e+n_t+n+").")):lw(t)}}function Sit(t,e,n){try{return Fit(t,e+t.j,n+t.k)}catch(t){throw MI(t=k4(t),73)?lw(new qm(t.g+ZCt+e+n_t+n+").")):lw(t)}}function Ait(t){switch(t.g){case 1:return Mxt(),Hie;case 4:return Mxt(),Eie;case 3:return Mxt(),_ie;case 2:return Mxt(),zie;default:return Mxt(),qie}}function Mit(t,e){var n,i;for(i=i9(t,e).Kc();i.Ob();)if(null!=Ost(n=VP(i.Pb(),11),(Lkt(),$Xt))||VL(new YW(n.b)))return!0;return!1}function Iit(t,e){return D1(e,t.e+t.d+(0==t.c.c.length?0:t.b)),N1(e,t.f),t.a=n.Math.max(t.a,e.f),t.d+=e.g+(0==t.c.c.length?0:t.b),nB(t.c,e),!0}function Lit(t,e,n){var i,r,a,o;for(o=0,i=n/t.a.c.length,a=new wd(t.a);a.a<a.c.c.length;)Vnt(r=VP(qU(a),187),r.s,r.t+o*i),kit(r,t.d-r.r+e,i),++o}function Oit(t,e){var n,i,r,a,o,s;for(r=e.length-1,o=0,s=0,i=0;i<=r;i++)a=e[i],n=mct(r,i)*A7(1-t,r-i)*A7(t,i),o+=a.a*n,s+=a.b*n;return new XC(o,s)}function Dit(t,e){var n,i,r,a,o;for(n=e.gc(),t.qi(t.i+n),a=e.Kc(),o=t.i,t.i+=n,i=o;i<t.i;++i)r=a.Pb(),jI(t,i,t.oi(i,r)),t.bi(i,r),t.ci();return 0!=n}function Nit(t,e,n,i,r,a,o,s){var c,u;i&&((c=i.a[0])&&Nit(t,e,n,c,r,a,o,s),function(t,e,n,i,r,a,o){var s,c;return!(e.Ae()&&(c=t.a.ue(n,i),c<0||!r&&0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||!o&&0==s))}(t,n,i.d,r,a,o,s)&&e.Fc(i),(u=i.a[1])&&Nit(t,e,n,u,r,a,o,s))}function Pit(t,e,n){try{return uA(W0(t,e,n),1)}catch(i){throw MI(i=k4(i),320)?lw(new qm(zCt+t.o+"*"+t.p+qCt+e+n_t+n+HCt)):lw(i)}}function Bit(t,e,n){try{return uA(W0(t,e,n),0)}catch(i){throw MI(i=k4(i),320)?lw(new qm(zCt+t.o+"*"+t.p+qCt+e+n_t+n+HCt)):lw(i)}}function Fit(t,e,n){try{return uA(W0(t,e,n),2)}catch(i){throw MI(i=k4(i),320)?lw(new qm(zCt+t.o+"*"+t.p+qCt+e+n_t+n+HCt)):lw(i)}}function $it(t,e){if(-1==t.g)throw lw(new Dw);t.mj();try{t.d._c(t.g,e),t.f=t.d.j}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}}function jit(t,e,i){ast(i,"Linear segments node placement",1),t.b=VP(Ost(e,(Lkt(),YXt)),304),function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L,O;for(I=new iw,g=new wd(e.b);g.a<g.c.c.length;)for(x=new wd(VP(qU(g),29).a);x.a<x.c.c.length;){for((v=VP(qU(x),10)).p=-1,f=eEt,E=eEt,C=new wd(v.j);C.a<C.c.c.length;){for(a=new wd((T=VP(qU(C),11)).e);a.a<a.c.c.length;)i=VP(qU(a),17),S=VP(Ost(i,(wkt(),A0t)),19).a,f=n.Math.max(f,S);for(r=new wd(T.g);r.a<r.c.c.length;)i=VP(qU(r),17),S=VP(Ost(i,(wkt(),A0t)),19).a,E=n.Math.max(E,S)}d5(v,c4t,p8(f)),d5(v,u4t,p8(E))}for(w=0,d=new wd(e.b);d.a<d.c.c.length;)for(x=new wd(VP(qU(d),29).a);x.a<x.c.c.length;)(v=VP(qU(x),10)).p<0&&((M=new wy).b=w++,Xpt(t,v,M),I.c[I.c.length]=M);for(_=lO(I.c.length),h=lO(I.c.length),s=0;s<I.c.length;s++)nB(_,new iw),nB(h,p8(0));for(function(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(d=e.c.length,f=0,h=new wd(t.b);h.a<h.c.c.length;)if(0!=(w=(l=VP(qU(h),29)).a).c.length){for(u=0,y=null,r=VP(qU(b=new wd(w)),10),a=null;r;){if((a=VP(EF(e,r.p),257)).c>=0){for(c=null,s=new QY(l.a,u+1);s.b<s.d.gc()&&(CO(s.b<s.d.gc()),o=VP(s.d.Xb(s.c=s.b++),10),!((c=VP(EF(e,o.p),257)).d==a.d&&c.c<a.c));)c=null;c&&(y&&(XK(i,r.p,p8(VP(EF(i,r.p),19).a-1)),VP(EF(n,y.p),15).Mc(a)),a=Xot(a,r,d++),e.c[e.c.length]=a,nB(n,new iw),y?(VP(EF(n,y.p),15).Fc(a),nB(i,p8(1))):nB(i,p8(0)))}g=null,b.a<b.c.c.length&&(g=VP(qU(b),10),p=VP(EF(e,g.p),257),VP(EF(n,r.p),15).Fc(p),XK(i,g.p,p8(VP(EF(i,g.p),19).a+1))),a.d=f,a.c=u++,y=r,r=g}++f}}(e,I,_,h),L=VP(Het(I,WX(f4t,YLt,257,I.c.length,0,1)),840),k=VP(Het(_,WX(J$t,bSt,15,_.c.length,0,1)),192),l=WX(Kce,CEt,25,h.c.length,15,1),c=0;c<l.length;c++)l[c]=(OU(c,h.c.length),VP(h.c[c],19)).a;for(y=0,m=new iw,u=0;u<L.length;u++)0==l[u]&&nB(m,L[u]);for(b=WX(Kce,CEt,25,L.length,15,1);0!=m.c.length;)for(b[(M=VP($W(m,0),257)).b]=y++;!k[M.b].dc();)--l[(O=VP(k[M.b].$c(0),257)).b],0==l[O.b]&&(m.c[m.c.length]=O);for(t.a=WX(f4t,YLt,257,L.length,0,1),o=0;o<L.length;o++)for(p=L[o],A=b[o],t.a[A]=p,p.b=A,x=new wd(p.e);x.a<x.c.c.length;)(v=VP(qU(x),10)).p=A;t.a}(t,e),function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=WX(Kce,CEt,25,e.b.c.length,15,1),l=WX(GUt,K_t,267,e.b.c.length,0,1),u=WX(UUt,kAt,10,e.b.c.length,0,1),d=0,g=(f=t.a).length;d<g;++d){for(b=0,s=new wd((h=f[d]).e);s.a<s.c.c.length;)++c[r=nM((a=VP(qU(s),10)).c)],p=ev(hD(Ost(e,(wkt(),P0t)))),c[r]>0&&u[r]&&(p=fI(t.b,u[r],a)),b=n.Math.max(b,a.c.c.b+p);for(o=new wd(h.e);o.a<o.c.c.length;)(a=VP(qU(o),10)).n.b=b+a.d.d,(i=a.c).c.b=b+a.d.d+a.o.b+a.d.a,l[lQ(i.b.b,i,0)]=a.k,u[lQ(i.b.b,i,0)]=a}}(t,e),function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;r=ev(hD(Ost(e,(wkt(),V1t)))),f=4,a=3,k=20/(x=VP(Ost(e,X0t),19).a),d=!1,u=0,s=Qkt;do{for(o=1!=u,h=0!=u,_=0,y=0,v=(b=t.a).length;y<v;++y)(g=b[y]).f=null,uxt(t,g,o,h,r),_+=n.Math.abs(g.a);do{c=Cwt(t,e)}while(c);for(w=0,m=(p=t.a).length;w<m;++w)if(0!=(i=Lj(g=p[w]).a))for(l=new wd(g.e);l.a<l.c.c.length;)VP(qU(l),10).n.b+=i;0==u||1==u?--f<=0&&(_<s||-f>x)?(u=2,s=Qkt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_<k,s=_,d&&--a)}while(!(d&&a<=0))}(t,e),function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,x=(m=t.a).length;v<x;++v){for(y=m[v],u=Qkt,l=Qkt,g=new wd(y.e);g.a<g.c.c.length;)(o=(f=VP(qU(g),10)).c?lQ(f.c.a,f,0):-1)>0?(h=VP(EF(f.c.a,o-1),10),E=fI(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+E)):b=f.n.b-f.d.d,u=n.Math.min(b,u),o<f.c.a.c.length-1?(h=VP(EF(f.c.a,o+1),10),E=fI(t.b,f,h),w=h.n.b-h.d.d-(f.n.b+f.o.b+f.d.a+E)):w=2*f.n.b,l=n.Math.min(w,l);for(c=Qkt,a=!1,C=new wd((r=VP(EF(y.e,0),10)).j);C.a<C.c.c.length;)for(T=VP(qU(C),11),p=r.n.b+T.n.b+T.a.b,i=new wd(T.e);i.a<i.c.c.length;)e=(k=VP(qU(i),17).c).i.n.b+k.n.b+k.a.b-p,n.Math.abs(e)<n.Math.abs(c)&&n.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);for(_=new wd((s=VP(EF(y.e,y.e.c.length-1),10)).j);_.a<_.c.c.length;)for(k=VP(qU(_),11),p=s.n.b+k.n.b+k.a.b,i=new wd(k.g);i.a<i.c.c.length;)e=(T=VP(qU(i),17).d).i.n.b+T.n.b+T.a.b-p,n.Math.abs(e)<n.Math.abs(c)&&n.Math.abs(e)<(e<0?u:l)&&(c=e,a=!0);if(a&&0!=c)for(d=new wd(y.e);d.a<d.c.c.length;)(f=VP(qU(d),10)).n.b+=c}}(t),t.a=null,t.b=null,$ct(i)}function Rit(t,e){var n,i,r,a;for(a=t.gc(),e.length<a&&(e=Hv(new Array(a),e)),r=e,i=t.Kc(),n=0;n<a;++n)BR(r,n,i.Pb());return e.length>a&&BR(e,a,null),e}function zit(t,e){var n,i,r;return n=e.cd(),r=e.dd(),i=t.xc(n),!(!(iA(r)===iA(i)||null!=r&&X7(r,i))||null==i&&!t._b(n))}function qit(t,e,n,i){var r,a;this.a=e,this.c=i,function(t,e){t.b=e}(this,new XC(-(r=t.a).c,-r.d)),mN(this.b,n),a=i/2,e.a?NO(this.b,0,a):NO(this.b,a,0),nB(t.c,this)}function Hit(){Hit=I,r7t=new FC(fAt,0),n7t=new FC(aMt,1),i7t=new FC("EDGE_LENGTH_BY_POSITION",2),e7t=new FC("CROSSING_MINIMIZATION_BY_POSITION",3)}function Zit(t,e){var n,i;if(n=VP(b1(t.g,e),33))return n;if(i=VP(b1(t.j,e),118))return i;throw lw(new lv("Referenced shape does not exist: "+e))}function Uit(t,e){if(t.c==e)return t.d;if(t.d==e)return t.c;throw lw(new Xm("Node 'one' must be either source or target of edge 'edge'."))}function Yit(t,e){if(t.c.i==e)return t.d.i;if(t.d.i==e)return t.c.i;throw lw(new Xm("Node "+e+" is neither source nor target of edge "+t))}function Git(t,e){var n;switch(e.g){case 2:case 4:n=t.a,t.c.d.n.b<n.d.n.b&&(n=t.c),Ij(t,e,($4(),BGt),n);break;case 1:case 3:Ij(t,e,($4(),DGt),null)}}function Kit(t,e,n,i,r,a){var o,s,c,u,l;for(o=function(t,e,n){var i,r;switch(i=(r=t.b).d,e.g){case 1:return-i.d-n;case 2:return r.o.a+i.c+n;case 3:return r.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}(e,n,a),s=n==(Mxt(),Eie)||n==Hie?-1:1,u=t[n.g],l=0;l<u.length;l++)(c=u[l])>0&&(c+=r),u[l]=o,o+=s*(c+i)}function Wit(t){var e,n,i;for(i=t.f,t.n=WX(Qce,aTt,25,i,15,1),t.d=WX(Qce,aTt,25,i,15,1),e=0;e<i;e++)n=VP(EF(t.c.b,e),29),t.n[e]=rnt(t,n),t.d[e]=Ndt(t,n)}function Xit(t,e){var n,i,r;for(r=0,i=2;i<e;i<<=1)0!=(t.Db&i)&&++r;if(0==r){for(n=e<<=1;n<=128;n<<=1)if(0!=(t.Db&n))return 0;return-1}return r}function Vit(t,e){var n,i,r,a,o;for(o=bgt(t.e.Tg(),e),a=null,n=VP(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&(!a&&(a=new bc),hV(a,i));a&&Kxt(t,a)}function Qit(t){var e,n;if(!t)return null;if(t.dc())return"";for(n=new Mv,e=t.Kc();e.Ob();)wA(n,fD(e.Pb())),n.a+=" ";return YA(n,n.a.length-1)}function Jit(t,e,n){var i,r,a,o;for(u5(t),null==t.k&&(t.k=WX(gjt,T_t,78,0,0,1)),r=0,a=(i=t.k).length;r<a;++r)Jit(i[r],e,"\t"+n);(o=t.f)&&Jit(o,e,n)}function trt(t,e){var n,i=new Array(e);switch(t){case 14:case 15:n=0;break;case 16:n=!1;break;default:return i}for(var r=0;r<e;++r)i[r]=n;return i}function ert(t){var e;for(e=new wd(t.a.b);e.a<e.c.c.length;)VP(qU(e),57).c.$b();KJ(fM(t.d)?t.a.c:t.a.d,new Kd(t)),t.c.Me(t),Rgt(t)}function nrt(t){var e,n,i;for(n=new wd(t.e.c);n.a<n.c.c.length;){for(i=new wd((e=VP(qU(n),282)).b);i.a<i.c.c.length;)Wyt(VP(qU(i),447));dlt(e)}}function irt(t){var e,i,r,a,o;for(r=0,o=0,a=0,i=new wd(t.a);i.a<i.c.c.length;)e=VP(qU(i),187),o=n.Math.max(o,e.r),r+=e.d+(a>0?t.c:0),++a;t.b=r,t.d=o}function rrt(t,e){var i;return i=P4(Zv(Qce,1),aTt,25,15,[Ynt(t,(QJ(),aqt),e),Ynt(t,oqt,e),Ynt(t,sqt,e)]),t.f&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function art(t,e,n){try{obt(t,e+t.j,n+t.k,!1,!0)}catch(t){throw MI(t=k4(t),73)?lw(new qm(t.g+ZCt+e+n_t+n+").")):lw(t)}}function ort(t,e,n){try{obt(t,e+t.j,n+t.k,!0,!1)}catch(t){throw MI(t=k4(t),73)?lw(new qm(t.g+ZCt+e+n_t+n+").")):lw(t)}}function srt(t){var e;IO(t,(wkt(),G1t))&&((e=VP(Ost(t,G1t),21)).Hc((Eft(),Zne))?(e.Mc(Zne),e.Fc(Yne)):e.Hc(Yne)&&(e.Mc(Yne),e.Fc(Zne)))}function crt(t){var e;IO(t,(wkt(),G1t))&&((e=VP(Ost(t,G1t),21)).Hc((Eft(),Vne))?(e.Mc(Vne),e.Fc(Wne)):e.Hc(Wne)&&(e.Mc(Wne),e.Fc(Vne)))}function urt(t,e,n,i){var r,a;for(r=e;r<t.c.length;r++){if(OU(r,t.c.length),a=VP(t.c[r],11),!n.Mb(a))return r;i.c[i.c.length]=a}return t.c.length}function lrt(t,e,n,i){var r,a,o;return null==t.a&&function(t,e){var n,i,r,a;for(a=e.b.j,t.a=WX(Kce,CEt,25,a.c.length,15,1),r=0,i=0;i<a.c.length;i++)OU(i,a.c.length),0==(n=VP(a.c[i],11)).e.c.length&&0==n.g.c.length?r+=1:r+=3,t.a[i]=r}(t,e),o=e.b.j.c.length,a=n.d.p,(r=i.d.p-1)<0&&(r=o-1),a<=r?t.a[r]-t.a[a]:t.a[o-1]-t.a[a]+t.a[r]}function hrt(t){var e,n;if(!t.a)for(t.a=tG(sH(VP(t.f,33)).i),n=new YI(sH(VP(t.f,33)));n.e!=n.i.gc();)e=VP(hnt(n),33),nB(t.a,new nO(t,e));return t.a}function frt(t){var e;if(!t.C&&(null!=t.D||null!=t.B))if(e=function(t){var e,n,i,r;if(-1!=(e=WA(n=null!=t.D?t.D:t.B,wst(91)))){i=n.substr(0,e),r=new Mv;do{r.a+="["}while(-1!=(e=dO(n,91,++e)));jN(i,Kkt)?r.a+="Z":jN(i,qBt)?r.a+="B":jN(i,HBt)?r.a+="C":jN(i,ZBt)?r.a+="D":jN(i,UBt)?r.a+="F":jN(i,YBt)?r.a+="I":jN(i,GBt)?r.a+="J":jN(i,KBt)?r.a+="S":(r.a+="L",r.a+=""+i,r.a+=";");try{return null}catch(t){if(!MI(t=k4(t),60))throw lw(t)}}else if(-1==WA(n,wst(46))){if(jN(n,Kkt))return Wce;if(jN(n,qBt))return Vce;if(jN(n,HBt))return Gce;if(jN(n,ZBt))return Qce;if(jN(n,UBt))return Jce;if(jN(n,YBt))return Kce;if(jN(n,GBt))return Xce;if(jN(n,KBt))return tue}return null}(t))t.yk(e);else try{t.yk(null)}catch(t){if(!MI(t=k4(t),60))throw lw(t)}return t.C}function drt(t,e){var i,r,a;for(a=new Sx,r=t.Kc();r.Ob();)gbt(i=VP(r.Pb(),37),a.a,0),a.a+=i.f.a+e,a.b=n.Math.max(a.b,i.f.b);return a.b>0&&(a.b+=e),a}function grt(t,e){var i,r,a;for(a=new Sx,r=t.Kc();r.Ob();)gbt(i=VP(r.Pb(),37),0,a.b),a.b+=i.f.b+e,a.a=n.Math.max(a.a,i.f.a);return a.a>0&&(a.a+=e),a}function prt(t){var e,i,r;for(r=Qkt,i=new wd(t.a);i.a<i.c.c.length;)IO(e=VP(qU(i),10),(Lkt(),MXt))&&(r=n.Math.min(r,VP(Ost(e,MXt),19).a));return r}function brt(t,e){var n,i;if(0==e.length)return 0;for(n=JR(t.a,e[0],(Mxt(),Hie)),n+=JR(t.a,e[e.length-1],_ie),i=0;i<e.length;i++)n+=ect(t,i,e);return n}function wrt(){kgt(),this.c=new iw,this.i=new iw,this.e=new cM,this.f=new cM,this.g=new cM,this.j=new iw,this.a=new iw,this.b=new rw,this.k=new rw}function yrt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,5,aae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function mrt(t){var e,i,r;t.b==t.c&&(r=t.a.length,i=k5(n.Math.max(8,r))<<1,0!=t.b?(J0(t,e=nN(t.a,i),r),t.a=e,t.b=0):Uw(t.a,i),t.c=r)}function vrt(t,e){var n;return(n=t.b).Xe((Ikt(),xee))?n.Hf()==(Mxt(),Hie)?-n.rf().a-ev(hD(n.We(xee))):e+ev(hD(n.We(xee))):n.Hf()==(Mxt(),Hie)?-n.rf().a:e}function xrt(t){var e;return 0!=t.b.c.length&&VP(EF(t.b,0),70).a?VP(EF(t.b,0),70).a:null!=(e=Aq(t))?e:""+(t.c?lQ(t.c.a,t,0):-1)}function krt(t){var e;return 0!=t.f.c.length&&VP(EF(t.f,0),70).a?VP(EF(t.f,0),70).a:null!=(e=Aq(t))?e:""+(t.i?lQ(t.i.j,t,0):-1)}function _rt(t,e){var n,i;if(e<0||e>=t.gc())return null;for(n=e;n<t.gc();++n)if(i=VP(t.Xb(n),128),n==t.gc()-1||!i.o)return new mS(p8(n),i);return null}function Ert(t,e,n){var i,r,a,o;for(a=t.c,i=n?t:e,r=(n?e:t).p+1;r<i.p;++r)if((o=VP(EF(a.a,r),10)).k!=(gct(),jUt)&&!pat(o))return!1;return!0}function Trt(t){var e,i,r,a,o;for(o=0,a=tTt,r=0,i=new wd(t.a);i.a<i.c.c.length;)o+=(e=VP(qU(i),187)).r+(r>0?t.c:0),a=n.Math.max(a,e.d),++r;t.e=o,t.b=a}function Crt(t,e,n,i){return 0==e?i?(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),t.o):(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),YX(t.o)):Dnt(t,e,n,i)}function Srt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e<n;++e)yO(a1(t.rb,e));if(t.vb)for(e=0,n=t.vb.i;e<n;++e)yO(a1(t.vb,e));I$((put(),gse),t),t.Bb|=1}function Art(t,e,n,i,r,a,o,s,c,u,l,h,f,d){return Uut(t,e,i,null,r,a,o,s,c,u,f,!0,d),Z8(t,l),MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),2),n&&X0(t,n),U8(t,h),t}function Mrt(t,e){var n,i,r;return!((r=t.h-e.h)<0||(n=t.l-e.l,(r+=(i=t.m-e.m+(n>>22))>>22)<0||(t.l=n&qEt,t.m=i&qEt,t.h=r&HEt,0)))}function Irt(t,e,n){var i,r;return o7(r=new Yy,e),_2(r,n),hV((!t.c&&(t.c=new mj(foe,t,12,10)),t.c),r),j1(i=r,0),R1(i,1),f8(i,!0),u8(i,!0),i}function Lrt(t,e){var n,i;if(e>=t.i)throw lw(new zA(e,t.i));return++t.j,n=t.g[e],(i=t.i-e-1)>0&&lmt(t.g,e+1,t.g,e,i),BR(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Ort(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,roe,e):(n=eit(VP(MJ(VP(q3(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Drt(t){var e,n,i,r,a;for(r=Qkt,a=null,i=new wd(t.d);i.a<i.c.c.length;)(n=VP(qU(i),213)).d.j^n.e.j&&(e=n.e.e-n.d.e-n.a)<r&&(r=e,a=n);return a}function Nrt(){Nrt=I,IZt=new RA(XSt,(EL(),!1)),CZt=new RA(VSt,100),MQ(),SZt=new RA(QSt,AZt=UZt),MZt=new RA(JSt,ASt),LZt=new RA(tAt,p8(Qkt))}function Prt(t,e,n){var i,r,a,o,s,c;for(c=0,r=0,a=(i=t.a[e]).length;r<a;++r)for(s=W7(i[r],n).Kc();s.Ob();)o=VP(s.Pb(),11),Pz(t.f,o,p8(c++))}function Brt(t){var e;return Vst(),BV(e=VP(Rit(R$(t.k),WX(ere,dAt,61,2,0,1)),122),0,e.length,null),e[0]==(Mxt(),Eie)&&e[1]==Hie&&(BR(e,0,Hie),BR(e,1,Eie)),e}function Frt(t,e,n){var i,r,a;return a=tpt(t,r=function(t,e,n){var i,r,a,o,s,c,u;for(u=new Wx(new xp(t)),s=0,c=(o=P4(Zv(aYt,1),_At,11,0,[e,n])).length;s<c;++s)for(a=o[s],C5(u.a,a,(EL(),Djt)),r=new YW(a.b);JM(r.a)||JM(r.b);)(i=VP(JM(r.a)?qU(r.a):qU(r.b),17)).c==i.d||sR(u,a==i.c?i.d:i.c);return TR(u),new uP(u)}(t,e,n)),IV(t.b),eY(t,e,n),Gq(),QM(r,new yp(t)),i=tpt(t,r),IV(t.b),eY(t,n,e),new mS(p8(a),p8(i))}function $rt(){$rt=I,s4t=cF(new hG,(Dst(),nUt),(Dkt(),IYt)),c4t=new jD("linearSegments.inputPrio",p8(0)),u4t=new jD("linearSegments.outputPrio",p8(0))}function jrt(){jrt=I,Q4t=new MC("P1_TREEIFICATION",0),J4t=new MC("P2_NODE_ORDERING",1),t5t=new MC("P3_NODE_PLACEMENT",2),e5t=new MC("P4_EDGE_ROUTING",3)}function Rrt(){Rrt=I,Ikt(),X6t=Lee,J6t=Kee,H6t=Jte,Z6t=nee,U6t=ree,q6t=Vte,Y6t=see,W6t=Cee,dft(),R6t=M6t,z6t=I6t,G6t=O6t,K6t=N6t,V6t=P6t,Q6t=B6t,t7t=$6t}function zrt(){zrt=I,Rne=new rS("UNKNOWN",0),Fne=new rS("ABOVE",1),$ne=new rS("BELOW",2),jne=new rS("INLINE",3),new jD("org.eclipse.elk.labelSide",Rne)}function qrt(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(X7(e,t.g[n]))return n}else for(n=0;n<t.i;++n)if(iA(t.g[n])===iA(e))return n;return-1}function Hrt(t,e,n){if(n&&(e<0||e>n.a.c.length))throw lw(new Xm("index must be >= 0 and <= layer node count"));t.c&&sQ(t.c.a,t),t.c=n,n&&JF(n.a,e,t)}function Zrt(t,e){var n,i,r;for(i=new O$(dL(o9(t).a.Kc(),new l));Xht(i);)return n=VP(xW(i),17),new Rh(TR((r=VP(e.Kb(n),10)).n.b+r.o.b/2));return bm(),bm(),Y$t}function Urt(t,e){this.c=new rw,this.a=t,this.b=e,this.d=VP(Ost(t,(Lkt(),YXt)),304),iA(Ost(t,(wkt(),K1t)))===iA((aQ(),rWt))?this.e=new My:this.e=new Ay}function Yrt(t,e){var n,i;return i=null,t.Xe((Ikt(),Hee))&&(n=VP(t.We(Hee),94)).Xe(e)&&(i=n.We(e)),null==i&&t.yf()&&(i=t.yf().We(e)),null==i&&(i=unt(e)),i}function Grt(t,e){var n,i;n=t.Zc(e);try{return i=n.Pb(),n.Qb(),i}catch(t){throw MI(t=k4(t),109)?lw(new qm("Can't remove element "+e)):lw(t)}}function Krt(t,e){var n,i,r;for(yz(e),EO(e!=t),r=t.b.c.length,i=e.Kc();i.Ob();)n=i.Pb(),nB(t.b,yz(n));return r!=t.b.c.length&&(f6(t,0),!0)}function Wrt(){Wrt=I,Ikt(),BZt=Hte,new BM(Ite,(EL(),!0)),jZt=Jte,RZt=nee,zZt=ree,$Zt=Vte,qZt=see,HZt=Cee,Nrt(),PZt=IZt,DZt=SZt,NZt=MZt,FZt=LZt,OZt=CZt}function Xrt(t,e,n,i){var r,a,o;for(QZ(e,VP(i.Xb(0),29)),o=i.bd(1,i.gc()),a=VP(n.Kb(e),20).Kc();a.Ob();)Xrt(t,(r=VP(a.Pb(),17)).c.i==e?r.d.i:r.c.i,n,o)}function Vrt(t){var e;return e=new rw,IO(t,(Lkt(),VXt))?VP(Ost(t,VXt),83):(C_(lq(new CF(null,new NU(t.j,16)),new er),new jg(e)),d5(t,VXt,e),e)}function Qrt(t,e){var n;return t.Db>>16==6?t.Cb.ih(t,6,tae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(skt(),Pre),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Jrt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,Vre,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(skt(),Fre),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function tat(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,sae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(skt(),jre),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function eat(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,coe,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(Bkt(),Eoe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function nat(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,nae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(Bkt(),woe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function iat(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,aae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(Bkt(),Doe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function rat(){this.a=new dc,this.g=new rit,this.j=new rit,this.b=new rw,this.d=new rit,this.i=new rit,this.k=new rw,this.c=new rw,this.e=new rw,this.f=new rw}function aat(t,e,n){var i,r,a;for(n<0&&(n=0),a=t.i,r=n;r<a;r++)if(i=a1(t,r),null==e){if(null==i)return r}else if(iA(e)===iA(i)||X7(e,i))return r;return-1}function oat(t,e){var n,i;if(e){if(e==t)return!0;for(n=0,i=VP(e,49).eh();i&&i!=e;i=i.eh()){if(++n>oTt)return oat(t,i);if(i==t)return!0}}return!1}function sat(t,e){var i,r,a;for(sQ(t.a,e),t.e-=e.r+(0==t.a.c.length?0:t.c),a=bOt,r=new wd(t.a);r.a<r.c.c.length;)i=VP(qU(r),187),a=n.Math.max(a,i.d);t.b=a}function cat(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,12,sae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(skt(),Nre),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function uat(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,sae,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(skt(),$re),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function lat(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,roe,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(Bkt(),Loe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hat(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,hoe,e):(n=eit(VP(MJ(VP(q3(t,16),26)||(Bkt(),Noe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fat(t){var e;return 0==(1&t.Bb)&&t.r&&t.r.kh()&&(e=VP(t.r,49),t.r=VP(S7(t,e),138),t.r!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,8,e,t.r))),t.r}function dat(t,e,i){var r;return r=P4(Zv(Qce,1),aTt,25,15,[xst(t,(QJ(),aqt),e,i),xst(t,oqt,e,i),xst(t,sqt,e,i)]),t.f&&(r[0]=n.Math.max(r[0],r[2]),r[2]=r[0]),r}function gat(t,e){var n,i,r;if(0!=(r=function(t,e){var n,i,r;for(r=new wX(e.gc()),i=e.Kc();i.Ob();)(n=VP(i.Pb(),286)).c==n.f?eut(t,n,n.c):Xct(t,n)||(r.c[r.c.length]=n);return r}(t,e)).c.length)for(QM(r,new ei),n=r.c.length,i=0;i<n;i++)eut(t,(OU(i,r.c.length),VP(r.c[i],286)),lpt(t,r,i))}function pat(t){var e,n;if(t.k==(gct(),qUt))for(n=new O$(dL(o9(t).a.Kc(),new l));Xht(n);)if(!JK(e=VP(xW(n),17))&&t.c==Hat(e,t).c)return!0;return!1}function bat(t){var e,n;if(t.k==(gct(),qUt))for(n=new O$(dL(o9(t).a.Kc(),new l));Xht(n);)if(!JK(e=VP(xW(n),17))&&e.c.i.c==e.d.i.c)return!0;return!1}function wat(t,e){var n,i,r,a,o,s;return(o=t.h>>19)!=(s=e.h>>19)?s-o:(i=t.h)!=(a=e.h)?i-a:(n=t.m)!=(r=e.m)?n-r:t.l-e.l}function yat(){yat=I,Dpt(),qzt=new RA(cCt,Hzt=Xzt),uJ(),Rzt=new RA(uCt,zzt=Nzt),ent(),$zt=new RA(lCt,jzt=Izt),Fzt=new RA(hCt,(EL(),!0))}function mat(t,e,n){var i,r;i=e*n,MI(t.g,145)?(r=CG(t)).f.d?r.f.a||(t.d.a+=i+SCt):(t.d.d-=i+SCt,t.d.a+=i+SCt):MI(t.g,10)&&(t.d.d-=i,t.d.a+=2*i)}function vat(t,e,i){var r,a,o,s,c;for(a=t[i.g],c=new wd(e.d);c.a<c.c.c.length;)(o=(s=VP(qU(c),101)).i)&&o.i==i&&(a[r=s.d[i.g]]=n.Math.max(a[r],o.j.b))}function xat(t,e){var i,r,a,o,s;for(r=0,a=0,i=0,s=new wd(e.d);s.a<s.c.c.length;)irt(o=VP(qU(s),443)),r=n.Math.max(r,o.b),a+=o.d+(i>0?t.g:0),++i;e.b=r,e.e=a}function kat(t){var e,n,i;if(i=t.b,m_(t.i,i.length)){for(n=2*i.length,t.b=WX(ojt,Z_t,317,n,0,1),t.c=WX(ojt,Z_t,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)ylt(t,e,e);++t.g}}function _at(t,e,n){var i;(i=e.c.i).k==(gct(),qUt)?(d5(t,(Lkt(),TXt),VP(Ost(i,TXt),11)),d5(t,CXt,VP(Ost(i,CXt),11))):(d5(t,(Lkt(),TXt),e.c),d5(t,CXt,n.d))}function Eat(t,e,i){var r,a,o,s,c,u;return cpt(),s=e/2,o=i/2,c=1,u=1,(r=n.Math.abs(t.a))>s&&(c=s/r),(a=n.Math.abs(t.b))>o&&(u=o/a),$I(t,n.Math.min(c,u)),t}function Tat(){s_.call(this),this.e=-1,this.a=!1,this.p=eEt,this.k=-1,this.c=-1,this.b=-1,this.g=!1,this.f=-1,this.j=-1,this.n=-1,this.i=-1,this.d=-1,this.o=eEt}function Cat(){Cat=I,WZt=v$(cF(cF(cF(new hG,(Dst(),eUt),(Dkt(),PYt)),eUt,jYt),nUt,YYt),nUt,_Yt),VZt=cF(cF(new hG,eUt,dYt),eUt,EYt),XZt=v$(new hG,nUt,CYt)}function Sat(t,e){var n,i,r,a;for(a=new rw,e.e=null,e.f=null,i=new wd(e.i);i.a<i.c.c.length;)n=VP(qU(i),65),r=VP(zR(t.g,n.a),46),n.a=oj(n.b),Pz(a,n.a,r);t.g=a}function Aat(t,e,n){var i,r,a,o,s;for(r=(e-t.e)/t.d.c.length,a=0,s=new wd(t.d);s.a<s.c.c.length;)o=VP(qU(s),443),i=t.b-o.b+n,Dtt(o,o.e+a*r,o.f),Lit(o,r,i),++a}function Mat(t){var e;if(t.f.qj(),-1!=t.b){if(++t.b,e=t.f.d[t.a],t.b<e.i)return;++t.a}for(;t.a<t.f.d.length;++t.a)if((e=t.f.d[t.a])&&0!=e.i)return void(t.b=0);t.b=-1}function Iat(t,e){var n,i,r;for(n=function(t,e){var n,i;if(i=0,e.length>0)try{i=rwt(e,eEt,Qkt)}catch(t){throw MI(t=k4(t),127)?lw(new mQ(t)):lw(t)}return!t.a&&(t.a=new Wb(t)),i<(n=t.a).i&&i>=0?VP(a1(n,i),56):null}(t,0==(r=e.c.length)?"":(OU(0,e.c.length),fD(e.c[0]))),i=1;i<r&&n;++i)n=VP(n,49).oh((OU(i,e.c.length),fD(e.c[i])));return n}function Lat(t,e){var n,i;for(i=new wd(e);i.a<i.c.c.length;)n=VP(qU(i),10),t.c[n.c.p][n.p].a=o$(t.i),t.c[n.c.p][n.p].d=ev(t.c[n.c.p][n.p].a),t.c[n.c.p][n.p].b=1}function Oat(t,e,n,i){var r,a,o;return o=nbt(t,a=function(t,e,n,i){var r,a,o,s,c,u,l,h;for(h=new Wx(new vp(t)),s=0,c=(o=P4(Zv(UUt,1),kAt,10,0,[e,n])).length;s<c;++s)for(l=W7(o[s],i).Kc();l.Ob();)for(a=new YW((u=VP(l.Pb(),11)).b);JM(a.a)||JM(a.b);)JK(r=VP(JM(a.a)?qU(a.a):qU(a.b),17))||(C5(h.a,u,(EL(),Djt)),kz(r)&&sR(h,u==r.c?r.d:r.c));return TR(h),new uP(h)}(t,e,n,i)),Sst(t,e,n,i),IV(t.b),Gq(),QM(a,new mp(t)),r=nbt(t,a),Sst(t,n,e,i),IV(t.b),new mS(p8(o),p8(r))}function Dat(t,e){ast(e,"General Compactor",1),e.n&&t&&tY(e,FY(t),(S6(),kre)),function(t){switch(t.g){case 1:return new $o;case 2:return new rD;default:throw lw(new Xm(xOt+(null!=t.f?t.f:""+t.g)))}}(VP(_ft(t,(Rrt(),z6t)),380)).hg(t),e.n&&t&&tY(e,FY(t),(S6(),kre))}function Nat(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new LN(tae,t,7,4)),gtt(t.e,e,i);case 8:return!t.d&&(t.d=new LN(tae,t,8,5)),gtt(t.d,e,i)}return lst(t,e,n,i)}function Pat(t,e,n,i){switch(n){case 7:return!t.e&&(t.e=new LN(tae,t,7,4)),Tnt(t.e,e,i);case 8:return!t.d&&(t.d=new LN(tae,t,8,5)),Tnt(t.d,e,i)}return p4(t,e,n,i)}function Bat(t,e,n){var i,r,a;return t.qj(),a=null==e?0:K5(e),t.f>0&&(r=iht(t,(a&Qkt)%t.d.length,a,e))?r.ed(n):(i=t.tj(a,e,n),t.c.Fc(i),null)}function Fat(t,e){var n,i,r,a;switch(Y7(t,e)._k()){case 3:case 2:for(r=0,a=(n=imt(e)).i;r<a;++r)if(5==Ez(SQ(t,i=VP(a1(n,r),34))))return i}return null}function $at(t,e){var i,r,a,o;for(o=0,a=VP(VP(jW(t.r,e),21),84).Kc();a.Ob();)r=VP(a.Pb(),111),o=n.Math.max(o,r.e.a+r.b.rf().a);(i=VP(Zz(t.b,e),124)).n.b=0,i.a.a=o}function jat(t,e){var i,r,a,o;for(i=0,o=VP(VP(jW(t.r,e),21),84).Kc();o.Ob();)a=VP(o.Pb(),111),i=n.Math.max(i,a.e.b+a.b.rf().b);(r=VP(Zz(t.b,e),124)).n.d=0,r.a.b=i}function Rat(t){if(t<0)throw lw(new Xm("The input must be positive"));return t<R9t.length?WY(R9t[t]):n.Math.sqrt(pOt*t)*(function(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}(t,t)/A7(2.718281828459045,t))}function zat(t,e){var n;if(t.ni()&&null!=e){for(n=0;n<t.i;++n)if(X7(e,t.g[n]))return!0}else for(n=0;n<t.i;++n)if(iA(t.g[n])===iA(e))return!0;return!1}function qat(t,e){var i;return eM(t)&&eM(e)&&KEt<(i=t/e)&&i<YEt?i<0?n.Math.ceil(i):n.Math.floor(i):O3(Jmt(eM(t)?K3(t):t,eM(e)?K3(e):e,!1))}function Hat(t,e){if(e==t.c.i)return t.d.i;if(e==t.d.i)return t.c.i;throw lw(new Xm("'node' must either be the source node or target node of the edge."))}function Zat(t,e){var n,i;for(n=new O$(dL((e?c9(t):s9(t)).a.Kc(),new l));Xht(n);)if((i=Hat(VP(xW(n),17),t)).k==(gct(),qUt)&&i.c!=t.c)return i;return null}function Uat(t,e,n){var i,r,a;for(a=new wd(e);a.a<a.c.c.length;)i=VP(qU(a),10),t.c[i.c.p][i.p].e=!1;for(r=new wd(e);r.a<r.c.c.length;)cxt(t,i=VP(qU(r),10),n)}function Yat(t,e,i){var r,a;(r=Z7(e.j,i.s,i.c)+Z7(i.e,e.s,e.c))==(a=Z7(i.j,e.s,e.c)+Z7(e.e,i.s,i.c))?r>0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=n.Math.min(r,a))}function Gat(t,e){var n;if(n=!1,oA(e)&&(n=!0,tz(t,new UR(fD(e)))),n||MI(e,236)&&(n=!0,tz(t,new Ef(eP(VP(e,236))))),!n)throw lw(new Zm(rPt))}function Kat(t){var e,n;switch(VP(Ost(pz(t),(wkt(),O1t)),420).g){case 0:return e=t.n,n=t.o,new XC(e.a+n.a/2,e.b+n.b/2);case 1:return new hM(t.n);default:return null}}function Wat(){Wat=I,hWt=new WT(fAt,0),lWt=new WT("LEFTUP",1),dWt=new WT("RIGHTUP",2),uWt=new WT("LEFTDOWN",3),fWt=new WT("RIGHTDOWN",4),cWt=new WT("BALANCED",5)}function Xat(t,e,n){switch(e){case 1:return!t.n&&(t.n=new mj(oae,t,1,7)),Hmt(t.n),!t.n&&(t.n=new mj(oae,t,1,7)),void kR(t.n,VP(n,14));case 2:return void O0(t,fD(n))}Q5(t,e,n)}function Vat(t,e,n){switch(e){case 3:return void L1(t,ev(hD(n)));case 4:return void O1(t,ev(hD(n)));case 5:return void D1(t,ev(hD(n)));case 6:return void N1(t,ev(hD(n)))}Xat(t,e,n)}function Qat(t,e,n){var i,r;(i=fst(r=new Yy,e,null))&&i.Fi(),_2(r,n),hV((!t.c&&(t.c=new mj(foe,t,12,10)),t.c),r),j1(r,0),R1(r,1),f8(r,!0),u8(r,!0)}function Jat(t,e){var n,i;return MI(n=NE(t.g,e),235)?((i=VP(n,235)).Qh(),i.Nh()):MI(n,498)?i=VP(n,1938).b:null}function tot(t,e,n,i){var r,a;return TR(e),TR(n),_Q(!!(a=VP(tP(t.d,e),19)),"Row %s not in %s",e,t.e),_Q(!!(r=VP(tP(t.b,n),19)),"Column %s not in %s",n,t.c),N4(t,a.a,r.a,i)}function eot(t,e,n,i,r,a,o){var s,c,u,l,h;if(h=trt(s=(u=a==o-1)?i:0,l=r[a]),10!=i&&P4(Zv(t,o-a),e[a],n[a],s,h),!u)for(++a,c=0;c<l;++c)h[c]=eot(t,e,n,i,r,a,o);return h}function not(t){if(-1==t.g)throw lw(new Dw);t.mj();try{t.i.$c(t.g),t.f=t.i.j,t.g<t.e&&--t.e,t.g=-1}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}}function iot(t,e){return t.b.a=n.Math.min(t.b.a,e.c),t.b.b=n.Math.min(t.b.b,e.d),t.a.a=n.Math.max(t.a.a,e.c),t.a.b=n.Math.max(t.a.b,e.d),t.c[t.c.length]=e,!0}function rot(t){var e,n,i;for(i=-1,n=0,e=new wd(t);e.a<e.c.c.length;){if(VP(qU(e),243).c==(l0(),i3t)){i=0==n?0:n-1;break}n==t.c.length-1&&(i=n),n+=1}return i}function aot(t){var e,i,r,a;for(a=0,e=0,r=new wd(t.c);r.a<r.c.c.length;)D1(i=VP(qU(r),33),t.e+a),N1(i,t.f),a+=i.g+t.b,e=n.Math.max(e,i.f+t.b);t.d=a-t.b,t.a=e-t.b}function oot(t){var e,n,i;for(n=new wd(t.a.b);n.a<n.c.c.length;)i=(e=VP(qU(n),57)).d.c,e.d.c=e.d.d,e.d.d=i,i=e.d.b,e.d.b=e.d.a,e.d.a=i,i=e.b.a,e.b.a=e.b.b,e.b.b=i;Hdt(t)}function sot(t){var e,n,i;for(n=new wd(t.a.b);n.a<n.c.c.length;)i=(e=VP(qU(n),81)).g.c,e.g.c=e.g.d,e.g.d=i,i=e.g.b,e.g.b=e.g.a,e.g.a=i,i=e.e.a,e.e.a=e.e.b,e.e.b=i;Zdt(t)}function cot(t,e){var n,i;return(i=VP(BL(Z5(lq(new CF(null,new NU(e.j,16)),new da))),11))&&(n=VP(EF(i.e,0),17))?VP(Ost(n,(Lkt(),MXt)),19).a:function(t){switch(t.g){case 0:return Qkt;case 1:return-1;default:return 0}}(t.b)}function uot(t,e){var i,r;for(sQ(t.b,e),r=new wd(t.n);r.a<r.c.c.length;)if(-1!=lQ((i=VP(qU(r),211)).c,e,0)){sQ(i.c,e),aot(i),0==i.c.c.length&&sQ(t.n,i);break}!function(t){var e,i,r,a,o,s,c,u;for(r=0,i=0,u=new T_,e=0,c=new wd(t.n);c.a<c.c.c.length;)0==(s=VP(qU(c),211)).c.c.length?WK(u,s,u.c.b,u.c):(r=n.Math.max(r,s.d),i+=s.a+(e>0?t.i:0)),++e;for(function(t,e){var n,i;for(yz(e),n=!1,i=new wd(t);i.a<i.c.c.length;)W9(e,qU(i),!1)&&(Uj(i),n=!0)}(t.n,u),t.d=i,t.r=r,t.g=0,t.f=0,t.e=0,t.o=JEt,t.p=JEt,o=new wd(t.b);o.a<o.c.c.length;)a=VP(qU(o),33),t.p=n.Math.min(t.p,a.g),t.g=n.Math.max(t.g,a.g),t.f=n.Math.max(t.f,a.f),t.o=n.Math.min(t.o,a.f),t.e+=a.f+t.i;t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),Trt(t.j)}(t)}function lot(t,e){var i,r,a,o,s;for(s=t.f,a=0,o=0,r=new wd(t.a);r.a<r.c.c.length;)Vnt(i=VP(qU(r),187),t.e,s),wV(i,e),o=n.Math.max(o,i.r),a=s+=i.d+t.c;t.d=o,t.b=a}function hot(t){var e,n;return TG(n=fdt(t))?null:(TR(n),e=VP(Eit(new O$(dL(n.a.Kc(),new l))),79),rst(VP(a1((!e.b&&(e.b=new LN(Jre,e,4,7)),e.b),0),82)))}function fot(t){return t.o||(t.Lj()?t.o=new az(t,t,null):t.rk()?t.o=new RD(t,null):1==Ez(SQ((put(),gse),t))?t.o=new hK(t):t.o=new zD(t,null)),t.o}function dot(t,e,n,i){var r,a,o,s,c;n.mh(e)&&(r=(o=e)?VP(i,49).xh(o):null)&&(c=n.ah(e),(s=e.t)>1||-1==s?(a=VP(c,15),r.Wb(function(t,e){var n,i,r;for(i=new wX(e.gc()),n=e.Kc();n.Ob();)(r=Vbt(t,VP(n.Pb(),56)))&&(i.c[i.c.length]=r);return i}(t,a))):r.Wb(Vbt(t,VP(c,56))))}function got(t){switch(VP(Ost(t.b,(wkt(),w1t)),375).g){case 1:C_(hq(KQ(new CF(null,new NU(t.d,16)),new jr),new Rr),new zr);break;case 2:!function(t){var e,n,i,r,a,o,s;for(i=0,s=0,o=new wd(t.d);o.a<o.c.c.length;)a=VP(qU(o),101),r=VP(xK(lq(new CF(null,new NU(a.j,16)),new Gr),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15),n=null,i<=s?(Mxt(),n=Eie,i+=r.gc()):s<i&&(Mxt(),n=zie,s+=r.gc()),e=n,C_(hq(r.Oc(),new qr),new tp(e))}(t);break;case 0:!function(t){var e,n,i,r;for(QM(r=new uP(t.d),new Ur),spt(),e=P4(Zv(yKt,1),K_t,270,0,[nKt,aKt,eKt,cKt,rKt,iKt,sKt,oKt]),n=0,i=new wd(r);i.a<i.c.c.length;)vht(VP(qU(i),101),e[n%e.length]),++n}(t)}}function pot(t,e,n){ast(n,"Straight Line Edge Routing",1),n.n&&e&&tY(n,FY(e),(S6(),kre)),mmt(t,VP(_ft(e,(nD(),l6t)),33)),n.n&&e&&tY(n,FY(e),(S6(),kre))}function bot(){bot=I,gte=new QC("V_TOP",0),dte=new QC("V_CENTER",1),fte=new QC("V_BOTTOM",2),lte=new QC("H_LEFT",3),ute=new QC("H_CENTER",4),hte=new QC("H_RIGHT",5)}function wot(t){var e;return 0!=(64&t.Db)?ttt(t):((e=new TL(ttt(t))).a+=" (abstract: ",tk(e,0!=(256&t.Bb)),e.a+=", interface: ",tk(e,0!=(512&t.Bb)),e.a+=")",e.a)}function yot(t,e){this.e=t,uA(ZU(e,-4294967296),0)?(this.d=1,this.a=P4(Zv(Kce,1),CEt,25,15,[KF(e)])):(this.d=2,this.a=P4(Zv(Kce,1),CEt,25,15,[KF(e),KF(U$(e,32))]))}function mot(t,e){var n;e!=t.b?(n=null,t.b&&(n=YH(t.b,t,-4,n)),e&&(n=vnt(e,t,-4,n)),(n=T7(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,3,e,e))}function vot(t,e){var n;e!=t.f?(n=null,t.f&&(n=YH(t.f,t,-1,n)),e&&(n=vnt(e,t,-1,n)),(n=C7(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,0,e,e))}function xot(t){var e,n,i;if(null==t)return null;if((n=VP(t,15)).dc())return"";for(i=new Mv,e=n.Kc();e.Ob();)wA(i,(svt(),fD(e.Pb()))),i.a+=" ";return YA(i,i.a.length-1)}function kot(t){var e,n,i;if(null==t)return null;if((n=VP(t,15)).dc())return"";for(i=new Mv,e=n.Kc();e.Ob();)wA(i,(svt(),fD(e.Pb()))),i.a+=" ";return YA(i,i.a.length-1)}function _ot(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?$H(t,3,i,null,a,Dyt(t,i,a,MI(i,99)&&0!=(VP(i,18).Bb&iTt)),!0):$H(t,1,i,i.zj(),a,-1,!0),n?n.Ei(r):n=r,n}function Eot(t){var e,n;return e=VP(xW(new O$(dL(s9(t.a).a.Kc(),new l))),17),n=VP(xW(new O$(dL(c9(t.a).a.Kc(),new l))),17),tv(lD(Ost(e,(Lkt(),HXt))))||tv(lD(Ost(n,HXt)))}function Tot(){Tot=I,RGt=new $T("ONE_SIDE",0),qGt=new $T("TWO_SIDES_CORNER",1),HGt=new $T("TWO_SIDES_OPPOSING",2),zGt=new $T("THREE_SIDES",3),jGt=new $T("FOUR_SIDES",4)}function Cot(t,e,n,i,r){var a,o;a=VP(xK(lq(e.Oc(),new Jr),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15),o=VP(R3(t.b,n,i),15),0==r?o.Wc(0,a):o.Gc(a)}function Sot(t,e){var n,i,r;for(i=new wd(e.a);i.a<i.c.c.length;)for(n=new O$(dL(s9(VP(qU(i),10)).a.Kc(),new l));Xht(n);)r=VP(xW(n),17).c.i.p,t.n[r]=t.n[r]-1}function Aot(t,e){return!!e&&!t.Di(e)&&(t.i?t.i.Ei(e):MI(e,143)?(t.i=VP(e,143),!0):(t.i=new wc,t.i.Ei(e)))}function Mot(t,e,n){var i,r,a;for(r=t.vc().Kc();r.Ob();)if(a=(i=VP(r.Pb(),42)).cd(),iA(e)===iA(a)||null!=e&&X7(e,a))return n&&(i=new UE(i.cd(),i.dd()),r.Qb()),i;return null}function Iot(t,e,i,r){var a,o,s;for(s=n.Math.min(i,gyt(VP(t.b,65),e,i,r)),o=new wd(t.a);o.a<o.c.c.length;)(a=VP(qU(o),221))!=e&&(s=n.Math.min(s,Iot(a,e,s,r)));return s}function Lot(t){var e,n,i;for(i=WX(UUt,T_t,193,t.b.c.length,0,2),n=new QY(t.b,0);n.b<n.d.gc();)CO(n.b<n.d.gc()),e=VP(n.d.Xb(n.c=n.b++),29),i[n.b-1]=IY(e.a);return i}function Oot(t,e,n,i,r){var a,o,s,c;for(o=function(t,e){return t.e=e,t}(Xv(IP(function(t){switch(t.g){case 1:return n4(),Qqt;case 3:return n4(),Wqt;case 2:return n4(),Vqt;case 4:return n4(),Xqt;default:return null}}(n)),i),function(t,e,n){var i,r;switch(r=t.o,i=t.d,e.g){case 1:return-i.d-n;case 3:return r.b+i.a+n;case 2:return r.a+i.c+n;case 4:return-i.b-n;default:return 0}}(t,n,r)),c=Dct(t,n).Kc();c.Ob();)e[(s=VP(c.Pb(),11)).p]&&(a=e[s.p].i,nB(o.d,new h$(a,S8(o,a))));J9(o)}function Dot(t,e){this.f=new rw,this.b=new rw,this.j=new rw,this.a=t,this.c=e,this.c>0&&Prt(this,this.c-1,(Mxt(),_ie)),this.c<this.a.length-1&&Prt(this,this.c+1,(Mxt(),Hie))}function Not(t){t.length>0&&t[0].length>0&&(this.c=tv(lD(Ost(pz(t[0][0]),(Lkt(),xXt))))),this.a=WX(q3t,T_t,2018,t.length,0,2),this.b=WX(K3t,T_t,2019,t.length,0,2),this.d=new n7}function Pot(t){return 0!=t.c.length&&((OU(0,t.c.length),VP(t.c[0],17)).c.i.k==(gct(),qUt)||QK(hq(new CF(null,new NU(t,16)),new $a),new ja))}function Bot(t,e,n){return ast(n,"Tree layout",1),jY(t.b),Hj(t.b,(jrt(),Q4t),Q4t),Hj(t.b,J4t,J4t),Hj(t.b,t5t,t5t),Hj(t.b,e5t,e5t),t.a=tvt(t.b,e),function(t,e,n){var i,r,a;if(!(r=n)&&(r=new om),ast(r,"Layout",t.a.c.length),tv(lD(Ost(e,(oft(),$5t)))))for(c_(),i=0;i<t.a.c.length;i++)i++,Nx(W5(VP(EF(t.a,i),51)));for(a=new wd(t.a);a.a<a.c.c.length;)VP(qU(a),51).pf(e,Q2(r,1));$ct(r)}(t,e,Q2(n,1)),$ct(n),e}function Fot(t,e){var i,r,a,o,s,c;for(s=rpt(e),a=e.f,c=e.g,o=n.Math.sqrt(a*a+c*c),r=0,i=new wd(s);i.a<i.c.c.length;)r+=Fot(t,VP(qU(i),33));return n.Math.max(r,o)}function $ot(){$ot=I,fie=new sS(CCt,0),hie=new sS("FREE",1),lie=new sS("FIXED_SIDE",2),sie=new sS("FIXED_ORDER",3),uie=new sS("FIXED_RATIO",4),cie=new sS("FIXED_POS",5)}function jot(t){var e,n,i,r;if(null==t)return s_t;for(r=new Q3(n_t,"[","]"),n=0,i=(e=t).length;n<i;++n)qW(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function Rot(t){var e,n,i,r;if(null==t)return s_t;for(r=new Q3(n_t,"[","]"),n=0,i=(e=t).length;n<i;++n)qW(r,""+e[n]);return r.a?0==r.e.length?r.a.a:r.a.a+""+r.e:r.c}function zot(t){var e,n,i;for(i=new Q3(n_t,"{","}"),n=t.vc().Kc();n.Ob();)qW(i,UG(t,(e=VP(n.Pb(),42)).cd())+"="+UG(t,e.dd()));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function qot(t,e){var n,i,r;for(n=null,r=VP(e.Kb(t),20).Kc();r.Ob();)if(i=VP(r.Pb(),17),n){if((i.c.i==t?i.d.i:i.c.i)!=n)return!1}else n=i.c.i==t?i.d.i:i.c.i;return!0}function Hot(t,e){var n,i,r;for(i=new wd(Pdt(t,!1,e));i.a<i.c.c.length;)0==(n=VP(qU(i),129)).d?(wU(n,null),yU(n,null)):(r=n.a,wU(n,n.b),yU(n,r))}function Zot(t){var e,n,i,r;for(function(t){var e,n,i;if((n=VP(Ost(t,(wkt(),B1t)),163))==(p9(),eVt)){for(e=new O$(dL(s9(t).a.Kc(),new l));Xht(e);)if(!kW(VP(xW(e),17)))throw lw(new fv(HAt+xrt(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==iVt)for(i=new O$(dL(c9(t).a.Kc(),new l));Xht(i);)if(!kW(VP(xW(i),17)))throw lw(new fv(HAt+xrt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}(t),n=new O$(dL(o9(t).a.Kc(),new l));Xht(n);)r=(i=(e=VP(xW(n),17)).c.i==t)?e.d:e.c,i?XZ(e,null):VZ(e,null),d5(e,(Lkt(),NXt),r),Zht(t,r.i)}function Uot(t,e,n,i){var r,a;switch(r=n[(a=e.i).g][t.d[a.g]],a.g){case 1:r-=i+e.j.b,e.g.b=r;break;case 3:r+=i,e.g.b=r;break;case 4:r-=i+e.j.a,e.g.a=r;break;case 2:r+=i,e.g.a=r}}function Yot(t,e,n){var i,r;if(0==t.j)return n;if(r=VP(U1(t,0,n),72),!(i=n.ak()).Ij()||!t.a.rl(i))throw lw(new Am("Invalid entry feature '"+i.Hj().zb+"."+i.ne()+"'"));return r}function Got(t){var e,n,i;return x7(t,0)>=0?(n=qat(t,GEt),i=Ctt(t,GEt)):(n=qat(e=Y$(t,1),5e8),i=e9(Z$(i=Ctt(e,5e8),1),ZU(t,1))),UU(Z$(i,32),ZU(n,cTt))}function Kot(t,e,n){var i;switch(CO(0!=e.b),i=VP(WJ(e,e.a.a),8),n.g){case 0:i.b=0;break;case 2:i.b=t.f;break;case 3:i.a=0;break;default:i.a=t.g}return cR(tnt(e,0),i),e}function Wot(t,e,n,i){var r,a,o,s,c;switch(c=t.b,s=jet(o=(a=e.d).j,c.d[o.g],n),r=mN(pI(a.n),a.a),a.j.g){case 1:case 3:s.a+=r.a;break;case 2:case 4:s.b+=r.b}WK(i,s,i.c.b,i.c)}function Xot(t,e,n){var i,r,a,o;for(o=lQ(t.e,e,0),(a=new wy).b=n,i=new QY(t.e,o);i.b<i.d.gc();)CO(i.b<i.d.gc()),(r=VP(i.d.Xb(i.c=i.b++),10)).p=n,nB(a.e,r),lz(i);return a}function Vot(){var t,e,n,i;for(Vot=I,URt=WX(Qce,aTt,25,25,15,1),YRt=WX(Qce,aTt,25,33,15,1),i=152587890625e-16,e=32;e>=0;e--)YRt[e]=i,i*=.5;for(n=1,t=24;t>=0;t--)URt[t]=n,n*=.5}function Qot(t){var e,n;if(tv(lD(_ft(t,(wkt(),M1t)))))for(n=new O$(dL(ddt(t).a.Kc(),new l));Xht(n);)if(Wlt(e=VP(xW(n),79))&&tv(lD(_ft(e,I1t))))return!0;return!1}function Jot(t,e){var n,i,r;jj(t.f,e)&&(e.b=t,i=e.c,-1!=lQ(t.j,i,0)||nB(t.j,i),r=e.d,-1!=lQ(t.j,r,0)||nB(t.j,r),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new Wet(t)),function(t,e){var n,i;for(i=new wd(e);i.a<i.c.c.length;)n=VP(qU(i),70),nB(t.d,n),Xst(t,n)}(t.i,n)))}function tst(t){var e,n,i,r;return(n=(e=t.c.d).j)==(r=(i=t.d.d).j)?e.p<i.p?0:1:L8(n)==r?0:M8(n)==r?1:$L(t.b.b,L8(n))?0:1}function est(){est=I,b2t=new eC($Lt,0),g2t=new eC("LONGEST_PATH",1),f2t=new eC("COFFMAN_GRAHAM",2),d2t=new eC(iMt,3),w2t=new eC("STRETCH_WIDTH",4),p2t=new eC("MIN_WIDTH",5)}function nst(t){var e;this.d=new rw,this.c=t.c,this.e=t.d,this.b=t.b,this.f=new qF(t.e),this.a=t.a,t.f?this.g=t.f:this.g=new aP(e=VP(Lx(xae),9),VP(nN(e,e.length),9),0)}function ist(t,e){var n,i,r,a;!(r=sG(i=t,"layoutOptions"))&&(r=sG(i,zNt)),r&&(n=null,(a=r)&&(n=new t_(a,f2(a,WX(fRt,T_t,2,0,6,1)))),n&&GK(n,new MS(a,e)))}function rst(t){if(MI(t,239))return VP(t,33);if(MI(t,186))return EZ(VP(t,118));throw lw(t?new uv("Only support nodes and ports."):new Jm(yPt))}function ast(t,e,n){if(t.b)throw lw(new Vm("The task is already done."));return null==t.p&&(t.p=e,t.r=n,t.k&&(t.o=(c_(),n9(B3(Date.now()),hEt))),!0)}function ost(t){var e;return e=new Im,null!=t.tg()&&NB(e,aPt,t.tg()),null!=t.ne()&&NB(e,wPt,t.ne()),null!=t.sg()&&NB(e,"description",t.sg()),e}function sst(t,e,n){var i,r,a;return a=t.q,t.q=e,0!=(4&t.Db)&&0==(1&t.Db)&&(r=new wj(t,1,9,a,e),n?n.Ei(r):n=r),e?(i=e.c)!=t.r&&(n=t.nk(i,n)):t.r&&(n=t.nk(null,n)),n}function cst(t,e){var n,i,r,a;for(a=new iw,r=0,i=e.Kc();i.Ob();){for(n=p8(VP(i.Pb(),19).a+r);n.a<t.f&&!NF(t,n.a);)n=p8(n.a+1),++r;if(n.a>=t.f)break;a.c[a.c.length]=n}return a}function ust(t){var e,n,i,r;for(e=null,r=new wd(t.wf());r.a<r.c.c.length;)n=new mq((i=VP(qU(r),181)).qf().a,i.qf().b,i.rf().a,i.rf().b),e?gut(e,n):e=n;return!e&&(e=new lM),e}function lst(t,e,n,i){return 1==n?(!t.n&&(t.n=new mj(oae,t,1,7)),gtt(t.n,e,i)):VP(MJ(VP(q3(t,16),26)||t.zh(),n),66).Nj().Qj(t,bet(t),n-yR(t.zh()),e,i)}function hst(t,e,n){var i,r,a,o,s;for(i=n.gc(),t.qi(t.i+i),(s=t.i-e)>0&&lmt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;r<i;++r)a=o.Pb(),jI(t,e,t.oi(e,a)),t.bi(e,a),t.ci(),++e;return 0!=i}function fst(t,e,n){var i;return e!=t.q?(t.q&&(n=YH(t.q,t,-10,n)),e&&(n=vnt(e,t,-10,n)),n=sst(t,e,n)):0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,9,e,e),n?n.Ei(i):n=i),n}function dst(t,e,n,i){return yP(0==(n&C_t),"flatMap does not support SUBSIZED characteristic"),yP(0==(4&n),"flatMap does not support SORTED characteristic"),TR(t),TR(e),new dG(t,n,i,e)}function gst(t,e){zj(e,"Cannot suppress a null exception."),kB(e!=t,"Exception can not suppress itself."),t.i||(null==t.k?t.k=P4(Zv(gjt,1),T_t,78,0,[e]):t.k[t.k.length]=e)}function pst(t,e,n,i){var r,a,o,s,c,u;for(o=n.length,a=0,r=-1,u=OJ(t.substr(e),(dP(),jRt)),s=0;s<o;++s)(c=n[s].length)>a&&Cj(u,OJ(n[s],jRt))&&(r=s,a=c);return r>=0&&(i[0]=e+a),r}function bst(t,e,n){ast(n,"Grow Tree",1),t.b=e.f,tv(lD(Ost(e,(v3(),hHt))))?(t.c=new ne,mU(t,null)):t.c=new ne,t.a=!1,rgt(t,e.f),d5(e,fHt,(EL(),!!t.a)),$ct(n)}function wst(t){var e,n;return t>=iTt?(e=rTt+(t-iTt>>10&1023)&fEt,n=56320+(t-iTt&1023)&fEt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&fEt)}function yst(t,e,n,i,r){var a,o,s;for(a=Xgt(t,e,n,i,r),s=!1;!a;)Pft(t,r,!0),s=!0,a=Xgt(t,e,n,i,r);s&&Pft(t,r,!1),0!=(o=Z4(r)).c.length&&(t.d&&t.d.lg(o),yst(t,r,n,i,o))}function mst(){mst=I,xne=new nS(fAt,0),mne=new nS("DIRECTED",1),kne=new nS("UNDIRECTED",2),wne=new nS("ASSOCIATION",3),vne=new nS("GENERALIZATION",4),yne=new nS("DEPENDENCY",5)}function vst(t,e){var n,i;for(yz(e),i=t.b.c.length,nB(t.b,e);i>0;){if(n=i,i=(i-1)/2|0,t.a.ue(EF(t.b,i),e)<=0)return XK(t.b,n,e),!0;XK(t.b,n,EF(t.b,i))}return XK(t.b,i,e),!0}function xst(t,e,i,r){var a,o;if(a=0,i)a=V6(t.a[i.g][e.g],r);else for(o=0;o<pqt;o++)a=n.Math.max(a,V6(t.a[o][e.g],r));return e==(QJ(),oqt)&&t.b&&(a=n.Math.max(a,t.b.a)),a}function kst(t,e){var n,i,r,a,o;return i=t.i,r=e.i,!(!i||!r)&&i.i==r.i&&i.i!=(Mxt(),_ie)&&i.i!=(Mxt(),Hie)&&(n=(a=i.g.a)+i.j.a,a<=(o=r.g.a)+r.j.a&&n>=o)}function _st(t,e,n,i){var r;if(r=!1,oA(i)&&(r=!0,NB(e,n,fD(i))),r||rA(i)&&(r=!0,_st(t,e,n,i)),r||MI(i,236)&&(r=!0,tH(e,n,VP(i,236))),!r)throw lw(new Zm(rPt))}function Est(t,e){var n,i,r,a;if(yz(e),(a=t.a.gc())<e.gc())for(n=t.a.ec().Kc();n.Ob();)i=n.Pb(),e.Hc(i)&&n.Qb();else for(r=e.Kc();r.Ob();)i=r.Pb(),t.a.Bc(i);return a!=t.a.gc()}function Tst(t){var e,n;switch(n=pI(O5(P4(Zv(q9t,1),T_t,8,0,[t.i.n,t.n,t.a]))),e=t.i.d,t.j.g){case 1:n.b-=e.d;break;case 2:n.a+=e.c;break;case 3:n.b+=e.a;break;case 4:n.a-=e.b}return n}function Cst(t){var e;for(m2(),e=VP(xW(new O$(dL(s9(t).a.Kc(),new l))),17).c.i;e.k==(gct(),qUt);)d5(e,(Lkt(),_Xt),(EL(),!0)),e=VP(xW(new O$(dL(s9(e).a.Kc(),new l))),17).c.i}function Sst(t,e,n,i){var r,a,o;for(o=W7(e,i).Kc();o.Ob();)r=VP(o.Pb(),11),t.d[r.p]=t.d[r.p]+t.c[n.p];for(a=W7(n,i).Kc();a.Ob();)r=VP(a.Pb(),11),t.d[r.p]=t.d[r.p]-t.c[e.p]}function Ast(t,e,n){var i,r;for(r=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));r.e!=r.i.gc();)kM(i=VP(hnt(r),33),i.i+e,i.j+n);GK((!t.b&&(t.b=new mj(tae,t,12,3)),t.b),new bS(e,n))}function Mst(t,e){MI(oZ((mE(),ooe),t),498)?ZZ(ooe,t,new ZS(this,e)):ZZ(ooe,t,this),dct(this,e),e==(Fx(),poe)?(this.wb=VP(this,1939),VP(e,1941)):this.wb=(VR(),boe)}function Ist(){Ist=I,ORt=P4(Zv(fRt,1),T_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),DRt=P4(Zv(fRt,1),T_t,2,6,["Jan","Feb","Mar","Apr",wEt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])}function Lst(t){var e,n;(e=jN(typeof e,OTt)?null:new ht)&&(j_(),ez(n=900>=hEt?"error":"warn",t.a),t.b&&Jdt(e,n,t.b,"Exception: ",!0))}function Ost(t,e){var n,i;return!t.q&&(t.q=new rw),null!=(i=zR(t.q,e))?i:(MI(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new rw),UW(t.q,e)):(!t.q&&(t.q=new rw),Pz(t.q,e,n))),n)}function Dst(){Dst=I,QZt=new dT("P1_CYCLE_BREAKING",0),JZt=new dT("P2_LAYERING",1),tUt=new dT("P3_NODE_ORDERING",2),eUt=new dT("P4_NODE_PLACEMENT",3),nUt=new dT("P5_EDGE_ROUTING",4)}function Nst(t,e){var n,i,r,a;for(i=(1==e?uUt:cUt).a.ec().Kc();i.Ob();)for(n=VP(i.Pb(),103),a=VP(jW(t.f.c,n),21).Kc();a.Ob();)r=VP(a.Pb(),46),sQ(t.b.b,r.b),sQ(t.b.a,VP(r.b,81).d)}function Pst(t,e){var n;if(cJ(),t.c==e.c){if(t.b==e.b||function(t,e){return j4(),t==gUt&&e==wUt||t==wUt&&e==gUt||t==bUt&&e==pUt||t==pUt&&e==bUt}(t.b,e.b)){if(n=function(t){return t==gUt||t==wUt}(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return nI(t.b.g,e.b.g)}return O8(t.c,e.c)}function Bst(t,e){var n,i;if(Yst(t,e))return!0;for(i=new wd(e);i.a<i.c.c.length;){if(_pt(t,n=VP(qU(i),33),hot(n)))return!0;if(c7(t,n)-t.g<=t.a)return!0}return!1}function Fst(){Fst=I,Hpt(),B8t=Q8t,D8t=K8t,O8t=Y8t,I8t=q8t,L8t=Z8t,M8t=new FM(8),A8t=new BM((Ikt(),cee),M8t),N8t=new BM(Kee,8),P8t=X8t,T8t=F8t,C8t=j8t,S8t=new BM(Ste,(EL(),!1))}function $st(){$st=I,ote=new FM(15),ate=new BM((Ikt(),cee),ote),cte=new BM(Kee,15),ste=new BM(Oee,p8(0)),tte=Fte,nte=Jte,rte=ree,V9t=new BM(vte,SDt),ete=Hte,ite=nee,Q9t=kte,J9t=Tte}function jst(t){if(1!=(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i)throw lw(new Xm(vPt));return rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82))}function Rst(t){if(1!=(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i)throw lw(new Xm(vPt));return _4(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82))}function zst(t){if(1!=(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i)throw lw(new Xm(vPt));return _4(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))}function qst(t){if(1!=(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i||1!=(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i)throw lw(new Xm(vPt));return rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))}function Hst(t,e,n){var i,r,a;if(++t.j,e>=(r=t.Vi())||e<0)throw lw(new qm(_Pt+e+EPt+r));if(n>=r||n<0)throw lw(new qm(TPt+n+EPt+r));return e!=n?(a=t.Ti(n),t.Hi(e,a),i=a):i=t.Oi(n),i}function Zst(t){var e,n,i;if(i=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>oTt)return Zst(n);if(i=n,n==t)throw lw(new Vm("There is a cycle in the containment hierarchy of "+t))}return i}function Ust(t){var e,n,i;for(i=new Q3(n_t,"[","]"),n=t.Kc();n.Ob();)qW(i,iA(e=n.Pb())===iA(t)?"(this Collection)":null==e?s_t:A9(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function Yst(t,e){var n,i;if(i=!1,e.gc()<2)return!1;for(n=0;n<e.gc();n++)n<e.gc()-1?i|=_pt(t,VP(e.Xb(n),33),VP(e.Xb(n+1),33)):i|=_pt(t,VP(e.Xb(n),33),VP(e.Xb(0),33));return i}function Gst(t,e){var n;e!=t.a?(n=null,t.a&&(n=VP(t.a,49).ih(t,4,aae,n)),e&&(n=VP(e,49).gh(t,4,aae,n)),(n=E7(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,1,e,e))}function Kst(t,e){var n;e!=t.e?(t.e&&lX(_z(t.e),t),e&&(!e.b&&(e.b=new Gb(new Ky)),xN(e.b,t)),(n=function(t,e,n){var i,r;return r=t.e,t.e=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new wj(t,1,4,r,e),n?n.Ei(i):n=i),r!=e&&(n=Yvt(t,e?bdt(t,e):t.a,n)),n}(t,e,null))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,4,e,e))}function Wst(t){var e,n,i;for(n=t.length,i=0;i<n&&(DU(i,t.length),t.charCodeAt(i)<=32);)++i;for(e=n;e>i&&(DU(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||e<n?t.substr(i,e-i):t}function Xst(t,e){var i;i=e.o,fM(t.f)?(t.j.a=n.Math.max(t.j.a,i.a),t.j.b+=i.b,t.d.c.length>1&&(t.j.b+=t.e)):(t.j.a+=i.a,t.j.b=n.Math.max(t.j.b,i.b),t.d.c.length>1&&(t.j.a+=t.e))}function Vst(){Vst=I,GGt=P4(Zv(ere,1),dAt,61,0,[(Mxt(),Eie),_ie,zie]),YGt=P4(Zv(ere,1),dAt,61,0,[_ie,zie,Hie]),KGt=P4(Zv(ere,1),dAt,61,0,[zie,Hie,Eie]),WGt=P4(Zv(ere,1),dAt,61,0,[Hie,Eie,_ie])}function Qst(t,e,n,i){var r,a,o,s,c;if(a=t.c.d,o=t.d.d,a.j!=o.j)for(c=t.b,r=a.j,s=null;r!=o.j;)s=0==e?L8(r):M8(r),$B(i,mN(jet(r,c.d[r.g],n),jet(s,c.d[s.g],n))),r=s}function Jst(t,e,n,i){var r,a,o,s,c;return s=VP((o=Frt(t.a,e,n)).a,19).a,a=VP(o.b,19).a,i&&(c=VP(Ost(e,(Lkt(),$Xt)),10),r=VP(Ost(n,$Xt),10),c&&r&&(VG(t.b,c,r),s+=t.b.i,a+=t.b.e)),s>a}function tct(t){var e,n,i,r,a,o,s,c;for(this.a=Bnt(t),this.b=new iw,i=0,r=(n=t).length;i<r;++i)for(e=n[i],a=new iw,nB(this.b,a),s=0,c=(o=e).length;s<c;++s)nB(a,new uP(o[s].j))}function ect(t,e,i){var r,a,o;return o=0,r=i[e],e<i.length-1&&(a=i[e+1],t.b[e]?(o=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L,O,D,N,P,B,F,$,j,R,z,q,H,Z,U,Y,G,K,W,X,V,Q,J,tt,et,nt,it,rt,at,ot,st;for(Q=0,D=0,B=(I=e).length;D<B;++D)for(Z=new wd((A=I[D]).j);Z.a<Z.c.c.length;){for(Y=0,c=new wd((H=VP(qU(Z),11)).g);c.a<c.c.c.length;)s=VP(qU(c),17),A.c!=s.d.i.c&&++Y;Y>0&&(t.a[H.p]=Q++)}for(it=0,N=0,F=(L=i).length;N<F;++N){for($=0,Z=new wd((A=L[N]).j);Z.a<Z.c.c.length&&(H=VP(qU(Z),11)).j==(Mxt(),Eie);)for(c=new wd(H.e);c.a<c.c.c.length;)if(s=VP(qU(c),17),A.c!=s.c.i.c){++$;break}for(R=0,G=new QY(A.j,A.j.c.length);G.b>0;){for(CO(G.b>0),Y=0,c=new wd((H=VP(G.a.Xb(G.c=--G.b),11)).e);c.a<c.c.c.length;)s=VP(qU(c),17),A.c!=s.c.i.c&&++Y;Y>0&&(H.j==(Mxt(),Eie)?(t.a[H.p]=it,++it):(t.a[H.p]=it+$+R,++R))}it+=R}for(U=new rw,p=new cM,O=0,P=(M=e).length;O<P;++O)for(et=new wd((A=M[O]).j);et.a<et.c.c.length;)for(c=new wd((tt=VP(qU(et),11)).g);c.a<c.c.c.length;)if(at=(s=VP(qU(c),17)).d,A.c!=at.i.c)if(J=VP(nA(BH(U.f,tt)),467),rt=VP(nA(BH(U.f,at)),467),J||rt)if(J)if(rt)if(J==rt)nB(J.a,s);else{for(nB(J.a,s),q=new wd(rt.d);q.a<q.c.c.length;)z=VP(qU(q),11),Qut(U.f,z,J);C4(J.a,rt.a),C4(J.d,rt.d),p.a.Bc(rt)}else nB(J.a,s),nB(J.d,at),Qut(U.f,at,J);else nB(rt.a,s),nB(rt.d,tt),Qut(U.f,tt,rt);else g=new hN,p.a.zc(g,p),nB(g.a,s),nB(g.d,tt),Qut(U.f,tt,g),nB(g.d,at),Qut(U.f,at,g);for(b=VP(Rit(p,WX(e4t,{3:1,4:1,5:1,1946:1},467,p.a.gc(),0,1)),1946),S=e[0].c,V=i[0].c,f=0,d=(h=b).length;f<d;++f)for((l=h[f]).e=Q,l.f=it,Z=new wd(l.d);Z.a<Z.c.c.length;)H=VP(qU(Z),11),K=t.a[H.p],H.i.c==S?(K<l.e&&(l.e=K),K>l.b&&(l.b=K)):H.i.c==V&&(K<l.f&&(l.f=K),K>l.c&&(l.c=K));for(BV(b,0,b.length,null),nt=WX(Kce,CEt,25,b.length,15,1),r=WX(Kce,CEt,25,it+1,15,1),y=0;y<b.length;y++)nt[y]=b[y].f,r[nt[y]]=1;for(o=0,m=0;m<r.length;m++)1==r[m]?r[m]=o:--o;for(W=0,v=0;v<nt.length;v++)nt[v]+=r[nt[v]],W=n.Math.max(W,nt[v]+1);for(u=1;u<W;)u*=2;for(st=2*u-1,u-=1,ot=WX(Kce,CEt,25,st,15,1),a=0,T=0;T<nt.length;T++)for(++ot[E=nt[T]+u];E>0;)E%2>0&&(a+=ot[E+1]),++ot[E=(E-1)/2|0];for(C=WX(r4t,r_t,362,2*b.length,0,1),x=0;x<b.length;x++)C[2*x]=new bq(b[x],b[x].e,b[x].b,(ZK(),i4t)),C[2*x+1]=new bq(b[x],b[x].b,b[x].e,n4t);for(BV(C,0,C.length,null),j=0,k=0;k<C.length;k++)switch(C[k].d.g){case 0:++j;break;case 1:a+=--j}for(X=WX(r4t,r_t,362,2*b.length,0,1),_=0;_<b.length;_++)X[2*_]=new bq(b[_],b[_].f,b[_].c,(ZK(),i4t)),X[2*_+1]=new bq(b[_],b[_].c,b[_].f,n4t);for(BV(X,0,X.length,null),j=0,w=0;w<X.length;w++)switch(X[w].d.g){case 0:++j;break;case 1:a+=--j}return a}(t.d,r,a),o+=JR(t.a,r,(Mxt(),_ie)),o+=JR(t.a,a,Hie)):o=function(t,e,n){var i;return i=P5(t,e,n),t.b=new u2(i.c.length),tpt(t,i)}(t.a,r,a)),t.c[e]&&(o+=oX(t.a,r)),o}function nct(t,e,n,i,r){var a,o,s,c;for(c=null,s=new wd(i);s.a<s.c.c.length;)if((o=VP(qU(s),441))!=n&&-1!=lQ(o.e,r,0)){c=o;break}VZ(a=_W(r),n.b),XZ(a,c.b),Vlt(t.a,r,new kP(a,e,n.f))}function ict(t){for(;0!=t.g.c&&0!=t.d.c;)ED(t.g).c>ED(t.d).c?(t.i+=t.g.c,Mtt(t.d)):ED(t.d).c>ED(t.g).c?(t.e+=t.d.c,Mtt(t.g)):(t.i+=AF(t.g),t.e+=AF(t.d),Mtt(t.g),Mtt(t.d))}function rct(t,e,i,r){t.a.d=n.Math.min(e,i),t.a.a=n.Math.max(e,r)-t.a.d,e<i?(t.b=.5*(e+i),t.g=tOt*t.b+.9*e,t.f=tOt*t.b+.9*i):(t.b=.5*(e+r),t.g=tOt*t.b+.9*r,t.f=tOt*t.b+.9*e)}function act(t,e){var n,i;i=VP(Ost(e,(wkt(),w0t)),98),d5(e,(Lkt(),PXt),i),(n=e.e)&&(C_(new CF(null,new NU(n.a,16)),new og(t)),C_(KQ(new CF(null,new NU(n.b,16)),new ye),new sg(t)))}function oct(t){var e,i,r,a;if(dM(VP(Ost(t.b,(wkt(),s1t)),103)))return 0;for(e=0,r=new wd(t.a);r.a<r.c.c.length;)(i=VP(qU(r),10)).k==(gct(),HUt)&&(a=i.o.a,e=n.Math.max(e,a));return e}function sct(t){switch(VP(Ost(t,(wkt(),B1t)),163).g){case 1:d5(t,B1t,(p9(),nVt));break;case 2:d5(t,B1t,(p9(),iVt));break;case 3:d5(t,B1t,(p9(),tVt));break;case 4:d5(t,B1t,(p9(),eVt))}}function cct(){cct=I,vWt=new XT(fAt,0),wWt=new XT(xCt,1),xWt=new XT(kCt,2),mWt=new XT("LEFT_RIGHT_CONSTRAINT_LOCKING",3),yWt=new XT("LEFT_RIGHT_CONNECTION_LOCKING",4),bWt=new XT(aMt,5)}function uct(t,e,i){var r,a,o,s,c,u,l;c=i.a/2,o=i.b/2,u=1,l=1,(r=n.Math.abs(e.a-t.a))>c&&(u=c/r),(a=n.Math.abs(e.b-t.b))>o&&(l=o/a),s=n.Math.min(u,l),t.a+=s*(e.a-t.a),t.b+=s*(e.b-t.b)}function lct(t,e,n,i,r){var a,o;for(o=!1,a=VP(EF(n.b,0),33);Syt(t,e,a,i,r)&&(o=!0,uot(n,a),0!=n.b.c.length);)a=VP(EF(n.b,0),33);return 0==n.b.c.length&&sat(n.j,n),o&&irt(e.q),o}function hct(t,e){var n,i,r,a;if(cpt(),e.b<2)return!1;for(i=n=VP(AG(a=tnt(e,0)),8);a.b!=a.d.c;){if($dt(t,i,r=VP(AG(a),8)))return!0;i=r}return!!$dt(t,i,n)}function fct(t,e,n,i){return 0==n?(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),VN(t.o,e,i)):VP(MJ(VP(q3(t,16),26)||t.zh(),n),66).Nj().Rj(t,bet(t),n-yR(t.zh()),e,i)}function dct(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=VP(t.sb,49).ih(t,1,iae,n)),e&&(n=VP(e,49).gh(t,1,iae,n)),(n=q7(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,4,e,e))}function gct(){gct=I,HUt=new bT("NORMAL",0),qUt=new bT("LONG_EDGE",1),RUt=new bT("EXTERNAL_PORT",2),ZUt=new bT("NORTH_SOUTH_PORT",3),zUt=new bT("LABEL",4),jUt=new bT("BREAKING_POINT",5)}function pct(t,e,n){var i;ast(n,"Self-Loop routing",1),i=function(t){switch(VP(Ost(t,(wkt(),g1t)),218).g){case 1:return new ia;case 3:return new ca;default:return new na}}(e),pA(Ost(e,(eX(),j9t))),C_(hq(lq(lq(KQ(new CF(null,new NU(e.b,16)),new Ui),new Yi),new Gi),new Ki),new vT(t,i)),$ct(n)}function bct(t,e){var n,i,r;return(e&=63)<22?(n=t.l<<e,i=t.m<<e|t.l>>22-e,r=t.h<<e|t.m>>22-e):e<44?(n=0,i=t.l<<e-22,r=t.m<<e-22|t.l>>44-e):(n=0,i=0,r=t.l<<e-44),rI(n&qEt,i&qEt,r&HEt)}function wct(t){if(null==Bjt&&(Bjt=new RegExp("^\\s*[+-]?(NaN|Infinity|((\\d+\\.?\\d*)|(\\.\\d+))([eE][+-]?\\d+)?[dDfF]?)\\s*$")),!Bjt.test(t))throw lw(new Av(QEt+t+'"'));return parseFloat(t)}function yct(){yct=I,VKt=new GT("ALWAYS_UP",0),XKt=new GT("ALWAYS_DOWN",1),JKt=new GT("DIRECTION_UP",2),QKt=new GT("DIRECTION_DOWN",3),eWt=new GT("SMART_UP",4),tWt=new GT("SMART_DOWN",5)}function mct(t,e){if(t<0||e<0)throw lw(new Xm("k and n must be positive"));if(e>t)throw lw(new Xm("k must be smaller than n"));return 0==e||e==t?1:0==t?0:Rat(t)/(Rat(e)*Rat(t-e))}function vct(t,e){var n,i,r,a;for(n=new CM(t);null!=n.g||n.c?null==n.g||0!=n.i&&VP(n.g[n.i-1],47).Ob():LZ(n);)if(MI(a=VP(sdt(n),56),160))for(i=VP(a,160),r=0;r<e.length;r++)e[r].og(i)}function xct(t){var e;return 0!=(64&t.Db)?W8(t):((e=new TL(W8(t))).a+=" (height: ",Qx(e,t.f),e.a+=", width: ",Qx(e,t.g),e.a+=", x: ",Qx(e,t.i),e.a+=", y: ",Qx(e,t.j),e.a+=")",e.a)}function kct(t){var e,n,i,r,a,o;for(e=new dK,r=0,a=(i=t).length;r<a;++r)if(null!=Uet(e,o=TR((n=i[r]).cd()),TR(n.dd())))throw lw(new Xm("duplicate key: "+o));this.b=(Gq(),new bd(e))}function _ct(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],qW(a,String.fromCharCode(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function Ect(){Ect=I,lJ(),ZHt=new RA(ESt,UHt=QHt),p8(1),HHt=new RA(TSt,p8(300)),p8(0),KHt=new RA(CSt,p8(0)),new ew,WHt=new RA(SSt,ASt),new ew,YHt=new RA(MSt,5),XHt=QHt,GHt=VHt}function Tct(t,e){var n,i,r,a;for(i=(1==e?uUt:cUt).a.ec().Kc();i.Ob();)for(n=VP(i.Pb(),103),a=VP(jW(t.f.c,n),21).Kc();a.Ob();)r=VP(a.Pb(),46),nB(t.b.b,VP(r.b,81)),nB(t.b.a,VP(r.b,81).d)}function Cct(t,e,n){var i,r;for(r=new QY(t.b,0);r.b<r.d.gc();)CO(r.b<r.d.gc()),iA(Ost(i=VP(r.d.Xb(r.c=r.b++),70),(Lkt(),DXt)))===iA(e)&&(but(i.n,pz(t.c.i),n),lz(r),nB(e.b,i))}function Sct(t,e){if(e.a)switch(VP(Ost(e.b,(Lkt(),PXt)),98).g){case 0:case 1:got(e);case 2:C_(new CF(null,new NU(e.d,16)),new Di),function(t,e){var n;(function(t){var e,n,i,r,a,o,s,c;for(t.b=new dht(new ov((Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie]))),new ov((y2(),P4(Zv(uKt,1),K_t,361,0,[QGt,VGt,XGt])))),s=0,c=(o=P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length;s<c;++s)for(a=o[s],i=0,r=(n=P4(Zv(uKt,1),K_t,361,0,[QGt,VGt,XGt])).length;i<r;++i)e=n[i],tot(t.b,a,e,new iw)})(t),t.a=(n=new bv,C_(new CF(null,new NU(e.d,16)),new Jg(n)),n),function(t,e){var n,i,r,a,o;for(r=VP(jW(t.a,(Tot(),RGt)),15).Kc();r.Ob();)switch(i=VP(r.Pb(),101),n=VP(EF(i.j,0),113).d.j,QM(a=new uP(i.j),new Qr),e.g){case 1:Cot(t,a,n,(y2(),VGt),1);break;case 0:Cot(t,new IU(a,0,o=Edt(a)),n,(y2(),VGt),0),Cot(t,new IU(a,o,a.c.length),n,VGt,1)}}(t,VP(Ost(e.b,(wkt(),y1t)),376)),function(t){var e,n,i;for(i=VP(jW(t.a,(Tot(),qGt)),15).Kc();i.Ob();)hR(t,n=VP(i.Pb(),101),(e=Brt(n))[0],(y2(),XGt),0),hR(t,n,e[1],QGt,1)}(t),function(t){var e,n,i,r;for(r=VP(jW(t.a,(Tot(),zGt)),15).Kc();r.Ob();)hR(t,i=VP(r.Pb(),101),(n=(e=R$(i.k)).Hc((Mxt(),Eie))?e.Hc(_ie)?e.Hc(zie)?e.Hc(Hie)?null:GGt:WGt:KGt:YGt)[0],(y2(),XGt),0),hR(t,i,n[1],VGt,1),hR(t,i,n[2],QGt,1)}(t),function(t){var e,n,i;for(i=VP(jW(t.a,(Tot(),jGt)),15).Kc();i.Ob();)for(e=R$((n=VP(i.Pb(),101)).k).Kc();e.Ob();)hR(t,n,VP(e.Pb(),61),(y2(),VGt),1)}(t),function(t){var e,n,i;for(i=VP(jW(t.a,(Tot(),HGt)),15).Kc();i.Ob();)hR(t,n=VP(i.Pb(),101),(e=Brt(n))[0],(y2(),XGt),0),hR(t,n,e[1],QGt,1)}(t),function(t,e){var n,i,r,a;a=new uP((n=e.b).j),r=0,(i=n.j).c=WX(G$t,r_t,1,0,5,1),lR(VP(R3(t.b,(Mxt(),Eie),(y2(),QGt)),15),n),r=urt(a,r,new Pr,i),lR(VP(R3(t.b,Eie,VGt),15),n),r=urt(a,r,new Nr,i),lR(VP(R3(t.b,Eie,XGt),15),n),lR(VP(R3(t.b,_ie,QGt),15),n),lR(VP(R3(t.b,_ie,VGt),15),n),r=urt(a,r,new Br,i),lR(VP(R3(t.b,_ie,XGt),15),n),lR(VP(R3(t.b,zie,QGt),15),n),r=urt(a,r,new Fr,i),lR(VP(R3(t.b,zie,VGt),15),n),r=urt(a,r,new $r,i),lR(VP(R3(t.b,zie,XGt),15),n),lR(VP(R3(t.b,Hie,QGt),15),n),r=urt(a,r,new Xr,i),lR(VP(R3(t.b,Hie,VGt),15),n),lR(VP(R3(t.b,Hie,XGt),15),n)}(t,e),C_(KQ(new CF(null,AY(function(t){return t.i||(t.i=new Vh(t))}(t.b).a)),new Kr),new Wr),e.a=!1,t.a=null}(t.a,e)}else C_(new CF(null,new NU(e.d,16)),new Di)}function Act(t){var e,i;return i=n.Math.sqrt((null==t.k&&(t.k=B2(t,new _a)),ev(t.k)/(t.b*(null==t.g&&(t.g=P2(t,new ka)),ev(t.g))))),e=KF(B3(n.Math.round(i))),n.Math.min(e,t.f)}function Mct(){X2(),cN.call(this),this.j=(Mxt(),qie),this.a=new Sx,new Ey,this.f=(b0(2,G_t),new wX(2)),this.e=(b0(4,G_t),new wX(4)),this.g=(b0(4,G_t),new wX(4)),this.b=new AT(this.e,this.g)}function Ict(t,e){var n;return!tv(lD(Ost(e,(Lkt(),HXt))))&&(n=e.c.i,(t!=(p9(),tVt)||n.k!=(gct(),zUt))&&VP(Ost(n,(wkt(),B1t)),163)!=eVt)}function Lct(t,e){var n;return!tv(lD(Ost(e,(Lkt(),HXt))))&&(n=e.d.i,(t!=(p9(),nVt)||n.k!=(gct(),zUt))&&VP(Ost(n,(wkt(),B1t)),163)!=iVt)}function Oct(){Oct=I,y8t=new HC("CENTER_DISTANCE",0),m8t=new HC("CIRCLE_UNDERLAP",1),k8t=new HC("RECTANGLE_UNDERLAP",2),v8t=new HC("INVERTED_OVERLAP",3),x8t=new HC("MINIMUM_ROOT_DISTANCE",4)}function Dct(t,e){switch(e.g){case 1:return XP(t.j,(X2(),XUt));case 2:return XP(t.j,(X2(),KUt));case 3:return XP(t.j,(X2(),QUt));case 4:return XP(t.j,(X2(),JUt));default:return Gq(),Gq(),TRt}}function Nct(t,e){var n,i,r;n=function(t,e){return e==(Mxt(),Hie)?t.c:t.d}(e,t.e),i=VP(zR(t.g.f,n),19).a,r=t.a.c.length-1,0!=t.a.c.length&&VP(EF(t.a,r),287).c==i?(++VP(EF(t.a,r),287).a,++VP(EF(t.a,r),287).b):nB(t.a,new FO(i))}function Pct(t,e,n){var i,r;return 0!=(i=function(t,e,n){if(Sj(t.a,e)){if(b_(VP(zR(t.a,e),53),n))return 1}else Pz(t.a,e,new Xw);if(Sj(t.a,n)){if(b_(VP(zR(t.a,n),53),e))return-1}else Pz(t.a,n,new Xw);if(Sj(t.b,e)){if(b_(VP(zR(t.b,e),53),n))return-1}else Pz(t.b,e,new Xw);if(Sj(t.b,n)){if(b_(VP(zR(t.b,n),53),e))return 1}else Pz(t.b,n,new Xw);return 0}(t,e,n))?i:IO(e,(Lkt(),MXt))&&IO(n,MXt)?((r=nI(VP(Ost(e,MXt),19).a,VP(Ost(n,MXt),19).a))<0?xbt(t,e,n):r>0&&xbt(t,n,e),r):function(t,e,n){var i,r,a;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?((a=K$(i.a,r.a))<0?xbt(t,e,n):a>0&&xbt(t,n,e),a):null!=i.a?(xbt(t,e,n),-1):null!=r.a?(xbt(t,n,e),1):0}(t,e,n)}function Bct(t,e,n){var i,r,a,o;if(0!=e.b){for(i=new T_,o=tnt(e,0);o.b!=o.d.c;)M2(i,H4(a=VP(AG(o),86))),(r=a.e).a=VP(Ost(a,(avt(),L5t)),19).a,r.b=VP(Ost(a,O5t),19).a;Bct(t,i,Q2(n,i.b/t.a|0))}}function Fct(t,e){var n,i,r,a,o;if(t.e<=e)return t.g;if(function(t,e,n){var i;return(i=umt(t,e,!1)).b<=e&&i.a<=n}(t,t.g,e))return t.g;for(a=t.r,i=t.g,o=t.r,r=(a-i)/2+i;i+1<a;)(n=umt(t,r,!1)).b<=r&&n.a<=e?(o=r,a=r):i=r,r=(a-i)/2+i;return o}function $ct(t){var e;if(null==t.p)throw lw(new Vm("The task has not begun yet."));t.b||(t.k&&(c_(),e=n9(B3(Date.now()),hEt),t.q=1e-9*WY(t9(e,t.o))),t.c<t.r&&H0(t,t.r-t.c),t.b=!0)}function jct(t){var e,n,i;for($B(i=new Ny,new XC(t.j,t.k)),n=new YI((!t.a&&(t.a=new GI(Xre,t,5)),t.a));n.e!=n.i.gc();)$B(i,new XC((e=VP(hnt(n),469)).a,e.b));return $B(i,new XC(t.b,t.c)),i}function Rct(t,e){var n;if(iA(t)===iA(e))return!0;if(MI(e,21)){n=VP(e,21);try{return t.gc()==n.gc()&&t.Ic(n)}catch(t){if(MI(t=k4(t),173)||MI(t,205))return!1;throw lw(t)}}return!1}function zct(t,e){var i;nB(t.d,e),i=e.rf(),t.c?(t.e.a=n.Math.max(t.e.a,i.a),t.e.b+=i.b,t.d.c.length>1&&(t.e.b+=t.a)):(t.e.a+=i.a,t.e.b=n.Math.max(t.e.b,i.b),t.d.c.length>1&&(t.e.a+=t.a))}function qct(t){var e,n,i,r;switch(e=(r=t.i).b,i=r.j,n=r.g,r.a.g){case 0:n.a=(t.g.b.o.a-i.a)/2;break;case 1:n.a=e.d.n.a+e.d.a.a;break;case 2:n.a=e.d.n.a+e.d.a.a-i.a;break;case 3:n.b=e.d.n.b+e.d.a.b}}function Hct(t,e,n,i,r){if(i<e||r<n)throw lw(new Xm("The highx must be bigger then lowx and the highy must be bigger then lowy"));return t.a<e?t.a=e:t.a>i&&(t.a=i),t.b<n?t.b=n:t.b>r&&(t.b=r),t}function Zct(t){if(MI(t,149))return function(t){var e,n,i,r,a;return a=ost(t),null!=t.a&&NB(a,"category",t.a),!Ck(new Vf(t.d))&&(IJ(a,"knownOptions",i=new Cf),e=new Tb(i),GK(new Vf(t.d),e)),!Ck(t.g)&&(IJ(a,"supportedFeatures",r=new Cf),n=new Cb(r),GK(t.g,n)),a}(VP(t,149));if(MI(t,229))return function(t){var e,n,i;return i=ost(t),!Ck(t.c)&&(IJ(i,"knownLayouters",n=new Cf),e=new Sb(n),GK(t.c,e)),i}(VP(t,229));if(MI(t,23))return function(t){var e,n,i;return i=ost(t),null!=t.e&&NB(i,bPt,t.e),!!t.k&&NB(i,"type",pO(t.k)),!Ck(t.j)&&(n=new Cf,IJ(i,XNt,n),e=new Ab(n),GK(t.j,e)),i}(VP(t,23));throw lw(new Xm(sPt+Ust(new ov(P4(Zv(G$t,1),r_t,1,5,[t])))))}function Uct(t,e,n,i){var r,a;if(e.k==(gct(),qUt))for(a=new O$(dL(s9(e).a.Kc(),new l));Xht(a);)if((r=VP(xW(a),17)).c.i.k==qUt&&t.c.a[r.c.i.c.p]==i&&t.c.a[e.c.p]==n)return!0;return!1}function Yct(t,e,n,i){var r;this.b=i,this.e=t==(f0(),Y3t),r=e[n],this.d=hF(Wce,[T_t,pCt],[177,25],16,[r.length,r.length],2),this.a=hF(Kce,[T_t,CEt],[48,25],15,[r.length,r.length],2),this.c=new Dot(e,n)}function Gct(t){var e,n,i;for(t.k=new MU((Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length,t.j.c.length),i=new wd(t.j);i.a<i.c.c.length;)e=(n=VP(qU(i),113)).d.j,Vlt(t.k,e,n);t.e=function(t){var e,n;if(Tot(),t.Hc((Mxt(),qie)))throw lw(new Xm("Port sides must not contain UNDEFINED"));switch(t.gc()){case 1:return RGt;case 2:return e=t.Hc(_ie)&&t.Hc(Hie),n=t.Hc(Eie)&&t.Hc(zie),e||n?HGt:qGt;case 3:return zGt;case 4:return jGt;default:return null}}(R$(t.k))}function Kct(t,e){var n,i,r;jj(t.d,e),n=new ko,Pz(t.c,e,n),n.f=a7(e.c),n.a=a7(e.d),n.d=(kgt(),(r=e.c.i.k)==(gct(),HUt)||r==jUt),n.e=(i=e.d.i.k)==HUt||i==jUt,n.b=e.c.j==(Mxt(),Hie),n.c=e.d.j==_ie}function Wct(t){var e,n,i,r,a;for(a=Qkt,r=Qkt,i=new wd(d9(t));i.a<i.c.c.length;)e=(n=VP(qU(i),213)).e.e-n.d.e,n.e==t&&e<r?r=e:e<a&&(a=e);return r==Qkt&&(r=-1),a==Qkt&&(a=-1),new mS(p8(r),p8(a))}function Xct(t,e){var n,i,r;for(n=e.a.o.a,r=new Wf(new IU(pz(e.a).b,e.c,e.f+1));r.b<r.d.gc();)if(CO(r.b<r.d.gc()),(i=VP(r.d.Xb(r.c=r.b++),29)).c.a>=n)return eut(t,e,i.p),!0;return!1}function Vct(t){var e;return 0!=(64&t.Db)?xct(t):(e=new CL(pNt),!t.a||vA(vA((e.a+=' "',e),t.a),'"'),vA(ek(vA(ek(vA(ek(vA(ek((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function Qct(t,e,n){var i,r,a,o,s;for(s=bgt(t.e.Tg(),e),r=VP(t.g,119),i=0,o=0;o<t.i;++o)if(a=r[o],s.rl(a.ak())){if(i==n)return npt(t,o),EE(),VP(e,66).Oj()?a:a.dd();++i}throw lw(new qm(yBt+n+EPt+i))}function Jct(t){var e,n,i;if(2==(e=t.c)||7==e||1==e)return Nkt(),Nkt(),Ece;for(i=ckt(t),n=null;2!=(e=t.c)&&7!=e&&1!=e;)n||(Nkt(),Nkt(),$mt(n=new qM(1),i),i=n),$mt(n,ckt(t));return i}function tut(t,e){var n,i,r,a;for(i=0,r=t.length;i<r;i++){a=t[i];try{a[1]?a[0].jm()&&(e=n$(e,a)):a[0].jm()}catch(t){if(!MI(t=k4(t),78))throw lw(t);n=t,jv(),SH(MI(n,477)?VP(n,477).ae():n)}}return e}function eut(t,e,i){var r,a;for(i!=e.c+e.b.gc()&&function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(v=t.c,x=e.c,n=lQ(v.a,t,0),i=lQ(x.a,e,0),y=VP(itt(t,(l0(),i3t)).Kc().Pb(),11),E=VP(itt(t,r3t).Kc().Pb(),11),m=VP(itt(e,i3t).Kc().Pb(),11),T=VP(itt(e,r3t).Kc().Pb(),11),b=MY(y.e),k=MY(E.g),w=MY(m.e),_=MY(T.g),Hrt(t,i,x),u=0,d=(a=w).length;u<d;++u)XZ(a[u],y);for(l=0,g=(o=_).length;l<g;++l)VZ(o[l],E);for(Hrt(e,n,v),h=0,p=(s=b).length;h<p;++h)XZ(s[h],m);for(c=0,f=(r=k).length;c<f;++c)VZ(r[c],T)}(e.a,function(t,e){return e<t.b.gc()?VP(t.b.Xb(e),10):e==t.b.gc()?t.a:VP(EF(t.e,e-t.b.gc()-1),10)}(e,i-e.c)),a=e.a.c.p,t.a[a]=n.Math.max(t.a[a],e.a.o.a),r=VP(Ost(e.a,(Lkt(),qXt)),15).Kc();r.Ob();)d5(VP(r.Pb(),70),bGt,(EL(),!0))}function nut(t,e){var i,r,a;a=function(t){var e,n;n=null,e=VP(EF(t.g,0),17);do{if(IO(n=e.d.i,(Lkt(),CXt)))return VP(Ost(n,CXt),11).i;if(n.k!=(gct(),HUt)&&Xht(new O$(dL(c9(n).a.Kc(),new l))))e=VP(xW(new O$(dL(c9(n).a.Kc(),new l))),17);else if(n.k!=HUt)return null}while(n&&n.k!=(gct(),HUt));return n}(e),d5(e,(Lkt(),SXt),a),a&&(r=Qkt,BH(t.f,a)&&(r=VP(nA(BH(t.f,a)),19).a),tv(lD(Ost(i=VP(EF(e.g,0),17),HXt)))||Pz(t,a,p8(n.Math.min(VP(Ost(i,MXt),19).a,r))))}function iut(t,e,n){var i,r,a,o;for(e.p=-1,o=itt(e,(l0(),r3t)).Kc();o.Ob();)for(r=new wd(VP(o.Pb(),11).g);r.a<r.c.c.length;)e!=(a=(i=VP(qU(r),17)).d.i)&&(a.p<0?n.Fc(i):a.p>0&&iut(t,a,n));e.p=0}function rut(t){var e;this.c=new T_,this.f=t.e,this.e=t.d,this.i=t.g,this.d=t.c,this.b=t.b,this.k=t.j,this.a=t.a,t.i?this.j=t.i:this.j=new aP(e=VP(Lx(F9t),9),VP(nN(e,e.length),9),0),this.g=t.f}function aut(t,e,n){var i,r,a;if(!(n<=e+2))for(r=(n-e)/2|0,i=0;i<r;++i)OU(e+i,t.c.length),a=VP(t.c[e+i],11),XK(t,e+i,(OU(n-i-1,t.c.length),VP(t.c[n-i-1],11))),OU(n-i-1,t.c.length),t.c[n-i-1]=a}function out(t){var e;this.j=new iw,this.f=new Xw,this.b=new aP(e=VP(Lx(ere),9),VP(nN(e,e.length),9),0),this.d=WX(Kce,CEt,25,(Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length,15,1),this.g=t}function sut(t,e){var n,i,r;if(0!=e.c.length){for(n=Bst(t,e),r=!1;!n;)Pft(t,e,!0),r=!0,n=Bst(t,e);r&&Pft(t,e,!1),i=Z4(e),t.b&&t.b.lg(i),t.a=c7(t,(OU(0,e.c.length),VP(e.c[0],33))),sut(t,i)}}function cut(t,e){var n,i,r;if(i=MJ(t.Tg(),e),(n=e-t.Ah())<0){if(!i)throw lw(new Xm(ENt+e+TNt));if(!i.Ij())throw lw(new Xm(vNt+i.ne()+xNt));(r=t.Yg(i))>=0?t.Bh(r):Elt(t,i)}else r8(t,n,i)}function uut(t){var e,n;if(n=null,e=!1,MI(t,204)&&(e=!0,n=VP(t,204).a),e||MI(t,258)&&(e=!0,n=""+VP(t,258).a),e||MI(t,483)&&(e=!0,n=""+VP(t,483).a),!e)throw lw(new Zm(rPt));return n}function lut(t,e){var n,i;if(t.f){for(;e.Ob();)if(MI(i=(n=VP(e.Pb(),72)).ak(),99)&&0!=(VP(i,18).Bb&CNt)&&(!t.e||i.Gj()!=Wre||0!=i.aj())&&null!=n.dd())return e.Ub(),!0;return!1}return e.Ob()}function hut(t,e){var n,i;if(t.f){for(;e.Sb();)if(MI(i=(n=VP(e.Ub(),72)).ak(),99)&&0!=(VP(i,18).Bb&CNt)&&(!t.e||i.Gj()!=Wre||0!=i.aj())&&null!=n.dd())return e.Pb(),!0;return!1}return e.Sb()}function fut(t,e,n){var i,r,a,o,s,c;for(c=bgt(t.e.Tg(),e),i=0,s=t.i,r=VP(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())){if(n==i)return o;++i,s=o+1}if(n==i)return s;throw lw(new qm(yBt+n+EPt+i))}function dut(){dut=I,B9t=new GC(CCt,0),M9t=new GC("BOOLEAN",1),D9t=new GC("INT",2),P9t=new GC("STRING",3),I9t=new GC("DOUBLE",4),L9t=new GC("ENUM",5),O9t=new GC("ENUMSET",6),N9t=new GC("OBJECT",7)}function gut(t,e){var i,r,a,o,s;r=n.Math.min(t.c,e.c),o=n.Math.min(t.d,e.d),(a=n.Math.max(t.c+t.b,e.c+e.b))<r&&(i=r,r=a,a=i),(s=n.Math.max(t.d+t.a,e.d+e.a))<o&&(i=o,o=s,s=i),FB(t,r,o,a-r,s-o)}function put(){put=I,dse=P4(Zv(fRt,1),T_t,2,6,[IFt,LFt,OFt,DFt,NFt,PFt,bPt]),fse=P4(Zv(fRt,1),T_t,2,6,[IFt,"empty",LFt,tFt,"elementOnly"]),pse=P4(Zv(fRt,1),T_t,2,6,[IFt,"preserve","replace",BFt]),gse=new IB}function but(t,e,n){var i,r,a;if(e!=n){i=e;do{mN(t,i.c),(r=i.e)&&(OO(t,(a=i.d).b,a.d),mN(t,r.n),i=pz(r))}while(r);i=n;do{vN(t,i.c),(r=i.e)&&(NO(t,(a=i.d).b,a.d),vN(t,r.n),i=pz(r))}while(r)}}function wut(t,e,n,i){var r,a,o,s,c;if(i.f.c+i.g.c==0)for(s=0,c=(o=t.a[t.c]).length;s<c;++s)Pz(i,a=o[s],new t3(t,a,n));return(r=VP(nA(BH(i.f,e)),663)).b=0,r.c=r.f,0==r.c||Gf(VP(EF(r.a,r.b),287)),r}function yut(){yut=I,gKt=new RT("MEDIAN_LAYER",0),bKt=new RT("TAIL_LAYER",1),dKt=new RT("HEAD_LAYER",2),pKt=new RT("SPACE_EFFICIENT_LAYER",3),wKt=new RT("WIDEST_LAYER",4),fKt=new RT("CENTER_LAYER",5)}function mut(t,e){var n;return 0!=t.c.length&&(n=btt((OU(0,t.c.length),VP(t.c[0],17)).c.i),lU(),n==(Hnt(),C2t)||n==T2t||QK(hq(new CF(null,new NU(t,16)),new Ra),new Cp(e)))}function vut(t,e,n){var i,r,a;if(!t.b[e.g]){for(t.b[e.g]=!0,!(i=n)&&(i=new tX),$B(i.b,e),a=t.a[e.g].Kc();a.Ob();)(r=VP(a.Pb(),188)).b!=e&&vut(t,r.b,i),r.c!=e&&vut(t,r.c,i),$B(i.a,r);return i}return null}function xut(){xut=I,h5t=new IC("ROOT_PROC",0),s5t=new IC("FAN_PROC",1),u5t=new IC("NEIGHBORS_PROC",2),c5t=new IC("LEVEL_HEIGHT",3),l5t=new IC("NODE_POSITION_PROC",4),o5t=new IC("DETREEIFYING_PROC",5)}function kut(t,e){if(MI(e,239))return function(t,e){return U0(LR(t.g),e)}(t,VP(e,33));if(MI(e,186))return function(t,e){return U0(LR(t.j),e)}(t,VP(e,118));if(MI(e,439))return function(t,e){return U0(LR(t.d),e)}(t,VP(e,202));throw lw(new Xm(sPt+Ust(new ov(P4(Zv(G$t,1),r_t,1,5,[e])))))}function _ut(t,e,n){var i,r;if(this.f=t,HW(n,r=(i=VP(zR(t.b,e),283))?i.a:0),n>=(r/2|0))for(this.e=i?i.c:null,this.d=r;n++<r;)WZ(this);else for(this.c=i?i.b:null;n-- >0;)KZ(this);this.b=e,this.a=null}function Eut(t,e){var n,i;e.a?function(t,e){var n;if(!sR(t.b,e.b))throw lw(new Vm("Invalid hitboxes for scanline constraint calculation."));(M4(e.b,VP(function(t,e){return Ox(Ftt(t.a,e,!0))}(t.b,e.b),57))||M4(e.b,VP(function(t,e){return Ox(Btt(t.a,e,!0))}(t.b,e.b),57)))&&(c_(),e.b),t.a[e.b.f]=VP(zN(t.b,e.b),57),(n=VP(RN(t.b,e.b),57))&&(t.a[n.f]=e.b)}(t,e):(!!(n=VP(zN(t.b,e.b),57))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Fc(e.b),!!(i=VP(RN(t.b,e.b),57))&&t.a[i.f]==e.b&&!!i.a&&i.a!=e.b.a&&e.b.c.Fc(i),FL(t.b,e.b))}function Tut(t,e){var n,i;if(n=VP(Zz(t.b,e),124),VP(VP(jW(t.r,e),21),84).dc())return n.n.b=0,void(n.n.c=0);n.n.b=t.C.b,n.n.c=t.C.c,t.A.Hc((Ltt(),tre))&&Kpt(t,e),i=function(t,e){var n,i,r;for(r=0,i=VP(VP(jW(t.r,e),21),84).Kc();i.Ob();)r+=(n=VP(i.Pb(),111)).d.b+n.b.rf().a+n.d.c,i.Ob()&&(r+=t.w);return r}(t,e),hpt(t,e)==(Qet(),nie)&&(i+=2*t.w),n.a.a=i}function Cut(t,e){var n,i;if(n=VP(Zz(t.b,e),124),VP(VP(jW(t.r,e),21),84).dc())return n.n.d=0,void(n.n.a=0);n.n.d=t.C.d,n.n.a=t.C.a,t.A.Hc((Ltt(),tre))&&Wpt(t,e),i=function(t,e){var n,i,r;for(r=0,i=VP(VP(jW(t.r,e),21),84).Kc();i.Ob();)r+=(n=VP(i.Pb(),111)).d.d+n.b.rf().b+n.d.a,i.Ob()&&(r+=t.w);return r}(t,e),hpt(t,e)==(Qet(),nie)&&(i+=2*t.w),n.a.b=i}function Sut(t,e){var n,i,r,a;for(a=new iw,i=new wd(e);i.a<i.c.c.length;)nB(a,new eT(n=VP(qU(i),65),!0)),nB(a,new eT(n,!1));Om((r=new yH(t)).a.a),LY(a,t.b,new ov(P4(Zv(_zt,1),r_t,679,0,[r])))}function Aut(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;return s=t.a,h=t.b,c=e.a,f=e.b,u=n.a,d=n.b,new XC(((a=s*f-h*c)*(u-(l=i.a))-(o=u*(g=i.b)-d*l)*(s-c))/(r=(s-c)*(d-g)-(h-f)*(u-l)),(a*(d-g)-o*(h-f))/r)}function Mut(t,e){var n,i,r;if(!t.d[e.p]){for(t.d[e.p]=!0,t.a[e.p]=!0,i=new O$(dL(c9(e).a.Kc(),new l));Xht(i);)JK(n=VP(xW(i),17))||(r=n.d.i,t.a[r.p]?nB(t.b,n):Mut(t,r));t.a[e.p]=!1}}function Iut(t,e,n){var i;switch(i=0,VP(Ost(e,(wkt(),B1t)),163).g){case 2:i=2*-n+t.a,++t.a;break;case 1:i=-n;break;case 3:i=n;break;case 4:i=2*n+t.b,++t.b}return IO(e,(Lkt(),MXt))&&(i+=VP(Ost(e,MXt),19).a),i}function Lut(t,e,n){var i,r,a;for(n.zc(e,t),nB(t.n,e),a=t.p.eg(e),e.j==t.p.fg()?x9(t.e,a):x9(t.j,a),fR(t),r=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(e),new dg(e)])));Xht(r);)i=VP(xW(r),11),n._b(i)||Lut(t,i,n)}function Out(t){var e,n;return VP(_ft(t,(Ikt(),Jte)),21).Hc((Ltt(),Vie))?(n=VP(_ft(t,ree),21),e=new hM(VP(_ft(t,nee),8)),n.Hc((Xbt(),are))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e):new Sx}function Dut(t){var e,n,i;if(!t.b){for(i=new Ac,n=new sO(Gyt(t));n.e!=n.i.gc();)0!=((e=VP(fnt(n),18)).Bb&CNt)&&hV(i,e);z6(i),t.b=new qA((VP(a1(oH((VR(),boe).o),8),18),i.i),i.g),dW(t).b&=-9}return t.b}function Nut(t,e){var n,i,r,a,o,s;o=VP(Rit(R$(e.k),WX(ere,dAt,61,2,0,1)),122),lrt(t,s=e.g,n=_G(e,o[0]),i=kG(e,o[1]))<=lrt(t,s,r=_G(e,o[1]),a=kG(e,o[0]))?(e.a=n,e.c=i):(e.a=r,e.c=a)}function Put(t,e,n){var i,r,a;for(ast(n,"Processor set neighbors",1),t.a=0==e.b.b?1:e.b.b,r=null,i=tnt(e.b,0);!r&&i.b!=i.d.c;)tv(lD(Ost(a=VP(AG(i),86),(avt(),I5t))))&&(r=a);r&&wpt(t,new Bp(r),n),$ct(n)}function But(t){var e,n,i,r;return Imt(),e=-1==(i=WA(t,wst(35)))?t:t.substr(0,i),n=-1==i?null:t.substr(i+1),(r=function(t,e){return VP(null==e?nA(BH(t.f,null)):NE(t.g,e),281)}($ae,e))?null!=n&&(r=b6(r,(yz(n),n))):(r=function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d;if(o=!0,h=null,i=null,r=null,e=!1,d=Bae,u=null,a=null,(c=qet(t,s=0,Yae,Gae))<t.length&&(DU(c,t.length),58==t.charCodeAt(c))&&(h=t.substr(s,c-s),s=c+1),n=null!=h&&h_(Fae,h.toLowerCase())){if(-1==(c=t.lastIndexOf("!/")))throw lw(new Xm("no archive separator"));o=!0,i=fO(t,s,++c),s=c}else s>=0&&jN(t.substr(s,2),"//")?(c=qet(t,s+=2,Kae,Wae),i=t.substr(s,c-s),s=c):null==h||s!=t.length&&(DU(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(c=NL(t,wst(35),s))&&(c=t.length),i=t.substr(s,c-s),s=c);if(!n&&s<t.length&&(DU(s,t.length),47==t.charCodeAt(s))&&(c=qet(t,s+1,Kae,Wae),(l=t.substr(s+1,c-(s+1))).length>0&&58==Gz(l,l.length-1)&&(r=l,s=c)),s<t.length&&(DU(s,t.length),47==t.charCodeAt(s))&&(++s,e=!0),s<t.length&&(DU(s,t.length),63!=t.charCodeAt(s))&&(DU(s,t.length),35!=t.charCodeAt(s))){for(f=new iw;s<t.length&&(DU(s,t.length),63!=t.charCodeAt(s))&&(DU(s,t.length),35!=t.charCodeAt(s));)c=qet(t,s,Kae,Wae),nB(f,t.substr(s,c-s)),(s=c)<t.length&&(DU(s,t.length),47==t.charCodeAt(s))&&(k7(t,++s)||(f.c[f.c.length]=""));Het(f,d=WX(fRt,T_t,2,f.c.length,6,1))}return s<t.length&&(DU(s,t.length),63==t.charCodeAt(s))&&(-1==(c=dO(t,35,++s))&&(c=t.length),u=t.substr(s,c-s),s=c),s<t.length&&(a=fA(t,++s)),function(t,e,n,i,r,a){if(null!=e&&O9(e,Yae,Gae))throw lw(new Xm("invalid scheme: "+e));if(!(t||null!=n&&-1==WA(n,wst(35))&&n.length>0&&(DU(0,n.length),47!=n.charCodeAt(0))))throw lw(new Xm("invalid opaquePart: "+n));if(t&&(null==e||!h_(Fae,e.toLowerCase()))&&null!=n&&O9(n,Kae,Wae))throw lw(new Xm(EBt+n));if(t&&null!=e&&h_(Fae,e.toLowerCase())&&!function(t){if(null!=t&&t.length>0&&33==Gz(t,t.length-1))try{return null==But(fO(t,0,t.length-1)).e}catch(t){if(!MI(t=k4(t),32))throw lw(t)}return!1}(n))throw lw(new Xm(EBt+n));if(!function(t){var e;return null==t||(e=t.length)>0&&(DU(e-1,t.length),58==t.charCodeAt(e-1))&&!O9(t,Kae,Wae)}(i))throw lw(new Xm("invalid device: "+i));if(!function(t){var e,n;if(null==t)return!1;for(e=0,n=t.length;e<n;e++)if(!LB(t[e]))return!1;return!0}(r))throw lw(new Xm(null==r?"invalid segments: null":"invalid segment: "+function(t){var e,n;if(null==t)return null;for(e=0,n=t.length;e<n;e++)if(!LB(t[e]))return t[e];return null}(r)));if(null!=a&&-1!=WA(a,wst(35)))throw lw(new Xm("invalid query: "+a))}(o,h,i,r,d,u),new Bpt(o,h,i,r,e,d,u,a)}(e),function(t,e,n){VP(null==e?Qut(t.f,null,n):r9(t.g,e,n),281)}($ae,e,r),null!=n&&(r=b6(r,n))),r}function Fut(t){var e,n,i,r,a,o,s;if(Gq(),MI(t,54))for(a=0,r=t.gc()-1;a<r;++a,--r)e=t.Xb(a),t._c(a,t.Xb(r)),t._c(r,e);else for(n=t.Yc(),o=t.Zc(t.gc());n.Tb()<o.Vb();)i=n.Pb(),s=o.Ub(),n.Wb(s),o.Wb(i)}function $ut(t,e){var n,i,r,a,o,s;for(s=0,IG(a=new nw,e);a.b!=a.c;)for(s+=brt((o=VP(Oj(a),214)).d,o.e),r=new wd(o.b);r.a<r.c.c.length;)i=VP(qU(r),37),(n=VP(EF(t.b,i.p),214)).s||(s+=$ut(t,n));return s}function jut(t,e,i){var r,a;a4(this),e==(VH(),K4t)?jj(this.r,t.c):jj(this.w,t.c),jj(i==K4t?this.r:this.w,t.d),Kct(this,t),rct(this,r=a7(t.c),a=a7(t.d),a),this.o=(kgt(),n.Math.abs(r-a)<.2)}function Rut(t,e,n){var i,r,a,o,s;if(null!=(o=VP(q3(t.a,8),1936)))for(r=0,a=o.length;r<a;++r)null.jm();i=n,0==(1&t.a.Db)&&(s=new oz(t,n,e),i.ui(s)),MI(i,672)?VP(i,672).wi(t.a):i.ti()==t.a&&i.vi(null)}function zut(t,e){var n,i,r,a,o;for(i=new PU(t.j.c.length),n=null,a=new wd(t.j);a.a<a.c.c.length;)(r=VP(qU(a),11)).j!=n&&(i.b==i.c||Yft(i,n,e),iK(i),n=r.j),(o=Jht(r))&&MG(i,o);i.b==i.c||Yft(i,n,e)}function qut(t){var e,i,r;for(e=RG(new O$(dL(c9(t).a.Kc(),new l))),i=new O$(dL(s9(t).a.Kc(),new l));Xht(i);)r=RG(new O$(dL(c9(VP(xW(i),17).c.i).a.Kc(),new l))),e=n.Math.max(e,r);return p8(e)}function Hut(t,e,n){var i,r,a,o;for(ast(n,"Processor arrange node",1),r=null,a=new T_,i=tnt(e.b,0);!r&&i.b!=i.d.c;)tv(lD(Ost(o=VP(AG(i),86),(avt(),I5t))))&&(r=o);WK(a,r,a.c.b,a.c),pxt(t,a,Q2(n,1)),$ct(n)}function Zut(t,e,n){var i,r,a;i=VP(_ft(t,(Ikt(),Tte)),21),r=0,a=0,e.a>n.a&&(i.Hc((bot(),ute))?r=(e.a-n.a)/2:i.Hc(hte)&&(r=e.a-n.a)),e.b>n.b&&(i.Hc((bot(),dte))?a=(e.b-n.b)/2:i.Hc(fte)&&(a=e.b-n.b)),Ast(t,r,a)}function Uut(t,e,n,i,r,a,o,s,c,u,l,h,f){MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),4),_2(t,n),t.f=o,B8(t,s),$8(t,c),P8(t,u),F8(t,l),f8(t,h),q8(t,f),u8(t,!0),j1(t,r),t.ok(a),o7(t,e),null!=i&&(t.i=null,Q0(t,i))}function Yut(t){var e,n;if(t.f){for(;t.n>0;){if(MI(n=(e=VP(t.k.Xb(t.n-1),72)).ak(),99)&&0!=(VP(n,18).Bb&CNt)&&(!t.e||n.Gj()!=Wre||0!=n.aj())&&null!=e.dd())return!0;--t.n}return!1}return t.n>0}function Gut(t,e,n){if(t<0)return ebt(i_t,P4(Zv(G$t,1),r_t,1,5,[n,p8(t)]));if(e<0)throw lw(new Xm(a_t+e));return ebt("%s (%s) must not be greater than size (%s)",P4(Zv(G$t,1),r_t,1,5,[n,p8(t),p8(e)]))}function Kut(t,e,n,i,r,a){var o,s,c;if(i-n<7)!function(t,e,n,i){var r,a,o;for(r=e+1;r<n;++r)for(a=r;a>e&&i.ue(t[a-1],t[a])>0;--a)o=t[a],BR(t,a,t[a-1]),BR(t,a-1,o)}(e,n,i,a);else if(Kut(e,t,s=n+r,c=s+((o=i+r)-s>>1),-r,a),Kut(e,t,c,o,-r,a),a.ue(t[c-1],t[c])<=0)for(;n<i;)BR(e,n++,t[s++]);else!function(t,e,n,i,r,a,o,s){var c;for(c=n;a<o;)c>=i||e<n&&s.ue(t[e],t[c])<=0?BR(r,a++,t[e++]):BR(r,a++,t[c++])}(t,s,c,o,e,n,i,a)}function Wut(t,e){var n,i,r;for(r=new iw,i=new wd(t.c.a.b);i.a<i.c.c.length;)n=VP(qU(i),57),e.Lb(n)&&(nB(r,new KE(n,!0)),nB(r,new KE(n,!1)));(function(t){var e,n;for(Om(t.b.a),t.a=WX(Azt,r_t,57,t.c.c.a.b.c.length,0,1),e=0,n=new wd(t.c.c.a.b);n.a<n.c.c.length;)VP(qU(n),57).f=e++})(t.e),LY(r,t.d,new ov(P4(Zv(_zt,1),r_t,679,0,[t.e])))}function Xut(t,e,n){var i,r,a;if(r=MJ(t.Tg(),e),(i=e-t.Ah())<0){if(!r)throw lw(new Xm(ENt+e+TNt));if(!r.Ij())throw lw(new Xm(vNt+r.ne()+xNt));(a=t.Yg(r))>=0?t.sh(a,n):ydt(t,r,n)}else _9(t,i,r,n)}function Vut(t){var e,n,i,r,a;if(n=VP(t,49).qh())try{if(i=null,(e=Hft((mE(),ooe),lwt(null==(a=n).e?a:(!a.c&&(a.c=new Bpt(0!=(256&a.f),a.i,a.a,a.d,0!=(16&a.f),a.j,a.g,null)),a.c))))&&(r=e.rh())&&(i=r.Wk(function(t){return yz(t),t}(n.e))),i&&i!=t)return Vut(i)}catch(a){if(!MI(a=k4(a),60))throw lw(a)}return t}function Qut(t,e,n){var i,r,a,o;if(o=null==e?0:t.b.se(e),0==(r=null==(i=t.a.get(o))?new Array:i).length)t.a.set(o,r);else if(a=H6(t,e,r))return a.ed(n);return BR(r,r.length,new UE(e,n)),++t.c,bH(t.b),null}function Jut(t,e){var n;return jY(t.a),Hj(t.a,(w2(),h6t),h6t),Hj(t.a,f6t,f6t),cF(n=new hG,f6t,(m9(),w6t)),iA(_ft(e,(Rrt(),z6t)))!==iA((A6(),E6t))&&cF(n,f6t,p6t),cF(n,f6t,b6t),oM(t.a,n),tvt(t.a,e)}function tlt(t){if(!t)return vv(),Cjt;var e=t.valueOf?t.valueOf():t;if(e!==t){var i=Sjt[typeof e];return i?i(e):J6(typeof e)}return t instanceof Array||t instanceof n.Array?new kf(t):new Tf(t)}function elt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=VP(Zz(t.p,i),244)).i).b=$lt(r),a.a=Flt(r),a.b=n.Math.max(a.b,o.a),a.b>o.a&&!e&&(a.b=o.a),a.c=-(a.b-o.a)/2,i.g){case 1:a.d=-a.a;break;case 3:a.d=o.b}oyt(r),hyt(r)}function nlt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=VP(Zz(t.p,i),244)).i).b=$lt(r),a.a=Flt(r),a.a=n.Math.max(a.a,o.b),a.a>o.b&&!e&&(a.a=o.b),a.d=-(a.a-o.b)/2,i.g){case 4:a.c=-a.b;break;case 2:a.c=o.a}oyt(r),hyt(r)}function ilt(t,e){var n,i,r,a;if(cpt(),e.b<2)return!1;for(i=n=VP(AG(a=tnt(e,0)),8);a.b!=a.d.c;){if(r=VP(AG(a),8),!u3(t,i)||!u3(t,r))return!1;i=r}return!(!u3(t,i)||!u3(t,n))}function rlt(t,e){var n,i,r,a,o;return n=H1(o=t,"x"),function(t,e){D1(t,null==e||nP((yz(e),e))||isNaN((yz(e),e))?0:(yz(e),e))}(new fb(e).a,n),i=H1(o,"y"),function(t,e){N1(t,null==e||nP((yz(e),e))||isNaN((yz(e),e))?0:(yz(e),e))}(new db(e).a,i),r=H1(o,ZNt),function(t,e){O1(t,null==e||nP((yz(e),e))||isNaN((yz(e),e))?0:(yz(e),e))}(new gb(e).a,r),a=H1(o,HNt),function(t,e){L1(t,null==e||nP((yz(e),e))||isNaN((yz(e),e))?0:(yz(e),e))}(new pb(e).a,a),a}function alt(t,e){Upt(t,e),0!=(1&t.b)&&(t.a.a=null),0!=(2&t.b)&&(t.a.f=null),0!=(4&t.b)&&(t.a.g=null,t.a.i=null),0!=(16&t.b)&&(t.a.d=null,t.a.e=null),0!=(8&t.b)&&(t.a.b=null),0!=(32&t.b)&&(t.a.j=null,t.a.c=null)}function olt(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?vA(a.a,a.b):a.a=new CL(a.d),yA(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function slt(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?vA(a.a,a.b):a.a=new CL(a.d),yA(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function clt(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?vA(a.a,a.b):a.a=new CL(a.d),yA(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function ult(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?vA(a.a,a.b):a.a=new CL(a.d),yA(a.a,""+e);return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function llt(t,e){var n,i,r,a,o,s;for(n=t.b.c.length,r=EF(t.b,e);2*e+1<n&&(s=a=2*e+1,(o=a+1)<n&&t.a.ue(EF(t.b,o),EF(t.b,a))<0&&(s=o),i=s,!(t.a.ue(r,EF(t.b,i))<0));)XK(t.b,e,EF(t.b,i)),e=i;XK(t.b,e,r)}function hlt(t,e,i,r,a,o){var s,c,u,l,h;for(iA(t)===iA(i)&&(t=t.slice(e,e+a),e=0),u=i,c=e,l=e+a;c<l;)a=(s=n.Math.min(c+1e4,l))-c,(h=t.slice(c,s)).splice(0,0,r,o?a:0),Array.prototype.splice.apply(u,h),c=s,r+=a}function flt(t,e,n){var i,r;return i=n.d,r=n.e,t.g[i.d]<=t.i[e.d]&&t.i[e.d]<=t.i[i.d]&&t.g[r.d]<=t.i[e.d]&&t.i[e.d]<=t.i[r.d]?!(t.i[i.d]<t.i[r.d]):t.i[i.d]<t.i[r.d]}function dlt(t){var e,n,i,r,a,o,s;if((i=t.a.c.length)>0)for(o=t.c.d,r=$I(vN(new XC((s=t.d.d).a,s.b),o),1/(i+1)),a=new XC(o.a,o.b),n=new wd(t.a);n.a<n.c.c.length;)(e=VP(qU(n),559)).d.a=a.a,e.d.b=a.b,mN(a,r)}function glt(t,e,i){var r,a,o,s,c,u;for(u=JEt,o=new wd(Mdt(t.b));o.a<o.c.c.length;)for(a=VP(qU(o),168),c=new wd(Mdt(e.b));c.a<c.c.c.length;)s=VP(qU(c),168),r=B4(a.a,a.b,s.a,s.b,i),u=n.Math.min(u,r);return u}function plt(t,e){if(!e)throw lw(new Nw);if(t.j=e,!t.d)switch(t.j.g){case 1:t.a.a=t.o.a/2,t.a.b=0;break;case 2:t.a.a=t.o.a,t.a.b=t.o.b/2;break;case 3:t.a.a=t.o.a/2,t.a.b=t.o.b;break;case 4:t.a.a=0,t.a.b=t.o.b/2}}function blt(t,e){var n,i;if(e.dc())return Gq(),Gq(),TRt;for(nB(i=new iw,p8(eEt)),n=1;n<t.f;++n)null==t.a&&Zpt(t),t.a[n]&&nB(i,p8(n));return 1==i.c.length?(Gq(),Gq(),TRt):(nB(i,p8(Qkt)),function(t,e){var n,i,r,a,o,s;for(r=new iw,a=0,n=0,o=0;a<e.c.length-1&&n<t.gc();){for(i=VP(t.Xb(n),19).a+o;(OU(a+1,e.c.length),VP(e.c[a+1],19)).a<i;)++a;for(s=0,i-(OU(a,e.c.length),VP(e.c[a],19)).a>(OU(a+1,e.c.length),VP(e.c[a+1],19)).a-i&&++s,nB(r,(OU(a+s,e.c.length),VP(e.c[a+s],19))),o+=(OU(a+s,e.c.length),VP(e.c[a+s],19)).a-i,++n;n<t.gc()&&VP(t.Xb(n),19).a+o<=(OU(a+s,e.c.length),VP(e.c[a+s],19)).a;)++n;a+=1+s}return r}(e,i))}function wlt(t,e){var n,i,r,a,o,s;n=function(t,e){if(e==t.c)return t.d;if(e==t.d)return t.c;throw lw(new Xm("'port' must be either the source port or target port of the edge."))}(e,s=e.c.i.k!=(gct(),HUt)?e.d:e.c).i,r=VP(zR(t.k,s),121),i=t.i[n.p].a,ZN(s.i)<(n.c?lQ(n.c.a,n,0):-1)?(a=r,o=i):(a=i,o=r),cgt(N_(D_(P_(O_(new ey,0),4),a),o))}function ylt(t,e,n){var i,r;i=e.a&t.f,e.b=t.b[i],t.b[i]=e,r=e.f&t.f,e.d=t.c[r],t.c[r]=e,n?(e.e=n.e,e.e?e.e.c=e:t.a=e,e.c=n.c,e.c?e.c.e=e:t.e=e):(e.e=t.e,e.c=null,t.e?t.e.c=e:t.a=e,t.e=e),++t.i,++t.g}function mlt(t){var e,n,i;if(e=t.Pb(),!t.Ob())return e;for(i=mA(vA(new Lv,"expected one element but was: <"),e),n=0;n<4&&t.Ob();n++)mA((i.a+=n_t,i),t.Pb());throw t.Ob()&&(i.a+=", ..."),i.a+=">",lw(new Xm(i.a))}function vlt(t,e,n){var i,r;for(i=e.d,r=n.d;i.a-r.a==0&&i.b-r.b==0;)i.a+=Kft(t,26)*vTt+Kft(t,27)*xTt-.5,i.b+=Kft(t,26)*vTt+Kft(t,27)*xTt-.5,r.a+=Kft(t,26)*vTt+Kft(t,27)*xTt-.5,r.b+=Kft(t,26)*vTt+Kft(t,27)*xTt-.5}function xlt(t){var e,n,i,r;for(t.g=new M9(VP(TR(ere),290)),i=0,Mxt(),n=Eie,e=0;e<t.j.c.length;e++)(r=VP(EF(t.j,e),11)).j!=n&&(i!=e&&VF(t.g,n,new mS(p8(i),p8(e))),n=r.j,i=e);VF(t.g,n,new mS(p8(i),p8(e)))}function klt(t){var e,n,i,r,a;for(n=0,e=new wd(t.b);e.a<e.c.c.length;)for(r=new wd(VP(qU(e),29).a);r.a<r.c.c.length;)for((i=VP(qU(r),10)).p=n++,a=new wd(i.j);a.a<a.c.c.length;)VP(qU(a),11).p=n++}function _lt(t,e,n,i,r){var a,o,s,c;if(e)for(o=e.Kc();o.Ob();)for(c=Fpt(VP(o.Pb(),10),(l0(),r3t),n).Kc();c.Ob();)s=VP(c.Pb(),11),(a=VP(nA(BH(r.f,s)),112))||(a=new o4(t.d),i.c[i.c.length]=a,Lut(a,s,r))}function Elt(t,e){var n,i,r;if(!(r=rvt((put(),gse),t.Tg(),e)))throw lw(new Xm(vNt+e.ne()+xNt));EE(),VP(r,66).Oj()||(r=zU(SQ(gse,r))),i=VP((n=t.Yg(r))>=0?t._g(n,!0,!0):nht(t,r,!0),153),VP(i,215).ol(e)}function Tlt(t){var e,i;return t>-0x800000000000&&t<0x800000000000?0==t?0:((e=t<0)&&(t=-t),i=cZ(n.Math.floor(n.Math.log(t)/.6931471805599453)),(!e||t!=n.Math.pow(2,i))&&++i,i):l4(B3(t))}function Clt(t,e){var n,i,r;return c4(i=new ait(t),e),d5(i,(Lkt(),lXt),e),d5(i,(wkt(),w0t),($ot(),cie)),d5(i,BJt,(Znt(),U9t)),Lf(i,(gct(),RUt)),JZ(n=new Mct,i),plt(n,(Mxt(),Hie)),JZ(r=new Mct,i),plt(r,_ie),i}function Slt(t){switch(t.g){case 0:return new Um((f0(),U3t));case 1:return new fh;case 2:return new mh;default:throw lw(new Xm("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function Alt(t,e){var n,i,r,a;for(t.c[e.p]=!0,nB(t.a,e),a=new wd(e.j);a.a<a.c.c.length;)for(n=new YW((r=VP(qU(a),11)).b);JM(n.a)||JM(n.b);)i=oet(r,VP(JM(n.a)?qU(n.a):qU(n.b),17)).i,t.c[i.p]||Alt(t,i)}function Mlt(t){var e,i,r,a,o,s,c;for(s=0,i=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));i.e!=i.i.gc();)c=(e=VP(hnt(i),33)).g,a=e.f,r=n.Math.sqrt(c*c+a*a),s=n.Math.max(r,s),o=Mlt(e),s=n.Math.max(o,s);return s}function Ilt(){Ilt=I,mie=new cS("OUTSIDE",0),wie=new cS("INSIDE",1),yie=new cS("NEXT_TO_PORT_IF_POSSIBLE",2),bie=new cS("ALWAYS_SAME_SIDE",3),pie=new cS("ALWAYS_OTHER_SAME_SIDE",4),vie=new cS("SPACE_EFFICIENT",5)}function Llt(t,e,n){var i,r,a,o;return O0(i=function(t,e,n){var i;return i=iet(n),Sbt(t.g,i,e),Sbt(t.i,e,n),e}(t,(Px(),r=new Py,!!n&&Fdt(r,n),r),e),cG(e,aPt)),ist(e,i),function(t,e){var n,i,r,a,o;(a=sG(t,"individualSpacings"))&&(!UX(e,(Ikt(),Hee))&&(n=new Qs,Ont(e,Hee,n)),r=VP(_ft(e,Hee),373),i=null,(o=a)&&(i=new t_(o,f2(o,WX(fRt,T_t,2,0,6,1)))),i&&GK(i,new IS(o,r)))}(e,i),rlt(e,i),a=aG(e,"ports"),function(t,e,n){var i,r,a,o,s;if(n)for(a=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);a.Ob();)(r=oG(n,VP(a.Pb(),19).a))&&(O0(o=BG(t,(Px(),s=new By,!!e&&Cdt(s,e),s),r),cG(r,aPt)),ist(r,o),rlt(r,o),B5(t,r,o))}((o=new OS(t,i)).a,o.b,a),B5(t,e,i),w4(t,e,i),i}function Olt(t){var e,n,i,r,a;if(null==t)return s_t;for(a=new Q3(n_t,"[","]"),i=0,r=(n=t).length;i<r;++i)e=n[i],a.a?vA(a.a,a.b):a.a=new CL(a.d),yA(a.a,""+q$(e));return a.a?0==a.e.length?a.a.a:a.a.a+""+a.e:a.c}function Dlt(t,e){var i,r,a;for(a=Qkt,r=new wd(d9(e));r.a<r.c.c.length;)(i=VP(qU(r),213)).f&&!t.c[i.c]&&(t.c[i.c]=!0,a=n.Math.min(a,Dlt(t,E9(i,e))));return t.i[e.d]=t.j,t.g[e.d]=n.Math.min(a,t.j++),t.g[e.d]}function Nlt(t,e){var n,i,r;for(r=VP(VP(jW(t.r,e),21),84).Kc();r.Ob();)(i=VP(r.Pb(),111)).e.b=(n=i.b).Xe((Ikt(),xee))?n.Hf()==(Mxt(),Eie)?-n.rf().b-ev(hD(n.We(xee))):ev(hD(n.We(xee))):n.Hf()==(Mxt(),Eie)?-n.rf().b:0}function Plt(t){var e;if(e=!1,MI(t,204))return e=!0,VP(t,204).a;if(!e&&MI(t,258)&&VP(t,258).a%1==0)return e=!0,p8(function(t){return cZ((yz(t),t))}(VP(t,258).a));throw lw(new lv("Id must be a string or an integer: '"+t+"'."))}function Blt(t,e,n){var i,r,a,o,s;if(b0(n,"occurrences"),0==n)return(s=VP(P7(Xq(t.a),e),14))?s.gc():0;if(!(o=VP(P7(Xq(t.a),e),14)))return 0;if(n>=(a=o.gc()))o.$b();else for(r=o.Kc(),i=0;i<n;i++)r.Pb(),r.Qb();return a}function Flt(t){var e,n,i,r,a,o;if(o=0,0==t.b){for(e=0,r=0,a=(i=yit(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=zv(R2(fq(lq(Gj(t.a),new Et),new Tt)));return o>0?o+t.n.d+t.n.a:0}function $lt(t){var e,n,i,r,a,o;if(o=0,0==t.b)o=zv(R2(fq(lq(Gj(t.a),new kt),new _t)));else{for(e=0,r=0,a=(i=mit(t,!0)).length;r<a;++r)(n=i[r])>0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}return o>0?o+t.n.b+t.n.c:0}function jlt(t){var e,n;return(n=new Lv).a+="e_",null!=(e=function(t){return 0!=t.b.c.length&&VP(EF(t.b,0),70).a?VP(EF(t.b,0),70).a:Aq(t)}(t))&&(n.a+=""+e),t.c&&t.d&&(vA((n.a+=" ",n),krt(t.c)),vA(mA((n.a+="[",n),t.c.i),"]"),vA((n.a+=yAt,n),krt(t.d)),vA(mA((n.a+="[",n),t.d.i),"]")),n.a}function Rlt(t){switch(t.g){case 0:return new gh;case 1:return new ph;case 2:return new dh;case 3:return new bh;default:throw lw(new Xm("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function zlt(t,e,i,r,a){var o;switch(o=0,a.g){case 1:o=n.Math.max(0,e.b+t.b-(i.b+r));break;case 3:o=n.Math.max(0,-t.b-r);break;case 2:o=n.Math.max(0,-t.a-r);break;case 4:o=n.Math.max(0,e.a+t.a-(i.a+r))}return o}function qlt(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=fat(t))&&(EE(),e.Cj()==jBt)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function Hlt(t,e){var n,i,r,a;if(kkt(t),0!=t.c||123!=t.a)throw lw(new gv(jkt((ZM(),HPt))));if(a=112==e,i=t.d,(n=dO(t.i,125,i))<0)throw lw(new gv(jkt((ZM(),ZPt))));return r=fO(t.i,i,n),t.d=n+1,dV(r,a,512==(512&t.e))}function Zlt(t,e,n,i,r){var a,o,s,c;return iA(c=tD(t,VP(r,56)))!==iA(r)?(s=VP(t.g[n],72),jI(t,n,Yot(t,0,a=WG(e,c))),bM(t.e)&&(Aot(o=$H(t,9,a.ak(),r,c,i,!1),new vQ(t.e,9,t.c,s,a,i,!1)),yQ(o)),c):r}function Ult(t,e){var n,i;try{return function(t,e){var n;return EO(!!(n=(yz(t),t).g)),yz(e),n(e)}(t.a,e)}catch(r){if(MI(r=k4(r),32)){try{if(i=rwt(e,eEt,Qkt),n=Lx(t.a),i>=0&&i<n.length)return n[i]}catch(t){if(!MI(t=k4(t),127))throw lw(t)}return null}throw lw(r)}}function Ylt(t,e){var n,i,r;if(r=rvt((put(),gse),t.Tg(),e))return EE(),VP(r,66).Oj()||(r=zU(SQ(gse,r))),i=VP((n=t.Yg(r))>=0?t._g(n,!0,!0):nht(t,r,!0),153),VP(i,215).ll(e);throw lw(new Xm(vNt+e.ne()+_Nt))}function Glt(t,e){var n,i,r;if(r=0,(i=e[0])>=t.length)return-1;for(DU(i,t.length),n=t.charCodeAt(i);n>=48&&n<=57&&(r=10*r+(n-48),!(++i>=t.length));)DU(i,t.length),n=t.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function Klt(t,e,n){var i,r,a,o;a=t.c,o=t.d,r=(O5(P4(Zv(q9t,1),T_t,8,0,[a.i.n,a.n,a.a])).b+O5(P4(Zv(q9t,1),T_t,8,0,[o.i.n,o.n,o.a])).b)/2,i=a.j==(Mxt(),_ie)?new XC(e+a.i.c.c.a+n,r):new XC(e-n,r),LO(t.a,0,i)}function Wlt(t){var e,n,i;for(e=null,n=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c)])));Xht(n);)if(i=rst(VP(xW(n),82)),e){if(e!=i)return!1}else e=i;return!0}function Xlt(t,e,n){var i;if(++t.j,e>=t.i)throw lw(new qm(_Pt+e+EPt+t.i));if(n>=t.i)throw lw(new qm(TPt+n+EPt+t.i));return i=t.g[n],e!=n&&(e<n?lmt(t.g,e,t.g,e+1,n-e):lmt(t.g,n+1,t.g,n,e-n),BR(t.g,e,i),t.ei(e,i,n),t.ci()),i}function Vlt(t,e,n){var i;if(i=VP(t.c.xc(e),14))return!!i.Fc(n)&&(++t.d,!0);if((i=t.ic(e)).Fc(n))return++t.d,t.c.zc(e,i),!0;throw lw(new nW("New Collection violated the Collection spec"))}function Qlt(t){var e,n,i;return t<0?0:0==t?32:(n=16-(e=-(t>>16)>>16&16),n+=e=(t>>=e)-256>>16&8,n+=e=(t<<=e)-eTt>>16&4,(n+=e=(t<<=e)-C_t>>16&2)+2-(e=(i=(t<<=e)>>14)&~(i>>1)))}function Jlt(t){var e,n,i,r;for(Yq(),zHt=new iw,RHt=new rw,jHt=new iw,!t.a&&(t.a=new mj(sae,t,10,11)),function(t){var e,n,i,r,a,o,s,c,u,h;for(e=new rw,o=new YI(t);o.e!=o.i.gc();){for(a=VP(hnt(o),33),n=new Xw,Pz(RHt,a,n),h=new oe,i=VP(xK(new CF(null,new tR(new O$(dL(fdt(a).a.Kc(),new l)))),i$(h,mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)])))),83),i0(n,VP(i.xc((EL(),!0)),14),new se),r=VP(xK(lq(VP(i.xc(!1),15).Lc(),new ce),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[szt]))),15).Kc();r.Ob();)(u=Rst(VP(r.Pb(),79)))&&((s=VP(nA(BH(e.f,u)),21))||(s=Ogt(u),Qut(e.f,u,s)),M2(n,s));for(i=VP(xK(new CF(null,new tR(new O$(dL(ddt(a).a.Kc(),new l)))),i$(h,mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[szt])))),83),i0(n,VP(i.xc(!0),14),new ue),c=VP(xK(lq(VP(i.xc(!1),15).Lc(),new le),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[szt]))),15).Kc();c.Ob();)(u=zst(VP(c.Pb(),79)))&&((s=VP(nA(BH(e.f,u)),21))||(s=Ogt(u),Qut(e.f,u,s)),M2(n,s))}}(e=t.a),r=new YI(e);r.e!=r.i.gc();)i=VP(hnt(r),33),-1==lQ(zHt,i,0)&&(n=new iw,nB(jHt,n),Det(i,n));return jHt}function tht(t,e){var i,r,a,o,s,c,u,l;for(l=ev(hD(Ost(e,(wkt(),W0t)))),u=t[0].n.a+t[0].o.a+t[0].d.c+l,c=1;c<t.length;c++)r=t[c].n,a=t[c].o,i=t[c].d,(o=r.a-i.b-u)<0&&(r.a-=o),(s=e.f).a=n.Math.max(s.a,r.a+a.a),u=r.a+a.a+i.c+l}function eht(t,e){var i,r,a,o,s,c;return r=VP(VP(zR(t.g,e.a),46).a,65),a=VP(VP(zR(t.g,e.b),46).a,65),(i=function(t,e){var i,r,a,o,s,c;return cpt(),o=e.c-(t.c+t.b),a=t.c-(e.c+e.b),s=t.d-(e.d+e.a),i=e.d-(t.d+t.a),r=n.Math.max(a,o),c=n.Math.max(s,i),GM(),c0(GLt),(n.Math.abs(r)<=GLt||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:XA(isNaN(r),isNaN(0)))>=0^(c0(GLt),(n.Math.abs(c)<=GLt||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:XA(isNaN(c),isNaN(0)))>=0)?n.Math.max(c,r):(c0(GLt),(n.Math.abs(r)<=GLt||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:XA(isNaN(r),isNaN(0)))>0?n.Math.sqrt(c*c+r*r):-n.Math.sqrt(c*c+r*r))}(o=r.b,s=a.b))>=0?i:(c=hz(vN(new XC(s.c+s.b/2,s.d+s.a/2),new XC(o.c+o.b/2,o.d+o.a/2))),-(Awt(o,s)-1)*c)}function nht(t,e,n){var i,r,a;if(a=rvt((put(),gse),t.Tg(),e))return EE(),VP(a,66).Oj()||(a=zU(SQ(gse,a))),r=VP((i=t.Yg(a))>=0?t._g(i,!0,!0):nht(t,a,!0),153),VP(r,215).hl(e,n);throw lw(new Xm(vNt+e.ne()+_Nt))}function iht(t,e,n,i){var r,a,o,s,c;if(r=t.d[e])if(a=r.g,c=r.i,null!=i){for(s=0;s<c;++s)if((o=VP(a[s],133)).Sh()==n&&X7(i,o.cd()))return o}else for(s=0;s<c;++s)if(iA((o=VP(a[s],133)).cd())===iA(i))return o;return null}function rht(t,e){var n;if(e<0)throw lw(new zm("Negative exponent"));if(0==e)return gRt;if(1==e||H9(t,gRt)||H9(t,yRt))return t;if(!Ght(t,0)){for(n=1;!Ght(t,n);)++n;return sJ(function(t){var e,n,i;return t<wRt.length?wRt[t]:(e=31&t,(i=WX(Kce,CEt,25,1+(n=t>>5),15,1))[n]=1<<e,new Mj(1,n+1,i))}(n*e),rht(vW(t,n),e))}return function(t,e){var n,i;for(_ht(),gpt(),i=gRt,n=t;e>1;e>>=1)0!=(1&e)&&(i=sJ(i,n)),n=1==n.d?sJ(n,n):new Cet(fwt(n.a,n.d,WX(Kce,CEt,25,n.d<<1,15,1)));return sJ(i,n)}(t,e)}function aht(t){var e,n,i;for(K_(),this.b=lUt,this.c=(e8(),nne),this.f=(G_(),oUt),this.a=t,Vv(this,new Se),Zdt(this),i=new wd(t.b);i.a<i.c.c.length;)(n=VP(qU(i),81)).d||(e=new Tet(P4(Zv(hUt,1),r_t,81,0,[n])),nB(t.a,e))}function oht(t,e,n){var i,r,a,o,s,c;if(!t||0==t.c.length)return null;for(a=new HH(e,!n),r=new wd(t);r.a<r.c.c.length;)i=VP(qU(r),70),zct(a,(H_(),new lg(i)));return(o=a.i).a=(c=a.n,a.e.b+c.d+c.a),o.b=(s=a.n,a.e.a+s.b+s.c),a}function sht(t){var e,n,i,r,a,o,s;for(sM(s=IY(t.a),new Sn),n=null,a=0,o=(r=s).length;a<o&&(i=r[a]).k==(gct(),RUt);++a)(e=VP(Ost(i,(Lkt(),hXt)),61))!=(Mxt(),Hie)&&e!=_ie||(n&&VP(Ost(n,vXt),15).Fc(i),n=i)}function cht(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=VP(t.g[t.i-1],47)}else t.d=t.si(t.f),hV(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(sdt(t),cht(t)):e.Ob()}function uht(t,e,i){var r,a,o,s;if(!(s=i)&&(s=PB(new om,0)),ast(s,aAt,1),Dvt(t.c,e),1==(o=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;if(t.c=t.d,f=null==(d=lD(Ost(e,(wkt(),I0t))))||(yz(d),d),a=VP(Ost(e,(Lkt(),gXt)),21).Hc((ipt(),SWt)),n=!((r=VP(Ost(e,w0t),98))==($ot(),sie)||r==uie||r==cie),!f||!n&&a)h=new ov(P4(Zv(FUt,1),gAt,37,0,[e]));else{for(l=new wd(e.a);l.a<l.c.c.length;)VP(qU(l),10).p=0;for(h=new iw,u=new wd(e.a);u.a<u.c.c.length;)if(i=pwt(t,VP(qU(u),10),null)){for(c4(c=new x0,e),d5(c,cXt,VP(i.b,21)),qq(c.d,e.d),d5(c,i0t,null),s=VP(i.a,15).Kc();s.Ob();)o=VP(s.Pb(),10),nB(c.a,o),o.a=c;h.Fc(c)}a&&(iA(Ost(e,HJt))===iA((n8(),SUt))?t.c=t.b:t.c=t.a)}return iA(Ost(e,HJt))!==iA((n8(),MUt))&&(Gq(),h.ad(new Ne)),h}(t.a,e)).gc())Bmt(VP(o.Xb(0),37),s);else for(a=1/o.gc(),r=o.Kc();r.Ob();)Bmt(VP(r.Pb(),37),Q2(s,a));(function(t,e,n){t.c.lf(e,n)})(t.a,o,e),function(t){var e,i,r,a,o;a=VP(Ost(t,(wkt(),e0t)),21),o=VP(Ost(t,r0t),21),e=new hM(i=new XC(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((Ltt(),Vie))&&(r=VP(Ost(t,i0t),8),o.Hc((Xbt(),are))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=n.Math.max(i.a,r.a),e.b=n.Math.max(i.b,r.b)),tv(lD(Ost(t,n0t)))||function(t,e,n){var i,r,a,o,s;if(i=VP(Ost(t,(wkt(),WJt)),21),n.a>e.a&&(i.Hc((bot(),ute))?t.c.a+=(n.a-e.a)/2:i.Hc(hte)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((bot(),dte))?t.c.b+=(n.b-e.b)/2:i.Hc(fte)&&(t.c.b+=n.b-e.b)),VP(Ost(t,(Lkt(),gXt)),21).Hc((ipt(),SWt))&&(n.a>e.a||n.b>e.b))for(s=new wd(t.a);s.a<s.c.c.length;)(o=VP(qU(s),10)).k==(gct(),RUt)&&((r=VP(Ost(o,hXt),61))==(Mxt(),_ie)?o.n.a+=n.a-e.a:r==zie&&(o.n.b+=n.b-e.b));a=t.d,t.f.a=n.a-a.b-a.c,t.f.b=n.b-a.d-a.a}(t,i,e)}(e),$ct(s)}function lht(t){if(this.a=t,t.c.i.k==(gct(),RUt))this.c=t.c,this.d=VP(Ost(t.c.i,(Lkt(),hXt)),61);else{if(t.d.i.k!=RUt)throw lw(new Xm("Edge "+t+" is not an external edge."));this.c=t.d,this.d=VP(Ost(t.d.i,(Lkt(),hXt)),61)}}function hht(t,e){var n,i,r;r=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,3,r,t.b)),e?e!=t&&(_2(t,e.zb),$1(t,e.d),R0(t,null==(n=null==(i=e.c)?e.zb:i)||jN(n,e.zb)?null:n)):(_2(t,null),$1(t,0),R0(t,null))}function fht(t){var e,n;if(t.f){for(;t.n<t.o;){if(MI(n=(e=VP(t.j?t.j.pi(t.n):t.k.Xb(t.n),72)).ak(),99)&&0!=(VP(n,18).Bb&CNt)&&(!t.e||n.Gj()!=Wre||0!=n.aj())&&null!=e.dd())return!0;++t.n}return!1}return t.n<t.o}function dht(t,e){var n;this.e=(WR(),TR(t),WR(),ntt(t)),this.c=(TR(e),ntt(e)),vL(this.e.Hd().dc()==this.c.Hd().dc()),this.d=h9(this.e),this.b=h9(this.c),n=hF(G$t,[T_t,r_t],[5,1],5,[this.e.Hd().gc(),this.c.Hd().gc()],2),this.a=n,function(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i<r;++i)aR(e=n[i],e.length,null)}(this)}function ght(t){var e;!pjt&&((e=["\\u0000","\\u0001","\\u0002","\\u0003","\\u0004","\\u0005","\\u0006","\\u0007","\\b","\\t","\\n","\\u000B","\\f","\\r","\\u000E","\\u000F","\\u0010","\\u0011","\\u0012","\\u0013","\\u0014","\\u0015","\\u0016","\\u0017","\\u0018","\\u0019","\\u001A","\\u001B","\\u001C","\\u001D","\\u001E","\\u001F"])[34]='\\"',e[92]="\\\\",e[173]="\\u00ad",e[1536]="\\u0600",e[1537]="\\u0601",e[1538]="\\u0602",e[1539]="\\u0603",e[1757]="\\u06dd",e[1807]="\\u070f",e[6068]="\\u17b4",e[6069]="\\u17b5",e[8203]="\\u200b",e[8204]="\\u200c",e[8205]="\\u200d",e[8206]="\\u200e",e[8207]="\\u200f",e[8232]="\\u2028",e[8233]="\\u2029",e[8234]="\\u202a",e[8235]="\\u202b",e[8236]="\\u202c",e[8237]="\\u202d",e[8238]="\\u202e",e[8288]="\\u2060",e[8289]="\\u2061",e[8290]="\\u2062",e[8291]="\\u2063",e[8292]="\\u2064",e[8298]="\\u206a",e[8299]="\\u206b",e[8300]="\\u206c",e[8301]="\\u206d",e[8302]="\\u206e",e[8303]="\\u206f",e[65279]="\\ufeff",e[65529]="\\ufff9",e[65530]="\\ufffa",e[65531]="\\ufffb",pjt=e);return'"'+t.replace(/[\x00-\x1f\xad\u0600-\u0603\u06dd\u070f\u17b4\u17b5\u200b-\u200f\u2028-\u202e\u2060-\u2064\u206a-\u206f\ufeff\ufff9-\ufffb"\\]/g,(function(t){return function(t,e){var n=pjt[t.charCodeAt(0)];return null==n?t:n}(t)}))+'"'}function pht(t){var e,n;for(Wq(),this.b=Tzt,this.c=Szt,this.g=(Z_(),Ezt),this.d=(e8(),nne),this.a=t,Hdt(this),n=new wd(t.b);n.a<n.c.c.length;)!(e=VP(qU(n),57)).a&&RL(J1(new oy,P4(Zv(Azt,1),r_t,57,0,[e])),t),e.e=new EH(e.d)}function bht(){bht=I,Sse=VP(a1(oH((jx(),Lse).qb),6),34),Ese=VP(a1(oH(Lse.qb),3),34),Tse=VP(a1(oH(Lse.qb),4),34),Cse=VP(a1(oH(Lse.qb),5),18),fot(Sse),fot(Ese),fot(Tse),fot(Cse),Ase=new ov(P4(Zv(eoe,1),XBt,170,0,[Sse,Ese]))}function wht(t,e){var n;this.d=new Ty,this.b=e,this.e=new hM(e.qf()),n=t.u.Hc((Ilt(),yie)),t.u.Hc(wie)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(mie)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1}function yht(t,e){var n,i,r,a;for(n=t.o.a,a=VP(VP(jW(t.r,e),21),84).Kc();a.Ob();)(r=VP(a.Pb(),111)).e.a=(i=r.b).Xe((Ikt(),xee))?i.Hf()==(Mxt(),Hie)?-i.rf().a-ev(hD(i.We(xee))):n+ev(hD(i.We(xee))):i.Hf()==(Mxt(),Hie)?-i.rf().a:n}function mht(t,e){var n,i,r;n=VP(Ost(t,(wkt(),s1t)),103),r=VP(_ft(e,k0t),61),(i=VP(Ost(t,w0t),98))!=($ot(),hie)&&i!=fie?r==(Mxt(),qie)&&(r=tyt(e,n))==qie&&(r=Z9(n)):r=Pmt(e)>0?Z9(n):I8(Z9(n)),Ont(e,k0t,r)}function vht(t,e){var n,i,r,a,o;for(o=t.j,e.a!=e.b&&QM(o,new Yr),r=o.c.length/2|0,i=0;i<r;i++)OU(i,o.c.length),(a=VP(o.c[i],113)).c&&plt(a.d,e.a);for(n=r;n<o.c.length;n++)OU(n,o.c.length),(a=VP(o.c[n],113)).c&&plt(a.d,e.b)}function xht(t,e){var n,i,r,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),i=t.Zi(3,null,e,n,a),t.bj()&&(r=t.cj(e,null))?(r.Ei(i),r.Fi()):t.$i(i)):(nz(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function kht(t,e){var n,i,r,a,o;for(o=bgt(t.e.Tg(),e),r=new bc,n=VP(t.g,119),a=t.i;--a>=0;)i=n[a],o.rl(i.ak())&&hV(r,i);!Kxt(t,r)&&bM(t.e)&&Gw(t,e.$j()?$H(t,6,e,(Gq(),TRt),null,-1,!1):$H(t,e.Kj()?2:1,e,null,null,-1,!1))}function _ht(){var t,e;for(_ht=I,kRt=WX(ERt,T_t,91,32,0,1),_Rt=WX(ERt,T_t,91,32,0,1),t=1,e=0;e<=18;e++)kRt[e]=Get(t),_Rt[e]=Get(Z$(t,e)),t=n9(t,5);for(;e<_Rt.length;e++)kRt[e]=sJ(kRt[e-1],kRt[1]),_Rt[e]=sJ(_Rt[e-1],(gpt(),bRt))}function Eht(t,e){var n,i,r,a;return t.a==(cct(),vWt)||(r=e.a.c,n=e.a.c+e.a.b,!(e.j&&(a=(i=e.A).c.c.a-i.o.a/2,r-(i.n.a+i.o.a)>a)||e.q&&(a=(i=e.C).c.c.a-i.o.a/2,i.n.a-n>a)))}function Tht(t){var e,n,i,r,a,o;for(fU(),n=new dK,i=new wd(t.e.b);i.a<i.c.c.length;)for(a=new wd(VP(qU(i),29).a);a.a<a.c.c.length;)r=VP(qU(a),10),(e=VP(YQ(n,o=t.g[r.p]),15))||Uet(n,o,e=new iw),e.Fc(r);return n}function Cht(t){var e;return 0!=(64&t.Db)?jft(t):((e=new TL(jft(t))).a+=" (startX: ",Qx(e,t.j),e.a+=", startY: ",Qx(e,t.k),e.a+=", endX: ",Qx(e,t.b),e.a+=", endY: ",Qx(e,t.c),e.a+=", identifier: ",wA(e,t.d),e.a+=")",e.a)}function Sht(t){var e;return 0!=(64&t.Db)?z7(t):((e=new TL(z7(t))).a+=" (ordered: ",tk(e,0!=(256&t.Bb)),e.a+=", unique: ",tk(e,0!=(512&t.Bb)),e.a+=", lowerBound: ",Jx(e,t.s),e.a+=", upperBound: ",Jx(e,t.t),e.a+=")",e.a)}function Aht(t,e,n,i,r,a,o,s){var c;return MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),4),_2(t,n),t.f=i,B8(t,r),$8(t,a),P8(t,o),F8(t,!1),f8(t,!0),q8(t,s),u8(t,!0),j1(t,0),t.b=0,R1(t,1),(c=fst(t,e,null))&&c.Fi(),H8(t,!1),t}function Mht(t,e){var i,r;return VP(oZ(t.a,e),512)||(i=new oW(e),sW(),function(t,e){hzt||e&&(t.d=e)}(i,Mht(t,fO(r=hzt?null:i.c,0,n.Math.max(0,DL(r,wst(46)))))),0==(hzt?null:i.c).length&&MD(i,new G),ZZ(t.a,hzt?null:i.c,i),i)}function Iht(t,e){var i;t.b=e,t.g=new iw,i=function(t){var e,i,r,a,o,s,c,u,l,h,f;for(h=0,l=0,c=(a=t.a).a.gc(),r=a.a.ec().Kc();r.Ob();)(i=VP(r.Pb(),561)).b&&nmt(i),h+=(f=(e=i.a).a)+(s=e.b),l+=f*s;return u=n.Math.sqrt(400*c*l-4*l+h*h)+h,0==(o=2*(100*c-1))?u:u/o}(t.b),t.e=i,t.f=i,t.c=tv(lD(Ost(t.b,(yat(),Fzt)))),t.a=hD(Ost(t.b,(Ikt(),vte))),null==t.a&&(t.a=1),ev(t.a)>1?t.e*=ev(t.a):t.f/=ev(t.a),function(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new edt(VP(e.Pb(),561),t.e,t.f),nB(t.g,n)}(t),wet(t),function(t){var e,i,r,a,o,s,c,u,l,h;for(i=function(t){var e,i,r,a,o,s,c,u,l,h;for(i=t.o,e=t.p,s=Qkt,a=eEt,c=Qkt,o=eEt,l=0;l<i;++l)for(h=0;h<e;++h)Pit(t,l,h)&&(s=n.Math.min(s,l),a=n.Math.max(a,l),c=n.Math.min(c,h),o=n.Math.max(o,h));return u=a-s+1,r=o-c+1,new kq(p8(s),p8(c),p8(u),p8(r))}(t.d),o=(a=VP(Ost(t.b,(dnt(),DHt)),116)).b+a.c,s=a.d+a.a,u=i.d.a*t.e+o,c=i.b.a*t.f+s,function(t,e){t.b=e}(t.b,new XC(u,c)),h=new wd(t.g);h.a<h.c.c.length;)e=mN(DO(new XC((l=VP(qU(h),562)).g-i.a.a,l.i-i.c.a),l.a,l.b),$I(NO(pI($M(l.e)),l.d*l.a,l.c*l.b),-.5)),r=jM(l.e),Qv(l.e,vN(e,r))}(t),d5(t.b,(dnt(),LHt),t.g)}function Lht(t,e,n){var i,r,a,o,s;for(i=0,s=n,e||(i=n*(t.c.length-1),s*=-1),a=new wd(t);a.a<a.c.c.length;){for(d5(r=VP(qU(a),10),(wkt(),BJt),(Znt(),U9t)),r.o.a=i,o=Dct(r,(Mxt(),_ie)).Kc();o.Ob();)VP(o.Pb(),11).n.a=i;i+=s}}function Oht(t,e,n){var i,r,a;t.ej()?(a=t.fj(),G7(t,e,n),i=t.Zi(3,null,n,e,a),t.bj()?(r=t.cj(n,null),t.ij()&&(r=t.jj(n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(G7(t,e,n),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function Dht(t,e,n){var i,r,a,o,s,c;return(s=t.Gk(n))!=n?(o=t.g[e],c=s,jI(t,e,t.oi(e,c)),a=o,t.gi(e,c,a),t.rk()&&(i=n,r=t.dj(i,null),!VP(s,49).eh()&&(r=t.cj(c,r)),r&&r.Fi()),bM(t.e)&&Gw(t,t.Zi(9,n,s,e,!1)),s):n}function Nht(t){var e,n,i,r,a;if(n=new aP(e=VP(Lx(ere),9),VP(nN(e,e.length),9),0),a=VP(Ost(t,(Lkt(),$Xt)),10))for(r=new wd(a.j);r.a<r.c.c.length;)iA(Ost(i=VP(qU(r),11),IXt))===iA(t)&&VL(new YW(i.b))&&t2(n,i.j);return n}function Pht(t,e,n){var i,r,a,o;if(!t.d[n.p]){for(i=new O$(dL(c9(n).a.Kc(),new l));Xht(i);){for(a=new O$(dL(s9(o=VP(xW(i),17).d.i).a.Kc(),new l));Xht(a);)(r=VP(xW(a),17)).c.i==e&&(t.a[r.p]=!0);Pht(t,e,o)}t.d[n.p]=!0}}function Bht(t){var e;switch(e=0,t){case 105:e=2;break;case 109:e=8;break;case 115:e=4;break;case 120:e=16;break;case 117:e=32;break;case 119:e=64;break;case 70:e=256;break;case 72:e=128;break;case 88:e=512;break;case 44:e=FNt}return e}function Fht(t,e){0!=e.b&&(isNaN(t.s)?t.s=ev((CO(0!=e.b),hD(e.a.a.c))):t.s=n.Math.min(t.s,ev((CO(0!=e.b),hD(e.a.a.c)))),isNaN(t.c)?t.c=ev((CO(0!=e.b),hD(e.c.b.c))):t.c=n.Math.max(t.c,ev((CO(0!=e.b),hD(e.c.b.c)))))}function $ht(t){var e,n,i;for(e=null,n=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c)])));Xht(n);)if(i=rst(VP(xW(n),82)),e){if(e!=AZ(i))return!0}else e=AZ(i);return!1}function jht(t,e){var n,i,r,a;t.ej()?(n=t.i,a=t.fj(),NW(t,e),i=t.Zi(3,null,e,n,a),t.bj()?(r=t.cj(e,null),t.ij()&&(r=t.jj(e,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):t.$i(i)):(NW(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function Rht(t,e,n){var i,r,a;t.ej()?(a=t.fj(),++t.j,t.Hi(e,t.oi(e,n)),i=t.Zi(3,null,n,e,a),t.bj()&&(r=t.cj(n,null))?(r.Ei(i),r.Fi()):t.$i(i)):(++t.j,t.Hi(e,t.oi(e,n)),t.bj()&&(r=t.cj(n,null))&&r.Fi())}function zht(t){var e;if(!t.a)throw lw(new Vm("IDataType class expected for layout option "+t.f));if(null==(e=function(t){return jZ(),Sj(Cae,t)?VP(zR(Cae,t),331).ug():null}(t.a)))throw lw(new Vm("Couldn't create new instance of property '"+t.f+"'. "+vDt+(uD(Aae),Aae.k)+xDt));return VP(e,414)}function qht(t){var e,n,i,r,a;return(a=t.eh())&&a.kh()&&(r=S7(t,a))!=a?(n=t.Vg(),i=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg(VP(r,49),n),i&&i.Fi(),t.Lg()&&t.Mg()&&n>-1&&$3(t,new wj(t,9,n,a,r)),r):a}function Hht(t){var e,n,i,r,a,o,s;for(a=0,r=t.f.e,n=0;n<r.c.length;++n)for(OU(n,r.c.length),o=VP(r.c[n],144),i=n+1;i<r.c.length;++i)OU(i,r.c.length),s=VP(r.c[i],144),e=aV(o.d,s.d)-t.a[o.b][s.b],a+=t.i[o.b][s.b]*e*e;return a}function Zht(t,e){var n;if(!IO(e,(wkt(),B1t))&&(n=function(t,e){switch(t.g){case 0:return e==(p9(),eVt)?mGt:vGt;case 1:return e==(p9(),eVt)?mGt:yGt;case 2:return e==(p9(),eVt)?yGt:vGt;default:return yGt}}(VP(Ost(e,wGt),360),VP(Ost(t,B1t),163)),d5(e,wGt,n),!Xht(new O$(dL(o9(e).a.Kc(),new l)))))switch(n.g){case 1:d5(e,B1t,(p9(),tVt));break;case 2:d5(e,B1t,(p9(),nVt))}}function Uht(){Mst.call(this,BNt,(Px(),Ire)),this.p=null,this.a=null,this.f=null,this.n=null,this.g=null,this.c=null,this.i=null,this.j=null,this.d=null,this.b=null,this.e=null,this.k=null,this.o=null,this.s=null,this.q=!1,this.r=!1}function Yht(){Yht=I,yae=new jS(oMt,0),pae=new jS("INSIDE_SELF_LOOPS",1),bae=new jS("MULTI_EDGES",2),gae=new jS("EDGE_LABELS",3),wae=new jS("PORTS",4),fae=new jS("COMPOUND",5),hae=new jS("CLUSTERS",6),dae=new jS("DISCONNECTED",7)}function Ght(t,e){var n,i,r;if(0==e)return 0!=(1&t.a[0]);if(e<0)throw lw(new zm("Negative bit address"));if((r=e>>5)>=t.d)return t.e<0;if(n=t.a[r],e=1<<(31&e),t.e<0){if(r<(i=r3(t)))return!1;n=i==r?-n:~n}return 0!=(n&e)}function Kht(t,e){var n,i,r,a,o,s,c;if(a=e.e)for(n=qht(a),i=VP(t.g,674),o=0;o<t.i;++o)if(pit(c=i[o])==n&&(!c.d&&(c.d=new GI(loe,c,1)),r=c.d,(s=VP(n.ah(Mbt(a,a.Cb,a.Db>>16)),15).Xc(a))<r.i))return Kht(t,VP(a1(r,s),87));return e}function Wht(t,e,n){var i,r=qkt,a=r[t],o=a instanceof Array?a[0]:null;a&&!o?zkt=a:(!(i=e&&e.prototype)&&(i=qkt[e]),(zkt=function(t){function e(){}return e.prototype=t||{},new e}(i)).hm=n,!e&&(zkt.im=M),r[t]=zkt);for(var s=3;s<arguments.length;++s)arguments[s].prototype=zkt;o&&(zkt.gm=o)}function Xht(t){for(var e;!VP(TR(t.a),47).Ob();){if(t.d=n6(t),!t.d)return!1;if(t.a=VP(t.d.Pb(),47),MI(t.a,39)){if(e=VP(t.a,39),t.a=e.a,!t.b&&(t.b=new nw),IG(t.b,t.d),e.b)for(;!rv(e.b);)IG(t.b,VP(Dj(e.b),47));t.d=e.d}}return!0}function Vht(t,e){var n,i,r,a,o;for(a=null==e?0:t.b.se(e),i=null==(n=t.a.get(a))?new Array:n,o=0;o<i.length;o++)if(r=i[o],t.b.re(e,r.cd()))return 1==i.length?(i.length=0,QD(t.a,a)):i.splice(o,1),--t.c,bH(t.b),r.dd();return null}function Qht(t,e){var n,i,r,a;for(r=1,e.j=!0,a=null,i=new wd(d9(e));i.a<i.c.c.length;)n=VP(qU(i),213),t.c[n.c]||(t.c[n.c]=!0,a=E9(n,e),n.f?r+=Qht(t,a):a.j||n.a!=n.e.e-n.d.e||(n.f=!0,jj(t.p,n),r+=Qht(t,a)));return r}function Jht(t){var e,i,r,a,o;if(o=vwt(t,a=new iw),e=VP(Ost(t,(Lkt(),$Xt)),10))for(r=new wd(e.j);r.a<r.c.c.length;)iA(Ost(i=VP(qU(r),11),IXt))===iA(t)&&(o=n.Math.max(o,vwt(i,a)));return 0==a.c.length||d5(t,AXt,o),-1!=o?a:null}function tft(t,e,n){var i,r,a,o,s,c;r=(i=(a=VP(EF(e.e,0),17).c).i).k,s=(o=(c=VP(EF(n.g,0),17).d).i).k,r==(gct(),qUt)?d5(t,(Lkt(),TXt),VP(Ost(i,TXt),11)):d5(t,(Lkt(),TXt),a),d5(t,(Lkt(),CXt),s==qUt?VP(Ost(o,CXt),11):c)}function eft(t,e){var n,i,r,a;for(n=(a=KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15))))&t.b.length-1,r=null,i=t.b[n];i;r=i,i=i.a)if(i.d==a&&dz(i.i,e))return r?r.a=i.a:t.b[n]=i.a,Cv(i.c,i.f),xw(i.b,i.e),--t.f,++t.e,!0;return!1}function nft(t,e){var n,i,r,a,o;return e&=63,(i=0!=((n=t.h)&ZEt))&&(n|=-1048576),e<22?(o=n>>e,a=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=i?HEt:0,a=n>>e-22,r=t.m>>e-22|n<<44-e):(o=i?HEt:0,a=i?qEt:0,r=n>>e-44),rI(r&qEt,a&qEt,o&HEt)}function ift(t){var e,i,r,a,o,s;for(this.c=new iw,this.d=t,r=JEt,a=JEt,e=tTt,i=tTt,s=tnt(t,0);s.b!=s.d.c;)o=VP(AG(s),8),r=n.Math.min(r,o.a),a=n.Math.min(a,o.b),e=n.Math.max(e,o.a),i=n.Math.max(i,o.b);this.a=new mq(r,a,e-r,i-a)}function rft(t,e){var n,i,r,a;for(i=new wd(t.b);i.a<i.c.c.length;)for(a=new wd(VP(qU(i),29).a);a.a<a.c.c.length;)for((r=VP(qU(a),10)).k==(gct(),zUt)&&Rwt(r,e),n=new O$(dL(c9(r).a.Kc(),new l));Xht(n);)S4(VP(xW(n),17),e)}function aft(t){var e,n,i;this.c=t,i=VP(Ost(t,(wkt(),s1t)),103),e=ev(hD(Ost(t,$Jt))),n=ev(hD(Ost(t,J0t))),i==(e8(),tne)||i==ene||i==nne?this.b=e*n:this.b=1/(e*n),this.j=ev(hD(Ost(t,Y0t))),this.e=ev(hD(Ost(t,U0t))),this.f=t.b.c.length}function oft(){oft=I,U5t=new FM(20),Z5t=new BM((Ikt(),cee),U5t),X5t=new BM(Kee,20),F5t=new BM(vte,LSt),G5t=new BM(Oee,p8(1)),W5t=new BM(Bee,(EL(),!0)),$5t=Ste,R5t=Jte,z5t=nee,q5t=ree,j5t=Vte,H5t=see,Y5t=Cee,i4(),V5t=P5t,K5t=D5t}function sft(t,e){var n,i,r,a,o,s,c,u,l;if(t.a.f>0&&MI(e,42)&&(t.a.qj(),a=null==(c=(u=VP(e,42)).cd())?0:K5(c),o=$D(t.a,a),n=t.a.d[o]))for(i=VP(n.g,367),l=n.i,s=0;s<l;++s)if((r=i[s]).Sh()==a&&r.Fb(u))return sft(t,u),!0;return!1}function cft(){cft=I,w9(),_7t=new RA(jOt,E7t=p7t),x7t=new RA(ROt,(EL(),!0)),p8(-1),y7t=new RA(zOt,p8(-1)),p8(-1),m7t=new RA(qOt,p8(-1)),k7t=new RA(HOt,!1),T7t=new RA(ZOt,!0),v7t=new RA(UOt,!1),C7t=new RA(YOt,-1)}function uft(t,e,n){switch(e){case 7:return!t.e&&(t.e=new LN(tae,t,7,4)),Hmt(t.e),!t.e&&(t.e=new LN(tae,t,7,4)),void kR(t.e,VP(n,14));case 8:return!t.d&&(t.d=new LN(tae,t,8,5)),Hmt(t.d),!t.d&&(t.d=new LN(tae,t,8,5)),void kR(t.d,VP(n,14))}Vat(t,e,n)}function lft(t,e){var n,i,r,a,o;if(iA(e)===iA(t))return!0;if(!MI(e,15))return!1;if(o=VP(e,15),t.gc()!=o.gc())return!1;for(a=o.Kc(),i=t.Kc();i.Ob();)if(n=i.Pb(),r=a.Pb(),!(iA(n)===iA(r)||null!=n&&X7(n,r)))return!1;return!0}function hft(t){switch(t.g){case 0:return new Th;case 1:return new uh;case 2:return new ch;case 3:return new BS;case 4:return new p$;default:throw lw(new Xm("No implementation is available for the node placer "+(null!=t.f?t.f:""+t.g)))}}function fft(t){switch(t.g){case 0:return new g$;case 1:return new hh;case 2:return new eh;case 3:return new nh;case 4:return new $S;default:throw lw(new Xm("No implementation is available for the cycle breaker "+(null!=t.f?t.f:""+t.g)))}}function dft(){dft=I,N6t=new RA(_Ot,p8(0)),P6t=new RA(EOt,0),A6(),I6t=new RA(TOt,L6t=E6t),p8(0),M6t=new RA(COt,p8(1)),g3(),B6t=new RA(SOt,F6t=c7t),MV(),$6t=new RA(AOt,j6t=x6t),Hit(),O6t=new RA(MOt,D6t=r7t)}function gft(t,e,n){var i;i=null,e&&(i=e.d),iot(t,new DT(e.n.a-i.b+n.a,e.n.b-i.d+n.b)),iot(t,new DT(e.n.a-i.b+n.a,e.n.b+e.o.b+i.a+n.b)),iot(t,new DT(e.n.a+e.o.a+i.c+n.a,e.n.b-i.d+n.b)),iot(t,new DT(e.n.a+e.o.a+i.c+n.a,e.n.b+e.o.b+i.a+n.b))}function pft(t,e,n){var i,r,a;for(e.p=n,a=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(e),new dg(e)])));Xht(a);)-1==(i=VP(xW(a),11)).p&&pft(t,i,n);if(e.i.k==(gct(),qUt))for(r=new wd(e.i.j);r.a<r.c.c.length;)(i=VP(qU(r),11))!=e&&-1==i.p&&pft(t,i,n)}function bft(t){var e,i,r,a,o;if(a=VP(xK(function(t){return K8(t),lq(t,new zd(new Xw))}(SU(t)),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15),r=pSt,a.gc()>=2)for(e=hD((i=a.Kc()).Pb());i.Ob();)o=e,e=hD(i.Pb()),r=n.Math.min(r,(yz(e),e-(yz(o),o)));return r}function wft(t,e){var n,i,r,a,o;WK(i=new T_,e,i.c.b,i.c);do{for(CO(0!=i.b),n=VP(WJ(i,i.a.a),86),t.b[n.g]=1,a=tnt(n.d,0);a.b!=a.d.c;)o=(r=VP(AG(a),188)).c,1==t.b[o.g]?$B(t.a,r):2==t.b[o.g]?t.b[o.g]=1:WK(i,o,i.c.b,i.c)}while(0!=i.b)}function yft(t,e){var n,i,r;if(iA(e)===iA(TR(t)))return!0;if(!MI(e,15))return!1;if(i=VP(e,15),(r=t.gc())!=i.gc())return!1;if(MI(i,54)){for(n=0;n<r;n++)if(!dz(t.Xb(n),i.Xb(n)))return!1;return!0}return function(t,e){for(var n,i;t.Ob();){if(!e.Ob())return!1;if(n=t.Pb(),i=e.Pb(),!(iA(n)===iA(i)||null!=n&&X7(n,i)))return!1}return!e.Ob()}(t.Kc(),i.Kc())}function mft(t,e){var n;if(0!=t.c.length){if(2==t.c.length)Rwt((OU(0,t.c.length),VP(t.c[0],10)),(zrt(),Fne)),Rwt((OU(1,t.c.length),VP(t.c[1],10)),$ne);else for(n=new wd(t);n.a<n.c.c.length;)Rwt(VP(qU(n),10),e);t.c=WX(G$t,r_t,1,0,5,1)}}function vft(t){var e,n;if(2!=t.c.length)throw lw(new Vm("Order only allowed for two paths."));OU(0,t.c.length),e=VP(t.c[0],17),OU(1,t.c.length),n=VP(t.c[1],17),e.d.i!=n.c.i&&(t.c=WX(G$t,r_t,1,0,5,1),t.c[t.c.length]=n,t.c[t.c.length]=e)}function xft(t,e,n){var i,r,a,o,s;if(!(r=t.f)&&(r=VP(t.a.a.ec().Kc().Pb(),57)),mat(r,e,n),1!=t.a.a.gc())for(i=e*n,o=t.a.a.ec().Kc();o.Ob();)(a=VP(o.Pb(),57))!=r&&((s=CG(a)).f.d?(a.d.d+=i+SCt,a.d.a-=i+SCt):s.f.a&&(a.d.a-=i+SCt))}function kft(t,e,i,r,a){var o,s,c,u,l,h,f,d,g;return s=i-t,c=r-e,u=(o=n.Math.atan2(s,c))+gSt,l=o-gSt,h=a*n.Math.sin(u)+t,d=a*n.Math.cos(u)+e,f=a*n.Math.sin(l)+t,g=a*n.Math.cos(l)+e,BW(P4(Zv(q9t,1),T_t,8,0,[new XC(h,d),new XC(f,g)]))}function _ft(t,e){var n,i;return!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),null!=(i=vtt(t.o,e))?i:(MI(n=e.wg(),4)&&(null==n?(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),eet(t.o,e)):(!t.o&&(t.o=new vV((skt(),Rre),mae,t,0)),Bat(t.o,e,n))),n)}function Eft(){Eft=I,Zne=new aS("H_LEFT",0),Hne=new aS("H_CENTER",1),Yne=new aS("H_RIGHT",2),Vne=new aS("V_TOP",3),Xne=new aS("V_CENTER",4),Wne=new aS("V_BOTTOM",5),Gne=new aS("INSIDE",6),Kne=new aS("OUTSIDE",7),Une=new aS("H_PRIORITY",8)}function Tft(t,e){var n,i,r,a,o,s,c;if(!e.f)throw lw(new Xm("The input edge is not a tree edge."));for(a=null,r=Qkt,i=new wd(t.d);i.a<i.c.c.length;)s=(n=VP(qU(i),213)).d,c=n.e,flt(t,s,e)&&!flt(t,c,e)&&(o=c.e-s.e-n.a)<r&&(r=o,a=n);return a}function Cft(t){var e,n,i,r,a,o;if(!(t.f.e.c.length<=1)){e=0,r=Hht(t),n=JEt;do{for(e>0&&(r=n),o=new wd(t.f.e);o.a<o.c.c.length;)tv(lD(Ost(a=VP(qU(o),144),(Wrt(),PZt))))||(i=Iwt(t,a),mN(IA(a.d),i));n=Hht(t)}while(!QR(t,e++,r,n))}}function Sft(t,e,n){var i,r,a,o;for(ast(n,"Processor set coordinates",1),t.a=0==e.b.b?1:e.b.b,a=null,i=tnt(e.b,0);!a&&i.b!=i.d.c;)tv(lD(Ost(o=VP(AG(i),86),(avt(),I5t))))&&(a=o,(r=o.e).a=VP(Ost(o,L5t),19).a,r.b=0);Bct(t,H4(a),Q2(n,1)),$ct(n)}function Aft(t,e,n){var i,r,a;for(ast(n,"Processor determine the height for each level",1),t.a=0==e.b.b?1:e.b.b,r=null,i=tnt(e.b,0);!r&&i.b!=i.d.c;)tv(lD(Ost(a=VP(AG(i),86),(avt(),I5t))))&&(r=a);r&&Ggt(t,BW(P4(Zv(f5t,1),wSt,86,0,[r])),n),$ct(n)}function Mft(t,e){var n,i,r,a,o,s;return a=null,(gPt in(o=t).a||pPt in o.a||QNt in o.a)&&(s=W4(e),i=sG(o,gPt),function(t,e){var n,i;e&&(n=H1(e,"x"),P1(new yb(t).a,(yz(n),n)),i=H1(e,"y"),F1(new vb(t).a,(yz(i),i)))}(new hb(s).a,i),r=sG(o,pPt),function(t,e){var n,i;e&&(n=H1(e,"x"),I1(new kb(t).a,(yz(n),n)),i=H1(e,"y"),B1(new _b(t).a,(yz(i),i)))}(new xb(s).a,r),n=aG(o,QNt),function(t,e){var n,i,r;if(e)for(r=((n=new N$(e.a.length)).b-n.a)*n.c<0?(SE(),Rce):new cL(n);r.Ob();)i=oG(e,VP(r.Pb(),19).a),cq(new eb(t).a,i)}(new Eb(s).a,n),a=n),a}function Ift(t,e){var i,r,a,o,s;return s=(o=e.a).c.i==e.b?o.d:o.c,r=o.c.i==e.b?o.c:o.d,(a=function(t,e,n){var i;return i=ev(t.p[e.i.p])+ev(t.d[e.i.p])+e.n.b+e.a.b,ev(t.p[n.i.p])+ev(t.d[n.i.p])+n.n.b+n.a.b-i}(t.a,s,r))>0&&a<pSt?(i=function(t,e,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=e;do{o=t.a[o.p],f=t.g[o.p],c=ev(t.p[f.p])+ev(t.d[o.p])-o.d.d,(u=L0(o,r))&&(l=t.g[u.p],s=ev(t.p[l.p])+ev(t.d[u.p])+u.o.b+u.d.a,a=n.Math.min(a,c-(s+fI(t.k,o,u))))}while(h!=o);return a}(t.a,r.i,a,t.c),f1(t.a,r.i,-i),i>0):a<0&&-a<pSt&&(i=function(t,e,i,r){var a,o,s,c,u,l,h,f;a=i,o=h=e;do{o=t.a[o.p],f=t.g[o.p],s=ev(t.p[f.p])+ev(t.d[o.p])+o.o.b+o.d.a,(u=Y4(o,r))&&(l=t.g[u.p],c=ev(t.p[l.p])+ev(t.d[u.p])-u.d.d,a=n.Math.min(a,c-(s+fI(t.k,o,u))))}while(h!=o);return a}(t.a,r.i,-a,t.c),f1(t.a,r.i,i),i>0)}function Lft(t,e,n,i){var r,a,o,s,c,u;for(r=(e-t.d)/t.c.c.length,a=0,t.a+=n,t.d=e,u=new wd(t.c);u.a<u.c.c.length;)s=(c=VP(qU(u),33)).g,o=c.f,D1(c,c.i+a*r),N1(c,c.j+i*n),O1(c,c.g+r),L1(c,t.a),++a,Zut(c,new XC(c.g,c.f),new XC(s,o))}function Oft(t){var e,i,r,a,o,s,c;for(r=JEt,i=tTt,e=new wd(t.e.b);e.a<e.c.c.length;)for(o=new wd(VP(qU(e),29).a);o.a<o.c.c.length;)a=VP(qU(o),10),s=(c=ev(t.p[a.p]))+ev(t.b[t.g[a.p].p]),r=n.Math.min(r,c),i=n.Math.max(i,s);return i-r}function Dft(t,e,n,i){var r,a,o,s,c,u;for(c=null,s=0,u=(r=Obt(t,e)).gc();s<u;++s)if(jN(i,tq(SQ(t,a=VP(r.Xb(s),170)))))if(o=eq(SQ(t,a)),null==n){if(null==o)return a;!c&&(c=a)}else{if(jN(n,o))return a;null==o&&!c&&(c=a)}return null}function Nft(t,e,n,i){var r,a,o,s,c,u;for(c=null,s=0,u=(r=Dbt(t,e)).gc();s<u;++s)if(jN(i,tq(SQ(t,a=VP(r.Xb(s),170)))))if(o=eq(SQ(t,a)),null==n){if(null==o)return a;!c&&(c=a)}else{if(jN(n,o))return a;null==o&&!c&&(c=a)}return null}function Pft(t,e,i){var r,a,o,s,c,u,l,h;for(o=e.Kc();o.Ob();)u=(a=VP(o.Pb(),33)).i+a.g/2,h=a.j+a.f/2,c=u-((s=t.f).i+s.g/2),l=h-(s.j+s.f/2),r=n.Math.sqrt(c*c+l*l),c*=t.e/r,l*=t.e/r,i?(u-=c,h-=l):(u+=c,h+=l),D1(a,u-a.g/2),N1(a,h-a.f/2)}function Bft(t){var e,n,i;if(!t.c&&null!=t.b){for(e=t.b.length-4;e>=0;e-=2)for(n=0;n<=e;n+=2)(t.b[n]>t.b[n+2]||t.b[n]===t.b[n+2]&&t.b[n+1]>t.b[n+3])&&(i=t.b[n+2],t.b[n+2]=t.b[n],t.b[n]=i,i=t.b[n+3],t.b[n+3]=t.b[n+1],t.b[n+1]=i);t.c=!0}}function Fft(t,e){var n,i,r,a,o,s;for(a=(1==e?uUt:cUt).a.ec().Kc();a.Ob();)for(r=VP(a.Pb(),103),s=VP(jW(t.f.c,r),21).Kc();s.Ob();)switch(o=VP(s.Pb(),46),i=VP(o.b,81),n=VP(o.a,189).c,r.g){case 2:case 1:i.g.d+=n;break;case 4:case 3:i.g.c+=n}}function $ft(t,e){var n,i,r,a,o,s,c,u,l;for(u=-1,l=0,s=0,c=(o=t).length;s<c;++s){for(a=o[s],n=new TB(-1==u?t[0]:t[u],e,(i7(),k2t)),i=0;i<a.length;i++)for(r=i+1;r<a.length;r++)IO(a[i],(Lkt(),MXt))&&IO(a[r],MXt)&&Vxt(n,a[i],a[r])>0&&++l;++u}return l}function jft(t){var e;return(e=new CL(Nx(t.gm))).a+="@",vA(e,(K5(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",mA(e,t.qh()),t.$g()&&(e.a+=" eClass: ",mA(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",mA(e,t.$g()),e.a+=")"),e.a}function Rft(t){var e,n,i;if(t.e)throw lw(new Vm((uD(Lzt),GTt+Lzt.k+KTt)));for(t.d==(e8(),nne)&&ixt(t,tne),n=new wd(t.a.a);n.a<n.c.c.length;)(e=VP(qU(n),307)).g=e.i;for(i=new wd(t.a.b);i.a<i.c.c.length;)VP(qU(i),57).i=tTt;return t.b.Le(t),t}function zft(t,e){var n,i,r,a,o;if(a=e,!(o=VP(U0(LR(t.i),a),33)))throw lw(new lv("Unable to find elk node for json object '"+cG(a,aPt)+"' Panic!"));i=aG(a,"edges"),function(t,e,n){var i,r,a;if(n)for(a=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);a.Ob();)r=oG(n,VP(a.Pb(),19).a),WNt in r.a||XNt in r.a?_bt(t,r,e):ikt(t,r,e),qI(VP(zR(t.b,iet(r)),79))}((n=new kS(t,o)).a,n.b,i),r=aG(a,GNt),function(t,e){var n,i,r;if(e)for(r=((n=new N$(e.a.length)).b-n.a)*n.c<0?(SE(),Rce):new cL(n);r.Ob();)(i=oG(e,VP(r.Pb(),19).a))&&zft(t,i)}(new ib(t).a,r)}function qft(t,e,n,i){var r,a,o,s,c;if(null!=i){if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if((o=VP(a[s],133)).Sh()==n&&X7(i,o.cd()))return s}else if(r=t.d[e])for(a=r.g,c=r.i,s=0;s<c;++s)if(iA((o=VP(a[s],133)).cd())===iA(i))return s;return-1}function Hft(t,e){var n,i;return MI(n=null==e?nA(BH(t.f,null)):NE(t.g,e),235)?((i=VP(n,235)).Qh(),i):MI(n,498)?((i=VP(n,1938).a)&&(null==i.yb||(null==e?Qut(t.f,null,i):r9(t.g,e,i))),i):null}function Zft(t,e){var i,r,a,o,s,c;if((r=t.b[e.p])>=0)return r;for(a=1,o=new wd(e.j);o.a<o.c.c.length;)for(i=new wd(VP(qU(o),11).g);i.a<i.c.c.length;)e!=(c=VP(qU(i),17).d.i)&&(s=Zft(t,c),a=n.Math.max(a,s+1));return function(t,e,n){var i,r;for(i=(r=t.a.b).c.length;i<n;i++)JF(r,0,new HR(t.a));QZ(e,VP(EF(r,r.c.length-n),29)),t.b[e.p]=n}(t,e,a),a}function Uft(t,e,n){var i,r,a;for(i=1;i<t.c.length;i++){for(OU(i,t.c.length),a=VP(t.c[i],10),r=i;r>0&&e.ue((OU(r-1,t.c.length),VP(t.c[r-1],10)),a)>0;)XK(t,r,(OU(r-1,t.c.length),VP(t.c[r-1],10))),--r;OU(r,t.c.length),t.c[r]=a}n.a=new rw,n.b=new rw}function Yft(t,e,n){var i;if(2==(t.c-t.b&t.a.length-1))e==(Mxt(),Eie)||e==_ie?(HJ(VP(E5(t),15),(zrt(),Fne)),HJ(VP(E5(t),15),$ne)):(HJ(VP(E5(t),15),(zrt(),$ne)),HJ(VP(E5(t),15),Fne));else for(i=new Wz(t);i.a!=i.b;)HJ(VP(g7(i),15),n)}function Gft(t,e){var n,i,r,a,o,s;for(o=new QY(i=QP(new Ob(t)),i.c.length),s=new QY(r=QP(new Ob(e)),r.c.length),a=null;o.b>0&&s.b>0&&(CO(o.b>0),n=VP(o.a.Xb(o.c=--o.b),33),CO(s.b>0),n==VP(s.a.Xb(s.c=--s.b),33));)a=n;return a}function Kft(t,e){var i,r,a,o;return a=t.a*kTt+1502*t.b,o=t.b*kTt+11,a+=i=n.Math.floor(o*_Tt),o-=i*ETt,a%=ETt,t.a=a,t.b=o,e<=24?n.Math.floor(t.a*URt[e]):((r=t.a*(1<<e-24)+n.Math.floor(t.b*YRt[e]))>=2147483648&&(r-=uTt),r)}function Wft(t,e,n){var i,r,a,o;KU(t,e)>KU(t,n)?(i=i9(n,(Mxt(),_ie)),t.d=i.dc()?0:eF(VP(i.Xb(0),11)),o=i9(e,Hie),t.b=o.dc()?0:eF(VP(o.Xb(0),11))):(r=i9(n,(Mxt(),Hie)),t.d=r.dc()?0:eF(VP(r.Xb(0),11)),a=i9(e,_ie),t.b=a.dc()?0:eF(VP(a.Xb(0),11)))}function Xft(t){var e,n,i,r,a,o,s;if(t&&(e=t.Hh(hFt))&&null!=(o=fD(vtt((!e.b&&(e.b=new UO((Bkt(),Boe),cse,e)),e.b),"conversionDelegates")))){for(s=new iw,r=0,a=(i=Lbt(o,"\\w+")).length;r<a;++r)n=i[r],s.c[s.c.length]=n;return s}return Gq(),Gq(),TRt}function Vft(t,e){var n,i,r,a;for(n=t.o.a,a=VP(VP(jW(t.r,e),21),84).Kc();a.Ob();)(r=VP(a.Pb(),111)).e.a=n*ev(hD(r.b.We(Kqt))),r.e.b=(i=r.b).Xe((Ikt(),xee))?i.Hf()==(Mxt(),Eie)?-i.rf().b-ev(hD(i.We(xee))):ev(hD(i.We(xee))):i.Hf()==(Mxt(),Eie)?-i.rf().b:0}function Qft(t){var e,n,i,r,a,o,s,c;e=!0,r=null,a=null;t:for(c=new wd(t.a);c.a<c.c.c.length;)for(i=new O$(dL(s9(s=VP(qU(c),10)).a.Kc(),new l));Xht(i);){if(n=VP(xW(i),17),r&&r!=s){e=!1;break t}if(r=s,o=n.c.i,a&&a!=o){e=!1;break t}a=o}return e}function Jft(){Jft=I,S7t=new BM((Ikt(),vte),1.3),L7t=Fte,Z7t=new FM(15),H7t=new BM(cee,Z7t),G7t=new BM(Kee,15),A7t=Tte,F7t=Jte,$7t=nee,j7t=ree,B7t=Vte,R7t=see,U7t=Cee,cft(),q7t=_7t,P7t=x7t,z7t=k7t,Y7t=T7t,O7t=v7t,D7t=Hte,N7t=Zte,I7t=m7t,M7t=y7t,K7t=C7t}function tdt(t,e,n){var i,r,a,o,s;for(z0(r=new kc,(yz(e),e)),!r.b&&(r.b=new UO((Bkt(),Boe),cse,r)),s=r.b,o=1;o<n.length;o+=2)Bat(s,n[o-1],n[o]);for(!t.Ab&&(t.Ab=new mj(Jae,t,0,3)),i=t.Ab,a=0;a<0;++a)i=bz(VP(a1(i,i.i-1),590));hV(i,r)}function edt(t,e,i){var r,a,o;for(mD.call(this,new iw),this.a=e,this.b=i,this.e=t,t.b&&nmt(t),r=t.a,this.d=Tq(r.a,this.a),this.c=Tq(r.b,this.b),function(t,e,i){t.n=hF(Xce,[T_t,nTt],[364,25],14,[i,cZ(n.Math.ceil(e/32))],2),t.o=e,t.p=i,t.j=e-1>>1,t.k=i-1>>1}(this,this.d,this.c),function(t){var e,n,i,r,a,o,s;for(n=jM(t.e),a=$I(NO(pI($M(t.e)),t.d*t.a,t.c*t.b),-.5),e=n.a-a.a,r=n.b-a.b,s=0;s<t.c;s++){for(i=e,o=0;o<t.d;o++)D9(t.e,new mq(i,r,t.a,t.b))&&obt(t,o,s,!1,!0),i+=t.a;r+=t.b}}(this),o=this.e.e.a.ec().Kc();o.Ob();)(a=VP(o.Pb(),266)).c.c.length>0&&nvt(this,a)}function ndt(t,e,n,i,r,a){var o,s,c;if(!r[e.b]){for(r[e.b]=!0,!(o=i)&&(o=new GW),nB(o.e,e),c=a[e.b].Kc();c.Ob();)(s=VP(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&ndt(t,s.c,e,o,r,a),s.d!=e&&ndt(t,s.d,e,o,r,a),nB(o.c,s),C4(o.d,s.b));return o}return null}function idt(t){var e,n,i;for(e=0,n=new wd(t.e);n.a<n.c.c.length;)QK(new CF(null,new NU(VP(qU(n),17).b,16)),new wn)&&++e;for(i=new wd(t.g);i.a<i.c.c.length;)QK(new CF(null,new NU(VP(qU(i),17).b,16)),new yn)&&++e;return e>=2}function rdt(t){var e,n;try{return null==t?s_t:A9(t)}catch(i){if(MI(i=k4(i),102))return e=i,n=Nx(W5(t))+"@"+(c_(),(Pnt(t)>>>0).toString(16)),Net(I4(),(j_(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+Nx(e.gm)+">";throw lw(i)}}function adt(t){switch(t.g){case 0:return new ah;case 1:return new th;case 2:return new aE;case 3:return new Ma;case 4:return new fN;case 5:return new oh;default:throw lw(new Xm("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function odt(t,e,n){var i,r,a;for(a=new wd(t.t);a.a<a.c.c.length;)(i=VP(qU(a),268)).b.s<0&&i.c>0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&$B(e,i.b));for(r=new wd(t.i);r.a<r.c.c.length;)(i=VP(qU(r),268)).a.s<0&&i.c>0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&$B(n,i.a))}function sdt(t){var e,n,i;if(null==t.g&&(t.d=t.si(t.f),hV(t,t.d),t.c))return t.f;if(i=(e=VP(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(i)).Ob())t.d=n,hV(t,n);else for(t.d=null;!e.Ob()&&(BR(t.g,--t.i,null),0!=t.i);)e=VP(t.g[t.i-1],47);return i}function cdt(t,e,i,r){var a,o,s;for(Lf(a=new ait(t),(gct(),zUt)),d5(a,(Lkt(),IXt),e),d5(a,qXt,r),d5(a,(wkt(),w0t),($ot(),cie)),d5(a,TXt,e.c),d5(a,CXt,e.d),qgt(e,a),s=n.Math.floor(i/2),o=new wd(a.j);o.a<o.c.c.length;)VP(qU(o),11).n.b=s;return a}function udt(t){var e,i,r,a,o,s;for(e=0,i=new wd(t.a);i.a<i.c.c.length;)for(a=new O$(dL(c9(VP(qU(i),10)).a.Kc(),new l));Xht(a);)t==(r=VP(xW(a),17)).d.i.c&&r.c.j==(Mxt(),Hie)&&(o=BU(r.c).b,s=BU(r.d).b,e=n.Math.max(e,n.Math.abs(s-o)));return e}function ldt(t,e,n){var i,r;ast(n,"Remove overlaps",1),n.n&&e&&tY(n,FY(e),(S6(),kre)),i=VP(_ft(e,(nD(),l6t)),33),t.f=i,t.a=Xnt(VP(_ft(e,(Rrt(),Q6t)),293)),qf(t,(yz(r=hD(_ft(e,(Ikt(),Kee)))),r)),fxt(t,e,rpt(i),n),n.n&&e&&tY(n,FY(e),(S6(),kre))}function hdt(t,e,i){switch(i.g){case 1:return new XC(e.a,n.Math.min(t.d.b,e.b));case 2:return new XC(n.Math.max(t.c.a,e.a),e.b);case 3:return new XC(e.a,n.Math.max(t.c.b,e.b));case 4:return new XC(n.Math.min(e.a,t.d.a),e.b)}return new XC(e.a,e.b)}function fdt(t){var e,n,i;for(nB(e=lO(1+(!t.c&&(t.c=new mj(cae,t,9,9)),t.c).i),(!t.d&&(t.d=new LN(tae,t,8,5)),t.d)),i=new YI((!t.c&&(t.c=new mj(cae,t,9,9)),t.c));i.e!=i.i.gc();)nB(e,(!(n=VP(hnt(i),118)).d&&(n.d=new LN(tae,n,8,5)),n.d));return TR(e),new $A(e)}function ddt(t){var e,n,i;for(nB(e=lO(1+(!t.c&&(t.c=new mj(cae,t,9,9)),t.c).i),(!t.e&&(t.e=new LN(tae,t,7,4)),t.e)),i=new YI((!t.c&&(t.c=new mj(cae,t,9,9)),t.c));i.e!=i.i.gc();)nB(e,(!(n=VP(hnt(i),118)).e&&(n.e=new LN(tae,n,7,4)),n.e));return TR(e),new $A(e)}function gdt(t,e,n){var i,r,a,o;for(ast(n,"ELK Force",1),tv(lD(_ft(e,(qpt(),uZt))))||rZ(new Gd((pE(),new Gm(e)))),function(t){var e,n;(e=VP(Ost(t,(qpt(),pZt)),19))?(n=e.a,d5(t,(p2(),TZt),0==n?new a9:new kK(n))):d5(t,(p2(),TZt),new kK(1))}(o=g5(e)),function(t,e){switch(e.g){case 0:MI(t.b,631)||(t.b=new J3);break;case 1:MI(t.b,632)||(t.b=new bB)}}(t,VP(Ost(o,aZt),424)),r=(a=uyt(t.a,o)).Kc();r.Ob();)i=VP(r.Pb(),231),Pbt(t.b,i,Q2(n,1/a.gc()));Lxt(o=Rxt(a)),$ct(n)}function pdt(t,e){var n,i,r;if(ast(e,"Breaking Point Processor",1),function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(JD(c=new QY(u=t.b,0),new HR(t)),b=!1,a=1;c.b<c.d.gc();){for(CO(c.b<c.d.gc()),s=VP(c.d.Xb(c.c=c.b++),29),OU(a,u.c.length),d=VP(u.c[a],29),p=(g=GU(s.a)).c.length,f=new wd(g);f.a<f.c.c.length;)QZ(l=VP(qU(f),10),d);if(b){for(h=jU(new Em(g),0);h.c.Sb();)for(r=new wd(GU(s9(l=VP(tW(h),10))));r.a<r.c.c.length;)vyt(i=VP(qU(r),17),!0),d5(t,(Lkt(),rXt),(EL(),!0)),n=fvt(t,i,p),e=VP(Ost(l,QWt),305),w=VP(EF(n,n.c.length-1),17),e.k=w.c.i,e.n=w,e.b=i.d.i,e.c=i;b=!1}else 0!=g.c.length&&(OU(0,g.c.length),VP(g.c[0],10).k==(gct(),jUt)&&(b=!0,a=-1));++a}for(o=new QY(t.b,0);o.b<o.d.gc();)CO(o.b<o.d.gc()),0==VP(o.d.Xb(o.c=o.b++),29).a.c.length&&lz(o)}(t),tv(lD(Ost(t,(wkt(),a2t))))){for(i=new wd(t.b);i.a<i.c.c.length;)for(n=0,r=new wd(VP(qU(i),29).a);r.a<r.c.c.length;)VP(qU(r),10).p=n++;(function(t){var e,n,i,r,a,o,s;for(i=new wd(t.b);i.a<i.c.c.length;)for(a=new wd(GU(VP(qU(i),29).a));a.a<a.c.c.length;)if(TJ(r=VP(qU(a),10))&&!(n=VP(Ost(r,(Lkt(),QWt)),305)).g&&n.d)for(e=n,s=n.d;s;)Npt(s.i,s.k,!1,!0),wQ(e.a),wQ(s.i),wQ(s.k),wQ(s.b),XZ(s.c,e.c.d),XZ(e.c,null),QZ(e.a,null),QZ(s.i,null),QZ(s.k,null),QZ(s.b,null),(o=new DG(e.i,s.a,e.e,s.j,s.f)).k=e.k,o.n=e.n,o.b=e.b,o.c=s.c,o.g=e.g,o.d=s.d,d5(e.i,QWt,o),d5(s.a,QWt,o),s=s.d,e=o})(t),zgt(t,!0),zgt(t,!1)}$ct(e)}function bdt(t,e){var n,i,r,a;if(e){for(a=!(r=MI(t.Cb,88)||MI(t.Cb,99))&&MI(t.Cb,322),n=new YI((!e.a&&(e.a=new jF(e,loe,e)),e.a));n.e!=n.i.gc();)if(i=qwt(VP(hnt(n),87)),r?MI(i,88):a?MI(i,148):i)return i;return r?(Bkt(),Ioe):(Bkt(),Soe)}return null}function wdt(t,e,n,i){var r,a,o,s,c,u;for(vN(s=new XC(n,i),VP(Ost(e,(avt(),p5t)),8)),u=tnt(e.b,0);u.b!=u.d.c;)mN((c=VP(AG(u),86)).e,s),$B(t.b,c);for(o=tnt(e.a,0);o.b!=o.d.c;){for(r=tnt((a=VP(AG(o),188)).a,0);r.b!=r.d.c;)mN(VP(AG(r),8),s);$B(t.a,a)}}function ydt(t,e,n){var i,r,a;if(!(a=rvt((put(),gse),t.Tg(),e)))throw lw(new Xm(vNt+e.ne()+xNt));if(EE(),!VP(a,66).Oj()&&!(a=zU(SQ(gse,a))))throw lw(new Xm(vNt+e.ne()+xNt));r=VP((i=t.Yg(a))>=0?t._g(i,!0,!0):nht(t,a,!0),153),VP(r,215).ml(e,n)}function mdt(t,e,n){ast(n,"Eades radial",1),n.n&&e&&tY(n,FY(e),(S6(),kre)),t.d=VP(_ft(e,(nD(),l6t)),33),t.c=ev(hD(_ft(e,(Rrt(),V6t)))),t.e=Xnt(VP(_ft(e,Q6t),293)),t.a=function(t){switch(t.g){case 0:return new Uo;case 1:return new Yo;default:throw lw(new Xm(xOt+(null!=t.f?t.f:""+t.g)))}}(VP(_ft(e,t7t),426)),t.b=function(t){switch(t.g){case 1:return new Ro;case 2:return new zo;case 3:return new jo;case 0:return null;default:throw lw(new Xm(xOt+(null!=t.f?t.f:""+t.g)))}}(VP(_ft(e,G6t),340)),function(t){var e,n,i,r,a;if(i=0,r=pSt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,Zbt(t,t.d,0,0,pOt,n),(a=t.b.ig(t.d))<r&&(i=n,r=a);Zbt(t,t.d,0,0,pOt,i)}(t),n.n&&e&&tY(n,FY(e),(S6(),kre))}function vdt(t){var e,n,i,r;if(!t.j){if(r=new Mc,null==(e=qoe).a.zc(t,e)){for(i=new YI(AH(t));i.e!=i.i.gc();)kR(r,vdt(n=VP(hnt(i),26))),hV(r,n);e.a.Bc(t)}z6(r),t.j=new qA((VP(a1(oH((VR(),boe).o),11),18),r.i),r.g),dW(t).b&=-33}return t.j}function xdt(t,e){var n,i,r,a,o;for(r=e.a&t.f,a=null,i=t.b[r];;i=i.b){if(i==e){a?a.b=e.b:t.b[r]=e.b;break}a=i}for(o=e.f&t.f,a=null,n=t.c[o];;n=n.d){if(n==e){a?a.d=e.d:t.c[o]=e.d;break}a=n}e.e?e.e.c=e.c:t.a=e.c,e.c?e.c.e=e.e:t.e=e.e,--t.i,++t.g}function kdt(t,e){var n,i,r,a;for(CO((a=new QY(t,0)).b<a.d.gc()),n=VP(a.d.Xb(a.c=a.b++),140);a.b<a.d.gc();)CO(a.b<a.d.gc()),r=new _B((i=VP(a.d.Xb(a.c=a.b++),140)).c,n.d,e),CO(a.b>0),a.a.Xb(a.c=--a.b),JD(a,r),CO(a.b<a.d.gc()),a.d.Xb(a.c=a.b++),r.a=!1,n=i}function _dt(t){var e,n,i,r,a;for(i=VP(Ost(t,(Lkt(),JWt)),11),a=new wd(t.j);a.a<a.c.c.length;){for(n=new wd((r=VP(qU(a),11)).g);n.a<n.c.c.length;)return XZ(VP(qU(n),17),i),r;for(e=new wd(r.e);e.a<e.c.c.length;)return VZ(VP(qU(e),17),i),r}return null}function Edt(t){var e,n;for(n=0;n<t.c.length&&!(iF((OU(n,t.c.length),VP(t.c[n],113)))>0);n++);if(n>0&&n<t.c.length-1)return n;for(e=0;e<t.c.length&&!(iF((OU(e,t.c.length),VP(t.c[e],113)))>0);e++);return e>0&&n<t.c.length-1?e:t.c.length/2|0}function Tdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=6&&e){if(oat(t,e))throw lw(new Xm(INt+Cht(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Qrt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=vnt(e,t,6,i)),(i=OD(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,6,e,e))}function Cdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(oat(t,e))throw lw(new Xm(INt+ubt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?tat(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=vnt(e,t,9,i)),(i=DD(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,9,e,e))}function Sdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(oat(t,e))throw lw(new Xm(INt+gmt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?cat(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=vnt(e,t,12,i)),(i=LD(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,3,e,e))}function Adt(t){var e,n,i,r,a;if(i=fat(t),null==(a=t.j)&&i)return t.$j()?null:i.zj();if(MI(i,148)){if((n=i.Aj())&&(r=n.Nh())!=t.i){if((e=VP(i,148)).Ej())try{t.g=r.Kh(e,a)}catch(e){if(!MI(e=k4(e),78))throw lw(e);t.g=null}t.i=r}return t.g}return null}function Mdt(t){var e;return nB(e=new iw,new JE(new XC(t.c,t.d),new XC(t.c+t.b,t.d))),nB(e,new JE(new XC(t.c,t.d),new XC(t.c,t.d+t.a))),nB(e,new JE(new XC(t.c+t.b,t.d+t.a),new XC(t.c+t.b,t.d))),nB(e,new JE(new XC(t.c+t.b,t.d+t.a),new XC(t.c,t.d+t.a))),e}function Idt(t,e,n,i){var r,a,o;if(o=Hat(e,n),i.c[i.c.length]=e,-1==t.j[o.p]||2==t.j[o.p]||t.a[e.p])return i;for(t.j[o.p]=-1,a=new O$(dL(o9(o).a.Kc(),new l));Xht(a);)if(!JK(r=VP(xW(a),17))&&(JK(r)||r.c.i.c!=r.d.i.c)&&r!=e)return Idt(t,r,o,i);return i}function Ldt(t,e,n){var i,r;for(r=e.a.ec().Kc();r.Ob();)i=VP(r.Pb(),79),!VP(zR(t.b,i),266)&&(AZ(jst(i))==AZ(qst(i))?Wgt(t,i,n):jst(i)==AZ(qst(i))?null==zR(t.c,i)&&null!=zR(t.b,qst(i))&&Uvt(t,i,n,!1):null==zR(t.d,i)&&null!=zR(t.b,jst(i))&&Uvt(t,i,n,!0))}function Odt(t,e){var n,i,r,a,o,s,c;for(r=t.Kc();r.Ob();)for(i=VP(r.Pb(),10),JZ(s=new Mct,i),plt(s,(Mxt(),_ie)),d5(s,(Lkt(),FXt),(EL(),!0)),o=e.Kc();o.Ob();)a=VP(o.Pb(),10),JZ(c=new Mct,a),plt(c,Hie),d5(c,FXt,!0),d5(n=new kH,FXt,!0),VZ(n,s),XZ(n,c)}function Ddt(t,e,n,i){var r,a,o,s;r=ztt(t,e,n),a=ztt(t,n,e),o=VP(zR(t.c,e),112),s=VP(zR(t.c,n),112),r<a?new gU((iX(),R4t),o,s,a-r):a<r?new gU((iX(),R4t),s,o,r-a):(0!=r||e.i&&n.i&&i[e.i.c][n.i.c])&&(new gU((iX(),R4t),o,s,0),new gU(R4t,s,o,0))}function Ndt(t,e){var n,i,r,a,o,s;for(r=0,o=new wd(e.a);o.a<o.c.c.length;)for(r+=(a=VP(qU(o),10)).o.b+a.d.a+a.d.d+t.e,i=new O$(dL(s9(a).a.Kc(),new l));Xht(i);)(n=VP(xW(i),17)).c.i.k==(gct(),ZUt)&&(r+=(s=VP(Ost(n.c.i,(Lkt(),IXt)),10)).o.b+s.d.a+s.d.d);return r}function Pdt(t,e,n){var i,r,a,o,s,c,u;for(a=new iw,function(t,e,n,i){var r,a,o,s,c,u,l;for(s=-1,l=new wd(t);l.a<l.c.c.length;)(u=VP(qU(l),112)).g=s--,o=r=KF(XY(dq(lq(new CF(null,new NU(u.f,16)),new uo),new lo)).d),c=a=KF(XY(dq(lq(new CF(null,new NU(u.k,16)),new ho),new fo)).d),i||(o=KF(XY(dq(new CF(null,new NU(u.f,16)),new go)).d),c=KF(XY(dq(new CF(null,new NU(u.k,16)),new po)).d)),u.d=o,u.a=r,u.i=c,u.b=a,0==c?WK(n,u,n.c.b,n.c):0==o&&WK(e,u,e.c.b,e.c)}(t,u=new T_,o=new T_,e),function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(m=JP(t),c=new iw,u=(a=t.c.length)-1,l=a+1;0!=m.a.c;){for(;0!=n.b;)CO(0!=n.b),w=VP(WJ(n,n.a.a),112),hZ(m.a,w),w.g=u--,iyt(w,e,n,i);for(;0!=e.b;)CO(0!=e.b),y=VP(WJ(e,e.a.a),112),hZ(m.a,y),y.g=l++,iyt(y,e,n,i);for(s=eEt,p=new ud(new bN(new YL(new cd(m.a).a).b));IE(p.a.a);){if(g=VP(mO(p.a).cd(),112),!i&&g.b>0&&g.a<=0){c.c=WX(G$t,r_t,1,0,5,1),c.c[c.c.length]=g;break}(d=g.i-g.d)>=s&&(d>s&&(c.c=WX(G$t,r_t,1,0,5,1),s=d),c.c[c.c.length]=g)}0!=c.c.length&&(o=VP(EF(c,Gnt(r,c.c.length)),112),hZ(m.a,o),o.g=l++,iyt(o,e,n,i),c.c=WX(G$t,r_t,1,0,5,1))}for(b=t.c.length+1,f=new wd(t);f.a<f.c.c.length;)(h=VP(qU(f),112)).g<a&&(h.g=h.g+b)}(t,u,o,e,n),c=new wd(t);c.a<c.c.c.length;)for(r=new wd((s=VP(qU(c),112)).k);r.a<r.c.c.length;)i=VP(qU(r),129),(!e||i.c==(iX(),j4t))&&s.g>i.b.g&&(a.c[a.c.length]=i);return a}function Bdt(){Bdt=I,V7t=new RC("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),X7t=new RC("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),J7t=new RC("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),Q7t=new RC("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),t8t=new RC("WHOLE_DRAWING",4)}function Fdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=11&&e){if(oat(t,e))throw lw(new Xm(INt+cbt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?uat(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=vnt(e,t,10,i)),(i=yN(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,11,e,e))}function $dt(t,e,n){return cpt(),(!u3(t,e)||!u3(t,n))&&(ext(new XC(t.c,t.d),new XC(t.c+t.b,t.d),e,n)||ext(new XC(t.c+t.b,t.d),new XC(t.c+t.b,t.d+t.a),e,n)||ext(new XC(t.c+t.b,t.d+t.a),new XC(t.c,t.d+t.a),e,n)||ext(new XC(t.c,t.d+t.a),new XC(t.c,t.d),e,n))}function jdt(t,e){var n,i,r,a;if(!t.dc())for(n=0,i=t.gc();n<i;++n)if(null==(a=fD(t.Xb(n)))?null==e:jN(a.substr(0,3),"!##")?null!=e&&(r=e.length,!jN(a.substr(a.length-r,r),e)||a.length!=e.length+3)&&!jN(qFt,e):jN(a,HFt)&&!jN(qFt,e)||jN(a,e))return!0;return!1}function Rdt(){Rdt=I,Z2t=new oC(fAt,0),j2t=new oC("NIKOLOV",1),q2t=new oC("NIKOLOV_PIXEL",2),R2t=new oC("NIKOLOV_IMPROVED",3),z2t=new oC("NIKOLOV_IMPROVED_PIXEL",4),$2t=new oC("DUMMYNODE_PERCENTAGE",5),H2t=new oC("NODECOUNT_PERCENTAGE",6),U2t=new oC("NO_BOUNDARY",7)}function zdt(t,e){var n,i,r,a,o,s;for(n=VP(Ost(e,(Lkt(),cXt)),21),o=VP(jW((dkt(),CUt),n),21),s=VP(jW(OUt,n),21),a=o.Kc();a.Ob();)if(i=VP(a.Pb(),21),!VP(jW(t.b,i),15).dc())return!1;for(r=s.Kc();r.Ob();)if(i=VP(r.Pb(),21),!VP(jW(t.b,i),15).dc())return!1;return!0}function qdt(t,e){var i,r,a,o,s,c,u;if(1==t.a.c.length)return Fct(VP(EF(t.a,0),187),e);for(a=function(t){var e,i,r;for(r=0,i=new wd(t.a);i.a<i.c.c.length;)e=VP(qU(i),187),r=n.Math.max(r,e.g);return r}(t),s=0,c=t.d,r=a,u=t.d,o=(c-r)/2+r;r+1<c;){for(s=0,i=new wd(t.a);i.a<i.c.c.length;)s+=umt(VP(qU(i),187),o,!1).a;s<e?(u=o,c=o):r=o,o=(c-r)/2+r}return u}function Hdt(t){var e,n,i,r,a;for(n=new wd(t.a.a);n.a<n.c.c.length;){for((e=VP(qU(n),307)).j=null,a=e.a.a.ec().Kc();a.Ob();)IA((i=VP(a.Pb(),57)).b),(!e.j||i.d.c<e.j.d.c)&&(e.j=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=VP(r.Pb(),57)).b.a=i.d.c-e.j.d.c,i.b.b=i.d.d-e.j.d.d}return t}function Zdt(t){var e,n,i,r,a;for(n=new wd(t.a.a);n.a<n.c.c.length;){for((e=VP(qU(n),189)).f=null,a=e.a.a.ec().Kc();a.Ob();)IA((i=VP(a.Pb(),81)).e),(!e.f||i.g.c<e.f.g.c)&&(e.f=i);for(r=e.a.a.ec().Kc();r.Ob();)(i=VP(r.Pb(),81)).e.a=i.g.c-e.f.g.c,i.e.b=i.g.d-e.f.g.d}return t}function Udt(){return Dkt(),P4(Zv(kGt,1),K_t,77,0,[mYt,bYt,vYt,BYt,eGt,RYt,sGt,UYt,JYt,LYt,WYt,ZYt,tGt,SYt,uGt,lYt,KYt,iGt,FYt,nGt,hGt,VYt,hYt,QYt,fGt,aGt,lGt,$Yt,EYt,jYt,PYt,cGt,gYt,kYt,qYt,dYt,HYt,DYt,AYt,YYt,IYt,wYt,pYt,NYt,MYt,GYt,oGt,fYt,XYt,OYt,zYt,TYt,_Yt,rGt,xYt,CYt,yYt])}function Ydt(t,e){var n;t.d&&(e.c!=t.e.c||function(t,e){return j4(),t==gUt&&e==pUt||t==gUt&&e==bUt||t==wUt&&e==bUt||t==wUt&&e==pUt}(t.e.b,e.b))&&(nB(t.f,t.d),t.a=t.d.c+t.d.b,t.d=null,t.e=null),function(t){return t==gUt||t==pUt}(e.b)?t.c=e:t.b=e,(e.b==(j4(),gUt)&&!e.a||e.b==pUt&&e.a||e.b==bUt&&e.a||e.b==wUt&&!e.a)&&t.c&&t.b&&(n=new mq(t.a,t.c.d,e.c-t.a,t.b.d-t.c.d),t.d=n,t.e=e)}function Gdt(t){var e;if(lm.call(this),this.i=new ds,this.g=t,this.f=VP(t.e&&t.e(),9).length,0==this.f)throw lw(new Xm("There must be at least one phase in the phase enumeration."));this.c=new aP(e=VP(Lx(this.g),9),VP(nN(e,e.length),9),0),this.a=new hG,this.b=new rw}function Kdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=7&&e){if(oat(t,e))throw lw(new Xm(INt+Vct(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Jrt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=VP(e,49).gh(t,1,Vre,i)),(i=x$(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,7,e,e))}function Wdt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(oat(t,e))throw lw(new Xm(INt+c8(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?nat(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=VP(e,49).gh(t,0,nae,i)),(i=k$(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,3,e,e))}function Xdt(t,e){var n,i,r,a,o,s,c,u,l;return _ht(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?function(t,e){var n,i,r,a,o,s,c,u,l;return a=(n=t.d)+(i=e.d),o=t.e!=e.e?-1:1,2==a?(l=KF(c=n9(ZU(t.a[0],cTt),ZU(e.a[0],cTt))),0==(u=KF(Y$(c,32)))?new gX(o,l):new Mj(o,2,P4(Zv(Kce,1),CEt,25,15,[l,u]))):(V7(t.a,n,e.a,i,r=WX(Kce,CEt,25,a,15,1)),CY(s=new Mj(o,a,r)),s)}(t,e):(u=vW(t,o=(-2&t.d)<<4),l=vW(e,o),i=Eyt(t,mW(u,o)),r=Eyt(e,mW(l,o)),c=Xdt(u,l),n=Xdt(i,r),a=mW(a=Smt(Smt(a=Xdt(Eyt(u,i),Eyt(r,l)),c),n),o),Smt(Smt(c=mW(c,o<<1),a),n))}function Vdt(t,e,n){var i,r,a,o,s;for(o=W7(t,n),s=WX(UUt,kAt,10,e.length,0,1),i=0,a=o.Kc();a.Ob();)tv(lD(Ost(r=VP(a.Pb(),11),(Lkt(),wXt))))&&(s[i++]=VP(Ost(r,$Xt),10));if(i<e.length)throw lw(new Vm("Expected "+e.length+" hierarchical ports, but found only "+i+"."));return s}function Qdt(t,e){var n,i,r,a,o;if((null==t.i&&lyt(t),t.i).length,!t.p){for(o=new x_(1+(3*t.g.i/2|0)),r=new sO(t.g);r.e!=r.i.gc();)i=VP(fnt(r),170),(n=VP(null==(a=i.ne())?Qut(o.f,null,i):r9(o.g,a,i),170))&&(null==a?Qut(o.f,null,n):r9(o.g,a,n));t.p=o}return VP(oZ(t.p,e),170)}function Jdt(t,e,n,i,r){var a,o,s,c;for(function(t,e){(e||null==console.groupCollapsed?null!=console.group?console.group:console.log:console.groupCollapsed).call(console,t)}(i+DH(n,n.$d()),r),ez(e,function(t){var e,n=t.e;return n&&(n.stack||((e=t[cEt])&&0!=e.length?"\t"+e.join("\n\t"):""))}(n)),(a=n.f)&&Jdt(t,e,a,"Caused by: ",!1),null==n.k&&(n.k=WX(gjt,T_t,78,0,0,1)),s=0,c=(o=n.k).length;s<c;++s)Jdt(t,e,o[s],"Suppressed: ",!1);null!=console.groupEnd&&console.groupEnd.call(console)}function tgt(t,e,n,i){var r,a,o,s;for(o=(s=e.e).length,a=e.q._f(s,n?0:o-1,n),a|=Ypt(t,s[n?0:o-1],n,i),r=n?1:o-2;n?r<o:r>=0;r+=n?1:-1)a|=e.c.Sf(s,r,n,i&&!tv(lD(Ost(e.j,(Lkt(),dXt))))&&!tv(lD(Ost(e.j,(Lkt(),ZXt))))),a|=e.q._f(s,r,n),a|=Ypt(t,s[r],n,i);return jj(t.c,e),a}function egt(t,e,n){var i,r,a,o,s,c,u,l;for(u=0,l=(c=eG(t.j)).length;u<l;++u){if(s=c[u],n==(l0(),i3t)||n==a3t)for(a=0,o=(r=MY(s.g)).length;a<o;++a)Lct(e,i=r[a])&&vyt(i,!0);if(n==r3t||n==a3t)for(a=0,o=(r=MY(s.e)).length;a<o;++a)Ict(e,i=r[a])&&vyt(i,!0)}}function ngt(t){var e,n;switch(e=null,n=null,function(t){var e,n,i,r,a;for(a=R$(t.k),Mxt(),i=0,r=(n=P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length;i<r;++i)if((e=n[i])!=qie&&!a.Hc(e))return e;return null}(t).g){case 1:Mxt(),e=_ie,n=Hie;break;case 2:Mxt(),e=zie,n=Eie;break;case 3:Mxt(),e=Hie,n=_ie;break;case 4:Mxt(),e=Eie,n=zie}Df(t,VP(HL(V$(VP(jW(t.k,e),15).Oc(),hKt)),113)),Of(t,VP(HL(X$(VP(jW(t.k,n),15).Oc(),hKt)),113))}function igt(t){var e,n,i,r,a,o;if((r=VP(EF(t.j,0),11)).e.c.length+r.g.c.length==0)t.n.a=0;else{for(o=0,i=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(r),new dg(r)])));Xht(i);)o+=(n=VP(xW(i),11)).i.n.a+n.n.a+n.a.a;a=(e=VP(Ost(t,(wkt(),p0t)),8))?e.a:0,t.n.a=o/(r.e.c.length+r.g.c.length)-a}}function rgt(t,e){var n,i,r;for(i=new wd(e.a);i.a<i.c.c.length;)n=VP(qU(i),221),u$(VP(n.b,65),vN(pI(VP(e.b,65).c),VP(e.b,65).a)),(r=Awt(VP(e.b,65).b,VP(n.b,65).b))>1&&(t.a=!0),l$(VP(n.b,65),mN(pI(VP(e.b,65).c),$I(vN(pI(VP(n.b,65).a),VP(e.b,65).a),r))),mU(t,e),rgt(t,n)}function agt(t){var e,n,i,r,a,o;for(r=new wd(t.a.a);r.a<r.c.c.length;)(n=VP(qU(r),189)).e=0,n.d.a.$b();for(i=new wd(t.a.a);i.a<i.c.c.length;)for(e=(n=VP(qU(i),189)).a.a.ec().Kc();e.Ob();)for(o=VP(e.Pb(),81).f.Kc();o.Ob();)(a=VP(o.Pb(),81)).d!=n&&(jj(n.d,a),++a.d.e)}function ogt(t){var e,n,i,r,a,o,s,c;for(n=0,e=c=t.j.c.length,r=2*c,s=new wd(t.j);s.a<s.c.c.length;)switch((o=VP(qU(s),11)).j.g){case 2:case 4:o.p=-1;break;case 1:case 3:i=o.e.c.length,a=o.g.c.length,o.p=i>0&&a>0?e++:i>0?n++:a>0?r++:n++}Gq(),QM(t.j,new di)}function sgt(t,e){var n,i,r,a,o,s,c,u,l;for(s=e.j,o=e.g,c=VP(EF(s,s.c.length-1),113),OU(0,s.c.length),u=lrt(t,o,c,l=VP(s.c[0],113)),a=1;a<s.c.length;a++)OU(a-1,s.c.length),n=VP(s.c[a-1],113),OU(a,s.c.length),(i=lrt(t,o,n,r=VP(s.c[a],113)))>u&&(c=n,l=r,u=i);e.a=l,e.c=c}function cgt(t){if(!t.a.d||!t.a.e)throw lw(new Vm((uD(iqt),iqt.k+" must have a source and target "+(uD(rqt),rqt.k+" specified."))));if(t.a.d==t.a.e)throw lw(new Vm("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return KL(t.a.d.g,t.a),KL(t.a.e.b,t.a),t.a}function ugt(t,e,n){var i,r,a,o,s,c;if(i=0,0!=e.b&&0!=n.b){a=tnt(e,0),o=tnt(n,0),s=ev(hD(AG(a))),c=ev(hD(AG(o))),r=!0;do{if(s>c-t.b&&s<c+t.b)return-1;s>c-t.a&&s<c+t.a&&++i,s<=c&&a.b!=a.d.c?s=ev(hD(AG(a))):c<=s&&o.b!=o.d.c?c=ev(hD(AG(o))):r=!1}while(r)}return i}function lgt(t){var e;for(e=new O$(dL(c9(t).a.Kc(),new l));Xht(e);)if(VP(xW(e),17).d.i.k!=(gct(),zUt))throw lw(new fv(HAt+xrt(t)+"' has its layer constraint set to LAST, but has at least one outgoing edge that does not go to a LAST_SEPARATE node. That must not happen."))}function hgt(t,e,i,r){var a,o,s,c,u,h,f;for(c=0,u=new wd(t.a);u.a<u.c.c.length;){for(s=0,o=new O$(dL(s9(VP(qU(u),10)).a.Kc(),new l));Xht(o);)h=BU((a=VP(xW(o),17)).c).b,f=BU(a.d).b,s=n.Math.max(s,n.Math.abs(f-h));c=n.Math.max(c,s)}return r*n.Math.min(1,e/i)*c}function fgt(t){var e;return e=new Iv,0!=(256&t)&&(e.a+="F"),0!=(128&t)&&(e.a+="H"),0!=(512&t)&&(e.a+="X"),0!=(2&t)&&(e.a+="i"),0!=(8&t)&&(e.a+="m"),0!=(4&t)&&(e.a+="s"),0!=(32&t)&&(e.a+="u"),0!=(64&t)&&(e.a+="w"),0!=(16&t)&&(e.a+="x"),0!=(t&FNt)&&(e.a+=","),iv(e.a)}function dgt(t,e){var i,r,a;for(ast(e,"Resize child graph to fit parent.",1),r=new wd(t.b);r.a<r.c.c.length;)i=VP(qU(r),29),C4(t.a,i.a),i.a.c=WX(G$t,r_t,1,0,5,1);for(a=new wd(t.a);a.a<a.c.c.length;)QZ(VP(qU(a),10),null);t.b.c=WX(G$t,r_t,1,0,5,1),function(t){var e,i,r,a,o;a=VP(Ost(t,(wkt(),e0t)),21),o=VP(Ost(t,r0t),21),e=new hM(i=new XC(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a)),a.Hc((Ltt(),Vie))&&(r=VP(Ost(t,i0t),8),o.Hc((Xbt(),are))&&(r.a<=0&&(r.a=20),r.b<=0&&(r.b=20)),e.a=n.Math.max(i.a,r.a),e.b=n.Math.max(i.b,r.b)),function(t,e,n){var i,r,a,o,s;if(i=VP(Ost(t,(wkt(),WJt)),21),n.a>e.a&&(i.Hc((bot(),ute))?t.c.a+=(n.a-e.a)/2:i.Hc(hte)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((bot(),dte))?t.c.b+=(n.b-e.b)/2:i.Hc(fte)&&(t.c.b+=n.b-e.b)),VP(Ost(t,(Lkt(),gXt)),21).Hc((ipt(),SWt))&&(n.a>e.a||n.b>e.b))for(o=new wd(t.a);o.a<o.c.c.length;)(a=VP(qU(o),10)).k==(gct(),RUt)&&((r=VP(Ost(a,hXt),61))==(Mxt(),_ie)?a.n.a+=n.a-e.a:r==zie&&(a.n.b+=n.b-e.b));s=t.d,t.f.a=n.a-s.b-s.c,t.f.b=n.b-s.d-s.a}(t,i,e)}(t),t.e&&function(t,e){var n,i,r,a,o,s;for(r=new wd(e.a);r.a<r.c.c.length;)MI(a=Ost(i=VP(qU(r),10),(Lkt(),IXt)),11)&&(s=Kwt(e,i,(o=VP(a,11)).o.a,o.o.b),o.n.a=s.a,o.n.b=s.b,plt(o,VP(Ost(i,hXt),61)));n=new XC(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a),VP(Ost(e,(Lkt(),gXt)),21).Hc((ipt(),SWt))?(d5(t,(wkt(),w0t),($ot(),cie)),VP(Ost(pz(t),gXt),21).Fc(IWt),mvt(t,n,!1)):mvt(t,n,!0)}(t.e,t),$ct(e)}function ggt(t){var e,n,i,r,a,o,s;if(r=(i=t.b).e,a=UN(VP(Ost(i,(wkt(),w0t)),98)),n=!!r&&VP(Ost(r,(Lkt(),gXt)),21).Hc((ipt(),SWt)),!a&&!n)for(s=new sd(new Jf(t.e).a.vc().Kc());s.a.Ob();)e=VP(s.a.Pb(),42),(o=VP(e.dd(),113)).a&&(JZ(o.d,null),o.c=!0,t.a=!0)}function pgt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(h=-1,f=0,u=0,l=(c=t).length;u<l;++u){for(o=0,s=(a=c[u]).length;o<s;++o)for(r=a[o],e=new PT(-1==h?t[0]:t[h],Vrt(r)),n=0;n<r.j.c.length;n++)for(i=n+1;i<r.j.c.length;i++)tj(e,VP(EF(r.j,n),11),VP(EF(r.j,i),11))>0&&++f;++h}return f}function bgt(t,e){var n,i,r,a;return EE(),e?e==(svt(),Jse)||(e==Pse||e==Dse||e==Nse)&&t!=Ose?new xxt(t,e):((n=(i=VP(e,677)).pk())||(tq(SQ((put(),gse),e)),n=i.pk()),!n.i&&(n.i=new rw),!(r=VP(nA(BH((a=n.i).f,t)),1942))&&Pz(a,t,r=new xxt(t,e)),r):xse}function wgt(t,e){var n,i,r,a,o,s,c,u;for(s=VP(Ost(t,(Lkt(),IXt)),11),c=O5(P4(Zv(q9t,1),T_t,8,0,[s.i.n,s.n,s.a])).a,u=t.i.n.b,r=0,a=(i=MY(t.e)).length;r<a;++r)XZ(n=i[r],s),_A(n.a,new XC(c,u)),e&&((o=VP(Ost(n,(wkt(),D1t)),74))||(o=new Ny,d5(n,D1t,o)),$B(o,new XC(c,u)))}function ygt(t,e){var n,i,r,a,o,s,c,u;for(i=VP(Ost(t,(Lkt(),IXt)),11),c=O5(P4(Zv(q9t,1),T_t,8,0,[i.i.n,i.n,i.a])).a,u=t.i.n.b,o=0,s=(a=MY(t.g)).length;o<s;++o)VZ(r=a[o],i),kA(r.a,new XC(c,u)),e&&((n=VP(Ost(r,(wkt(),D1t)),74))||(n=new Ny,d5(r,D1t,n)),$B(n,new XC(c,u)))}function mgt(t,e){var n,i,r,a,o;for(t.b=new iw,t.d=VP(Ost(e,(Lkt(),zXt)),230),t.e=function(t){return e9(Z$(B3(Kft(t,32)),32),B3(Kft(t,32)))}(t.d),a=new T_,r=BW(P4(Zv(FUt,1),gAt,37,0,[e])),o=0;o<r.c.length;)OU(o,r.c.length),(i=VP(r.c[o],37)).p=o++,C4(r,(n=new Ivt(i,t.a,t.b)).b),nB(t.b,n),n.s&&cR(tnt(a,0),n);return t.c=new Xw,a}function vgt(t){var e,n;n=VP(Ost(t,(wkt(),B1t)),163),e=VP(Ost(t,(Lkt(),yXt)),303),n==(p9(),eVt)?(d5(t,B1t,rVt),d5(t,yXt,(LQ(),HWt))):n==iVt?(d5(t,B1t,rVt),d5(t,yXt,(LQ(),zWt))):e==(LQ(),HWt)?(d5(t,B1t,eVt),d5(t,yXt,qWt)):e==zWt&&(d5(t,B1t,iVt),d5(t,yXt,qWt))}function xgt(){xgt=I,F4t=new co,D4t=cF(new hG,(Dst(),tUt),(Dkt(),FYt)),B4t=v$(cF(new hG,tUt,VYt),nUt,XYt),$4t=det(det(dE(v$(cF(new hG,QZt,sGt),nUt,oGt),eUt),aGt),cGt),N4t=v$(cF(cF(cF(new hG,JZt,RYt),eUt,qYt),eUt,HYt),nUt,zYt),P4t=v$(cF(cF(new hG,eUt,HYt),eUt,kYt),nUt,xYt)}function kgt(){kgt=I,H4t=cF(v$(new hG,(Dst(),nUt),(Dkt(),TYt)),tUt,FYt),G4t=det(det(dE(v$(cF(new hG,QZt,sGt),nUt,oGt),eUt),aGt),cGt),Z4t=v$(cF(cF(cF(new hG,JZt,RYt),eUt,qYt),eUt,HYt),nUt,zYt),Y4t=cF(cF(new hG,tUt,VYt),nUt,XYt),U4t=v$(cF(cF(new hG,eUt,HYt),eUt,kYt),nUt,xYt)}function _gt(t,e,n,i,r){var a,o;(JK(e)||e.c.i.c!=e.d.i.c)&&K0(O5(P4(Zv(q9t,1),T_t,8,0,[r.i.n,r.n,r.a])),n)||JK(e)||(e.c==r?LO(e.a,0,new hM(n)):$B(e.a,new hM(n)),i&&!b_(t.a,n)&&((o=VP(Ost(e,(wkt(),D1t)),74))||(o=new Ny,d5(e,D1t,o)),WK(o,a=new hM(n),o.c.b,o.c),jj(t.a,a)))}function Egt(t){var e;for(e=new O$(dL(s9(t).a.Kc(),new l));Xht(e);)if(VP(xW(e),17).c.i.k!=(gct(),zUt))throw lw(new fv(HAt+xrt(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function Tgt(t,e,i){var r,a,o,s;for(this.b=new iw,a=0,r=0,s=new wd(t);s.a<s.c.c.length;)o=VP(qU(s),167),i&&Kyt(o),nB(this.b,o),a+=o.o,r+=o.p;this.b.c.length>0&&(a+=(o=VP(EF(this.b,0),167)).o,r+=o.p),a*=2,r*=2,e>1?a=cZ(n.Math.ceil(a*e)):r=cZ(n.Math.ceil(r/e)),this.a=new ltt(a,r)}function Cgt(t,e,i,r,a,o){var s,c,u,l,h,f,d,g,p,b;for(l=r,e.j&&e.o?(p=(d=VP(zR(t.f,e.A),57)).d.c+d.d.b,--l):p=e.a.c+e.a.b,h=a,i.q&&i.o?(u=(d=VP(zR(t.f,i.C),57)).d.c,++h):u=i.a.c,g=p+(c=(u-p)/n.Math.max(2,h-l)),f=l;f<h;++f)b=(s=VP(o.Xb(f),128)).a.b,s.a.c=g-b/2,g+=c}function Sgt(t,e,n,i,r,a){var o,s,c,u,l,h;for(u=n.c.length,a&&(t.c=WX(Kce,CEt,25,e.length,15,1)),o=r?0:e.length-1;r?o<e.length:o>=0;o+=r?1:-1){for(s=e[o],c=i==(Mxt(),_ie)?r?i9(s,i):A3(i9(s,i)):r?A3(i9(s,i)):i9(s,i),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)l=VP(h.Pb(),11),t.d[l.p]=u++;C4(n,c)}}function Agt(t,e,n){var i,r,a,o,s,c,u,l;for(a=ev(hD(t.b.Kc().Pb())),u=ev(hD(function(t){var e;if(t){if((e=t).dc())throw lw(new $w);return e.Xb(e.gc()-1)}return AU(t.Kc())}(e.b))),i=$I(pI(t.a),u-n),r=$I(pI(e.a),n-a),$I(l=mN(i,r),1/(u-a)),this.a=l,this.b=new iw,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=ev(hD(o.Pb())),s&&c-n>QLt&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function Mgt(t){var e,i,r,a;if(function(t,e){var i,r,a,o,s,c,u;for(a=WX(Kce,CEt,25,t.e.a.c.length,15,1),s=new wd(t.e.a);s.a<s.c.c.length;)a[(o=VP(qU(s),121)).d]+=o.b.a.c.length;for(c=tB(e);0!=c.b;)for(r=SV(new wd((o=VP(0==c.b?null:(CO(0!=c.b),WJ(c,c.a.a)),121)).g.a));r.Ob();)(u=(i=VP(r.Pb(),213)).e).e=n.Math.max(u.e,o.e+i.a),--a[u.d],0==a[u.d]&&WK(c,u,c.c.b,c.c)}(t,t.n),t.d.c.length>0){for(cv(t.c);Qht(t,VP(qU(new wd(t.e.a)),121))<t.e.a.c.length;){for(a=(e=Drt(t)).e.e-e.d.e-e.a,e.e.j&&(a=-a),r=new wd(t.e.a);r.a<r.c.c.length;)(i=VP(qU(r),121)).j&&(i.e+=a);cv(t.c)}cv(t.c),Dlt(t,VP(qU(new wd(t.e.a)),121)),vvt(t)}}function Igt(t,e){if(e instanceof Object)try{if(e.__java$exception=t,-1!=navigator.userAgent.toLowerCase().indexOf("msie")&&$doc.documentMode<9)return;var n=t;Object.defineProperties(e,{cause:{get:function(){var t=n.Zd();return t&&t.Xd()}},suppressed:{get:function(){return n.Yd()}}})}catch(t){}}function Lgt(t,e){var n,i,r,a,o;if(i=e>>5,e&=31,i>=t.d)return t.e<0?(gpt(),dRt):(gpt(),yRt);if(a=t.d-i,function(t,e,n,i,r){var a,o,s;for(a=!0,o=0;o<i;o++)a&=0==n[o];if(0==r)lmt(n,i,t,0,e),o=e;else{for(s=32-r,a&=n[o]<<s==0,o=0;o<e-1;o++)t[o]=n[o+i]>>>r|n[o+i+1]<<s;t[o]=n[o+i]>>>r,++o}}(r=WX(Kce,CEt,25,a+1,15,1),a,t.a,i,e),t.e<0){for(n=0;n<i&&0==t.a[n];n++);if(n<i||e>0&&t.a[n]<<32-e!=0){for(n=0;n<a&&-1==r[n];n++)r[n]=0;n==a&&++a,++r[n]}}return CY(o=new Mj(t.e,a,r)),o}function Ogt(t){var e,n,i,r;return n=new eg(r=EZ(t)),i=new ng(r),C4(e=new iw,(!t.d&&(t.d=new LN(tae,t,8,5)),t.d)),C4(e,(!t.e&&(t.e=new LN(tae,t,7,4)),t.e)),VP(xK(hq(lq(new CF(null,new NU(e,16)),n),i),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[(M6(),czt),szt]))),21)}function Dgt(t,e,n,i){var r,a,o,s,c;if(EE(),s=VP(e,66).Oj(),Ngt(t.e,e)){if(e.hi()&&fyt(t,e,i,MI(e,99)&&0!=(VP(e,18).Bb&iTt)))throw lw(new Xm(kPt))}else for(c=bgt(t.e.Tg(),e),r=VP(t.g,119),o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak()))throw lw(new Xm(UFt));v8(t,fut(t,e,n),s?VP(i,72):WG(e,i))}function Ngt(t,e){var n,i,r;return EE(),!!e.$j()||-2==e.Zj()&&(e==(bht(),Sse)||e==Ese||e==Tse||e==Cse||!(ett(r=t.Tg(),e)>=0)&&(!(n=rvt((put(),gse),r,e))||((i=n.Zj())>1||-1==i)&&3!=Ez(SQ(gse,n))))}function Pgt(t,e,n,i){var r,a,o,s,c;return s=rst(VP(a1((!e.b&&(e.b=new LN(Jre,e,4,7)),e.b),0),82)),c=rst(VP(a1((!e.c&&(e.c=new LN(Jre,e,5,8)),e.c),0),82)),AZ(s)==AZ(c)||GJ(c,s)?null:(o=_Z(e))==n?i:(a=VP(zR(t.a,o),10))&&(r=a.e)?r:null}function Bgt(t,e,n){var i,r,a,o,s;if((a=t[function(t,e){return t?e-1:0}(n,t.length)])[0].k==(gct(),RUt))for(r=Jv(n,a.length),s=e.j,i=0;i<s.c.length;i++)OU(i,s.c.length),o=VP(s.c[i],11),(n?o.j==(Mxt(),_ie):o.j==(Mxt(),Hie))&&tv(lD(Ost(o,(Lkt(),wXt))))&&(XK(s,i,VP(Ost(a[r],(Lkt(),IXt)),11)),r+=n?1:-1)}function Fgt(t,e){var n,i,r,a,o;o=new iw,n=e;do{(a=VP(zR(t.b,n),128)).B=n.c,a.D=n.d,o.c[o.c.length]=a,n=VP(zR(t.k,n),17)}while(n);return OU(0,o.c.length),(i=VP(o.c[0],128)).j=!0,i.A=VP(i.d.a.ec().Kc().Pb(),17).c.i,(r=VP(EF(o,o.c.length-1),128)).q=!0,r.C=VP(r.d.a.ec().Kc().Pb(),17).d.i,o}function $gt(t){if(null==t.g)switch(t.p){case 0:t.g=function(t){if(0!=t.p)throw lw(new Dw);return lA(t.f,0)}(t)?(EL(),Njt):(EL(),Djt);break;case 1:t.g=iJ(function(t){if(1!=t.p)throw lw(new Dw);return KF(t.f)<<24>>24}(t));break;case 2:t.g=x4(function(t){if(2!=t.p)throw lw(new Dw);return KF(t.f)&fEt}(t));break;case 3:t.g=function(t){if(3!=t.p)throw lw(new Dw);return t.e}(t);break;case 4:t.g=new id(function(t){if(4!=t.p)throw lw(new Dw);return t.e}(t));break;case 6:t.g=xet(function(t){if(6!=t.p)throw lw(new Dw);return t.f}(t));break;case 5:t.g=p8(function(t){if(5!=t.p)throw lw(new Dw);return KF(t.f)}(t));break;case 7:t.g=b8(function(t){if(7!=t.p)throw lw(new Dw);return KF(t.f)<<16>>16}(t))}return t.g}function jgt(t){if(null==t.n)switch(t.p){case 0:t.n=function(t){if(0!=t.p)throw lw(new Dw);return lA(t.k,0)}(t)?(EL(),Njt):(EL(),Djt);break;case 1:t.n=iJ(function(t){if(1!=t.p)throw lw(new Dw);return KF(t.k)<<24>>24}(t));break;case 2:t.n=x4(function(t){if(2!=t.p)throw lw(new Dw);return KF(t.k)&fEt}(t));break;case 3:t.n=function(t){if(3!=t.p)throw lw(new Dw);return t.j}(t);break;case 4:t.n=new id(function(t){if(4!=t.p)throw lw(new Dw);return t.j}(t));break;case 6:t.n=xet(function(t){if(6!=t.p)throw lw(new Dw);return t.k}(t));break;case 5:t.n=p8(function(t){if(5!=t.p)throw lw(new Dw);return KF(t.k)}(t));break;case 7:t.n=b8(function(t){if(7!=t.p)throw lw(new Dw);return KF(t.k)<<16>>16}(t))}return t.n}function Rgt(t){var e,n,i,r,a,o;for(r=new wd(t.a.a);r.a<r.c.c.length;)(n=VP(qU(r),307)).g=0,n.i=0,n.e.a.$b();for(i=new wd(t.a.a);i.a<i.c.c.length;)for(e=(n=VP(qU(i),307)).a.a.ec().Kc();e.Ob();)for(o=VP(e.Pb(),57).c.Kc();o.Ob();)(a=VP(o.Pb(),57)).a!=n&&(jj(n.e,a),++a.a.g,++a.a.i)}function zgt(t,e){var n,i,r,a,o,s,c,u;r=e?new wa:new ya,a=!1;do{for(a=!1,o=(e?A3(t.b):t.b).Kc();o.Ob();)for(u=GU(VP(o.Pb(),29).a),e||new Em(u),c=new wd(u);c.a<c.c.c.length;)s=VP(qU(c),10),r.Mb(s)&&(i=s,n=VP(Ost(s,(Lkt(),QWt)),305),a=Npt(i,e?n.b:n.k,e,!1))}while(a)}function qgt(t,e){var i,r,a,o,s,c;return o=t.d,(c=ev(hD(Ost(t,(wkt(),x1t)))))<0&&d5(t,x1t,c=0),e.o.b=c,s=n.Math.floor(c/2),plt(r=new Mct,(Mxt(),Hie)),JZ(r,e),r.n.b=s,plt(a=new Mct,_ie),JZ(a,e),a.n.b=s,XZ(t,r),c4(i=new kH,t),d5(i,D1t,null),VZ(i,a),XZ(i,o),function(t,e,n){var i,r;i=e.c.i,r=n.d.i,i.k==(gct(),qUt)?(d5(t,(Lkt(),TXt),VP(Ost(i,TXt),11)),d5(t,CXt,VP(Ost(i,CXt),11)),d5(t,EXt,lD(Ost(i,EXt)))):i.k==zUt?(d5(t,(Lkt(),TXt),VP(Ost(i,TXt),11)),d5(t,CXt,VP(Ost(i,CXt),11)),d5(t,EXt,(EL(),!0))):r.k==zUt?(d5(t,(Lkt(),TXt),VP(Ost(r,TXt),11)),d5(t,CXt,VP(Ost(r,CXt),11)),d5(t,EXt,(EL(),!0))):(d5(t,(Lkt(),TXt),e.c),d5(t,CXt,n.d))}(e,t,i),function(t,e){var n,i;for(i=new QY(t.b,0);i.b<i.d.gc();)CO(i.b<i.d.gc()),n=VP(i.d.Xb(i.c=i.b++),70),VP(Ost(n,(wkt(),f1t)),272)==(JJ(),sne)&&(lz(i),nB(e.b,n),IO(n,(Lkt(),sXt))||d5(n,sXt,t))}(t,i),i}function Hgt(t,e,n,i){var r,a;return e?0==(r=t.a.ue(n.d,e.d))?(i.d=VD(e,n.e),i.b=!0,e):(a=r<0?0:1,e.a[a]=Hgt(t,e.a[a],n,i),av(e.a[a])&&(av(e.a[1-a])?(e.b=!0,e.a[0].b=!1,e.a[1].b=!1):av(e.a[a].a[a])?e=a2(e,1-a):av(e.a[a].a[1-a])&&(e=DY(e,1-a))),e):n}function Zgt(t,e,i){var r,a,o,s;a=t.i,r=t.n,CW(t,(QJ(),aqt),a.c+r.b,i),CW(t,sqt,a.c+a.b-r.c-i[2],i),s=a.b-r.b-r.c,i[0]>0&&(i[0]+=t.d,s-=i[0]),i[2]>0&&(i[2]+=t.d,s-=i[2]),o=n.Math.max(0,s),i[1]=n.Math.max(i[1],s),CW(t,oqt,a.c+r.b+i[0]-(i[1]-s)/2,i),e==oqt&&(t.c.b=o,t.c.c=a.c+r.b+(o-s)/2)}function Ugt(){this.c=WX(Qce,aTt,25,(Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])).length,15,1),this.b=WX(Qce,aTt,25,P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie]).length,15,1),this.a=WX(Qce,aTt,25,P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie]).length,15,1),qE(this.c,JEt),qE(this.b,tTt),qE(this.a,tTt)}function Ygt(t,e,n){var i,r,a,o;if(e<=n?(r=e,a=n):(r=n,a=e),i=0,null==t.b)t.b=WX(Kce,CEt,25,2,15,1),t.b[0]=r,t.b[1]=a,t.c=!0;else{if(i=t.b.length,t.b[i-1]+1==r)return void(t.b[i-1]=a);o=WX(Kce,CEt,25,i+2,15,1),lmt(t.b,0,o,0,i),t.b=o,t.b[i-1]>=r&&(t.c=!1,t.a=!1),t.b[i++]=r,t.b[i]=a,t.c||Bft(t)}}function Ggt(t,e,n){var i,r,a,o,s,c;if(!TG(e)){for(ast(c=Q2(n,(MI(e,14)?VP(e,14).gc():RG(e.Kc()))/t.a|0),sOt,1),s=new Io,o=0,a=e.Kc();a.Ob();)i=VP(a.Pb(),86),s=t0(P4(Zv(V$t,1),r_t,20,0,[s,new Bp(i)])),o<i.f.b&&(o=i.f.b);for(r=e.Kc();r.Ob();)d5(i=VP(r.Pb(),86),(avt(),k5t),o);$ct(c),Ggt(t,s,n)}}function Kgt(t,e){var i,r,a,o,s,c,u;for(i=tTt,gct(),c=HUt,a=new wd(e.a);a.a<a.c.c.length;)(o=(r=VP(qU(a),10)).k)!=HUt&&(null==(s=hD(Ost(r,(Lkt(),OXt))))?(i=n.Math.max(i,0),r.n.b=i+QL(t.a,o,c)):r.n.b=(yz(s),s)),u=QL(t.a,o,c),r.n.b<i+u+r.d.d&&(r.n.b=i+u+r.d.d),i=r.n.b+r.o.b+r.d.a,c=o}function Wgt(t,e,n){var i,r,a;for(c4(a=new ift(xkt(jct(Qgt(e,!1,!1)),ev(hD(_ft(e,(dnt(),OHt))))+t.a)),e),Pz(t.b,e,a),n.c[n.c.length]=a,!e.n&&(e.n=new mj(oae,e,1,7)),r=new YI(e.n);r.e!=r.i.gc();)i=dbt(t,VP(hnt(r),137),!0,0,0),n.c[n.c.length]=i;return a}function Xgt(t,e,n,i,r){var a,o,s;if(t.d&&t.d.lg(r),uit(t,n,VP(r.Xb(0),33),!1))return!0;if(uit(t,i,VP(r.Xb(r.gc()-1),33),!0))return!0;if(Yst(t,r))return!0;for(s=r.Kc();s.Ob();)for(o=VP(s.Pb(),33),a=e.Kc();a.Ob();)if(_pt(t,o,VP(a.Pb(),33)))return!0;return!1}function Vgt(t,e,n,i){var r,a,o,s;for(r=VP(Dct(e,(Mxt(),Hie)).Kc().Pb(),11),a=VP(Dct(e,_ie).Kc().Pb(),11),s=new wd(t.j);s.a<s.c.c.length;){for(o=VP(qU(s),11);0!=o.e.c.length;)XZ(VP(EF(o.e,0),17),r);for(;0!=o.g.c.length;)VZ(VP(EF(o.g,0),17),a)}n||d5(e,(Lkt(),TXt),null),i||d5(e,(Lkt(),CXt),null)}function Qgt(t,e,n){var i,r;if(0==(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i)return W4(t);if(i=VP(a1((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),0),202),e&&(Hmt((!i.a&&(i.a=new GI(Xre,i,5)),i.a)),P1(i,0),F1(i,0),I1(i,0),B1(i,0)),n)for(!t.a&&(t.a=new mj(eae,t,6,6)),r=t.a;r.i>1;)npt(r,r.i-1);return i}function Jgt(t,e){var n,i,r,a,o,s;for(n=new nw,r=new wd(t.b);r.a<r.c.c.length;){for(s=!0,i=0,o=new wd(VP(qU(r),29).a);o.a<o.c.c.length;)switch((a=VP(qU(o),10)).k.g){case 4:++i;case 1:MG(n,a);break;case 0:zut(a,e);default:n.b==n.c||owt(n,i,s,!1,e),s=!1,i=0}n.b==n.c||owt(n,i,s,!0,e)}}function tpt(t,e){var n,i,r,a,o,s;for(n=0,s=new wd(e);s.a<s.c.c.length;){for(o=VP(qU(s),11),F6(t.b,t.d[o.p]),r=new YW(o.b);JM(r.a)||JM(r.b);)(a=ak(t,o==(i=VP(JM(r.a)?qU(r.a):qU(r.b),17)).c?i.d:i.c))>t.d[o.p]&&(n+=UK(t.b,a),IG(t.a,p8(a)));for(;!rv(t.a);)nJ(t.b,VP(Oj(t.a),19).a)}return n}function ept(t,e,n){var i,r,a,o;for(a=(!e.a&&(e.a=new mj(sae,e,10,11)),e.a).i,r=new YI((!e.a&&(e.a=new mj(sae,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=VP(hnt(r),33)).a&&(i.a=new mj(sae,i,10,11)),i.a).i||(a+=ept(t,i,!1));if(n)for(o=AZ(e);o;)a+=(!o.a&&(o.a=new mj(sae,o,10,11)),o.a).i,o=AZ(o);return a}function npt(t,e){var n,i,r,a;return t.ej()?(i=null,r=t.fj(),t.ij()&&(i=t.kj(t.pi(e),null)),n=t.Zi(4,a=Lrt(t,e),null,e,r),t.bj()&&null!=a?(i=t.dj(a,i))?(i.Ei(n),i.Fi()):t.$i(n):i?(i.Ei(n),i.Fi()):t.$i(n),a):(a=Lrt(t,e),t.bj()&&null!=a&&(i=t.dj(a,null))&&i.Fi(),a)}function ipt(){ipt=I,TWt=new VT("COMMENTS",0),SWt=new VT("EXTERNAL_PORTS",1),AWt=new VT("HYPEREDGES",2),MWt=new VT("HYPERNODES",3),IWt=new VT("NON_FREE_PORTS",4),LWt=new VT("NORTH_SOUTH_PORTS",5),DWt=new VT(oMt,6),EWt=new VT("CENTER_LABELS",7),CWt=new VT("END_LABELS",8),OWt=new VT("PARTITIONS",9)}function rpt(t){var e,n,i,r,a;for(r=new iw,e=new xF((!t.a&&(t.a=new mj(sae,t,10,11)),t.a)),i=new O$(dL(ddt(t).a.Kc(),new l));Xht(i);)MI(a1((!(n=VP(xW(i),79)).b&&(n.b=new LN(Jre,n,4,7)),n.b),0),186)||(a=rst(VP(a1((!n.c&&(n.c=new LN(Jre,n,5,8)),n.c),0),82)),e.a._b(a)||(r.c[r.c.length]=a));return r}function apt(t){var e,n,i,r,a;for(r=new Xw,e=new xF((!t.a&&(t.a=new mj(sae,t,10,11)),t.a)),i=new O$(dL(ddt(t).a.Kc(),new l));Xht(i);)MI(a1((!(n=VP(xW(i),79)).b&&(n.b=new LN(Jre,n,4,7)),n.b),0),186)||(a=rst(VP(a1((!n.c&&(n.c=new LN(Jre,n,5,8)),n.c),0),82)),e.a._b(a)||r.a.zc(a,r));return r}function opt(t,e){var i,r,a;AZ(t)&&(a=VP(Ost(e,(wkt(),e0t)),174),iA(_ft(t,w0t))===iA(($ot(),fie))&&Ont(t,w0t,hie),pE(),r=hxt(new Gm(AZ(t)),new nO(AZ(t)?new Gm(AZ(t)):null,t),!1,!0),t2(a,(Ltt(),Vie)),(i=VP(Ost(e,i0t),8)).a=n.Math.max(r.a,i.a),i.b=n.Math.max(r.b,i.b))}function spt(){spt=I,nKt=new xq(PCt,0,(Mxt(),Eie),Eie),aKt=new xq(FCt,1,zie,zie),eKt=new xq(BCt,2,_ie,_ie),cKt=new xq($Ct,3,Hie,Hie),rKt=new xq("NORTH_WEST_CORNER",4,Hie,Eie),iKt=new xq("NORTH_EAST_CORNER",5,Eie,_ie),sKt=new xq("SOUTH_WEST_CORNER",6,zie,Hie),oKt=new xq("SOUTH_EAST_CORNER",7,_ie,zie)}function cpt(){cpt=I,R9t=P4(Zv(Xce,1),nTt,25,14,[1,1,2,6,24,120,720,5040,40320,362880,3628800,39916800,479001600,6227020800,87178291200,1307674368e3,{l:3506176,m:794077,h:1},{l:884736,m:916411,h:20},{l:3342336,m:3912489,h:363},{l:589824,m:3034138,h:6914},{l:3407872,m:1962506,h:138294}]),n.Math.pow(2,-65)}function upt(t,e){var n,i,r,a,o;if(0==t.c.length)return new mS(p8(0),p8(0));for(n=(OU(0,t.c.length),VP(t.c[0],11)).j,o=0,a=e.g,i=e.g+1;o<t.c.length-1&&n.g<a;)n=(OU(++o,t.c.length),VP(t.c[o],11)).j;for(r=o;r<t.c.length-1&&n.g<i;)++r,n=(OU(o,t.c.length),VP(t.c[o],11)).j;return new mS(p8(o),p8(r))}function lpt(t,e,i){var r,a,o,s,c,u,l,h,f,d;for(o=e.c.length,OU(i,e.c.length),c=(s=VP(e.c[i],286)).a.o.a,f=s.c,d=0,l=s.c;l<=s.f;l++){if(c<=t.a[l])return l;for(h=t.a[l],u=null,a=i+1;a<o;a++)OU(a,e.c.length),(r=VP(e.c[a],286)).c<=l&&r.f>=l&&(u=r);u&&(h=n.Math.max(h,u.a.o.a)),h>d&&(f=l,d=h)}return f}function hpt(t,e){var n;switch(n=null,e.g){case 1:t.e.Xe((Ikt(),wee))&&(n=VP(t.e.We(wee),249));break;case 3:t.e.Xe((Ikt(),yee))&&(n=VP(t.e.We(yee),249));break;case 2:t.e.Xe((Ikt(),bee))&&(n=VP(t.e.We(bee),249));break;case 4:t.e.Xe((Ikt(),mee))&&(n=VP(t.e.We(mee),249))}return!n&&(n=VP(t.e.We((Ikt(),gee)),249)),n}function fpt(t,e,n){var i,r,a,o,s,c;for(e.p=1,r=e.c,c=itt(e,(l0(),r3t)).Kc();c.Ob();)for(i=new wd(VP(c.Pb(),11).g);i.a<i.c.c.length;)e!=(s=VP(qU(i),17).d.i)&&s.c.p<=r.p&&((a=r.p+1)==n.b.c.length?((o=new HR(n)).p=a,nB(n.b,o),QZ(s,o)):QZ(s,o=VP(EF(n.b,a),29)),fpt(t,s,n))}function dpt(t,e,i){var r,a,o,s,c,u;for(a=i,o=0,c=new wd(e);c.a<c.c.c.length;)Ont(s=VP(qU(c),33),(Rrt(),K6t),p8(a++)),u=rpt(s),r=n.Math.atan2(s.j+s.f/2,s.i+s.g/2),(r+=r<0?pOt:0)<.7853981633974483||r>DOt?QM(u,t.b):r<=DOt&&r>NOt?QM(u,t.d):r<=NOt&&r>POt?QM(u,t.c):r<=POt&&QM(u,t.a),o=dpt(t,u,o);return a}function gpt(){var t;for(gpt=I,gRt=new gX(1,1),bRt=new gX(1,10),yRt=new gX(0,0),dRt=new gX(-1,1),pRt=P4(Zv(ERt,1),T_t,91,0,[yRt,gRt,new gX(1,2),new gX(1,3),new gX(1,4),new gX(1,5),new gX(1,6),new gX(1,7),new gX(1,8),new gX(1,9),bRt]),wRt=WX(ERt,T_t,91,32,0,1),t=0;t<wRt.length;t++)wRt[t]=Get(Z$(1,t))}function ppt(t,e,n,i,r,a){var o,s,c,u;for(s=!nk(lq(t.Oc(),new Md(new Qn))).sd((q_(),bzt)),o=t,a==(e8(),ine)&&(o=MI(o,152)?FW(VP(o,152)):MI(o,131)?VP(o,131).a:MI(o,54)?new Em(o):new r_(o)),u=o.Kc();u.Ob();)(c=VP(u.Pb(),70)).n.a=e.a,c.n.b=s?e.b+(i.b-c.o.b)/2:r?e.b:e.b+i.b-c.o.b,e.a+=c.o.a+n}function bpt(t,e,n,i){var r,a,o,s,c;for(r=(i.c+i.a)/2,zq(e.j),$B(e.j,r),zq(n.e),$B(n.e,r),c=new Ax,o=new wd(t.f);o.a<o.c.c.length;)Yat(c,e,s=VP(qU(o),129).a),Yat(c,n,s);for(a=new wd(t.k);a.a<a.c.c.length;)Yat(c,e,s=VP(qU(a),129).b),Yat(c,n,s);return c.b+=2,c.a+=Vq(e,t.q),c.a+=Vq(t.q,n),c}function wpt(t,e,n){var i,r,a,o,s;if(!TG(e)){for(ast(s=Q2(n,(MI(e,14)?VP(e,14).gc():RG(e.Kc()))/t.a|0),sOt,1),o=new Oo,a=null,r=e.Kc();r.Ob();)i=VP(r.Pb(),86),o=t0(P4(Zv(V$t,1),r_t,20,0,[o,new Bp(i)])),a&&(d5(a,(avt(),A5t),i),d5(i,v5t,a),nV(i)==nV(a)&&(d5(a,M5t,i),d5(i,x5t,a))),a=i;$ct(s),wpt(t,o,n)}}function ypt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.d,t.f==(IQ(),mqt)?s+=(n.a-t.e.b)/2:t.f==yqt&&(s+=n.a-t.e.b),r=new wd(t.d);r.a<r.c.c.length;){switch(o=(i=VP(qU(r),181)).rf(),(a=new Sx).b=s,s+=o.b+t.a,t.b.g){case 0:a.a=n.c+e.b;break;case 1:a.a=n.c+e.b+(n.b-o.a)/2;break;case 2:a.a=n.c+n.b-e.c-o.a}i.tf(a)}}function mpt(t){var e,n,i,r,a,o,s;for(n=t.i,e=t.n,s=n.c,t.b==(zV(),hqt)?s+=(n.b-t.e.a)/2:t.b==dqt&&(s+=n.b-t.e.a),r=new wd(t.d);r.a<r.c.c.length;){switch(o=(i=VP(qU(r),181)).rf(),(a=new Sx).a=s,s+=o.a+t.a,t.f.g){case 0:a.b=n.d+e.d;break;case 1:a.b=n.d+e.d+(n.a-o.b)/2;break;case 2:a.b=n.d+n.a-e.a-o.b}i.tf(a)}}function vpt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=VP(zR(n.c,e),459)).f,d=a.a,s=new XC(u,f),l=new XC(o,d),r=u,n.p||(r+=t.c),c=new XC(r+=n.F+n.v*t.b,f),h=new XC(r,d),r0(e.a,P4(Zv(q9t,1),T_t,8,0,[s,c])),n.d.a.gc()>1&&(i=new XC(r,n.b),$B(e.a,i)),r0(e.a,P4(Zv(q9t,1),T_t,8,0,[h,l]))}function xpt(t){sE(t,new nst(rx(tx(ix(nx(new bs,eNt),"ELK Randomizer"),'Distributes the nodes randomly on the plane, leading to very obfuscating layouts. Can be useful to demonstrate the power of "real" layout algorithms.'),new Vs))),BY(t,eNt,fSt,Kie),BY(t,eNt,NSt,15),BY(t,eNt,BSt,p8(0)),BY(t,eNt,hSt,LSt)}function kpt(){var t,e,n,i,r,a;for(kpt=I,hce=WX(Vce,NNt,25,255,15,1),fce=WX(Gce,lEt,25,16,15,1),e=0;e<255;e++)hce[e]=-1;for(n=57;n>=48;n--)hce[n]=n-48<<24>>24;for(i=70;i>=65;i--)hce[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)hce[r]=r-97+10<<24>>24;for(a=0;a<10;a++)fce[a]=48+a&fEt;for(t=10;t<=15;t++)fce[t]=65+t-10&fEt}function _pt(t,e,n){var i,r,a,o,s,c,u,l;return s=e.i-t.g/2,c=n.i-t.g/2,u=e.j-t.g/2,l=n.j-t.g/2,a=e.g+t.g/2,o=n.g+t.g/2,i=e.f+t.g/2,r=n.f+t.g/2,s<c+o&&c<s&&u<l+r&&l<u||c<s+a&&s<c&&l<u+i&&u<l||s<c+o&&c<s&&u<l&&l<u+i||c<s+a&&s<c&&u<l+r&&l<u}function Ept(t){var e,n,i,r,a;if(!t.c){if(a=new _c,null==(e=qoe).a.zc(t,e)){for(i=new YI(eK(t));i.e!=i.i.gc();)MI(r=qwt(n=VP(hnt(i),87)),88)&&kR(a,Ept(VP(r,26))),hV(a,n);e.a.Bc(t),e.a.gc()}(function(t){var e,n,i,r;for(n=VP(t.g,674),i=t.i-1;i>=0;--i)for(e=n[i],r=0;r<i;++r)if(Ywt(t,e,n[r])){Lrt(t,i);break}})(a),z6(a),t.c=new qA((VP(a1(oH((VR(),boe).o),15),18),a.i),a.g),dW(t).b&=-33}return t.c}function Tpt(t){var e;if(10!=t.c)throw lw(new gv(jkt((ZM(),OPt))));switch(e=t.a){case 110:e=10;break;case 114:e=13;break;case 116:e=9;break;case 92:case 124:case 46:case 94:case 45:case 63:case 42:case 43:case 123:case 125:case 40:case 41:case 91:case 93:break;default:throw lw(new gv(jkt((ZM(),cBt))))}return e}function Cpt(t){var e,n,i,r;if(0==t.l&&0==t.m&&0==t.h)return"0";if(t.h==ZEt&&0==t.m&&0==t.l)return"-9223372036854775808";if(t.h>>19!=0)return"-"+Cpt(l5(t));for(n=t,i="";0!=n.l||0!=n.m||0!=n.h;){if(n=Jmt(n,bW(GEt),!0),e=""+rk(Ajt),0!=n.l||0!=n.m||0!=n.h)for(r=9-e.length;r>0;r--)e="0"+e;i=e+i}return i}function Spt(t,e,i,r){var a,o,s,c;if(RG((LP(),new O$(dL(o9(e).a.Kc(),new l))))>=t.a)return-1;if(!qot(e,i))return-1;if(TG(VP(r.Kb(e),20)))return 1;for(a=0,s=VP(r.Kb(e),20).Kc();s.Ob();){if(-1==(c=Spt(t,(o=VP(s.Pb(),17)).c.i==e?o.d.i:o.c.i,i,r)))return-1;if((a=n.Math.max(a,c))>t.c-1)return-1}return a+1}function Apt(t,e){var n,i,r,a,o,s;if(iA(e)===iA(t))return!0;if(!MI(e,15))return!1;if(i=VP(e,15),s=t.gc(),i.gc()!=s)return!1;if(o=i.Kc(),t.ni()){for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),null==r?null!=a:!X7(r,a))return!1}else for(n=0;n<s;++n)if(r=t.ki(n),a=o.Pb(),iA(r)!==iA(a))return!1;return!0}function Mpt(t,e){var n,i,r,a,o,s;if(t.f>0)if(t.qj(),null!=e){for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=VP(n.g,367),s=n.i,o=0;o<s;++o)if(X7(e,(r=i[o]).dd()))return!0}else for(a=0;a<t.d.length;++a)if(n=t.d[a])for(i=VP(n.g,367),s=n.i,o=0;o<s;++o)if(r=i[o],iA(e)===iA(r.dd()))return!0;return!1}function Ipt(t,e,i){var r,a,o,s;ast(i,"Orthogonally routing hierarchical port edges",1),t.a=0,function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(i=VP(Ost(t,(wkt(),w0t)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,u=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new iw,f=new iw,a=new wd(e);a.a<a.c.c.length;){switch(r=VP(qU(a),10),i.g){case 1:case 2:case 3:igt(r);break;case 4:g=(d=VP(Ost(r,p0t),8))?d.a:0,r.n.a=c*ev(hD(Ost(r,(Lkt(),jXt))))-g,d4(r,!0,!1);break;case 5:b=(p=VP(Ost(r,p0t),8))?p.a:0,r.n.a=ev(hD(Ost(r,(Lkt(),jXt))))-b,d4(r,!0,!1),s.a=n.Math.max(s.a,r.n.a+r.o.a/2)}switch(VP(Ost(r,(Lkt(),hXt)),61).g){case 1:r.n.b=u,l.c[l.c.length]=r;break;case 3:r.n.b=h,f.c[f.c.length]=r}}switch(i.g){case 1:case 2:Q7(l,t),Q7(f,t);break;case 3:J7(l,t),J7(f,t)}}(e,r=function(t){var e,n,i,r,a,o,s,c,u,l,h;if(c=new iw,!IO(t,(Lkt(),uXt)))return c;for(i=VP(Ost(t,uXt),15).Kc();i.Ob();)Kmt(e=VP(i.Pb(),10),t),c.c[c.c.length]=e;for(r=new wd(t.b);r.a<r.c.c.length;)for(o=new wd(VP(qU(r),29).a);o.a<o.c.c.length;)(a=VP(qU(o),10)).k==(gct(),RUt)&&(s=VP(Ost(a,lXt),10))&&(JZ(u=new Mct,a),plt(u,VP(Ost(a,hXt),61)),l=VP(EF(s.j,0),11),VZ(h=new kH,u),XZ(h,l));for(n=new wd(c);n.a<n.c.c.length;)QZ(e=VP(qU(n),10),VP(EF(t.b,t.b.c.length-1),29));return c}(e)),function(t,e,n){var i,r,a,o,s,c,u,h,f,d,g;for(c=new cM,u=new cM,d=new cM,g=new cM,s=ev(hD(Ost(e,(wkt(),U0t)))),r=ev(hD(Ost(e,P0t))),o=new wd(n);o.a<o.c.c.length;)if(a=VP(qU(o),10),(h=VP(Ost(a,(Lkt(),hXt)),61))==(Mxt(),Eie))for(u.a.zc(a,u),i=new O$(dL(s9(a).a.Kc(),new l));Xht(i);)jj(c,VP(xW(i),17).c.i);else if(h==zie)for(g.a.zc(a,g),i=new O$(dL(s9(a).a.Kc(),new l));Xht(i);)jj(d,VP(xW(i),17).c.i);0!=c.a.gc()&&(f=Ovt(new bR(2,r),e,c,u,-s-e.c.b))>0&&(t.a=s+(f-1)*r,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=Ovt(new bR(1,r),e,d,g,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*r)}(t,e,r),function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(m=new iw,h=new wd(t.b);h.a<h.c.c.length;)for(g=new wd(VP(qU(h),29).a);g.a<g.c.c.length;)if((f=VP(qU(g),10)).k==(gct(),RUt)&&IO(f,(Lkt(),lXt))){for(p=null,w=null,b=null,k=new wd(f.j);k.a<k.c.c.length;)switch((x=VP(qU(k),11)).j.g){case 4:p=x;break;case 2:w=x;break;default:b=x}for(u=new xx((y=VP(EF(b.g,0),17)).a),mN(c=new hM(b.n),f.n),cR(tnt(u,0),c),v=Y5(y.a),mN(l=new hM(b.n),f.n),WK(v,l,v.c.b,v.c),_=VP(Ost(f,lXt),10),E=VP(EF(_.j,0),11),a=0,s=(i=VP(Het(p.e,WX(PUt,xAt,17,0,0,1)),474)).length;a<s;++a)XZ(e=i[a],E),N6(e.a,e.a.b,u);for(r=0,o=(n=MY(w.g)).length;r<o;++r)VZ(e=n[r],E),N6(e.a,0,v);VZ(y,null),XZ(y,null),m.c[m.c.length]=f}for(d=new wd(m);d.a<d.c.c.length;)QZ(f=VP(qU(d),10),null)}(e),a=VP(Ost(e,(wkt(),w0t)),98),axt((OU(0,(o=e.b).c.length),VP(o.c[0],29)),a,e),axt(VP(EF(o,o.c.length-1),29),a,e),$yt((OU(0,(s=e.b).c.length),VP(s.c[0],29))),$yt(VP(EF(s,s.c.length-1),29)),$ct(i)}function Lpt(t){switch(t){case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t-48<<24>>24;case 97:case 98:case 99:case 100:case 101:case 102:return t-97+10<<24>>24;case 65:case 66:case 67:case 68:case 69:case 70:return t-65+10<<24>>24;default:throw lw(new Av("Invalid hexadecimal"))}}function Opt(t,e,n){var i,r,a,o;for(ast(n,"Processor order nodes",2),t.a=ev(hD(Ost(e,(oft(),X5t)))),r=new T_,o=tnt(e.b,0);o.b!=o.d.c;)tv(lD(Ost(a=VP(AG(o),86),(avt(),I5t))))&&WK(r,a,r.c.b,r.c);CO(0!=r.b),Lmt(t,i=VP(r.a.a.c,86)),!n.b&&H0(n,1),sbt(t,i,0-ev(hD(Ost(i,(avt(),k5t))))/2,0),!n.b&&H0(n,1),$ct(n)}function Dpt(){Dpt=I,Qzt=new oT("SPIRAL",0),Gzt=new oT("LINE_BY_LINE",1),Kzt=new oT("MANHATTAN",2),Yzt=new oT("JITTER",3),Xzt=new oT("QUADRANTS_LINE_BY_LINE",4),Vzt=new oT("QUADRANTS_MANHATTAN",5),Wzt=new oT("QUADRANTS_JITTER",6),Uzt=new oT("COMBINE_LINE_BY_LINE_MANHATTAN",7),Zzt=new oT("COMBINE_JITTER_MANHATTAN",8)}function Npt(t,e,n,i){var r,a,o,s,c,u;for(c=Zat(t,n),u=Zat(e,n),r=!1;c&&u&&(i||Ert(c,u,n));)o=Zat(c,n),s=Zat(u,n),wQ(e),wQ(t),a=c.c,dvt(c,!1),dvt(u,!1),n?(Hrt(e,u.p,a),e.p=u.p,Hrt(t,c.p+1,a),t.p=c.p):(Hrt(t,c.p,a),t.p=c.p,Hrt(e,u.p+1,a),e.p=u.p),QZ(c,null),QZ(u,null),c=o,u=s,r=!0;return r}function Ppt(t,e,n,i){var r,a,o,s,c;for(r=!1,a=!1,s=new wd(i.j);s.a<s.c.c.length;)iA(Ost(o=VP(qU(s),11),(Lkt(),IXt)))===iA(n)&&(0==o.g.c.length?0==o.e.c.length||(r=!0):a=!0);return c=0,r&&r^a?c=n.j==(Mxt(),Eie)?-t.e[i.c.p][i.p]:e-t.e[i.c.p][i.p]:a&&r^a?c=t.e[i.c.p][i.p]+1:r&&a&&(c=n.j==(Mxt(),Eie)?0:e/2),c}function Bpt(t,e,n,i,r,a,o,s){var c,u,l;for(c=0,null!=e&&(c^=Knt(e.toLowerCase())),null!=n&&(c^=Knt(n)),null!=i&&(c^=Knt(i)),null!=o&&(c^=Knt(o)),null!=s&&(c^=Knt(s)),u=0,l=a.length;u<l;u++)c^=Knt(a[u]);t?c|=256:c&=-257,r?c|=16:c&=-17,this.f=c,this.i=null==e?null:(yz(e),e),this.a=n,this.d=i,this.j=a,this.g=o,this.e=s}function Fpt(t,e,n){var i,r;switch(r=null,e.g){case 1:X2(),r=WUt;break;case 2:X2(),r=VUt}switch(i=null,n.g){case 1:X2(),i=XUt;break;case 2:X2(),i=KUt;break;case 3:X2(),i=QUt;break;case 4:X2(),i=JUt}return r&&i?XP(t.j,new jh(new ov(P4(Zv(W$t,1),r_t,169,0,[VP(TR(r),169),VP(TR(i),169)])))):(Gq(),Gq(),TRt)}function $pt(t){var e,n,i;switch(e=VP(Ost(t,(wkt(),i0t)),8),d5(t,i0t,new XC(e.b,e.a)),VP(Ost(t,BJt),248).g){case 1:d5(t,BJt,(Znt(),K9t));break;case 2:d5(t,BJt,(Znt(),Z9t));break;case 3:d5(t,BJt,(Znt(),Y9t));break;case 4:d5(t,BJt,(Znt(),G9t))}(t.q?t.q:(Gq(),Gq(),CRt))._b(E0t)&&(i=(n=VP(Ost(t,E0t),8)).a,n.a=n.b,n.b=i)}function jpt(t,e,n,i,r,a){if(this.b=n,this.d=r,t>=e.length)throw lw(new qm("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new rP(i),l2(this.e,this.c,(Mxt(),Hie)),this.i=new rP(i),l2(this.i,this.c,_ie),this.f=new UF(this.c),this.a=!a&&r.i&&!r.s&&this.c[0].k==(gct(),RUt),this.a&&function(t,e,n){var i,r,a,o,s,c,u;s=(a=t.d.p).e,c=a.r,t.g=new rP(c),i=(o=t.d.o.c.p)>0?s[o-1]:WX(UUt,kAt,10,0,0,1),r=s[o],u=o<s.length-1?s[o+1]:WX(UUt,kAt,10,0,0,1),e==n-1?BZ(t.g,r,u):BZ(t.g,i,r)}(this,t,e.length)}function Rpt(t,e){var n,i,r,a,o,s;a=!t.B.Hc((Xbt(),ire)),o=t.B.Hc(ore),t.a=new utt(o,a,t.c),t.n&&qq(t.a.n,t.n),Nm(t.g,(QJ(),oqt),t.a),e||((i=new Set(1,a,t.c)).n.a=t.k,VF(t.p,(Mxt(),Eie),i),(r=new Set(1,a,t.c)).n.d=t.k,VF(t.p,zie,r),(s=new Set(0,a,t.c)).n.c=t.k,VF(t.p,Hie,s),(n=new Set(0,a,t.c)).n.b=t.k,VF(t.p,_ie,n))}function zpt(t){var e,i,r;switch((e=VP(Ost(t.d,(wkt(),g1t)),218)).g){case 2:i=function(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b;for(p=new iw,f=new wd(t.d.b);f.a<f.c.c.length;)for(g=new wd(VP(qU(f),29).a);g.a<g.c.c.length;){for(d=VP(qU(g),10),r=VP(zR(t.f,d),57),c=new O$(dL(c9(d).a.Kc(),new l));Xht(c);)if(u=!0,h=null,(i=tnt((o=VP(xW(c),17)).a,0)).b!=i.d.c){for(e=VP(AG(i),8),n=null,o.c.j==(Mxt(),Eie)&&((b=new Ryt(e,new XC(e.a,r.d.d),r,o)).f.a=!0,b.a=o.c,p.c[p.c.length]=b),o.c.j==zie&&((b=new Ryt(e,new XC(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.c,p.c[p.c.length]=b);i.b!=i.d.c;)n=VP(AG(i),8),g1(e.b,n.b)||(h=new Ryt(e,n,null,o),p.c[p.c.length]=h,u&&(u=!1,n.b<r.d.d?h.f.a=!0:n.b>r.d.d+r.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))),i.b!=i.d.c&&(e=n);h&&(a=VP(zR(t.f,o.d.i),57),e.b<a.d.d?h.f.a=!0:e.b>a.d.d+a.d.a?h.f.d=!0:(h.f.d=!0,h.f.a=!0))}for(s=new O$(dL(s9(d).a.Kc(),new l));Xht(s);)0!=(o=VP(xW(s),17)).a.b&&(e=VP(wO(o.a),8),o.d.j==(Mxt(),Eie)&&((b=new Ryt(e,new XC(e.a,r.d.d),r,o)).f.a=!0,b.a=o.d,p.c[p.c.length]=b),o.d.j==zie&&((b=new Ryt(e,new XC(e.a,r.d.d+r.d.a),r,o)).f.d=!0,b.a=o.d,p.c[p.c.length]=b))}return p}(t);break;case 3:r=new iw,C_(lq(hq(KQ(KQ(new CF(null,new NU(t.d.b,16)),new Ir),new Lr),new Or),new wr),new Vg(r)),i=r;break;default:throw lw(new Vm("Compaction not supported for "+e+" edges."))}(function(t,e){var i,r,a,o,s,c,u;if(0!=e.c.length){for(Gq(),QF(e.c,e.c.length,null),r=VP(qU(a=new wd(e)),145);a.a<a.c.c.length;)i=VP(qU(a),145),!g1(r.e.c,i.e.c)||Ytt(TD(r.e).b,i.e.d)||Ytt(TD(i.e).b,r.e.d)?(Dwt(t,r),r=i):(C4(r.k,i.k),C4(r.b,i.b),C4(r.c,i.c),M2(r.i,i.i),C4(r.d,i.d),C4(r.j,i.j),o=n.Math.min(r.e.c,i.e.c),s=n.Math.min(r.e.d,i.e.d),c=n.Math.max(r.e.c+r.e.b,i.e.c+i.e.b)-o,u=n.Math.max(r.e.d+r.e.a,i.e.d+i.e.a)-s,FB(r.e,o,s,c,u),HU(r.f,i.f),!r.a&&(r.a=i.a),C4(r.g,i.g),nB(r.g,i));Dwt(t,r)}})(t,i),GK(new Vf(t.g),new Wg(t))}function qpt(){qpt=I,gZt=new BM((Ikt(),Oee),p8(1)),vZt=new BM(Kee,80),mZt=new BM(zee,5),eZt=new BM(vte,LSt),pZt=new BM(Dee,p8(1)),yZt=new BM(Bee,(EL(),!0)),hZt=new FM(50),lZt=new BM(cee,hZt),iZt=Hte,fZt=kee,nZt=new BM(Ite,!1),uZt=see,cZt=ree,sZt=Jte,oZt=Vte,dZt=Cee,Ect(),aZt=ZHt,xZt=WHt,rZt=HHt,bZt=YHt,wZt=KHt}function Hpt(){Hpt=I,Q8t=new Ib(tDt),iE(),X8t=new RA(aDt,V8t=a9t),z4(),K8t=new RA(eDt,W8t=u9t),Oct(),Y8t=new RA(nDt,G8t=m8t),q8t=new RA(iDt,null),aX(),Z8t=new RA(rDt,U8t=g8t),eE(),F8t=new RA(oDt,$8t=c8t),j8t=new RA(sDt,(EL(),!1)),R8t=new RA(cDt,p8(64)),z8t=new RA(uDt,!0),H8t=p8t}function Zpt(t){var e,n,i,r,a;if(null==t.a)if(t.a=WX(Wce,pCt,25,t.c.b.c.length,16,1),t.a[0]=!1,IO(t.c,(wkt(),s2t)))for(n=VP(Ost(t.c,s2t),15).Kc();n.Ob();)(e=VP(n.Pb(),19).a)>0&&e<t.a.length&&(t.a[e]=!1);else for((a=new wd(t.c.b)).a<a.c.c.length&&qU(a),i=1;a.a<a.c.c.length;)r=VP(qU(a),29),t.a[i++]=Qft(r)}function Upt(t,e){var n,i;switch(i=t.b,e){case 1:t.b|=1,t.b|=4,t.b|=8;break;case 2:t.b|=2,t.b|=4,t.b|=8;break;case 4:t.b|=1,t.b|=2,t.b|=4,t.b|=8;break;case 3:t.b|=16,t.b|=8;break;case 0:t.b|=32,t.b|=16,t.b|=8,t.b|=1,t.b|=2,t.b|=4}if(t.b!=i&&t.c)for(n=new YI(t.c);n.e!=n.i.gc();)alt(dW(VP(hnt(n),473)),e)}function Ypt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(r=!1,s=0,c=(o=e).length;s<c;++s)a=o[s],tv((EL(),!!a.e))&&!VP(EF(t.b,a.e.p),214).s&&(r|=(u=a.e,(h=(l=VP(EF(t.b,u.p),214)).e)[f=Jv(n,h.length)][0].k==(gct(),RUt)?h[f]=Vdt(a,h[f],n?(Mxt(),Hie):(Mxt(),_ie)):l.c.Tf(h,n),d=tgt(t,l,n,i),Bgt(l.e,l.o,n),d));return r}function Gpt(t,e){var n,i,r,a,o;for(a=(!e.a&&(e.a=new mj(sae,e,10,11)),e.a).i,r=new YI((!e.a&&(e.a=new mj(sae,e,10,11)),e.a));r.e!=r.i.gc();)iA(_ft(i=VP(hnt(r),33),(Ikt(),$te)))!==iA((I7(),Nne))&&((o=VP(_ft(e,Nee),149))==(n=VP(_ft(i,Nee),149))||o&&cW(o,n))&&0!=(!i.a&&(i.a=new mj(sae,i,10,11)),i.a).i&&(a+=Gpt(t,i));return a}function Kpt(t,e){var i,r,a,o,s,c,u,l,h,f;if(s=VP(VP(jW(t.r,e),21),84),c=t.u.Hc((Ilt(),mie)),i=t.u.Hc(bie),r=t.u.Hc(pie),l=t.u.Hc(vie),f=t.B.Hc((Xbt(),hre)),h=!i&&!r&&(l||2==s.gc()),function(t,e){var n,i,r,a,o,s;for(o=VP(VP(jW(t.r,e),21),84).Kc();o.Ob();)(n=(a=VP(o.Pb(),111)).c?KB(a.c):0)>0?a.a?n>(s=a.b.rf().a)&&(r=(n-s)/2,a.d.b=r,a.d.c=r):a.d.c=t.s+n:aj(t.u)&&((i=ust(a.b)).c<0&&(a.d.b=-i.c),i.c+i.b>a.b.rf().a&&(a.d.c=i.c+i.b-a.b.rf().a))}(t,e),a=null,u=null,c){for(u=a=VP((o=s.Kc()).Pb(),111);o.Ob();)u=VP(o.Pb(),111);a.d.b=0,u.d.c=0,h&&!a.a&&(a.d.c=0)}f&&(function(t){var e,i,r,a,o;for(e=0,i=0,o=t.Kc();o.Ob();)r=VP(o.Pb(),111),e=n.Math.max(e,r.d.b),i=n.Math.max(i,r.d.c);for(a=t.Kc();a.Ob();)(r=VP(a.Pb(),111)).d.b=e,r.d.c=i}(s),c&&(a.d.b=0,u.d.c=0))}function Wpt(t,e){var i,r,a,o,s,c,u,l,h,f;if(s=VP(VP(jW(t.r,e),21),84),c=t.u.Hc((Ilt(),mie)),i=t.u.Hc(bie),r=t.u.Hc(pie),u=t.u.Hc(vie),f=t.B.Hc((Xbt(),hre)),l=!i&&!r&&(u||2==s.gc()),function(t,e){var i,r,a,o,s,c,u;for(c=VP(VP(jW(t.r,e),21),84).Kc();c.Ob();)(r=(s=VP(c.Pb(),111)).c?GB(s.c):0)>0?s.a?r>(u=s.b.rf().b)&&(t.v||1==s.c.d.c.length?(o=(r-u)/2,s.d.d=o,s.d.a=o):(i=(VP(EF(s.c.d,0),181).rf().b-u)/2,s.d.d=n.Math.max(0,i),s.d.a=r-i-u)):s.d.a=t.t+r:aj(t.u)&&((a=ust(s.b)).d<0&&(s.d.d=-a.d),a.d+a.a>s.b.rf().b&&(s.d.a=a.d+a.a-s.b.rf().b))}(t,e),h=null,a=null,c){for(a=h=VP((o=s.Kc()).Pb(),111);o.Ob();)a=VP(o.Pb(),111);h.d.d=0,a.d.a=0,l&&!h.a&&(h.d.a=0)}f&&(function(t){var e,i,r,a,o;for(i=0,e=0,o=t.Kc();o.Ob();)r=VP(o.Pb(),111),i=n.Math.max(i,r.d.d),e=n.Math.max(e,r.d.a);for(a=t.Kc();a.Ob();)(r=VP(a.Pb(),111)).d.d=i,r.d.a=e}(s),c&&(h.d.d=0,a.d.a=0))}function Xpt(t,e,n){var i,r,a,o,s;if(i=e.k,e.p>=0)return!1;if(e.p=n.b,nB(n.e,e),i==(gct(),qUt)||i==ZUt)for(r=new wd(e.j);r.a<r.c.c.length;)for(s=new gg(new wd(new dg(VP(qU(r),11)).a.g));JM(s.a);)if(o=(a=VP(qU(s.a),17).d.i).k,e.c!=a.c&&(o==qUt||o==ZUt)&&Xpt(t,a,n))return!0;return!0}function Vpt(t){var e;return 0!=(64&t.Db)?Sht(t):((e=new TL(Sht(t))).a+=" (changeable: ",tk(e,0!=(t.Bb&FNt)),e.a+=", volatile: ",tk(e,0!=(t.Bb&zBt)),e.a+=", transient: ",tk(e,0!=(t.Bb&eTt)),e.a+=", defaultValueLiteral: ",wA(e,t.j),e.a+=", unsettable: ",tk(e,0!=(t.Bb&RBt)),e.a+=", derived: ",tk(e,0!=(t.Bb&C_t)),e.a+=")",e.a)}function Qpt(t,e,n,i){var r,a,o,s,c,u;if(null==n)for(r=VP(t.g,119),s=0;s<t.i;++s)if((o=r[s]).ak()==e)return Tnt(t,o,i);return EE(),a=VP(e,66).Oj()?VP(n,72):WG(e,n),bM(t.e)?(u=!xtt(t,e),i=gtt(t,a,i),c=e.$j()?$H(t,3,e,null,n,Dyt(t,e,n,MI(e,99)&&0!=(VP(e,18).Bb&iTt)),u):$H(t,1,e,e.zj(),n,-1,u),i?i.Ei(c):i=c):i=gtt(t,a,i),i}function Jpt(){this.b=new dK,this.d=new dK,this.e=new dK,this.c=new dK,this.a=new rw,this.f=new rw,gZ(q9t,new vs,new xs),gZ(W9t,new Os,new Ds),gZ($Ut,new Ns,new Ps),gZ(tYt,new Fs,new $s),gZ(Tre,new js,new Rs),gZ(NRt,new ks,new _s),gZ(ZRt,new Es,new Ts),gZ(FRt,new Cs,new Ss),gZ($Rt,new As,new Ms),gZ(nzt,new Is,new Ls)}function tbt(t){var e,n,i,r,a,o;return a=0,(e=fat(t)).Bj()&&(a|=4),0!=(t.Bb&RBt)&&(a|=2),MI(t,99)?(r=eit(n=VP(t,18)),0!=(n.Bb&CNt)&&(a|=32),r&&(yR(qZ(r)),a|=8,((o=r.t)>1||-1==o)&&(a|=16),0!=(r.Bb&CNt)&&(a|=64)),0!=(n.Bb&iTt)&&(a|=zBt),a|=FNt):MI(e,457)?a|=512:(i=e.Bj())&&0!=(1&i.i)&&(a|=256),0!=(512&t.Bb)&&(a|=128),a}function ebt(t,e){var n,i,r,a,o;for(t=null==t?s_t:(yz(t),t),r=0;r<e.length;r++)e[r]=rdt(e[r]);for(n=new Ov,o=0,i=0;i<e.length&&-1!=(a=t.indexOf("%s",o));)n.a+=""+fO(null==t?s_t:(yz(t),t),o,a),mA(n,e[i++]),o=a+2;if(_Y(n,t,o,t.length),i<e.length){for(n.a+=" [",mA(n,e[i++]);i<e.length;)n.a+=n_t,mA(n,e[i++]);n.a+="]"}return n.a}function nbt(t,e){var n,i,r,a,o,s,c;for(n=0,c=new wd(e);c.a<c.c.c.length;){for(s=VP(qU(c),11),F6(t.b,t.d[s.p]),o=0,r=new YW(s.b);JM(r.a)||JM(r.b);)kz(i=VP(JM(r.a)?qU(r.a):qU(r.b),17))?(a=ak(t,s==i.c?i.d:i.c))>t.d[s.p]&&(n+=UK(t.b,a),IG(t.a,p8(a))):++o;for(n+=t.b.d*o;!rv(t.a);)nJ(t.b,VP(Oj(t.a),19).a)}return n}function ibt(t){var e,n,i,r,a,o,s;for(s=new rw,i=new wd(t.a.b);i.a<i.c.c.length;)Pz(s,e=VP(qU(i),57),new iw);for(r=new wd(t.a.b);r.a<r.c.c.length;)for((e=VP(qU(r),57)).i=tTt,o=e.c.Kc();o.Ob();)a=VP(o.Pb(),57),VP(nA(BH(s.f,a)),15).Fc(e);for(n=new wd(t.a.b);n.a<n.c.c.length;)(e=VP(qU(n),57)).c.$b(),e.c=VP(nA(BH(s.f,e)),15);Rgt(t)}function rbt(t){var e,n,i,r,a,o,s;for(s=new rw,i=new wd(t.a.b);i.a<i.c.c.length;)Pz(s,e=VP(qU(i),81),new iw);for(r=new wd(t.a.b);r.a<r.c.c.length;)for((e=VP(qU(r),81)).o=tTt,o=e.f.Kc();o.Ob();)a=VP(o.Pb(),81),VP(nA(BH(s.f,a)),15).Fc(e);for(n=new wd(t.a.b);n.a<n.c.c.length;)(e=VP(qU(n),81)).f.$b(),e.f=VP(nA(BH(s.f,e)),15);agt(t)}function abt(t,e,n,i){var r,a;for(function(t,e,n,i){var r,a,o,s;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)s=o-e.k+i,Pit(e,r,o)?Sit(t,a,s)||art(t,a,s):Fit(e,r,o)&&(Tit(t,a,s)||ort(t,a,s))}(t,e,n,i),function(t,e){t.g=e}(e,t.j-e.j+n),function(t,e){t.i=e}(e,t.k-e.k+i),a=new wd(e.f);a.a<a.c.c.length;)switch((r=VP(qU(a),324)).a.g){case 0:b5(t,e.g+r.b.a,0,e.g+r.c.a,e.i-1);break;case 1:b5(t,e.g+e.o,e.i+r.b.a,t.o-1,e.i+r.c.a);break;case 2:b5(t,e.g+r.b.a,e.i+e.p,e.g+r.c.a,t.p-1);break;default:b5(t,0,e.i+r.b.a,e.g-1,e.i+r.c.a)}}function obt(t,e,n,i,r){var a,o;try{if(e>=t.o)throw lw(new Zw);o=e>>5,a=Z$(1,KF(Z$(31&e,1))),t.n[n][o]=r?UU(t.n[n][o],a):ZU(t.n[n][o],gB(a)),a=Z$(a,1),t.n[n][o]=i?UU(t.n[n][o],a):ZU(t.n[n][o],gB(a))}catch(i){throw MI(i=k4(i),320)?lw(new qm(zCt+t.o+"*"+t.p+qCt+e+n_t+n+HCt)):lw(i)}}function sbt(t,e,i,r){var a,o;e&&(a=ev(hD(Ost(e,(avt(),C5t))))+r,o=i+ev(hD(Ost(e,k5t)))/2,d5(e,L5t,p8(KF(B3(n.Math.round(a))))),d5(e,O5t,p8(KF(B3(n.Math.round(o))))),0==e.d.b||sbt(t,VP(SI(new Fp(tnt(new Bp(e).a.d,0))),86),i+ev(hD(Ost(e,k5t)))+t.a,r+ev(hD(Ost(e,_5t)))),null!=Ost(e,M5t)&&sbt(t,VP(Ost(e,M5t),86),i,r))}function cbt(t){var e,n,i;return 0!=(64&t.Db)?xct(t):(e=new CL(bNt),(n=t.k)?vA(vA((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new mj(oae,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new mj(oae,t,1,7)),VP(a1(t.n,0),137)).a)||vA(vA((e.a+=' "',e),i),'"'))),vA(ek(vA(ek(vA(ek(vA(ek((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function ubt(t){var e,n,i;return 0!=(64&t.Db)?xct(t):(e=new CL(wNt),(n=t.k)?vA(vA((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new mj(oae,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new mj(oae,t,1,7)),VP(a1(t.n,0),137)).a)||vA(vA((e.a+=' "',e),i),'"'))),vA(ek(vA(ek(vA(ek(vA(ek((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function lbt(t,e){var n,i,r,a,o,s;if(null==e||0==e.length)return null;if(!(r=VP(oZ(t.a,e),149))){for(i=new sd(new Jf(t.b).a.vc().Kc());i.a.Ob();)if(a=VP(i.a.Pb(),42),o=(n=VP(a.dd(),149)).c,s=e.length,jN(o.substr(o.length-s,s),e)&&(e.length==o.length||46==Gz(o,o.length-e.length-1))){if(r)return null;r=n}r&&ZZ(t.a,e,r)}return r}function hbt(t){var e,n,i;IO(t,(wkt(),G1t))&&((i=VP(Ost(t,G1t),21)).dc()||(n=new aP(e=VP(Lx(aie),9),VP(nN(e,e.length),9),0),i.Hc((Eft(),Gne))?t2(n,Gne):t2(n,Kne),i.Hc(Une)||t2(n,Une),i.Hc(Zne)?t2(n,Vne):i.Hc(Hne)?t2(n,Xne):i.Hc(Yne)&&t2(n,Wne),i.Hc(Vne)?t2(n,Zne):i.Hc(Xne)?t2(n,Hne):i.Hc(Wne)&&t2(n,Yne),d5(t,G1t,n)))}function fbt(t){var e,n,i,r,a,o,s;for(r=VP(Ost(t,(Lkt(),mXt)),10),OU(0,(i=t.j).c.length),n=VP(i.c[0],11),o=new wd(r.j);o.a<o.c.c.length;)if(iA(a=VP(qU(o),11))===iA(Ost(n,IXt))){a.j==(Mxt(),Eie)&&t.p>r.p?(plt(a,zie),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==zie&&r.p>t.p&&(plt(a,Eie),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return r}function dbt(t,e,n,i,r){var a,o,s,c,u,l,h;if(!(MI(e,239)||MI(e,354)||MI(e,186)))throw lw(new Xm("Method only works for ElkNode-, ElkLabel and ElkPort-objects."));return o=t.a/2,c=e.i+i-o,l=e.j+r-o,u=c+e.g+t.a,h=l+e.f+t.a,$B(a=new Ny,new XC(c,l)),$B(a,new XC(c,h)),$B(a,new XC(u,h)),$B(a,new XC(u,l)),c4(s=new ift(a),e),n&&Pz(t.b,e,s),s}function gbt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new XC(e,n),u=new wd(t.a);u.a<u.c.c.length;)for(mN((c=VP(qU(u),10)).n,a),l=new wd(c.j);l.a<l.c.c.length;)for(r=new wd(VP(qU(l),11).g);r.a<r.c.c.length;)for(c1((i=VP(qU(r),17)).a,a),(o=VP(Ost(i,(wkt(),D1t)),74))&&c1(o,a),s=new wd(i.b);s.a<s.c.c.length;)mN(VP(qU(s),70).n,a)}function pbt(t,e,n){var i,r,a,o,s,c,u,l;for(a=new XC(e,n),u=new wd(t.a);u.a<u.c.c.length;)for(mN((c=VP(qU(u),10)).n,a),l=new wd(c.j);l.a<l.c.c.length;)for(r=new wd(VP(qU(l),11).g);r.a<r.c.c.length;)for(c1((i=VP(qU(r),17)).a,a),(o=VP(Ost(i,(wkt(),D1t)),74))&&c1(o,a),s=new wd(i.b);s.a<s.c.c.length;)mN(VP(qU(s),70).n,a)}function bbt(t){if(0==(!t.b&&(t.b=new LN(Jre,t,4,7)),t.b).i)throw lw(new dv("Edges must have a source."));if(0==(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c).i)throw lw(new dv("Edges must have a target."));if(!t.b&&(t.b=new LN(Jre,t,4,7)),!(t.b.i<=1&&(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c.i<=1)))throw lw(new dv("Hyperedges are not supported."))}function wbt(t,e){var n,i,r,a,o,s,c,u,l,h;for(h=0,IG(a=new nw,e);a.b!=a.c;)for(c=VP(Oj(a),214),u=0,l=VP(Ost(e.j,(wkt(),KJt)),339),o=ev(hD(Ost(e.j,ZJt))),s=ev(hD(Ost(e.j,UJt))),l!=(x5(),W2t)&&(u+=o*$ft(c.e,l),u+=s*pgt(c.e)),h+=brt(c.d,c.e)+u,r=new wd(c.b);r.a<r.c.c.length;)i=VP(qU(r),37),(n=VP(EF(t.b,i.p),214)).s||(h+=$ut(t,n));return h}function ybt(t,e,n,i,r,a,o){if(t.c=i.qf().a,t.d=i.qf().b,r&&(t.c+=r.qf().a,t.d+=r.qf().b),t.b=e.rf().a,t.a=e.rf().b,r)switch(r.Hf().g){case 0:case 2:t.c+=r.rf().a+o+a.a+o;break;case 4:t.c-=o+a.a+o+e.rf().a;break;case 1:t.c+=r.rf().a+o,t.d-=o+a.b+o+e.rf().b;break;case 3:t.c+=r.rf().a+o,t.d+=r.rf().b+o+a.b+o}else n?t.c-=o+e.rf().a:t.c+=i.rf().a+o}function mbt(t,e){var n,i;for(this.b=new iw,this.e=new iw,this.a=t,this.d=e,function(t){var e;e=t.a;do{(e=VP(xW(new O$(dL(s9(e).a.Kc(),new l))),17).c.i).k==(gct(),qUt)&&t.b.Fc(e)}while(e.k==(gct(),qUt));t.b=A3(t.b)}(this),function(t){var e;e=t.a;do{(e=VP(xW(new O$(dL(c9(e).a.Kc(),new l))),17).d.i).k==(gct(),qUt)&&nB(t.e,e)}while(e.k==(gct(),qUt))}(this),this.b.dc()?this.c=t.c.p:this.c=VP(this.b.Xb(0),10).c.p,0==this.e.c.length?this.f=t.c.p:this.f=VP(EF(this.e,this.e.c.length-1),10).c.p,i=VP(Ost(t,(Lkt(),qXt)),15).Kc();i.Ob();)if(IO(n=VP(i.Pb(),70),(wkt(),l1t))){this.d=VP(Ost(n,l1t),227);break}}function vbt(t,e,n){var i,r,a,o,s,c,u,l;for(i=VP(zR(t.a,e),53),a=VP(zR(t.a,n),53),r=VP(zR(t.e,e),53),o=VP(zR(t.e,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=VP(l.Pb(),10),i.a.zc(u,i),jj(VP(zR(t.e,u),53),e),M2(VP(zR(t.e,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=VP(c.Pb(),10),o.a.zc(s,o),jj(VP(zR(t.a,s),53),n),M2(VP(zR(t.a,s),53),a)}function xbt(t,e,n){var i,r,a,o,s,c,u,l;for(i=VP(zR(t.a,e),53),a=VP(zR(t.a,n),53),r=VP(zR(t.b,e),53),o=VP(zR(t.b,n),53),i.a.zc(n,i),o.a.zc(e,o),l=a.a.ec().Kc();l.Ob();)u=VP(l.Pb(),10),i.a.zc(u,i),jj(VP(zR(t.b,u),53),e),M2(VP(zR(t.b,u),53),r);for(c=r.a.ec().Kc();c.Ob();)s=VP(c.Pb(),10),o.a.zc(s,o),jj(VP(zR(t.a,s),53),n),M2(VP(zR(t.a,s),53),a)}function kbt(t,e){var i,r,a;switch(ast(e,"Breaking Point Insertion",1),r=new aft(t),VP(Ost(t,(wkt(),n2t)),337).g){case 2:a=new Ea;case 0:a=new ga;break;default:a=new Ta}if(i=a.Vf(t,r),tv(lD(Ost(t,r2t)))&&(i=function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x;for(d=new iw,a=new iw,b=null,s=e.Kc();s.Ob();)o=new hp(VP(s.Pb(),19).a),a.c[a.c.length]=o,b&&(o.d=b,b.e=o),b=o;for(v=function(t){var e,n,i,r,a,o,s,c,u;for(u=WX(Kce,CEt,25,t.b.c.length+1,15,1),c=new Xw,i=0,a=new wd(t.b);a.a<a.c.c.length;){for(r=VP(qU(a),29),u[i++]=c.a.gc(),s=new wd(r.a);s.a<s.c.c.length;)for(n=new O$(dL(c9(VP(qU(s),10)).a.Kc(),new l));Xht(n);)e=VP(xW(n),17),c.a.zc(e,c);for(o=new wd(r.a);o.a<o.c.c.length;)for(n=new O$(dL(s9(VP(qU(o),10)).a.Kc(),new l));Xht(n);)e=VP(xW(n),17),c.a.Bc(e)}return u}(t),h=0;h<a.c.length;++h){for(g=null,w=cX((OU(0,a.c.length),VP(a.c[0],652))),i=null,r=JEt,f=1;f<t.b.c.length;++f)y=w?n.Math.abs(w.b-f):n.Math.abs(f-g.b)+1,(p=g?n.Math.abs(f-g.b):y+1)<y?(u=g,c=p):(u=w,c=y),x=ev(hD(Ost(t,(wkt(),i2t)))),(m=v[f]+n.Math.pow(c,x))<r&&(r=m,(i=u).c=f),w&&f==w.b&&(g=w,w=ej(w));i&&(nB(d,p8(i.c)),i.a=!0,T8(i))}return Gq(),QF(d.c,d.c.length,null),d}(t,i)),!a.Wf()&&IO(t,c2t))switch(VP(Ost(t,c2t),338).g){case 2:i=blt(r,i);break;case 1:i=cst(r,i)}i.dc()||function(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M;for(y=new QY(t.b,0),p=0,u=VP((h=e.Kc()).Pb(),19).a,x=0,n=new Xw,_=new cM;y.b<y.d.gc();){for(CO(y.b<y.d.gc()),v=new wd(VP(y.d.Xb(y.c=y.b++),29).a);v.a<v.c.c.length;){for(g=new O$(dL(c9(m=VP(qU(v),10)).a.Kc(),new l));Xht(g);)f=VP(xW(g),17),_.a.zc(f,_);for(d=new O$(dL(s9(m).a.Kc(),new l));Xht(d);)f=VP(xW(d),17),_.a.Bc(f)}if(p+1==u){for(JD(y,r=new HR(t)),JD(y,a=new HR(t)),T=_.a.ec().Kc();T.Ob();)E=VP(T.Pb(),17),n.a._b(E)||(++x,n.a.zc(E,n)),d5(o=new ait(t),(wkt(),w0t),($ot(),lie)),QZ(o,r),Lf(o,(gct(),jUt)),JZ(b=new Mct,o),plt(b,(Mxt(),Hie)),JZ(C=new Mct,o),plt(C,_ie),d5(i=new ait(t),w0t,lie),QZ(i,a),Lf(i,jUt),JZ(w=new Mct,i),plt(w,Hie),JZ(S=new Mct,i),plt(S,_ie),VZ(k=new kH,E.c),XZ(k,b),VZ(M=new kH,C),XZ(M,w),VZ(E,S),s=new DG(o,i,k,M,E),d5(o,(Lkt(),QWt),s),d5(i,QWt,s),(A=k.c.i).k==jUt&&((c=VP(Ost(A,QWt),305)).d=s,s.g=c);if(!h.Ob())break;u=VP(h.Pb(),19).a}++p}p8(x)}(t,i),$ct(e)}function _bt(t,e,n){var i,r,a,o,s,c,u;if(u=e,O0(c=YG(t,FG(n),u),cG(u,aPt)),o=aG(u,WNt),function(t,e,n){var i,r,a;if(n)for(r=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);r.Ob();)(a=Zit(t,Plt(WQ(n,VP(r.Pb(),19).a))))&&(!e.b&&(e.b=new LN(Jre,e,4,7)),hV(e.b,a))}((i=new _S(t,c)).a,i.b,o),s=aG(u,XNt),function(t,e,n){var i,r,a;if(n)for(r=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);r.Ob();)(a=Zit(t,Plt(WQ(n,VP(r.Pb(),19).a))))&&(!e.c&&(e.c=new LN(Jre,e,5,8)),hV(e.c,a))}((r=new ES(t,c)).a,r.b,s),0==(!c.b&&(c.b=new LN(Jre,c,4,7)),c.b).i||0==(!c.c&&(c.c=new LN(Jre,c,5,8)),c.c).i)throw a=cG(u,aPt),lw(new lv(uPt+a+lPt));return ist(u,c),function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(h=e,l=new JH,f=new JH,a=aG(h,VNt),function(t,e,n,i,r){var a,o,s,c;if(r)for(c=((a=new N$(r.a.length)).b-a.a)*a.c<0?(SE(),Rce):new cL(a);c.Ob();)s=oG(r,VP(c.Pb(),19).a),ywt((o=new Lq(t,e,n,i)).a,o.b,o.c,o.d,s)}((i=new Oq(t,n,l,f)).a,i.b,i.c,i.d,a),p=(l.i||(l.i=new iL(l,l.c))).Kc();p.Ob();)for(g=VP(p.Pb(),202),s=VP(jW(l,g),21).Kc();s.Ob();){if(o=s.Pb(),!(d=VP(b1(t.d,o),202)))throw r=cG(h,aPt),lw(new lv(hPt+o+fPt+r+lPt));!g.e&&(g.e=new LN(eae,g,10,9)),hV(g.e,d)}for(w=(f.i||(f.i=new iL(f,f.c))).Kc();w.Ob();)for(b=VP(w.Pb(),202),u=VP(jW(f,b),21).Kc();u.Ob();){if(c=u.Pb(),!(d=VP(b1(t.d,c),202)))throw r=cG(h,aPt),lw(new lv(hPt+c+fPt+r+lPt));!b.g&&(b.g=new LN(eae,b,9,10)),hV(b.g,d)}!n.b&&(n.b=new LN(Jre,n,4,7)),0!=n.b.i&&(!n.c&&(n.c=new LN(Jre,n,5,8)),0!=n.c.i)&&(!n.b&&(n.b=new LN(Jre,n,4,7)),n.b.i<=1&&(!n.c&&(n.c=new LN(Jre,n,5,8)),n.c.i<=1))&&1==(!n.a&&(n.a=new mj(eae,n,6,6)),n.a).i&&(Jnt(y=VP(a1((!n.a&&(n.a=new mj(eae,n,6,6)),n.a),0),202))||tit(y)||(D0(y,VP(a1((!n.b&&(n.b=new LN(Jre,n,4,7)),n.b),0),82)),N0(y,VP(a1((!n.c&&(n.c=new LN(Jre,n,5,8)),n.c),0),82))))}(t,u,c),B5(t,u,c)}function Ebt(t){var e,i,r,a,o,s,c,u,l,h,f;for(i=eEt,a=Qkt,c=new wd(t.e.a);c.a<c.c.c.length;)o=VP(qU(c),121),a=n.Math.min(a,o.e),i=n.Math.max(i,o.e);for(e=WX(Kce,CEt,25,i-a+1,15,1),s=new wd(t.e.a);s.a<s.c.c.length;)(o=VP(qU(s),121)).e-=a,++e[o.e];if(r=0,null!=t.k)for(h=0,f=(l=t.k).length;h<f&&(u=l[h],e[r++]+=u,e.length!=r);++h);return e}function Tbt(t){switch(t.d){case 9:case 8:return!0;case 3:case 5:case 4:case 6:return!1;case 7:return VP(jgt(t),19).a==t.o;case 1:case 2:if(-2==t.o)return!1;switch(t.p){case 0:case 1:case 2:case 6:case 5:case 7:return uA(t.k,t.f);case 3:case 4:return t.j==t.e;default:return null==t.n?null==t.g:X7(t.n,t.g)}default:return!1}}function Cbt(t){sE(t,new nst(rx(tx(ix(nx(new bs,tNt),"ELK Fixed"),"Keeps the current layout as it is, without any automatic modification. Optional coordinates can be given for nodes and edge bend points."),new Xs))),BY(t,tNt,fSt,Ine),BY(t,tNt,OLt,unt(Lne)),BY(t,tNt,ODt,unt(Tne)),BY(t,tNt,HSt,unt(Cne)),BY(t,tNt,iAt,unt(Ane)),BY(t,tNt,dLt,unt(Sne))}function Sbt(t,e,n){var i,r,a,o;if(i=KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15))),o=KF(n9(q_t,qz(KF(n9(null==n?0:K5(n),H_t)),15))),(a=$2(t,e,i))&&o==a.f&&dz(n,a.i))return n;if(j2(t,n,o))throw lw(new Xm("value already present: "+n));return r=new Mz(e,i,n,o),a?(xdt(t,a),ylt(t,r,a),a.e=null,a.c=null,a.i):(ylt(t,r,null),kat(t),null)}function Abt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;u=n.a.c,o=n.a.c+n.a.b,f=(a=VP(zR(n.c,e),459)).f,d=a.a,s=a.b?new XC(o,f):new XC(u,f),l=a.c?new XC(u,d):new XC(o,d),r=u,n.p||(r+=t.c),c=new XC(r+=n.F+n.v*t.b,f),h=new XC(r,d),r0(e.a,P4(Zv(q9t,1),T_t,8,0,[s,c])),n.d.a.gc()>1&&(i=new XC(r,n.b),$B(e.a,i)),r0(e.a,P4(Zv(q9t,1),T_t,8,0,[h,l]))}function Mbt(t,e,n){var i,r,a,o,s,c;if(e){if(n<=-1){if(MI(i=MJ(e.Tg(),-1-n),99))return VP(i,18);for(s=0,c=(o=VP(e.ah(i),153)).gc();s<c;++s)if(iA(o.jl(s))===iA(t)&&MI(r=o.il(s),99)&&0!=((a=VP(r,18)).Bb&CNt))return a;throw lw(new Vm("The containment feature could not be located"))}return eit(VP(MJ(t.Tg(),n),18))}return null}function Ibt(t,e,n,i){var r,a,o;return o=new Xk(e,n),t.a?i?(++(r=VP(zR(t.b,e),283)).a,o.d=i.d,o.e=i.e,o.b=i,o.c=i,i.e?i.e.c=o:VP(zR(t.b,e),283).b=o,i.d?i.d.b=o:t.a=o,i.d=o,i.e=o):(t.e.b=o,o.d=t.e,t.e=o,(r=VP(zR(t.b,e),283))?(++r.a,(a=r.c).c=o,o.e=a,r.c=o):(Pz(t.b,e,r=new wH(o)),++t.c)):(t.a=t.e=o,Pz(t.b,e,new wH(o)),++t.c),++t.d,o}function Lbt(t,e){var n,i,r,a,o,s,c,u;for(n=new RegExp(e,"g"),c=WX(fRt,T_t,2,0,6,1),i=0,u=t,a=null;;){if(null==(s=n.exec(u))||""==u){c[i]=u;break}o=s.index,c[i]=u.substr(0,o),u=fO(u,o+s[0].length,u.length),n.lastIndex=0,a==u&&(c[i]=u.substr(0,1),u=u.substr(1)),a=u,++i}if(t.length>0){for(r=c.length;r>0&&""==c[r-1];)--r;r<c.length&&(c.length=r)}return c}function Obt(t,e){var n,i,r,a,o,s,c,u;for(s=null,r=!1,a=0,c=eK((u=AH(e)).a).i;a<c;++a)(n=Obt(t,VP(hvt(u,a,MI(o=VP(a1(eK(u.a),a),87).c,88)?VP(o,26):(Bkt(),Ioe)),26))).dc()||(s?(r||(r=!0,s=new FF(s)),s.Gc(n)):s=n);return(i=function(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new mj(eoe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(Ez(SQ(t,n=VP(a1(i,r),170)))){case 2:case 3:!a&&(a=new iw),a.c[a.c.length]=n}return a||(Gq(),Gq(),TRt)}(t,e)).dc()?s||(Gq(),Gq(),TRt):s?(r||(s=new FF(s)),s.Gc(i),s):i}function Dbt(t,e){var n,i,r,a,o,s,c,u;for(s=null,i=!1,a=0,c=eK((u=AH(e)).a).i;a<c;++a)(n=Dbt(t,VP(hvt(u,a,MI(o=VP(a1(eK(u.a),a),87).c,88)?VP(o,26):(Bkt(),Ioe)),26))).dc()||(s?(i||(i=!0,s=new FF(s)),s.Gc(n)):s=n);return(r=function(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new mj(eoe,e,21,17)),a=null,r=0,o=(i=e.s).i;r<o;++r)switch(Ez(SQ(t,n=VP(a1(i,r),170)))){case 4:case 5:case 6:!a&&(a=new iw),a.c[a.c.length]=n}return a||(Gq(),Gq(),TRt)}(t,e)).dc()?s||(Gq(),Gq(),TRt):s?(i||(s=new FF(s)),s.Gc(r),s):r}function Nbt(t,e,n){var i,r,a,o,s,c;if(MI(e,72))return Tnt(t,e,n);for(s=null,a=null,i=VP(t.g,119),o=0;o<t.i;++o)if(X7(e,(r=i[o]).dd())&&MI(a=r.ak(),99)&&0!=(VP(a,18).Bb&CNt)){s=r;break}return s&&(bM(t.e)&&(c=a.$j()?$H(t,4,a,e,null,Dyt(t,a,e,MI(a,99)&&0!=(VP(a,18).Bb&iTt)),!0):$H(t,a.Kj()?2:1,a,e,a.zj(),-1,!0),n?n.Ei(c):n=c),n=Nbt(t,s,n)),n}function Pbt(t,e,n){var i,r,a,o,s,c,u,l;for(ast(n,kSt,1),t.bf(e),a=0;t.df(a);){for(l=new wd(e.e);l.a<l.c.c.length;)for(c=VP(qU(l),144),s=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[e.e,e.d,e.b])));Xht(s);)(o=VP(xW(s),357))!=c&&(r=t.af(o,c))&&mN(c.a,r);for(u=new wd(e.e);u.a<u.c.c.length;)Hct(i=(c=VP(qU(u),144)).a,-t.d,-t.d,t.d,t.d),mN(c.d,i),IA(i);t.cf(),++a}$ct(n)}function Bbt(t){sE(t,new nst(rx(tx(ix(nx(new bs,fDt),"ELK SPOrE Overlap Removal"),'A node overlap removal algorithm proposed by Nachmanson et al. in "Node overlap removal by growing a tree".'),new is))),BY(t,fDt,tDt,unt(r9t)),BY(t,fDt,fSt,n9t),BY(t,fDt,NSt,8),BY(t,fDt,aDt,unt(i9t)),BY(t,fDt,cDt,unt(t9t)),BY(t,fDt,uDt,unt(e9t)),BY(t,fDt,uLt,(EL(),!1))}function Fbt(t,e,n,i){var r,a,o,s,c,u,l,h;for(o=OO(e.c,n,i),l=new wd(e.a);l.a<l.c.c.length;){for(mN((u=VP(qU(l),10)).n,o),h=new wd(u.j);h.a<h.c.c.length;)for(a=new wd(VP(qU(h),11).g);a.a<a.c.c.length;)for(c1((r=VP(qU(a),17)).a,o),(s=VP(Ost(r,(wkt(),D1t)),74))&&c1(s,o),c=new wd(r.b);c.a<c.c.c.length;)mN(VP(qU(c),70).n,o);nB(t.a,u),u.a=t}}function $bt(t,e,n){var i,r,a,o,s;if(EE(),o=VP(e,66).Oj(),Ngt(t.e,e)){if(e.hi()&&fyt(t,e,n,MI(e,99)&&0!=(VP(e,18).Bb&iTt)))return!1}else for(s=bgt(t.e.Tg(),e),i=VP(t.g,119),a=0;a<t.i;++a)if(r=i[a],s.rl(r.ak()))return!(o?X7(r,n):null==n?null==r.dd():X7(n,r.dd()))&&(VP(jnt(t,a,o?VP(n,72):WG(e,n)),72),!0);return hV(t,o?VP(n,72):WG(e,n))}function jbt(t){var e,i,r,a,o;if(t.d)throw lw(new Vm((uD(fUt),GTt+fUt.k+KTt)));for(t.c==(e8(),nne)&&rxt(t,tne),e=new wd(t.a.a);e.a<e.c.c.length;)VP(qU(e),189).e=0;for(a=new wd(t.a.b);a.a<a.c.c.length;)for((r=VP(qU(a),81)).o=tTt,i=r.f.Kc();i.Ob();)++VP(i.Pb(),81).d.e;for(function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=JEt,r=new wd(t.a.b);r.a<r.c.c.length;)e=VP(qU(r),81),l=n.Math.min(l,e.d.f.g.c+e.e.a);for(g=new T_,s=new wd(t.a.a);s.a<s.c.c.length;)(o=VP(qU(s),189)).i=l,0==o.e&&WK(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=VP(0==g.b?null:(CO(0!=g.b),WJ(g,g.a.a)),189)).f.g.c,d=o.a.a.ec().Kc();d.Ob();)h=VP(d.Pb(),81),b=o.i+h.e.a,h.d.g||h.g.c<b?h.o=b:h.o=h.g.c;for(a-=o.f.o,o.b+=a,t.c==(e8(),ene)||t.c==Jee?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=VP(f.Pb(),81)).f.Kc();u.Ob();)c=VP(u.Pb(),81),p=fM(t.c)?t.f.ef(h,c):t.f.ff(h,c),c.d.i=n.Math.max(c.d.i,h.o+h.g.b+p-c.e.a),c.k||(c.d.i=n.Math.max(c.d.i,c.g.c-c.e.a)),--c.d.e,0==c.d.e&&$B(g,c.d)}for(i=new wd(t.a.b);i.a<i.c.c.length;)(e=VP(qU(i),81)).g.c=e.o}(t),o=new wd(t.a.b);o.a<o.c.c.length;)VP(qU(o),81).k=!0;return t}function Rbt(t,e){var n,i,r,a,o,s,c,u;for(s=new out(t),WK(n=new T_,e,n.c.b,n.c);0!=n.b;){for((i=VP(0==n.b?null:(CO(0!=n.b),WJ(n,n.a.a)),113)).d.p=1,o=new wd(i.e);o.a<o.c.c.length;)Jot(s,r=VP(qU(o),409)),0==(u=r.d).d.p&&WK(n,u,n.c.b,n.c);for(a=new wd(i.b);a.a<a.c.c.length;)Jot(s,r=VP(qU(a),409)),0==(c=r.c).d.p&&WK(n,c,n.c.b,n.c)}return s}function zbt(t){var e,n,i,r,a;if(1!=(i=ev(hD(_ft(t,(Ikt(),Pee))))))for(xM(t,i*t.g,i*t.f),n=function(t){return TR(t),new $A(t)}(function(t,e){return TR(t),TR(e),new qB(t,e)}((!t.c&&(t.c=new mj(cae,t,9,9)),t.c),new qs)),a=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!t.n&&(t.n=new mj(oae,t,1,7)),t.n),(!t.c&&(t.c=new mj(cae,t,9,9)),t.c),n])));Xht(a);)(r=VP(xW(a),470)).Gg(i*r.Dg(),i*r.Eg()),r.Fg(i*r.Cg(),i*r.Bg()),(e=VP(r.We(vee),8))&&(e.a*=i,e.b*=i)}function qbt(t,e,n,i){this.e=t,this.k=VP(Ost(t,(Lkt(),YXt)),304),this.g=WX(UUt,kAt,10,e,0,1),this.b=WX(Hjt,T_t,333,e,7,1),this.a=WX(UUt,kAt,10,e,0,1),this.d=WX(Hjt,T_t,333,e,7,1),this.j=WX(UUt,kAt,10,e,0,1),this.i=WX(Hjt,T_t,333,e,7,1),this.p=WX(Hjt,T_t,333,e,7,1),this.n=WX(Fjt,T_t,476,e,8,1),HE(this.n,(EL(),!1)),this.f=WX(Fjt,T_t,476,e,8,1),HE(this.f,!0),this.o=n,this.c=i}function Hbt(t,e){var n,i,r;if(!e.dc())if(VP(e.Xb(0),286).d==(yut(),pKt))gat(t,e);else for(i=e.Kc();i.Ob();){switch((n=VP(i.Pb(),286)).d.g){case 5:eut(t,n,N9(t,n));break;case 0:eut(t,n,(r=(n.f-n.c+1-1)/2|0,n.c+r));break;case 4:eut(t,n,oJ(t,n));break;case 2:ott(n),eut(t,n,Eot(n)?n.c:n.f);break;case 1:ott(n),eut(t,n,Eot(n)?n.f:n.c)}Cst(n.a)}}function Zbt(t,e,i,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,y,m;for(c=(r+a)/2+o,b=i*n.Math.cos(c),w=i*n.Math.sin(c),y=b-e.g/2,m=w-e.f/2,D1(e,y),N1(e,m),f=t.a.jg(e),(p=2*n.Math.acos(i/i+t.c))<a-r?(d=p/f,s=(r+a-p)/2):(d=(a-r)/f,s=r),g=rpt(e),t.e&&(t.e.kg(t.d),t.e.lg(g)),l=new wd(g);l.a<l.c.c.length;)u=VP(qU(l),33),h=t.a.jg(u),Zbt(t,u,i+t.c,s,s+d*h,o),s+=d*h}function Ubt(t,e){var n,i,r,a;if(ast(e,"Network simplex",1),t.e.a.c.length<1)$ct(e);else{for(r=new wd(t.e.a);r.a<r.c.c.length;)VP(qU(r),121).e=0;for((a=t.e.a.c.length>=40)&&function(t){var e,n,i,r,a,o,s;for(t.o=new nw,i=new T_,o=new wd(t.e.a);o.a<o.c.c.length;)1==d9(a=VP(qU(o),121)).c.length&&WK(i,a,i.c.b,i.c);for(;0!=i.b;)0!=d9(a=VP(0==i.b?null:(CO(0!=i.b),WJ(i,i.a.a)),121)).c.length&&(e=VP(EF(d9(a),0),213),n=a.g.a.c.length>0,s=E9(e,a),WL(n?s.b:s.g,e),1==d9(s).c.length&&WK(i,s,i.c.b,i.c),r=new mS(a,e),IG(t.o,r),sQ(t.e.a,a))}(t),function(t){var e,n,i,r,a,o,s,c,u,l;for(u=t.e.a.c.length,a=new wd(t.e.a);a.a<a.c.c.length;)VP(qU(a),121).j=!1;for(t.i=WX(Kce,CEt,25,u,15,1),t.g=WX(Kce,CEt,25,u,15,1),t.n=new iw,r=0,l=new iw,s=new wd(t.e.a);s.a<s.c.c.length;)(o=VP(qU(s),121)).d=r++,0==o.b.a.c.length&&nB(t.n,o),C4(l,o.g);for(e=0,i=new wd(l);i.a<i.c.c.length;)(n=VP(qU(i),213)).c=e++,n.f=!1;c=l.c.length,null==t.b||t.b.length<c?(t.b=WX(Qce,aTt,25,c,15,1),t.c=WX(Wce,pCt,25,c,16,1)):cv(t.c),t.d=l,t.p=new ZL(AJ(t.d.c.length)),t.j=1}(t),Mgt(t),n=C8(t),i=0;n&&i<t.f;)Qbt(t,n,Tft(t,n)),n=C8(t),++i;a&&function(t){for(var e,n,i,r;!rv(t.o);)n=VP(Oj(t.o),46),i=VP(n.a,121),r=E9(e=VP(n.b,213),i),e.e==i?(KL(r.g,e),i.e=r.e+e.a):(KL(r.b,e),i.e=r.e-e.a),nB(t.e.a,i)}(t),t.a?function(t,e){var n,i,r,a,o;for(o=null,a=new wd(t.e.a);a.a<a.c.c.length;)if((r=VP(qU(a),121)).b.a.c.length==r.g.a.c.length){for(i=r.e,o=Wct(r),n=r.e-VP(o.a,19).a+1;n<r.e+VP(o.b,19).a;n++)e[n]<e[i]&&(i=n);e[i]<e[r.e]&&(--e[r.e],++e[i],r.e=i)}}(t,Ebt(t)):Ebt(t),t.b=null,t.d=null,t.p=null,t.c=null,t.g=null,t.i=null,t.n=null,t.o=null,$ct(e)}}function Ybt(t,e,n,i){var r,a,o,s,c,u,l,h;for(vN(s=new XC(n,i),VP(Ost(e,(p2(),_Zt)),8)),h=new wd(e.e);h.a<h.c.c.length;)mN((l=VP(qU(h),144)).d,s),nB(t.e,l);for(o=new wd(e.c);o.a<o.c.c.length;){for(r=new wd((a=VP(qU(o),282)).a);r.a<r.c.c.length;)mN(VP(qU(r),559).d,s);nB(t.c,a)}for(u=new wd(e.d);u.a<u.c.c.length;)mN((c=VP(qU(u),447)).d,s),nB(t.d,c)}function Gbt(t,e){var n,i,r,a,o,s,c,u;for(c=new wd(e.j);c.a<c.c.c.length;)for(r=new YW((s=VP(qU(c),11)).b);JM(r.a)||JM(r.b);)e!=(a=(n=(i=VP(JM(r.a)?qU(r.a):qU(r.b),17)).c==s?i.d:i.c).i)&&((u=VP(Ost(i,(wkt(),C0t)),19).a)<0&&(u=0),o=a.p,0==t.b[o]&&(i.d==n?(t.a[o]-=u+1,t.a[o]<=0&&t.c[o]>0&&$B(t.f,a)):(t.c[o]-=u+1,t.c[o]<=0&&t.a[o]>0&&$B(t.e,a))))}function Kbt(t,e,n){var i,r,a,o,s,c,u,l,h;for(a=new wX(e.c.length),u=new wd(e);u.a<u.c.c.length;)o=VP(qU(u),10),nB(a,t.b[o.c.p][o.p]);for(function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;for(s=new wd(e);s.a<s.c.c.length;)(a=VP(qU(s),233)).e=null,a.c=0;for(c=null,o=new wd(e);o.a<o.c.c.length;)if(h=(a=VP(qU(o),233)).d[0],!n||h.k==(gct(),HUt)){for(d=VP(Ost(h,(Lkt(),vXt)),15).Kc();d.Ob();)f=VP(d.Pb(),10),n&&f.k!=(gct(),HUt)||((!a.e&&(a.e=new iw),a.e).Fc(t.b[f.c.p][f.p]),++t.b[f.c.p][f.p].c);if(!n&&h.k==(gct(),HUt)){if(c)for(l=VP(jW(t.d,c),21).Kc();l.Ob();)for(u=VP(l.Pb(),10),r=VP(jW(t.d,h),21).Kc();r.Ob();)i=VP(r.Pb(),10),eB(t.b[u.c.p][u.p]).Fc(t.b[i.c.p][i.p]),++t.b[i.c.p][i.p].c;c=h}}}(t,a,n),h=null;h=Hvt(a);)xyt(t,VP(h.a,233),VP(h.b,233),a);for(e.c=WX(G$t,r_t,1,0,5,1),r=new wd(a);r.a<r.c.c.length;)for(c=0,l=(s=(i=VP(qU(r),233)).d).length;c<l;++c)o=s[c],e.c[e.c.length]=o,t.a[o.c.p][o.p].a=NI(i.g,i.d[0]).a}function Wbt(t,e){var n,i,r,a;if(0<(MI(t,14)?VP(t,14).gc():RG(t.Kc()))){if(1<(r=e)){for(--r,a=new yo,i=t.Kc();i.Ob();)n=VP(i.Pb(),86),a=t0(P4(Zv(V$t,1),r_t,20,0,[a,new Bp(n)]));return Wbt(a,r)}if(r<0){for(a=new mo,i=t.Kc();i.Ob();)n=VP(i.Pb(),86),a=t0(P4(Zv(V$t,1),r_t,20,0,[a,new Bp(n)]));if(0<(MI(a,14)?VP(a,14).gc():RG(a.Kc())))return Wbt(a,r)}}return VP(SI(t.Kc()),86)}function Xbt(){Xbt=I,are=new hS("DEFAULT_MINIMUM_SIZE",0),sre=new hS("MINIMUM_SIZE_ACCOUNTS_FOR_PADDING",1),rre=new hS("COMPUTE_PADDING",2),cre=new hS("OUTSIDE_NODE_LABELS_OVERHANG",3),ure=new hS("PORTS_OVERHANG",4),hre=new hS("UNIFORM_PORT_SPACING",5),lre=new hS("SPACE_EFFICIENT_PORT_LABELS",6),ore=new hS("FORCE_TABULAR_NODE_LABELS",7),ire=new hS("ASYMMETRICAL",8)}function Vbt(t,e){var n,i,r,a,o,s,c,u;if(e){if(n=(a=e.Tg())?i1(a).Nh().Jh(a):null){for(Uet(t,e,n),c=0,u=(null==(r=e.Tg()).i&&lyt(r),r.i).length;c<u;++c)null==r.i&&lyt(r),i=r.i,(s=c>=0&&c<i.length?i[c]:null).Ij()&&!s.Jj()&&(MI(s,322)?Nnt(t,VP(s,34),e,n):0!=((o=VP(s,18)).Bb&CNt)&&dot(t,o,e,n));e.kh()&&VP(n,49).vh(VP(e,49).qh())}return n}return null}function Qbt(t,e,n){var i,r,a;if(!e.f)throw lw(new Xm("Given leave edge is no tree edge."));if(n.f)throw lw(new Xm("Given enter edge is a tree edge already."));for(e.f=!1,CI(t.p,e),n.f=!0,jj(t.p,n),i=n.e.e-n.d.e-n.a,flt(t,n.e,e)||(i=-i),a=new wd(t.e.a);a.a<a.c.c.length;)flt(t,r=VP(qU(a),121),e)||(r.e+=i);t.j=1,cv(t.c),Dlt(t,VP(qU(new wd(t.e.a)),121)),vvt(t)}function Jbt(t,e){var n,i,r,a,o,s;if((s=VP(Ost(e,(wkt(),w0t)),98))==($ot(),uie)||s==cie)for(r=new XC(e.f.a+e.d.b+e.d.c,e.f.b+e.d.d+e.d.a).b,o=new wd(t.a);o.a<o.c.c.length;)(a=VP(qU(o),10)).k==(gct(),RUt)&&((n=VP(Ost(a,(Lkt(),hXt)),61))!=(Mxt(),_ie)&&n!=Hie||(i=ev(hD(Ost(a,jXt))),s==uie&&(i*=r),a.n.b=i-VP(Ost(a,p0t),8).b,d4(a,!1,!0)))}function twt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;if(function(t,e,n){var i,r,a;for(r=e[n],i=0;i<r.length;i++)a=r[i],t.e[a.c.p][a.p]=i}(t,e,n),a=e[n],d=i?(Mxt(),Hie):(Mxt(),_ie),function(t,e,n){return n?0!=e:e!=t-1}(e.length,n,i)){for(fX(t,r=e[i?n-1:n+1],i?(l0(),r3t):(l0(),i3t)),l=0,f=(c=a).length;l<f;++l)cit(t,o=c[l],d);for(fX(t,a,i?(l0(),i3t):(l0(),r3t)),u=0,h=(s=r).length;u<h;++u)(o=s[u]).e||cit(t,o,I8(d))}else for(u=0,h=(s=a).length;u<h;++u)cit(t,o=s[u],d);return!1}function ewt(t,e,n,i){var r,a,o,s,c;s=i9(e,n),(n==(Mxt(),zie)||n==Hie)&&(s=MI(s,152)?FW(VP(s,152)):MI(s,131)?VP(s,131).a:MI(s,54)?new Em(s):new r_(s)),o=!1;do{for(r=!1,a=0;a<s.gc()-1;a++)Jst(t,VP(s.Xb(a),11),VP(s.Xb(a+1),11),i)&&(o=!0,eY(t.a,VP(s.Xb(a),11),VP(s.Xb(a+1),11)),c=VP(s.Xb(a+1),11),s._c(a+1,VP(s.Xb(a),11)),s._c(a,c),r=!0)}while(r);return o}function nwt(t){var e,i,r,a,o,s,c,u;for(u=new rw,e=new Jw,s=t.Kc();s.Ob();)a=VP(s.Pb(),10),c=qL(B_(new ny,a),e),Qut(u.f,a,c);for(o=t.Kc();o.Ob();)for(r=new O$(dL(c9(a=VP(o.Pb(),10)).a.Kc(),new l));Xht(r);)JK(i=VP(xW(r),17))||cgt(N_(D_(O_(P_(new ey,n.Math.max(1,VP(Ost(i,(wkt(),S0t)),19).a)),1),VP(zR(u,i.c.i),121)),VP(zR(u,i.d.i),121)));return e}function iwt(){iwt=I,A4t=cF(new hG,(Dst(),eUt),(Dkt(),DYt)),I4t=cF(new hG,tUt,FYt),L4t=v$(cF(new hG,tUt,VYt),nUt,XYt),S4t=v$(cF(cF(new hG,tUt,SYt),eUt,AYt),nUt,MYt),O4t=det(det(dE(v$(cF(new hG,QZt,sGt),nUt,oGt),eUt),aGt),cGt),M4t=v$(new hG,nUt,NYt),T4t=v$(cF(cF(cF(new hG,JZt,RYt),eUt,qYt),eUt,HYt),nUt,zYt),C4t=v$(cF(cF(new hG,eUt,HYt),eUt,kYt),nUt,xYt)}function rwt(t,e,n){var i,r,a,o;if(null==t)throw lw(new Av(s_t));for(i=(a=t.length)>0&&(DU(0,t.length),45==t.charCodeAt(0)||(DU(0,t.length),43==t.charCodeAt(0)))?1:0;i<a;i++)if(-1==cet((DU(i,t.length),t.charCodeAt(i))))throw lw(new Av(QEt+t+'"'));if(r=(o=parseInt(t,10))<e,isNaN(o))throw lw(new Av(QEt+t+'"'));if(r||o>n)throw lw(new Av(QEt+t+'"'));return o}function awt(t){switch(t){case 100:return $kt(T$t,!0);case 68:return $kt(T$t,!1);case 119:return $kt(C$t,!0);case 87:return $kt(C$t,!1);case 115:return $kt(S$t,!0);case 83:return $kt(S$t,!1);case 99:return $kt(A$t,!0);case 67:return $kt(A$t,!1);case 105:return $kt(M$t,!0);case 73:return $kt(M$t,!1);default:throw lw(new Am(E$t+t.toString(16)))}}function owt(t,e,n,i,r){n&&(!i||(t.c-t.b&t.a.length-1)>1)&&1==e&&VP(t.a[t.b],10).k==(gct(),zUt)?Rwt(VP(t.a[t.b],10),(zrt(),Fne)):i&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&VP(t.a[t.c-1&t.a.length-1],10).k==(gct(),zUt)?Rwt(VP(t.a[t.c-1&t.a.length-1],10),(zrt(),$ne)):2==(t.c-t.b&t.a.length-1)?(Rwt(VP(E5(t),10),(zrt(),Fne)),Rwt(VP(E5(t),10),$ne)):function(t,e){var n,i,r,a,o,s,c,u,l;for(c=lO(t.c-t.b&t.a.length-1),u=null,l=null,a=new Wz(t);a.a!=a.b;)r=VP(g7(a),10),n=(s=VP(Ost(r,(Lkt(),TXt)),11))?s.i:null,i=(o=VP(Ost(r,CXt),11))?o.i:null,u==n&&l==i||(mft(c,e),u=n,l=i),c.c[c.c.length]=r;mft(c,e)}(t,r),iK(t)}function swt(t,e,n){var i,r,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(Gz(t,e[0])){case 43:r=1;break;case 45:r=-1;break;default:return n.o=0,!0}if(++e[0],a=e[0],0==(o=Glt(t,e))&&e[0]==a)return!1;if(e[0]<t.length&&58==Gz(t,e[0])){if(i=60*o,++e[0],a=e[0],0==(o=Glt(t,e))&&e[0]==a)return!1;i+=o}else(i=o)<24&&e[0]-a<=2?i*=60:i=i%100+60*(i/100|0);return i*=r,n.o=-i,!0}function cwt(t){var e,n,i,r,a,o,s;for(r=new iw,i=new O$(dL(c9(t.b).a.Kc(),new l));Xht(i);)JK(n=VP(xW(i),17))&&nB(r,new WW(n,yV(t,n.c),yV(t,n.d)));for(s=new sd(new Jf(t.e).a.vc().Kc());s.a.Ob();)e=VP(s.a.Pb(),42),(a=VP(e.dd(),113)).d.p=0;for(o=new sd(new Jf(t.e).a.vc().Kc());o.a.Ob();)e=VP(o.a.Pb(),42),0==(a=VP(e.dd(),113)).d.p&&nB(t.d,Rbt(t,a))}function uwt(t,e,n,i){var r,a,o,s,c;return o=t.eh(),r=null,(c=t.Zg())?e&&0==(Mbt(t,e,n).Bb&iTt)?(i=Tnt(c.Vk(),t,i),t.uh(null),r=e.fh()):c=null:(o&&(c=o.fh()),e&&(r=e.fh())),c!=r&&c&&c.Zk(t),s=t.Vg(),t.Rg(e,n),c!=r&&r&&r.Yk(t),t.Lg()&&t.Mg()&&(o&&s>=0&&s!=n&&(a=new wj(t,1,s,o,null),i?i.Ei(a):i=a),n>=0&&(a=new wj(t,1,n,s==n?o:null,e),i?i.Ei(a):i=a)),i}function lwt(t){var e,n,i;if(null==t.b){if(i=new Mv,null!=t.i&&(wA(i,t.i),i.a+=":"),0!=(256&t.f)){for(0!=(256&t.f)&&null!=t.a&&(function(t){return null!=t&&h_(Fae,t.toLowerCase())}(t.i)||(i.a+="//"),wA(i,t.a)),null!=t.d&&(i.a+="/",wA(i,t.d)),0!=(16&t.f)&&(i.a+="/"),e=0,n=t.j.length;e<n;e++)0!=e&&(i.a+="/"),wA(i,t.j[e]);null!=t.g&&(i.a+="?",wA(i,t.g))}else wA(i,t.a);null!=t.e&&(i.a+="#",wA(i,t.e)),t.b=i.a}return t.b}function hwt(t,e,n){var i,r,a,o,s;ast(n,"Minimize Crossings "+t.a,1),i=0==e.b.c.length||!nk(lq(new CF(null,new NU(e.b,16)),new Md(new La))).sd((q_(),bzt)),s=1==e.b.c.length&&1==VP(EF(e.b,0),29).a.c.length,a=iA(Ost(e,(wkt(),E1t)))===iA((I7(),One)),i||s&&!a||(function(t,e){var n,i;for(i=tnt(t,0);i.b!=i.d.c;)(n=VP(AG(i),214)).e.length>0&&(e.td(n),n.i&&E8(n))}(r=mgt(t,e),(o=VP(knt(r,0),214)).c.Rf()?o.c.Lf()?new pp(t):new bp(t):new gp(t)),function(t){var e,n,i;for(i=new wd(t.b);i.a<i.c.c.length;)(e=(n=VP(qU(i),214)).c.Rf()?n.f:n.a)&&Gmt(e,n.j)}(t)),$ct(n)}function fwt(t,e,n){var i,r,a,o,s;for(a=0;a<e;a++){for(i=0,s=a+1;s<e;s++)i=e9(e9(n9(ZU(t[a],cTt),ZU(t[s],cTt)),ZU(n[a+s],cTt)),ZU(KF(i),cTt)),n[a+s]=KF(i),i=Y$(i,32);n[a+e]=KF(i)}for(function(t,e,n){var i,r,a;for(i=0,r=0;r<n;r++)a=e[r],t[r]=a<<1|i,i=a>>>31;0!=i&&(t[n]=i)}(n,n,e<<1),i=0,r=0,o=0;r<e;++r,o++)i=e9(e9(n9(ZU(t[r],cTt),ZU(t[r],cTt)),ZU(n[o],cTt)),ZU(KF(i),cTt)),n[o]=KF(i),i=e9(i=Y$(i,32),ZU(n[++o],cTt)),n[o]=KF(i),i=Y$(i,32);return n}function dwt(t,e,i){var r,a,o,s,c,u,l,h;if(!TG(e)){for(u=ev(hD(wtt(i.c,(wkt(),W0t)))),!(l=VP(wtt(i.c,K0t),142))&&(l=new Ty),r=i.a,a=null,c=e.Kc();c.Ob();)s=VP(c.Pb(),11),h=0,a?(h=u,h+=a.o.b):h=l.d,o=qL(B_(new ny,s),t.f),Pz(t.k,s,o),cgt(N_(D_(O_(P_(new ey,0),cZ(n.Math.ceil(h))),r),o)),a=s,r=o;cgt(N_(D_(O_(P_(new ey,0),cZ(n.Math.ceil(l.a+a.o.b))),r),i.d))}}function gwt(t,e,n,i,r,a,o,s){var c,u,l;return l=!1,u=a-n.s,c=n.t-e.f+umt(n,u,!1).a,!(i.g+s>u)&&(c+s+umt(i,u,!1).a<=e.b&&(wV(n,a-n.s),n.c=!0,wV(i,a-n.s),Vnt(i,n.s,n.t+n.d+s),i.k=!0,c3(n.q,i),l=!0,r&&(a0(e,i),i.j=e,t.c.length>o&&(sat((OU(o,t.c.length),VP(t.c[o],200)),i),0==(OU(o,t.c.length),VP(t.c[o],200)).a.c.length&&$W(t,o)))),l)}function pwt(t,e,n){var i,r,a,o,s;if(0==e.p){for(e.p=1,(r=n)||(r=new mS(new iw,new aP(i=VP(Lx(ere),9),VP(nN(i,i.length),9),0))),VP(r.a,15).Fc(e),e.k==(gct(),RUt)&&VP(r.b,21).Fc(VP(Ost(e,(Lkt(),hXt)),61)),o=new wd(e.j);o.a<o.c.c.length;)for(a=VP(qU(o),11),s=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(a),new dg(a)])));Xht(s);)pwt(t,VP(xW(s),11).i,r);return r}return null}function bwt(t,e){var n,i,r,a,o;if(t.Ab)if(t.Ab){if((o=t.Ab.i)>0)if(r=VP(t.Ab.g,1934),null==e){for(a=0;a<o;++a)if(null==(n=r[a]).d)return n}else for(a=0;a<o;++a)if(jN(e,(n=r[a]).d))return n}else if(null==e){for(i=new YI(t.Ab);i.e!=i.i.gc();)if(null==(n=VP(hnt(i),590)).d)return n}else for(i=new YI(t.Ab);i.e!=i.i.gc();)if(jN(e,(n=VP(hnt(i),590)).d))return n;return null}function wwt(t,e){var n,i,r,a,o,s,c;if(null==(c=lD(Ost(e,(oft(),W5t))))||(yz(c),c)){for(function(t,e){var n,i,r,a,o;for(r=e.b.b,t.a=WX(J$t,bSt,15,r,0,1),t.b=WX(Wce,pCt,25,r,16,1),o=tnt(e.b,0);o.b!=o.d.c;)a=VP(AG(o),86),t.a[a.g]=new T_;for(i=tnt(e.a,0);i.b!=i.d.c;)n=VP(AG(i),188),t.a[n.b.g].Fc(n),t.a[n.c.g].Fc(n)}(t,e),r=new iw,s=tnt(e.b,0);s.b!=s.d.c;)(n=vut(t,VP(AG(s),86),null))&&(c4(n,e),r.c[r.c.length]=n);if(t.a=null,t.b=null,r.c.length>1)for(i=new wd(r);i.a<i.c.c.length;)for(a=0,o=tnt((n=VP(qU(i),135)).b,0);o.b!=o.d.c;)VP(AG(o),86).g=a++;return r}return BW(P4(Zv(a5t,1),wSt,135,0,[e]))}function ywt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w;V0(d=function(t,e,n){var i;return i=iet(n),Sbt(t.d,i,e),Pz(t.e,e,n),e}(t,W4(e),r),cG(r,aPt)),p=sG(g=r,cPt),function(t,e){var n,i;if(!e)throw lw(new lv("All edge sections need a start point."));n=H1(e,"x"),P1(new rb(t).a,(yz(n),n)),i=H1(e,"y"),F1(new ab(t).a,(yz(i),i))}(new nb(d).a,p),b=sG(g,"endPoint"),function(t,e){var n,i;if(!e)throw lw(new lv("All edge sections need an end point."));n=H1(e,"x"),I1(new sb(t).a,(yz(n),n)),i=H1(e,"y"),B1(new cb(t).a,(yz(i),i))}(new ob(d).a,b),w=aG(g,QNt),function(t,e){var n,i,r;if(e)for(r=((n=new N$(e.a.length)).b-n.a)*n.c<0?(SE(),Rce):new cL(n);r.Ob();)i=oG(e,VP(r.Pb(),19).a),uq(new lb(t).a,i)}(new ub(d).a,w),h=cG(r,tPt),function(t,e,n){null!=n&&D0(e,Zit(t,n))}((a=new TS(t,d)).a,a.b,h),f=cG(r,JNt),function(t,e,n){null!=n&&N0(e,Zit(t,n))}((o=new CS(t,d)).a,o.b,f),u=aG(r,nPt),function(t,e,n){var i,r;if(n)for(r=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);r.Ob();)Vlt(t,e,Plt(WQ(n,VP(r.Pb(),19).a)))}((s=new SS(n,d)).b,s.a,u),l=aG(r,ePt),function(t,e,n){var i,r;if(n)for(r=((i=new N$(n.a.length)).b-i.a)*i.c<0?(SE(),Rce):new cL(i);r.Ob();)Vlt(t,e,Plt(WQ(n,VP(r.Pb(),19).a)))}((c=new AS(i,d)).b,c.a,l)}function mwt(t,e,n){var i,r,a,o,s;switch(s=null,e.g){case 1:for(r=new wd(t.j);r.a<r.c.c.length;)if(tv(lD(Ost(i=VP(qU(r),11),(Lkt(),bXt)))))return i;d5(s=new Mct,(Lkt(),bXt),(EL(),!0));break;case 2:for(o=new wd(t.j);o.a<o.c.c.length;)if(tv(lD(Ost(a=VP(qU(o),11),(Lkt(),BXt)))))return a;d5(s=new Mct,(Lkt(),BXt),(EL(),!0))}return s&&(JZ(s,t),plt(s,n),function(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}(s.n,t.o,n)),s}function vwt(t,e){var i,r,a,o,s,c;for(c=-1,s=new T_,r=new YW(t.b);JM(r.a)||JM(r.b);){for(i=VP(JM(r.a)?qU(r.a):qU(r.b),17),c=n.Math.max(c,ev(hD(Ost(i,(wkt(),x1t))))),i.c==t?C_(lq(new CF(null,new NU(i.b,16)),new hn),new _g(s)):C_(lq(new CF(null,new NU(i.b,16)),new fn),new Eg(s)),o=tnt(s,0);o.b!=o.d.c;)IO(a=VP(AG(o),70),(Lkt(),sXt))||d5(a,sXt,i);C4(e,s),zq(s)}return c}function xwt(t,e,n,i,r){var a,o,s,c;Lf(a=new ait(t),(gct(),ZUt)),d5(a,(wkt(),w0t),($ot(),cie)),d5(a,(Lkt(),IXt),e.c.i),d5(o=new Mct,IXt,e.c),plt(o,r),JZ(o,a),d5(e.c,$Xt,a),Lf(s=new ait(t),ZUt),d5(s,w0t,cie),d5(s,IXt,e.d.i),d5(c=new Mct,IXt,e.d),plt(c,r),JZ(c,s),d5(e.d,$Xt,s),VZ(e,o),XZ(e,c),iU(0,n.c.length),ZE(n.c,0,a),i.c[i.c.length]=s,d5(a,nXt,p8(1)),d5(s,nXt,p8(1))}function kwt(t,e,i,r,a){var o,s,c,u,l;c=a?r.b:r.a,b_(t.a,r)||(l=c>i.s&&c<i.c,u=!1,0!=i.e.b&&0!=i.j.b&&(u|=n.Math.abs(c-ev(hD(bO(i.e))))<ASt&&n.Math.abs(c-ev(hD(bO(i.j))))<ASt,u|=n.Math.abs(c-ev(hD(wO(i.e))))<ASt&&n.Math.abs(c-ev(hD(wO(i.j))))<ASt),(l||u)&&((s=VP(Ost(e,(wkt(),D1t)),74))||(s=new Ny,d5(e,D1t,s)),WK(s,o=new hM(r),s.c.b,s.c),jj(t.a,o)))}function _wt(t,e,n,i){var r,a,o,s,c,u,l;if(function(t,e,n,i){var r,a,o,s,c,u;for(r=0;r<e.o;r++)for(a=r-e.j+n,o=0;o<e.p;o++)if(c=a,u=s=o-e.k+i,c+=t.j,u+=t.k,c>=0&&u>=0&&c<t.o&&u<t.p&&(!Bit(e,r,o)&&Tit(t,a,s)||Pit(e,r,o)&&!Cit(t,a,s)))return!0;return!1}(t,e,n,i))return!0;for(o=new wd(e.f);o.a<o.c.c.length;){switch(a=VP(qU(o),324),s=!1,u=(c=t.j-e.j+n)+e.o,r=(l=t.k-e.k+i)+e.p,a.a.g){case 0:s=w6(t,c+a.b.a,0,c+a.c.a,l-1);break;case 1:s=w6(t,u,l+a.b.a,t.o-1,l+a.c.a);break;case 2:s=w6(t,c+a.b.a,r,c+a.c.a,t.p-1);break;default:s=w6(t,0,l+a.b.a,c-1,l+a.c.a)}if(s)return!0}return!1}function Ewt(t){sE(t,new nst(rx(tx(ix(nx(new bs,ADt),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Bs))),BY(t,ADt,fSt,ote),BY(t,ADt,NSt,15),BY(t,ADt,DSt,p8(0)),BY(t,ADt,GOt,unt(tte)),BY(t,ADt,HSt,unt(nte)),BY(t,ADt,qSt,unt(rte)),BY(t,ADt,hSt,SDt),BY(t,ADt,$St,unt(ete)),BY(t,ADt,iAt,unt(ite)),BY(t,ADt,MDt,unt(Q9t)),BY(t,ADt,_Lt,unt(J9t))}function Twt(t,e){var n,i,r,a,o,s,c,u,l;if(o=(r=t.i).o.a,a=r.o.b,o<=0&&a<=0)return Mxt(),qie;switch(u=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(u<0)return Mxt(),Hie;if(u+s>o)return Mxt(),_ie;break;case 4:case 3:if(l<0)return Mxt(),Eie;if(l+n>a)return Mxt(),zie}return(c=(u+s/2)/o)+(i=(l+n/2)/a)<=1&&c-i<=0?(Mxt(),Hie):c+i>=1&&c-i>=0?(Mxt(),_ie):i<.5?(Mxt(),Eie):(Mxt(),zie)}function Cwt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(n=!1,c=ev(hD(Ost(e,(wkt(),U0t)))),f=tEt*c,r=new wd(e.b);r.a<r.c.c.length;)for(i=VP(qU(r),29),a=VP(qU(s=new wd(i.a)),10),u=Lj(t.a[a.p]);s.a<s.c.c.length;)o=VP(qU(s),10),u!=(l=Lj(t.a[o.p]))&&(h=fI(t.b,a,o),a.n.b+a.o.b+a.d.a+u.a+h>o.n.b-o.d.d+l.a+f&&(d=u.g+l.g,l.a=(l.g*l.a+u.g*u.a)/d,l.g=d,u.f=l,n=!0)),a=o,u=l;return n}function Swt(t,e,n,i,r,a,o){var s,c,u,l,h;for(h=new lM,c=e.Kc();c.Ob();)for(l=new wd(VP(c.Pb(),839).wf());l.a<l.c.c.length;)iA((u=VP(qU(l),181)).We((Ikt(),Lte)))===iA((JJ(),cne))&&(ybt(h,u,!1,i,r,a,o),gut(t,h));for(s=n.Kc();s.Ob();)for(l=new wd(VP(s.Pb(),839).wf());l.a<l.c.c.length;)iA((u=VP(qU(l),181)).We((Ikt(),Lte)))===iA((JJ(),sne))&&(ybt(h,u,!0,i,r,a,o),gut(t,h))}function Awt(t,e){var i,r,a,o;return r=n.Math.min(n.Math.abs(t.c-(e.c+e.b)),n.Math.abs(t.c+t.b-e.c)),o=n.Math.min(n.Math.abs(t.d-(e.d+e.a)),n.Math.abs(t.d+t.a-e.d)),(i=n.Math.abs(t.c+t.b/2-(e.c+e.b/2)))>t.b/2+e.b/2||(a=n.Math.abs(t.d+t.a/2-(e.d+e.a/2)))>t.a/2+e.a/2?1:0==i&&0==a?0:0==i?o/a+1:0==a?r/i+1:n.Math.min(r/i,o/a)+1}function Mwt(t,e){var i,r,a,o,s,c;return(a=s0(t))==(c=s0(e))?t.e==e.e&&t.a<54&&e.a<54?t.f<e.f?-1:t.f>e.f?1:0:(r=t.e-e.e,(i=(t.d>0?t.d:n.Math.floor((t.a-1)*sTt)+1)-(e.d>0?e.d:n.Math.floor((e.a-1)*sTt)+1))>r+1?a:i<r-1?-a:(!t.c&&(t.c=Q6(t.f)),o=t.c,!e.c&&(e.c=Q6(e.f)),s=e.c,r<0?o=sJ(o,Byt(-r)):r>0&&(s=sJ(s,Byt(r))),set(o,s))):a<c?-1:1}function Iwt(t,e){var n,i,r,a,o,s,c;for(a=0,s=0,c=0,r=new wd(t.f.e);r.a<r.c.c.length;)e!=(i=VP(qU(r),144))&&(a+=o=t.i[e.b][i.b],(n=aV(e.d,i.d))>0&&t.d!=(MQ(),YZt)&&(s+=o*(i.d.a+t.a[e.b][i.b]*(e.d.a-i.d.a)/n)),n>0&&t.d!=(MQ(),ZZt)&&(c+=o*(i.d.b+t.a[e.b][i.b]*(e.d.b-i.d.b)/n)));switch(t.d.g){case 1:return new XC(s/a,e.d.b);case 2:return new XC(e.d.a,c/a);default:return new XC(s/a,c/a)}}function Lwt(t,e){var n,i,r,a;if(L6(),a=VP(Ost(t.i,(wkt(),w0t)),98),0!=t.j.g-e.j.g||a!=($ot(),sie)&&a!=uie&&a!=cie)return 0;if(a==($ot(),sie)&&(n=VP(Ost(t,y0t),19),i=VP(Ost(e,y0t),19),n&&i&&0!=(r=n.a-i.a)))return r;switch(t.j.g){case 1:return O8(t.n.a,e.n.a);case 2:return O8(t.n.b,e.n.b);case 3:return O8(e.n.a,t.n.a);case 4:return O8(e.n.b,t.n.b);default:throw lw(new Vm(vAt))}}function Owt(t){var e,n,i,r,a;for(nB(a=new wX((!t.a&&(t.a=new GI(Xre,t,5)),t.a).i+2),new XC(t.j,t.k)),C_(new CF(null,(!t.a&&(t.a=new GI(Xre,t,5)),new NU(t.a,16))),new Qp(a)),nB(a,new XC(t.b,t.c)),e=1;e<a.c.length-1;)OU(e-1,a.c.length),n=VP(a.c[e-1],8),OU(e,a.c.length),i=VP(a.c[e],8),OU(e+1,a.c.length),r=VP(a.c[e+1],8),n.a==i.a&&i.a==r.a||n.b==i.b&&i.b==r.b?$W(a,e):++e;return a}function Dwt(t,e){var n,i,r,a,o,s,c;for(n=zL(L_(M_(I_(new sy,e),new EH(e.e)),LGt),t.a),0==e.j.c.length||$V(VP(EF(e.j,0),57).a,n),c=new aw,Pz(t.e,n,c),o=new Xw,s=new Xw,a=new wd(e.k);a.a<a.c.c.length;)jj(o,(r=VP(qU(a),17)).c),jj(s,r.d);(i=o.a.gc()-s.a.gc())<0?(V4(c,!0,(e8(),tne)),V4(c,!1,ene)):i>0&&(V4(c,!1,(e8(),tne)),V4(c,!0,ene)),KJ(e.g,new ST(t,n)),Pz(t.g,e,n)}function Nwt(){var t;for(Nwt=I,Wjt=P4(Zv(Kce,1),CEt,25,15,[-1,-1,30,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5]),Xjt=WX(Kce,CEt,25,37,15,1),Vjt=P4(Zv(Kce,1),CEt,25,15,[-1,-1,63,40,32,28,25,23,21,20,19,19,18,18,17,17,16,16,16,15,15,15,15,14,14,14,14,14,14,13,13,13,13,13,13,13,13]),Qjt=WX(Xce,nTt,25,37,14,1),t=2;t<=36;t++)Xjt[t]=cZ(n.Math.pow(t,Wjt[t])),Qjt[t]=qat(M_t,Xjt[t])}function Pwt(t){var e;if(1!=(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i)throw lw(new Xm(iNt+(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i));return e=new Ny,_4(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82))&&M2(e,vkt(t,_4(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)),!1)),_4(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))&&M2(e,vkt(t,_4(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82)),!0)),e}function Bwt(t,e){var n,i,r;for(r=!1,i=new O$(dL((e.d?t.a.c==(QH(),b4t)?s9(e.b):c9(e.b):t.a.c==(QH(),p4t)?s9(e.b):c9(e.b)).a.Kc(),new l));Xht(i);)if(n=VP(xW(i),17),(tv(t.a.f[t.a.g[e.b.p].p])||JK(n)||n.c.i.c!=n.d.i.c)&&!tv(t.a.n[t.a.g[e.b.p].p])&&!tv(t.a.n[t.a.g[e.b.p].p])&&(r=!0,b_(t.b,t.a.g[Yit(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=r,e.a=null,e}function Fwt(t,e,n){var i,r,a,o,s,c,u;if(0==(i=n.gc()))return!1;if(t.ej())if(c=t.fj(),X9(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,c):t.Zi(5,null,n,e,c),t.bj()){for(s=i<100?null:new _x(i),a=e+i,r=e;r<a;++r)u=t.Oi(r),s=t.cj(u,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(X9(t,e,n),t.bj()){for(s=i<100?null:new _x(i),a=e+i,r=e;r<a;++r)s=t.cj(t.Oi(r),s);s&&s.Fi()}return!0}function $wt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=t.Ui(e,t.oi(e,n)),n,e,a),t.bj()&&!(t.ni()&&o?X7(o,n):iA(o)===iA(n))?(o&&(r=t.dj(o,r)),(r=t.cj(n,r))?(r.Ei(i),r.Fi()):t.$i(i)):r?(r.Ei(i),r.Fi()):t.$i(i),o):(o=t.Ui(e,t.oi(e,n)),t.bj()&&!(t.ni()&&o?X7(o,n):iA(o)===iA(n))&&(r=null,o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function jwt(t,e){var i,r,a,o,s,c,u,l;if(t.e=e,t.f=VP(Ost(e,(p2(),TZt)),230),function(t){var e,n,i;for(i=t.e.c.length,t.a=hF(Kce,[T_t,CEt],[48,25],15,[i,i],2),n=new wd(t.c);n.a<n.c.c.length;)e=VP(qU(n),282),t.a[e.c.b][e.d.b]+=VP(Ost(e,(qpt(),gZt)),19).a}(e),t.d=n.Math.max(16*e.e.c.length+e.c.c.length,256),!tv(lD(Ost(e,(qpt(),iZt)))))for(l=t.e.e.c.length,c=new wd(e.e);c.a<c.c.c.length;)(u=VP(qU(c),144).d).a=o$(t.f)*l,u.b=o$(t.f)*l;for(i=e.b,o=new wd(e.c);o.a<o.c.c.length;)if(a=VP(qU(o),282),(r=VP(Ost(a,wZt),19).a)>0){for(s=0;s<r;s++)nB(i,new pR(a));dlt(a)}}function Rwt(t,e){var i,r,a,o,s;if(t.k==(gct(),zUt)&&(i=nk(lq(VP(Ost(t,(Lkt(),qXt)),15).Oc(),new Md(new ri))).sd((q_(),bzt))?e:(zrt(),jne),d5(t,kXt,i),i!=(zrt(),$ne)))for(r=VP(Ost(t,IXt),17),s=ev(hD(Ost(r,(wkt(),x1t)))),o=0,i==Fne?o=t.o.b-n.Math.ceil(s/2):i==jne&&(t.o.b-=ev(hD(Ost(pz(t),F0t))),o=(t.o.b-n.Math.ceil(s))/2),a=new wd(t.j);a.a<a.c.c.length;)VP(qU(a),11).n.b=o}function zwt(){zwt=I,_E(),jce=new Fl,P4(Zv(Yoe,2),T_t,368,0,[P4(Zv(Yoe,1),$$t,592,0,[new Ek(s$t)])]),P4(Zv(Yoe,2),T_t,368,0,[P4(Zv(Yoe,1),$$t,592,0,[new Ek(c$t)])]),P4(Zv(Yoe,2),T_t,368,0,[P4(Zv(Yoe,1),$$t,592,0,[new Ek(u$t)]),P4(Zv(Yoe,1),$$t,592,0,[new Ek(c$t)])]),new AM("-1"),P4(Zv(Yoe,2),T_t,368,0,[P4(Zv(Yoe,1),$$t,592,0,[new Ek("\\c+")])]),new AM("0"),new AM("0"),new AM("1"),new AM("0"),new AM(m$t)}function qwt(t){var e,n;return t.c&&t.c.kh()&&(n=VP(t.c,49),t.c=VP(S7(t,n),138),t.c!=n&&(0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,9,2,n,t.c)),MI(t.Cb,399)?t.Db>>16==-15&&t.Cb.nh()&&yQ(new xV(t.Cb,9,13,n,t.c,$nt(AQ(VP(t.Cb,59)),t))):MI(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(MI(e=t.c,88)||(Bkt(),e=Ioe),MI(n,88)||(Bkt(),n=Ioe),yQ(new xV(t.Cb,9,10,n,e,$nt(eK(VP(t.Cb,26)),t)))))),t.c}function Hwt(t,e,n){var i,r,a,o,s,c,u,l;for(ast(n,"Hyperedge merging",1),function(t,e){var n,i,r,a;for((a=VP(xK(KQ(KQ(new CF(null,new NU(e.b,16)),new Fn),new $n),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15)).Jc(new jn),n=0,r=a.Kc();r.Ob();)-1==(i=VP(r.Pb(),11)).p&&pft(t,i,n++)}(t,e),s=new QY(e.b,0);s.b<s.d.gc();)if(CO(s.b<s.d.gc()),0!=(u=VP(s.d.Xb(s.c=s.b++),29).a).c.length)for(i=null,r=null,a=null,o=null,c=0;c<u.c.length;c++)OU(c,u.c.length),(r=(i=VP(u.c[c],10)).k)==(gct(),qUt)&&o==qUt&&(l=dmt(i,a)).a&&(Vgt(i,a,l.b,l.c),OU(c,u.c.length),sk(u.c,c,1),--c,i=a,r=o),a=i,o=r;$ct(n)}function Zwt(t,e){var n,i,r;i=0!=Kft(t.d,1),!tv(lD(Ost(e.j,(Lkt(),dXt))))&&!tv(lD(Ost(e.j,ZXt)))||iA(Ost(e.j,(wkt(),KJt)))===iA((x5(),W2t))?e.c.Tf(e.e,i):i=tv(lD(Ost(e.j,dXt))),tgt(t,e,i,!0),tv(lD(Ost(e.j,ZXt)))&&d5(e.j,ZXt,(EL(),!1)),tv(lD(Ost(e.j,dXt)))&&(d5(e.j,dXt,(EL(),!1)),d5(e.j,ZXt,!0)),n=wbt(t,e);do{if(x2(t),0==n)return 0;r=n,tgt(t,e,i=!i,!1),n=wbt(t,e)}while(r>n);return r}function Uwt(t,e){var n,i,r;i=0!=Kft(t.d,1),!tv(lD(Ost(e.j,(Lkt(),dXt))))&&!tv(lD(Ost(e.j,ZXt)))||iA(Ost(e.j,(wkt(),KJt)))===iA((x5(),W2t))?e.c.Tf(e.e,i):i=tv(lD(Ost(e.j,dXt))),tgt(t,e,i,!0),tv(lD(Ost(e.j,ZXt)))&&d5(e.j,ZXt,(EL(),!1)),tv(lD(Ost(e.j,dXt)))&&(d5(e.j,dXt,(EL(),!1)),d5(e.j,ZXt,!0)),n=$ut(t,e);do{if(x2(t),0==n)return 0;r=n,tgt(t,e,i=!i,!1),n=$ut(t,e)}while(r>n);return r}function Ywt(t,e,n){var i,r,a,o,s,c,u;if(e==n)return!0;if(e=Kht(t,e),n=Kht(t,n),i=pit(e)){if((c=pit(n))!=i)return!!c&&(o=i.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new GI(loe,e,1)),r=(a=e.d).i,!n.d&&(n.d=new GI(loe,n,1)),r==(u=n.d).i)for(s=0;s<r;++s)if(!Ywt(t,VP(a1(a,s),87),VP(a1(u,s),87)))return!1;return!0}return e.e==n.e}function Gwt(t,e,n,i){var r,a,o,s,c,u,l,h;if(Ngt(t.e,e)){for(h=bgt(t.e.Tg(),e),a=VP(t.g,119),l=null,c=-1,s=-1,r=0,u=0;u<t.i;++u)o=a[u],h.rl(o.ak())&&(r==n&&(c=u),r==i&&(s=u,l=o.dd()),++r);if(-1==c)throw lw(new qm(_Pt+n+EPt+r));if(-1==s)throw lw(new qm(TPt+i+EPt+r));return D8(t,c,s),bM(t.e)&&Gw(t,$H(t,7,e,p8(i),l,n,!0)),l}throw lw(new Xm("The feature must be many-valued to support move"))}function Kwt(t,e,n,i){var r,a,o,s,c;switch((c=new hM(e.n)).a+=e.o.a/2,c.b+=e.o.b/2,s=ev(hD(Ost(e,(wkt(),b0t)))),a=t.f,o=t.d,r=t.c,VP(Ost(e,(Lkt(),hXt)),61).g){case 1:c.a+=o.b+r.a-n/2,c.b=-i-s,e.n.b=-(o.d+s+r.b);break;case 2:c.a=a.a+o.b+o.c+s,c.b+=o.d+r.b-i/2,e.n.a=a.a+o.c+s-r.a;break;case 3:c.a+=o.b+r.a-n/2,c.b=a.b+o.d+o.a+s,e.n.b=a.b+o.a+s-r.b;break;case 4:c.a=-n-s,c.b+=o.d+r.b-i/2,e.n.a=-(o.b+s+r.a)}return c}function Wwt(t){var e,i,r,a,o,s;return c4(r=new x0,t),iA(Ost(r,(wkt(),s1t)))===iA((e8(),nne))&&d5(r,s1t,G8(r)),null==Ost(r,(eX(),j9t))&&(s=VP(Zst(t),160),d5(r,j9t,pA(s.We(j9t)))),d5(r,(Lkt(),IXt),t),d5(r,gXt,new aP(e=VP(Lx(jWt),9),VP(nN(e,e.length),9),0)),a=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(function(t,e){Rpt(t,!0),KJ(t.e.wf(),new xP(t,!0,e))}(f=new mxt(t),!(e==(e8(),ine)||e==Jee)),h=f.a,d=new Cy,QJ(),s=0,u=(a=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;s<u;++s)i=a[s],(l=DI(h,aqt,i))&&(d.d=n.Math.max(d.d,l.Re()));for(o=0,c=(r=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;o<c;++o)i=r[o],(l=DI(h,sqt,i))&&(d.a=n.Math.max(d.a,l.Re()));for(w=0,m=(p=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;w<m;++w)(l=DI(h,p[w],aqt))&&(d.b=n.Math.max(d.b,l.Se()));for(b=0,y=(g=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;b<y;++b)(l=DI(h,g[b],sqt))&&(d.c=n.Math.max(d.c,l.Se()));return d.d>0&&(d.d+=h.n.d,d.d+=h.d),d.a>0&&(d.a+=h.n.a,d.a+=h.d),d.b>0&&(d.b+=h.n.b,d.b+=h.d),d.c>0&&(d.c+=h.n.c,d.c+=h.d),d}((AZ(t)&&(pE(),new Gm(AZ(t))),pE(),new nO(AZ(t)?new Gm(AZ(t)):null,t)),ene),o=VP(Ost(r,o0t),116),OZ(i=r.d,o),OZ(i,a),r}function Xwt(t,e){var i,r,a,o;return r=n.Math.abs(oj(t.b).a-oj(e.b).a),o=n.Math.abs(oj(t.b).b-oj(e.b).b),i=1,a=1,r>t.b.b/2+e.b.b/2&&(i=1-n.Math.min(n.Math.abs(t.b.c-(e.b.c+e.b.b)),n.Math.abs(t.b.c+t.b.b-e.b.c))/r),o>t.b.a/2+e.b.a/2&&(a=1-n.Math.min(n.Math.abs(t.b.d-(e.b.d+e.b.a)),n.Math.abs(t.b.d+t.b.a-e.b.d))/o),(1-n.Math.min(i,a))*n.Math.sqrt(r*r+o*o)}function Vwt(t){var e,i,r;for(wxt(t,t.e,t.f,(VH(),K4t),!0,t.c,t.i),wxt(t,t.e,t.f,K4t,!1,t.c,t.i),wxt(t,t.e,t.f,W4t,!0,t.c,t.i),wxt(t,t.e,t.f,W4t,!1,t.c,t.i),function(t,e,n,i,r){var a,o,s,c,u,l,h;for(o=new wd(e);o.a<o.c.c.length;){if(c=(a=VP(qU(o),17)).c,n.a._b(c))VH(),u=K4t;else{if(!i.a._b(c))throw lw(new Xm("Source port must be in one of the port sets."));VH(),u=W4t}if(l=a.d,n.a._b(l))VH(),h=K4t;else{if(!i.a._b(l))throw lw(new Xm("Target port must be in one of the port sets."));VH(),h=W4t}s=new jut(a,u,h),Pz(t.b,a,s),r.c[r.c.length]=s}}(t,t.c,t.e,t.f,t.i),i=new QY(t.i,0);i.b<i.d.gc();)for(CO(i.b<i.d.gc()),e=VP(i.d.Xb(i.c=i.b++),128),r=new QY(t.i,i.b);r.b<r.d.gc();)CO(r.b<r.d.gc()),evt(e,VP(r.d.Xb(r.c=r.b++),128));(function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(T=new T_,k=new T_,b=-1,c=new wd(t);c.a<c.c.c.length;){for((o=VP(qU(c),128)).s=b--,l=0,m=0,a=new wd(o.t);a.a<a.c.c.length;)m+=(i=VP(qU(a),268)).c;for(r=new wd(o.i);r.a<r.c.c.length;)l+=(i=VP(qU(r),268)).c;o.n=l,o.u=m,0==m?WK(k,o,k.c.b,k.c):0==l&&WK(T,o,T.c.b,T.c)}for(S=vK(t),p=(h=t.c.length)+1,w=h-1,d=new iw;0!=S.a.gc();){for(;0!=k.b;)CO(0!=k.b),x=VP(WJ(k,k.a.a),128),S.a.Bc(x),x.s=w--,odt(x,T,k);for(;0!=T.b;)CO(0!=T.b),_=VP(WJ(T,T.a.a),128),S.a.Bc(_),_.s=p++,odt(_,T,k);for(g=eEt,u=S.a.ec().Kc();u.Ob();)(y=(o=VP(u.Pb(),128)).u-o.n)>=g&&(y>g&&(d.c=WX(G$t,r_t,1,0,5,1),g=y),d.c[d.c.length]=o);0!=d.c.length&&(f=VP(EF(d,Gnt(e,d.c.length)),128),S.a.Bc(f),f.s=p++,odt(f,T,k),d.c=WX(G$t,r_t,1,0,5,1))}for(v=t.c.length+1,s=new wd(t);s.a<s.c.c.length;)(o=VP(qU(s),128)).s<h&&(o.s+=v);for(E=new wd(t);E.a<E.c.c.length;)for(n=new QY((_=VP(qU(E),128)).t,0);n.b<n.d.gc();)CO(n.b<n.d.gc()),C=(i=VP(n.d.Xb(n.c=n.b++),268)).b,_.s>C.s&&(lz(n),sQ(C.i,i),i.c>0&&(i.a=C,nB(C.t,i),i.b=_,nB(_.i,i)))})(t.i,VP(Ost(t.d,(Lkt(),zXt)),230)),function(t){var e,i,r,a,o,s,c,u,l;for(u=new T_,s=new T_,a=new wd(t);a.a<a.c.c.length;)(i=VP(qU(a),128)).v=0,i.n=i.i.c.length,i.u=i.t.c.length,0==i.n&&WK(u,i,u.c.b,u.c),0==i.u&&0==i.r.a.gc()&&WK(s,i,s.c.b,s.c);for(o=-1;0!=u.b;)for(e=new wd((i=VP(Grt(u,0),128)).t);e.a<e.c.c.length;)(l=VP(qU(e),268).b).v=n.Math.max(l.v,i.v+1),o=n.Math.max(o,l.v),--l.n,0==l.n&&WK(u,l,u.c.b,u.c);if(o>-1){for(r=tnt(s,0);r.b!=r.d.c;)(i=VP(AG(r),128)).v=o;for(;0!=s.b;)for(e=new wd((i=VP(Grt(s,0),128)).i);e.a<e.c.c.length;)0==(c=VP(qU(e),268).a).r.a.gc()&&(c.v=n.Math.min(c.v,i.v-1),--c.u,0==c.u&&WK(s,c,s.c.b,s.c))}}(t.i)}function Qwt(t,e){var n,i;if(null!=e)if(i=frt(t)){if(0==(1&i.i))return TE(),!(n=VP(zR(Nae,i),55))||n.wj(e);if(i==Wce)return rA(e);if(i==Kce)return MI(e,19);if(i==Jce)return MI(e,155);if(i==Vce)return MI(e,217);if(i==Gce)return MI(e,172);if(i==Qce)return aA(e);if(i==tue)return MI(e,184);if(i==Xce)return MI(e,162)}else if(MI(e,56))return t.uk(VP(e,56));return!1}function Jwt(){var t,e,n,i,r,a,o,s,c;for(Jwt=I,uce=WX(Vce,NNt,25,255,15,1),lce=WX(Gce,lEt,25,64,15,1),e=0;e<255;e++)uce[e]=-1;for(n=90;n>=65;n--)uce[n]=n-65<<24>>24;for(i=122;i>=97;i--)uce[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)uce[r]=r-48+52<<24>>24;for(uce[43]=62,uce[47]=63,a=0;a<=25;a++)lce[a]=65+a&fEt;for(o=26,c=0;o<=51;++o,c++)lce[o]=97+c&fEt;for(t=52,s=0;t<=61;++t,s++)lce[t]=48+s&fEt;lce[62]=43,lce[63]=47}function tyt(t,e){var n,i,r,a,o,s,c;if(!EZ(t))throw lw(new Vm(nNt));if(a=(i=EZ(t)).g,r=i.f,a<=0&&r<=0)return Mxt(),qie;switch(s=t.i,c=t.j,e.g){case 2:case 1:if(s<0)return Mxt(),Hie;if(s+t.g>a)return Mxt(),_ie;break;case 4:case 3:if(c<0)return Mxt(),Eie;if(c+t.f>r)return Mxt(),zie}return(o=(s+t.g/2)/a)+(n=(c+t.f/2)/r)<=1&&o-n<=0?(Mxt(),Hie):o+n>=1&&o-n>=0?(Mxt(),_ie):n<.5?(Mxt(),Eie):(Mxt(),zie)}function eyt(t){var e,n,i,r,a,o;if(Nkt(),4!=t.e&&5!=t.e)throw lw(new Xm("Token#complementRanges(): must be RANGE: "+t.e));for(Bft(a=t),Nmt(a),i=a.b.length+2,0==a.b[0]&&(i-=2),(n=a.b[a.b.length-1])==_$t&&(i-=2),(r=new aY(4)).b=WX(Kce,CEt,25,i,15,1),o=0,a.b[0]>0&&(r.b[o++]=0,r.b[o++]=a.b[0]-1),e=1;e<a.b.length-2;e+=2)r.b[o++]=a.b[e]+1,r.b[o++]=a.b[e+1]-1;return n!=_$t&&(r.b[o++]=n+1,r.b[o]=_$t),r.a=!0,r}function nyt(t,e,n){var i,r,a,o,s,c,u,l;if(0==(i=n.gc()))return!1;if(t.ej())if(u=t.fj(),hst(t,e,n),o=1==i?t.Zi(3,null,n.Kc().Pb(),e,u):t.Zi(5,null,n,e,u),t.bj()){for(s=i<100?null:new _x(i),a=e+i,r=e;r<a;++r)l=t.g[r],s=t.cj(l,s),s=t.jj(l,s);s?(s.Ei(o),s.Fi()):t.$i(o)}else t.$i(o);else if(hst(t,e,n),t.bj()){for(s=i<100?null:new _x(i),a=e+i,r=e;r<a;++r)c=t.g[r],s=t.cj(c,s);s&&s.Fi()}return!0}function iyt(t,e,n,i){var r,a,o,s,c;for(o=new wd(t.k);o.a<o.c.c.length;)r=VP(qU(o),129),i&&r.c!=(iX(),j4t)||(c=r.b).g<0&&r.d>0&&($f(c,c.d-r.d),r.c==(iX(),j4t)&&Bf(c,c.a-r.d),c.d<=0&&c.i>0&&WK(e,c,e.c.b,e.c));for(a=new wd(t.f);a.a<a.c.c.length;)r=VP(qU(a),129),i&&r.c!=(iX(),j4t)||(s=r.a).g<0&&r.d>0&&(jf(s,s.i-r.d),r.c==(iX(),j4t)&&Ff(s,s.b-r.d),s.i<=0&&s.d>0&&WK(n,s,n.c.b,n.c))}function ryt(t,e,n){var i,r,a,o,s,c,u,l;for(ast(n,"Processor compute fanout",1),Yj(t.b),Yj(t.a),s=null,a=tnt(e.b,0);!s&&a.b!=a.d.c;)tv(lD(Ost(u=VP(AG(a),86),(avt(),I5t))))&&(s=u);for(WK(c=new T_,s,c.c.b,c.c),Ixt(t,c),l=tnt(e.b,0);l.b!=l.d.c;)o=fD(Ost(u=VP(AG(l),86),(avt(),m5t))),r=null!=oZ(t.b,o)?VP(oZ(t.b,o),19).a:0,d5(u,y5t,p8(r)),i=1+(null!=oZ(t.a,o)?VP(oZ(t.a,o),19).a:0),d5(u,b5t,p8(i));$ct(n)}function ayt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(h=function(t,e){var n,i,r;for(r=new QY(t.e,0),n=0;r.b<r.d.gc();){if((i=ev((CO(r.b<r.d.gc()),hD(r.d.Xb(r.c=r.b++))))-e)>QLt)return n;i>-1e-6&&++n}return n}(t,n),s=0;s<e;s++){for(JD(r,n),f=new iw,CO(i.b<i.d.gc()),d=VP(i.d.Xb(i.c=i.b++),407),u=h+s;u<t.b;u++)o=d,CO(i.b<i.d.gc()),nB(f,new Agt(o,d=VP(i.d.Xb(i.c=i.b++),407),n));for(l=h+s;l<t.b;l++)CO(i.b>0),i.a.Xb(i.c=--i.b),l>h+s&&lz(i);for(a=new wd(f);a.a<a.c.c.length;)JD(i,VP(qU(a),407));if(s<e-1)for(c=h+s;c<t.b;c++)CO(i.b>0),i.a.Xb(i.c=--i.b)}}function oyt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g;if(i=t.i,e=t.n,0==t.b)for(g=i.c+e.b,d=i.b-e.b-e.c,u=0,h=(s=t.a).length;u<h;++u)y$(a=s[u],g,d);else r=mit(t,!1),y$(t.a[0],i.c+e.b,r[0]),y$(t.a[2],i.c+i.b-e.c-r[2],r[2]),f=i.b-e.b-e.c,r[0]>0&&(f-=r[0]+t.c,r[0]+=t.c),r[2]>0&&(f-=r[2]+t.c),r[1]=n.Math.max(r[1],f),y$(t.a[1],i.c+e.b+r[0]-(r[1]-f)/2,r[1]);for(c=0,l=(o=t.a).length;c<l;++c)MI(a=o[c],326)&&VP(a,326).Te()}function syt(t){var e,n,i,r,a,o,s,c,u,h,f;for((f=new oo).d=0,o=new wd(t.b);o.a<o.c.c.length;)a=VP(qU(o),29),f.d+=a.a.c.length;for(i=0,r=0,f.a=WX(Kce,CEt,25,t.b.c.length,15,1),u=0,h=0,f.e=WX(Kce,CEt,25,f.d,15,1),n=new wd(t.b);n.a<n.c.c.length;)for((e=VP(qU(n),29)).p=i++,f.a[e.p]=r++,h=0,c=new wd(e.a);c.a<c.c.c.length;)(s=VP(qU(c),10)).p=u++,f.e[s.p]=h++;return f.c=new Np(f),f.b=lO(f.d),function(t,e){var n,i,r,a,o,s,c,u;for(a=new wd(e.b);a.a<a.c.c.length;)for(c=new wd(VP(qU(a),29).a);c.a<c.c.c.length;){for(s=VP(qU(c),10),u=new iw,o=0,i=new O$(dL(s9(s).a.Kc(),new l));Xht(i);)JK(n=VP(xW(i),17))||!JK(n)&&n.c.i.c==n.d.i.c||((r=VP(Ost(n,(wkt(),A0t)),19).a)>o&&(o=r,u.c=WX(G$t,r_t,1,0,5,1)),r==o&&nB(u,new mS(n.c.i,n)));Gq(),QM(u,t.c),JF(t.b,s.p,u)}}(f,t),f.f=lO(f.d),function(t,e){var n,i,r,a,o,s,c,u;for(a=new wd(e.b);a.a<a.c.c.length;)for(c=new wd(VP(qU(a),29).a);c.a<c.c.c.length;){for(s=VP(qU(c),10),u=new iw,o=0,i=new O$(dL(c9(s).a.Kc(),new l));Xht(i);)JK(n=VP(xW(i),17))||!JK(n)&&n.c.i.c==n.d.i.c||((r=VP(Ost(n,(wkt(),A0t)),19).a)>o&&(o=r,u.c=WX(G$t,r_t,1,0,5,1)),r==o&&nB(u,new mS(n.d.i,n)));Gq(),QM(u,t.c),JF(t.f,s.p,u)}}(f,t),f}function cyt(t,e){var i,r,a;for(a=VP(EF(t.n,t.n.c.length-1),211).d,t.p=n.Math.min(t.p,e.g),t.r=n.Math.max(t.r,a),t.g=n.Math.max(t.g,e.g+(1==t.b.c.length?0:t.i)),t.o=n.Math.min(t.o,e.f),t.e+=e.f+(1==t.b.c.length?0:t.i),t.f=n.Math.max(t.f,e.f),r=t.n.c.length>0?(t.n.c.length-1)*t.i:0,i=new wd(t.n);i.a<i.c.c.length;)r+=VP(qU(i),211).a;t.d=r,t.a=t.e/t.b.c.length-t.i*((t.b.c.length-1)/t.b.c.length),Trt(t.j)}function uyt(t,e){var n,i,r,a,o,s,c,u,l;if(null==(u=lD(Ost(e,(qpt(),yZt))))||(yz(u),u)){for(l=WX(Wce,pCt,25,e.e.c.length,16,1),o=function(t){var e,n,i,r,a;for(r=t.e.c.length,i=WX(J$t,bSt,15,r,0,1),a=new wd(t.e);a.a<a.c.c.length;)i[VP(qU(a),144).b]=new T_;for(n=new wd(t.c);n.a<n.c.c.length;)i[(e=VP(qU(n),282)).c.b].Fc(e),i[e.d.b].Fc(e);return i}(e),r=new T_,c=new wd(e.e);c.a<c.c.c.length;)(n=ndt(t,VP(qU(c),144),null,null,l,o))&&(c4(n,e),WK(r,n,r.c.b,r.c));if(r.b>1)for(i=tnt(r,0);i.b!=i.d.c;)for(a=0,s=new wd((n=VP(AG(i),231)).e);s.a<s.c.c.length;)VP(qU(s),144).b=a++;return r}return BW(P4(Zv(JHt,1),wSt,231,0,[e]))}function lyt(t){var e,n,i,r,a;if(!t.g){if(a=new Ec,null==(e=qoe).a.zc(t,e)){for(n=new YI(AH(t));n.e!=n.i.gc();)kR(a,lyt(VP(hnt(n),26)));e.a.Bc(t),e.a.gc()}for(i=a.i,!t.s&&(t.s=new mj(eoe,t,21,17)),r=new YI(t.s);r.e!=r.i.gc();++i)Yf(VP(hnt(r),449),i);kR(a,(!t.s&&(t.s=new mj(eoe,t,21,17)),t.s)),z6(a),t.g=new w5(t,a),t.i=VP(a.g,247),null==t.i&&(t.i=Zoe),t.p=null,dW(t).b&=-5}return t.g}function hyt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g;if(r=t.i,i=t.n,0==t.b)e=yit(t,!1),m$(t.a[0],r.d+i.d,e[0]),m$(t.a[2],r.d+r.a-i.a-e[2],e[2]),f=r.a-i.d-i.a,e[0]>0&&(e[0]+=t.c,f-=e[0]),e[2]>0&&(f-=e[2]+t.c),e[1]=n.Math.max(e[1],f),m$(t.a[1],r.d+i.d+e[0]-(e[1]-f)/2,e[1]);else for(g=r.d+i.d,d=r.a-i.d-i.a,u=0,h=(s=t.a).length;u<h;++u)m$(a=s[u],g,d);for(c=0,l=(o=t.a).length;c<l;++c)MI(a=o[c],326)&&VP(a,326).Ue()}function fyt(t,e,n,i){var r,a,o,s,c;if(c=bgt(t.e.Tg(),e),r=VP(t.g,119),EE(),VP(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&X7(a,n))return!0}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],c.rl(a.ak())&&X7(n,a.dd()))return!0;if(i)for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&iA(n)===iA(tD(t,VP(a.dd(),56))))return!0}else for(o=0;o<t.i;++o)if(a=r[o],c.rl(a.ak())&&null==a.dd())return!1;return!1}function dyt(t,e,n,i){var r,a,o,s,c,u;if(u=bgt(t.e.Tg(),e),o=VP(t.g,119),Ngt(t.e,e)){if(e.hi()&&(a=Dyt(t,e,i,MI(e,99)&&0!=(VP(e,18).Bb&iTt)))>=0&&a!=n)throw lw(new Xm(kPt));for(r=0,c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak())){if(r==n)return VP(jnt(t,c,(EE(),VP(e,66).Oj()?VP(i,72):WG(e,i))),72);++r}throw lw(new qm(yBt+n+EPt+r))}for(c=0;c<t.i;++c)if(s=o[c],u.rl(s.ak()))return EE(),VP(e,66).Oj()?s:s.dd();return null}function gyt(t,e,i,r){var a,o,s,c;for(c=i,s=new wd(e.a);s.a<s.c.c.length;){if(o=VP(qU(s),221),a=VP(o.b,65),v9(t.b.c,a.b.c+a.b.b)<=0&&v9(a.b.c,t.b.c+t.b.b)<=0&&v9(t.b.d,a.b.d+a.b.a)<=0&&v9(a.b.d,t.b.d+t.b.a)<=0){if(0==v9(a.b.c,t.b.c+t.b.b)&&r.a<0||0==v9(a.b.c+a.b.b,t.b.c)&&r.a>0||0==v9(a.b.d,t.b.d+t.b.a)&&r.b<0||0==v9(a.b.d+a.b.a,t.b.d)&&r.b>0){c=0;break}}else c=n.Math.min(c,glt(t,a,r));c=n.Math.min(c,gyt(t,o,c,r))}return c}function pyt(t,e){var n,i,r,a,o,s;if(t.b<2)throw lw(new Xm("The vector chain must contain at least a source and a target point."));for(CO(0!=t.b),EM(e,(i=VP(t.a.a.c,8)).a,i.b),s=new oO((!e.a&&(e.a=new GI(Xre,e,5)),e.a)),a=tnt(t,1);a.a<t.b-1;)o=VP(AG(a),8),s.e!=s.i.gc()?n=VP(hnt(s),469):(Px(),_tt(s,n=new ac)),vM(n,o.a,o.b);for(;s.e!=s.i.gc();)hnt(s),not(s);CO(0!=t.b),_M(e,(r=VP(t.c.b.c,8)).a,r.b)}function byt(t,e){var n,i,r,a,o,s,c,u;for(n=0,i=new wd((OU(0,t.c.length),VP(t.c[0],101)).g.b.j);i.a<i.c.c.length;)VP(qU(i),11).p=n++;for(e==(Mxt(),Eie)?QM(t,new ta):QM(t,new ea),o=0,u=t.c.length-1;o<u;)OU(o,t.c.length),a=VP(t.c[o],101),OU(u,t.c.length),c=VP(t.c[u],101),r=e==Eie?a.c:a.a,s=e==Eie?c.a:c.c,Ij(a,e,($4(),PGt),r),Ij(c,e,NGt,s),++o,--u;o==u&&Ij((OU(o,t.c.length),VP(t.c[o],101)),e,($4(),DGt),null)}function wyt(t,e,n){var i,r,a,o,s,c,u,l,h,f;return l=t.a.i+t.a.g/2,h=t.a.i+t.a.g/2,o=new XC(e.i+e.g/2,e.j+e.f/2),(c=VP(_ft(e,(Ikt(),Lee)),8)).a=c.a+l,c.b=c.b+h,r=(o.b-c.b)/(o.a-c.a),i=o.b-r*o.a,s=new XC(n.i+n.g/2,n.j+n.f/2),(u=VP(_ft(n,Lee),8)).a=u.a+l,u.b=u.b+h,a=(s.b-u.b)/(s.a-u.a),f=(i-(s.b-a*s.a))/(a-r),!(c.a<f&&o.a<f||f<c.a&&f<o.a||u.a<f&&s.a<f||f<u.a&&f<s.a)}function yyt(t,e,n){var i,r,a,o,s,c;this.a=t,this.b=e,this.c=n,this.e=BW(P4(Zv(kzt,1),r_t,168,0,[new JE(t,e),new JE(e,n),new JE(n,t)])),this.f=BW(P4(Zv(q9t,1),T_t,8,0,[t,e,n])),this.d=(i=vN(pI(this.b),this.a),r=vN(pI(this.c),this.a),a=vN(pI(this.c),this.b),o=i.a*(this.a.a+this.b.a)+i.b*(this.a.b+this.b.b),s=r.a*(this.a.a+this.c.a)+r.b*(this.a.b+this.c.b),c=2*(i.a*a.b-i.b*a.a),new XC((r.b*o-i.b*s)/c,(i.a*s-r.a*o)/c))}function myt(t,e,n,i){var r,a,o,s,c,u,l,h,f;if(h=new UR(t.p),IJ(e,wPt,h),n&&!(t.f?fH(t.f):null).a.dc())for(IJ(e,"logs",u=new Cf),s=0,f=new fd((t.f?fH(t.f):null).b.Kc());f.b.Ob();)l=new UR(fD(f.b.Pb())),WQ(u,s),JG(u,s,l),++s;if(i&&IJ(e,"executionTime",new Ef(t.q)),!fH(t.a).a.dc())for(o=new Cf,IJ(e,GNt,o),s=0,a=new fd(fH(t.a).b.Kc());a.b.Ob();)r=VP(a.b.Pb(),1949),c=new Im,WQ(o,s),JG(o,s,c),myt(r,c,n,i),++s}function vyt(t,e){var n,i,r,a,o,s;for(a=t.c,o=t.d,VZ(t,null),XZ(t,null),e&&tv(lD(Ost(o,(Lkt(),bXt))))?VZ(t,mwt(o.i,(l0(),r3t),(Mxt(),_ie))):VZ(t,o),e&&tv(lD(Ost(a,(Lkt(),BXt))))?XZ(t,mwt(a.i,(l0(),i3t),(Mxt(),Hie))):XZ(t,a),i=new wd(t.b);i.a<i.c.c.length;)n=VP(qU(i),70),(r=VP(Ost(n,(wkt(),f1t)),272))==(JJ(),cne)?d5(n,f1t,sne):r==sne&&d5(n,f1t,cne);s=tv(lD(Ost(t,(Lkt(),HXt)))),d5(t,HXt,(EL(),!s)),t.a=Y5(t.a)}function xyt(t,e,n,i){var r,a,o,s,c,u;for(o=new bvt(t,e,n),c=new QY(i,0),r=!1;c.b<c.d.gc();)CO(c.b<c.d.gc()),(s=VP(c.d.Xb(c.c=c.b++),233))==e||s==n?lz(c):!r&&ev(NI(s.g,s.d[0]).a)>ev(NI(o.g,o.d[0]).a)?(CO(c.b>0),c.a.Xb(c.c=--c.b),JD(c,o),r=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new iw),s.e).Mc(e),u=(!s.e&&(s.e=new iw),s.e).Mc(n),(a||u)&&((!s.e&&(s.e=new iw),s.e).Fc(o),++o.c));r||(i.c[i.c.length]=o)}function kyt(t){var e,n,i;if(pM(VP(Ost(t,(wkt(),w0t)),98)))for(n=new wd(t.j);n.a<n.c.c.length;)(e=VP(qU(n),11)).j==(Mxt(),qie)&&((i=VP(Ost(e,(Lkt(),$Xt)),10))?plt(e,VP(Ost(i,hXt),61)):e.e.c.length-e.g.c.length<0?plt(e,_ie):plt(e,Hie));else{for(n=new wd(t.j);n.a<n.c.c.length;)e=VP(qU(n),11),(i=VP(Ost(e,(Lkt(),$Xt)),10))?plt(e,VP(Ost(i,hXt),61)):e.e.c.length-e.g.c.length<0?plt(e,(Mxt(),_ie)):plt(e,(Mxt(),Hie));d5(t,w0t,($ot(),lie))}}function _yt(t){var e,n;switch(t){case 91:case 93:case 45:case 94:case 44:case 92:n="\\"+String.fromCharCode(t&fEt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=t<32?"\\x"+fO(e="0"+(t>>>0).toString(16),e.length-2,e.length):t>=iTt?"\\v"+fO(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&fEt)}return n}function Eyt(t,e){var n,i,r,a,o,s,c,u,l,h;if(o=t.e,0==(c=e.e))return t;if(0==o)return 0==e.e?e:new Mj(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=ZU(t.a[0],cTt),i=ZU(e.a[0],cTt),o<0&&(n=uQ(n)),c<0&&(i=uQ(i)),Get(t9(n,i));if(-1==(r=a!=s?a>s?1:-1:g6(t.a,e.a,a)))h=-c,l=o==c?ZW(e.a,s,t.a,a):KX(e.a,s,t.a,a);else if(h=o,o==c){if(0==r)return gpt(),yRt;l=ZW(t.a,a,e.a,s)}else l=KX(t.a,a,e.a,s);return CY(u=new Mj(h,l.length,l)),u}function Tyt(t){var e,n,i,r,a,o;for(this.e=new iw,this.a=new iw,n=t.b-1;n<3;n++)LO(t,0,VP(knt(t,0),8));if(t.b<4)throw lw(new Xm("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,function(t,e){var n,i,r,a,o;if(e<2*t.b)throw lw(new Xm("The knot vector must have at least two time the dimension elements."));for(t.f=1,r=0;r<t.b;r++)nB(t.e,0);for(n=o=e+1-2*t.b,a=1;a<o;a++)nB(t.e,a/n);if(t.d)for(i=0;i<t.b;i++)nB(t.e,1)}(this,t.b+this.b-1),o=new iw,a=new wd(this.e),e=0;e<this.b-1;e++)nB(o,hD(qU(a)));for(r=tnt(t,0);r.b!=r.d.c;)i=VP(AG(r),8),nB(o,hD(qU(a))),nB(this.a,new XH(i,o)),OU(0,o.c.length),o.c.splice(0,1)}function Cyt(t,e){var n,i,r,a,o,s,c;for(r=new wd(t.b);r.a<r.c.c.length;)for(o=new wd(VP(qU(r),29).a);o.a<o.c.c.length;)for((a=VP(qU(o),10)).k==(gct(),zUt)&&(s=VP(xW(new O$(dL(s9(a).a.Kc(),new l))),17),c=VP(xW(new O$(dL(c9(a).a.Kc(),new l))),17),Rwt(a,tv(lD(Ost(s,(Lkt(),HXt))))&&tv(lD(Ost(c,HXt)))?Q4(e):e)),i=new O$(dL(c9(a).a.Kc(),new l));Xht(i);)S4(n=VP(xW(i),17),tv(lD(Ost(n,(Lkt(),HXt))))?Q4(e):e)}function Syt(t,e,n,i,r){var a,o;if(n.f>=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=VP(EF(e.n,e.n.c.length-1),211)).e+a.d+n.g+r<=i&&(VP(EF(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return f9(e,n),!0;if(e.s+n.g<=i&&(e.t+e.d+n.f+r<=t.b||1==t.a.c.length))return nB(e.b,n),o=VP(EF(e.n,e.n.c.length-1),211),nB(e.n,new bZ(e.s,o.f+o.a+e.i,e.i)),Iit(VP(EF(e.n,e.n.c.length-1),211),n),cyt(e,n),!0}return!1}function Ayt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=qQ(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?X7(o,n):iA(o)===iA(n))?(null!=o&&(r=t.dj(o,r)),r=t.cj(n,r),t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)):(t.ij()&&(r=t.lj(o,n,r)),r?(r.Ei(i),r.Fi()):t.$i(i)),o):(o=qQ(t,e,n),t.bj()&&!(t.ni()&&null!=o?X7(o,n):iA(o)===iA(n))&&(r=null,null!=o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function Myt(t,e){var i,r,a,o,s,c,u;e%=24,t.q.getHours()!=e&&((i=new n.Date(t.q.getTime())).setDate(i.getDate()+1),(s=t.q.getTimezoneOffset()-i.getTimezoneOffset())>0&&(c=s/60|0,u=s%60,r=t.q.getDate(),t.q.getHours()+c>=24&&++r,a=new n.Date(t.q.getFullYear(),t.q.getMonth(),r,e+c,t.q.getMinutes()+u,t.q.getSeconds(),t.q.getMilliseconds()),t.q.setTime(a.getTime()))),o=t.q.getTime(),t.q.setTime(o+36e5),t.q.getHours()!=e&&t.q.setTime(o)}function Iyt(t,e){var n,i,r,a;if(ast(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(r=new aft(t)).i&&(r.i=B2(r,new xa)),n=ev(r.i)*r.f/(null==r.i&&(r.i=B2(r,new xa)),ev(r.i)),r.b>n)$ct(e);else{switch(VP(Ost(t,(wkt(),n2t)),337).g){case 2:a=new Ea;break;case 0:a=new ga;break;default:a=new Ta}if(i=a.Vf(t,r),!a.Wf())switch(VP(Ost(t,c2t),338).g){case 2:i=blt(r,i);break;case 1:i=cst(r,i)}(function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!n.dc()){for(o=0,l=0,f=VP((i=n.Kc()).Pb(),19).a;o<e.f;){if(o==f&&(l=0,f=i.Ob()?VP(i.Pb(),19).a:e.f+1),o!=l)for(d=VP(EF(t.b,o),29),h=VP(EF(t.b,l),29),u=new wd(GU(d.a));u.a<u.c.c.length;)if(Hrt(c=VP(qU(u),10),h.a.c.length,h),0==l)for(a=new wd(GU(s9(c)));a.a<a.c.c.length;)vyt(r=VP(qU(a),17),!0),d5(t,(Lkt(),rXt),(EL(),!0)),fvt(t,r,1);++l,++o}for(s=new QY(t.b,0);s.b<s.d.gc();)CO(s.b<s.d.gc()),0==VP(s.d.Xb(s.c=s.b++),29).a.c.length&&lz(s)}})(t,r,i),$ct(e)}else $ct(e)}function Lyt(t,e){var n,i,r,a;if(function(t,e){OI(t,KF(ZU(U$(e,24),TTt)),KF(ZU(e,TTt)))}(t.d,t.e),t.c.a.$b(),0!=ev(hD(Ost(e.j,(wkt(),ZJt))))||0!=ev(hD(Ost(e.j,ZJt))))for(n=pSt,iA(Ost(e.j,KJt))!==iA((x5(),W2t))&&d5(e.j,(Lkt(),dXt),(EL(),!0)),a=VP(Ost(e.j,X0t),19).a,r=0;r<a&&!((i=Zwt(t,e))<n&&(n=i,k2(t),0==n));r++);else for(n=Qkt,iA(Ost(e.j,KJt))!==iA((x5(),W2t))&&d5(e.j,(Lkt(),dXt),(EL(),!0)),a=VP(Ost(e.j,X0t),19).a,r=0;r<a&&!((i=Uwt(t,e))<n&&(n=i,k2(t),0==n));r++);}function Oyt(t){var e,n,i,r,a;if(!t.d){if(a=new Sc,null==(e=qoe).a.zc(t,e)){for(n=new YI(AH(t));n.e!=n.i.gc();)kR(a,Oyt(VP(hnt(n),26)));e.a.Bc(t),e.a.gc()}for(r=a.i,!t.q&&(t.q=new mj(hoe,t,11,10)),i=new YI(t.q);i.e!=i.i.gc();++r)VP(hnt(i),399);kR(a,(!t.q&&(t.q=new mj(hoe,t,11,10)),t.q)),z6(a),t.d=new qA((VP(a1(oH((VR(),boe).o),9),18),a.i),a.g),t.e=VP(a.g,673),null==t.e&&(t.e=Hoe),dW(t).b&=-17}return t.d}function Dyt(t,e,n,i){var r,a,o,s,c,u;if(u=bgt(t.e.Tg(),e),c=0,r=VP(t.g,119),EE(),VP(e,66).Oj()){for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(X7(a,n))return c;++c}}else if(null!=n){for(s=0;s<t.i;++s)if(a=r[s],u.rl(a.ak())){if(X7(n,a.dd()))return c;++c}if(i)for(c=0,o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(iA(n)===iA(tD(t,VP(a.dd(),56))))return c;++c}}else for(o=0;o<t.i;++o)if(a=r[o],u.rl(a.ak())){if(null==a.dd())return c;++c}return-1}function Nyt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(n.mh(e)&&(l=(d=e)?VP(i,49).xh(d):null))if(p=n.bh(e,t.a),(g=e.t)>1||-1==g)if(h=VP(p,69),f=VP(l,69),h.dc())f.$b();else for(o=!!eit(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)u=VP(s.Pb(),56),(r=VP(YQ(t,u),56))?(o?-1==(c=f.Xc(r))?f.Xh(a,r):a!=c&&f.ji(a,r):f.Xh(a,r),++a):t.b&&!o&&(f.Xh(a,u),++a);else null==p?l.Wb(null):null==(r=YQ(t,p))?t.b&&!eit(e)&&l.Wb(p):l.Wb(r)}function Pyt(t,e){var i,r,a,o,s,c,u,h;for(i=new Dn,a=new O$(dL(s9(e).a.Kc(),new l));Xht(a);)if(!JK(r=VP(xW(a),17))&&qot(c=r.c.i,cYt)){if(-1==(h=Spt(t,c,cYt,sYt)))continue;i.b=n.Math.max(i.b,h),!i.a&&(i.a=new iw),nB(i.a,c)}for(s=new O$(dL(c9(e).a.Kc(),new l));Xht(s);)if(!JK(o=VP(xW(s),17))&&qot(u=o.d.i,sYt)){if(-1==(h=Spt(t,u,sYt,cYt)))continue;i.d=n.Math.max(i.d,h),!i.c&&(i.c=new iw),nB(i.c,u)}return i}function Byt(t){var e,n,i,r;if(_ht(),e=cZ(t),t<_Rt.length)return _Rt[e];if(t<=50)return rht((gpt(),bRt),e);if(t<=hEt)return mW(rht(kRt[1],e),e);if(t>1e6)throw lw(new zm("power of ten too big"));if(t<=Qkt)return mW(rht(kRt[1],e),e);for(r=i=rht(kRt[1],Qkt),n=B3(t-Qkt),e=cZ(t%Qkt);x7(n,Qkt)>0;)r=sJ(r,i),n=t9(n,Qkt);for(r=mW(r=sJ(r,rht(kRt[1],e)),Qkt),n=B3(t-Qkt);x7(n,Qkt)>0;)r=mW(r,Qkt),n=t9(n,Qkt);return mW(r,e)}function Fyt(t,e){var n,i,r,a,o;ast(e,"Layer constraint postprocessing",1),0!=(o=t.b).c.length&&(OU(0,o.c.length),function(t,e,n,i,r){var a,o,s,c,u,l;for(a=new wd(t.b);a.a<a.c.c.length;)for(u=0,l=(c=IY(VP(qU(a),29).a)).length;u<l;++u)switch(VP(Ost(s=c[u],(wkt(),B1t)),163).g){case 1:Egt(s),QZ(s,e),qnt(s,!0,i);break;case 3:lgt(s),QZ(s,n),qnt(s,!1,r)}for(o=new QY(t.b,0);o.b<o.d.gc();)0==(CO(o.b<o.d.gc()),VP(o.d.Xb(o.c=o.b++),29)).a.c.length&&lz(o)}(t,VP(o.c[0],29),VP(EF(o,o.c.length-1),29),n=new HR(t),r=new HR(t)),0==n.a.c.length||(iU(0,o.c.length),ZE(o.c,0,n)),0==r.a.c.length||(o.c[o.c.length]=r)),IO(t,(Lkt(),pXt))&&(function(t,e,n){var i,r,a,o,s,c;for(o=VP(Ost(t,(Lkt(),pXt)),15).Kc();o.Ob();){switch(a=VP(o.Pb(),10),VP(Ost(a,(wkt(),B1t)),163).g){case 2:QZ(a,e);break;case 4:QZ(a,n)}for(r=new O$(dL(o9(a).a.Kc(),new l));Xht(r);)(i=VP(xW(r),17)).c&&i.d||(s=!i.d,c=VP(Ost(i,NXt),11),s?XZ(i,c):VZ(i,c))}}(t,i=new HR(t),a=new HR(t)),0==i.a.c.length||(iU(0,o.c.length),ZE(o.c,0,i)),0==a.a.c.length||(o.c[o.c.length]=a)),$ct(e)}function $yt(t){var e,n,i,r,a,o,s,c;for(o=new wd(t.a);o.a<o.c.c.length;)if((a=VP(qU(o),10)).k==(gct(),RUt)&&((r=VP(Ost(a,(Lkt(),hXt)),61))==(Mxt(),_ie)||r==Hie))for(i=new O$(dL(o9(a).a.Kc(),new l));Xht(i);)0!=(e=(n=VP(xW(i),17)).a).b&&((s=n.c).i==a&&(CO(0!=e.b),VP(e.a.a.c,8).b=O5(P4(Zv(q9t,1),T_t,8,0,[s.i.n,s.n,s.a])).b),(c=n.d).i==a&&(CO(0!=e.b),VP(e.c.b.c,8).b=O5(P4(Zv(q9t,1),T_t,8,0,[c.i.n,c.n,c.a])).b))}function jyt(t,e){var n,i,r;if(r=Wwt(e),C_(new CF(null,(!e.c&&(e.c=new mj(cae,e,9,9)),new NU(e.c,16))),new pg(r)),function(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(o=tv(lD(_ft(t,(wkt(),M1t)))),f=VP(_ft(t,v0t),21),c=!1,u=!1,h=new YI((!t.c&&(t.c=new mj(cae,t,9,9)),t.c));!(h.e==h.i.gc()||c&&u);){for(a=VP(hnt(h),118),s=0,r=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!a.d&&(a.d=new LN(tae,a,8,5)),a.d),(!a.e&&(a.e=new LN(tae,a,7,4)),a.e)])));Xht(r)&&(i=VP(xW(r),79),l=o&&Wlt(i)&&tv(lD(_ft(i,I1t))),n=Ymt((!i.b&&(i.b=new LN(Jre,i,4,7)),i.b),a)?t==AZ(rst(VP(a1((!i.c&&(i.c=new LN(Jre,i,5,8)),i.c),0),82))):t==AZ(rst(VP(a1((!i.b&&(i.b=new LN(Jre,i,4,7)),i.b),0),82))),!((l||n)&&++s>1)););(s>0||f.Hc((Ilt(),wie))&&(!a.n&&(a.n=new mj(oae,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(u=!0)}c&&e.Fc((ipt(),SWt)),u&&e.Fc((ipt(),AWt))}(e,i=VP(Ost(r,(Lkt(),gXt)),21)),i.Hc((ipt(),SWt)))for(n=new YI((!e.c&&(e.c=new mj(cae,e,9,9)),e.c));n.e!=n.i.gc();)gxt(t,e,r,VP(hnt(n),118));return 0!=VP(_ft(e,(wkt(),e0t)),174).gc()&&opt(e,r),tv(lD(Ost(r,c0t)))&&i.Fc(OWt),IO(r,L0t)&&Fm(new z9(ev(hD(Ost(r,L0t)))),r),iA(_ft(e,E1t))===iA((I7(),One))?function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(o=new T_,y=VP(Ost(n,(wkt(),s1t)),103),g=0,M2(o,(!e.a&&(e.a=new mj(sae,e,10,11)),e.a));0!=o.b;)u=VP(0==o.b?null:(CO(0!=o.b),WJ(o,o.a.a)),33),(iA(_ft(e,KJt))!==iA((x5(),W2t))||iA(_ft(e,a1t))===iA((vit(),$Kt))||iA(_ft(e,a1t))===iA((vit(),BKt))||tv(lD(_ft(e,XJt)))||iA(_ft(e,HJt))!==iA((n8(),MUt)))&&!tv(lD(_ft(u,GJt)))&&Ont(u,(Lkt(),MXt),p8(g++)),!tv(lD(_ft(u,a0t)))&&(h=0!=(!u.a&&(u.a=new mj(sae,u,10,11)),u.a).i,d=Qot(u),f=iA(_ft(u,E1t))===iA((I7(),One)),b=null,(E=!UX(u,(Ikt(),wte))||jN(fD(_ft(u,wte)),IAt))&&f&&(h||d)&&(d5(b=Wwt(u),s1t,y),IO(b,L0t)&&Fm(new z9(ev(hD(Ost(b,L0t)))),b),0!=VP(_ft(u,e0t),174).gc()&&(l=b,C_(new CF(null,(!u.c&&(u.c=new mj(cae,u,9,9)),new NU(u.c,16))),new bg(l)),opt(u,b))),m=n,(v=VP(zR(t.a,AZ(u)),10))&&(m=v.e),p=Vvt(t,u,m),b&&(p.e=b,b.e=p,M2(o,(!u.a&&(u.a=new mj(sae,u,10,11)),u.a))));for(g=0,WK(o,e,o.c.b,o.c);0!=o.b;){for(c=new YI((!(a=VP(0==o.b?null:(CO(0!=o.b),WJ(o,o.a.a)),33)).b&&(a.b=new mj(tae,a,12,3)),a.b));c.e!=c.i.gc();)bbt(s=VP(hnt(c),79)),(iA(_ft(e,KJt))!==iA((x5(),W2t))||iA(_ft(e,a1t))===iA((vit(),$Kt))||iA(_ft(e,a1t))===iA((vit(),BKt))||tv(lD(_ft(e,XJt)))||iA(_ft(e,HJt))!==iA((n8(),MUt)))&&Ont(s,(Lkt(),MXt),p8(g++)),k=rst(VP(a1((!s.b&&(s.b=new LN(Jre,s,4,7)),s.b),0),82)),_=rst(VP(a1((!s.c&&(s.c=new LN(Jre,s,5,8)),s.c),0),82)),tv(lD(_ft(s,a0t)))||tv(lD(_ft(k,a0t)))||tv(lD(_ft(_,a0t)))||(w=a,Wlt(s)&&tv(lD(_ft(k,M1t)))&&tv(lD(_ft(s,I1t)))||GJ(_,k)?w=k:GJ(k,_)&&(w=_),m=n,(v=VP(zR(t.a,w),10))&&(m=v.e),d5(Mkt(t,s,w,m),(Lkt(),eXt),Pgt(t,s,e,n)));if(f=iA(_ft(a,E1t))===iA((I7(),One)))for(r=new YI((!a.a&&(a.a=new mj(sae,a,10,11)),a.a));r.e!=r.i.gc();)E=!UX(i=VP(hnt(r),33),(Ikt(),wte))||jN(fD(_ft(i,wte)),IAt),x=iA(_ft(i,E1t))===iA(One),E&&x&&WK(o,i,o.c.b,o.c)}}(t,e,r):function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(h=0,r=new YI((!e.a&&(e.a=new mj(sae,e,10,11)),e.a));r.e!=r.i.gc();)tv(lD(_ft(i=VP(hnt(r),33),(wkt(),a0t))))||(iA(_ft(e,KJt))===iA((x5(),W2t))&&iA(_ft(e,a1t))!==iA((vit(),$Kt))&&iA(_ft(e,a1t))!==iA((vit(),BKt))&&!tv(lD(_ft(e,XJt)))&&iA(_ft(e,HJt))===iA((n8(),MUt))||tv(lD(_ft(i,GJt)))||(Ont(i,(Lkt(),MXt),p8(h)),++h),Vvt(t,i,n));for(h=0,u=new YI((!e.b&&(e.b=new mj(tae,e,12,3)),e.b));u.e!=u.i.gc();)s=VP(hnt(u),79),(iA(_ft(e,(wkt(),KJt)))!==iA((x5(),W2t))||iA(_ft(e,a1t))===iA((vit(),$Kt))||iA(_ft(e,a1t))===iA((vit(),BKt))||tv(lD(_ft(e,XJt)))||iA(_ft(e,HJt))!==iA((n8(),MUt)))&&(Ont(s,(Lkt(),MXt),p8(h)),++h),g=jst(s),p=qst(s),l=tv(lD(_ft(g,M1t))),d=!tv(lD(_ft(s,a0t))),f=l&&Wlt(s)&&tv(lD(_ft(s,I1t))),a=AZ(g)==e&&AZ(g)==AZ(p),o=(AZ(g)==e&&p==e)^(AZ(p)==e&&g==e),d&&!f&&(o||a)&&Mkt(t,s,e,n);if(AZ(e))for(c=new YI(Mq(AZ(e)));c.e!=c.i.gc();)(g=jst(s=VP(hnt(c),79)))==e&&Wlt(s)&&(f=tv(lD(_ft(g,(wkt(),M1t))))&&tv(lD(_ft(s,I1t))))&&Mkt(t,s,e,n)}(t,e,r),r}function Ryt(t,e,i,r){var a,o,s;if(this.j=new iw,this.k=new iw,this.b=new iw,this.c=new iw,this.e=new lM,this.i=new Ny,this.f=new aw,this.d=new iw,this.g=new iw,nB(this.b,t),nB(this.b,e),this.e.c=n.Math.min(t.a,e.a),this.e.d=n.Math.min(t.b,e.b),this.e.b=n.Math.abs(t.a-e.a),this.e.a=n.Math.abs(t.b-e.b),a=VP(Ost(r,(wkt(),D1t)),74))for(s=tnt(a,0);s.b!=s.d.c;)g1((o=VP(AG(s),8)).a,t.a)&&$B(this.i,o);i&&nB(this.j,i),nB(this.k,r)}function zyt(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(l=new lj(new rg(n)),Pj(s=WX(Wce,pCt,25,t.f.e.c.length,16,1),s.length),n[e.b]=0,u=new wd(t.f.e);u.a<u.c.c.length;)(c=VP(qU(u),144)).b!=e.b&&(n[c.b]=Qkt),QX(vst(l,c));for(;0!=l.b.c.length;)for(s[(h=VP(VQ(l),144)).b]=!0,a=OL(new Wk(t.b,h),0);a.c;)s[(f=Uit(r=VP(KZ(a),282),h)).b]||(o=IO(r,(Wrt(),OZt))?ev(hD(Ost(r,OZt))):t.c,(i=n[h.b]+o)<n[f.b]&&(n[f.b]=i,e2(l,f),QX(vst(l,f))))}function qyt(t,e,n){var i,r,a,o,s,c,u,l,h;for(r=!0,o=new wd(t.b);o.a<o.c.c.length;){for(a=VP(qU(o),29),u=tTt,l=null,c=new wd(a.a);c.a<c.c.c.length;){if(s=VP(qU(c),10),h=ev(e.p[s.p])+ev(e.d[s.p])-s.d.d,i=ev(e.p[s.p])+ev(e.d[s.p])+s.o.b+s.d.a,!(h>u&&i>u)){r=!1,n.n&&DB(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,u=ev(e.p[s.p])+ev(e.d[s.p])+s.o.b+s.d.a}if(!r)break}return n.n&&DB(n,e+" is feasible: "+r),r}function Hyt(t,e,n,i){var r,a,o,s,c,u,l;if(n.d.i!=e.i){for(Lf(r=new ait(t),(gct(),qUt)),d5(r,(Lkt(),IXt),n),d5(r,(wkt(),w0t),($ot(),cie)),i.c[i.c.length]=r,JZ(o=new Mct,r),plt(o,(Mxt(),Hie)),JZ(s=new Mct,r),plt(s,_ie),l=n.d,XZ(n,o),c4(a=new kH,n),d5(a,D1t,null),VZ(a,s),XZ(a,l),u=new QY(n.b,0);u.b<u.d.gc();)CO(u.b<u.d.gc()),iA(Ost(c=VP(u.d.Xb(u.c=u.b++),70),f1t))===iA((JJ(),sne))&&(d5(c,sXt,n),lz(u),nB(a.b,c));tft(r,o,s)}}function Zyt(t,e,n,i){var r,a,o,s,c,u;if(n.c.i!=e.i)for(Lf(r=new ait(t),(gct(),qUt)),d5(r,(Lkt(),IXt),n),d5(r,(wkt(),w0t),($ot(),cie)),i.c[i.c.length]=r,JZ(o=new Mct,r),plt(o,(Mxt(),Hie)),JZ(s=new Mct,r),plt(s,_ie),XZ(n,o),c4(a=new kH,n),d5(a,D1t,null),VZ(a,s),XZ(a,e),tft(r,o,s),u=new QY(n.b,0);u.b<u.d.gc();)CO(u.b<u.d.gc()),c=VP(u.d.Xb(u.c=u.b++),70),VP(Ost(c,f1t),272)==(JJ(),sne)&&(IO(c,sXt)||d5(c,sXt,n),lz(u),nB(a.b,c))}function Uyt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(f=new iw,w=vK(r),b=e*t.a,g=0,o=new Xw,s=new Xw,c=new iw,y=0,m=0,d=0,p=0,l=0,h=0;0!=w.a.gc();)(u=J8(w,a,s))&&(w.a.Bc(u),c.c[c.c.length]=u,o.a.zc(u,o),g=t.f[u.p],y+=t.e[u.p]-g*t.b,m+=t.c[u.p]*t.b,h+=g*t.b,p+=t.e[u.p]),(!u||0==w.a.gc()||y>=b&&t.e[u.p]>g*t.b||m>=i*b)&&(f.c[f.c.length]=c,c=new iw,M2(s,o),o.a.$b(),l-=h,d=n.Math.max(d,l*t.b+p),l+=m,y=m,m=0,h=0,p=0);return new mS(d,f)}function Yyt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(n=new sd(new Jf(t.c.b).a.vc().Kc());n.a.Ob();)s=VP(n.a.Pb(),42),null==(r=(e=VP(s.dd(),149)).a)&&(r=""),!(i=_D(t.c,r))&&0==r.length&&(i=R7(t)),i&&!W9(i.c,e,!1)&&$B(i.c,e);for(o=tnt(t.a,0);o.b!=o.d.c;)a=VP(AG(o),478),u=lW(t.c,a.a),f=lW(t.c,a.b),u&&f&&$B(u.c,new mS(f,a.c));for(zq(t.a),h=tnt(t.b,0);h.b!=h.d.c;)l=VP(AG(h),478),e=kD(t.c,l.a),c=lW(t.c,l.b),e&&c&&uE(e,c,l.c);zq(t.b)}function Gyt(t){var e,n,i,r,a,o;if(!t.f){if(o=new Tc,a=new Tc,null==(e=qoe).a.zc(t,e)){for(r=new YI(AH(t));r.e!=r.i.gc();)kR(o,Gyt(VP(hnt(r),26)));e.a.Bc(t),e.a.gc()}for(!t.s&&(t.s=new mj(eoe,t,21,17)),i=new YI(t.s);i.e!=i.i.gc();)MI(n=VP(hnt(i),170),99)&&hV(a,VP(n,18));z6(a),t.r=new AB(t,(VP(a1(oH((VR(),boe).o),6),18),a.i),a.g),kR(o,t.r),z6(o),t.f=new qA((VP(a1(oH(boe.o),5),18),o.i),o.g),dW(t).b&=-3}return t.f}function Kyt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(o=t.o,i=WX(Kce,CEt,25,o,15,1),r=WX(Kce,CEt,25,o,15,1),n=t.p,e=WX(Kce,CEt,25,n,15,1),a=WX(Kce,CEt,25,n,15,1),u=0;u<o;u++){for(h=0;h<n&&!Pit(t,u,h);)++h;i[u]=h}for(l=0;l<o;l++){for(h=n-1;h>=0&&!Pit(t,l,h);)--h;r[l]=h}for(d=0;d<n;d++){for(s=0;s<o&&!Pit(t,s,d);)++s;e[d]=s}for(g=0;g<n;g++){for(s=o-1;s>=0&&!Pit(t,s,g);)--s;a[g]=s}for(c=0;c<o;c++)for(f=0;f<n;f++)c<a[f]&&c>e[f]&&f<r[c]&&f>i[c]&&obt(t,c,f,!1,!0)}function Wyt(t){var e,n,i,r,a,o,s,c;n=tv(lD(Ost(t,(qpt(),nZt)))),a=t.a.c.d,s=t.a.d.d,n?(o=$I(vN(new XC(s.a,s.b),a),.5),c=$I(pI(t.e),.5),e=vN(mN(new XC(a.a,a.b),o),c),PO(t.d,e)):(r=ev(hD(Ost(t.a,mZt))),i=t.d,a.a>=s.a?a.b>=s.b?(i.a=s.a+(a.a-s.a)/2+r,i.b=s.b+(a.b-s.b)/2-r-t.e.b):(i.a=s.a+(a.a-s.a)/2+r,i.b=a.b+(s.b-a.b)/2+r):a.b>=s.b?(i.a=a.a+(s.a-a.a)/2+r,i.b=s.b+(a.b-s.b)/2+r):(i.a=a.a+(s.a-a.a)/2+r,i.b=a.b+(s.b-a.b)/2-r-t.e.b))}function Xyt(t,e){var n,i,r,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return"";for(c=WX(Gce,lEt,25,a,15,1),VX(0,a,t.length),VX(0,a,c.length),oR(t,0,a,c,0),n=null,s=e,r=0,o=0;r<a;r++)i=c[r],Rkt(),i<=32&&0!=(2&dce[i])?s?(!n&&(n=new TL(t)),gH(n,r-o++)):(s=e,32!=i&&(!n&&(n=new TL(t)),Uz(n,r-o,r-o+1,String.fromCharCode(32)))):s=!1;return s?n?(a=n.a.length)>0?fO(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function Vyt(t){sE(t,new nst(rx(tx(ix(nx(new bs,cSt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),BY(t,cSt,uSt,unt($Ht)),BY(t,cSt,lSt,unt(OHt)),BY(t,cSt,hSt,unt(SHt)),BY(t,cSt,fSt,unt(DHt)),BY(t,cSt,uCt,unt(BHt)),BY(t,cSt,lCt,unt(PHt)),BY(t,cSt,cCt,unt(FHt)),BY(t,cSt,hCt,unt(NHt)),BY(t,cSt,iSt,unt(MHt)),BY(t,cSt,rSt,unt(AHt)),BY(t,cSt,aSt,unt(IHt)),BY(t,cSt,oSt,unt(LHt))}function Qyt(t,e,n,i){var r,a,o,s,c,u,l;if(Lf(a=new ait(t),(gct(),ZUt)),d5(a,(wkt(),w0t),($ot(),cie)),r=0,e){for(d5(o=new Mct,(Lkt(),IXt),e),d5(a,IXt,e.i),plt(o,(Mxt(),Hie)),JZ(o,a),u=0,l=(c=MY(e.e)).length;u<l;++u)XZ(c[u],o);d5(e,$Xt,a),++r}if(n){for(s=new Mct,d5(a,(Lkt(),IXt),n.i),d5(s,IXt,n),plt(s,(Mxt(),_ie)),JZ(s,a),u=0,l=(c=MY(n.g)).length;u<l;++u)VZ(c[u],s);d5(n,$Xt,a),++r}return d5(a,(Lkt(),nXt),p8(r)),i.c[i.c.length]=a,a}function Jyt(){Jyt=I,Ure=P4(Zv(Gce,1),lEt,25,15,[48,49,50,51,52,53,54,55,56,57,65,66,67,68,69,70]),Yre=new RegExp("[ \t\n\r\f]+");try{Zre=P4(Zv(Voe,1),r_t,2015,0,[new zb((YM(),Ett("yyyy-MM-dd'T'HH:mm:ss'.'SSSZ",GD((mv(),mv(),vjt))))),new zb(Ett("yyyy-MM-dd'T'HH:mm:ss'.'SSS",GD(vjt))),new zb(Ett("yyyy-MM-dd'T'HH:mm:ss",GD(vjt))),new zb(Ett("yyyy-MM-dd'T'HH:mm",GD(vjt))),new zb(Ett("yyyy-MM-dd",GD(vjt)))])}catch(t){if(!MI(t=k4(t),78))throw lw(t)}}function tmt(t,e,i,r){var a,o,s,c,u,l,h,f,d;return l=(u=vN(new XC(i.a,i.b),t)).a*e.b-u.b*e.a,h=e.a*r.b-e.b*r.a,f=(u.a*r.b-u.b*r.a)/h,d=l/h,0==h?0==l?(o=aV(t,a=mN(new XC(i.a,i.b),$I(new XC(r.a,r.b),.5))),s=aV(mN(new XC(t.a,t.b),e),a),c=.5*n.Math.sqrt(r.a*r.a+r.b*r.b),o<s&&o<=c?new XC(t.a,t.b):s<=c?mN(new XC(t.a,t.b),e):null):null:f>=0&&f<=1&&d>=0&&d<=1?mN(new XC(t.a,t.b),$I(new XC(e.a,e.b),f)):null}function emt(t){var e,i,r,a,o,s,c,u,l,h;for(u=new Qf(new Vf(Tht(t)).a.vc().Kc());u.a.Ob();){for(r=VP(u.a.Pb(),42),l=0,h=0,l=(c=VP(r.cd(),10)).d.d,h=c.o.b+c.d.a,t.d[c.p]=0,e=c;(a=t.a[e.p])!=c;)i=_et(e,a),0,s=t.c==(QH(),p4t)?i.d.n.b+i.d.a.b-i.c.n.b-i.c.a.b:i.c.n.b+i.c.a.b-i.d.n.b-i.d.a.b,o=ev(t.d[e.p])+s,t.d[a.p]=o,l=n.Math.max(l,a.d.d-o),h=n.Math.max(h,o+a.o.b+a.d.a),e=a;e=c;do{t.d[e.p]=ev(t.d[e.p])+l,e=t.a[e.p]}while(e!=c);t.b[c.p]=l+h}}function nmt(t){var e,i,r,a,o,s,c,u,l,h,f;for(t.b=!1,h=JEt,c=tTt,f=JEt,u=tTt,i=t.e.a.ec().Kc();i.Ob();)for(r=(e=VP(i.Pb(),266)).a,h=n.Math.min(h,r.c),c=n.Math.max(c,r.c+r.b),f=n.Math.min(f,r.d),u=n.Math.max(u,r.d+r.a),o=new wd(e.c);o.a<o.c.c.length;)(a=VP(qU(o),395)).a.a?(s=(l=r.d+a.b.b)+a.c,f=n.Math.min(f,l),u=n.Math.max(u,s)):(s=(l=r.c+a.b.a)+a.c,h=n.Math.min(h,l),c=n.Math.max(c,s));t.a=new XC(c-h,u-f),t.c=new XC(h+t.d.a,f+t.d.b)}function imt(t){var e,n,i,r,a,o;if(!t.a){if(t.o=null,o=new jb(t),e=new Cc,null==(n=qoe).a.zc(t,n)){for(a=new YI(AH(t));a.e!=a.i.gc();)kR(o,imt(VP(hnt(a),26)));n.a.Bc(t),n.a.gc()}for(!t.s&&(t.s=new mj(eoe,t,21,17)),r=new YI(t.s);r.e!=r.i.gc();)MI(i=VP(hnt(r),170),322)&&hV(e,VP(i,34));z6(e),t.k=new SB(t,(VP(a1(oH((VR(),boe).o),7),18),e.i),e.g),kR(o,t.k),z6(o),t.a=new qA((VP(a1(oH(boe.o),4),18),o.i),o.g),dW(t).b&=-2}return t.a}function rmt(t,e,n,i,r,a,o){var s,c,u,l,h;return l=!1,s=qdt(n.q,e.f+e.b-n.q.f),!((h=r-(n.q.e+s-o))<i.g)&&(c=a==t.c.length-1&&h>=(OU(a,t.c.length),VP(t.c[a],200)).e,!((u=umt(i,h,!1).a)>e.b&&!c)&&((c||u<=e.b)&&(c&&u>e.b?(n.d=u,wV(n,Fct(n,u))):(lot(n.q,s),n.c=!0),wV(i,r-(n.s+n.r)),Vnt(i,n.q.e+n.q.d,e.f),a0(e,i),t.c.length>a&&(sat((OU(a,t.c.length),VP(t.c[a],200)),i),0==(OU(a,t.c.length),VP(t.c[a],200)).a.c.length&&$W(t,a)),l=!0),l))}function amt(t,e,n,i){var r,a,o,s,c,u,l;if(l=bgt(t.e.Tg(),e),r=0,a=VP(t.g,119),c=null,EE(),VP(e,66).Oj()){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(X7(o,n)){c=o;break}++r}}else if(null!=n){for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(X7(n,o.dd())){c=o;break}++r}}else for(s=0;s<t.i;++s)if(o=a[s],l.rl(o.ak())){if(null==o.dd()){c=o;break}++r}return c&&(bM(t.e)&&(u=e.$j()?new cK(t.e,4,e,n,null,r,!0):$H(t,e.Kj()?2:1,e,n,e.zj(),-1,!0),i?i.Ei(u):i=u),i=Nbt(t,c,i)),i}function omt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p;switch(g=0,p=0,u=a.c,c=a.b,h=i.f,d=i.g,e.g){case 0:g=r.i+r.g+s,p=t.c?function(t,e,n,i){var r,a,o,s,c;for(a=null,r=0,s=new wd(e);s.a<s.c.c.length;)c=(o=VP(qU(s),33)).j+o.f,t<o.i+o.g+i&&(a?n.j-c<n.j-r&&(a=o):a=o,r=a.j+a.f);return a?r+i:0}(g,o,r,s):r.j,f=n.Math.max(u,g+d),l=n.Math.max(c,p+h);break;case 1:p=r.j+r.f+s,g=t.c?function(t,e,n,i){var r,a,o,s,c;for(r=null,a=0,s=new wd(e);s.a<s.c.c.length;)c=(o=VP(qU(s),33)).i+o.g,t<o.j+o.f+i&&(r?n.i-c<n.i-a&&(r=o):r=o,a=r.i+r.g);return r?a+i:0}(p,o,r,s):r.i,f=n.Math.max(u,g+d),l=n.Math.max(c,p+h);break;case 2:g=u+s,p=0,f=u+s+d,l=n.Math.max(c,h);break;case 3:g=0,p=c+s,f=n.Math.max(u,d),l=c+s+h;break;default:throw lw(new Xm("IllegalPlacementOption."))}return new R9(t.a,f,l,e,g,p)}function smt(t,e,n,i){var r,a,o,s,c,u;if(c=bgt(t.e.Tg(),e),a=VP(t.g,119),Ngt(t.e,e)){for(r=0,s=0;s<t.i;++s)if(o=a[s],c.rl(o.ak())){if(r==n)return EE(),VP(e,66).Oj()?o:(null!=(u=o.dd())&&i&&MI(e,99)&&0!=(VP(e,18).Bb&iTt)&&(u=Zlt(t,e,s,r,u)),u);++r}throw lw(new qm(yBt+n+EPt+r))}for(r=0,s=0;s<t.i;++s){if(o=a[s],c.rl(o.ak()))return EE(),VP(e,66).Oj()?o:(null!=(u=o.dd())&&i&&MI(e,99)&&0!=(VP(e,18).Bb&iTt)&&(u=Zlt(t,e,s,r,u)),u);++r}return e.zj()}function cmt(t,e,n){var i,r,a,o,s,c,u,l;if(r=VP(t.g,119),Ngt(t.e,e))return EE(),VP(e,66).Oj()?new aF(e,t):new WS(e,t);for(u=bgt(t.e.Tg(),e),i=0,s=0;s<t.i;++s){if(o=(a=r[s]).ak(),u.rl(o)){if(EE(),VP(e,66).Oj())return a;if(o==(bht(),Sse)||o==Ese){for(c=new CL(A9(a.dd()));++s<t.i;)((o=(a=r[s]).ak())==Sse||o==Ese)&&vA(c,A9(a.dd()));return BN(VP(e.Yj(),148),c.a)}return null!=(l=a.dd())&&n&&MI(e,99)&&0!=(VP(e,18).Bb&iTt)&&(l=Zlt(t,e,s,i,l)),l}++i}return e.zj()}function umt(t,e,i){var r,a,o,s,c,u,l,h,f,d;for(o=0,s=t.t,a=0,r=0,u=0,d=0,f=0,i&&(t.n.c=WX(G$t,r_t,1,0,5,1),nB(t.n,new bZ(t.s,t.t,t.i))),c=0,h=new wd(t.b);h.a<h.c.c.length;)o+(l=VP(qU(h),33)).g+(c>0?t.i:0)>e&&u>0&&(o=0,s+=u+t.i,a=n.Math.max(a,d),r+=u+t.i,u=0,d=0,i&&(++f,nB(t.n,new bZ(t.s,s,t.i))),c=0),d+=l.g+(c>0?t.i:0),u=n.Math.max(u,l.f),i&&Iit(VP(EF(t.n,f),211),l),o+=l.g+(c>0?t.i:0),++c;return a=n.Math.max(a,d),r+=u,i&&(t.r=a,t.d=r,Trt(t.j)),new mq(t.s,t.t,a,r)}function lmt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;if(c_(),zj(t,"src"),zj(n,"dest"),f=W5(t),c=W5(n),xB(0!=(4&f.i),"srcType is not an array"),xB(0!=(4&c.i),"destType is not an array"),h=f.c,o=c.c,xB(0!=(1&h.i)?h==o:0==(1&o.i),"Array types don't match"),d=t.length,u=n.length,e<0||i<0||r<0||e+r>d||i+r>u)throw lw(new Mw);if(0==(1&h.i)&&f!=c)if(l=l1(t),a=l1(n),iA(t)===iA(n)&&e<i)for(e+=r,s=i+r;s-- >i;)BR(a,s,l[--e]);else for(s=i+r;i<s;)BR(a,i++,l[e++]);else r>0&&hlt(t,e,n,i,r,!0)}function hmt(){hmt=I,vRt=P4(Zv(Kce,1),CEt,25,15,[eEt,1162261467,Y_t,1220703125,362797056,1977326743,Y_t,387420489,GEt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,Y_t,1291467969,1544804416,1838265625,60466176]),xRt=P4(Zv(Kce,1),CEt,25,15,[-1,-1,31,19,15,13,11,11,10,9,9,8,8,8,8,7,7,7,7,7,7,7,6,6,6,6,6,6,6,6,6,6,6,6,6,6,5])}function fmt(t,e){var n,i,r,a,o;if(o=VP(e,136),Bft(t),Bft(o),null!=o.b){if(t.c=!0,null==t.b)return t.b=WX(Kce,CEt,25,o.b.length,15,1),void lmt(o.b,0,t.b,0,o.b.length);for(a=WX(Kce,CEt,25,t.b.length+o.b.length,15,1),n=0,i=0,r=0;n<t.b.length||i<o.b.length;)n>=t.b.length?(a[r++]=o.b[i++],a[r++]=o.b[i++]):i>=o.b.length?(a[r++]=t.b[n++],a[r++]=t.b[n++]):o.b[i]<t.b[n]||o.b[i]===t.b[n]&&o.b[i+1]<t.b[n+1]?(a[r++]=o.b[i++],a[r++]=o.b[i++]):(a[r++]=t.b[n++],a[r++]=t.b[n++]);t.b=a}}function dmt(t,e){var n,i,r,a,o,s,c,u,l,h;return n=tv(lD(Ost(t,(Lkt(),EXt)))),s=tv(lD(Ost(e,EXt))),i=VP(Ost(t,TXt),11),c=VP(Ost(e,TXt),11),r=VP(Ost(t,CXt),11),u=VP(Ost(e,CXt),11),l=!!i&&i==c,h=!!r&&r==u,n||s?(a=(!tv(lD(Ost(t,EXt)))||tv(lD(Ost(t,_Xt))))&&(!tv(lD(Ost(e,EXt)))||tv(lD(Ost(e,_Xt)))),o=!(tv(lD(Ost(t,EXt)))&&tv(lD(Ost(t,_Xt)))||tv(lD(Ost(e,EXt)))&&tv(lD(Ost(e,_Xt)))),new CP(l&&a||h&&o,l,h)):new CP(VP(qU(new wd(t.j)),11).p==VP(qU(new wd(e.j)),11).p,l,h)}function gmt(t){var e,n,i,r;return 0!=(64&t.Db)?W8(t):(e=new CL(hNt),(i=t.k)?vA(vA((e.a+=' "',e),i),'"'):(!t.n&&(t.n=new mj(oae,t,1,7)),t.n.i>0&&(!(r=(!t.n&&(t.n=new mj(oae,t,1,7)),VP(a1(t.n,0),137)).a)||vA(vA((e.a+=' "',e),r),'"'))),!t.b&&(t.b=new LN(Jre,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new LN(Jre,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",vA(e,fL(new Ev,new YI(t.b))),n&&(e.a+="]"),e.a+=yAt,n&&(e.a+="["),vA(e,fL(new Ev,new YI(t.c))),n&&(e.a+="]"),e.a)}function pmt(t,e){var n,i,r,a,o,s,c;if(t.a){if(c=null,null!=(s=t.a.ne())?e.a+=""+s:null!=(o=t.a.Dj())&&(-1!=(a=WA(o,wst(91)))?(c=o.substr(a),e.a+=""+fO(null==o?s_t:(yz(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(r=!0,e.a+="<",i=new YI(t.d);i.e!=i.i.gc();)n=VP(hnt(i),87),r?r=!1:e.a+=n_t,pmt(n,e);e.a+=">"}null!=c&&(e.a+=""+c)}else t.e?null!=(s=t.e.zb)&&(e.a+=""+s):(e.a+="?",t.b?(e.a+=" super ",pmt(t.b,e)):t.f&&(e.a+=" extends ",pmt(t.f,e)))}function bmt(t,e,n,i){var r,a,o,s,c,u;if(a=G8(i),!tv(lD(Ost(i,(wkt(),Z1t))))&&!tv(lD(Ost(t,A1t)))||pM(VP(Ost(t,w0t),98)))switch(JZ(s=new Mct,t),e?((u=s.n).a=e.a-t.n.a,u.b=e.b-t.n.b,Hct(u,0,0,t.o.a,t.o.b),plt(s,Twt(s,a))):(r=Z9(a),plt(s,n==(l0(),r3t)?r:I8(r))),o=VP(Ost(i,(Lkt(),gXt)),21),c=s.j,a.g){case 2:case 1:(c==(Mxt(),Eie)||c==zie)&&o.Fc((ipt(),LWt));break;case 4:case 3:(c==(Mxt(),_ie)||c==Hie)&&o.Fc((ipt(),LWt))}else r=Z9(a),s=mwt(t,n,n==(l0(),r3t)?r:I8(r));return s}function wmt(t,e,i){var r,a,o,s,c,u,l;return n.Math.abs(e.s-e.c)<ASt||n.Math.abs(i.s-i.c)<ASt?0:(r=ugt(t,e.j,i.e),a=ugt(t,i.j,e.e),o=0,-1==r||-1==a?(-1==r&&(new gU((iX(),j4t),i,e,1),++o),-1==a&&(new gU((iX(),j4t),e,i,1),++o)):(s=Z7(e.j,i.s,i.c),s+=Z7(i.e,e.s,e.c),c=Z7(i.j,e.s,e.c),(u=r+16*s)<(l=a+16*(c+=Z7(e.e,i.s,i.c)))?new gU((iX(),R4t),e,i,l-u):u>l?new gU((iX(),R4t),i,e,u-l):u>0&&l>0&&(new gU((iX(),R4t),e,i,0),new gU(R4t,i,e,0))),o)}function ymt(t,e){var i,r,a,o,s;for(s=new e6(new Xf(t.f.b).a);s.b;){if(a=VP((o=u1(s)).cd(),594),1==e){if(a.gf()!=(e8(),ine)&&a.gf()!=Jee)continue}else if(a.gf()!=(e8(),tne)&&a.gf()!=ene)continue;switch(r=VP(VP(o.dd(),46).b,81),i=VP(VP(o.dd(),46).a,189).c,a.gf().g){case 2:r.g.c=t.e.a,r.g.b=n.Math.max(1,r.g.b+i);break;case 1:r.g.c=r.g.c+i,r.g.b=n.Math.max(1,r.g.b-i);break;case 4:r.g.d=t.e.b,r.g.a=n.Math.max(1,r.g.a+i);break;case 3:r.g.d=r.g.d+i,r.g.a=n.Math.max(1,r.g.a-i)}}}function mmt(t,e){var n,i,r,a,o,s,c,u,h,f,d;for(i=new O$(dL(ddt(e).a.Kc(),new l));Xht(i);)MI(a1((!(n=VP(xW(i),79)).b&&(n.b=new LN(Jre,n,4,7)),n.b),0),186)||(c=rst(VP(a1((!n.c&&(n.c=new LN(Jre,n,5,8)),n.c),0),82)),$ht(n)||(o=e.i+e.g/2,s=e.j+e.f/2,h=c.i+c.g/2,f=c.j+c.f/2,(d=new Sx).a=h-o,d.b=f-s,Eat(a=new XC(d.a,d.b),e.g,e.f),d.a-=a.a,d.b-=a.b,o=h-d.a,s=f-d.b,Eat(u=new XC(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,h=o+d.a,f=s+d.b,P1(r=Qgt(n,!0,!0),o),F1(r,s),I1(r,h),B1(r,f),mmt(t,c)))}function vmt(t){sE(t,new nst(rx(tx(ix(nx(new bs,JOt),"ELK SPOrE Compaction"),"ShrinkTree is a compaction algorithm that maintains the topology of a layout. The relocation of diagram elements is based on contracting a spanning tree."),new ns))),BY(t,JOt,tDt,unt(B8t)),BY(t,JOt,eDt,unt(D8t)),BY(t,JOt,nDt,unt(O8t)),BY(t,JOt,iDt,unt(I8t)),BY(t,JOt,rDt,unt(L8t)),BY(t,JOt,fSt,M8t),BY(t,JOt,NSt,8),BY(t,JOt,aDt,unt(P8t)),BY(t,JOt,oDt,unt(T8t)),BY(t,JOt,sDt,unt(C8t)),BY(t,JOt,uLt,(EL(),!1))}function xmt(t,e,n){var i,r,a,o,s,c,u,l;return i=t.a.o==(FZ(),v4t)?JEt:tTt,!(s=Bwt(t,new EC(e,n))).a&&s.c?($B(t.d,s),i):s.a?(r=s.a.c,c=s.a.d,n?(u=t.a.c==(QH(),b4t)?c:r,a=t.a.c==b4t?r:c,o=t.a.g[a.i.p],l=ev(t.a.p[o.p])+ev(t.a.d[a.i.p])+a.n.b+a.a.b-ev(t.a.d[u.i.p])-u.n.b-u.a.b):(u=t.a.c==(QH(),p4t)?c:r,a=t.a.c==p4t?r:c,l=ev(t.a.p[t.a.g[a.i.p].p])+ev(t.a.d[a.i.p])+a.n.b+a.a.b-ev(t.a.d[u.i.p])-u.n.b-u.a.b),t.a.n[t.a.g[r.i.p].p]=(EL(),!0),t.a.n[t.a.g[c.i.p].p]=!0,l):i}function kmt(t,e,n){var i,r,a,o,s,c,u;if(Ngt(t.e,e))EE(),kht((s=VP(e,66).Oj()?new aF(e,t):new WS(e,t)).c,s.b),EI(s,VP(n,14));else{for(u=bgt(t.e.Tg(),e),i=VP(t.g,119),a=0;a<t.i;++a)if(r=i[a].ak(),u.rl(r)){if(r==(bht(),Sse)||r==Ese){for(o=a,(c=iit(t,e,n))?npt(t,a):++a;a<t.i;)(r=i[a].ak())==Sse||r==Ese?npt(t,a):++a;c||VP(jnt(t,o,WG(e,n)),72)}else iit(t,e,n)?npt(t,a):VP(jnt(t,a,(EE(),VP(e,66).Oj()?VP(n,72):WG(e,n))),72);return}iit(t,e,n)||hV(t,(EE(),VP(e,66).Oj()?VP(n,72):WG(e,n)))}}function _mt(t,e,n){var i,r,a,o,s,c,u,l;return X7(n,t.b)||(t.b=n,a=new Vt,o=VP(xK(hq(new CF(null,new NU(n.f,16)),a),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[(M6(),czt),szt]))),21),t.e=!0,t.f=!0,t.c=!0,t.d=!0,r=o.Hc((Snt(),nHt)),i=o.Hc(iHt),r&&!i&&(t.f=!1),!r&&i&&(t.d=!1),r=o.Hc(eHt),i=o.Hc(rHt),r&&!i&&(t.c=!1),!r&&i&&(t.e=!1)),l=VP(t.a.Ce(e,n),46),c=VP(l.a,19).a,u=VP(l.b,19).a,s=!1,c<0?t.c||(s=!0):t.e||(s=!0),u<0?t.d||(s=!0):t.f||(s=!0),s?_mt(t,l,n):l}function Emt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(l=0;l<e.length;l++){for(o=t.Kc();o.Ob();)VP(o.Pb(),225).Of(l,e);for(h=0;h<e[l].length;h++){for(s=t.Kc();s.Ob();)VP(s.Pb(),225).Pf(l,h,e);for(d=e[l][h].j,f=0;f<d.c.length;f++){for(c=t.Kc();c.Ob();)VP(c.Pb(),225).Qf(l,h,f,e);for(OU(f,d.c.length),n=0,r=new YW(VP(d.c[f],11).b);JM(r.a)||JM(r.b);)for(i=VP(JM(r.a)?qU(r.a):qU(r.b),17),u=t.Kc();u.Ob();)VP(u.Pb(),225).Nf(l,h,f,n++,i,e)}}}for(a=t.Kc();a.Ob();)VP(a.Pb(),225).Mf()}function Tmt(t,e){var n,i,r,a,o;for(t.b=ev(hD(Ost(e,(wkt(),B0t)))),t.c=ev(hD(Ost(e,j0t))),t.d=VP(Ost(e,m1t),336),t.a=VP(Ost(e,qJt),275),function(t){var e,n,i;for(n=new wd(t.b);n.a<n.c.c.length;)for(e=0,i=new wd(VP(qU(n),29).a);i.a<i.c.c.length;)VP(qU(i),10).p=e++}(e),r=(a=VP(xK(lq(lq(KQ(KQ(new CF(null,new NU(e.b,16)),new vn),new xn),new kn),new _n),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15)).Kc();r.Ob();)n=VP(r.Pb(),17),VP(Ost(n,(Lkt(),WXt)),15).Jc(new Tg(t)),d5(n,WXt,null);for(i=a.Kc();i.Ob();)n=VP(i.Pb(),17),o=VP(Ost(n,(Lkt(),XXt)),17),pkt(t,VP(Ost(n,GXt),15),o),d5(n,GXt,null)}function Cmt(t){var e,n,i,r,a;if(t.k!=(gct(),HUt))return!1;if(t.j.c.length<=1)return!1;if(VP(Ost(t,(wkt(),w0t)),98)==($ot(),cie))return!1;if(Hnt(),(i=(t.q?t.q:(Gq(),Gq(),CRt))._b(Q1t)?VP(Ost(t,Q1t),197):VP(Ost(pz(t),J1t),197))==S2t)return!1;if(i!=C2t&&i!=T2t){if(r=ev(hD(wtt(t,W0t))),!(e=VP(Ost(t,K0t),142))&&(e=new wN(r,r,r,r)),a=i9(t,(Mxt(),Hie)),e.d+e.a+(a.gc()-1)*r>t.o.b)return!1;if(n=i9(t,_ie),e.d+e.a+(n.gc()-1)*r>t.o.b)return!1}return!0}function Smt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(o=t.e,c=e.e,0==o)return e;if(0==c)return t;if((a=t.d)+(s=e.d)==2)return n=ZU(t.a[0],cTt),i=ZU(e.a[0],cTt),o==c?(g=KF(l=e9(n,i)),0==(d=KF(Y$(l,32)))?new gX(o,g):new Mj(o,2,P4(Zv(Kce,1),CEt,25,15,[g,d]))):Get(o<0?t9(i,n):t9(n,i));if(o==c)f=o,h=a>=s?KX(t.a,a,e.a,s):KX(e.a,s,t.a,a);else{if(0==(r=a!=s?a>s?1:-1:g6(t.a,e.a,a)))return gpt(),yRt;1==r?(f=o,h=ZW(t.a,a,e.a,s)):(f=c,h=ZW(e.a,s,t.a,a))}return CY(u=new Mj(f,h.length,h)),u}function Amt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g;return f=tv(lD(Ost(e,(wkt(),U1t)))),d=null,o==(l0(),i3t)&&r.c.i==i?d=r.c:o==r3t&&r.d.i==i&&(d=r.d),(l=s)&&f&&!d?(nB(l.e,r),g=n.Math.max(ev(hD(Ost(l.d,x1t))),ev(hD(Ost(r,x1t)))),d5(l.d,x1t,g)):(Mxt(),h=qie,d?h=d.j:pM(VP(Ost(i,w0t),98))&&(h=o==i3t?Hie:_ie),u=function(t,e,n,i,r,a){var o,s,c,u,l,h;return o=null,u=i==(l0(),i3t)?a.c:a.d,c=G8(e),u.i==n?(o=VP(zR(t.b,u),10))||(d5(o=Jxt(u,VP(Ost(n,(wkt(),w0t)),98),r,function(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(r=tv(lD(Ost(s=t.i,(wkt(),M1t)))),l=0,i=0,u=new wd(t.g);u.a<u.c.c.length;)a=(o=JK(c=VP(qU(u),17)))&&r&&tv(lD(Ost(c,I1t))),f=c.d.i,o&&a?++i:o&&!a?++l:pz(f).e==s?++i:++l;for(n=new wd(t.e);n.a<n.c.c.length;)a=(o=JK(e=VP(qU(n),17)))&&r&&tv(lD(Ost(e,I1t))),h=e.c.i,o&&a?++l:o&&!a?++i:pz(h).e==s?++l:++i;return l-i}(u),null,u.n,u.o,c,e),(Lkt(),IXt),u),Pz(t.b,u,o)):(s=function(t,e,n){var i,r;switch(i=G8(pz(e)),JZ(r=new Mct,e),n.g){case 1:plt(r,I8(Z9(i)));break;case 2:plt(r,Z9(i))}return d5(r,(wkt(),b0t),hD(Ost(t,b0t))),r}(o=Jxt((l=new Qt,h=ev(hD(Ost(e,(wkt(),P0t))))/2,f5(l,b0t,h),l),VP(Ost(n,w0t),98),r,i==i3t?-1:1,null,new Sx,new XC(0,0),c,e),n,i),d5(o,(Lkt(),IXt),s),Pz(t.b,s,o)),VP(Ost(e,(Lkt(),gXt)),21).Fc((ipt(),SWt)),pM(VP(Ost(e,(wkt(),w0t)),98))?d5(e,w0t,($ot(),lie)):d5(e,w0t,($ot(),hie)),o}(t,e,i,o,h,r),c=_W((pz(i),r)),o==i3t?(VZ(c,VP(EF(u.j,0),11)),XZ(c,a)):(VZ(c,a),XZ(c,VP(EF(u.j,0),11))),l=new a8(r,c,u,VP(Ost(u,(Lkt(),IXt)),11),o,!d)),Vlt(t.a,r,new kP(l.d,e,o)),l}function Mmt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=null,t.d&&(l=VP(oZ(t.d,e),138)),!l){if(h=(a=t.a.Mh()).i,!t.d||l_(t.d)!=h){for(c=new rw,t.d&&i3(c,t.d),s=u=c.f.c+c.g.c;s<h;++s)i=VP(a1(a,s),138),(n=VP(null==(r=Y7(t.e,i).ne())?Qut(c.f,null,i):r9(c.g,r,i),138))&&n!=i&&(null==r?Qut(c.f,null,n):r9(c.g,r,n));if(c.f.c+c.g.c!=h)for(o=0;o<u;++o)i=VP(a1(a,o),138),(n=VP(null==(r=Y7(t.e,i).ne())?Qut(c.f,null,i):r9(c.g,r,i),138))&&n!=i&&(null==r?Qut(c.f,null,n):r9(c.g,r,n));t.d=c}l=VP(oZ(t.d,e),138)}return l}function Imt(){var t;Imt=I,$ae=new jy,Bae=WX(fRt,T_t,2,0,6,1),zae=UU(G4(33,58),G4(1,26)),qae=UU(G4(97,122),G4(65,90)),Hae=G4(48,57),jae=UU(zae,0),Rae=UU(qae,Hae),Zae=UU(UU(0,G4(1,6)),G4(33,38)),Uae=UU(UU(Hae,G4(65,70)),G4(97,102)),Xae=UU(jae,ant("-_.!~*'()")),Vae=UU(Rae,ftt("-_.!~*'()")),ant(_Bt),ftt(_Bt),UU(Xae,ant(";:@&=+$,")),UU(Vae,ftt(";:@&=+$,")),Yae=ant(":/?#"),Gae=ftt(":/?#"),Kae=ant("/?#"),Wae=ftt("/?#"),(t=new Xw).a.zc("jar",t),t.a.zc("zip",t),t.a.zc("archive",t),Gq(),Fae=new Nv(t)}function Lmt(t,e){var n,i,r,a,o;if(d5(e,(avt(),_5t),0),r=VP(Ost(e,x5t),86),0==e.d.b)r?(o=ev(hD(Ost(r,C5t)))+t.a+uW(r,e),d5(e,C5t,o)):d5(e,C5t,0);else{for(n=new Fp(tnt(new Bp(e).a.d,0));ik(n.a);)Lmt(t,VP(AG(n.a),188).c);i=VP(SI(new Fp(tnt(new Bp(e).a.d,0))),86),a=(ev(hD(Ost(VP(function(t){return ik(t.a)?AU(t):null}(new Fp(tnt(new Bp(e).a.d,0))),86),C5t)))+ev(hD(Ost(i,C5t))))/2,r?(o=ev(hD(Ost(r,C5t)))+t.a+uW(r,e),d5(e,C5t,o),d5(e,_5t,ev(hD(Ost(e,C5t)))-a),function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=(u=VP(SI(new Fp(tnt(new Bp(e).a.d,0))),86))?VP(Ost(u,(avt(),v5t)),86):null,r=1;u&&f;){for(o=0,y=0,n=u,i=f,a=0;a<r;a++)n=nV(n),i=nV(i),y+=ev(hD(Ost(n,(avt(),_5t)))),o+=ev(hD(Ost(i,_5t)));if(w=ev(hD(Ost(f,(avt(),C5t)))),b=ev(hD(Ost(u,C5t))),l=uW(u,f),0<(h=w+o+t.a+l-b-y)){for(s=e,c=0;s&&s!=i;)++c,s=VP(Ost(s,x5t),86);if(!s)return;for(p=h/c,s=e;s!=i;)g=ev(hD(Ost(s,C5t)))+h,d5(s,C5t,g),d=ev(hD(Ost(s,_5t)))+h,d5(s,_5t,d),h-=p,s=VP(Ost(s,x5t),86)}++r,f=(u=0==u.d.b?Wbt(new Bp(e),r):VP(SI(new Fp(tnt(new Bp(u).a.d,0))),86))?VP(Ost(u,v5t),86):null}}(t,e)):d5(e,C5t,a)}}function Omt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;s=0,d=0,c=aZ(t.f,t.f.length),a=t.d,o=t.i,i=t.a,r=t.b;do{for(f=0,u=new wd(t.p);u.a<u.c.c.length;)h=Lvt(t,VP(qU(u),10)),n=!0,(t.q==(Rdt(),j2t)||t.q==q2t)&&(n=tv(lD(h.b))),VP(h.a,19).a<0&&n?(++f,c=aZ(t.f,t.f.length),t.d=t.d+VP(h.a,19).a,d+=a-t.d,a=t.d+VP(h.a,19).a,o=t.i,i=GU(t.a),r=GU(t.b)):(t.f=aZ(c,c.length),t.d=a,t.a=(TR(i),i?new uP(i):QP(new wd(i))),t.b=(TR(r),r?new uP(r):QP(new wd(r))),t.i=o);++s,l=0!=f&&tv(lD(e.Kb(new mS(p8(d),p8(s)))))}while(l)}function Dmt(t,e){var n,i,r,a,o,s,c,u,l;if(!(e.e.c.length<=1)){for(t.f=e,t.d=VP(Ost(t.f,(Wrt(),DZt)),379),t.g=VP(Ost(t.f,FZt),19).a,t.e=ev(hD(Ost(t.f,NZt))),t.c=ev(hD(Ost(t.f,OZt))),dR(t.b),r=new wd(t.f.c);r.a<r.c.c.length;)i=VP(qU(r),282),Ibt(t.b,i.c,i,null),Ibt(t.b,i.d,i,null);for(s=t.f.e.c.length,t.a=hF(Qce,[T_t,aTt],[104,25],15,[s,s],2),u=new wd(t.f.e);u.a<u.c.c.length;)zyt(t,c=VP(qU(u),144),t.a[c.b]);for(t.i=hF(Qce,[T_t,aTt],[104,25],15,[s,s],2),a=0;a<s;++a)for(o=0;o<s;++o)l=1/((n=t.a[a][o])*n),t.i[a][o]=l}}function Nmt(t){var e,n,i,r;if(!(null==t.b||t.b.length<=2||t.a)){for(e=0,r=0;r<t.b.length;){for(e!=r?(t.b[e]=t.b[r++],t.b[e+1]=t.b[r++]):r+=2,n=t.b[e+1];r<t.b.length&&!(n+1<t.b[r]);)if(n+1==t.b[r])t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2;else if(n>=t.b[r+1])r+=2;else{if(!(n<t.b[r+1]))throw lw(new Am("Token#compactRanges(): Internel Error: ["+t.b[e]+","+t.b[e+1]+"] ["+t.b[r]+","+t.b[r+1]+"]"));t.b[e+1]=t.b[r+1],n=t.b[e+1],r+=2}e+=2}e!=t.b.length&&(i=WX(Kce,CEt,25,e,15,1),lmt(t.b,0,i,0,e),t.b=i),t.a=!0}}function Pmt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(a=tv(lD(_ft(e=EZ(t),(wkt(),M1t)))),l=0,r=0,u=new YI((!t.e&&(t.e=new LN(tae,t,7,4)),t.e));u.e!=u.i.gc();)o=(s=Wlt(c=VP(hnt(u),79)))&&a&&tv(lD(_ft(c,I1t))),f=rst(VP(a1((!c.c&&(c.c=new LN(Jre,c,5,8)),c.c),0),82)),s&&o?++r:s&&!o?++l:AZ(f)==e||f==e?++r:++l;for(i=new YI((!t.d&&(t.d=new LN(tae,t,8,5)),t.d));i.e!=i.i.gc();)o=(s=Wlt(n=VP(hnt(i),79)))&&a&&tv(lD(_ft(n,I1t))),h=rst(VP(a1((!n.b&&(n.b=new LN(Jre,n,4,7)),n.b),0),82)),s&&o?++l:s&&!o?++r:AZ(h)==e||h==e?++l:++r;return l-r}function Bmt(t,e){var n,i,r,a,o,s,c,u,l;if((o=null!=e.p&&!e.b)||ast(e,kSt,1),a=1/(n=VP(Ost(t,(Lkt(),RXt)),15)).gc(),e.n)for(DB(e,"ELK Layered uses the following "+n.gc()+" modules:"),l=0,u=n.Kc();u.Ob();)DB(e," Slot "+(l<10?"0":"")+l+++": "+Nx(W5(VP(u.Pb(),51))));for(c=n.Kc();c.Ob();)VP(c.Pb(),51).pf(t,Q2(e,a));for(r=new wd(t.b);r.a<r.c.c.length;)i=VP(qU(r),29),C4(t.a,i.a),i.a.c=WX(G$t,r_t,1,0,5,1);for(s=new wd(t.a);s.a<s.c.c.length;)QZ(VP(qU(s),10),null);t.b.c=WX(G$t,r_t,1,0,5,1),o||$ct(e)}function Fmt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(g=new rw,a=t.a.ec().Kc();a.Ob();)Pz(g,i=VP(a.Pb(),168),n.Je(i));for(TR(t),QM(o=t?new uP(t):QP(t.a.ec().Kc()),new Yd(g)),s=vK(o),c=new sI(e),Qut((d=new rw).f,e,c);0!=s.a.gc();){for(u=null,l=null,h=null,r=s.a.ec().Kc();r.Ob();)if(i=VP(r.Pb(),168),ev(hD(nA(BH(g.f,i))))<=JEt){if(Sj(d,i.a)&&!Sj(d,i.b)){l=i.b,h=i.a,u=i;break}if(Sj(d,i.b)&&!Sj(d,i.a)){l=i.a,h=i.b,u=i;break}}if(!u)break;f=new sI(l),nB(VP(nA(BH(d.f,h)),221).a,f),Qut(d.f,l,f),s.a.Bc(u)}return c}function $mt(t,e){var n,i,r,a,o;if(e)if(!t.a&&(t.a=new Qw),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=VP(fz(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?Yw(t.a,e):(0==e.e||e.bm().length,0==a.e?(n=new Iv,(i=a._l())>=iTt?wA(n,Y8(i)):$R(n,i&fEt),a=new tZ(10,null,0),function(t,e,n){ij(n,t.a.c.length),XK(t.a,n,e)}(t.a,a,o-1)):(a.bm().length,wA(n=new Iv,a.bm())),0==e.e?(i=e._l())>=iTt?wA(n,Y8(i)):$R(n,i&fEt):wA(n,e.bm()),VP(a,521).b=n.a):Yw(t.a,e);else for(r=0;r<e.em();r++)$mt(t,e.am(r));else Yw(t.a,e)}function jmt(t){var e,n,i,r,a;return null!=t.g?t.g:t.a<32?(t.g=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(hmt(),(c=x7(t,0)<0)&&(t=uQ(t)),0==x7(t,0))switch(e){case 0:return"0";case 1:return lTt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new Lv).a+=e<0?"0E+":"0E",d.a+=e==eEt?"2147483648":""+-e,d.a}h=WX(Gce,lEt,25,1+(l=18),15,1),n=l,p=t;do{u=p,p=qat(p,10),h[--n]=KF(e9(48,t9(u,n9(p,10))))&fEt}while(0!=x7(p,0));if(r=t9(t9(t9(l,n),e),1),0==e)return c&&(h[--n]=45),Wtt(h,n,l-n);if(e>0&&x7(r,-6)>=0){if(x7(r,0)>=0){for(a=n+KF(r),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),Wtt(h,n,l-n+1)}for(o=2;DE(o,e9(uQ(r),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),Wtt(h,n,l-n)}return g=n+1,i=l,f=new Ov,c&&(f.a+="-"),i-g>=1?(jR(f,h[n]),f.a+=".",f.a+=Wtt(h,n+1,l-n-1)):f.a+=Wtt(h,n,l-n),f.a+="E",x7(r,0)>0&&(f.a+="+"),f.a+=""+q$(r),f.a}(B3(t.f),cZ(t.e)),t.g):(r=ykt((!t.c&&(t.c=Q6(t.f)),t.c),0),0==t.e?r:(e=(!t.c&&(t.c=Q6(t.f)),t.c).e<0?2:1,n=r.length,i=-t.e+n-e,(a=new Lv).a+=""+r,t.e>0&&i>=-6?i>=0?YZ(a,n-cZ(t.e),String.fromCharCode(46)):(a.a=fO(a.a,0,e-1)+"0."+fA(a.a,e-1),YZ(a,e+1,Wtt(aRt,0,-cZ(i)-1))):(n-e>=1&&(YZ(a,e,String.fromCharCode(46)),++n),YZ(a,n,String.fromCharCode(69)),i>0&&YZ(a,++n,String.fromCharCode(43)),YZ(a,++n,""+q$(B3(i)))),t.g=a.a,t.g))}function Rmt(t,e,i){var r,a,o;if((a=VP(Ost(e,(wkt(),qJt)),275))!=(cct(),vWt)){switch(ast(i,"Horizontal Compaction",1),t.a=e,function(t,e){t.g=e}(r=new pht(((o=new pQ).d=e,o.c=VP(Ost(o.d,g1t),218),function(t){var e,n,i,r,a,o,s;for(e=!1,n=0,r=new wd(t.d.b);r.a<r.c.c.length;)for((i=VP(qU(r),29)).p=n++,o=new wd(i.a);o.a<o.c.c.length;)a=VP(qU(o),10),!e&&!TG(o9(a))&&(e=!0);s=e$((e8(),nne),P4(Zv(une,1),K_t,103,0,[tne,ene])),e||(t2(s,ine),t2(s,Jee)),t.a=new BJ(s),Yj(t.f),Yj(t.b),Yj(t.e),Yj(t.g)}(o),function(t){var e,n,i,r,a,o,s,c,u,h;for(a=new wd(t.d.b);a.a<a.c.c.length;)for(s=new wd(VP(qU(a),29).a);s.a<s.c.c.length;)!tv(lD(Ost(o=VP(qU(s),10),(wkt(),jJt))))||TG(o9(o))?(r=new mq(o.n.a-o.d.b,o.n.b-o.d.d,o.o.a+o.d.b+o.d.c,o.o.b+o.d.d+o.d.a),e=zL(L_(M_(I_(new sy,o),r),IGt),t.a),RL(A_(J1(new oy,P4(Zv(Azt,1),r_t,57,0,[e])),e),t.a),c=new aw,Pz(t.e,e,c),(n=RG(new O$(dL(s9(o).a.Kc(),new l)))-RG(new O$(dL(c9(o).a.Kc(),new l))))<0?V4(c,!0,(e8(),tne)):n>0&&V4(c,!0,(e8(),ene)),o.k==(gct(),RUt)&&Xz(c),Pz(t.f,o,e)):((u=(i=VP(hH(o9(o)),17)).c.i)==o&&(u=i.d.i),h=new mS(u,vN(pI(o.n),u.n)),Pz(t.b,o,h))}(o),zpt(o),o.a)),t.b),1===VP(Ost(e,zJt),422).g?Yv(r,new o2(t.a)):Yv(r,(Wq(),Czt)),a.g){case 1:Rft(r);break;case 2:Rft(ixt(r,(e8(),ene)));break;case 3:Rft(Uv(ixt(Rft(r),(e8(),ene)),new br));break;case 4:Rft(Uv(ixt(Rft(r),(e8(),ene)),new Zg(o)));break;case 5:Rft(function(t,e){return t.b=e,t}(r,MGt))}ixt(r,(e8(),tne)),r.e=!0,function(t){var e,i,r,a;for(C_(lq(new CF(null,new NU(t.a.b,16)),new vr),new xr),function(t){var e,n,i,r,a;for(i=new e6(new Xf(t.b).a);i.b;)e=VP((n=u1(i)).cd(),10),a=VP(VP(n.dd(),46).a,10),r=VP(VP(n.dd(),46).b,8),mN(IA(e.n),mN(pI(a.n),r))}(t),C_(lq(new CF(null,new NU(t.a.b,16)),new kr),new _r),t.c==(b9(),dne)&&(C_(lq(KQ(new CF(null,new NU(new Vf(t.f),1)),new Er),new Tr),new Kg(t)),C_(lq(hq(KQ(KQ(new CF(null,new NU(t.d.b,16)),new Cr),new Sr),new Ar),new Mr),new Xg(t))),a=new XC(JEt,JEt),e=new XC(tTt,tTt),r=new wd(t.a.b);r.a<r.c.c.length;)i=VP(qU(r),57),a.a=n.Math.min(a.a,i.d.c),a.b=n.Math.min(a.b,i.d.d),e.a=n.Math.max(e.a,i.d.c+i.d.b),e.b=n.Math.max(e.b,i.d.d+i.d.a);mN(IA(t.d.c),BO(new XC(a.a,a.b))),mN(IA(t.d.f),vN(new XC(e.a,e.b),a)),function(t,e,n){var i,r;for(i=new wd(t.a.b);i.a<i.c.c.length;)if((r=RY(VP(qU(i),57)))&&r.k==(gct(),RUt))switch(VP(Ost(r,(Lkt(),hXt)),61).g){case 4:r.n.a=e.a;break;case 2:r.n.a=n.a-(r.o.a+r.d.c);break;case 1:r.n.b=e.b;break;case 3:r.n.b=n.b-(r.o.b+r.d.a)}}(t,a,e),Yj(t.f),Yj(t.b),Yj(t.g),Yj(t.e),t.a.a.c=WX(G$t,r_t,1,0,5,1),t.a.b.c=WX(G$t,r_t,1,0,5,1),t.a=null,t.d=null}(o),$ct(i)}}function zmt(t,e,i,r,a,o,s,c){var u,l,h,f;switch(u=BW(P4(Zv(e8t,1),r_t,220,0,[e,i,r,a])),f=null,t.b.g){case 1:f=BW(P4(Zv(b7t,1),r_t,526,0,[new Jo,new Vo,new Qo]));break;case 0:f=BW(P4(Zv(b7t,1),r_t,526,0,[new Qo,new Vo,new Jo]));break;case 2:f=BW(P4(Zv(b7t,1),r_t,526,0,[new Vo,new Jo,new Qo]))}for(h=new wd(f);h.a<h.c.c.length;)l=VP(qU(h),526),u.c.length>1&&(u=l.mg(u,t.a,c));return 1==u.c.length?VP(EF(u,u.c.length-1),220):2==u.c.length?function(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w;return o=t.f,h=e.f,s=o==(Bdt(),X7t)||o==Q7t,c=o==V7t||o==X7t,f=h==V7t||h==X7t,!s||h!=X7t&&h!=Q7t?o!=V7t&&o!=J7t||h!=V7t&&h!=J7t?c&&f?(o==V7t?(l=t,u=e):(l=e,u=t),d=i.j+i.f,g=l.e+r.f,p=n.Math.max(d,g)-n.Math.min(i.j,l.e),a=(l.d+r.g-i.i)*p,b=i.i+i.g,w=u.d+r.g,a<=(n.Math.max(b,w)-n.Math.min(i.i,u.d))*(u.e+r.f-i.j)?t.f==V7t?t:e:t.f==X7t?t:e):t:t.f==J7t?t:e:t.f==Q7t?t:e}((OU(0,u.c.length),VP(u.c[0],220)),(OU(1,u.c.length),VP(u.c[1],220)),s,o):null}function qmt(t){var e,i,r,a,o,s;for(KJ(t.a,new Jt),i=new wd(t.a);i.a<i.c.c.length;)e=VP(qU(i),221),r=vN(pI(VP(t.b,65).c),VP(e.b,65).c),wHt?(s=VP(t.b,65).b,o=VP(e.b,65).b,n.Math.abs(r.a)>=n.Math.abs(r.b)?(r.b=0,o.d+o.a>s.d&&o.d<s.d+s.a&&BB(r,n.Math.max(s.c-(o.c+o.b),o.c-(s.c+s.b)))):(r.a=0,o.c+o.b>s.c&&o.c<s.c+s.b&&BB(r,n.Math.max(s.d-(o.d+o.a),o.d-(s.d+s.a))))):BB(r,Xwt(VP(t.b,65),VP(e.b,65))),a=n.Math.sqrt(r.a*r.a+r.b*r.b),BB(r,a=Iot(uHt,e,a,r)),u$(VP(e.b,65),r),KJ(e.a,new tg(r)),VP(uHt.b,65),XX(uHt,lHt,e)}function Hmt(t){var e,n,i,r,a,o,s,c,u;if(t.ej())if(c=t.fj(),t.i>0){if(e=new XS(t.i,t.g),a=(n=t.i)<100?null:new _x(n),t.ij())for(i=0;i<t.i;++i)o=t.g[i],a=t.kj(o,a);if(PW(t),r=1==n?t.Zi(4,a1(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new sO(e);i.e!=i.i.gc();)a=t.dj(fnt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r)}else PW(t),t.$i(t.Zi(6,(Gq(),TRt),null,-1,c));else if(t.bj())if(t.i>0){for(s=t.g,u=t.i,PW(t),a=u<100?null:new _x(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else PW(t);else PW(t)}function Zmt(t,e,i){var r,a,o,s,c,u,l,h,f;for(a4(this),i==(VH(),K4t)?jj(this.r,t):jj(this.w,t),h=JEt,l=tTt,s=e.a.ec().Kc();s.Ob();)a=VP(s.Pb(),46),c=VP(a.a,455),(u=(r=VP(a.b,17)).c)==t&&(u=r.d),jj(c==K4t?this.r:this.w,u),f=(Mxt(),Pie).Hc(u.j)?ev(hD(Ost(u,(Lkt(),KXt)))):O5(P4(Zv(q9t,1),T_t,8,0,[u.i.n,u.n,u.a])).b,h=n.Math.min(h,f),l=n.Math.max(l,f);for(rct(this,(Mxt(),Pie).Hc(t.j)?ev(hD(Ost(t,(Lkt(),KXt)))):O5(P4(Zv(q9t,1),T_t,8,0,[t.i.n,t.n,t.a])).b,h,l),o=e.a.ec().Kc();o.Ob();)a=VP(o.Pb(),46),Kct(this,VP(a.b,17));this.o=!1}function Umt(t){var e,i,r,a,o,s,c;if(0!=(c=VP(EF(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw lw(new Vm("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=JEt,i=new wd(c.g);i.a<i.c.c.length;)e=VP(qU(i),17),r=VP(Ost(s=e.d.i,(wkt(),H1t)),142),o=n.Math.min(o,s.n.a-r.b);return new Rh(TR(o))}if(0!=c.e.c.length){for(a=tTt,i=new wd(c.e);i.a<i.c.c.length;)e=VP(qU(i),17),r=VP(Ost(s=e.c.i,(wkt(),H1t)),142),a=n.Math.max(a,s.n.a+s.o.a+r.c);return new Rh(TR(a))}return bm(),bm(),Y$t}function Ymt(t,e){var n,i,r,a,o,s;if(t.Fk()){if(t.i>4){if(!t.wj(e))return!1;if(t.rk()){if(s=(n=(i=VP(e,49)).Ug())==t.e&&(t.Dk()?i.Og(i.Vg(),t.zk())==t.Ak():-1-i.Vg()==t.aj()),t.Ek()&&!s&&!n&&i.Zg())for(r=0;r<t.i;++r)if(iA(t.Gk(VP(t.g[r],56)))===iA(e))return!0;return s}if(t.Dk()&&!t.Ck()){if(iA(a=VP(e,56).ah(eit(VP(t.ak(),18))))===iA(t.e))return!0;if(null==a||!VP(a,56).kh())return!1}}if(o=zat(t,e),t.Ek()&&!o)for(r=0;r<t.i;++r)if(iA(i=t.Gk(VP(t.g[r],56)))===iA(e))return!0;return o}return zat(t,e)}function Gmt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(l=new iw,f=new Xw,o=e.b,r=0;r<o.c.length;r++){for(u=(OU(r,o.c.length),VP(o.c[r],29)).a,l.c=WX(G$t,r_t,1,0,5,1),a=0;a<u.c.length;a++)(s=t.a[r][a]).p=a,s.k==(gct(),ZUt)&&(l.c[l.c.length]=s),XK(VP(EF(e.b,r),29).a,a,s),s.j.c=WX(G$t,r_t,1,0,5,1),C4(s.j,VP(VP(EF(t.b,r),15).Xb(a),14)),UN(VP(Ost(s,(wkt(),w0t)),98))||d5(s,w0t,($ot(),sie));for(i=new wd(l);i.a<i.c.c.length;)h=fbt(n=VP(qU(i),10)),f.a.zc(h,f),f.a.zc(n,f)}for(c=f.a.ec().Kc();c.Ob();)s=VP(c.Pb(),10),Gq(),QM(s.j,(L6(),EGt)),s.i=!0,xlt(s)}function Kmt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=VP(Ost(t,(Lkt(),hXt)),61),i=VP(EF(t.j,0),11),l==(Mxt(),Eie)?plt(i,zie):l==zie&&plt(i,Eie),VP(Ost(e,(wkt(),e0t)),174).Hc((Ltt(),tre))){if(c=ev(hD(Ost(t,H0t))),u=ev(hD(Ost(t,Z0t))),o=ev(hD(Ost(t,z0t))),(s=VP(Ost(e,v0t),21)).Hc((Ilt(),wie)))for(n=u,h=t.o.a/2-i.n.a,a=new wd(i.f);a.a<a.c.c.length;)(r=VP(qU(a),70)).n.b=n,r.n.a=h-r.o.a/2,n+=r.o.b+o;else if(s.Hc(mie))for(a=new wd(i.f);a.a<a.c.c.length;)(r=VP(qU(a),70)).n.a=c+t.o.a-i.n.a;!function(t,e){var n;n=ev(hD(t.a.We((Ikt(),Uee)))),Hxt(t,e,n)}(new Xd((H_(),new pq(e,!1,!1,new je))),new AP(null,t,!1))}}function Wmt(t){var e,n,i,r,a,o,s,c,u,l;if(t.ej())if(l=t.Vi(),c=t.fj(),l>0)if(e=new e3(t.Gi()),a=(n=l)<100?null:new _x(n),ND(t,n,e.g),r=1==n?t.Zi(4,a1(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new YI(e);i.e!=i.i.gc();)a=t.dj(hnt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r);else ND(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(Gq(),TRt),null,-1,c));else if(t.bj())if((l=t.Vi())>0){for(s=t.Wi(),u=l,ND(t,l,s),a=u<100?null:new _x(u),i=0;i<u;++i)o=s[i],a=t.dj(o,a);a&&a.Fi()}else ND(t,t.Vi(),t.Wi());else ND(t,t.Vi(),t.Wi())}function Xmt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for((h=new hM(VP(_ft(t,($st(),ite)),8))).a=n.Math.max(h.a-i.b-i.c,0),h.b=n.Math.max(h.b-i.d-i.a,0),(null==(a=hD(_ft(t,V9t)))||(yz(a),a<=0))&&(a=1.3),s=new iw,f=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));f.e!=f.i.gc();)o=new $O(VP(hnt(f),33)),s.c[s.c.length]=o;switch(VP(_ft(t,Q9t),311).g){case 3:g=function(t,e,n,i,r){var a,o,s,c,u,l,h;for(Gq(),QM(t,new Ks),s=new QY(t,0),h=new iw,a=0;s.b<s.d.gc();)CO(s.b<s.d.gc()),o=VP(s.d.Xb(s.c=s.b++),157),0!=h.c.length&&BF(o)*PF(o)>2*a?(l=new n1(h),u=BF(o)/PF(o),c=ekt(l,e,new Cy,n,i,r,u),mN(IA(l.e),c),h.c=WX(G$t,r_t,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=BF(l)*PF(l)+BF(o)*PF(o)):(h.c[h.c.length]=o,a+=BF(o)*PF(o));return h}(s,e,h.a,h.b,(u=r,yz(a),u));break;case 1:g=function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(Gq(),QM(t,new Ys),o=tB(t),d=new iw,f=new iw,s=null,c=0;0!=o.b;)a=VP(0==o.b?null:(CO(0!=o.b),WJ(o,o.a.a)),157),!s||BF(s)*PF(s)/2<BF(a)*PF(a)?(s=a,d.c[d.c.length]=a):(c+=BF(a)*PF(a),f.c[f.c.length]=a,f.c.length>1&&(c>BF(s)*PF(s)/2||0==o.b)&&(h=new n1(f),l=BF(s)/PF(s),u=ekt(h,e,new Cy,n,i,r,l),mN(IA(h.e),u),s=h,d.c[d.c.length]=h,c=0,f.c=WX(G$t,r_t,1,0,5,1)));return C4(d,f),d}(s,e,h.a,h.b,(l=r,yz(a),l));break;default:g=function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(s=WX(Qce,aTt,25,t.c.length,15,1),Krt(f=new lj(new Gs),t),u=0,d=new iw;0!=f.b.c.length;)if(o=VP(0==f.b.c.length?null:EF(f.b,0),157),u>1&&BF(o)*PF(o)/2>s[0]){for(a=0;a<d.c.length-1&&BF(o)*PF(o)/2>s[a];)++a;h=new n1(new IU(d,0,a+1)),l=BF(o)/PF(o),c=ekt(h,e,new Cy,n,i,r,l),mN(IA(h.e),c),QX(vst(f,h)),Krt(f,new IU(d,a+1,d.c.length)),d.c=WX(G$t,r_t,1,0,5,1),u=0,t$(s,s.length,0)}else null!=(0==f.b.c.length?null:EF(f.b,0))&&n2(f,0),u>0&&(s[u]=s[u-1]),s[u]+=BF(o)*PF(o),++u,d.c[d.c.length]=o;return d}(s,e,h.a,h.b,(c=r,yz(a),c))}Bxt(t,(d=ekt(new n1(g),e,i,h.a,h.b,r,(yz(a),a))).a,d.b,!1,!0)}function Vmt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(a=0,o=0,u=new wd(t.a);u.a<u.c.c.length;)s=VP(qU(u),10),a=n.Math.max(a,s.d.b),o=n.Math.max(o,s.d.c);for(c=new wd(t.a);c.a<c.c.c.length;){switch(s=VP(qU(c),10),VP(Ost(s,(wkt(),BJt)),248).g){case 1:g=0;break;case 2:g=1;break;case 5:g=.5;break;default:for(i=0,h=0,d=new wd(s.j);d.a<d.c.c.length;)0==(f=VP(qU(d),11)).e.c.length||++i,0==f.g.c.length||++h;g=i+h==0?.5:h/(i+h)}b=t.c,l=s.o.a,w=(b.a-l)*g,g>.5?w-=2*o*(g-.5):g<.5&&(w+=2*a*(.5-g)),w<(r=s.d.b)&&(w=r),p=s.d.c,w>b.a-p-l&&(w=b.a-p-l),s.n.a=e+w}}function Qmt(t,e){var n,i,r,a,o,s,c,u,l;return u="",0==e.length?t.de(uEt,sEt,-1,-1):(jN((l=Wst(e)).substr(0,3),"at ")&&(l=l.substr(3)),-1==(o=(l=l.replace(/\[.*?\]/g,"")).indexOf("("))?-1==(o=l.indexOf("@"))?(u=l,l=""):(u=Wst(l.substr(o+1)),l=Wst(l.substr(0,o))):(n=l.indexOf(")",o),u=l.substr(o+1,n-(o+1)),l=Wst(l.substr(0,o))),-1!=(o=WA(l,wst(46)))&&(l=l.substr(o+1)),(0==l.length||jN(l,"Anonymous function"))&&(l=sEt),s=DL(u,wst(58)),r=HN(u,wst(58),s-1),c=-1,i=-1,a=uEt,-1!=s&&-1!=r&&(a=u.substr(0,r),c=hO(u.substr(r+1,s-(r+1))),i=hO(u.substr(s+1))),t.de(a,l,c,i))}function Jmt(t,e,n){var i,r,a,o,s,c;if(0==e.l&&0==e.m&&0==e.h)throw lw(new zm("divide by zero"));if(0==t.l&&0==t.m&&0==t.h)return n&&(Ajt=rI(0,0,0)),rI(0,0,0);if(e.h==ZEt&&0==e.m&&0==e.l)return function(t,e){return t.h==ZEt&&0==t.m&&0==t.l?(e&&(Ajt=rI(0,0,0)),QA((DQ(),Ljt))):(e&&(Ajt=rI(t.l,t.m,t.h)),rI(0,0,0))}(t,n);if(c=!1,e.h>>19!=0&&(e=l5(e),c=!c),o=function(t){var e,n,i;return 0!=((n=t.l)&n-1)||0!=((i=t.m)&i-1)||0!=((e=t.h)&e-1)||0==e&&0==i&&0==n?-1:0==e&&0==i&&0!=n?m0(n):0==e&&0!=i&&0==n?m0(i)+22:0!=e&&0==i&&0==n?m0(e)+44:-1}(e),a=!1,r=!1,i=!1,t.h==ZEt&&0==t.m&&0==t.l){if(r=!0,a=!0,-1!=o)return s=nft(t,o),c&&L5(s),n&&(Ajt=rI(0,0,0)),s;t=QA((DQ(),Mjt)),i=!0,c=!c}else t.h>>19!=0&&(a=!0,t=l5(t),i=!0,c=!c);return-1!=o?j5(t,o,c,a,n):wat(t,e)<0?(n&&(Ajt=a?l5(t):rI(t.l,t.m,t.h)),rI(0,0,0)):function(t,e,n,i,r,a){var o,s,c,u,l,h;for(o=bct(e,c=_5(e)-_5(t)),s=rI(0,0,0);c>=0&&(!Mrt(t,o)||(c<22?s.l|=1<<c:c<44?s.m|=1<<c-22:s.h|=1<<c-44,0!=t.l||0!=t.m||0!=t.h));)u=o.m,l=o.h,h=o.l,o.h=l>>>1,o.m=u>>>1|(1&l)<<21,o.l=h>>>1|(1&u)<<21,--c;return n&&L5(s),a&&(i?(Ajt=l5(t),r&&(Ajt=v4(Ajt,(DQ(),Ljt)))):Ajt=rI(t.l,t.m,t.h)),s}(i?t:rI(t.l,t.m,t.h),e,c,a,r,n)}function tvt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(t.e&&t.c.c<t.f)throw lw(new Vm("Expected "+t.f+" phases to be configured; only found "+t.c.c));for(l=VP(Lx(t.g),9),d=lO(t.f),s=0,u=(a=l).length;s<u;++s)(h=VP(kQ(t,(i=a[s]).g),246))?nB(d,VP(q9(t,h),123)):d.c[d.c.length]=null;for(g=new hG,C_(lq(hq(lq(new CF(null,new NU(d,16)),new hs),new Yp(e)),new fs),new Gp(g)),E3(g,t.a),n=new iw,o=0,c=(r=l).length;o<c;++o)C4(n,L4(t,cH(VP(kQ(g,(i=r[o]).g),20)))),(f=VP(EF(d,i.g),123))&&(n.c[n.c.length]=f);return C4(n,L4(t,cH(VP(kQ(g,l[l.length-1].g+1),20)))),n}function evt(t,e){var n,i,r,a,o,s,c;if(!(t.g>e.f||e.g>t.f)){for(n=0,i=0,o=t.w.a.ec().Kc();o.Ob();)r=VP(o.Pb(),11),W6(O5(P4(Zv(q9t,1),T_t,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&++n;for(s=t.r.a.ec().Kc();s.Ob();)r=VP(s.Pb(),11),W6(O5(P4(Zv(q9t,1),T_t,8,0,[r.i.n,r.n,r.a])).b,e.g,e.f)&&--n;for(c=e.w.a.ec().Kc();c.Ob();)r=VP(c.Pb(),11),W6(O5(P4(Zv(q9t,1),T_t,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&++i;for(a=e.r.a.ec().Kc();a.Ob();)r=VP(a.Pb(),11),W6(O5(P4(Zv(q9t,1),T_t,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--i;n<i?new JW(t,e,i-n):i<n?new JW(e,t,n-i):(new JW(e,t,0),new JW(t,e,0))}}function nvt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(u=e.c,r=jM(t.e),h=$I(NO(pI($M(t.e)),t.d*t.a,t.c*t.b),-.5),n=r.a-h.a,i=r.b-h.b,n=(o=e.a).c-n,i=o.d-i,c=new wd(u);c.a<c.c.c.length;){switch(d=n+(f=(s=VP(qU(c),395)).b).a,b=i+f.b,g=cZ(d/t.a),w=cZ(b/t.b),(a=s.a).g){case 0:Snt(),l=nHt;break;case 1:Snt(),l=eHt;break;case 2:Snt(),l=iHt;break;default:Snt(),l=rHt}a.a?(y=cZ((b+s.c)/t.b),nB(t.f,new EP(l,p8(w),p8(y))),a==(Ant(),bHt)?b5(t,0,w,g,y):b5(t,g,w,t.d-1,y)):(p=cZ((d+s.c)/t.a),nB(t.f,new EP(l,p8(g),p8(p))),a==(Ant(),gHt)?b5(t,g,0,p,w):b5(t,g,w,p,t.c-1))}}function ivt(t,e){var n,i,r,a,o,s,c,u;if(DU(s=e.length-1,e.length),93==(o=e.charCodeAt(s))){if((a=WA(e,wst(91)))>=0)return r=function(t,e){var n;if(MI(n=Qdt(t.Tg(),e),99))return VP(n,18);throw lw(new Xm(vNt+e+"' is not a valid reference"))}(t,e.substr(1,a-1)),function(t,e,n){var i,r,a,o,s,c,u,l,h,f;for(c=new iw,h=e.length,o=I5(n),u=0;u<h;++u){switch(l=NL(e,wst(61),u),a=(r=y4(i=x8(o,e.substr(u,l-u)))).Aj().Nh(),Gz(e,++l)){case 39:s=dO(e,39,++l),nB(c,new qS(i,Eq(e.substr(l,s-l),a,r))),u=s+1;break;case 34:s=dO(e,34,++l),nB(c,new qS(i,Eq(e.substr(l,s-l),a,r))),u=s+1;break;case 91:nB(c,new qS(i,f=new iw));t:for(;;){switch(Gz(e,++l)){case 39:s=dO(e,39,++l),nB(f,Eq(e.substr(l,s-l),a,r)),l=s+1;break;case 34:s=dO(e,34,++l),nB(f,Eq(e.substr(l,s-l),a,r)),l=s+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw lw(new Am(kNt));f.c[f.c.length]=null,l+=3}if(!(l<h))break;switch(DU(l,e.length),e.charCodeAt(l)){case 44:break;case 93:break t;default:throw lw(new Am("Expecting , or ]"))}}u=l+1;break;case 110:if(++l,e.indexOf("ull",l)!=l)throw lw(new Am(kNt));nB(c,new qS(i,null)),u=l+3}if(!(u<h))break;if(DU(u,e.length),44!=e.charCodeAt(u))throw lw(new Am("Expecting ,"))}return function(t,e,n){var i,r,a,o,s,c,u,l,h;h=e.c.length;t:for(a=VP((u=t.Yg(n))>=0?t._g(u,!1,!0):nht(t,n,!1),58).Kc();a.Ob();){for(r=VP(a.Pb(),56),l=0;l<h;++l)if(OU(l,e.c.length),c=(o=VP(e.c[l],72)).dd(),s=o.ak(),i=r.bh(s,!1),null==c?null!=i:!X7(c,i))continue t;return r}return null}(t,c,n)}(t,e.substr(a+1,s-(a+1)),r)}else{if(n=-1,null==jjt&&(jjt=new RegExp("\\d")),jjt.test(String.fromCharCode(o))&&(n=HN(e,wst(46),s-1))>=0){i=VP(EW(t,YJ(t,e.substr(1,n-1)),!1),58),c=0;try{c=rwt(e.substr(n+1),eEt,Qkt)}catch(t){throw MI(t=k4(t),127)?lw(new mQ(t)):lw(t)}if(c<i.gc())return MI(u=i.Xb(c),72)&&(u=VP(u,72).dd()),VP(u,56)}if(n<0)return VP(EW(t,YJ(t,e.substr(1)),!1),56)}return null}function rvt(t,e,n){var i,r,a,o,s,c,u;if(ett(e,n)>=0)return n;switch(Ez(SQ(t,n))){case 2:if(jN("",Y7(t,n.Hj()).ne())){if(c=Dft(t,e,s=eq(SQ(t,n)),tq(SQ(t,n))))return c;for(o=0,u=(r=Obt(t,e)).gc();o<u;++o)if(jdt(Zj(SQ(t,c=VP(r.Xb(o),170))),s))return c}return null;case 4:if(jN("",Y7(t,n.Hj()).ne())){for(i=n;i;i=RU(SQ(t,i)))if(c=Nft(t,e,eq(SQ(t,i)),tq(SQ(t,i))))return c;if(s=eq(SQ(t,n)),jN(qFt,s))return Fat(t,e);for(o=0,u=(a=Dbt(t,e)).gc();o<u;++o)if(jdt(Zj(SQ(t,c=VP(a.Xb(o),170))),s))return c}return null;default:return null}}function avt(){avt=I,E5t=new Ib(YSt),new Ib(GSt),new jD("DEPTH",p8(0)),y5t=new jD("FAN",p8(0)),b5t=new jD(cOt,p8(0)),I5t=new jD("ROOT",(EL(),!1)),v5t=new jD("LEFTNEIGHBOR",null),A5t=new jD("RIGHTNEIGHBOR",null),x5t=new jD("LEFTSIBLING",null),M5t=new jD("RIGHTSIBLING",null),w5t=new jD("DUMMY",!1),new jD("LEVEL",p8(0)),S5t=new jD("REMOVABLE_EDGES",new T_),L5t=new jD("XCOOR",p8(0)),O5t=new jD("YCOOR",p8(0)),k5t=new jD("LEVELHEIGHT",0),m5t=new jD("ID",""),T5t=new jD("POSITION",p8(0)),C5t=new jD("PRELIM",0),_5t=new jD("MODIFIER",0),p5t=new Ib(KSt),g5t=new Ib(WSt)}function ovt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for(h=i+e.c.c.a,g=new wd(e.j);g.a<g.c.c.length;){if(d=VP(qU(g),11),a=O5(P4(Zv(q9t,1),T_t,8,0,[d.i.n,d.n,d.a])),e.k==(gct(),ZUt)&&(c=VP(Ost(d,(Lkt(),IXt)),11),a.a=O5(P4(Zv(q9t,1),T_t,8,0,[c.i.n,c.n,c.a])).a,e.n.a=a.a),s=new XC(0,a.b),d.j==(Mxt(),_ie))s.a=h;else{if(d.j!=Hie)continue;s.a=i}if(!(n.Math.abs(a.a-s.a)<=r)||bat(e))for(o=d.g.c.length+d.e.c.length>1,l=new YW(d.b);JM(l.a)||JM(l.b);)f=(u=VP(JM(l.a)?qU(l.a):qU(l.b),17)).c==d?u.d:u.c,n.Math.abs(O5(P4(Zv(q9t,1),T_t,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&_gt(t,u,s,o,d)}}function svt(){svt=I,Ose=(jx(),Lse).b,Pse=VP(a1(oH(Lse.b),0),34),Dse=VP(a1(oH(Lse.b),1),34),Nse=VP(a1(oH(Lse.b),2),34),Use=Lse.bb,VP(a1(oH(Lse.bb),0),34),VP(a1(oH(Lse.bb),1),34),Gse=Lse.fb,Kse=VP(a1(oH(Lse.fb),0),34),VP(a1(oH(Lse.fb),1),34),VP(a1(oH(Lse.fb),2),18),Xse=Lse.qb,Jse=VP(a1(oH(Lse.qb),0),34),VP(a1(oH(Lse.qb),1),18),VP(a1(oH(Lse.qb),2),18),Vse=VP(a1(oH(Lse.qb),3),34),Qse=VP(a1(oH(Lse.qb),4),34),ece=VP(a1(oH(Lse.qb),6),34),tce=VP(a1(oH(Lse.qb),5),18),Bse=Lse.j,Fse=Lse.k,$se=Lse.q,jse=Lse.w,Rse=Lse.B,zse=Lse.A,qse=Lse.C,Hse=Lse.D,Zse=Lse._,Yse=Lse.cb,Wse=Lse.hb}function cvt(t,e){var n,i,r,a;a=t.F,null==e?(t.F=null,k6(t,null)):(t.F=(yz(e),e),-1!=(i=WA(e,wst(60)))?(r=e.substr(0,i),-1==WA(e,wst(46))&&!jN(r,Kkt)&&!jN(r,qBt)&&!jN(r,HBt)&&!jN(r,ZBt)&&!jN(r,UBt)&&!jN(r,YBt)&&!jN(r,GBt)&&!jN(r,KBt)&&(r=WBt),-1!=(n=DL(e,wst(62)))&&(r+=""+e.substr(n+1)),k6(t,r)):(r=e,-1==WA(e,wst(46))&&(-1!=(i=WA(e,wst(91)))&&(r=e.substr(0,i)),jN(r,Kkt)||jN(r,qBt)||jN(r,HBt)||jN(r,ZBt)||jN(r,UBt)||jN(r,YBt)||jN(r,GBt)||jN(r,KBt)?r=e:(r=WBt,-1!=i&&(r+=""+e.substr(i)))),k6(t,r),r==e&&(t.F=t.D))),0!=(4&t.Db)&&0==(1&t.Db)&&$3(t,new wj(t,1,5,a,e))}function uvt(t,e){var n;if(null==e||jN(e,s_t))return null;if(0==e.length&&t.k!=(dut(),O9t))return null;switch(t.k.g){case 1:return met(e,kDt)?(EL(),Njt):met(e,_Dt)?(EL(),Djt):null;case 2:try{return p8(rwt(e,eEt,Qkt))}catch(t){if(MI(t=k4(t),127))return null;throw lw(t)}case 4:try{return wct(e)}catch(t){if(MI(t=k4(t),127))return null;throw lw(t)}case 3:return e;case 5:return R6(t),Ult(t,e);case 6:return R6(t),function(t,e,n){var i,r,a,o,s,c,u;for(u=new aP(i=VP(e.e&&e.e(),9),VP(nN(i,i.length),9),0),o=0,s=(a=Lbt(n,"[\\[\\]\\s,]+")).length;o<s;++o)if(0!=Wst(r=a[o]).length){if(null==(c=Ult(t,r)))return null;t2(u,VP(c,22))}return u}(t,t.a,e);case 7:try{return(n=zht(t)).Jf(e),n}catch(t){if(MI(t=k4(t),32))return null;throw lw(t)}default:throw lw(new Vm("Invalid type set for this layout option."))}}function lvt(t){var e;switch(t.d){case 1:if(t.hj())return-2!=t.o;break;case 2:if(t.hj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.gj(),t.p){case 0:return null!=e&&tv(lD(e))!=lA(t.k,0);case 1:return null!=e&&VP(e,217).a!=KF(t.k)<<24>>24;case 2:return null!=e&&VP(e,172).a!=(KF(t.k)&fEt);case 6:return null!=e&&lA(VP(e,162).a,t.k);case 5:return null!=e&&VP(e,19).a!=KF(t.k);case 7:return null!=e&&VP(e,184).a!=KF(t.k)<<16>>16;case 3:return null!=e&&ev(hD(e))!=t.j;case 4:return null!=e&&VP(e,155).a!=t.j;default:return null==e?null!=t.n:!X7(e,t.n)}}function hvt(t,e,n){var i,r,a,o;return t.Fk()&&t.Ek()&&iA(o=sj(t,VP(n,56)))!==iA(n)?(t.Oi(e),t.Ui(e,OV(t,0,o)),t.rk()&&(r=VP(n,49),a=t.Dk()?t.Bk()?r.ih(t.b,eit(VP(MJ(MH(t.b),t.aj()),18)).n,VP(MJ(MH(t.b),t.aj()).Yj(),26).Bj(),null):r.ih(t.b,ett(r.Tg(),eit(VP(MJ(MH(t.b),t.aj()),18))),null,null):r.ih(t.b,-1-t.aj(),null,null),!VP(o,49).eh()&&(i=VP(o,49),a=t.Dk()?t.Bk()?i.gh(t.b,eit(VP(MJ(MH(t.b),t.aj()),18)).n,VP(MJ(MH(t.b),t.aj()).Yj(),26).Bj(),a):i.gh(t.b,ett(i.Tg(),eit(VP(MJ(MH(t.b),t.aj()),18))),null,a):i.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),bM(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function fvt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(h=ev(hD(Ost(t,(wkt(),$0t)))),r=ev(hD(Ost(t,Q0t))),d5(d=new Qs,$0t,h+r),y=(l=e).d,b=l.c.i,m=l.d.i,w=nM(b.c),v=nM(m.c),a=new iw,f=w;f<=v;f++)Lf(c=new ait(t),(gct(),qUt)),d5(c,(Lkt(),IXt),l),d5(c,w0t,($ot(),cie)),d5(c,R0t,d),g=VP(EF(t.b,f),29),f==w?Hrt(c,g.a.c.length-i,g):QZ(c,g),(x=ev(hD(Ost(l,x1t))))<0&&d5(l,x1t,x=0),c.o.b=x,p=n.Math.floor(x/2),plt(s=new Mct,(Mxt(),Hie)),JZ(s,c),s.n.b=p,plt(u=new Mct,_ie),JZ(u,c),u.n.b=p,XZ(l,s),c4(o=new kH,l),d5(o,D1t,null),VZ(o,u),XZ(o,y),_at(c,l,o),a.c[a.c.length]=o,l=o;return a}function dvt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(s=VP(Dct(t,(Mxt(),Hie)).Kc().Pb(),11).e,h=VP(Dct(t,_ie).Kc().Pb(),11).g,o=s.c.length,b=BU(VP(EF(t.j,0),11));o-- >0;){for(OU(0,s.c.length),d=VP(s.c[0],17),OU(0,h.c.length),r=lQ((i=VP(h.c[0],17)).d.e,i,0),nG(d,i.d,r),VZ(i,null),XZ(i,null),f=d.a,e&&$B(f,new hM(b)),n=tnt(i.a,0);n.b!=n.d.c;)$B(f,new hM(VP(AG(n),8)));for(p=d.b,l=new wd(i.b);l.a<l.c.c.length;)u=VP(qU(l),70),p.c[p.c.length]=u;if(g=VP(Ost(d,(wkt(),D1t)),74),a=VP(Ost(i,D1t),74))for(g||(g=new Ny,d5(d,D1t,g)),c=tnt(a,0);c.b!=c.d.c;)$B(g,new hM(VP(AG(c),8)))}}function gvt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=VP(Zz(t.b,e),124),(u=VP(VP(jW(t.r,e),21),84)).dc())return i.n.b=0,void(i.n.c=0);for(l=t.u.Hc((Ilt(),wie)),s=0,c=u.Kc(),h=null,f=0,d=0;c.Ob();)a=ev(hD((r=VP(c.Pb(),111)).b.We((GL(),Kqt)))),o=r.b.rf().a,t.A.Hc((Ltt(),tre))&&Kpt(t,e),h?(g=d+h.d.c+t.w+r.d.b,s=n.Math.max(s,(GM(),c0(SCt),n.Math.abs(f-a)<=SCt||f==a||isNaN(f)&&isNaN(a)?0:g/(a-f)))):t.C&&t.C.b>0&&(s=n.Math.max(s,G2(t.C.b+r.d.b,a))),h=r,f=a,d=o;t.C&&t.C.c>0&&(g=d+t.C.c,l&&(g+=h.d.c),s=n.Math.max(s,(GM(),c0(SCt),n.Math.abs(f-1)<=SCt||1==f||isNaN(f)&&isNaN(1)?0:g/(1-f)))),i.n.b=0,i.a.a=s}function pvt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=VP(Zz(t.b,e),124),(u=VP(VP(jW(t.r,e),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(l=t.u.Hc((Ilt(),wie)),s=0,t.A.Hc((Ltt(),tre))&&Wpt(t,e),c=u.Kc(),h=null,d=0,f=0;c.Ob();)o=ev(hD((r=VP(c.Pb(),111)).b.We((GL(),Kqt)))),a=r.b.rf().b,h?(g=f+h.d.a+t.w+r.d.d,s=n.Math.max(s,(GM(),c0(SCt),n.Math.abs(d-o)<=SCt||d==o||isNaN(d)&&isNaN(o)?0:g/(o-d)))):t.C&&t.C.d>0&&(s=n.Math.max(s,G2(t.C.d+r.d.d,o))),h=r,d=o,f=a;t.C&&t.C.a>0&&(g=f+t.C.a,l&&(g+=h.d.a),s=n.Math.max(s,(GM(),c0(SCt),n.Math.abs(d-1)<=SCt||1==d||isNaN(d)&&isNaN(1)?0:g/(1-d)))),i.n.d=0,i.a.b=s}function bvt(t,e,n){var i,r,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=WX(UUt,kAt,10,s+c,0,1),o=0;o<s;o++)this.d[o]=e.d[o];for(a=0;a<c;a++)this.d[s+a]=n.d[a];if(e.e){if(this.e=tB(e.e),this.e.Mc(n),n.e)for(r=n.e.Kc();r.Ob();)(i=VP(r.Pb(),233))!=e&&(this.e.Hc(i)?--i.c:this.e.Fc(i))}else n.e&&(this.e=tB(n.e),this.e.Mc(e));this.f=e.f+n.f,this.a=e.a+n.a,this.a>0?s1(this,this.f/this.a):null!=NI(e.g,e.d[0]).a&&null!=NI(n.g,n.d[0]).a?s1(this,(ev(NI(e.g,e.d[0]).a)+ev(NI(n.g,n.d[0]).a))/2):null!=NI(e.g,e.d[0]).a?s1(this,NI(e.g,e.d[0]).a):null!=NI(n.g,n.d[0]).a&&s1(this,NI(n.g,n.d[0]).a)}function wvt(t,e){var n,i,r,a,o,s,c,u,l;for(t.a=new qR(function(t){var e;return new aP(e=VP(t.e&&t.e(),9),VP(rR(e,e.length),9),e.length)}(une)),i=new wd(e.a);i.a<i.c.c.length;){for(n=VP(qU(i),841),o=new Tet(P4(Zv(hUt,1),r_t,81,0,[])),nB(t.a.a,o),c=new wd(n.d);c.a<c.c.c.length;)Bvt(u=new UL(t,s=VP(qU(c),110)),VP(Ost(n.c,(Lkt(),cXt)),21)),Sj(t.g,n)||(Pz(t.g,n,new XC(s.c,s.d)),Pz(t.f,n,u)),nB(t.a.b,u),ZY(o,u);for(a=new wd(n.b);a.a<a.c.c.length;)u=new UL(t,(r=VP(qU(a),594)).kf()),Pz(t.b,r,new mS(o,u)),Bvt(u,VP(Ost(n.c,(Lkt(),cXt)),21)),r.hf()&&(Bvt(l=new Eet(t,r.hf(),1),VP(Ost(n.c,cXt),21)),ZY(new Tet(P4(Zv(hUt,1),r_t,81,0,[])),l),Vlt(t.c,r.gf(),new mS(o,l)))}return t.a}function yvt(t){var e;this.a=t,e=(gct(),P4(Zv(GUt,1),K_t,267,0,[HUt,qUt,RUt,ZUt,zUt,jUt])).length,this.b=hF(S9t,[T_t,FLt],[593,146],0,[e,e],2),this.c=hF(S9t,[T_t,FLt],[593,146],0,[e,e],2),UH(this,HUt,(wkt(),U0t),Y0t),g4(this,HUt,qUt,$0t,j0t),ZH(this,HUt,ZUt,$0t),ZH(this,HUt,RUt,$0t),g4(this,HUt,zUt,U0t,Y0t),UH(this,qUt,P0t,B0t),ZH(this,qUt,ZUt,P0t),ZH(this,qUt,RUt,P0t),g4(this,qUt,zUt,$0t,j0t),zM(this,ZUt,P0t),ZH(this,ZUt,RUt,P0t),ZH(this,ZUt,zUt,q0t),zM(this,RUt,W0t),g4(this,RUt,zUt,Z0t,H0t),UH(this,zUt,P0t,P0t),UH(this,jUt,P0t,B0t),g4(this,jUt,HUt,$0t,j0t),g4(this,jUt,zUt,$0t,j0t),g4(this,jUt,qUt,$0t,j0t)}function mvt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=new hM(t.o),w=e.a/f.a,s=e.b/f.b,p=e.a-f.a,a=e.b-f.b,n)for(r=iA(Ost(t,(wkt(),w0t)))===iA(($ot(),cie)),g=new wd(t.j);g.a<g.c.c.length;)switch((d=VP(qU(g),11)).j.g){case 1:r||(d.n.a*=w);break;case 2:d.n.a+=p,r||(d.n.b*=s);break;case 3:r||(d.n.a*=w),d.n.b+=a;break;case 4:r||(d.n.b*=s)}for(u=new wd(t.b);u.a<u.c.c.length;)l=(c=VP(qU(u),70)).n.a+c.o.a/2,h=c.n.b+c.o.b/2,(b=l/f.a)+(o=h/f.b)>=1&&(b-o>0&&h>=0?(c.n.a+=p,c.n.b+=a*o):b-o<0&&l>=0&&(c.n.a+=p*b,c.n.b+=a));t.o.a=e.a,t.o.b=e.b,d5(t,(wkt(),e0t),(Ltt(),new aP(i=VP(Lx(fre),9),VP(nN(i,i.length),9),0)))}function vvt(t){var e,n,i,r,a,o,s,c,u,l;for(i=new iw,o=new wd(t.e.a);o.a<o.c.c.length;){for(l=0,(r=VP(qU(o),121)).k.c=WX(G$t,r_t,1,0,5,1),n=new wd(d9(r));n.a<n.c.c.length;)(e=VP(qU(n),213)).f&&(nB(r.k,e),++l);1==l&&(i.c[i.c.length]=r)}for(a=new wd(i);a.a<a.c.c.length;)for(r=VP(qU(a),121);1==r.k.c.length;){for(u=VP(qU(new wd(r.k)),213),t.b[u.c]=u.g,s=u.d,c=u.e,n=new wd(d9(r));n.a<n.c.c.length;)X7(e=VP(qU(n),213),u)||(e.f?s==e.d||c==e.e?t.b[u.c]-=t.b[e.c]-e.g:t.b[u.c]+=t.b[e.c]-e.g:r==s?e.d==r?t.b[u.c]+=e.g:t.b[u.c]-=e.g:e.d==r?t.b[u.c]-=e.g:t.b[u.c]+=e.g);sQ(s.k,u),sQ(c.k,u),r=s==r?u.e:u.d}}function xvt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(null==e||0==e.length)return null;if(!(a=VP(oZ(t.f,e),23))){for(r=new sd(new Jf(t.d).a.vc().Kc());r.a.Ob();)if(o=VP(r.a.Pb(),42),s=(n=VP(o.dd(),23)).f,f=e.length,jN(s.substr(s.length-f,f),e)&&(e.length==s.length||46==Gz(s,s.length-e.length-1))){if(a)return null;a=n}if(!a)for(i=new sd(new Jf(t.d).a.vc().Kc());i.a.Ob();)if(o=VP(i.a.Pb(),42),null!=(h=(n=VP(o.dd(),23)).g))for(u=0,l=(c=h).length;u<l;++u)if(s=c[u],f=e.length,jN(s.substr(s.length-f,f),e)&&(e.length==s.length||46==Gz(s,s.length-e.length-1))){if(a)return null;a=n}a&&ZZ(t.f,e,a)}return a}function kvt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(ast(i,"Network simplex layering",1),t.b=e,w=4*VP(Ost(e,(wkt(),X0t)),19).a,(b=t.b.a).c.length<1)$ct(i);else{for(p=null,a=tnt(o=function(t,e){var n,i,r,a,o;for(null==t.c||t.c.length<e.c.length?t.c=WX(Wce,pCt,25,e.c.length,16,1):cv(t.c),t.a=new iw,i=0,o=new wd(e);o.a<o.c.c.length;)(r=VP(qU(o),10)).p=i++;for(n=new T_,a=new wd(e);a.a<a.c.c.length;)r=VP(qU(a),10),t.c[r.p]||(Alt(t,r),0==n.b||(CO(0!=n.b),VP(n.a.a.c,15)).gc()<t.a.c.length?kA(n,t.a):_A(n,t.a),t.a=new iw);return n}(t,b),0);a.b!=a.d.c;){for(r=VP(AG(a),15),c=w*cZ(n.Math.sqrt(r.gc())),Ubt(Gv(Wv(Kv(MP(s=nwt(r)),c),p),!0),Q2(i,1)),f=t.b.b,g=new wd(s.a);g.a<g.c.c.length;){for(d=VP(qU(g),121);f.c.length<=d.e;)JF(f,f.c.length,new HR(t.b));QZ(VP(d.f,10),VP(EF(f,d.e),29))}if(o.b>1)for(p=WX(Kce,CEt,25,t.b.b.c.length,15,1),h=0,l=new wd(t.b.b);l.a<l.c.c.length;)u=VP(qU(l),29),p[h++]=u.a.c.length}b.c=WX(G$t,r_t,1,0,5,1),t.a=null,t.b=null,t.c=null,$ct(i)}}function _vt(t){var e,i,r,a,o,s,c;for(e=0,o=new wd(t.b.a);o.a<o.c.c.length;)(r=VP(qU(o),189)).b=0,r.c=0;for(Tct(t,0),$9(t,t.g),Zdt(t.c),sv(t.c),e8(),i=tne,jbt(gA(rxt(jbt(gA(rxt(jbt(rxt(t.c,i)),A8(i)))),i))),rxt(t.c,tne),z8(t,t.g),Nst(t,0),ymt(t,0),Fft(t,1),Tct(t,1),$9(t,t.d),Zdt(t.c),s=new wd(t.b.a);s.a<s.c.c.length;)r=VP(qU(s),189),e+=n.Math.abs(r.c);for(c=new wd(t.b.a);c.a<c.c.c.length;)(r=VP(qU(c),189)).b=0,r.c=0;for(i=ine,jbt(gA(rxt(jbt(gA(rxt(jbt(sv(rxt(t.c,i))),A8(i)))),i))),rxt(t.c,tne),z8(t,t.d),Nst(t,1),ymt(t,1),Fft(t,0),sv(t.c),a=new wd(t.b.a);a.a<a.c.c.length;)r=VP(qU(a),189),e+=n.Math.abs(r.c);return e}function Evt(t,e){var n,i,r,a,o,s,c,u,l;if(null!=(u=e).b&&null!=t.b){for(Bft(t),Nmt(t),Bft(u),Nmt(u),n=WX(Kce,CEt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)i+=2;else if(a>=s&&r<=c)s<=r&&a<=c?(n[l++]=r,n[l++]=a,i+=2):s<=r?(n[l++]=r,n[l++]=c,t.b[i]=c+1,o+=2):a<=c?(n[l++]=s,n[l++]=a,i+=2):(n[l++]=s,n[l++]=c,t.b[i]=c+1);else{if(!(c<r))throw lw(new Am("Token#intersectRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] & ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=WX(Kce,CEt,25,l,15,1),lmt(n,0,t.b,0,l)}}function Tvt(t){var e,i,r,a,o,s,c;for(e=new iw,t.g=new iw,t.d=new iw,s=new e6(new Xf(t.f.b).a);s.b;)nB(e,VP(VP((o=u1(s)).dd(),46).b,81)),fM(VP(o.cd(),594).gf())?nB(t.d,VP(o.dd(),46)):nB(t.g,VP(o.dd(),46));for($9(t,t.d),$9(t,t.g),t.c=new aht(t.b),function(t,e){t.f=e}(t.c,(U_(),aUt)),z8(t,t.d),z8(t,t.g),C4(e,t.c.a.b),t.e=new XC(JEt,JEt),t.a=new XC(tTt,tTt),r=new wd(e);r.a<r.c.c.length;)i=VP(qU(r),81),t.e.a=n.Math.min(t.e.a,i.g.c),t.e.b=n.Math.min(t.e.b,i.g.d),t.a.a=n.Math.max(t.a.a,i.g.c+i.g.b),t.a.b=n.Math.max(t.a.b,i.g.d+i.g.a);Vv(t.c,new xe),c=0;do{a=_vt(t),++c}while((c<2||a>tEt)&&c<10);Vv(t.c,new ke),_vt(t),function(t){rxt(t,(e8(),tne)),t.d=!0}(t.c),function(t){var e,i,r,a,o,s,c,u;for(o=new wd(t.a.b);o.a<o.c.c.length;)(a=VP(qU(o),81)).b.c=a.g.c,a.b.d=a.g.d;for(u=new XC(JEt,JEt),e=new XC(tTt,tTt),r=new wd(t.a.b);r.a<r.c.c.length;)i=VP(qU(r),81),u.a=n.Math.min(u.a,i.g.c),u.b=n.Math.min(u.b,i.g.d),e.a=n.Math.max(e.a,i.g.c+i.g.b),e.b=n.Math.max(e.b,i.g.d+i.g.a);for(c=MR(t.c).a.nc();c.Ob();)s=VP(c.Pb(),46),i=VP(s.b,81),u.a=n.Math.min(u.a,i.g.c),u.b=n.Math.min(u.b,i.g.d),e.a=n.Math.max(e.a,i.g.c+i.g.b),e.b=n.Math.max(e.b,i.g.d+i.g.a);t.d=BO(new XC(u.a,u.b)),t.e=vN(new XC(e.a,e.b),u),t.a.a.c=WX(G$t,r_t,1,0,5,1),t.a.b.c=WX(G$t,r_t,1,0,5,1)}(t.f)}function Cvt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(tv(lD(Ost(n,(wkt(),M1t)))))for(r=new wd(n.j);r.a<r.c.c.length;)for(s=0,c=(o=MY(VP(qU(r),11).g)).length;s<c;++s)(a=o[s]).d.i==n&&tv(lD(Ost(a,I1t)))&&(l=a.c,(u=VP(zR(t.b,l),10))||(d5(u=Jxt(l,($ot(),hie),l.j,-1,null,null,l.o,VP(Ost(e,s1t),103),e),(Lkt(),IXt),l),Pz(t.b,l,u),nB(e.a,u)),f=a.d,(h=VP(zR(t.b,f),10))||(d5(h=Jxt(f,($ot(),hie),f.j,1,null,null,f.o,VP(Ost(e,s1t),103),e),(Lkt(),IXt),f),Pz(t.b,f,h),nB(e.a,h)),VZ(i=_W(a),VP(EF(u.j,0),11)),XZ(i,VP(EF(h.j,0),11)),Vlt(t.a,a,new kP(i,e,(l0(),r3t))),VP(Ost(e,(Lkt(),gXt)),21).Fc((ipt(),SWt)))}function Svt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(ast(n,"Label dummy switching",1),i=VP(Ost(e,(wkt(),l1t)),227),function(t){var e,n;for(n=0,e=new wd(t.b);e.a<e.c.c.length;)VP(qU(e),29).p=n,++n}(e),r=function(t,e){var n,i,r,a;for(n=new M9(kKt),yut(),r=0,a=(i=P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])).length;r<a;++r)WD(n,i[r],new iw);return C_(hq(lq(KQ(new CF(null,new NU(t.b,16)),new Jn),new ti),new Dg(e)),new Ng(n)),n}(e,i),t.a=WX(Qce,aTt,25,e.b.c.length,15,1),yut(),l=0,d=(s=P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])).length;l<d;++l)if(((a=s[l])==wKt||a==fKt||a==pKt)&&!VP($L(r.a,a)?r.b[a.g]:null,15).dc()){T3(t,e);break}for(h=0,g=(c=P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])).length;h<g;++h)(a=c[h])==wKt||a==fKt||a==pKt||Hbt(t,VP($L(r.a,a)?r.b[a.g]:null,15));for(u=0,f=(o=P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])).length;u<f;++u)((a=o[u])==wKt||a==fKt||a==pKt)&&Hbt(t,VP($L(r.a,a)?r.b[a.g]:null,15));t.a=null,$ct(n)}function Avt(t,e){var n,i,r,a,o,s,c,u,l,h,f;switch(t.k.g){case 1:if(i=VP(Ost(t,(Lkt(),IXt)),17),(n=VP(Ost(i,LXt),74))?tv(lD(Ost(i,HXt)))&&(n=Y5(n)):n=new Ny,u=VP(Ost(t,TXt),11)){if(e<=(l=O5(P4(Zv(q9t,1),T_t,8,0,[u.i.n,u.n,u.a]))).a)return l.b;WK(n,l,n.a,n.a.a)}if(h=VP(Ost(t,CXt),11)){if((f=O5(P4(Zv(q9t,1),T_t,8,0,[h.i.n,h.n,h.a]))).a<=e)return f.b;WK(n,f,n.c.b,n.c)}if(n.b>=2){for(o=VP(AG(c=tnt(n,0)),8),s=VP(AG(c),8);s.a<e&&c.b!=c.d.c;)o=s,s=VP(AG(c),8);return o.b+(e-o.a)/(s.a-o.a)*(s.b-o.b)}break;case 3:switch(r=(a=VP(Ost(VP(EF(t.j,0),11),(Lkt(),IXt)),11)).i,a.j.g){case 1:return r.n.b;case 3:return r.n.b+r.o.b}}return Kat(t).b}function Mvt(t,e,i){var r,a,o,s,c,u,h,f;switch(ast(i,"Node promotion heuristic",1),t.g=e,function(t){var e,i,r,a,o,s,c,u,h,f,d,g,p,b,w;for(t.n=ev(hD(Ost(t.g,(wkt(),U0t)))),t.e=ev(hD(Ost(t.g,j0t))),t.i=t.g.b.c.length,c=t.i-1,g=0,t.j=0,t.k=0,t.a=BW(WX(Gjt,T_t,19,t.i,0,1)),t.b=BW(WX(Hjt,T_t,333,t.i,7,1)),s=new wd(t.g.b);s.a<s.c.c.length;){for((a=VP(qU(s),29)).p=c,d=new wd(a.a);d.a<d.c.c.length;)(f=VP(qU(d),10)).p=g,++g;--c}for(t.f=WX(Kce,CEt,25,g,15,1),t.c=hF(Kce,[T_t,CEt],[48,25],15,[g,3],2),t.o=new iw,t.p=new iw,e=0,t.d=0,o=new wd(t.g.b);o.a<o.c.c.length;){for(c=(a=VP(qU(o),29)).p,r=0,w=0,u=a.a.c.length,h=0,d=new wd(a.a);d.a<d.c.c.length;)g=(f=VP(qU(d),10)).p,t.f[g]=f.c.p,h+=f.o.b+t.n,i=RG(new O$(dL(s9(f).a.Kc(),new l))),b=RG(new O$(dL(c9(f).a.Kc(),new l))),t.c[g][0]=b-i,t.c[g][1]=i,t.c[g][2]=b,r+=i,w+=b,i>0&&nB(t.p,f),nB(t.o,f);p=u+(e-=r),h+=e*t.e,XK(t.a,c,p8(p)),XK(t.b,c,h),t.j=n.Math.max(t.j,p),t.k=n.Math.max(t.k,h),t.d+=e,e+=w}}(t),t.q=VP(Ost(e,(wkt(),z1t)),260),f=VP(Ost(t.g,R1t),19).a,o=new li,t.q.g){case 2:case 1:default:Omt(t,o);break;case 3:for(t.q=(Rdt(),U2t),Omt(t,o),u=0,c=new wd(t.a);c.a<c.c.c.length;)s=VP(qU(c),19),u=n.Math.max(u,s.a);u>t.j&&(t.q=j2t,Omt(t,o));break;case 4:for(t.q=(Rdt(),U2t),Omt(t,o),h=0,a=new wd(t.b);a.a<a.c.c.length;)r=hD(qU(a)),h=n.Math.max(h,(yz(r),r));h>t.k&&(t.q=q2t,Omt(t,o));break;case 6:Omt(t,new Lg(cZ(n.Math.ceil(t.f.length*f/100))));break;case 5:Omt(t,new Og(cZ(n.Math.ceil(t.d*f/100))))}(function(t,e){var n,i,r,a,o,s;for(r=new iw,n=0;n<=t.i;n++)(i=new HR(e)).p=t.i-n,r.c[r.c.length]=i;for(s=new wd(t.o);s.a<s.c.c.length;)QZ(o=VP(qU(s),10),VP(EF(r,t.i-t.f[o.p]),29));for(a=new wd(r);a.a<a.c.c.length;)0==VP(qU(a),29).a.c.length&&Uj(a);e.b.c=WX(G$t,r_t,1,0,5,1),C4(e.b,r)})(t,e),$ct(i)}function Ivt(t,e,n){var i,r,a,o;this.j=t,this.e=Lot(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?VP(EF(n,pz(this.o).p),214):null,r=VP(Ost(t,(Lkt(),gXt)),21),this.g=r.Hc((ipt(),SWt)),this.b=new iw,this.d=new Att(this.e),o=VP(Ost(this.j,zXt),230),this.q=function(t,e,n){return t==(f0(),G3t)?new Sa:0!=Kft(e,1)?new vx(n.length):new mx(n.length)}(e,o,this.e),this.k=new PZ(this),a=BW(P4(Zv(FGt,1),r_t,225,0,[this,this.d,this.k,this.q])),e!=(f0(),U3t)||tv(lD(Ost(t,(wkt(),XJt))))?e==U3t&&tv(lD(Ost(t,(wkt(),XJt))))?(i=new Not(this.e),a.c[a.c.length]=i,this.c=new s2(i,o,VP(this.q,402))):this.c=new BT(e,this):(i=new Not(this.e),a.c[a.c.length]=i,this.c=new gG(i,o,VP(this.q,402))),nB(a,this.c),Emt(a,this.e),this.s=function(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_;if((n=ev(hD(Ost(t.a.j,(wkt(),t1t)))))<-1||!t.a.i||UN(VP(Ost(t.a.o,w0t),98))||i9(t.a.o,(Mxt(),_ie)).gc()<2&&i9(t.a.o,Hie).gc()<2)return!0;if(t.a.c.Rf())return!1;for(v=0,m=0,y=new iw,c=0,u=(s=t.a.e).length;c<u;++c){for(d=0,p=(f=s[c]).length;d<p;++d)if((h=f[d]).k!=(gct(),ZUt)){for(i=t.b[h.c.p][h.p],h.k==RUt?(i.b=1,VP(Ost(h,(Lkt(),IXt)),11).j==(Mxt(),_ie)&&(m+=i.a)):(_=i9(h,(Mxt(),Hie))).dc()||!TI(_,new Na)?i.c=1:((r=i9(h,_ie)).dc()||!TI(r,new Da))&&(v+=i.a),o=new O$(dL(c9(h).a.Kc(),new l));Xht(o);)a=VP(xW(o),17),v+=i.c,m+=i.b,rV(t,i,a.d.i);for(k=new O$(new uL((b=t0(P4(Zv(V$t,1),r_t,20,0,[i9(h,(Mxt(),Eie)),i9(h,zie)]))).a.length,b.a));Xht(k);)x=VP(xW(k),11),(w=VP(Ost(x,(Lkt(),$Xt)),10))&&(v+=i.c,m+=i.b,rV(t,i,w))}else y.c[y.c.length]=h;for(g=new wd(y);g.a<g.c.c.length;)for(h=VP(qU(g),10),i=t.b[h.c.p][h.p],o=new O$(dL(c9(h).a.Kc(),new l));Xht(o);)a=VP(xW(o),17),v+=i.c,m+=i.b,rV(t,i,a.d.i);y.c=WX(G$t,r_t,1,0,5,1)}return(0==(e=v+m)?JEt:(v-m)/e)>=n}(this.k)}function Lvt(t,e){var n,i,r,a,o,s,c,u,h;for(s=!0,r=0,c=t.f[e.p],u=e.o.b+t.n,n=t.c[e.p][2],XK(t.a,c,p8(VP(EF(t.a,c),19).a-1+n)),XK(t.b,c,ev(hD(EF(t.b,c)))-u+n*t.e),++c>=t.i?(++t.i,nB(t.a,p8(1)),nB(t.b,u)):(i=t.c[e.p][1],XK(t.a,c,p8(VP(EF(t.a,c),19).a+1-i)),XK(t.b,c,ev(hD(EF(t.b,c)))+u-i*t.e)),(t.q==(Rdt(),j2t)&&(VP(EF(t.a,c),19).a>t.j||VP(EF(t.a,c-1),19).a>t.j)||t.q==q2t&&(ev(hD(EF(t.b,c)))>t.k||ev(hD(EF(t.b,c-1)))>t.k))&&(s=!1),a=new O$(dL(s9(e).a.Kc(),new l));Xht(a);)o=VP(xW(a),17).c.i,t.f[o.p]==c&&(r+=VP((h=Lvt(t,o)).a,19).a,s=s&&tv(lD(h.b)));return t.f[e.p]=c,new mS(p8(r+=t.c[e.p][0]),(EL(),!!s))}function Ovt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y;for(f=new rw,s=new iw,_lt(t,i,t.d.fg(),s,f),_lt(t,r,t.d.gg(),s,f),t.b=.2*(b=bft(KQ(new CF(null,new NU(s,16)),new So)),w=bft(KQ(new CF(null,new NU(s,16)),new Ao)),n.Math.min(b,w)),o=0,c=0;c<s.c.length-1;c++)for(OU(c,s.c.length),u=VP(s.c[c],112),p=c+1;p<s.c.length;p++)o+=wmt(t,u,(OU(p,s.c.length),VP(s.c[p],112)));for(d=VP(Ost(e,(Lkt(),zXt)),230),o>=2&&(y=Pdt(s,!0,d),!t.e&&(t.e=new Pp(t)),get(t.e,y,s,t.b)),Hot(s,d),function(t){var e,i,r,a,o,s,c,u,l;for(u=new iw,s=new iw,o=new wd(t);o.a<o.c.c.length;)$f(r=VP(qU(o),112),r.f.c.length),jf(r,r.k.c.length),0==r.d&&(u.c[u.c.length]=r),0==r.i&&0==r.e.b&&(s.c[s.c.length]=r);for(i=-1;0!=u.c.length;)for(e=new wd((r=VP($W(u,0),112)).k);e.a<e.c.c.length;)Rf(l=VP(qU(e),129).b,n.Math.max(l.o,r.o+1)),i=n.Math.max(i,l.o),$f(l,l.d-1),0==l.d&&(u.c[u.c.length]=l);if(i>-1){for(a=new wd(s);a.a<a.c.c.length;)(r=VP(qU(a),112)).o=i;for(;0!=s.c.length;)for(e=new wd((r=VP($W(s,0),112)).f);e.a<e.c.c.length;)(c=VP(qU(e),129).a).e.b>0||(Rf(c,n.Math.min(c.o,r.o-1)),jf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c))}}(s),g=-1,h=new wd(s);h.a<h.c.c.length;)l=VP(qU(h),112),n.Math.abs(l.s-l.c)<ASt||(g=n.Math.max(g,l.o),t.d.dg(l,a,t.c));return t.d.a.a.$b(),g+1}function Dvt(t,e){var n,i;ev(hD(Ost(e,(wkt(),P0t))))<2&&d5(e,P0t,2),VP(Ost(e,s1t),103)==(e8(),nne)&&d5(e,s1t,G8(e)),0==(n=VP(Ost(e,M0t),19)).a?d5(e,(Lkt(),zXt),new a9):d5(e,(Lkt(),zXt),new kK(n.a)),null==lD(Ost(e,X1t))&&d5(e,X1t,(EL(),iA(Ost(e,g1t))===iA((b9(),hne)))),C_(new CF(null,new NU(e.a,16)),new og(t)),C_(KQ(new CF(null,new NU(e.b,16)),new ye),new sg(t)),i=new yvt(e),d5(e,(Lkt(),YXt),i),jY(t.a),Hj(t.a,(Dst(),QZt),VP(Ost(e,a1t),246)),Hj(t.a,JZt,VP(Ost(e,q1t),246)),Hj(t.a,tUt,VP(Ost(e,r1t),246)),Hj(t.a,eUt,VP(Ost(e,t0t),246)),Hj(t.a,nUt,function(t){var e;return HM(),LE(E4t,t)||((e=new so).a=t,WD(E4t,t,e)),VP(Zz(E4t,t),635)}(VP(Ost(e,g1t),218))),oM(t.a,function(t){var e,n,i;switch(n=VP(Ost(t,(Lkt(),gXt)),21),e=yM(WZt),VP(Ost(t,(wkt(),E1t)),334)==(I7(),One)&&E3(e,XZt),tv(lD(Ost(t,k1t)))?cF(e,(Dst(),QZt),(Dkt(),iGt)):cF(e,(Dst(),tUt),(Dkt(),iGt)),null!=Ost(t,(eX(),j9t))&&E3(e,VZt),(tv(lD(Ost(t,L1t)))||tv(lD(Ost(t,_1t))))&&v$(e,(Dst(),nUt),(Dkt(),wYt)),VP(Ost(t,s1t),103).g){case 2:case 3:case 4:v$(cF(e,(Dst(),QZt),(Dkt(),mYt)),nUt,yYt)}switch(n.Hc((ipt(),TWt))&&v$(cF(cF(e,(Dst(),QZt),(Dkt(),bYt)),eUt,gYt),nUt,pYt),iA(Ost(t,z1t))!==iA((Rdt(),Z2t))&&cF(e,(Dst(),tUt),(Dkt(),WYt)),n.Hc(OWt)&&(cF(e,(Dst(),QZt),(Dkt(),eGt)),cF(e,JZt,JYt),cF(e,tUt,tGt)),iA(Ost(t,qJt))!==iA((cct(),vWt))&&iA(Ost(t,g1t))!==iA((b9(),fne))&&v$(e,(Dst(),nUt),(Dkt(),OYt)),tv(lD(Ost(t,C1t)))&&cF(e,(Dst(),tUt),(Dkt(),LYt)),tv(lD(Ost(t,i1t)))&&cF(e,(Dst(),tUt),(Dkt(),uGt)),function(t){var e,n,i,r;return iA(Ost(t,(wkt(),E1t)))===iA((I7(),One))?!t.e&&iA(Ost(t,QJt))!==iA((r4(),BWt)):(i=VP(Ost(t,JJt),292),r=tv(lD(Ost(t,i1t)))||iA(Ost(t,r1t))===iA((I0(),EKt)),e=VP(Ost(t,VJt),19).a,n=t.a.c.length,!r&&i!=(r4(),BWt)&&(0==e||e>n))}(t)&&(i=(iA(Ost(t,E1t))===iA(One)?VP(Ost(t,QJt),292):VP(Ost(t,JJt),292))==(r4(),FWt)?(Dkt(),QYt):(Dkt(),fGt),cF(e,(Dst(),eUt),i)),VP(Ost(t,o2t),377).g){case 1:cF(e,(Dst(),eUt),(Dkt(),lGt));break;case 2:v$(cF(cF(e,(Dst(),tUt),(Dkt(),lYt)),eUt,hYt),nUt,fYt)}return iA(Ost(t,KJt))!==iA((x5(),W2t))&&cF(e,(Dst(),tUt),(Dkt(),hGt)),e}(e)),d5(e,RXt,tvt(t.a,e))}function Nvt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(l=JEt,h=JEt,c=tTt,u=tTt,d=new wd(e.i);d.a<d.c.c.length;)f=VP(qU(d),65),kM(a=VP(VP(zR(t.g,f.a),46).b,33),f.b.c,f.b.d),l=n.Math.min(l,a.i),h=n.Math.min(h,a.j),c=n.Math.max(c,a.i+a.g),u=n.Math.max(u,a.j+a.f);for(g=VP(_ft(t.c,(Fst(),A8t)),116),Bxt(t.c,c-l+(g.b+g.c),u-h+(g.d+g.a),!0,!0),Ast(t.c,-l+g.b,-h+g.d),r=new YI(Mq(t.c));r.e!=r.i.gc();)s=Qgt(i=VP(hnt(r),79),!0,!0),p=jst(i),w=qst(i),b=new XC(p.i+p.g/2,p.j+p.f/2),o=new XC(w.i+w.g/2,w.j+w.f/2),Eat(y=vN(new XC(o.a,o.b),b),p.g,p.f),mN(b,y),Eat(m=vN(new XC(b.a,b.b),o),w.g,w.f),mN(o,m),EM(s,b.a,b.b),_M(s,o.a,o.b)}function Pvt(t){sE(t,new nst(ax(ex(rx(tx(ix(nx(new bs,fOt),"ELK Mr. Tree"),"Tree-based algorithm provided by the Eclipse Layout Kernel. Computes a spanning tree of the input graph and arranges all nodes according to the resulting parent-children hierarchy. I pity the fool who doesn't use Mr. Tree Layout."),new Po),dOt),Q8((Yht(),dae))))),BY(t,fOt,fSt,U5t),BY(t,fOt,NSt,20),BY(t,fOt,hSt,LSt),BY(t,fOt,DSt,p8(1)),BY(t,fOt,FSt,(EL(),!0)),BY(t,fOt,uLt,unt($5t)),BY(t,fOt,HSt,unt(R5t)),BY(t,fOt,iAt,unt(z5t)),BY(t,fOt,qSt,unt(q5t)),BY(t,fOt,ZSt,unt(j5t)),BY(t,fOt,zSt,unt(H5t)),BY(t,fOt,USt,unt(Y5t)),BY(t,fOt,uOt,unt(V5t)),BY(t,fOt,lOt,unt(K5t))}function Bvt(t,e){e.dc()&&lB(t.j,!0,!0,!0,!0),X7(e,(Mxt(),Iie))&&lB(t.j,!0,!0,!0,!1),X7(e,Tie)&&lB(t.j,!1,!0,!0,!0),X7(e,$ie)&&lB(t.j,!0,!0,!1,!0),X7(e,Rie)&&lB(t.j,!0,!1,!0,!0),X7(e,Lie)&&lB(t.j,!1,!0,!0,!1),X7(e,Cie)&&lB(t.j,!1,!0,!1,!0),X7(e,jie)&&lB(t.j,!0,!1,!1,!0),X7(e,Fie)&&lB(t.j,!0,!1,!0,!1),X7(e,Pie)&&lB(t.j,!0,!0,!0,!0),X7(e,Aie)&&lB(t.j,!0,!0,!0,!0),X7(e,Pie)&&lB(t.j,!0,!0,!0,!0),X7(e,Sie)&&lB(t.j,!0,!0,!0,!0),X7(e,Bie)&&lB(t.j,!0,!0,!0,!0),X7(e,Nie)&&lB(t.j,!0,!0,!0,!0),X7(e,Die)&&lB(t.j,!0,!0,!0,!0)}function Fvt(t,e,n){var i,r,a,o,s,c,u,l,h;if(t.a!=e.Aj())throw lw(new Xm(LNt+e.ne()+ONt));if(i=Y7((put(),gse),e).$k())return i.Aj().Nh().Ih(i,n);if(o=Y7(gse,e).al()){if(null==n)return null;if((s=VP(n,15)).dc())return"";for(h=new Mv,a=s.Kc();a.Ob();)r=a.Pb(),wA(h,o.Aj().Nh().Ih(o,r)),h.a+=" ";return YA(h,h.a.length-1)}if(!(l=Y7(gse,e).bl()).dc()){for(u=l.Kc();u.Ob();)if((c=VP(u.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(t){if(!MI(t=k4(t),102))throw lw(t)}throw lw(new Xm("Invalid value: '"+n+"' for datatype :"+e.ne()))}return VP(e,834).Fj(),null==n?null:MI(n,172)?""+VP(n,172).a:W5(n)==Pjt?bI(Zre[0],VP(n,199)):A9(n)}function $vt(t,e,i,r,a){var o,s,c,u;return u=JEt,s=!1,o=!!(c=tmt(t,vN(new XC(e.a,e.b),t),mN(new XC(i.a,i.b),a),vN(new XC(r.a,r.b),i)))&&!(n.Math.abs(c.a-t.a)<=TDt&&n.Math.abs(c.b-t.b)<=TDt||n.Math.abs(c.a-e.a)<=TDt&&n.Math.abs(c.b-e.b)<=TDt),(c=tmt(t,vN(new XC(e.a,e.b),t),i,a))&&((n.Math.abs(c.a-t.a)<=TDt&&n.Math.abs(c.b-t.b)<=TDt)==(n.Math.abs(c.a-e.a)<=TDt&&n.Math.abs(c.b-e.b)<=TDt)||o?u=n.Math.min(u,hz(vN(c,i))):s=!0),(c=tmt(t,vN(new XC(e.a,e.b),t),r,a))&&(s||(n.Math.abs(c.a-t.a)<=TDt&&n.Math.abs(c.b-t.b)<=TDt)==(n.Math.abs(c.a-e.a)<=TDt&&n.Math.abs(c.b-e.b)<=TDt)||o)&&(u=n.Math.min(u,hz(vN(c,r)))),u}function jvt(t){sE(t,new nst(ex(rx(tx(ix(nx(new bs,eAt),nAt),"Minimizes the stress within a layout using stress majorization. Stress exists if the euclidean distance between a pair of nodes doesn't match their graph theoretic distance, that is, the shortest path between the two nodes. The method allows to specify individual edge lengths."),new pe),OSt))),BY(t,eAt,$St,unt(BZt)),BY(t,eAt,RSt,(EL(),!0)),BY(t,eAt,HSt,unt(jZt)),BY(t,eAt,iAt,unt(RZt)),BY(t,eAt,qSt,unt(zZt)),BY(t,eAt,ZSt,unt($Zt)),BY(t,eAt,zSt,unt(qZt)),BY(t,eAt,USt,unt(HZt)),BY(t,eAt,XSt,unt(PZt)),BY(t,eAt,QSt,unt(DZt)),BY(t,eAt,JSt,unt(NZt)),BY(t,eAt,tAt,unt(FZt)),BY(t,eAt,VSt,unt(OZt))}function Rvt(t,e){var n,i,r,a,o,s,c,u,l;if(5!=e.e){if(null!=(u=e).b&&null!=t.b){for(Bft(t),Nmt(t),Bft(u),Nmt(u),n=WX(Kce,CEt,25,t.b.length+u.b.length,15,1),l=0,i=0,o=0;i<t.b.length&&o<u.b.length;)if(r=t.b[i],a=t.b[i+1],s=u.b[o],c=u.b[o+1],a<s)n[l++]=t.b[i++],n[l++]=t.b[i++];else if(a>=s&&r<=c)s<=r&&a<=c?i+=2:s<=r?(t.b[i]=c+1,o+=2):a<=c?(n[l++]=r,n[l++]=s-1,i+=2):(n[l++]=r,n[l++]=s-1,t.b[i]=c+1,o+=2);else{if(!(c<r))throw lw(new Am("Token#subtractRanges(): Internal Error: ["+t.b[i]+","+t.b[i+1]+"] - ["+u.b[o]+","+u.b[o+1]+"]"));o+=2}for(;i<t.b.length;)n[l++]=t.b[i++],n[l++]=t.b[i++];t.b=WX(Kce,CEt,25,l,15,1),lmt(n,0,t.b,0,l)}}else Evt(t,e)}function zvt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!t.b)return!1;for(o=null,f=null,r=1,(c=new tV(null,null)).a[1]=t.b,h=c;h.a[r];)u=r,s=f,f=h,h=h.a[r],r=(i=t.a.ue(e,h.d))<0?0:1,0==i&&(!n.c||Hz(h.e,n.d))&&(o=h),h&&h.b||av(h.a[r])||(av(h.a[1-r])?f=f.a[u]=a2(h,r):av(h.a[1-r])||(d=f.a[1-u])&&(av(d.a[1-u])||av(d.a[u])?(a=s.a[1]==f?1:0,av(d.a[u])?s.a[a]=DY(f,u):av(d.a[1-u])&&(s.a[a]=a2(f,u)),h.b=s.a[a].b=!0,s.a[a].a[0].b=!1,s.a[a].a[1].b=!1):(f.b=!1,d.b=!0,h.b=!0)));return o&&(n.b=!0,n.d=o.e,h!=o&&(function(t,e,n,i){var r,a;for(r=null==(a=e).d||t.a.ue(n.d,a.d)>0?1:0;a.a[r]!=n;)a=a.a[r],r=t.a.ue(n.d,a.d)>0?1:0;a.a[r]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}(t,c,o,l=new tV(h.d,h.e)),f==o&&(f=l)),f.a[f.a[1]==h?1:0]=h.a[h.a[0]?0:1],--t.c),t.b=c.a[1],t.b&&(t.b.b=!1),n.b}function qvt(t,e,i){var r,a,o,s,c,u,l,h,f,d;if(i)for(r=-1,h=new QY(e,0);h.b<h.d.gc();){if(CO(h.b<h.d.gc()),c=VP(h.d.Xb(h.c=h.b++),10),null==(f=t.c[c.c.p][c.p].a)){for(s=r+1,o=new QY(e,h.b);o.b<o.d.gc();)if(null!=(d=BI(t,(CO(o.b<o.d.gc()),VP(o.d.Xb(o.c=o.b++),10))).a)){yz(d),s=d;break}f=(r+s)/2,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=(yz(f),f),t.c[c.c.p][c.p].b=1}yz(f),r=f}else{for(a=0,l=new wd(e);l.a<l.c.c.length;)c=VP(qU(l),10),null!=t.c[c.c.p][c.p].a&&(a=n.Math.max(a,ev(t.c[c.c.p][c.p].a)));for(a+=2,u=new wd(e);u.a<u.c.c.length;)c=VP(qU(u),10),null==t.c[c.c.p][c.p].a&&(f=Kft(t.i,24)*_Tt*a-1,t.c[c.c.p][c.p].a=f,t.c[c.c.p][c.p].d=f,t.c[c.c.p][c.p].b=1)}}function Hvt(t){var e,n,i,r,a,o,s,c;for(e=null,i=new wd(t);i.a<i.c.c.length;)ev(NI((n=VP(qU(i),233)).g,n.d[0]).a),n.b=null,n.e&&n.e.gc()>0&&0==n.c&&(!e&&(e=new iw),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=VP($W(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new iw),a=new wd(n.b);a.a<a.c.c.length;)if(nv(NI((r=VP(qU(a),233)).g,r.d[0]).a)==nv(NI(n.g,n.d[0]).a)){if(lQ(t,r,0)>lQ(t,n,0))return new mS(r,n)}else if(ev(NI(r.g,r.d[0]).a)>ev(NI(n.g,n.d[0]).a))return new mS(r,n);for(s=(!n.e&&(n.e=new iw),n.e).Kc();s.Ob();)!(o=VP(s.Pb(),233)).b&&(o.b=new iw),iU(0,(c=o.b).c.length),ZE(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o)}return null}function Zvt(t,e){var n,i,r,a,o,s;if(null==t)return s_t;if(null!=e.a.zc(t,e))return"[...]";for(n=new Q3(n_t,"[","]"),a=0,o=(r=t).length;a<o;++a)null!=(i=r[a])&&0!=(4&W5(i).i)?!Array.isArray(i)||(s=XQ(i))>=14&&s<=16?MI(i,177)?qW(n,ult(VP(i,177))):MI(i,190)?qW(n,jot(VP(i,190))):MI(i,195)?qW(n,_ct(VP(i,195))):MI(i,2012)?qW(n,Rot(VP(i,2012))):MI(i,48)?qW(n,clt(VP(i,48))):MI(i,364)?qW(n,Olt(VP(i,364))):MI(i,832)?qW(n,slt(VP(i,832))):MI(i,104)&&qW(n,olt(VP(i,104))):e.a._b(i)?(n.a?vA(n.a,n.b):n.a=new CL(n.d),yA(n.a,"[...]")):qW(n,Zvt(l1(i),new xF(e))):qW(n,null==i?s_t:A9(i));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function Uvt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(g=jct(Qgt(e,!1,!1)),r&&(g=Y5(g)),b=ev(hD(_ft(e,(dnt(),OHt)))),CO(0!=g.b),d=VP(g.a.a.c,8),l=VP(knt(g,1),8),g.b>2?(C4(u=new iw,new IU(g,1,g.b)),c4(p=new ift(xkt(u,b+t.a)),e),i.c[i.c.length]=p):p=VP(zR(t.b,r?jst(e):qst(e)),266),s=jst(e),r&&(s=qst(e)),o=function(t,e){var i,r,a;return a=pSt,Ant(),r=gHt,a=n.Math.abs(t.b),(i=n.Math.abs(e.f-t.b))<a&&(a=i,r=pHt),(i=n.Math.abs(t.a))<a&&(a=i,r=bHt),(i=n.Math.abs(e.g-t.a))<a&&(a=i,r=dHt),r}(d,s),c=b+t.a,o.a?(c+=n.Math.abs(d.b-l.b),f=new XC(l.a,(l.b+d.b)/2)):(c+=n.Math.abs(d.a-l.a),f=new XC((l.a+d.a)/2,l.b)),Pz(r?t.d:t.c,e,new qit(p,o,f,c)),Pz(t.b,e,p),!e.n&&(e.n=new mj(oae,e,1,7)),h=new YI(e.n);h.e!=h.i.gc();)a=dbt(t,VP(hnt(h),137),!0,0,0),i.c[i.c.length]=a}function Yvt(t,e,n){var i,r,a,o,s;if(s=t.c,!e&&(e=Koe),t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&(o=new wj(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(MI(t.Cb,284))t.Db>>16==-10?n=VP(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(Bkt(),e=Soe),!s&&(Bkt(),s=Soe),t.Cb.nh()&&(o=new vQ(t.Cb,1,13,s,e,$nt(AQ(VP(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(MI(t.Cb,88))t.Db>>16==-23&&(MI(e,88)||(Bkt(),e=Ioe),MI(s,88)||(Bkt(),s=Ioe),t.Cb.nh()&&(o=new vQ(t.Cb,1,10,s,e,$nt(eK(VP(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(MI(t.Cb,444))for(!(a=VP(t.Cb,836)).b&&(a.b=new Gb(new Ky)),r=new Kb(new e6(new Xf(a.b.a).a));r.a.b;)n=Yvt(i=VP(u1(r.a).cd(),87),bdt(i,a),n);return n}function Gvt(t){var e,i,r,a,o,s,c,u,l,h,f,d;if((d=VP(_ft(t,(Ikt(),Jte)),21)).dc())return null;if(c=0,s=0,d.Hc((Ltt(),Jie))){for(h=VP(_ft(t,kee),98),r=2,i=2,a=2,o=2,e=AZ(t)?VP(_ft(AZ(t),Ate),103):VP(_ft(t,Ate),103),l=new YI((!t.c&&(t.c=new mj(cae,t,9,9)),t.c));l.e!=l.i.gc();)if(u=VP(hnt(l),118),(f=VP(_ft(u,Mee),61))==(Mxt(),qie)&&(f=tyt(u,e),Ont(u,Mee,f)),h==($ot(),cie))switch(f.g){case 1:r=n.Math.max(r,u.i+u.g);break;case 2:i=n.Math.max(i,u.j+u.f);break;case 3:a=n.Math.max(a,u.i+u.g);break;case 4:o=n.Math.max(o,u.j+u.f)}else switch(f.g){case 1:r+=u.g+2;break;case 2:i+=u.f+2;break;case 3:a+=u.g+2;break;case 4:o+=u.f+2}c=n.Math.max(r,a),s=n.Math.max(i,o)}return Bxt(t,c,s,!0,!0)}function Kvt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(m=VP(xK(qJ(lq(new CF(null,new NU(e.d,16)),new ep(i)),new np(i)),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15),f=Qkt,h=eEt,u=new wd(e.b.j);u.a<u.c.c.length;)(c=VP(qU(u),11)).j==i&&(f=n.Math.min(f,c.p),h=n.Math.max(h,c.p));if(f==Qkt)for(s=0;s<m.gc();s++)bV(VP(m.Xb(s),101),i,s);else for(function(t,e){var n;for(n=0;n<e;++n)t[n]=-1}(v=WX(Kce,CEt,25,a.length,15,1),v.length),y=m.Kc();y.Ob();){for(w=VP(y.Pb(),101),o=VP(zR(t.b,w),177),l=0,b=f;b<=h;b++)o[b]&&(l=n.Math.max(l,r[b]));if(w.i){for(g=w.i.c,x=new Xw,d=0;d<a.length;d++)a[g][d]&&jj(x,p8(v[d]));for(;b_(x,p8(l));)++l}for(bV(w,i,l),p=f;p<=h;p++)o[p]&&(r[p]=l+1);w.i&&(v[w.i.c]=l)}}function Wvt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(a=null,r=new wd(e.a);r.a<r.c.c.length;)Cmt(i=VP(qU(r),10))?(l=new wq(i,!0,c=qL(B_(new ny,i),t.f),u=qL(B_(new ny,i),t.f)),h=i.o.b,Hnt(),d=1e4,(f=(i.q?i.q:(Gq(),Gq(),CRt))._b((wkt(),Q1t))?VP(Ost(i,Q1t),197):VP(Ost(pz(i),J1t),197))==T2t&&(d=1),g=cgt(N_(D_(O_(P_(new ey,d),cZ(n.Math.ceil(h))),c),u)),f==C2t&&jj(t.d,g),dwt(t,A3(i9(i,(Mxt(),Hie))),l),dwt(t,i9(i,_ie),l),o=l):(p=qL(B_(new ny,i),t.f),C_(lq(new CF(null,new NU(i.j,16)),new za),new mC(t,p)),o=new wq(i,!1,p,p)),t.i[i.p]=o,a&&(s=a.c.d.a+fI(t.n,a.c,i)+i.d.d,a.b||(s+=a.c.o.b),cgt(N_(D_(P_(O_(new ey,cZ(n.Math.ceil(s))),0),a.d),o.a))),a=o}function Xvt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for(f=function(t,e,n){var i,r,a,o,s,c,u,l,h;for(i=n.c,r=n.d,s=BU(e.c),c=BU(e.d),i==e.c?(s=hdt(t,s,r),c=Tst(e.d)):(s=Tst(e.c),c=hdt(t,c,r)),WK(u=new xx(e.a),s,u.a,u.a.a),WK(u,c,u.c.b,u.c),o=e.c==i,h=new hy,a=0;a<u.b-1;++a)l=new mS(VP(knt(u,a),8),VP(knt(u,a+1),8)),o&&0==a||!o&&a==u.b-2?h.b=l:nB(h.a,l);return h}(t,e,o=new lht(e)),g=n.Math.max(ev(hD(Ost(e,(wkt(),x1t)))),1),h=new wd(f.a);h.a<h.c.c.length;)l=VP(qU(h),46),UB(i,new XC((u=Fet(VP(l.a,8),VP(l.b,8),g)).c,u.d)),UB(i,OO(new XC(u.c,u.d),u.b,0)),UB(i,OO(new XC(u.c,u.d),0,u.a)),UB(i,OO(new XC(u.c,u.d),u.b,u.a));switch(d=o.d,c=Fet(VP(f.b.a,8),VP(f.b.b,8),g),d==(Mxt(),Hie)||d==_ie?(r.c[d.g]=n.Math.min(r.c[d.g],c.d),r.b[d.g]=n.Math.max(r.b[d.g],c.d+c.a)):(r.c[d.g]=n.Math.min(r.c[d.g],c.c),r.b[d.g]=n.Math.max(r.b[d.g],c.c+c.b)),a=tTt,s=o.c.i.d,d.g){case 4:a=s.c;break;case 2:a=s.b;break;case 1:a=s.a;break;case 3:a=s.d}return r.a[d.g]=n.Math.max(r.a[d.g],a),o}function Vvt(t,e,n){var i,r,a,o,s,c,u,l;for(c4(u=new ait(n),e),d5(u,(Lkt(),IXt),e),u.o.a=e.g,u.o.b=e.f,u.n.a=e.i,u.n.b=e.j,nB(n.a,u),Pz(t.a,e,u),(0!=(!e.a&&(e.a=new mj(sae,e,10,11)),e.a).i||tv(lD(_ft(e,(wkt(),M1t)))))&&d5(u,tXt,(EL(),!0)),c=VP(Ost(n,gXt),21),(l=VP(Ost(u,(wkt(),w0t)),98))==($ot(),fie)?d5(u,w0t,hie):l!=hie&&c.Fc((ipt(),IWt)),i=VP(Ost(n,s1t),103),s=new YI((!e.c&&(e.c=new mj(cae,e,9,9)),e.c));s.e!=s.i.gc();)tv(lD(_ft(o=VP(hnt(s),118),a0t)))||bxt(t,o,u,c,i,l);for(a=new YI((!e.n&&(e.n=new mj(oae,e,1,7)),e.n));a.e!=a.i.gc();)!tv(lD(_ft(r=VP(hnt(a),137),a0t)))&&r.a&&nB(u.b,p7(r));return tv(lD(Ost(u,jJt)))&&c.Fc((ipt(),TWt)),tv(lD(Ost(u,A1t)))&&(c.Fc((ipt(),MWt)),c.Fc(AWt),d5(u,w0t,hie)),u}function Qvt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;s=VP(zR(e.c,t),459),b=e.a.c,c=e.a.c+e.a.b,o=(_=s.f)<(E=s.a),d=new XC(b,_),w=new XC(c,E),g=new XC(r=(b+c)/2,_),y=new XC(r,E),a=function(t,e,n){var i,r,a;if(i=0,r=0,t.c)for(a=new wd(t.d.i.j);a.a<a.c.c.length;)i+=VP(qU(a),11).e.c.length;else i=1;if(t.d)for(a=new wd(t.c.i.j);a.a<a.c.c.length;)r+=VP(qU(a),11).g.c.length;else r=1;return(n+e)/2+.4*cZ(ZB(r-i))*(n-e)}(t,_,E),v=BU(e.B),x=new XC(r,a),k=BU(e.D),n=function(t){var e,n,i;for(cpt(),n=WX(q9t,T_t,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,n[e]=Oit(i,t);return n}(P4(Zv(q9t,1),T_t,8,0,[v,x,k])),h=!1,(p=e.B.i)&&p.c&&s.d&&((u=o&&p.p<p.c.a.c.length-1||!o&&p.p>0)?u&&(l=p.p,o?++l:--l,h=!($dt(i=c5(VP(EF(p.c.a,l),10)),v,n[0])||rj(i,v,n[0]))):h=!0),f=!1,(m=e.D.i)&&m.c&&s.e&&(o&&m.p>0||!o&&m.p<m.c.a.c.length-1?(l=m.p,o?--l:++l,f=!($dt(i=c5(VP(EF(m.c.a,l),10)),n[0],k)||rj(i,n[0],k))):f=!0),h&&f&&$B(t.a,x),h||r0(t.a,P4(Zv(q9t,1),T_t,8,0,[d,g])),f||r0(t.a,P4(Zv(q9t,1),T_t,8,0,[y,w]))}function Jvt(t,e){var n,i,r,a,o,s,c;if(MI(t.Ug(),160)?(Jvt(VP(t.Ug(),160),e),e.a+=" > "):e.a+="Root ",jN((n=t.Tg().zb).substr(0,3),"Elk")?vA(e,n.substr(3)):e.a+=""+n,r=t.zg())vA((e.a+=" ",e),r);else if(MI(t,354)&&(c=VP(t,137).a))vA((e.a+=" ",e),c);else{for(a=new YI(t.Ag());a.e!=a.i.gc();)if(c=VP(hnt(a),137).a)return void vA((e.a+=" ",e),c);if(MI(t,352)&&(!(i=VP(t,79)).b&&(i.b=new LN(Jre,i,4,7)),0!=i.b.i&&(!i.c&&(i.c=new LN(Jre,i,5,8)),0!=i.c.i))){for(e.a+=" (",o=new oO((!i.b&&(i.b=new LN(Jre,i,4,7)),i.b));o.e!=o.i.gc();)o.e>0&&(e.a+=n_t),Jvt(VP(hnt(o),160),e);for(e.a+=yAt,s=new oO((!i.c&&(i.c=new LN(Jre,i,5,8)),i.c));s.e!=s.i.gc();)s.e>0&&(e.a+=n_t),Jvt(VP(hnt(s),160),e);e.a+=")"}}}function txt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(a=VP(Ost(t,(Lkt(),IXt)),79)){for(i=t.a,mN(r=new hM(n),function(t){var e,n,i,r;if(r=VP(Ost(t,(Lkt(),eXt)),37)){for(i=new Sx,e=pz(t.c.i);e!=r;)e=pz(n=e.e),OO(mN(mN(i,n.n),e.c),e.d.b,e.d.d);return i}return eYt}(t)),j3(t.d.i,t.c.i)?(f=t.c,vN(h=O5(P4(Zv(q9t,1),T_t,8,0,[f.n,f.a])),n)):h=BU(t.c),WK(i,h,i.a,i.a.a),d=BU(t.d),null!=Ost(t,QXt)&&mN(d,VP(Ost(t,QXt),8)),WK(i,d,i.c.b,i.c),c1(i,r),D0(o=Qgt(a,!0,!0),VP(a1((!a.b&&(a.b=new LN(Jre,a,4,7)),a.b),0),82)),N0(o,VP(a1((!a.c&&(a.c=new LN(Jre,a,5,8)),a.c),0),82)),pyt(i,o),l=new wd(t.b);l.a<l.c.c.length;)u=VP(qU(l),70),O1(s=VP(Ost(u,IXt),137),u.o.a),L1(s,u.o.b),kM(s,u.n.a+r.a,u.n.b+r.b),Ont(s,(m2(),bGt),lD(Ost(u,bGt)));(c=VP(Ost(t,(wkt(),D1t)),74))?(c1(c,r),Ont(a,D1t,c)):Ont(a,D1t,null),e==(b9(),dne)?Ont(a,g1t,dne):Ont(a,g1t,null)}}function ext(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;return c=t,l=vN(new XC(e.a,e.b),t),u=i,h=vN(new XC(r.a,r.b),i),f=c.a,b=c.b,g=u.a,y=u.b,d=l.a,w=l.b,a=(p=h.a)*w-d*(m=h.b),GM(),c0(GLt),!(n.Math.abs(0-a)<=GLt||0==a||isNaN(0)&&isNaN(a))&&(o=1/a*((f-g)*w-(b-y)*d),s=1/a*-(-(f-g)*m+(b-y)*p),c0(GLt),(n.Math.abs(0-o)<=GLt||0==o||isNaN(0)&&isNaN(o)?0:0<o?-1:0>o?1:XA(isNaN(0),isNaN(o)))<0&&(c0(GLt),(n.Math.abs(o-1)<=GLt||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:XA(isNaN(o),isNaN(1)))<0)&&(c0(GLt),(n.Math.abs(0-s)<=GLt||0==s||isNaN(0)&&isNaN(s)?0:0<s?-1:0>s?1:XA(isNaN(0),isNaN(s)))<0)&&(c0(GLt),(n.Math.abs(s-1)<=GLt||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:XA(isNaN(s),isNaN(1)))<0))}function nxt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;if(w=function(t,e,n){var i,r,a,o,s,c,u,l;for(l=new iw,a=0,a0(u=new pY(0,n),new t6(0,0,u,n)),r=0,c=new YI(t);c.e!=c.i.gc();)s=VP(hnt(c),33),i=VP(EF(u.a,u.a.c.length-1),187),r+s.g+(0==VP(EF(u.a,0),187).b.c.length?0:n)>e&&(r=0,a+=u.b+n,l.c[l.c.length]=u,a0(u=new pY(a,n),i=new t6(0,u.f,u,n)),r=0),0==i.b.c.length||s.f>=i.o&&s.f<=i.f||.5*i.a<=s.f&&1.5*i.a>=s.f?f9(i,s):(a0(u,o=new t6(i.s+i.r+n,u.f,u,n)),f9(o,s)),r=s.i+s.g;return l.c[l.c.length]=u,l}(e,i,t.g),a.n&&a.n&&o&&tY(a,FY(o),(S6(),kre)),t.b)for(b=0;b<w.c.length;b++)OU(b,w.c.length),h=VP(w.c[b],200),0!=b&&(OU(b-1,w.c.length),K6(h,(d=VP(w.c[b-1],200)).f+d.b+t.g)),tkt(b,w,i,t.g),xat(t,h),a.n&&o&&tY(a,FY(o),(S6(),kre));else for(p=new wd(w);p.a<p.c.c.length;)for(l=new wd((g=VP(qU(p),200)).a);l.a<l.c.c.length;)c3(y=new wZ((u=VP(qU(l),187)).s,u.t,t.g),u),nB(g.d,y);return function(t,e){var i,r,a,o,s;for(r=0,a=0,i=0,s=new wd(e);s.a<s.c.c.length;)o=VP(qU(s),200),r=n.Math.max(r,o.e),a+=o.b+(i>0?t.g:0),++i;t.c=a,t.d=r}(t,w),a.n&&a.n&&o&&tY(a,FY(o),(S6(),kre)),m=n.Math.max(t.d,r.a-(s.b+s.c)),c=(f=n.Math.max(t.c,r.b-(s.d+s.a)))-t.c,t.e&&t.f&&(m/f<t.a?m=f*t.a:c+=m/t.a-f),t.e&&function(t,e,n){var i,r,a,o;for(i=n/t.c.length,r=0,o=new wd(t);o.a<o.c.c.length;)K6(a=VP(qU(o),200),a.f+i*r),Aat(a,e,i),++r}(w,m,c),a.n&&a.n&&o&&tY(a,FY(o),(S6(),kre)),new tF(t.a,m,t.c+c,(Bdt(),t8t))}function ixt(t,e){var n;if(t.e)throw lw(new Vm((uD(Lzt),GTt+Lzt.k+KTt)));if(!function(t,e){return $L(t.e,e)}(t.a,e))throw lw(new Am(WTt+e+XTt));if(e==t.d)return t;switch(n=t.d,t.d=e,n.g){case 0:switch(e.g){case 2:ert(t);break;case 1:M5(t),ert(t);break;case 4:oot(t),ert(t);break;case 3:oot(t),M5(t),ert(t)}break;case 2:switch(e.g){case 1:M5(t),ibt(t);break;case 4:oot(t),ert(t);break;case 3:oot(t),M5(t),ert(t)}break;case 1:switch(e.g){case 2:M5(t),ibt(t);break;case 4:M5(t),oot(t),ert(t);break;case 3:M5(t),oot(t),M5(t),ert(t)}break;case 4:switch(e.g){case 2:oot(t),ert(t);break;case 1:oot(t),M5(t),ert(t);break;case 3:M5(t),ibt(t)}break;case 3:switch(e.g){case 2:M5(t),oot(t),ert(t);break;case 1:M5(t),oot(t),M5(t),ert(t);break;case 4:M5(t),ibt(t)}}return t}function rxt(t,e){var n;if(t.d)throw lw(new Vm((uD(fUt),GTt+fUt.k+KTt)));if(!function(t,e){return $L(t.c,e)}(t.a,e))throw lw(new Am(WTt+e+XTt));if(e==t.c)return t;switch(n=t.c,t.c=e,n.g){case 0:switch(e.g){case 2:G5(t);break;case 1:A5(t),G5(t);break;case 4:sot(t),G5(t);break;case 3:sot(t),A5(t),G5(t)}break;case 2:switch(e.g){case 1:A5(t),rbt(t);break;case 4:sot(t),G5(t);break;case 3:sot(t),A5(t),G5(t)}break;case 1:switch(e.g){case 2:A5(t),rbt(t);break;case 4:A5(t),sot(t),G5(t);break;case 3:A5(t),sot(t),A5(t),G5(t)}break;case 4:switch(e.g){case 2:sot(t),G5(t);break;case 1:sot(t),A5(t),G5(t);break;case 3:A5(t),rbt(t)}break;case 3:switch(e.g){case 2:A5(t),sot(t),G5(t);break;case 1:A5(t),sot(t),A5(t),G5(t);break;case 4:A5(t),rbt(t)}}return t}function axt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(d=i.d,f=i.c,s=(o=new XC(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a)).b,l=new wd(t.a);l.a<l.c.c.length;)if((c=VP(qU(l),10)).k==(gct(),RUt)){switch(r=VP(Ost(c,(Lkt(),hXt)),61),a=VP(Ost(c,fXt),8),h=c.n,r.g){case 2:h.a=i.f.a+d.c-f.a;break;case 4:h.a=-f.a-d.b}switch(p=0,r.g){case 2:case 4:e==($ot(),uie)?(g=ev(hD(Ost(c,jXt))),h.b=o.b*g-VP(Ost(c,(wkt(),p0t)),8).b,p=h.b+a.b,d4(c,!1,!0)):e==cie&&(h.b=ev(hD(Ost(c,jXt)))-VP(Ost(c,(wkt(),p0t)),8).b,p=h.b+a.b,d4(c,!1,!0))}s=n.Math.max(s,p)}for(i.f.b+=s-o.b,u=new wd(t.a);u.a<u.c.c.length;)if((c=VP(qU(u),10)).k==(gct(),RUt))switch(r=VP(Ost(c,(Lkt(),hXt)),61),h=c.n,r.g){case 1:h.b=-f.b-d.d;break;case 3:h.b=i.f.b+d.a-f.b}}function oxt(t,e,i){var r;if(ast(i,"StretchWidth layering",1),0!=e.a.c.length){for(t.c=e,t.t=0,t.u=0,t.i=JEt,t.g=tTt,t.d=ev(hD(Ost(e,(wkt(),P0t)))),function(t){var e,n,i;for(i=t.c.a,t.p=(TR(i),new uP(i)),n=new wd(i);n.a<n.c.c.length;)(e=VP(qU(n),10)).p=qut(e).a;Gq(),QM(t.p,new Ia)}(t),function(t){var e,n,i,r,a;for(i=0,t.q=new iw,e=new Xw,a=new wd(t.p);a.a<a.c.c.length;){for((r=VP(qU(a),10)).p=i,n=new O$(dL(c9(r).a.Kc(),new l));Xht(n);)jj(e,VP(xW(n),17).d.i);e.a.Bc(r),nB(t.q,new xF(e)),e.a.$b(),++i}}(t),function(t){var e,n;for(t.e=WX(Kce,CEt,25,t.p.c.length,15,1),t.k=WX(Kce,CEt,25,t.p.c.length,15,1),n=new wd(t.p);n.a<n.c.c.length;)e=VP(qU(n),10),t.e[e.p]=RG(new O$(dL(s9(e).a.Kc(),new l))),t.k[e.p]=RG(new O$(dL(c9(e).a.Kc(),new l)))}(t),function(t){var e,i,r;for(i=new wd(t.p);i.a<i.c.c.length;)(e=VP(qU(i),10)).k==(gct(),HUt)&&(r=e.o.b,t.i=n.Math.min(t.i,r),t.g=n.Math.max(t.g,r))}(t),function(t){var e,n;for(t.j=WX(Qce,aTt,25,t.p.c.length,15,1),n=new wd(t.p);n.a<n.c.c.length;)e=VP(qU(n),10),t.j[e.p]=e.o.b/t.i}(t),t.i=n.Math.max(1,t.i),t.g=n.Math.max(1,t.g),t.d=t.d/t.i,t.f=t.g/t.i,t.s=function(t){var e,n;for(e=0,n=new wd(t.c.a);n.a<n.c.c.length;)e+=RG(new O$(dL(c9(VP(qU(n),10)).a.Kc(),new l)));return e/t.c.a.c.length}(t),r=new HR(t.c),nB(t.c.b,r),t.r=GU(t.p),t.n=aZ(t.k,t.k.length);0!=t.r.c.length;)t.o=y7(t),!t.o||T5(t)&&0!=t.b.a.gc()?(Sot(t,r),r=new HR(t.c),nB(t.c.b,r),M2(t.a,t.b),t.b.a.$b(),t.t=t.u,t.u=0):T5(t)?(t.c.b.c=WX(G$t,r_t,1,0,5,1),r=new HR(t.c),nB(t.c.b,r),t.t=0,t.u=0,t.b.a.$b(),t.a.a.$b(),++t.f,t.r=GU(t.p),t.n=aZ(t.k,t.k.length)):(QZ(t.o,r),sQ(t.r,t.o),jj(t.b,t.o),t.t=t.t-t.k[t.o.p]*t.d+t.j[t.o.p],t.u+=t.e[t.o.p]*t.d);e.a.c=WX(G$t,r_t,1,0,5,1),Fut(e.b),$ct(i)}else $ct(i)}function sxt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(i=new iw,g=new wd(e.a);g.a<g.c.c.length;)if((f=(d=VP(qU(g),10)).e)&&(C4(i,sxt(t,f,d)),Cvt(t,f,d),VP(Ost(f,(Lkt(),gXt)),21).Hc((ipt(),SWt))))for(w=VP(Ost(d,(wkt(),w0t)),98),h=VP(Ost(d,v0t),174).Hc((Ilt(),wie)),b=new wd(d.j);b.a<b.c.c.length;)for(p=VP(qU(b),11),(r=VP(zR(t.b,p),10))||(d5(r=Jxt(p,w,p.j,-(p.e.c.length-p.g.c.length),null,new Sx,p.o,VP(Ost(f,s1t),103),f),IXt,p),Pz(t.b,p,r),nB(f.a,r)),a=VP(EF(r.j,0),11),u=new wd(p.f);u.a<u.c.c.length;)c=VP(qU(u),70),(o=new Cx).o.a=c.o.a,o.o.b=c.o.b,nB(a.f,o),h||(y=p.j,l=0,aj(VP(Ost(d,v0t),21))&&(l=zlt(c.n,c.o,p.o,0,y)),w==($ot(),hie)||(Mxt(),Aie).Hc(y)?o.o.a=l:o.o.b=l);return function(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(a=new iw,u=new wd(i);u.a<u.c.c.length;)if(o=null,(s=VP(qU(u),441)).f==(l0(),r3t))for(g=new wd(s.e);g.a<g.c.c.length;)pz(b=(d=VP(qU(g),17)).d.i)==e?UJ(t,e,s,d,s.b,d.d):!n||j3(b,n)?nct(t,e,s,i,d):((f=Amt(t,e,n,d,s.b,r3t,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f));else for(h=new wd(s.e);h.a<h.c.c.length;)if(pz(p=(l=VP(qU(h),17)).c.i)==e)UJ(t,e,s,l,l.c,s.b);else{if(!n||j3(p,n))continue;(f=Amt(t,e,n,l,s.b,i3t,o))!=o&&(a.c[a.c.length]=f),f.c&&(o=f)}for(c=new wd(a);c.a<c.c.c.length;)s=VP(qU(c),441),-1!=lQ(e.a,s.a,0)||nB(e.a,s.a),s.c&&(r.c[r.c.length]=s)}(t,e,n,i,s=new iw),n&&function(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(s=new iw,r=new wd(e.a);r.a<r.c.c.length;)for(o=new wd(VP(qU(r),10).j);o.a<o.c.c.length;){for(u=null,m=0,v=(y=MY((a=VP(qU(o),11)).g)).length;m<v;++m)j3((w=y[m]).d.i,n)||((b=Amt(t,e,n,w,w.c,(l0(),r3t),u))!=u&&(s.c[s.c.length]=b),b.c&&(u=b));for(c=null,g=0,p=(d=MY(a.e)).length;g<p;++g)j3((f=d[g]).c.i,n)||((b=Amt(t,e,n,f,f.d,(l0(),i3t),c))!=c&&(s.c[s.c.length]=b),b.c&&(c=b))}for(h=new wd(s);h.a<h.c.c.length;)l=VP(qU(h),441),-1!=lQ(e.a,l.a,0)||nB(e.a,l.a),l.c&&(i.c[i.c.length]=l)}(t,e,n,s),s}function cxt(t,e,n){var i,r,a,o,s,c,u,l;if(!t.c[e.c.p][e.p].e){for(t.c[e.c.p][e.p].e=!0,t.c[e.c.p][e.p].b=0,t.c[e.c.p][e.p].d=0,t.c[e.c.p][e.p].a=null,l=new wd(e.j);l.a<l.c.c.length;)for(u=VP(qU(l),11),c=(n?new hg(u):new dg(u)).Kc();c.Ob();)(o=(s=VP(c.Pb(),11)).i).c==e.c?o!=e&&(cxt(t,o,n),t.c[e.c.p][e.p].b+=t.c[o.c.p][o.p].b,t.c[e.c.p][e.p].d+=t.c[o.c.p][o.p].d):(t.c[e.c.p][e.p].d+=t.g[s.p],++t.c[e.c.p][e.p].b);if(a=VP(Ost(e,(Lkt(),XWt)),15))for(r=a.Kc();r.Ob();)i=VP(r.Pb(),10),e.c==i.c&&(cxt(t,i,n),t.c[e.c.p][e.p].b+=t.c[i.c.p][i.p].b,t.c[e.c.p][e.p].d+=t.c[i.c.p][i.p].d);t.c[e.c.p][e.p].b>0&&(t.c[e.c.p][e.p].d+=Kft(t.i,24)*_Tt*.07000000029802322-.03500000014901161,t.c[e.c.p][e.p].a=t.c[e.c.p][e.p].d/t.c[e.c.p][e.p].b)}}function uxt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(_=0,g=0,f=new wd(e.e);f.a<f.c.c.length;){for(h=VP(qU(f),10),d=0,c=0,u=i?VP(Ost(h,c4t),19).a:eEt,y=r?VP(Ost(h,u4t),19).a:eEt,l=n.Math.max(u,y),v=new wd(h.j);v.a<v.c.c.length;){if(m=VP(qU(v),11),x=h.n.b+m.n.b+m.a.b,r)for(s=new wd(m.g);s.a<s.c.c.length;)p=(b=(o=VP(qU(s),17)).d).i,e!=t.a[p.p]&&(w=n.Math.max(VP(Ost(p,c4t),19).a,VP(Ost(p,u4t),19).a),(k=VP(Ost(o,(wkt(),A0t)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));if(i)for(s=new wd(m.e);s.a<s.c.c.length;)p=(b=(o=VP(qU(s),17)).c).i,e!=t.a[p.p]&&(w=n.Math.max(VP(Ost(p,c4t),19).a,VP(Ost(p,u4t),19).a),(k=VP(Ost(o,(wkt(),A0t)),19).a)>=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c))}c>0&&(_+=d/c,++g)}g>0?(e.a=a*_/g,e.g=g):(e.a=0,e.g=0)}function lxt(t,e){var i,r,a,o,s,c,u,l,h,f;for(r=new wd(t.a.b);r.a<r.c.c.length;)for(c=new wd(VP(qU(r),29).a);c.a<c.c.c.length;)s=VP(qU(c),10),e.j[s.p]=s,e.i[s.p]=e.o==(FZ(),v4t)?tTt:JEt;for(Yj(t.c),o=t.a.b,e.c==(QH(),p4t)&&(o=MI(o,152)?FW(VP(o,152)):MI(o,131)?VP(o,131).a:MI(o,54)?new Em(o):new r_(o)),function(t,e,n){t.a=e,t.c=n,t.b.a.$b(),zq(t.d),t.e.a.c=WX(G$t,r_t,1,0,5,1)}(t.e,e,t.b),HE(e.p,null),a=o.Kc();a.Ob();)for(u=VP(a.Pb(),29).a,e.o==(FZ(),v4t)&&(u=MI(u,152)?FW(VP(u,152)):MI(u,131)?VP(u,131).a:MI(u,54)?new Em(u):new r_(u)),f=u.Kc();f.Ob();)h=VP(f.Pb(),10),e.g[h.p]==h&&Xxt(t,h,e);for(function(t,e){var i,r,a,o,s,c,u;for(u=new T_,c=new sd(new Jf(t.c).a.vc().Kc());c.a.Ob();)a=VP(c.a.Pb(),42),0==(o=VP(a.dd(),458)).b&&WK(u,o,u.c.b,u.c);for(;0!=u.b;)for(null==(o=VP(0==u.b?null:(CO(0!=u.b),WJ(u,u.a.a)),458)).a&&(o.a=0),r=new wd(o.d);r.a<r.c.c.length;)null==(i=VP(qU(r),654)).b.a?i.b.a=ev(o.a)+i.a:e.o==(FZ(),m4t)?i.b.a=n.Math.min(ev(i.b.a),ev(o.a)+i.a):i.b.a=n.Math.max(ev(i.b.a),ev(o.a)+i.a),--i.b.b,0==i.b.b&&$B(u,i.b);for(s=new sd(new Jf(t.c).a.vc().Kc());s.a.Ob();)a=VP(s.a.Pb(),42),o=VP(a.dd(),458),e.i[o.c.p]=o.a}(t,e),i=o.Kc();i.Ob();)for(f=new wd(VP(i.Pb(),29).a);f.a<f.c.c.length;)h=VP(qU(f),10),e.p[h.p]=e.p[e.g[h.p].p],h==e.g[h.p]&&(l=ev(e.i[e.j[h.p].p]),(e.o==(FZ(),v4t)&&l>tTt||e.o==m4t&&l<JEt)&&(e.p[h.p]=ev(e.p[h.p])+l));t.e.cg()}function hxt(t,e,i,r){var a,o,s,c,u;return function(t,e){var n,i,r,a;for(n=!e||!t.u.Hc((Ilt(),wie)),a=0,r=new wd(t.e.Cf());r.a<r.c.c.length;){if((i=VP(qU(r),838)).Hf()==(Mxt(),qie))throw lw(new Xm("Label and node size calculator can only be used with ports that have port sides assigned."));i.vf(a++),v7(t,i,n)}}(c=new mxt(e),r),a=!0,t&&t.Xe((Ikt(),Ate))&&(a=(o=VP(t.We((Ikt(),Ate)),103))==(e8(),nne)||o==tne||o==ene),Rpt(c,!1),KJ(c.e.wf(),new xP(c,!1,a)),fZ(c,c.f,(QJ(),aqt),(Mxt(),Eie)),fZ(c,c.f,sqt,zie),fZ(c,c.g,aqt,Hie),fZ(c,c.g,sqt,_ie),Cnt(c,Eie),Cnt(c,zie),Yz(c,_ie),Yz(c,Hie),SD(),(s=c.A.Hc((Ltt(),Vie))&&c.B.Hc((Xbt(),sre))?ptt(c):null)&&function(t,e){t.b=new hM(e)}(c.a,s),function(t){var e,i,r,a,o,s,c;for(SD(),r=t.f.n,s=AR(t.r).a.nc();s.Ob();){if(a=0,(o=VP(s.Pb(),111)).b.Xe((Ikt(),xee))&&(a=ev(hD(o.b.We(xee))))<0)switch(o.b.Hf().g){case 1:r.d=n.Math.max(r.d,-a);break;case 3:r.a=n.Math.max(r.a,-a);break;case 2:r.c=n.Math.max(r.c,-a);break;case 4:r.b=n.Math.max(r.b,-a)}if(aj(t.u))switch(e=V2(o.b,a),c=!VP(t.e.We(ree),174).Hc((Xbt(),ire)),i=!1,o.b.Hf().g){case 1:i=e>r.d,r.d=n.Math.max(r.d,e),c&&i&&(r.d=n.Math.max(r.d,r.a),r.a=r.d+a);break;case 3:i=e>r.a,r.a=n.Math.max(r.a,e),c&&i&&(r.a=n.Math.max(r.a,r.d),r.d=r.a+a);break;case 2:i=e>r.c,r.c=n.Math.max(r.c,e),c&&i&&(r.c=n.Math.max(r.b,r.c),r.b=r.c+a);break;case 4:i=e>r.b,r.b=n.Math.max(r.b,e),c&&i&&(r.b=n.Math.max(r.b,r.c),r.c=r.b+a)}}}(c),function(t){switch(t.q.g){case 5:$at(t,(Mxt(),Eie)),$at(t,zie);break;case 4:gvt(t,(Mxt(),Eie)),gvt(t,zie);break;default:Tut(t,(Mxt(),Eie)),Tut(t,zie)}}(c),function(t){switch(t.q.g){case 5:jat(t,(Mxt(),_ie)),jat(t,Hie);break;case 4:pvt(t,(Mxt(),_ie)),pvt(t,Hie);break;default:Cut(t,(Mxt(),_ie)),Cut(t,Hie)}}(c),function(t){var e,n,i,r,a,o,s;if(!t.A.dc()){if(t.A.Hc((Ltt(),Jie))&&(VP(Zz(t.b,(Mxt(),Eie)),124).k=!0,VP(Zz(t.b,zie),124).k=!0,e=t.q!=($ot(),uie)&&t.q!=cie,Af(VP(Zz(t.b,_ie),124),e),Af(VP(Zz(t.b,Hie),124),e),Af(t.g,e),t.A.Hc(tre)&&(VP(Zz(t.b,Eie),124).j=!0,VP(Zz(t.b,zie),124).j=!0,VP(Zz(t.b,_ie),124).k=!0,VP(Zz(t.b,Hie),124).k=!0,t.g.k=!0)),t.A.Hc(Qie))for(t.a.j=!0,t.a.k=!0,t.g.j=!0,t.g.k=!0,s=t.B.Hc((Xbt(),cre)),a=0,o=(r=Ket()).length;a<o;++a)i=r[a],(n=VP(Zz(t.i,i),306))&&(fet(i)?(n.j=!0,n.k=!0):(n.j=!s,n.k=!s));t.A.Hc(Vie)&&t.B.Hc((Xbt(),sre))&&(t.g.j=!0,t.g.j=!0,t.a.j||(t.a.j=!0,t.a.k=!0,t.a.e=!0))}}(c),function(t){var e,i,r,a;r=t.o,SD(),t.A.dc()||X7(t.A,Gqt)?a=r.a:(a=$lt(t.f),t.A.Hc((Ltt(),Qie))&&!t.B.Hc((Xbt(),cre))&&(a=n.Math.max(a,$lt(VP(Zz(t.p,(Mxt(),Eie)),244))),a=n.Math.max(a,$lt(VP(Zz(t.p,zie),244)))),(e=D3(t))&&(a=n.Math.max(a,e.a))),tv(lD(t.e.yf().We((Ikt(),eee))))?r.a=n.Math.max(r.a,a):r.a=a,(i=t.f.i).c=0,i.b=a,oyt(t.f)}(c),function(t){switch(GL(),t.q.g){case 5:Nlt(t,(Mxt(),Eie)),Nlt(t,zie);break;case 4:Vft(t,(Mxt(),Eie)),Vft(t,zie);break;default:Sxt(t,(Mxt(),Eie)),Sxt(t,zie)}}(c),Pet(c,Eie),Pet(c,zie),function(t){var e,i,r,a,o,s;t.q!=($ot(),uie)&&t.q!=cie&&(a=t.f.n.d+YB(VP(Zz(t.b,(Mxt(),Eie)),124))+t.c,e=t.f.n.a+YB(VP(Zz(t.b,zie),124))+t.c,r=VP(Zz(t.b,_ie),124),s=VP(Zz(t.b,Hie),124),o=n.Math.max(0,r.n.d-a),o=n.Math.max(o,s.n.d-a),i=n.Math.max(0,r.n.a-e),i=n.Math.max(i,s.n.a-e),r.n.d=o,s.n.d=o,r.n.a=i,s.n.a=i)}(c),function(t){var e,i,r,a;a=t.o,SD(),t.A.dc()||X7(t.A,Gqt)?e=a.b:(e=Flt(t.f),t.A.Hc((Ltt(),Qie))&&!t.B.Hc((Xbt(),cre))&&(e=n.Math.max(e,Flt(VP(Zz(t.p,(Mxt(),_ie)),244))),e=n.Math.max(e,Flt(VP(Zz(t.p,Hie),244)))),(i=D3(t))&&(e=n.Math.max(e,i.b)),t.A.Hc(Jie)&&(t.q!=($ot(),uie)&&t.q!=cie||(e=n.Math.max(e,YB(VP(Zz(t.b,(Mxt(),_ie)),124))),e=n.Math.max(e,YB(VP(Zz(t.b,Hie),124)))))),tv(lD(t.e.yf().We((Ikt(),eee))))?a.b=n.Math.max(a.b,e):a.b=e,(r=t.f.i).d=0,r.a=e,hyt(t.f)}(c),i?(function(t){var e,n;for(SD(),e=t.o.b,n=VP(VP(jW(t.r,(Mxt(),zie)),21),84).Kc();n.Ob();)VP(n.Pb(),111).e.b+=e}(c),function(t){switch(GL(),t.q.g){case 5:yht(t,(Mxt(),_ie)),yht(t,Hie);break;case 4:wnt(t,(Mxt(),_ie)),wnt(t,Hie);break;default:Axt(t,(Mxt(),_ie)),Axt(t,Hie)}}(c),Pet(c,_ie),Pet(c,Hie),u=c.B.Hc((Xbt(),cre)),elt(c,u,Eie),elt(c,u,zie),nlt(c,u,_ie),nlt(c,u,Hie),C_(new CF(null,new NU(new Jf(c.i),0)),new At),C_(lq(new CF(null,AR(c.r).a.oc()),new Mt),new It),function(t){var e,n,i;SD(),t.B.Hc((Xbt(),rre))&&(i=t.f.i,e=new EH(t.a.c),(n=new Cy).b=e.c-i.c,n.d=e.d-i.d,n.c=i.c+i.b-(e.c+e.b),n.a=i.d+i.a-(e.d+e.a),t.e.Ff(n))}(c),c.e.uf(c.o),C_(new CF(null,AR(c.r).a.oc()),new Ot),c.o):c.o}function fxt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(0!=i.c.length){for(g=new iw,d=new wd(i);d.a<d.c.c.length;)nB(g,new XC((f=VP(qU(d),33)).i,f.j));for(r.n&&e&&tY(r,FY(e),(S6(),kre));Yst(t,i);)Pft(t,i,!1);for(r.n&&e&&tY(r,FY(e),(S6(),kre)),s=0,c=0,a=null,0!=i.c.length&&(OU(0,i.c.length),s=(a=VP(i.c[0],33)).i-(OU(0,g.c.length),VP(g.c[0],8)).a,c=a.j-(OU(0,g.c.length),VP(g.c[0],8)).b),o=n.Math.sqrt(s*s+c*c),h=m7(i);0!=h.a.gc();){for(l=h.a.ec().Kc();l.Ob();)u=VP(l.Pb(),33),b=(p=t.f).i+p.g/2,w=p.j+p.f/2,y=u.i+u.g/2,v=u.j+u.f/2-w,k=(m=y-b)/(x=n.Math.sqrt(m*m+v*v)),_=v/x,D1(u,u.i+k*o),N1(u,u.j+_*o);r.n&&e&&tY(r,FY(e),(S6(),kre)),h=m7(new uP(h))}t.a&&t.a.lg(new uP(h)),r.n&&e&&tY(r,FY(e),(S6(),kre)),fxt(t,e,new uP(h),r)}}function dxt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(b=t.n,w=t.o,d=t.d,f=ev(hD(wtt(t,(wkt(),O0t)))),e){for(h=f*(e.gc()-1),g=0,u=e.Kc();u.Ob();)h+=(s=VP(u.Pb(),10)).o.a,g=n.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b-d.d+g,a=r=w.a/(e.gc()+1),c=e.Kc();c.Ob();)(s=VP(c.Pb(),10)).n.a=y,s.n.b=o-s.o.b,y+=s.o.a+f,(l=_dt(s)).n.a=s.o.a/2-l.a.a,l.n.b=s.o.b,(p=VP(Ost(s,(Lkt(),JWt)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=0,JZ(p,t)),a+=r}if(i){for(h=f*(i.gc()-1),g=0,u=i.Kc();u.Ob();)h+=(s=VP(u.Pb(),10)).o.a,g=n.Math.max(g,s.o.b);for(y=b.a-(h-w.a)/2,o=b.b+w.b+d.a-g,a=r=w.a/(i.gc()+1),c=i.Kc();c.Ob();)(s=VP(c.Pb(),10)).n.a=y,s.n.b=o,y+=s.o.a+f,(l=_dt(s)).n.a=s.o.a/2-l.a.a,l.n.b=0,(p=VP(Ost(s,(Lkt(),JWt)),11)).e.c.length+p.g.c.length==1&&(p.n.a=a-p.a.a,p.n.b=w.b,JZ(p,t)),a+=r}}function gxt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(c=new XC(i.i+i.g/2,i.j+i.f/2),f=Pmt(i),d=VP(_ft(e,(wkt(),w0t)),98),p=VP(_ft(i,k0t),61),tA(int(i),b0t)||(g=0==i.i&&0==i.j?0:function(t,e){var n;if(!EZ(t))throw lw(new Vm(nNt));switch(n=EZ(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}(i,p),Ont(i,b0t,g)),d5(r=Jxt(i,d,p,f,new XC(e.g,e.f),c,new XC(i.g,i.f),VP(Ost(n,s1t),103),n),(Lkt(),IXt),i),function(t,e){t.c=e}(a=VP(EF(r.j,0),11),function(t){var e,n,i,r,a;for(a=EZ(t),r=new YI((!t.e&&(t.e=new LN(tae,t,7,4)),t.e));r.e!=r.i.gc();)if(i=VP(hnt(r),79),!GJ(rst(VP(a1((!i.c&&(i.c=new LN(Jre,i,5,8)),i.c),0),82)),a))return!0;for(n=new YI((!t.d&&(t.d=new LN(tae,t,8,5)),t.d));n.e!=n.i.gc();)if(e=VP(hnt(n),79),!GJ(rst(VP(a1((!e.b&&(e.b=new LN(Jre,e,4,7)),e.b),0),82)),a))return!0;return!1}(i)),d5(r,v0t,(Ilt(),Q8(mie))),l=VP(_ft(e,v0t),174).Hc(wie),s=new YI((!i.n&&(i.n=new mj(oae,i,1,7)),i.n));s.e!=s.i.gc();)if(!tv(lD(_ft(o=VP(hnt(s),137),a0t)))&&o.a&&(h=p7(o),nB(a.f,h),!l))switch(u=0,aj(VP(_ft(e,v0t),21))&&(u=zlt(new XC(o.i,o.j),new XC(o.g,o.f),new XC(i.g,i.f),0,p)),p.g){case 2:case 4:h.o.a=u;break;case 1:case 3:h.o.b=u}d5(r,H0t,hD(_ft(AZ(e),H0t))),d5(r,Z0t,hD(_ft(AZ(e),Z0t))),d5(r,z0t,hD(_ft(AZ(e),z0t))),nB(n.a,r),Pz(t.a,i,r)}function pxt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(ast(n,"Processor arrange level",1),l=0,Gq(),A2(e,new Mb((avt(),y5t))),a=e.b,s=tnt(e,e.b),u=!0;u&&s.b.b!=s.d.a;)b=VP(TY(s),86),0==VP(Ost(b,y5t),19).a?--a:u=!1;if(o=new cP(new IU(e,0,a)),c=new cP(new IU(e,a,e.b)),0==o.b)for(d=tnt(c,0);d.b!=d.d.c;)d5(VP(AG(d),86),T5t,p8(l++));else for(h=o.b,m=tnt(o,0);m.b!=m.d.c;){for(d5(y=VP(AG(m),86),T5t,p8(l++)),pxt(t,i=H4(y),Q2(n,1/h|0)),A2(i,Bz(new Mb(T5t))),f=new T_,w=tnt(i,0);w.b!=w.d.c;)for(b=VP(AG(w),86),p=tnt(y.d,0);p.b!=p.d.c;)(g=VP(AG(p),188)).c==b&&WK(f,g,f.c.b,f.c);for(zq(y.d),M2(y.d,f),s=tnt(c,c.b),r=y.d.b,u=!0;0<r&&u&&s.b.b!=s.d.a;)b=VP(TY(s),86),0==VP(Ost(b,y5t),19).a?(d5(b,T5t,p8(l++)),--r,zJ(s)):u=!1}$ct(n)}function bxt(t,e,n,i,r,a){var o,s,c,u,l,h;for(c4(u=new Mct,e),plt(u,VP(_ft(e,(wkt(),k0t)),61)),d5(u,(Lkt(),IXt),e),JZ(u,n),(h=u.o).a=e.g,h.b=e.f,(l=u.n).a=e.i,l.b=e.j,Pz(t.a,e,u),(o=QK(hq(KQ(new CF(null,(!e.e&&(e.e=new LN(tae,e,7,4)),new NU(e.e,16))),new Ke),new Ye),new wg(e)))||(o=QK(hq(KQ(new CF(null,(!e.d&&(e.d=new LN(tae,e,8,5)),new NU(e.d,16))),new We),new Ge),new yg(e))),o||(o=QK(new CF(null,(!e.e&&(e.e=new LN(tae,e,7,4)),new NU(e.e,16))),new Xe)),d5(u,wXt,(EL(),!!o)),function(t,e,n,i){var r,a,o,s,c,u;if((s=t.j)==(Mxt(),qie)&&e!=($ot(),hie)&&e!=($ot(),fie)&&(plt(t,s=Twt(t,n)),!(t.q?t.q:(Gq(),Gq(),CRt))._b((wkt(),b0t))&&s!=qie&&(0!=t.n.a||0!=t.n.b)&&d5(t,b0t,function(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}(t,s))),e==($ot(),uie)){switch(u=0,s.g){case 1:case 3:(a=t.i.o.a)>0&&(u=t.n.a/a);break;case 2:case 4:(r=t.i.o.b)>0&&(u=t.n.b/r)}d5(t,(Lkt(),jXt),u)}if(c=t.o,o=t.a,i)o.a=i.a,o.b=i.b,t.d=!0;else if(e!=hie&&e!=fie&&s!=qie)switch(s.g){case 1:o.a=c.a/2;break;case 2:o.a=c.a,o.b=c.b/2;break;case 3:o.a=c.a/2,o.b=c.b;break;case 4:o.b=c.b/2}else o.a=c.a/2,o.b=c.b/2}(u,a,r,VP(_ft(e,p0t),8)),c=new YI((!e.n&&(e.n=new mj(oae,e,1,7)),e.n));c.e!=c.i.gc();)!tv(lD(_ft(s=VP(hnt(c),137),a0t)))&&s.a&&nB(u.f,p7(s));switch(r.g){case 2:case 1:(u.j==(Mxt(),Eie)||u.j==zie)&&i.Fc((ipt(),LWt));break;case 4:case 3:(u.j==(Mxt(),_ie)||u.j==Hie)&&i.Fc((ipt(),LWt))}return u}function wxt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m;for(f=null,r==(VH(),K4t)?f=e:r==W4t&&(f=i),p=f.a.ec().Kc();p.Ob();){for(g=VP(p.Pb(),11),b=O5(P4(Zv(q9t,1),T_t,8,0,[g.i.n,g.n,g.a])).b,m=new Xw,c=new Xw,l=new YW(g.b);JM(l.a)||JM(l.b);)if(tv(lD(Ost(u=VP(JM(l.a)?qU(l.a):qU(l.b),17),(Lkt(),HXt))))==a&&-1!=lQ(o,u,0)){if(w=u.d==g?u.c:u.d,y=O5(P4(Zv(q9t,1),T_t,8,0,[w.i.n,w.n,w.a])).b,n.Math.abs(y-b)<.2)continue;y<b?e.a._b(w)?jj(m,new mS(K4t,u)):jj(m,new mS(W4t,u)):e.a._b(w)?jj(c,new mS(K4t,u)):jj(c,new mS(W4t,u))}if(m.a.gc()>1)for(GK(m,new SC(t,d=new Zmt(g,m,r))),s.c[s.c.length]=d,h=m.a.ec().Kc();h.Ob();)sQ(o,VP(h.Pb(),46).b);if(c.a.gc()>1)for(GK(c,new AC(t,d=new Zmt(g,c,r))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)sQ(o,VP(h.Pb(),46).b)}}function yxt(t){sE(t,new nst(ex(rx(tx(ix(nx(new bs,IOt),"ELK Radial"),'A radial layout provider which is based on the algorithm of Peter Eades published in "Drawing free trees.", published by International Institute for Advanced Study of Social Information Science, Fujitsu Limited in 1991. The radial layouter takes a tree and places the nodes in radial order around the root. The nodes of the same tree level are placed on the same radius.'),new Ho),IOt))),BY(t,IOt,OLt,unt(X6t)),BY(t,IOt,NSt,unt(J6t)),BY(t,IOt,HSt,unt(H6t)),BY(t,IOt,iAt,unt(Z6t)),BY(t,IOt,qSt,unt(U6t)),BY(t,IOt,ZSt,unt(q6t)),BY(t,IOt,zSt,unt(Y6t)),BY(t,IOt,USt,unt(W6t)),BY(t,IOt,COt,unt(R6t)),BY(t,IOt,TOt,unt(z6t)),BY(t,IOt,MOt,unt(G6t)),BY(t,IOt,_Ot,unt(K6t)),BY(t,IOt,EOt,unt(V6t)),BY(t,IOt,SOt,unt(Q6t)),BY(t,IOt,AOt,unt(t7t))}function mxt(t){var e;if(this.r=function(t,e){return new TH(VP(TR(t),62),VP(TR(e),62))}(new Ct,new St),this.b=new M9(VP(TR(ere),290)),this.p=new M9(VP(TR(ere),290)),this.i=new M9(VP(TR(Jqt),290)),this.e=t,this.o=new hM(t.rf()),this.D=t.Df()||tv(lD(t.We((Ikt(),zte)))),this.A=VP(t.We((Ikt(),Jte)),21),this.B=VP(t.We(ree),21),this.q=VP(t.We(kee),98),this.u=VP(t.We(Cee),21),!function(t){return Ilt(),!(W3(uZ(e$(wie,P4(Zv(Zie,1),K_t,273,0,[mie])),t))>1||W3(uZ(e$(bie,P4(Zv(Zie,1),K_t,273,0,[pie,vie])),t))>1)}(this.u))throw lw(new fv("Invalid port label placement: "+this.u));if(this.v=tv(lD(t.We(Aee))),this.j=VP(t.We(Vte),21),!function(t){return Eft(),!(W3(uZ(e$(Gne,P4(Zv(aie,1),K_t,93,0,[Kne])),t))>1||W3(uZ(e$(Zne,P4(Zv(aie,1),K_t,93,0,[Hne,Yne])),t))>1||W3(uZ(e$(Vne,P4(Zv(aie,1),K_t,93,0,[Xne,Wne])),t))>1)}(this.j))throw lw(new fv("Invalid node label placement: "+this.j));this.n=VP(Yrt(t,Wte),116),this.k=ev(hD(Yrt(t,Uee))),this.d=ev(hD(Yrt(t,Zee))),this.w=ev(hD(Yrt(t,Qee))),this.s=ev(hD(Yrt(t,Yee))),this.t=ev(hD(Yrt(t,Gee))),this.C=VP(Yrt(t,Xee),142),this.c=2*this.d,e=!this.B.Hc((Xbt(),ire)),this.f=new Set(0,e,0),this.g=new Set(1,e,0),Nm(this.f,(QJ(),oqt),this.g)}function vxt(t){var e,n,i,r,a,o,s,c,u,l,h;if(null==t)throw lw(new Av(s_t));if(u=t,c=!1,(a=t.length)>0&&(DU(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,c=45==e)),0==a)throw lw(new Av(QEt+u+'"'));for(;t.length>0&&(DU(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(Nwt(),Vjt)[10])throw lw(new Av(QEt+u+'"'));for(r=0;r<a;r++)if(-1==cet((DU(r,t.length),t.charCodeAt(r))))throw lw(new Av(QEt+u+'"'));for(h=0,o=Wjt[10],l=Xjt[10],s=uQ(Qjt[10]),n=!0,(i=a%o)>0&&(h=-parseInt(t.substr(0,i),10),t=t.substr(i),a-=i,n=!1);a>=o;){if(i=parseInt(t.substr(0,o),10),t=t.substr(o),a-=o,n)n=!1;else{if(x7(h,s)<0)throw lw(new Av(QEt+u+'"'));h=n9(h,l)}h=t9(h,i)}if(x7(h,0)>0)throw lw(new Av(QEt+u+'"'));if(!c&&x7(h=uQ(h),0)<0)throw lw(new Av(QEt+u+'"'));return h}function xxt(t,e){var n,i,r,a,o,s,c;if(VB(),this.a=new vI(this),this.b=t,this.c=e,this.f=Zj(SQ((put(),gse),e)),this.f.dc())if((s=Fat(gse,t))==e)for(this.e=!0,this.d=new iw,this.f=new fc,this.f.Fc(qFt),VP(Mmt(CQ(gse,i1(t)),""),26)==t&&this.f.Fc(I$(gse,i1(t))),r=Dbt(gse,t).Kc();r.Ob();)switch(i=VP(r.Pb(),170),Ez(SQ(gse,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(Zj(SQ(gse,i)))}else if(EE(),VP(e,66).Oj())for(this.e=!0,this.f=null,this.d=new iw,o=0,c=(null==t.i&&lyt(t),t.i).length;o<c;++o)for(null==t.i&&lyt(t),n=t.i,i=o>=0&&o<n.length?n[o]:null,a=zU(SQ(gse,i));a;a=zU(SQ(gse,a)))a==e&&this.d.Fc(i);else 1==Ez(SQ(gse,e))&&s?(this.f=null,this.d=(bht(),Ase)):(this.f=null,this.e=!0,this.d=(Gq(),new dd(e)));else this.e=5==Ez(SQ(gse,e)),this.f.Fb(kse)&&(this.f=kse)}function kxt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;for(i=0,r=function(t,e){switch(e.g){case 1:return t.f.n.d+t.t;case 3:return t.f.n.a+t.t;case 2:return t.f.n.c+t.s;case 4:return t.f.n.b+t.s;default:return 0}}(t,e),d=t.s,g=t.t,l=VP(VP(jW(t.r,e),21),84).Kc();l.Ob();)if((u=VP(l.Pb(),111)).c&&!(u.c.d.c.length<=0)){switch(p=u.b.rf(),c=u.b.Xe((Ikt(),xee))?ev(hD(u.b.We(xee))):0,(f=(h=u.c).i).b=(s=h.n,h.e.a+s.b+s.c),f.a=(o=h.n,h.e.b+o.d+o.a),e.g){case 1:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=p.b+c+r,fV(h,(zV(),hqt)),ID(h,(IQ(),vqt));break;case 3:f.c=u.a?(p.a-f.b)/2:p.a+d,f.d=-c-r-f.a,fV(h,(zV(),hqt)),ID(h,(IQ(),yqt));break;case 2:f.c=-c-r-f.b,u.a?(a=t.v?f.a:VP(EF(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,fV(h,(zV(),dqt)),ID(h,(IQ(),mqt));break;case 4:f.c=p.a+c+r,u.a?(a=t.v?f.a:VP(EF(h.d,0),181).rf().b,f.d=(p.b-a)/2):f.d=p.b+g,fV(h,(zV(),fqt)),ID(h,(IQ(),mqt))}(e==(Mxt(),Eie)||e==zie)&&(i=n.Math.max(i,f.a))}i>0&&(VP(Zz(t.b,e),124).a.b=i)}function _xt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if((h=e.length)>0&&(DU(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(DU(l+1,e.length),c=46==e.charCodeAt(l+1))))){if(y=jN("%",o=e.substr(1,l-1))?null:Dxt(o),i=0,c)try{i=rwt(e.substr(l+2),eEt,Qkt)}catch(t){throw MI(t=k4(t),127)?lw(new mQ(t)):lw(t)}for(p=d2(t.Wg());p.Ob();)if(MI(d=G3(p),510)&&(w=(r=VP(d,590)).d,(null==y?null==w:jN(y,w))&&0==i--))return r;return null}if(f=-1==(u=e.lastIndexOf("."))?e:e.substr(0,u),n=0,-1!=u)try{n=rwt(e.substr(u+1),eEt,Qkt)}catch(t){if(!MI(t=k4(t),127))throw lw(t);f=e}for(f=jN("%",f)?null:Dxt(f),g=d2(t.Wg());g.Ob();)if(MI(d=G3(g),191)&&(b=(a=VP(d,191)).ne(),(null==f?null==b:jN(f,b))&&0==n--))return a;return null}return ivt(t,e)}function Ext(){var t,e,n;for(Ext=I,new JQ(1,0),new JQ(10,0),new JQ(0,0),rRt=WX(mRt,T_t,240,11,0,1),aRt=WX(Gce,lEt,25,100,15,1),oRt=P4(Zv(Qce,1),aTt,25,15,[1,5,25,125,625,3125,15625,78125,390625,1953125,9765625,48828125,244140625,1220703125,6103515625,30517578125,152587890625,762939453125,3814697265625,19073486328125,95367431640625,476837158203125,0x878678326eac9]),sRt=WX(Kce,CEt,25,oRt.length,15,1),cRt=P4(Zv(Qce,1),aTt,25,15,[1,10,100,hEt,1e4,oTt,1e6,1e7,1e8,GEt,1e10,1e11,1e12,1e13,1e14,1e15,1e16]),uRt=WX(Kce,CEt,25,cRt.length,15,1),lRt=WX(mRt,T_t,240,11,0,1),t=0;t<lRt.length;t++)rRt[t]=new JQ(t,0),lRt[t]=new JQ(0,t),aRt[t]=48;for(;t<aRt.length;t++)aRt[t]=48;for(n=0;n<sRt.length;n++)sRt[n]=Tlt(oRt[n]);for(e=0;e<uRt.length;e++)uRt[e]=Tlt(cRt[e]);_ht()}function Txt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(MI(r=Ost(e,(Lkt(),IXt)),239)){for(d=VP(r,33),g=e.e,h=new hM(e.c),a=e.d,h.a+=a.b,h.b+=a.d,$L(VP(_ft(d,(wkt(),r0t)),174),(Xbt(),rre))&&(function(t,e){t.a=e}(f=VP(_ft(d,o0t),116),a.a),function(t,e){t.d=e}(f,a.d),function(t,e){t.b=e}(f,a.b),function(t,e){t.c=e}(f,a.c)),n=new iw,u=new wd(e.a);u.a<u.c.c.length;)for(MI(Ost(s=VP(qU(u),10),IXt),239)?Oxt(s,h):MI(Ost(s,IXt),186)&&!g&&kM(i=VP(Ost(s,IXt),118),(b=Kwt(e,s,i.g,i.f)).a,b.b),p=new wd(s.j);p.a<p.c.c.length;)C_(lq(new CF(null,new NU(VP(qU(p),11).g,16)),new mg(s)),new vg(n));if(g)for(p=new wd(g.j);p.a<p.c.c.length;)C_(lq(new CF(null,new NU(VP(qU(p),11).g,16)),new xg(g)),new kg(n));for(w=VP(_ft(d,g1t),218),o=new wd(n);o.a<o.c.c.length;)txt(VP(qU(o),17),w,h);for(function(t){var e,n,i,r,a;i=VP(Ost(t,(Lkt(),IXt)),33),a=VP(_ft(i,(wkt(),e0t)),174).Hc((Ltt(),tre)),t.e||(r=VP(Ost(t,gXt),21),e=new XC(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),r.Hc((ipt(),SWt))?(Ont(i,w0t,($ot(),cie)),Bxt(i,e.a,e.b,!1,!0)):tv(lD(_ft(i,n0t)))||Bxt(i,e.a,e.b,!0,!0)),Ont(i,e0t,a?Q8(tre):new aP(n=VP(Lx(fre),9),VP(nN(n,n.length),9),0))}(e),c=new wd(e.a);c.a<c.c.c.length;)(l=(s=VP(qU(c),10)).e)&&Txt(t,l)}}function Cxt(t){sE(t,new nst(ax(ex(rx(tx(ix(nx(new bs,OSt),"ELK Force"),"Force-based algorithm provided by the Eclipse Layout Kernel. Implements methods that follow physical analogies by simulating forces that move the nodes into a balanced distribution. Currently the original Eades model and the Fruchterman - Reingold model are supported."),new ge),OSt),e$((Yht(),bae),P4(Zv(xae,1),K_t,237,0,[gae]))))),BY(t,OSt,DSt,p8(1)),BY(t,OSt,NSt,80),BY(t,OSt,PSt,5),BY(t,OSt,hSt,LSt),BY(t,OSt,BSt,p8(1)),BY(t,OSt,FSt,(EL(),!0)),BY(t,OSt,fSt,hZt),BY(t,OSt,$St,unt(iZt)),BY(t,OSt,jSt,unt(fZt)),BY(t,OSt,RSt,!1),BY(t,OSt,zSt,unt(uZt)),BY(t,OSt,qSt,unt(cZt)),BY(t,OSt,HSt,unt(sZt)),BY(t,OSt,ZSt,unt(oZt)),BY(t,OSt,USt,unt(dZt)),BY(t,OSt,ESt,unt(aZt)),BY(t,OSt,SSt,unt(xZt)),BY(t,OSt,TSt,unt(rZt)),BY(t,OSt,MSt,unt(bZt)),BY(t,OSt,CSt,unt(wZt))}function Sxt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(!VP(VP(jW(t.r,e),21),84).dc()){if(u=(s=VP(Zz(t.b,e),124)).i,c=s.n,h=hpt(t,e),r=u.b-c.b-c.c,a=s.a.a,o=u.c+c.b,g=t.w,h!=(Qet(),nie)&&h!=rie||1!=VP(VP(jW(t.r,e),21),84).gc()||(a=h==nie?a-2*t.w:a,h=eie),r<a&&!t.B.Hc((Xbt(),ure)))h==nie?o+=g+=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()+1):g+=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()-1);else switch(r<a&&(a=h==nie?a-2*t.w:a,h=eie),h.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()+1),o+=g+=n.Math.max(0,i);break;case 1:i=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()-1),g+=n.Math.max(0,i)}for(d=VP(VP(jW(t.r,e),21),84).Kc();d.Ob();)(f=VP(d.Pb(),111)).e.a=o+f.d.b,f.e.b=(l=f.b).Xe((Ikt(),xee))?l.Hf()==(Mxt(),Eie)?-l.rf().b-ev(hD(l.We(xee))):ev(hD(l.We(xee))):l.Hf()==(Mxt(),Eie)?-l.rf().b:0,o+=f.d.b+f.b.rf().a+f.d.c+g}}function Axt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p;if(!VP(VP(jW(t.r,e),21),84).dc()){if(u=(s=VP(Zz(t.b,e),124)).i,c=s.n,f=hpt(t,e),r=u.a-c.d-c.a,a=s.a.b,o=u.d+c.d,p=t.w,l=t.o.a,f!=(Qet(),nie)&&f!=rie||1!=VP(VP(jW(t.r,e),21),84).gc()||(a=f==nie?a-2*t.w:a,f=eie),r<a&&!t.B.Hc((Xbt(),ure)))f==nie?o+=p+=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()+1):p+=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()-1);else switch(r<a&&(a=f==nie?a-2*t.w:a,f=eie),f.g){case 3:o+=(r-a)/2;break;case 4:o+=r-a;break;case 0:i=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()+1),o+=p+=n.Math.max(0,i);break;case 1:i=(r-a)/(VP(VP(jW(t.r,e),21),84).gc()-1),p+=n.Math.max(0,i)}for(g=VP(VP(jW(t.r,e),21),84).Kc();g.Ob();)(d=VP(g.Pb(),111)).e.a=(h=d.b).Xe((Ikt(),xee))?h.Hf()==(Mxt(),Hie)?-h.rf().a-ev(hD(h.We(xee))):l+ev(hD(h.We(xee))):h.Hf()==(Mxt(),Hie)?-h.rf().a:l,d.e.b=o+d.d.d,o+=d.d.d+d.b.rf().b+d.d.a+p}}function Mxt(){var t;Mxt=I,qie=new uS(CCt,0),Eie=new uS(PCt,1),_ie=new uS(BCt,2),zie=new uS(FCt,3),Hie=new uS($Ct,4),Gq(),Mie=new Nv(new aP(t=VP(Lx(ere),9),VP(nN(t,t.length),9),0)),Iie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[]))),Tie=N7(e$(_ie,P4(Zv(ere,1),dAt,61,0,[]))),$ie=N7(e$(zie,P4(Zv(ere,1),dAt,61,0,[]))),Rie=N7(e$(Hie,P4(Zv(ere,1),dAt,61,0,[]))),Pie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[zie]))),Aie=N7(e$(_ie,P4(Zv(ere,1),dAt,61,0,[Hie]))),Fie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[Hie]))),Lie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[_ie]))),jie=N7(e$(zie,P4(Zv(ere,1),dAt,61,0,[Hie]))),Cie=N7(e$(_ie,P4(Zv(ere,1),dAt,61,0,[zie]))),Nie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[_ie,Hie]))),Sie=N7(e$(_ie,P4(Zv(ere,1),dAt,61,0,[zie,Hie]))),Bie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[zie,Hie]))),Oie=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[_ie,zie]))),Die=N7(e$(Eie,P4(Zv(ere,1),dAt,61,0,[_ie,zie,Hie])))}function Ixt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(0!=e.b){for(f=new T_,o=null,d=null,i=cZ(n.Math.floor(n.Math.log(e.b)*n.Math.LOG10E)+1),s=0,y=tnt(e,0);y.b!=y.d.c;)for(b=VP(AG(y),86),iA(d)!==iA(Ost(b,(avt(),m5t)))&&(d=fD(Ost(b,m5t)),s=0),o=null!=d?d+WU(s++,i):WU(s++,i),d5(b,m5t,o),p=new Fp(tnt(new Bp(b).a.d,0));ik(p.a);)WK(f,g=VP(AG(p.a),188).c,f.c.b,f.c),d5(g,m5t,o);for(h=new rw,a=0;a<o.length-i;a++)for(w=tnt(e,0);w.b!=w.d.c;)ZZ(h,c=fO(fD(Ost(b=VP(AG(w),86),(avt(),m5t))),0,a+1),p8(null!=(null==c?nA(BH(h.f,null)):NE(h.g,c))?VP(null==c?nA(BH(h.f,null)):NE(h.g,c),19).a+1:1));for(l=new e6(new Xf(h).a);l.b;)u=u1(l),r=p8(null!=zR(t.a,u.cd())?VP(zR(t.a,u.cd()),19).a:0),ZZ(t.a,fD(u.cd()),p8(VP(u.dd(),19).a+r.a)),(!(r=VP(zR(t.b,u.cd()),19))||r.a<VP(u.dd(),19).a)&&ZZ(t.b,fD(u.cd()),VP(u.dd(),19));Ixt(t,f)}}function Lxt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;for(l=VP(Ost(t,(p2(),EZt)),33),p=Qkt,b=Qkt,d=eEt,g=eEt,y=new wd(t.e);y.a<y.c.c.length;)_=(w=VP(qU(y),144)).d,E=w.e,p=n.Math.min(p,_.a-E.a/2),b=n.Math.min(b,_.b-E.b/2),d=n.Math.max(d,_.a+E.a/2),g=n.Math.max(g,_.b+E.b/2);for(x=new XC((k=VP(_ft(l,(qpt(),lZt)),116)).b-p,k.d-b),c=new wd(t.e);c.a<c.c.c.length;)MI(v=Ost(s=VP(qU(c),144),EZt),239)&&kM(h=VP(v,33),(m=mN(s.d,x)).a-h.g/2,m.b-h.f/2);for(r=new wd(t.c);r.a<r.c.c.length;)i=VP(qU(r),282),u=Qgt(VP(Ost(i,EZt),79),!0,!0),Eat(C=vN(pI(i.d.d),i.c.d),i.c.e.a,i.c.e.b),EM(u,(T=mN(C,i.c.d)).a,T.b),Eat(S=vN(pI(i.c.d),i.d.d),i.d.e.a,i.d.e.b),_M(u,(e=mN(S,i.d.d)).a,e.b);for(o=new wd(t.d);o.a<o.c.c.length;)a=VP(qU(o),447),kM(VP(Ost(a,EZt),137),(f=mN(a.d,x)).a,f.b);Bxt(l,d-p+(k.b+k.c),g-b+(k.d+k.a),!1,!0)}function Oxt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;for(i=VP(Ost(t,(Lkt(),IXt)),33),d=VP(Ost(t,(wkt(),n1t)),19).a,a=VP(Ost(t,F1t),19).a,Ont(i,n1t,p8(d)),Ont(i,F1t,p8(a)),D1(i,t.n.a+e.a),N1(i,t.n.b+e.b),(0!=VP(_ft(i,e0t),174).gc()||t.e||iA(Ost(pz(t),t0t))===iA((sit(),N2t))&&gM((Hnt(),(t.q?t.q:(Gq(),Gq(),CRt))._b(Q1t)?VP(Ost(t,Q1t),197):VP(Ost(pz(t),J1t),197))))&&(O1(i,t.o.a),L1(i,t.o.b)),h=new wd(t.j);h.a<h.c.c.length;)MI(g=Ost(u=VP(qU(h),11),IXt),186)&&(kM(r=VP(g,118),u.n.a,u.n.b),Ont(r,k0t,u.j));for(f=0!=VP(Ost(t,G1t),174).gc(),c=new wd(t.b);c.a<c.c.c.length;)o=VP(qU(c),70),(f||0!=VP(Ost(o,G1t),174).gc())&&(xM(n=VP(Ost(o,IXt),137),o.o.a,o.o.b),kM(n,o.n.a,o.n.b));if(!aj(VP(Ost(t,v0t),21)))for(l=new wd(t.j);l.a<l.c.c.length;)for(s=new wd((u=VP(qU(l),11)).f);s.a<s.c.c.length;)o=VP(qU(s),70),O1(n=VP(Ost(o,IXt),137),o.o.a),L1(n,o.o.b),kM(n,o.n.a,o.n.b)}function Dxt(t){var e,n,i,r,a,o,s,c;if(Imt(),null==t)return null;if((r=WA(t,wst(37)))<0)return t;for(c=new CL(t.substr(0,r)),e=WX(Vce,NNt,25,4,15,1),s=0,i=0,o=t.length;r<o;r++)if(DU(r,t.length),37==t.charCodeAt(r)&&t.length>r+2&&o5((DU(r+1,t.length),t.charCodeAt(r+1)),Zae,Uae)&&o5((DU(r+2,t.length),t.charCodeAt(r+2)),Zae,Uae))if(n=OB((DU(r+1,t.length),t.charCodeAt(r+1)),(DU(r+2,t.length),t.charCodeAt(r+2))),r+=2,i>0?128==(192&n)?e[s++]=n<<24>>24:i=0:n>=128&&(192==(224&n)?(e[s++]=n<<24>>24,i=2):224==(240&n)?(e[s++]=n<<24>>24,i=3):240==(248&n)&&(e[s++]=n<<24>>24,i=4)),i>0){if(s==i){switch(s){case 2:jR(c,((31&e[0])<<6|63&e[1])&fEt);break;case 3:jR(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&fEt)}s=0,i=0}}else{for(a=0;a<s;++a)jR(c,e[a]&fEt);s=0,c.a+=String.fromCharCode(n)}else{for(a=0;a<s;++a)jR(c,e[a]&fEt);s=0,jR(c,(DU(r,t.length),t.charCodeAt(r)))}return c.a}function Nxt(t,e,n,i,r){var a,o,s;if(QQ(t,e),o=e[0],a=Gz(n.c,0),s=-1,U5(n))if(i>0){if(o+i>t.length)return!1;s=Glt(t.substr(0,o+i),e)}else s=Glt(t,e);switch(a){case 71:return s=pst(t,o,P4(Zv(fRt,1),T_t,2,6,[SEt,AEt]),e),r.e=s,!0;case 77:case 76:return function(t,e,n,i,r){return i<0?((i=pst(t,r,P4(Zv(fRt,1),T_t,2,6,[dEt,gEt,pEt,bEt,wEt,yEt,mEt,vEt,xEt,kEt,_Et,EEt]),e))<0&&(i=pst(t,r,P4(Zv(fRt,1),T_t,2,6,["Jan","Feb","Mar","Apr",wEt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}(t,e,r,s,o);case 69:case 99:return function(t,e,n,i){var r;return(r=pst(t,n,P4(Zv(fRt,1),T_t,2,6,[MEt,IEt,LEt,OEt,DEt,NEt,PEt]),e))<0&&(r=pst(t,n,P4(Zv(fRt,1),T_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"]),e)),!(r<0||(i.d=r,0))}(t,e,o,r);case 97:return s=pst(t,o,P4(Zv(fRt,1),T_t,2,6,["AM","PM"]),e),r.b=s,!0;case 121:return function(t,e,n,i,r,a){var o,s,c;if(s=32,i<0){if(e[0]>=t.length)return!1;if(43!=(s=Gz(t,e[0]))&&45!=s)return!1;if(++e[0],(i=Glt(t,e))<0)return!1;45==s&&(i=-i)}return 32==s&&e[0]-n==2&&2==r.b&&(o=(c=(new s_).q.getFullYear()-TEt+TEt-80)%100,a.a=i==o,i+=100*(c/100|0)+(i<o?100:0)),a.p=i,!0}(t,e,o,s,n,r);case 100:return!(s<=0||(r.c=s,0));case 83:return!(s<0)&&function(t,e,n,i){var r,a;if((a=n-e)<3)for(;a<3;)t*=10,++a;else{for(r=1;a>3;)r*=10,--a;t=(t+(r>>1))/r|0}return i.i=t,!0}(s,o,e[0],r);case 104:12==s&&(s=0);case 75:case 72:return!(s<0||(r.f=s,r.g=!1,0));case 107:return!(s<0||(r.f=s,r.g=!0,0));case 109:return!(s<0||(r.j=s,0));case 115:return!(s<0||(r.n=s,0));case 90:if(o<t.length&&(DU(o,t.length),90==t.charCodeAt(o)))return++e[0],r.o=0,!0;case 122:case 118:return function(t,e,n,i){return e>=0&&jN(t.substr(e,3),"GMT")||e>=0&&jN(t.substr(e,3),"UTC")?(n[0]=e+3,swt(t,n,i)):swt(t,n,i)}(t,o,e,r);default:return!1}}function Pxt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(t.e.a.$b(),t.f.a.$b(),t.c.c=WX(G$t,r_t,1,0,5,1),t.i.c=WX(G$t,r_t,1,0,5,1),t.g.a.$b(),e)for(o=new wd(e.a);o.a<o.c.c.length;)for(l=Dct(a=VP(qU(o),10),(Mxt(),_ie)).Kc();l.Ob();)for(u=VP(l.Pb(),11),jj(t.e,u),r=new wd(u.g);r.a<r.c.c.length;)JK(i=VP(qU(r),17))||(nB(t.c,i),snt(t,i),((s=i.c.i.k)==(gct(),HUt)||s==ZUt||s==RUt||s==jUt)&&nB(t.j,i),(h=(f=i.d).i.c)==n?jj(t.f,f):h==e?jj(t.e,f):sQ(t.c,i));if(n)for(o=new wd(n.a);o.a<o.c.c.length;){for(c=new wd((a=VP(qU(o),10)).j);c.a<c.c.c.length;)for(r=new wd(VP(qU(c),11).g);r.a<r.c.c.length;)JK(i=VP(qU(r),17))&&jj(t.g,i);for(l=Dct(a,(Mxt(),Hie)).Kc();l.Ob();)for(u=VP(l.Pb(),11),jj(t.f,u),r=new wd(u.g);r.a<r.c.c.length;)JK(i=VP(qU(r),17))||(nB(t.c,i),snt(t,i),((s=i.c.i.k)==(gct(),HUt)||s==ZUt||s==RUt||s==jUt)&&nB(t.j,i),(h=(f=i.d).i.c)==n?jj(t.f,f):h==e?jj(t.e,f):sQ(t.c,i))}}function Bxt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;if(w=new XC(t.g,t.f),(b=Out(t)).a=n.Math.max(b.a,e),b.b=n.Math.max(b.b,i),_=b.a/w.a,h=b.b/w.b,x=b.a-w.a,u=b.b-w.b,r)for(s=AZ(t)?VP(_ft(AZ(t),(Ikt(),Ate)),103):VP(_ft(t,(Ikt(),Ate)),103),c=iA(_ft(t,(Ikt(),kee)))===iA(($ot(),cie)),m=new YI((!t.c&&(t.c=new mj(cae,t,9,9)),t.c));m.e!=m.i.gc();)switch(y=VP(hnt(m),118),(v=VP(_ft(y,Mee),61))==(Mxt(),qie)&&(v=tyt(y,s),Ont(y,Mee,v)),v.g){case 1:c||D1(y,y.i*_);break;case 2:D1(y,y.i+x),c||N1(y,y.j*h);break;case 3:c||D1(y,y.i*_),N1(y,y.j+u);break;case 4:c||N1(y,y.j*h)}if(xM(t,b.a,b.b),a)for(d=new YI((!t.n&&(t.n=new mj(oae,t,1,7)),t.n));d.e!=d.i.gc();)g=(f=VP(hnt(d),137)).i+f.g/2,p=f.j+f.f/2,(k=g/w.a)+(l=p/w.b)>=1&&(k-l>0&&p>=0?(D1(f,f.i+x),N1(f,f.j+u*l)):k-l<0&&g>=0&&(D1(f,f.i+x*k),N1(f,f.j+u)));return Ont(t,(Ikt(),Jte),(Ltt(),new aP(o=VP(Lx(fre),9),VP(nN(o,o.length),9),0))),new XC(_,h)}function Fxt(t){var e,i,r,a,o,s,c,u,l,h,f;if(h=AZ(rst(VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)))==AZ(rst(VP(a1((!t.c&&(t.c=new LN(Jre,t,5,8)),t.c),0),82))),s=new Sx,(e=VP(_ft(t,(D6(),Tne)),74))&&e.b>=2){if(0==(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i)Px(),i=new oc,hV((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),i);else if((!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i>1)for(f=new oO((!t.a&&(t.a=new mj(eae,t,6,6)),t.a));f.e!=f.i.gc();)not(f);pyt(e,VP(a1((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),0),202))}if(h)for(r=new YI((!t.a&&(t.a=new mj(eae,t,6,6)),t.a));r.e!=r.i.gc();)for(u=new YI((!(i=VP(hnt(r),202)).a&&(i.a=new GI(Xre,i,5)),i.a));u.e!=u.i.gc();)c=VP(hnt(u),469),s.a=n.Math.max(s.a,c.a),s.b=n.Math.max(s.b,c.b);for(o=new YI((!t.n&&(t.n=new mj(oae,t,1,7)),t.n));o.e!=o.i.gc();)a=VP(hnt(o),137),(l=VP(_ft(a,Lne),8))&&kM(a,l.a,l.b),h&&(s.a=n.Math.max(s.a,a.i+a.g),s.b=n.Math.max(s.b,a.j+a.f));return s}function $xt(t,e,n){var i,r,a,o,s;switch(i=e.i,a=t.i.o,r=t.i.d,s=t.n,o=O5(P4(Zv(q9t,1),T_t,8,0,[s,t.a])),t.j.g){case 1:ID(e,(IQ(),yqt)),i.d=-r.d-n-i.a,VP(VP(EF(e.d,0),181).We((Lkt(),kXt)),285)==(zrt(),Fne)?(fV(e,(zV(),dqt)),i.c=o.a-ev(hD(Ost(t,AXt)))-n-i.b):(fV(e,(zV(),fqt)),i.c=o.a+ev(hD(Ost(t,AXt)))+n);break;case 2:fV(e,(zV(),fqt)),i.c=a.a+r.c+n,VP(VP(EF(e.d,0),181).We((Lkt(),kXt)),285)==(zrt(),Fne)?(ID(e,(IQ(),yqt)),i.d=o.b-ev(hD(Ost(t,AXt)))-n-i.a):(ID(e,(IQ(),vqt)),i.d=o.b+ev(hD(Ost(t,AXt)))+n);break;case 3:ID(e,(IQ(),vqt)),i.d=a.b+r.a+n,VP(VP(EF(e.d,0),181).We((Lkt(),kXt)),285)==(zrt(),Fne)?(fV(e,(zV(),dqt)),i.c=o.a-ev(hD(Ost(t,AXt)))-n-i.b):(fV(e,(zV(),fqt)),i.c=o.a+ev(hD(Ost(t,AXt)))+n);break;case 4:fV(e,(zV(),dqt)),i.c=-r.b-n-i.b,VP(VP(EF(e.d,0),181).We((Lkt(),kXt)),285)==(zrt(),Fne)?(ID(e,(IQ(),yqt)),i.d=o.b-ev(hD(Ost(t,AXt)))-n-i.a):(ID(e,(IQ(),vqt)),i.d=o.b+ev(hD(Ost(t,AXt)))+n)}}function jxt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I;for(g=0,C=0,u=new wd(t);u.a<u.c.c.length;)Gvt(c=VP(qU(u),33)),g=n.Math.max(g,c.g),C+=c.g*c.f;for(T=function(t,e){var i,r,a;for(a=0,r=new wd(t);r.a<r.c.c.length;)i=VP(qU(r),33),a+=n.Math.pow(i.g*i.f-e,2);return n.Math.sqrt(a/(t.c.length-1))}(t,C/t.c.length),C+=t.c.length*T,g=n.Math.max(g,n.Math.sqrt(C*s))+i.b,M=i.b,I=i.d,d=0,h=i.b+i.c,$B(E=new T_,p8(0)),k=new T_,l=new QY(t,0);l.b<l.d.gc();)CO(l.b<l.d.gc()),A=(c=VP(l.d.Xb(l.c=l.b++),33)).g,f=c.f,M+A>g&&(o&&(_A(k,d),_A(E,p8(l.b-1))),M=i.b,I+=d+e,d=0,h=n.Math.max(h,i.b+i.c+A)),D1(c,M),N1(c,I),h=n.Math.max(h,M+A+i.c),d=n.Math.max(d,f),M+=A+e;if(h=n.Math.max(h,r),(S=I+d+i.a)<a&&(d+=a-S,S=a),o)for(M=i.b,l=new QY(t,0),_A(E,p8(t.c.length)),w=VP(AG(_=tnt(E,0)),19).a,_A(k,d),x=tnt(k,0),v=0;l.b<l.d.gc();)l.b==w&&(M=i.b,v=ev(hD(AG(x))),w=VP(AG(_),19).a),CO(l.b<l.d.gc()),y=(c=VP(l.d.Xb(l.c=l.b++),33)).f,L1(c,v),p=v,l.b==w&&(b=h-M-i.c,m=c.g,O1(c,b),Zut(c,new XC(b,p),new XC(m,y))),M+=c.g+e;return new XC(h,S)}function Rxt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(1==t.gc())return VP(t.Xb(0),231);if(t.gc()<=0)return new GW;for(a=t.Kc();a.Ob();){for(i=VP(a.Pb(),231),p=0,h=Qkt,f=Qkt,u=eEt,l=eEt,g=new wd(i.e);g.a<g.c.c.length;)d=VP(qU(g),144),p+=VP(Ost(d,(qpt(),gZt)),19).a,h=n.Math.min(h,d.d.a-d.e.a/2),f=n.Math.min(f,d.d.b-d.e.b/2),u=n.Math.max(u,d.d.a+d.e.a/2),l=n.Math.max(l,d.d.b+d.e.b/2);d5(i,(qpt(),gZt),p8(p)),d5(i,(p2(),_Zt),new XC(h,f)),d5(i,kZt,new XC(u,l))}for(Gq(),t.ad(new de),c4(b=new GW,VP(t.Xb(0),94)),c=0,m=0,o=t.Kc();o.Ob();)i=VP(o.Pb(),231),w=vN(pI(VP(Ost(i,(p2(),kZt)),8)),VP(Ost(i,_Zt),8)),c=n.Math.max(c,w.a),m+=w.a*w.b;for(c=n.Math.max(c,n.Math.sqrt(m)*ev(hD(Ost(b,(qpt(),eZt))))),v=0,x=0,s=0,e=y=ev(hD(Ost(b,vZt))),r=t.Kc();r.Ob();)i=VP(r.Pb(),231),v+(w=vN(pI(VP(Ost(i,(p2(),kZt)),8)),VP(Ost(i,_Zt),8))).a>c&&(v=0,x+=s+y,s=0),Ybt(b,i,v,x),e=n.Math.max(e,v+w.a),s=n.Math.max(s,w.b),v+=w.a+y;return b}function zxt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;switch(l=new Ny,t.a.g){case 3:f=VP(Ost(e.e,(Lkt(),WXt)),15),d=VP(Ost(e.j,WXt),15),g=VP(Ost(e.f,WXt),15),n=VP(Ost(e.e,GXt),15),i=VP(Ost(e.j,GXt),15),r=VP(Ost(e.f,GXt),15),C4(o=new iw,f),d.Jc(new va),C4(o,MI(d,152)?FW(VP(d,152)):MI(d,131)?VP(d,131).a:MI(d,54)?new Em(d):new r_(d)),C4(o,g),C4(a=new iw,n),C4(a,MI(i,152)?FW(VP(i,152)):MI(i,131)?VP(i,131).a:MI(i,54)?new Em(i):new r_(i)),C4(a,r),d5(e.f,WXt,o),d5(e.f,GXt,a),d5(e.f,XXt,e.f),d5(e.e,WXt,null),d5(e.e,GXt,null),d5(e.j,WXt,null),d5(e.j,GXt,null);break;case 1:M2(l,e.e.a),$B(l,e.i.n),M2(l,A3(e.j.a)),$B(l,e.a.n),M2(l,e.f.a);break;default:M2(l,e.e.a),M2(l,A3(e.j.a)),M2(l,e.f.a)}zq(e.f.a),M2(e.f.a,l),VZ(e.f,e.e.c),s=VP(Ost(e.e,(wkt(),D1t)),74),u=VP(Ost(e.j,D1t),74),c=VP(Ost(e.f,D1t),74),(s||u||c)&&(qj(h=new Ny,c),qj(h,u),qj(h,s),d5(e.f,D1t,h)),VZ(e.j,null),XZ(e.j,null),VZ(e.e,null),XZ(e.e,null),QZ(e.a,null),QZ(e.i,null),e.g&&zxt(t,e.g)}function qxt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;return v=t.c[(OU(0,e.c.length),VP(e.c[0],17)).p],E=t.c[(OU(1,e.c.length),VP(e.c[1],17)).p],!(v.a.e.e-v.a.a-(v.b.e.e-v.b.a)==0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)==0||!MI(y=v.b.e.f,10)||(w=VP(y,10),k=t.i[w.p],_=w.c?lQ(w.c.a,w,0):-1,o=JEt,_>0&&(a=VP(EF(w.c.a,_-1),10),s=t.i[a.p],T=n.Math.ceil(fI(t.n,a,w)),o=k.a.e-w.d.d-(s.a.e+a.o.b+a.d.a)-T),l=JEt,_<w.c.a.c.length-1&&(u=VP(EF(w.c.a,_+1),10),h=t.i[u.p],T=n.Math.ceil(fI(t.n,u,w)),l=h.a.e-u.d.d-(k.a.e+w.o.b+w.d.a)-T),!(i&&(GM(),c0(GLt),n.Math.abs(o-l)<=GLt||o==l||isNaN(o)&&isNaN(l)))&&(r=gR(v.a),c=-gR(v.b),f=-gR(E.a),m=gR(E.b),b=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)>0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)<0,p=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)<0&&E.a.e.e-E.a.a-(E.b.e.e-E.b.a)>0,g=v.a.e.e+v.b.a<E.b.e.e+E.a.a,d=v.a.e.e+v.b.a>E.b.e.e+E.a.a,x=0,!b&&!p&&(d?o+f>0?x=f:l-r>0&&(x=r):g&&(o+c>0?x=c:l-m>0&&(x=m))),k.a.e+=x,k.b&&(k.d.e+=x),1)))}function Hxt(t,e,i){var r,a,o,s,c,u,l,h,f,d;if(r=new mq(e.qf().a,e.qf().b,e.rf().a,e.rf().b),a=new lM,t.c)for(s=new wd(e.wf());s.a<s.c.c.length;)o=VP(qU(s),181),a.c=o.qf().a+e.qf().a,a.d=o.qf().b+e.qf().b,a.b=o.rf().a,a.a=o.rf().b,gut(r,a);for(l=new wd(e.Cf());l.a<l.c.c.length;){if(h=(u=VP(qU(l),838)).qf().a+e.qf().a,f=u.qf().b+e.qf().b,t.e&&(a.c=h,a.d=f,a.b=u.rf().a,a.a=u.rf().b,gut(r,a)),t.d)for(s=new wd(u.wf());s.a<s.c.c.length;)o=VP(qU(s),181),a.c=o.qf().a+h,a.d=o.qf().b+f,a.b=o.rf().a,a.a=o.rf().b,gut(r,a);if(t.b){if(d=new XC(-i,-i),VP(e.We((Ikt(),Cee)),174).Hc((Ilt(),mie)))for(s=new wd(u.wf());s.a<s.c.c.length;)o=VP(qU(s),181),d.a+=o.rf().a+i,d.b+=o.rf().b+i;d.a=n.Math.max(d.a,0),d.b=n.Math.max(d.b,0),Swt(r,u.Bf(),u.zf(),e,u,d,i)}}t.b&&Swt(r,e.Bf(),e.zf(),e,null,null,i),(c=new vP(e.Af())).d=n.Math.max(0,e.qf().b-r.d),c.a=n.Math.max(0,r.d+r.a-(e.qf().b+e.rf().b)),c.b=n.Math.max(0,e.qf().a-r.c),c.c=n.Math.max(0,r.c+r.b-(e.qf().a+e.rf().a)),e.Ef(c)}function Zxt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(u=VP(VP(jW(t.r,e),21),84),o=function(t,e){var n,i,r,a;return SD(),(r=VP(VP(jW(t.r,e),21),84)).gc()>=2&&(i=VP(r.Kc().Pb(),111),n=t.u.Hc((Ilt(),bie)),a=t.u.Hc(vie),!i.a&&!n&&(2==r.gc()||a))}(t,e),n=t.u.Hc((Ilt(),pie)),c=u.Kc();c.Ob();)if((s=VP(c.Pb(),111)).c&&!(s.c.d.c.length<=0)){switch(f=s.b.rf(),(h=(l=s.c).i).b=(a=l.n,l.e.a+a.b+a.c),h.a=(r=l.n,l.e.b+r.d+r.a),e.g){case 1:s.a?(h.c=(f.a-h.b)/2,fV(l,(zV(),hqt))):o||n?(h.c=-h.b-t.s,fV(l,(zV(),dqt))):(h.c=f.a+t.s,fV(l,(zV(),fqt))),h.d=-h.a-t.t,ID(l,(IQ(),yqt));break;case 3:s.a?(h.c=(f.a-h.b)/2,fV(l,(zV(),hqt))):o||n?(h.c=-h.b-t.s,fV(l,(zV(),dqt))):(h.c=f.a+t.s,fV(l,(zV(),fqt))),h.d=f.b+t.t,ID(l,(IQ(),vqt));break;case 2:s.a?(i=t.v?h.a:VP(EF(l.d,0),181).rf().b,h.d=(f.b-i)/2,ID(l,(IQ(),mqt))):o||n?(h.d=-h.a-t.t,ID(l,(IQ(),yqt))):(h.d=f.b+t.t,ID(l,(IQ(),vqt))),h.c=f.a+t.s,fV(l,(zV(),fqt));break;case 4:s.a?(i=t.v?h.a:VP(EF(l.d,0),181).rf().b,h.d=(f.b-i)/2,ID(l,(IQ(),mqt))):o||n?(h.d=-h.a-t.t,ID(l,(IQ(),yqt))):(h.d=f.b+t.t,ID(l,(IQ(),vqt))),h.c=-h.b-t.s,fV(l,(zV(),dqt))}o=!1}}function Uxt(t,e){var n,i,r,a,o,s,c,u,l,h,f;if(Nkt(),0==l_(yce)){for(h=WX(Zce,T_t,117,vce.length,0,1),o=0;o<h.length;o++)h[o]=new aY(4);for(i=new Iv,a=0;a<wce.length;a++){if(l=new aY(4),a<84?(DU(s=2*a,N$t.length),f=N$t.charCodeAt(s),DU(s+1,N$t.length),Ygt(l,f,N$t.charCodeAt(s+1))):Ygt(l,xce[s=2*(a-84)],xce[s+1]),jN(c=wce[a],"Specials")&&Ygt(l,65520,65533),jN(c,O$t)&&(Ygt(l,983040,1048573),Ygt(l,1048576,1114109)),ZZ(yce,c,l),ZZ(mce,c,eyt(l)),0<(u=i.a.length)?i.a=i.a.substr(0,0):0>u&&(i.a+=AI(WX(Gce,lEt,25,-u,15,1))),i.a+="Is",WA(c,wst(32))>=0)for(r=0;r<c.length;r++)DU(r,c.length),32!=c.charCodeAt(r)&&$R(i,(DU(r,c.length),c.charCodeAt(r)));else i.a+=""+c;Ptt(i.a,c,!0)}Ptt(D$t,"Cn",!1),Ptt(P$t,"Cn",!0),Ygt(n=new aY(4),0,_$t),ZZ(yce,"ALL",n),ZZ(mce,"ALL",eyt(n)),!zce&&(zce=new rw),ZZ(zce,D$t,D$t),!zce&&(zce=new rw),ZZ(zce,P$t,P$t),!zce&&(zce=new rw),ZZ(zce,"ALL","ALL")}return VP(oZ(e?yce:mce,t),136)}function Yxt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(f=!1,h=!1,pM(VP(Ost(i,(wkt(),w0t)),98))){o=!1,s=!1;t:for(g=new wd(i.j);g.a<g.c.c.length;)for(d=VP(qU(g),11),p=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[new hg(d),new dg(d)])));Xht(p);)if(!tv(lD(Ost(VP(xW(p),11).i,jJt)))){if(d.j==(Mxt(),Eie)){o=!0;break t}if(d.j==zie){s=!0;break t}}f=s&&!o,h=o&&!s}if(f||h||0==i.b.c.length)w=!h;else{for(l=0,u=new wd(i.b);u.a<u.c.c.length;)l+=(c=VP(qU(u),70)).n.b+c.o.b/2;w=(l/=i.b.c.length)>=i.o.b/2}w?(b=VP(Ost(i,(Lkt(),JXt)),15))?f?a=b:(r=VP(Ost(i,VWt),15))?a=b.gc()<=r.gc()?b:r:(a=new iw,d5(i,VWt,a)):(a=new iw,d5(i,JXt,a)):(r=VP(Ost(i,(Lkt(),VWt)),15))?h?a=r:(b=VP(Ost(i,JXt),15))?a=r.gc()<=b.gc()?r:b:(a=new iw,d5(i,JXt,a)):(a=new iw,d5(i,VWt,a)),a.Fc(t),d5(t,(Lkt(),JWt),n),e.d==n?(XZ(e,null),n.e.c.length+n.g.c.length==0&&JZ(n,null),function(t){var e,n;(e=VP(Ost(t,(Lkt(),$Xt)),10))&&(sQ((n=e.c).a,e),0==n.a.c.length&&sQ(pz(e).b,n))}(n)):(VZ(e,null),n.e.c.length+n.g.c.length==0&&JZ(n,null)),zq(e.a)}function Gxt(t,e,i){var r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L,O;for(ast(i,"MinWidth layering",1),p=e.b,T=e.a,O=VP(Ost(e,(wkt(),$1t)),19).a,c=VP(Ost(e,j1t),19).a,t.b=ev(hD(Ost(e,P0t))),t.d=JEt,k=new wd(T);k.a<k.c.c.length;)(v=VP(qU(k),10)).k==(gct(),HUt)&&(A=v.o.b,t.d=n.Math.min(t.d,A));for(t.d=n.Math.max(1,t.d),C=T.c.length,t.c=WX(Kce,CEt,25,C,15,1),t.f=WX(Kce,CEt,25,C,15,1),t.e=WX(Qce,aTt,25,C,15,1),h=0,t.a=0,_=new wd(T);_.a<_.c.c.length;)(v=VP(qU(_),10)).p=h++,t.c[v.p]=Y6(s9(v)),t.f[v.p]=Y6(c9(v)),t.e[v.p]=v.o.b/t.d,t.a+=t.e[v.p];for(t.b/=t.d,t.a/=C,E=function(t){var e,n,i,r,a,o;for(o=lO(t.c.length),r=new wd(t);r.a<r.c.c.length;){for(i=VP(qU(r),10),a=new Xw,n=new O$(dL(c9(i).a.Kc(),new l));Xht(n);)(e=VP(xW(n),17)).c.i==e.d.i||jj(a,e.d.i);o.c[o.c.length]=a}return o}(T),QM(T,Bz(new sp(t))),w=JEt,b=Qkt,s=null,L=O,I=O,o=c,a=c,O<0&&(L=VP(j3t.a.zd(),19).a,I=VP(j3t.b.zd(),19).a),c<0&&(o=VP($3t.a.zd(),19).a,a=VP($3t.b.zd(),19).a),M=L;M<=I;M++)for(r=o;r<=a;r++)m=ev(hD((S=Uyt(t,M,r,T,E)).a)),y=(g=VP(S.b,15)).gc(),(m<w||m==w&&y<b)&&(w=m,b=y,s=g);for(d=s.Kc();d.Ob();){for(f=VP(d.Pb(),15),u=new HR(e),x=f.Kc();x.Ob();)QZ(v=VP(x.Pb(),10),u);p.c[p.c.length]=u}Fut(p),T.c=WX(G$t,r_t,1,0,5,1),$ct(i)}function Kxt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(p=0!=t.i,y=!1,b=null,bM(t.e)){if((l=e.gc())>0){for(f=l<100?null:new _x(l),g=new e3(e).g,b=WX(Kce,CEt,25,l,15,1),i=0,m=new RJ(l),r=0;r<t.i;++r){d=s=t.g[r];t:for(w=0;w<2;++w){for(c=l;--c>=0;)if(null!=d?X7(d,g[c]):iA(d)===iA(g[c])){b.length<=i&&lmt(b,0,b=WX(Kce,CEt,25,2*b.length,15,1),0,i),b[i++]=r,hV(m,g[c]);break t}if(iA(d)===iA(s))break}}if(u=m,g=m.g,l=i,i>b.length&&lmt(b,0,b=WX(Kce,CEt,25,i,15,1),0,i),i>0){for(y=!0,a=0;a<i;++a)f=JN(t,VP(d=g[a],72),f);for(o=i;--o>=0;)Lrt(t,b[o]);if(i!=l){for(r=l;--r>=i;)Lrt(u,r);lmt(b,0,b=WX(Kce,CEt,25,i,15,1),0,i)}e=u}}}else for(e=function(t,e){var n,i,r;if(e.dc())return iD(),iD(),Oae;for(n=new qD(t,e.gc()),r=new YI(t);r.e!=r.i.gc();)i=hnt(r),e.Hc(i)&&hV(n,i);return n}(t,e),r=t.i;--r>=0;)e.Hc(t.g[r])&&(Lrt(t,r),y=!0);if(y){if(null!=b){for(h=1==(n=e.gc())?UZ(t,4,e.Kc().Pb(),null,b[0],p):UZ(t,6,e,b,b[0],p),f=n<100?null:new _x(n),r=e.Kc();r.Ob();)f=QN(t,VP(d=r.Pb(),72),f);f?(f.Ei(h),f.Fi()):$3(t.e,h)}else{for(f=function(t){return t<100?null:new _x(t)}(e.gc()),r=e.Kc();r.Ob();)f=QN(t,VP(d=r.Pb(),72),f);f&&f.Fi()}return!0}return!1}function Wxt(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v;for((i=new znt(e)).a||function(t){var e,i,r,a,o;switch(a=VP(EF(t.a,0),10),e=new ait(t),nB(t.a,e),e.o.a=n.Math.max(1,a.o.a),e.o.b=n.Math.max(1,a.o.b),e.n.a=a.n.a,e.n.b=a.n.b,VP(Ost(a,(Lkt(),hXt)),61).g){case 4:e.n.a+=2;break;case 1:e.n.b+=2;break;case 2:e.n.a-=2;break;case 3:e.n.b-=2}JZ(r=new Mct,e),VZ(i=new kH,o=VP(EF(a.j,0),11)),XZ(i,r),mN(IA(r.n),o.n),mN(IA(r.a),o.a)}(e),h=function(t){var e,n,i,r,a,o,s;for(s=new rW,o=new wd(t.a);o.a<o.c.c.length;)if((a=VP(qU(o),10)).k!=(gct(),RUt))for(gft(s,a,new Sx),r=new O$(dL(c9(a).a.Kc(),new l));Xht(r);)if((i=VP(xW(r),17)).c.i.k!=RUt&&i.d.i.k!=RUt)for(n=tnt(i.a,0);n.b!=n.d.c;)iot(s,new DT((e=VP(AG(n),8)).a,e.b));return s}(e),u=new JH,w=new Ugt,b=new wd(e.a);b.a<b.c.c.length;)for(a=new O$(dL(c9(VP(qU(b),10)).a.Kc(),new l));Xht(a);)(r=VP(xW(a),17)).c.i.k!=(gct(),RUt)&&r.d.i.k!=RUt||Vlt(u,Jet((f=Xvt(t,r,h,w)).d),f.a);for(s=new iw,v=VP(Ost(i.c,(Lkt(),cXt)),21).Kc();v.Ob();){switch(m=VP(v.Pb(),61),p=w.c[m.g],g=w.b[m.g],c=w.a[m.g],o=null,y=null,m.g){case 4:o=new mq(t.d.a,p,h.b.a-t.d.a,g-p),y=new mq(t.d.a,p,c,g-p),UB(h,new XC(o.c+o.b,o.d)),UB(h,new XC(o.c+o.b,o.d+o.a));break;case 2:o=new mq(h.a.a,p,t.c.a-h.a.a,g-p),y=new mq(t.c.a-c,p,c,g-p),UB(h,new XC(o.c,o.d)),UB(h,new XC(o.c,o.d+o.a));break;case 1:o=new mq(p,t.d.b,g-p,h.b.b-t.d.b),y=new mq(p,t.d.b,g-p,c),UB(h,new XC(o.c,o.d+o.a)),UB(h,new XC(o.c+o.b,o.d+o.a));break;case 3:o=new mq(p,h.a.b,g-p,t.c.b-h.a.b),y=new mq(p,t.c.b-c,g-p,c),UB(h,new XC(o.c,o.d)),UB(h,new XC(o.c+o.b,o.d))}o&&((d=new dy).d=m,d.b=o,d.c=y,d.a=cH(VP(jW(u,Jet(m)),21)),s.c[s.c.length]=d)}return C4(i.b,s),i.d=function(t){var e;return e=new PJ(t),OY(t.a,EUt,new ov(P4(Zv(dUt,1),r_t,369,0,[e]))),e.d&&nB(e.f,e.d),e.f}(function(t){var e,n,i,r,a,o,s;for(cJ(),s=new cy,n=new wd(t);n.a<n.c.c.length;)e=VP(qU(n),140),(!s.b||e.c>=s.b.c)&&(s.b=e),(!s.c||e.c<=s.c.c)&&(s.d=s.c,s.c=e),(!s.e||e.d>=s.e.d)&&(s.e=e),(!s.f||e.d<=s.f.d)&&(s.f=e);return i=new gnt((j4(),gUt)),OY(t,_Ut,new ov(P4(Zv(dUt,1),r_t,369,0,[i]))),o=new gnt(wUt),OY(t,kUt,new ov(P4(Zv(dUt,1),r_t,369,0,[o]))),r=new gnt(pUt),OY(t,xUt,new ov(P4(Zv(dUt,1),r_t,369,0,[r]))),a=new gnt(bUt),OY(t,vUt,new ov(P4(Zv(dUt,1),r_t,369,0,[a]))),kdt(i.c,gUt),kdt(r.c,pUt),kdt(a.c,bUt),kdt(o.c,wUt),s.a.c=WX(G$t,r_t,1,0,5,1),C4(s.a,i.c),C4(s.a,A3(r.c)),C4(s.a,a.c),C4(s.a,A3(o.c)),s}(h)),i}function Xxt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(null==i.p[e.p]){c=!0,i.p[e.p]=0,s=e,p=i.o==(FZ(),m4t)?tTt:JEt;do{a=t.b.e[s.p],o=s.c.a.c.length,i.o==m4t&&a>0||i.o==v4t&&a<o-1?(null,null,u=i.o==v4t?VP(EF(s.c.a,a+1),10):VP(EF(s.c.a,a-1),10),Xxt(t,l=i.g[u.p],i),p=t.e.bg(p,e,s),i.j[e.p]==e&&(i.j[e.p]=i.j[l.p]),i.j[e.p]==i.j[l.p]?(g=fI(t.d,s,u),i.o==v4t?(r=ev(i.p[e.p]),f=ev(i.p[l.p])+ev(i.d[u.p])-u.d.d-g-s.d.a-s.o.b-ev(i.d[s.p]),c?(c=!1,i.p[e.p]=n.Math.min(f,p)):i.p[e.p]=n.Math.min(r,n.Math.min(f,p))):(r=ev(i.p[e.p]),f=ev(i.p[l.p])+ev(i.d[u.p])+u.o.b+u.d.a+g+s.d.d-ev(i.d[s.p]),c?(c=!1,i.p[e.p]=n.Math.max(f,p)):i.p[e.p]=n.Math.max(r,n.Math.max(f,p)))):(g=ev(hD(Ost(t.a,(wkt(),U0t)))),d=h2(t,i.j[e.p]),h=h2(t,i.j[l.p]),i.o==v4t?$U(d,h,ev(i.p[e.p])+ev(i.d[s.p])+s.o.b+s.d.a+g-(ev(i.p[l.p])+ev(i.d[u.p])-u.d.d)):$U(d,h,ev(i.p[e.p])+ev(i.d[s.p])-s.d.d-ev(i.p[l.p])-ev(i.d[u.p])-u.o.b-u.d.a-g))):p=t.e.bg(p,e,s),s=i.a[s.p]}while(s!=e);!function(t,e){jj(t.b,e)}(t.e,e)}}function Vxt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(Sj(t.a,e)){if(b_(VP(zR(t.a,e),53),n))return 1}else Pz(t.a,e,new Xw);if(Sj(t.a,n)){if(b_(VP(zR(t.a,n),53),e))return-1}else Pz(t.a,n,new Xw);if(Sj(t.e,e)){if(b_(VP(zR(t.e,e),53),n))return-1}else Pz(t.e,e,new Xw);if(Sj(t.e,n)){if(b_(VP(zR(t.a,n),53),e))return 1}else Pz(t.e,n,new Xw);if(t.c==(x5(),X2t)||!IO(e,(Lkt(),MXt))||!IO(n,(Lkt(),MXt))){if(c=VP(BL(mK(Z5(lq(new CF(null,new NU(e.j,16)),new ua)),new la)),11),l=VP(BL(mK(Z5(lq(new CF(null,new NU(n.j,16)),new ha)),new fa)),11),c&&l){if(s=c.i,u=l.i,s&&s==u){for(f=new wd(s.j);f.a<f.c.c.length;){if((h=VP(qU(f),11))==c)return vbt(t,n,e),-1;if(h==l)return vbt(t,e,n),1}return nI(cot(t,e),cot(t,n))}for(p=0,b=(g=t.d).length;p<b;++p){if((d=g[p])==s)return vbt(t,n,e),-1;if(d==u)return vbt(t,e,n),1}}if(!IO(e,(Lkt(),MXt))||!IO(n,MXt))return(r=cot(t,e))>(o=cot(t,n))?vbt(t,e,n):vbt(t,n,e),r<o?-1:r>o?1:0}return(i=VP(Ost(e,(Lkt(),MXt)),19).a)>(a=VP(Ost(n,MXt),19).a)?vbt(t,e,n):vbt(t,n,e),i<a?-1:i>a?1:0}function Qxt(t,e,n,i){var r,a,o,s,c,u,h,f,d,g,p,b;if(tv(lD(_ft(e,(Ikt(),oee)))))return Gq(),Gq(),TRt;if(c=0!=(!e.a&&(e.a=new mj(sae,e,10,11)),e.a).i,u=!(h=function(t){var e,n,i;if(tv(lD(_ft(t,(Ikt(),zte))))){for(i=new iw,n=new O$(dL(ddt(t).a.Kc(),new l));Xht(n);)Wlt(e=VP(xW(n),79))&&tv(lD(_ft(e,qte)))&&(i.c[i.c.length]=e);return i}return Gq(),Gq(),TRt}(e)).dc(),c||u){if(!(r=VP(_ft(e,Nee),149)))throw lw(new fv("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(b=UC(r,(Yht(),pae)),Let(e),!c&&u&&!b)return Gq(),Gq(),TRt;if(s=new iw,iA(_ft(e,$te))===iA((I7(),One))&&(UC(r,fae)||UC(r,hae)))for(d=Gpt(t,e),M2(g=new T_,(!e.a&&(e.a=new mj(sae,e,10,11)),e.a));0!=g.b;)Let(f=VP(0==g.b?null:(CO(0!=g.b),WJ(g,g.a.a)),33)),iA(_ft(f,$te))===iA(Nne)||UX(f,wte)&&!cW(r,_ft(f,Nee))?(C4(s,Qxt(t,f,n,i)),Ont(f,$te,Nne),zbt(f)):M2(g,(!f.a&&(f.a=new mj(sae,f,10,11)),f.a));else for(d=(!e.a&&(e.a=new mj(sae,e,10,11)),e.a).i,o=new YI((!e.a&&(e.a=new mj(sae,e,10,11)),e.a));o.e!=o.i.gc();)C4(s,Qxt(t,a=VP(hnt(o),33),n,i)),zbt(a);for(p=new wd(s);p.a<p.c.c.length;)Ont(VP(qU(p),79),oee,(EL(),!0));return Ret(e,r,Q2(i,d)),function(t){var e,n,i,r,a,o,s,c;for(o=new wd(t);o.a<o.c.c.length;){for(a=VP(qU(o),79),s=(i=rst(VP(a1((!a.b&&(a.b=new LN(Jre,a,4,7)),a.b),0),82))).i,c=i.j,EM(r=VP(a1((!a.a&&(a.a=new mj(eae,a,6,6)),a.a),0),202),r.j+s,r.k+c),_M(r,r.b+s,r.c+c),n=new YI((!r.a&&(r.a=new GI(Xre,r,5)),r.a));n.e!=n.i.gc();)vM(e=VP(hnt(n),469),e.a+s,e.b+c);F2(VP(_ft(a,(Ikt(),Ute)),74),s,c)}}(s),u&&b?h:(Gq(),Gq(),TRt)}return Gq(),Gq(),TRt}function Jxt(t,e,n,i,r,a,o,s,c){var u,l,h,f,d,g,p;switch(d=n,Lf(l=new ait(c),(gct(),RUt)),d5(l,(Lkt(),fXt),o),d5(l,(wkt(),w0t),($ot(),cie)),p=ev(hD(t.We(b0t))),d5(l,b0t,p),JZ(h=new Mct,l),e!=hie&&e!=fie||(d=i>=0?Z9(s):I8(Z9(s)),t.Ye(k0t,d)),u=new Sx,f=!1,t.Xe(p0t)?(PO(u,VP(t.We(p0t),8)),f=!0):function(t,e,n){t.a=e,t.b=n}(u,o.a/2,o.b/2),d.g){case 4:d5(l,B1t,(p9(),eVt)),d5(l,aXt,(i5(),GKt)),l.o.b=o.b,p<0&&(l.o.a=-p),plt(h,(Mxt(),_ie)),f||(u.a=o.a),u.a-=o.a;break;case 2:d5(l,B1t,(p9(),iVt)),d5(l,aXt,(i5(),UKt)),l.o.b=o.b,p<0&&(l.o.a=-p),plt(h,(Mxt(),Hie)),f||(u.a=0);break;case 1:d5(l,yXt,(LQ(),HWt)),l.o.a=o.a,p<0&&(l.o.b=-p),plt(h,(Mxt(),zie)),f||(u.b=o.b),u.b-=o.b;break;case 3:d5(l,yXt,(LQ(),zWt)),l.o.a=o.a,p<0&&(l.o.b=-p),plt(h,(Mxt(),Eie)),f||(u.b=0)}if(PO(h.n,u),d5(l,p0t,u),e==sie||e==uie||e==cie){if(g=0,e==sie&&t.Xe(y0t))switch(d.g){case 1:case 2:g=VP(t.We(y0t),19).a;break;case 3:case 4:g=-VP(t.We(y0t),19).a}else switch(d.g){case 4:case 2:g=a.b,e==uie&&(g/=r.b);break;case 1:case 3:g=a.a,e==uie&&(g/=r.a)}d5(l,jXt,g)}return d5(l,hXt,d),l}function tkt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d;for(h=!1,u=t+1,OU(t,e.c.length),o=(l=VP(e.c[t],200)).a,s=null,a=0;a<l.a.c.length;a++)if(OU(a,o.c.length),!(r=VP(o.c[a],187)).c)if(0!=r.b.c.length){if(r.k||(s&&irt(s),Vnt(r,(s=new wZ(s?s.e+s.d+i:0,l.f,i)).e+s.d,l.f),nB(l.d,s),c3(s,r),r.k=!0),c=null,d=null,a<l.a.c.length-1?d=VP(EF(l.a,a+1),187):u<e.c.length&&0!=(OU(u,e.c.length),VP(e.c[u],200)).a.c.length&&(d=VP(EF((OU(u,e.c.length),VP(e.c[u],200)).a,0),187)),f=!1,(c=d)&&(f=!X7(c.j,l)),c){if(0==c.b.c.length){sat(l,c);break}if(wV(r,n-r.s),irt(r.q),h|=lct(l,r,c,n,i),0==c.b.c.length)for(sat((OU(u,e.c.length),VP(e.c[u],200)),c),c=null;e.c.length>u&&0==(OU(u,e.c.length),VP(e.c[u],200)).a.c.length;)sQ(e,(OU(u,e.c.length),e.c[u]));if(!c){--a;continue}if(gwt(e,l,r,c,f,n,u,i)){h=!0;continue}if(f){if(rmt(e,l,r,c,n,u,i)){h=!0;continue}if(s7(l,r)){r.c=!0,h=!0;continue}}else if(s7(l,r)){r.c=!0,h=!0;continue}if(h)continue}s7(l,r)?(r.c=!0,h=!0,c&&(c.k=!1)):irt(r.q)}else c_(),sat(l,r),--a,h=!0;return h}function ekt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L;for(b=0,S=0,l=new wd(t.b);l.a<l.c.c.length;)(u=VP(qU(l),157)).c&&Gvt(u.c),b=n.Math.max(b,BF(u)),S+=BF(u)*PF(u);for(w=S/t.b.c.length,C=function(t,e){var i,r,a;for(a=0,r=new wd(t);r.a<r.c.c.length;)i=VP(qU(r),157),a+=n.Math.pow(BF(i)*PF(i)-e,2);return n.Math.sqrt(a/(t.c.length-1))}(t.b,w),S+=t.b.c.length*C,b=n.Math.max(b,n.Math.sqrt(S*s))+i.b,I=i.b,L=i.d,g=0,f=i.b+i.c,$B(T=new T_,p8(0)),_=new T_,h=new QY(t.b,0),p=null,c=new iw;h.b<h.d.gc();)CO(h.b<h.d.gc()),M=BF(u=VP(h.d.Xb(h.c=h.b++),157)),d=PF(u),I+M>b&&(o&&(_A(_,g),_A(T,p8(h.b-1)),nB(t.d,p),c.c=WX(G$t,r_t,1,0,5,1)),I=i.b,L+=g+e,g=0,f=n.Math.max(f,i.b+i.c+M)),c.c[c.c.length]=u,pnt(u,I,L),f=n.Math.max(f,I+M+i.c),g=n.Math.max(g,d),I+=M+e,p=u;if(C4(t.a,c),nB(t.d,VP(EF(c,c.c.length-1),157)),f=n.Math.max(f,r),(A=L+g+i.a)<a&&(g+=a-A,A=a),o)for(I=i.b,h=new QY(t.b,0),_A(T,p8(t.b.c.length)),m=VP(AG(E=tnt(T,0)),19).a,_A(_,g),k=tnt(_,0),x=0;h.b<h.d.gc();)h.b==m&&(I=i.b,x=ev(hD(AG(k))),m=VP(AG(E),19).a),CO(h.b<h.d.gc()),tet(u=VP(h.d.Xb(h.c=h.b++),157),x),h.b==m&&(y=f-I-i.c,v=BF(u),Jtt(u,y),R8(u,(y-v)/2,0)),I+=BF(u)+e;return new XC(f,A)}function nkt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(r=new iw,a=Qkt,o=Qkt,s=Qkt,i)for(a=t.f.a,p=new wd(e.j);p.a<p.c.c.length;)for(u=new wd(VP(qU(p),11).g);u.a<u.c.c.length;)0!=(c=VP(qU(u),17)).a.b&&((h=VP(bO(c.a),8)).a<a&&(o=a-h.a,s=Qkt,r.c=WX(G$t,r_t,1,0,5,1),a=h.a),h.a<=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=n.Math.min(s,n.Math.abs(VP(knt(c.a,1),8).b-h.b)))));else for(p=new wd(e.j);p.a<p.c.c.length;)for(u=new wd(VP(qU(p),11).e);u.a<u.c.c.length;)0!=(c=VP(qU(u),17)).a.b&&((d=VP(wO(c.a),8)).a>a&&(o=d.a-a,s=Qkt,r.c=WX(G$t,r_t,1,0,5,1),a=d.a),d.a>=a&&(r.c[r.c.length]=c,c.a.b>1&&(s=n.Math.min(s,n.Math.abs(VP(knt(c.a,c.a.b-2),8).b-d.b)))));if(0!=r.c.length&&o>e.o.a/2&&s>e.o.b/2){for(JZ(g=new Mct,e),plt(g,(Mxt(),Eie)),g.n.a=e.o.a/2,JZ(b=new Mct,e),plt(b,zie),b.n.a=e.o.a/2,b.n.b=e.o.b,u=new wd(r);u.a<u.c.c.length;)c=VP(qU(u),17),i?(l=VP(mB(c.a),8),(0==c.a.b?BU(c.d):VP(bO(c.a),8)).b>=l.b?VZ(c,b):VZ(c,g)):(l=VP(vB(c.a),8),(0==c.a.b?BU(c.c):VP(wO(c.a),8)).b>=l.b?XZ(c,b):XZ(c,g)),(f=VP(Ost(c,(wkt(),D1t)),74))&&W9(f,l,!0);e.n.a=a-e.o.a/2}}function ikt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(u=e,O0(c=YG(t,FG(n),u),cG(u,aPt)),l=VP(b1(t.g,Plt(kZ(u,RNt))),33),i=null,(o=kZ(u,"sourcePort"))&&(i=Plt(o)),h=VP(b1(t.j,i),118),!l)throw lw(new lv("An edge must have a source node (edge id: '"+iet(u)+lPt));if(h&&!dz(EZ(h),l))throw lw(new lv("The source port of an edge must be a port of the edge's source node (edge id: '"+cG(u,aPt)+lPt));if(!c.b&&(c.b=new LN(Jre,c,4,7)),hV(c.b,h||l),f=VP(b1(t.g,Plt(kZ(u,dPt))),33),r=null,(s=kZ(u,"targetPort"))&&(r=Plt(s)),d=VP(b1(t.j,r),118),!f)throw lw(new lv("An edge must have a target node (edge id: '"+iet(u)+lPt));if(d&&!dz(EZ(d),f))throw lw(new lv("The target port of an edge must be a port of the edge's target node (edge id: '"+cG(u,aPt)+lPt));if(!c.c&&(c.c=new LN(Jre,c,5,8)),hV(c.c,d||f),0==(!c.b&&(c.b=new LN(Jre,c,4,7)),c.b).i||0==(!c.c&&(c.c=new LN(Jre,c,5,8)),c.c).i)throw a=cG(u,aPt),lw(new lv(uPt+a+lPt));return ist(u,c),Mft(u,c),B5(t,u,c)}function rkt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S;return f=function(t,e){var i,r,a,o,s,c,u,l,h,f,d;if(t.dc())return new Sx;for(u=0,h=0,r=t.Kc();r.Ob();)a=VP(r.Pb(),37).f,u=n.Math.max(u,a.a),h+=a.a*a.b;for(u=n.Math.max(u,n.Math.sqrt(h)*ev(hD(Ost(VP(t.Kc().Pb(),37),(wkt(),$Jt))))),f=0,d=0,c=0,i=e,s=t.Kc();s.Ob();)f+(l=(o=VP(s.Pb(),37)).f).a>u&&(f=0,d+=c+e,c=0),gbt(o,f,d),i=n.Math.max(i,f+l.a),c=n.Math.max(c,l.b),f+=l.a+e;return new XC(i+e,d+c+e)}(XL(t,(Mxt(),Mie)),e),p=drt(XL(t,Iie),e),x=drt(XL(t,$ie),e),T=grt(XL(t,Rie),e),d=grt(XL(t,Tie),e),m=drt(XL(t,Fie),e),b=drt(XL(t,Lie),e),_=drt(XL(t,jie),e),k=drt(XL(t,Cie),e),C=grt(XL(t,Aie),e),y=drt(XL(t,Pie),e),v=drt(XL(t,Nie),e),E=drt(XL(t,Sie),e),S=grt(XL(t,Bie),e),g=grt(XL(t,Oie),e),w=drt(XL(t,Die),e),i=N5(P4(Zv(Qce,1),aTt,25,15,[m.a,T.a,_.a,S.a])),r=N5(P4(Zv(Qce,1),aTt,25,15,[p.a,f.a,x.a,w.a])),a=y.a,o=N5(P4(Zv(Qce,1),aTt,25,15,[b.a,d.a,k.a,g.a])),l=N5(P4(Zv(Qce,1),aTt,25,15,[m.b,p.b,b.b,v.b])),u=N5(P4(Zv(Qce,1),aTt,25,15,[T.b,f.b,d.b,w.b])),h=C.b,c=N5(P4(Zv(Qce,1),aTt,25,15,[_.b,x.b,k.b,E.b])),gV(XL(t,Mie),i+a,l+h),gV(XL(t,Die),i+a,l+h),gV(XL(t,Iie),i+a,0),gV(XL(t,$ie),i+a,l+h+u),gV(XL(t,Rie),0,l+h),gV(XL(t,Tie),i+a+r,l+h),gV(XL(t,Lie),i+a+r,0),gV(XL(t,jie),0,l+h+u),gV(XL(t,Cie),i+a+r,l+h+u),gV(XL(t,Aie),0,l),gV(XL(t,Pie),i,0),gV(XL(t,Sie),0,l+h+u),gV(XL(t,Oie),i+a+r,0),(s=new Sx).a=N5(P4(Zv(Qce,1),aTt,25,15,[i+r+a+o,C.a,v.a,E.a])),s.b=N5(P4(Zv(Qce,1),aTt,25,15,[l+u+h+c,y.b,S.b,g.b])),s}function akt(t,e,i){var r,a,o,s,c,u,h;if(ast(i,"Network simplex node placement",1),t.e=e,t.n=VP(Ost(e,(Lkt(),YXt)),304),function(t){var e,i,r,a,o,s,c,u,h,f,d,g;for(t.f=new Jw,c=0,r=0,a=new wd(t.e.b);a.a<a.c.c.length;)for(s=new wd(VP(qU(a),29).a);s.a<s.c.c.length;){for((o=VP(qU(s),10)).p=c++,i=new O$(dL(c9(o).a.Kc(),new l));Xht(i);)VP(xW(i),17).p=r++;for(e=Cmt(o),f=new wd(o.j);f.a<f.c.c.length;)h=VP(qU(f),11),e&&(g=h.a.b)!=n.Math.floor(g)&&(u=g-WY(B3(n.Math.round(g))),h.a.b-=u),(d=h.n.b+h.a.b)!=n.Math.floor(d)&&(u=d-WY(B3(n.Math.round(d))),h.n.b-=u)}t.g=c,t.b=r,t.i=WX(w4t,r_t,401,c,0,1),t.c=WX(d4t,r_t,649,r,0,1),t.d.a.$b()}(t),function(t){var e;for(e=new wd(t.e.b);e.a<e.c.c.length;)Wvt(t,VP(qU(e),29));C_(lq(KQ(KQ(new CF(null,new NU(t.e.b,16)),new Ga),new Ja),new to),new Dp(t))}(t),C_(KQ(new CF(null,new NU(t.e.b,16)),new qa),new Ap(t)),C_(lq(KQ(lq(KQ(new CF(null,new NU(t.e.b,16)),new eo),new no),new io),new ro),new Sp(t)),tv(lD(Ost(t.e,(wkt(),X1t))))&&(ast(o=Q2(i,1),"Straight Edges Pre-Processing",1),function(t){var e,i,r,a,o,s,c,u,l,h;for(t.j=WX(Kce,CEt,25,t.g,15,1),t.o=new iw,C_(KQ(new CF(null,new NU(t.e.b,16)),new Ka),new Ip(t)),t.a=WX(Wce,pCt,25,t.b,16,1),K7(new CF(null,new NU(t.e.b,16)),new Op(t)),h=new iw,C_(lq(KQ(new CF(null,new NU(t.e.b,16)),new Xa),new Lp(t)),new vC(t,h)),c=new wd(h);c.a<c.c.c.length;)if(!((s=VP(qU(c),508)).c.length<=1))if(2!=s.c.length){if(!Pot(s)&&!mut(s,new Wa))for(u=new wd(s),r=null;u.a<u.c.c.length;)e=VP(qU(u),17),i=t.c[e.p],l=!r||u.a>=u.c.c.length?ZG((gct(),HUt),qUt):ZG((gct(),qUt),qUt),l*=2,a=i.a.g,i.a.g=n.Math.max(a,a+(l-a)),o=i.b.g,i.b.g=n.Math.max(o,o+(l-o)),r=e}else vft(s),Cmt((OU(0,s.c.length),VP(s.c[0],17)).d.i)||nB(t.o,s)}(t),$ct(o)),Qnt(t.f),a=VP(Ost(e,X0t),19).a*t.f.a.c.length,Ubt(Gv(Kv(MP(t.f),a),!1),Q2(i,1)),0!=t.d.a.gc()){for(ast(o=Q2(i,1),"Flexible Where Space Processing",1),s=VP(HL(V$(hq(new CF(null,new NU(t.f.a,16)),new Ha),new Ba)),19).a,c=VP(HL(X$(hq(new CF(null,new NU(t.f.a,16)),new Za),new Fa)),19).a-s,u=qL(new ny,t.f),h=qL(new ny,t.f),cgt(N_(D_(O_(P_(new ey,2e4),c),u),h)),C_(lq(lq(Gj(t.i),new Ua),new Ya),new yq(s,u,c,h)),r=t.d.a.ec().Kc();r.Ob();)VP(r.Pb(),213).g=1;Ubt(Gv(Kv(MP(t.f),a),!1),Q2(o,1)),$ct(o)}tv(lD(Ost(e,X1t)))&&(ast(o=Q2(i,1),"Straight Edges Post-Processing",1),function(t){var e,n,i;for(M2(n=new T_,t.o),i=new xy;0!=n.b;)qxt(t,e=VP(0==n.b?null:(CO(0!=n.b),WJ(n,n.a.a)),508),!0)&&nB(i.a,e);for(;0!=i.a.c.length;)qxt(t,e=VP($6(i),508),!1)}(t),$ct(o)),function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;for(n=new wd(t.e.b);n.a<n.c.c.length;)for(r=new wd(VP(qU(n),29).a);r.a<r.c.c.length;)if(i=VP(qU(r),10),c=(h=t.i[i.p]).a.e,s=h.d.e,i.n.b=c,p=s-c-i.o.b,e=Cmt(i),Hnt(),l=(i.q?i.q:(Gq(),Gq(),CRt))._b((wkt(),Q1t))?VP(Ost(i,Q1t),197):VP(Ost(pz(i),J1t),197),e&&(l==C2t||l==T2t)&&(i.o.b+=p),e&&(l==A2t||l==C2t||l==T2t)){for(d=new wd(i.j);d.a<d.c.c.length;)f=VP(qU(d),11),(Mxt(),Aie).Hc(f.j)&&(u=VP(zR(t.k,f),121),f.n.b=u.e-c);for(o=new wd(i.b);o.a<o.c.c.length;)a=VP(qU(o),70),(g=VP(Ost(i,G1t),21)).Hc((Eft(),Wne))?a.n.b+=p:g.Hc(Xne)&&(a.n.b+=p/2);(l==C2t||l==T2t)&&i9(i,(Mxt(),zie)).Jc(new Mp(p))}}(t),t.e=null,t.f=null,t.i=null,t.c=null,Yj(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),$ct(i)}function okt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(s=new wd(t.a.b);s.a<s.c.c.length;)for(m=new wd(VP(qU(s),29).a);m.a<m.c.c.length;)y=VP(qU(m),10),e.g[y.p]=y,e.a[y.p]=y,e.d[y.p]=0;for(c=t.a.b,e.c==(QH(),p4t)&&(c=MI(c,152)?FW(VP(c,152)):MI(c,131)?VP(c,131).a:MI(c,54)?new Em(c):new r_(c)),o=c.Kc();o.Ob();)for(d=-1,f=VP(o.Pb(),29).a,e.o==(FZ(),v4t)&&(d=Qkt,f=MI(f,152)?FW(VP(f,152)):MI(f,131)?VP(f,131).a:MI(f,54)?new Em(f):new r_(f)),x=f.Kc();x.Ob();)if(v=VP(x.Pb(),10),h=null,(h=e.c==p4t?VP(EF(t.b.f,v.p),15):VP(EF(t.b.b,v.p),15)).gc()>0)if(r=h.gc(),u=cZ(n.Math.floor((r+1)/2))-1,a=cZ(n.Math.ceil((r+1)/2))-1,e.o==v4t)for(l=a;l>=u;l--)e.a[v.p]==v&&(p=VP(h.Xb(l),46),g=VP(p.a,10),!b_(i,p.b)&&d>t.b.e[g.p]&&(e.a[g.p]=v,e.g[v.p]=e.g[g.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(EL(),!!(tv(e.f[e.g[v.p].p])&v.k==(gct(),qUt))),d=t.b.e[g.p]));else for(l=u;l<=a;l++)e.a[v.p]==v&&(w=VP(h.Xb(l),46),b=VP(w.a,10),!b_(i,w.b)&&d<t.b.e[b.p]&&(e.a[b.p]=v,e.g[v.p]=e.g[b.p],e.a[v.p]=e.g[v.p],e.f[e.g[v.p].p]=(EL(),!!(tv(e.f[e.g[v.p].p])&v.k==(gct(),qUt))),d=t.b.e[b.p]))}function skt(){skt=I,Bx(),qre=Lre.a,VP(a1(oH(Lre.a),0),18),Bre=Lre.f,VP(a1(oH(Lre.f),0),18),VP(a1(oH(Lre.f),1),34),zre=Lre.n,VP(a1(oH(Lre.n),0),34),VP(a1(oH(Lre.n),1),34),VP(a1(oH(Lre.n),2),34),VP(a1(oH(Lre.n),3),34),Fre=Lre.g,VP(a1(oH(Lre.g),0),18),VP(a1(oH(Lre.g),1),34),Dre=Lre.c,VP(a1(oH(Lre.c),0),18),VP(a1(oH(Lre.c),1),18),$re=Lre.i,VP(a1(oH(Lre.i),0),18),VP(a1(oH(Lre.i),1),18),VP(a1(oH(Lre.i),2),18),VP(a1(oH(Lre.i),3),18),VP(a1(oH(Lre.i),4),34),jre=Lre.j,VP(a1(oH(Lre.j),0),18),Nre=Lre.d,VP(a1(oH(Lre.d),0),18),VP(a1(oH(Lre.d),1),18),VP(a1(oH(Lre.d),2),18),VP(a1(oH(Lre.d),3),18),VP(a1(oH(Lre.d),4),34),VP(a1(oH(Lre.d),5),34),VP(a1(oH(Lre.d),6),34),VP(a1(oH(Lre.d),7),34),Ore=Lre.b,VP(a1(oH(Lre.b),0),34),VP(a1(oH(Lre.b),1),34),Pre=Lre.e,VP(a1(oH(Lre.e),0),34),VP(a1(oH(Lre.e),1),34),VP(a1(oH(Lre.e),2),34),VP(a1(oH(Lre.e),3),34),VP(a1(oH(Lre.e),4),18),VP(a1(oH(Lre.e),5),18),VP(a1(oH(Lre.e),6),18),VP(a1(oH(Lre.e),7),18),VP(a1(oH(Lre.e),8),18),VP(a1(oH(Lre.e),9),18),VP(a1(oH(Lre.e),10),34),Rre=Lre.k,VP(a1(oH(Lre.k),0),34),VP(a1(oH(Lre.k),1),34)}function ckt(t){var e,n,i,r,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return kkt(t),Nkt(),Nkt(),Ece;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=function(t){var e,n,i,r;switch(r=null,t.c){case 6:return t.Vl();case 13:return t.Wl();case 23:return t.Nl();case 22:return t.Sl();case 18:return t.Pl();case 8:kkt(t),Nkt(),r=_ce;break;case 9:return t.vl(!0);case 19:return t.wl();case 10:switch(t.a){case 100:case 68:case 119:case 87:case 115:case 83:return r=t.ul(t.a),kkt(t),r;case 101:case 102:case 110:case 114:case 116:case 117:case 118:case 120:(e=t.tl())<iTt?(Nkt(),Nkt(),r=new zF(0,e)):r=z$(Y8(e));break;case 99:return t.Fl();case 67:return t.Al();case 105:return t.Il();case 73:return t.Bl();case 103:return t.Gl();case 88:return t.Cl();case 49:case 50:case 51:case 52:case 53:case 54:case 55:case 56:case 57:return t.xl();case 80:case 112:if(!(r=Hlt(t,t.a)))throw lw(new gv(jkt((ZM(),YPt))));break;default:r=WB(t.a)}kkt(t);break;case 0:if(93==t.a||123==t.a||125==t.a)throw lw(new gv(jkt((ZM(),UPt))));r=WB(t.a),n=t.a,kkt(t),(64512&n)==rTt&&0==t.c&&56320==(64512&t.a)&&((i=WX(Gce,lEt,25,2,15,1))[0]=n&fEt,i[1]=t.a&fEt,r=Tj(z$(Wtt(i,0,i.length)),0),kkt(t));break;default:throw lw(new gv(jkt((ZM(),UPt))))}return r}(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d<t.j){if(r=t.d,i=0,n=-1,!((e=Gz(t.i,r++))>=48&&e<=57))throw lw(new gv(jkt((ZM(),uBt))));for(i=e-48;r<t.j&&(e=Gz(t.i,r++))>=48&&e<=57;)if((i=10*i+e-48)<0)throw lw(new gv(jkt((ZM(),dBt))));if(n=i,44==e){if(r>=t.j)throw lw(new gv(jkt((ZM(),hBt))));if((e=Gz(t.i,r++))>=48&&e<=57){for(n=e-48;r<t.j&&(e=Gz(t.i,r++))>=48&&e<=57;)if((n=10*n+e-48)<0)throw lw(new gv(jkt((ZM(),dBt))));if(i>n)throw lw(new gv(jkt((ZM(),fBt))))}else n=-1}if(125!=e)throw lw(new gv(jkt((ZM(),lBt))));t.sl(r)?(Nkt(),Nkt(),a=new aK(9,a),t.d=r+1):(Nkt(),Nkt(),a=new aK(3,a),t.d=r),a.dm(i),a.cm(n),kkt(t)}}return a}function ukt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(g=new wX(e.b),y=new wX(e.b),f=new wX(e.b),k=new wX(e.b),p=new wX(e.b),x=tnt(e,0);x.b!=x.d.c;)for(s=new wd((m=VP(AG(x),11)).g);s.a<s.c.c.length;)if((a=VP(qU(s),17)).c.i==a.d.i){if(m.j==a.d.j){k.c[k.c.length]=a;continue}if(m.j==(Mxt(),Eie)&&a.d.j==zie){p.c[p.c.length]=a;continue}}for(c=new wd(p);c.a<c.c.c.length;)xwt(t,a=VP(qU(c),17),n,i,(Mxt(),_ie));for(o=new wd(k);o.a<o.c.c.length;)a=VP(qU(o),17),Lf(_=new ait(t),(gct(),ZUt)),d5(_,(wkt(),w0t),($ot(),cie)),d5(_,(Lkt(),IXt),a),d5(E=new Mct,IXt,a.d),plt(E,(Mxt(),Hie)),JZ(E,_),d5(T=new Mct,IXt,a.c),plt(T,_ie),JZ(T,_),d5(a.c,$Xt,_),d5(a.d,$Xt,_),VZ(a,null),XZ(a,null),n.c[n.c.length]=_,d5(_,nXt,p8(2));for(v=tnt(e,0);v.b!=v.d.c;)u=(m=VP(AG(v),11)).e.c.length>0,b=m.g.c.length>0,u&&b?f.c[f.c.length]=m:u?g.c[g.c.length]=m:b&&(y.c[y.c.length]=m);for(d=new wd(g);d.a<d.c.c.length;)nB(r,Qyt(t,VP(qU(d),11),null,n));for(w=new wd(y);w.a<w.c.c.length;)nB(r,Qyt(t,null,VP(qU(w),11),n));for(h=new wd(f);h.a<h.c.c.length;)nB(r,Qyt(t,l=VP(qU(h),11),l,n))}function lkt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(p=new XC(JEt,JEt),e=new XC(tTt,tTt),x=new wd(t);x.a<x.c.c.length;)v=VP(qU(x),8),p.a=n.Math.min(p.a,v.a),p.b=n.Math.min(p.b,v.b),e.a=n.Math.max(e.a,v.a),e.b=n.Math.max(e.b,v.b);for(u=new XC(e.a-p.a,e.b-p.b),l=new yyt(new XC(p.a-50,p.b-u.a-50),new XC(p.a-50,e.b+u.a+50),new XC(e.a+u.b/2+50,p.b+u.b/2)),m=new Xw,a=new iw,i=new iw,m.a.zc(l,m),_=new wd(t);_.a<_.c.c.length;){for(k=VP(qU(_),8),a.c=WX(G$t,r_t,1,0,5,1),y=m.a.ec().Kc();y.Ob();)aV((b=VP(y.Pb(),308)).d,b.a),v9(aV(b.d,k),aV(b.d,b.a))<0&&(a.c[a.c.length]=b);for(i.c=WX(G$t,r_t,1,0,5,1),w=new wd(a);w.a<w.c.c.length;)for(d=new wd((b=VP(qU(w),308)).e);d.a<d.c.c.length;){for(h=VP(qU(d),168),o=!0,c=new wd(a);c.a<c.c.c.length;)(s=VP(qU(c),308))!=b&&(Hz(h,EF(s.e,0))||Hz(h,EF(s.e,1))||Hz(h,EF(s.e,2)))&&(o=!1);o&&(i.c[i.c.length]=h)}for(Est(m,a),GK(m,new ft),f=new wd(i);f.a<f.c.c.length;)jj(m,new yyt(k,(h=VP(qU(f),168)).a,h.b))}for(GK(m,new Ud(g=new Xw)),r=g.a.ec().Kc();r.Ob();)(EQ(l,(h=VP(r.Pb(),168)).a)||EQ(l,h.b))&&r.Qb();return GK(g,new dt),g}function hkt(t){sE(t,new nst(rx(tx(ix(nx(new bs,KOt),"ELK Rectangle Packing"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges. The given order of the boxes is always preserved and the main reading direction of the boxes is left to right. The algorithm is divided into two phases. One phase approximates the width in which the rectangles can be placed. The next phase places the rectangles in rows using the previously calculated width as bounding width and bundles rectangles with a similar height in blocks. A compaction step reduces the size of the drawing. Finally, the rectangles are expanded to fill their bounding box and eliminate empty unused spaces."),new ts))),BY(t,KOt,hSt,1.3),BY(t,KOt,GOt,unt(L7t)),BY(t,KOt,fSt,Z7t),BY(t,KOt,NSt,15),BY(t,KOt,_Lt,unt(A7t)),BY(t,KOt,HSt,unt(F7t)),BY(t,KOt,iAt,unt($7t)),BY(t,KOt,qSt,unt(j7t)),BY(t,KOt,ZSt,unt(B7t)),BY(t,KOt,zSt,unt(R7t)),BY(t,KOt,USt,unt(U7t)),BY(t,KOt,jOt,unt(q7t)),BY(t,KOt,ROt,unt(P7t)),BY(t,KOt,HOt,unt(z7t)),BY(t,KOt,ZOt,unt(Y7t)),BY(t,KOt,UOt,unt(O7t)),BY(t,KOt,$St,unt(D7t)),BY(t,KOt,PLt,unt(N7t)),BY(t,KOt,qOt,unt(I7t)),BY(t,KOt,zOt,unt(M7t)),BY(t,KOt,YOt,unt(K7t))}function fkt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(null==n)return null;if(t.a!=e.Aj())throw lw(new Xm(LNt+e.ne()+ONt));if(MI(e,457)){if(!(p=function(t,e){var n,i,r;if(null==e){for(!t.a&&(t.a=new mj(uoe,t,9,5)),i=new YI(t.a);i.e!=i.i.gc();)if(null==(null==(r=(n=VP(hnt(i),678)).c)?n.zb:r))return n}else for(!t.a&&(t.a=new mj(uoe,t,9,5)),i=new YI(t.a);i.e!=i.i.gc();)if(jN(e,null==(r=(n=VP(hnt(i),678)).c)?n.zb:r))return n;return null}(VP(e,671),n)))throw lw(new Xm(DNt+n+"' is not a valid enumerator of '"+e.ne()+"'"));return p}switch(Y7((put(),gse),e).cl()){case 2:n=Xyt(n,!1);break;case 3:n=Xyt(n,!0)}if(i=Y7(gse,e).$k())return i.Aj().Nh().Kh(i,n);if(h=Y7(gse,e).al()){for(p=new iw,u=0,l=(c=u6(n)).length;u<l;++u)s=c[u],nB(p,h.Aj().Nh().Kh(h,s));return p}if(!(g=Y7(gse,e).bl()).dc()){for(d=g.Kc();d.Ob();){f=VP(d.Pb(),148);try{if(null!=(p=f.Aj().Nh().Kh(f,n)))return p}catch(b){if(!MI(b=k4(b),60))throw lw(b)}}throw lw(new Xm(DNt+n+"' does not match any member types of the union datatype '"+e.ne()+"'"))}if(VP(e,834).Fj(),!(r=(b=e.Bj())?0!=(1&b.i)?b==Wce?Fjt:b==Kce?Gjt:b==Jce?Zjt:b==Qce?Hjt:b==Xce?Jjt:b==tue?eRt:b==Vce?Rjt:qjt:b:null))return null;if(r==qjt){a=0;try{a=rwt(n,eEt,Qkt)&fEt}catch(b){if(!MI(b=k4(b),127))throw lw(b);a=PQ(n)[0]}return x4(a)}if(r==Pjt){for(o=0;o<Zre.length;++o)try{return gE(Zre[o],n)}catch(b){if(!MI(b=k4(b),32))throw lw(b)}throw lw(new Xm(DNt+n+"' is not a date formatted string of the form yyyy-MM-dd'T'HH:mm:ss'.'SSSZ or a valid subset thereof"))}throw lw(new Xm(DNt+n+"' is invalid. "))}function dkt(){dkt=I,Vlt(CUt=new JH,(Mxt(),Mie),Die),Vlt(CUt,Rie,Die),Vlt(CUt,Rie,Bie),Vlt(CUt,Tie,Oie),Vlt(CUt,Tie,Die),Vlt(CUt,Iie,Die),Vlt(CUt,Iie,Nie),Vlt(CUt,$ie,Sie),Vlt(CUt,$ie,Die),Vlt(CUt,Pie,Aie),Vlt(CUt,Pie,Die),Vlt(CUt,Pie,Nie),Vlt(CUt,Pie,Sie),Vlt(CUt,Aie,Pie),Vlt(CUt,Aie,Bie),Vlt(CUt,Aie,Oie),Vlt(CUt,Aie,Die),Vlt(CUt,Fie,Fie),Vlt(CUt,Fie,Nie),Vlt(CUt,Fie,Bie),Vlt(CUt,Lie,Lie),Vlt(CUt,Lie,Nie),Vlt(CUt,Lie,Oie),Vlt(CUt,jie,jie),Vlt(CUt,jie,Sie),Vlt(CUt,jie,Bie),Vlt(CUt,Cie,Cie),Vlt(CUt,Cie,Sie),Vlt(CUt,Cie,Oie),Vlt(CUt,Nie,Iie),Vlt(CUt,Nie,Pie),Vlt(CUt,Nie,Fie),Vlt(CUt,Nie,Lie),Vlt(CUt,Nie,Die),Vlt(CUt,Nie,Nie),Vlt(CUt,Nie,Bie),Vlt(CUt,Nie,Oie),Vlt(CUt,Sie,$ie),Vlt(CUt,Sie,Pie),Vlt(CUt,Sie,jie),Vlt(CUt,Sie,Cie),Vlt(CUt,Sie,Sie),Vlt(CUt,Sie,Bie),Vlt(CUt,Sie,Oie),Vlt(CUt,Sie,Die),Vlt(CUt,Bie,Rie),Vlt(CUt,Bie,Aie),Vlt(CUt,Bie,Fie),Vlt(CUt,Bie,jie),Vlt(CUt,Bie,Nie),Vlt(CUt,Bie,Sie),Vlt(CUt,Bie,Bie),Vlt(CUt,Bie,Die),Vlt(CUt,Oie,Tie),Vlt(CUt,Oie,Aie),Vlt(CUt,Oie,Lie),Vlt(CUt,Oie,Cie),Vlt(CUt,Oie,Nie),Vlt(CUt,Oie,Sie),Vlt(CUt,Oie,Oie),Vlt(CUt,Oie,Die),Vlt(CUt,Die,Mie),Vlt(CUt,Die,Rie),Vlt(CUt,Die,Tie),Vlt(CUt,Die,Iie),Vlt(CUt,Die,$ie),Vlt(CUt,Die,Pie),Vlt(CUt,Die,Aie),Vlt(CUt,Die,Nie),Vlt(CUt,Die,Sie),Vlt(CUt,Die,Bie),Vlt(CUt,Die,Oie),Vlt(CUt,Die,Die)}function gkt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(t.d=new XC(JEt,JEt),t.c=new XC(tTt,tTt),f=e.Kc();f.Ob();)for(m=new wd(VP(f.Pb(),37).a);m.a<m.c.c.length;)y=VP(qU(m),10),t.d.a=n.Math.min(t.d.a,y.n.a-y.d.b),t.d.b=n.Math.min(t.d.b,y.n.b-y.d.d),t.c.a=n.Math.max(t.c.a,y.n.a+y.o.a+y.d.c),t.c.b=n.Math.max(t.c.b,y.n.b+y.o.b+y.d.a);for(c=new ly,h=e.Kc();h.Ob();)r=Wxt(t,VP(h.Pb(),37)),nB(c.a,r),r.a=r.a|!VP(Ost(r.c,(Lkt(),cXt)),21).dc();for(t.b=(r7(),(E=new ve).f=new v0(i),E.b=wvt(E.f,c),E),Tvt((g=t.b,new om,g)),t.e=new Sx,t.a=t.b.f.e,s=new wd(c.a);s.a<s.c.c.length;)for(a=VP(qU(s),841),v=lZ(t.b,a),pbt(a.c,v.a,v.b),b=new wd(a.c.a);b.a<b.c.c.length;)(p=VP(qU(b),10)).k==(gct(),RUt)&&(w=hdt(t,p.n,VP(Ost(p,(Lkt(),hXt)),61)),mN(IA(p.n),w));for(o=new wd(c.a);o.a<o.c.c.length;)for(l=new wd(k8(a=VP(qU(o),841)));l.a<l.c.c.length;)for(LO(_=new xx((u=VP(qU(l),17)).a),0,BU(u.c)),$B(_,BU(u.d)),d=null,k=tnt(_,0);k.b!=k.d.c;)x=VP(AG(k),8),d?(p1(d.a,x.a)?(t.e.a=n.Math.min(t.e.a,d.a),t.a.a=n.Math.max(t.a.a,d.a)):p1(d.b,x.b)&&(t.e.b=n.Math.min(t.e.b,d.b),t.a.b=n.Math.max(t.a.b,d.b)),d=x):d=x;BO(t.e),mN(t.a,t.e)}function pkt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;if(!e.dc()){if(r=new Ny,h=(o=n||VP(e.Xb(0),17)).c,kgt(),(u=h.i.k)!=(gct(),HUt)&&u!=ZUt&&u!=RUt&&u!=jUt)throw lw(new Xm("The target node of the edge must be a normal node or a northSouthPort."));for(_A(r,O5(P4(Zv(q9t,1),T_t,8,0,[h.i.n,h.n,h.a]))),(Mxt(),Pie).Hc(h.j)&&(d=ev(hD(Ost(h,(Lkt(),KXt)))),WK(r,new XC(O5(P4(Zv(q9t,1),T_t,8,0,[h.i.n,h.n,h.a])).a,d),r.c.b,r.c)),c=null,i=!1,s=e.Kc();s.Ob();)0!=(a=VP(s.Pb(),17).a).b&&(i?(WK(r,$I(mN(c,(CO(0!=a.b),VP(a.a.a.c,8))),.5),r.c.b,r.c),i=!1):i=!0,c=pI((CO(0!=a.b),VP(a.c.b.c,8))),M2(r,a),zq(a));f=o.d,Pie.Hc(f.j)&&(d=ev(hD(Ost(f,(Lkt(),KXt)))),WK(r,new XC(O5(P4(Zv(q9t,1),T_t,8,0,[f.i.n,f.n,f.a])).a,d),r.c.b,r.c)),_A(r,O5(P4(Zv(q9t,1),T_t,8,0,[f.i.n,f.n,f.a]))),t.d==(O6(),w3t)&&(CO(0!=r.b),g=VP(r.a.a.c,8),p=VP(knt(r,1),8),(b=new bU(i6(h.j))).a*=5,b.b*=5,w=vN(new XC(p.a,p.b),g),mN(y=new XC(DZ(b.a,w.a),DZ(b.b,w.b)),g),cR(tnt(r,1),y),CO(0!=r.b),m=VP(r.c.b.c,8),v=VP(knt(r,r.b-2),8),(b=new bU(i6(f.j))).a*=5,b.b*=5,w=vN(new XC(v.a,v.b),m),mN(x=new XC(DZ(b.a,w.a),DZ(b.b,w.b)),m),LO(r,r.b-1,x)),l=new Tyt(r),M2(o.a,fit(l))}}function bkt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L,O,D,N,P;if(v=(y=VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)).Dg(),x=y.Eg(),m=y.Cg()/2,g=y.Bg()/2,MI(y,186)&&(v+=EZ(w=VP(y,118)).i,v+=EZ(w).i),v+=m,x+=g,A=(C=VP(a1((!t.b&&(t.b=new LN(Jre,t,4,7)),t.b),0),82)).Dg(),M=C.Eg(),S=C.Cg()/2,k=C.Bg()/2,MI(C,186)&&(A+=EZ(T=VP(C,118)).i,A+=EZ(T).i),A+=S,M+=k,0==(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i)Px(),c=new oc,hV((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),c);else if((!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i>1)for(d=new oO((!t.a&&(t.a=new mj(eae,t,6,6)),t.a));d.e!=d.i.gc();)not(d);for(p=A,A>v+m?p=v+m:A<v-m&&(p=v-m),b=M,M>x+g?b=x+g:M<x-g&&(b=x-g),p>v-m&&p<v+m&&b>x-g&&b<x+g&&(p=v+m),P1(s=VP(a1((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),0),202),p),F1(s,b),_=v,v>A+S?_=A+S:v<A-S&&(_=A-S),E=x,x>M+k?E=M+k:x<M-k&&(E=M-k),_>A-S&&_<A+S&&E>M-k&&E<M+k&&(E=M+k),I1(s,_),B1(s,E),Hmt((!s.a&&(s.a=new GI(Xre,s,5)),s.a)),o=Gnt(e,5),y==C&&++o,L=_-p,N=E-b,l=.20000000298023224*n.Math.sqrt(L*L+N*N),O=L/(o+1),P=N/(o+1),I=p,D=b,u=0;u<o;u++)D+=P,(h=(I+=O)+Kft(e,24)*_Tt*l-l/2)<0?h=1:h>i&&(h=i-1),(f=D+Kft(e,24)*_Tt*l-l/2)<0?f=1:f>r&&(f=r-1),Px(),A1(a=new ac,h),M1(a,f),hV((!s.a&&(s.a=new GI(Xre,s,5)),s.a),a)}function wkt(){wkt=I,Ikt(),O0t=Fee,D0t=$ee,N0t=jee,P0t=Ree,F0t=zee,$0t=qee,z0t=Zee,H0t=Yee,Z0t=Gee,q0t=Uee,U0t=Kee,G0t=Wee,W0t=Qee,R0t=Hee,Okt(),L0t=tJt,B0t=eJt,j0t=nJt,Y0t=iJt,T0t=new BM(Oee,p8(0)),C0t=VQt,S0t=QQt,A0t=JQt,o2t=SJt,Q0t=oJt,J0t=uJt,n2t=wJt,t2t=fJt,e2t=gJt,c2t=OJt,s2t=MJt,r2t=_Jt,i2t=xJt,a2t=TJt,Q1t=qQt,J1t=HQt,m1t=JVt,v1t=nQt,s0t=new FM(12),o0t=new BM(cee,s0t),b9(),g1t=new BM(Dte,p1t=hne),b0t=new BM(xee,0),M0t=new BM(Dee,p8(1)),$Jt=new BM(vte,LSt),a0t=oee,w0t=kee,k0t=Mee,o1t=Ste,BJt=yte,E1t=$te,I0t=new BM(Bee,(EL(),!0)),M1t=zte,I1t=qte,e0t=Jte,r0t=ree,n0t=eee,e8(),s1t=new BM(Ate,u1t=nne),G1t=Vte,Y1t=Wte,v0t=Cee,m0t=Tee,x0t=Aee,Qet(),new BM(gee,l0t=rie),f0t=wee,d0t=yee,g0t=mee,h0t=bee,V0t=aJt,q1t=SQt,z1t=TQt,X0t=rJt,B1t=wQt,a1t=jVt,r1t=FVt,XJt=kVt,VJt=_Vt,JJt=AVt,QJt=EVt,i1t=PVt,Z1t=MQt,U1t=IQt,O1t=lQt,t0t=GQt,W1t=NQt,k1t=aQt,V1t=RQt,w1t=WVt,y1t=VVt,WJt=Tte,K1t=LQt,qJt=hVt,zJt=uVt,RJt=cVt,C1t=cQt,T1t=sQt,S1t=uQt,i0t=nee,D1t=Ute,x1t=Pte,f1t=Lte,h1t=Ite,t1t=LVt,y0t=Eee,jJt=Ete,A1t=Rte,p0t=vee,c0t=lee,u0t=fee,$1t=vQt,j1t=kQt,E0t=Lee,FJt=sVt,R1t=EQt,d1t=UVt,l1t=HVt,H1t=Gte,N1t=gQt,X1t=FQt,K0t=Xee,c1t=zVt,_0t=WQt,b1t=GVt,P1t=bQt,e1t=DVt,L1t=Zte,F1t=mQt,n1t=NVt,KJt=vVt,YJt=wVt,ZJt=pVt,UJt=bVt,GJt=mVt,HJt=dVt,_1t=oQt}function ykt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(hmt(),E=t.e,g=t.d,r=t.a,0==E)switch(e){case 0:return"0";case 1:return lTt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(k=new Lv).a+=e<0?"0E+":"0E",k.a+=-e,k.a}if(v=WX(Gce,lEt,25,1+(m=10*g+1+7),15,1),n=m,1==g)if((s=r[0])<0){A=ZU(s,cTt);do{p=A,A=qat(A,10),v[--n]=48+KF(t9(p,n9(A,10)))&fEt}while(0!=x7(A,0))}else{A=s;do{p=A,A=A/10|0,v[--n]=p-10*A+48&fEt}while(0!=A)}else{lmt(r,0,C=WX(Kce,CEt,25,g,15,1),0,S=g);t:for(;;){for(_=0,u=S-1;u>=0;u--)w=Got(e9(Z$(_,32),ZU(C[u],cTt))),C[u]=KF(w),_=KF(U$(w,32));y=KF(_),b=n;do{v[--n]=48+y%10&fEt}while(0!=(y=y/10|0)&&0!=n);for(i=9-b+n,c=0;c<i&&n>0;c++)v[--n]=48;for(h=S-1;0==C[h];h--)if(0==h)break t;S=h+1}for(;48==v[n];)++n}if(d=E<0,o=m-n-e-1,0==e)return d&&(v[--n]=45),Wtt(v,n,m-n);if(e>0&&o>=-6){if(o>=0){for(l=n+o,f=m-1;f>=l;f--)v[f+1]=v[f];return v[++l]=46,d&&(v[--n]=45),Wtt(v,n,m-n+1)}for(h=2;h<1-o;h++)v[--n]=48;return v[--n]=46,v[--n]=48,d&&(v[--n]=45),Wtt(v,n,m-n)}return T=n+1,a=m,x=new Ov,d&&(x.a+="-"),a-T>=1?(jR(x,v[n]),x.a+=".",x.a+=Wtt(v,n+1,m-n-1)):x.a+=Wtt(v,n,m-n),x.a+="E",o>0&&(x.a+="+"),x.a+=""+o,x.a}function mkt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;switch(t.c=e,t.g=new rw,pE(),F9(new Xd(new Gm(t.c))),y=fD(_ft(t.c,(Fst(),I8t))),s=VP(_ft(t.c,O8t),316),v=VP(_ft(t.c,D8t),429),a=VP(_ft(t.c,T8t),482),m=VP(_ft(t.c,L8t),430),t.j=ev(hD(_ft(t.c,N8t))),o=t.a,s.g){case 0:o=t.a;break;case 1:o=t.b;break;case 2:o=t.i;break;case 3:o=t.e;break;case 4:o=t.f;break;default:throw lw(new Xm(XOt+(null!=s.f?s.f:""+s.g)))}if(t.d=new pZ(o,v,a),d5(t.d,(v3(),hHt),lD(_ft(t.c,S8t))),t.d.c=tv(lD(_ft(t.c,C8t))),0==sH(t.c).i)return t.d;for(l=new YI(sH(t.c));l.e!=l.i.gc();){for(f=(u=VP(hnt(l),33)).g/2,h=u.f/2,x=new XC(u.i+f,u.j+h);Sj(t.g,x);)OO(x,(n.Math.random()-.5)*ASt,(n.Math.random()-.5)*ASt);g=VP(_ft(u,(Ikt(),Gte)),142),p=new nU(x,new mq(x.a-f-t.j/2-g.b,x.b-h-t.j/2-g.d,u.g+t.j+(g.b+g.c),u.f+t.j+(g.d+g.a))),nB(t.d.i,p),Pz(t.g,x,new mS(p,u))}switch(m.g){case 0:if(null==y)t.d.d=VP(EF(t.d.i,0),65);else for(w=new wd(t.d.i);w.a<w.c.c.length;)p=VP(qU(w),65),null!=(d=VP(VP(zR(t.g,p.a),46).b,33).zg())&&jN(d,y)&&(t.d.d=p);break;case 1:for((i=new XC(t.c.g,t.c.f)).a*=.5,i.b*=.5,OO(i,t.c.i,t.c.j),r=JEt,b=new wd(t.d.i);b.a<b.c.c.length;)(c=aV((p=VP(qU(b),65)).a,i))<r&&(r=c,t.d.d=p);break;default:throw lw(new Xm(XOt+(null!=m.f?m.f:""+m.g)))}return t.d}function vkt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(k=VP(a1((!t.a&&(t.a=new mj(eae,t,6,6)),t.a),0),202),h=new Ny,x=new rw,_=Owt(k),Qut(x.f,k,_),d=new rw,r=new T_,p=Kj(t0(P4(Zv(V$t,1),r_t,20,0,[(!e.d&&(e.d=new LN(tae,e,8,5)),e.d),(!e.e&&(e.e=new LN(tae,e,7,4)),e.e)])));Xht(p);){if(g=VP(xW(p),79),1!=(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i)throw lw(new Xm(iNt+(!t.a&&(t.a=new mj(eae,t,6,6)),t.a).i));g!=t&&(WK(r,w=VP(a1((!g.a&&(g.a=new mj(eae,g,6,6)),g.a),0),202),r.c.b,r.c),(b=VP(nA(BH(x.f,w)),12))||(b=Owt(w),Qut(x.f,w,b)),f=i?vN(new hM(VP(EF(_,_.c.length-1),8)),VP(EF(b,b.c.length-1),8)):vN(new hM((OU(0,_.c.length),VP(_.c[0],8))),(OU(0,b.c.length),VP(b.c[0],8))),Qut(d.f,w,f))}if(0!=r.b)for(y=VP(EF(_,i?_.c.length-1:0),8),l=1;l<_.c.length;l++){for(m=VP(EF(_,i?_.c.length-1-l:l),8),a=tnt(r,0);a.b!=a.d.c;)w=VP(AG(a),202),(b=VP(nA(BH(x.f,w)),12)).c.length<=l?zJ(a):(v=mN(new hM(VP(EF(b,i?b.c.length-1-l:l),8)),VP(nA(BH(d.f,w)),8)),m.a==v.a&&m.b==v.b||(o=m.a-y.a,c=m.b-y.b,(s=v.a-y.a)*c==(u=v.b-y.b)*o&&(0==o||isNaN(o)?o:o<0?-1:1)==(0==s||isNaN(s)?s:s<0?-1:1)&&(0==c||isNaN(c)?c:c<0?-1:1)==(0==u||isNaN(u)?u:u<0?-1:1)?(n.Math.abs(o)<n.Math.abs(s)||n.Math.abs(c)<n.Math.abs(u))&&WK(h,m,h.c.b,h.c):l>1&&WK(h,y,h.c.b,h.c),zJ(a)));y=m}return h}function xkt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(i=new iw,s=new iw,b=e/2,d=t.gc(),r=VP(t.Xb(0),8),w=VP(t.Xb(1),8),nB(i,(OU(0,(g=kft(r.a,r.b,w.a,w.b,b)).c.length),VP(g.c[0],8))),nB(s,(OU(1,g.c.length),VP(g.c[1],8))),u=2;u<d;u++)p=r,r=w,w=VP(t.Xb(u),8),nB(i,(OU(1,(g=kft(r.a,r.b,p.a,p.b,b)).c.length),VP(g.c[1],8))),nB(s,(OU(0,g.c.length),VP(g.c[0],8))),nB(i,(OU(0,(g=kft(r.a,r.b,w.a,w.b,b)).c.length),VP(g.c[0],8))),nB(s,(OU(1,g.c.length),VP(g.c[1],8)));for(nB(i,(OU(1,(g=kft(w.a,w.b,r.a,r.b,b)).c.length),VP(g.c[1],8))),nB(s,(OU(0,g.c.length),VP(g.c[0],8))),n=new Ny,o=new iw,$B(n,(OU(0,i.c.length),VP(i.c[0],8))),l=1;l<i.c.length-2;l+=2)OU(l,i.c.length),a=VP(i.c[l],8),f=Aut((OU(l-1,i.c.length),VP(i.c[l-1],8)),a,(OU(l+1,i.c.length),VP(i.c[l+1],8)),(OU(l+2,i.c.length),VP(i.c[l+2],8))),isFinite(f.a)&&isFinite(f.b)?WK(n,f,n.c.b,n.c):WK(n,a,n.c.b,n.c);for($B(n,VP(EF(i,i.c.length-1),8)),nB(o,(OU(0,s.c.length),VP(s.c[0],8))),h=1;h<s.c.length-2;h+=2)OU(h,s.c.length),a=VP(s.c[h],8),f=Aut((OU(h-1,s.c.length),VP(s.c[h-1],8)),a,(OU(h+1,s.c.length),VP(s.c[h+1],8)),(OU(h+2,s.c.length),VP(s.c[h+2],8))),isFinite(f.a)&&isFinite(f.b)?o.c[o.c.length]=f:o.c[o.c.length]=a;for(nB(o,VP(EF(s,s.c.length-1),8)),c=o.c.length-1;c>=0;c--)$B(n,(OU(c,o.c.length),VP(o.c[c],8)));return n}function kkt(t){var e,n,i;if(t.d>=t.j)return t.a=-1,void(t.c=1);if(e=Gz(t.i,t.d++),t.a=e,1!=t.b){switch(e){case 124:i=2;break;case 42:i=3;break;case 43:i=4;break;case 63:i=5;break;case 41:i=7;break;case 46:i=8;break;case 91:i=9;break;case 94:i=11;break;case 36:i=12;break;case 40:if(i=6,t.d>=t.j)break;if(63!=Gz(t.i,t.d))break;if(++t.d>=t.j)throw lw(new gv(jkt((ZM(),DPt))));switch(e=Gz(t.i,t.d++)){case 58:i=13;break;case 61:i=14;break;case 33:i=15;break;case 91:i=19;break;case 62:i=18;break;case 60:if(t.d>=t.j)throw lw(new gv(jkt((ZM(),DPt))));if(61==(e=Gz(t.i,t.d++)))i=16;else{if(33!=e)throw lw(new gv(jkt((ZM(),NPt))));i=17}break;case 35:for(;t.d<t.j&&41!=(e=Gz(t.i,t.d++)););if(41!=e)throw lw(new gv(jkt((ZM(),PPt))));i=21;break;default:if(45==e||97<=e&&e<=122||65<=e&&e<=90){--t.d,i=22;break}if(40==e){i=23;break}throw lw(new gv(jkt((ZM(),DPt))))}break;case 92:if(i=10,t.d>=t.j)throw lw(new gv(jkt((ZM(),OPt))));t.a=Gz(t.i,t.d++);break;default:i=0}t.c=i}else{switch(e){case 92:if(i=10,t.d>=t.j)throw lw(new gv(jkt((ZM(),OPt))));t.a=Gz(t.i,t.d++);break;case 45:512==(512&t.e)&&t.d<t.j&&91==Gz(t.i,t.d)?(++t.d,i=24):i=0;break;case 91:if(512!=(512&t.e)&&t.d<t.j&&58==Gz(t.i,t.d)){++t.d,i=20;break}default:(64512&e)==rTt&&t.d<t.j&&56320==(64512&(n=Gz(t.i,t.d)))&&(t.a=iTt+(e-rTt<<10)+n-56320,++t.d),i=0}t.c=i}}function _kt(t,e,n){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;if(ast(n,"Coffman-Graham Layering",1),0!=e.a.c.length){for(k=VP(Ost(e,(wkt(),N1t)),19).a,c=0,o=0,d=new wd(e.a);d.a<d.c.c.length;)for((f=VP(qU(d),10)).p=c++,a=new O$(dL(c9(f).a.Kc(),new l));Xht(a);)(r=VP(xW(a),17)).p=o++;for(t.d=WX(Wce,pCt,25,c,16,1),t.a=WX(Wce,pCt,25,o,16,1),t.b=WX(Kce,CEt,25,c,15,1),t.e=WX(Kce,CEt,25,c,15,1),t.f=WX(Kce,CEt,25,c,15,1),y0(t.c),function(t,e){var n,i,r;for(r=new wd(e.a);r.a<r.c.c.length;)for(i=VP(qU(r),10),cv(t.d),n=new O$(dL(c9(i).a.Kc(),new l));Xht(n);)Pht(t,i,VP(xW(n),17).d.i)}(t,e),p=new lj(new ap(t)),x=new wd(e.a);x.a<x.c.c.length;){for(a=new O$(dL(s9(m=VP(qU(x),10)).a.Kc(),new l));Xht(a);)r=VP(xW(a),17),t.a[r.p]||++t.b[m.p];0==t.b[m.p]&&QX(vst(p,m))}for(s=0;0!=p.b.c.length;)for(m=VP(VQ(p),10),t.f[m.p]=s++,a=new O$(dL(c9(m).a.Kc(),new l));Xht(a);)r=VP(xW(a),17),t.a[r.p]||(w=r.d.i,--t.b[w.p],Vlt(t.c,w,p8(t.f[m.p])),0==t.b[w.p]&&QX(vst(p,w)));for(g=new lj(new op(t)),v=new wd(e.a);v.a<v.c.c.length;){for(a=new O$(dL(c9(m=VP(qU(v),10)).a.Kc(),new l));Xht(a);)r=VP(xW(a),17),t.a[r.p]||++t.e[m.p];0==t.e[m.p]&&QX(vst(g,m))}for(i=TU(e,h=new iw);0!=g.b.c.length;)for(y=VP(VQ(g),10),(i.a.c.length>=k||!Htt(y,i))&&(i=TU(e,h)),QZ(y,i),a=new O$(dL(s9(y).a.Kc(),new l));Xht(a);)r=VP(xW(a),17),t.a[r.p]||(b=r.c.i,--t.e[b.p],0==t.e[b.p]&&QX(vst(g,b)));for(u=h.c.length-1;u>=0;--u)nB(e.b,(OU(u,h.c.length),VP(h.c[u],29)));e.a.c=WX(G$t,r_t,1,0,5,1),$ct(n)}else $ct(n)}function Ekt(t){var e,n,i,r,a,o,s,c;for(t.b=1,kkt(t),e=null,0==t.c&&94==t.a?(kkt(t),Nkt(),Nkt(),Ygt(e=new aY(4),0,_$t),o=new aY(4)):(Nkt(),Nkt(),o=new aY(4)),r=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!r){e&&(Rvt(e,o),o=e);break}if(n=t.a,i=!1,10==c)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:fmt(o,awt(n)),i=!0;break;case 105:case 73:case 99:case 67:fmt(o,awt(n)),(n=-1)<0&&(i=!0);break;case 112:case 80:if(!(s=Hlt(t,n)))throw lw(new gv(jkt((ZM(),YPt))));fmt(o,s),i=!0;break;default:n=Tpt(t)}else if(24==c&&!r){if(e&&(Rvt(e,o),o=e),Rvt(o,Ekt(t)),0!=t.c||93!=t.a)throw lw(new gv(jkt((ZM(),XPt))));break}if(kkt(t),!i){if(0==c){if(91==n)throw lw(new gv(jkt((ZM(),VPt))));if(93==n)throw lw(new gv(jkt((ZM(),QPt))));if(45==n&&!r&&93!=t.a)throw lw(new gv(jkt((ZM(),JPt))))}if(0!=t.c||45!=t.a||45==n&&r)Ygt(o,n,n);else{if(kkt(t),1==(c=t.c))throw lw(new gv(jkt((ZM(),KPt))));if(0==c&&93==t.a)Ygt(o,n,n),Ygt(o,45,45);else{if(0==c&&93==t.a||24==c)throw lw(new gv(jkt((ZM(),JPt))));if(a=t.a,0==c){if(91==a)throw lw(new gv(jkt((ZM(),VPt))));if(93==a)throw lw(new gv(jkt((ZM(),QPt))));if(45==a)throw lw(new gv(jkt((ZM(),JPt))))}else 10==c&&(a=Tpt(t));if(kkt(t),n>a)throw lw(new gv(jkt((ZM(),nBt))));Ygt(o,n,a)}}}r=!1}if(1==t.c)throw lw(new gv(jkt((ZM(),KPt))));return Bft(o),Nmt(o),t.b=0,kkt(t),o}function Tkt(){Tkt=I,dkt(),Vlt(OUt=new JH,(Mxt(),Iie),Mie),Vlt(OUt,Rie,Mie),Vlt(OUt,Lie,Mie),Vlt(OUt,Fie,Mie),Vlt(OUt,Bie,Mie),Vlt(OUt,Nie,Mie),Vlt(OUt,Fie,Iie),Vlt(OUt,Mie,Tie),Vlt(OUt,Iie,Tie),Vlt(OUt,Rie,Tie),Vlt(OUt,Lie,Tie),Vlt(OUt,Pie,Tie),Vlt(OUt,Fie,Tie),Vlt(OUt,Bie,Tie),Vlt(OUt,Nie,Tie),Vlt(OUt,Aie,Tie),Vlt(OUt,Mie,$ie),Vlt(OUt,Iie,$ie),Vlt(OUt,Tie,$ie),Vlt(OUt,Rie,$ie),Vlt(OUt,Lie,$ie),Vlt(OUt,Pie,$ie),Vlt(OUt,Fie,$ie),Vlt(OUt,Aie,$ie),Vlt(OUt,jie,$ie),Vlt(OUt,Bie,$ie),Vlt(OUt,Oie,$ie),Vlt(OUt,Nie,$ie),Vlt(OUt,Iie,Rie),Vlt(OUt,Lie,Rie),Vlt(OUt,Fie,Rie),Vlt(OUt,Nie,Rie),Vlt(OUt,Iie,Lie),Vlt(OUt,Rie,Lie),Vlt(OUt,Fie,Lie),Vlt(OUt,Lie,Lie),Vlt(OUt,Bie,Lie),Vlt(OUt,Mie,Cie),Vlt(OUt,Iie,Cie),Vlt(OUt,Tie,Cie),Vlt(OUt,$ie,Cie),Vlt(OUt,Rie,Cie),Vlt(OUt,Lie,Cie),Vlt(OUt,Pie,Cie),Vlt(OUt,Fie,Cie),Vlt(OUt,jie,Cie),Vlt(OUt,Aie,Cie),Vlt(OUt,Nie,Cie),Vlt(OUt,Bie,Cie),Vlt(OUt,Die,Cie),Vlt(OUt,Mie,jie),Vlt(OUt,Iie,jie),Vlt(OUt,Tie,jie),Vlt(OUt,Rie,jie),Vlt(OUt,Lie,jie),Vlt(OUt,Pie,jie),Vlt(OUt,Fie,jie),Vlt(OUt,Aie,jie),Vlt(OUt,Nie,jie),Vlt(OUt,Oie,jie),Vlt(OUt,Die,jie),Vlt(OUt,Iie,Aie),Vlt(OUt,Rie,Aie),Vlt(OUt,Lie,Aie),Vlt(OUt,Fie,Aie),Vlt(OUt,jie,Aie),Vlt(OUt,Nie,Aie),Vlt(OUt,Bie,Aie),Vlt(OUt,Mie,Sie),Vlt(OUt,Iie,Sie),Vlt(OUt,Tie,Sie),Vlt(OUt,Rie,Sie),Vlt(OUt,Lie,Sie),Vlt(OUt,Pie,Sie),Vlt(OUt,Fie,Sie),Vlt(OUt,Aie,Sie),Vlt(OUt,Nie,Sie),Vlt(OUt,Iie,Bie),Vlt(OUt,Tie,Bie),Vlt(OUt,$ie,Bie),Vlt(OUt,Lie,Bie),Vlt(OUt,Mie,Oie),Vlt(OUt,Iie,Oie),Vlt(OUt,$ie,Oie),Vlt(OUt,Rie,Oie),Vlt(OUt,Lie,Oie),Vlt(OUt,Pie,Oie),Vlt(OUt,Fie,Oie),Vlt(OUt,Fie,Die),Vlt(OUt,Lie,Die),Vlt(OUt,Aie,Mie),Vlt(OUt,Aie,Rie),Vlt(OUt,Aie,Tie),Vlt(OUt,Pie,Mie),Vlt(OUt,Pie,Iie),Vlt(OUt,Pie,$ie)}function Ckt(t,e){switch(t.e){case 0:case 2:case 4:case 6:case 42:case 44:case 46:case 48:case 8:case 10:case 12:case 14:case 16:case 18:case 20:case 22:case 24:case 26:case 28:case 30:case 32:case 34:case 36:case 38:return new nH(t.b,t.a,e,t.c);case 1:return new KI(t.a,e,ett(e.Tg(),t.c));case 43:return new XI(t.a,e,ett(e.Tg(),t.c));case 3:return new GI(t.a,e,ett(e.Tg(),t.c));case 45:return new WI(t.a,e,ett(e.Tg(),t.c));case 41:return new vV(VP(fat(t.c),26),t.a,e,ett(e.Tg(),t.c));case 50:return new k0(VP(fat(t.c),26),t.a,e,ett(e.Tg(),t.c));case 5:return new EN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 47:return new TN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 7:return new mj(t.a,e,ett(e.Tg(),t.c),t.d.n);case 49:return new _N(t.a,e,ett(e.Tg(),t.c),t.d.n);case 9:return new eL(t.a,e,ett(e.Tg(),t.c));case 11:return new tL(t.a,e,ett(e.Tg(),t.c));case 13:return new JI(t.a,e,ett(e.Tg(),t.c));case 15:return new MB(t.a,e,ett(e.Tg(),t.c));case 17:return new nL(t.a,e,ett(e.Tg(),t.c));case 19:return new QI(t.a,e,ett(e.Tg(),t.c));case 21:return new VI(t.a,e,ett(e.Tg(),t.c));case 23:return new EB(t.a,e,ett(e.Tg(),t.c));case 25:return new ON(t.a,e,ett(e.Tg(),t.c),t.d.n);case 27:return new LN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 29:return new MN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 31:return new CN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 33:return new IN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 35:return new AN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 37:return new SN(t.a,e,ett(e.Tg(),t.c),t.d.n);case 39:return new vj(t.a,e,ett(e.Tg(),t.c),t.d.n);case 40:return new n3(e,ett(e.Tg(),t.c));default:throw lw(new Am("Unknown feature style: "+t.e))}}function Skt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;switch(ast(i,"Brandes & Koepf node placement",1),t.a=e,t.c=syt(e),r=VP(Ost(e,(wkt(),W1t)),274),g=tv(lD(Ost(e,X1t))),t.d=r==(Wat(),hWt)&&!g||r==cWt,function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;if(!((p=e.b.c.length)<3)){for(d=WX(Kce,CEt,25,p,15,1),h=0,l=new wd(e.b);l.a<l.c.c.length;)u=VP(qU(l),29),d[h++]=u.a.c.length;for(f=new QY(e.b,2),i=1;i<p-1;i++)for(CO(f.b<f.d.gc()),g=new wd((n=VP(f.d.Xb(f.c=f.b++),29)).a),a=0,s=0,c=0;c<d[i+1];c++)if(m=VP(qU(g),10),c==d[i+1]-1||Uct(t,m,i+1,i)){for(o=d[i]-1,Uct(t,m,i+1,i)&&(o=t.c.e[VP(VP(VP(EF(t.c.b,m.p),15).Xb(0),46).a,10).p]);s<=c;){if(!Uct(t,y=VP(EF(n.a,s),10),i+1,i))for(w=VP(EF(t.c.b,y.p),15).Kc();w.Ob();)b=VP(w.Pb(),46),((r=t.c.e[VP(b.a,10).p])<a||r>o)&&jj(t.b,VP(b.b,17));++s}a=o}}}(t,e),x=null,k=null,w=null,y=null,b0(4,G_t),b=new wX(4),VP(Ost(e,W1t),274).g){case 3:w=new qbt(e,t.c.d,(FZ(),m4t),(QH(),p4t)),b.c[b.c.length]=w;break;case 1:y=new qbt(e,t.c.d,(FZ(),v4t),(QH(),p4t)),b.c[b.c.length]=y;break;case 4:x=new qbt(e,t.c.d,(FZ(),m4t),(QH(),b4t)),b.c[b.c.length]=x;break;case 2:k=new qbt(e,t.c.d,(FZ(),v4t),(QH(),b4t)),b.c[b.c.length]=k;break;default:w=new qbt(e,t.c.d,(FZ(),m4t),(QH(),p4t)),y=new qbt(e,t.c.d,v4t,p4t),x=new qbt(e,t.c.d,m4t,b4t),k=new qbt(e,t.c.d,v4t,b4t),b.c[b.c.length]=x,b.c[b.c.length]=k,b.c[b.c.length]=w,b.c[b.c.length]=y}for(a=new xC(e,t.c),c=new wd(b);c.a<c.c.c.length;)okt(a,o=VP(qU(c),180),t.b),emt(o);for(d=new Urt(e,t.c),u=new wd(b);u.a<u.c.c.length;)lxt(d,o=VP(qU(u),180));if(i.n)for(l=new wd(b);l.a<l.c.c.length;)DB(i,(o=VP(qU(l),180))+" size is "+Oft(o));if(f=null,t.d&&qyt(e,h=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(y=e.c.length,a=new qbt(t.a,i,null,null),_=WX(Qce,aTt,25,y,15,1),g=WX(Qce,aTt,25,y,15,1),d=WX(Qce,aTt,25,y,15,1),p=0,c=0;c<y;c++)g[c]=Qkt,d[c]=eEt;for(u=0;u<y;u++)for(OU(u,e.c.length),r=VP(e.c[u],180),_[u]=Oft(r),_[p]>_[u]&&(p=u),h=new wd(t.a.b);h.a<h.c.c.length;)for(w=new wd(VP(qU(h),29).a);w.a<w.c.c.length;)b=VP(qU(w),10),x=ev(r.p[b.p])+ev(r.d[b.p]),g[u]=n.Math.min(g[u],x),d[u]=n.Math.max(d[u],x+b.o.b);for(k=WX(Qce,aTt,25,y,15,1),l=0;l<y;l++)(OU(l,e.c.length),VP(e.c[l],180)).o==(FZ(),m4t)?k[l]=g[p]-g[l]:k[l]=d[p]-d[l];for(o=WX(Qce,aTt,25,y,15,1),f=new wd(t.a.b);f.a<f.c.c.length;)for(v=new wd(VP(qU(f),29).a);v.a<v.c.c.length;){for(m=VP(qU(v),10),s=0;s<y;s++)o[s]=ev((OU(s,e.c.length),VP(e.c[s],180)).p[m.p])+ev((OU(s,e.c.length),VP(e.c[s],180)).d[m.p])+k[s];o.sort(h1(E.prototype.te,E,[])),a.p[m.p]=(o[1]+o[2])/2,a.d[m.p]=0}return a}(t,b,t.c.d),i)&&(f=h),!f)for(l=new wd(b);l.a<l.c.c.length;)qyt(e,o=VP(qU(l),180),i)&&(!f||Oft(f)>Oft(o))&&(f=o);for(!f&&(OU(0,b.c.length),f=VP(b.c[0],180)),p=new wd(e.b);p.a<p.c.c.length;)for(v=new wd(VP(qU(p),29).a);v.a<v.c.c.length;)(m=VP(qU(v),10)).n.b=ev(f.p[m.p])+ev(f.d[m.p]);for(i.n&&(DB(i,"Chosen node placement: "+f),DB(i,"Blocks: "+Tht(f)),DB(i,"Classes: "+function(t,e){var n,i,r,a,o;for(i=new dK,a=vK(new ov(t.g)).a.ec().Kc();a.Ob();){if(!(r=VP(a.Pb(),10))){DB(e,"There are no classes in a balanced layout.");break}(n=VP(YQ(i,o=t.j[r.p]),15))||Uet(i,o,n=new iw),n.Fc(r)}return i}(f,i)),DB(i,"Marked edges: "+t.b)),s=new wd(b);s.a<s.c.c.length;)(o=VP(qU(s),180)).g=null,o.b=null,o.a=null,o.d=null,o.j=null,o.i=null,o.p=null;(function(t){t.a=null,t.e=null,t.b.c=WX(G$t,r_t,1,0,5,1),t.f.c=WX(G$t,r_t,1,0,5,1),t.c=null})(t.c),t.b.a.$b(),$ct(i)}function Akt(t,e,i,r,a,o){var s,c,u,l,h,f,d;switch(e){case 71:s=r.q.getFullYear()-TEt>=-1900?1:0,vA(t,i>=4?P4(Zv(fRt,1),T_t,2,6,[SEt,AEt])[s]:P4(Zv(fRt,1),T_t,2,6,["BC","AD"])[s]);break;case 121:!function(t,e,n){var i;switch((i=n.q.getFullYear()-TEt+TEt)<0&&(i=-i),e){case 1:t.a+=i;break;case 2:eJ(t,i%100,2);break;default:eJ(t,i,e)}}(t,i,r);break;case 77:!function(t,e,n){var i;switch(i=n.q.getMonth(),e){case 5:vA(t,P4(Zv(fRt,1),T_t,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[i]);break;case 4:vA(t,P4(Zv(fRt,1),T_t,2,6,[dEt,gEt,pEt,bEt,wEt,yEt,mEt,vEt,xEt,kEt,_Et,EEt])[i]);break;case 3:vA(t,P4(Zv(fRt,1),T_t,2,6,["Jan","Feb","Mar","Apr",wEt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[i]);break;default:eJ(t,i+1,e)}}(t,i,r);break;case 107:eJ(t,0==(c=a.q.getHours())?24:c,i);break;case 83:!function(t,e,i){var r,a;x7(r=B3(i.q.getTime()),0)<0?(a=hEt-KF(Ctt(uQ(r),hEt)))==hEt&&(a=0):a=KF(Ctt(r,hEt)),1==e?jR(t,48+(a=n.Math.min((a+50)/100|0,9))&fEt):2==e?eJ(t,a=n.Math.min((a+5)/10|0,99),2):(eJ(t,a,3),e>3&&eJ(t,0,e-3))}(t,i,a);break;case 69:u=r.q.getDay(),vA(t,5==i?P4(Zv(fRt,1),T_t,2,6,["S","M","T","W","T","F","S"])[u]:4==i?P4(Zv(fRt,1),T_t,2,6,[MEt,IEt,LEt,OEt,DEt,NEt,PEt])[u]:P4(Zv(fRt,1),T_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[u]);break;case 97:a.q.getHours()>=12&&a.q.getHours()<24?vA(t,P4(Zv(fRt,1),T_t,2,6,["AM","PM"])[1]):vA(t,P4(Zv(fRt,1),T_t,2,6,["AM","PM"])[0]);break;case 104:eJ(t,0==(l=a.q.getHours()%12)?12:l,i);break;case 75:eJ(t,a.q.getHours()%12,i);break;case 72:eJ(t,a.q.getHours(),i);break;case 99:h=r.q.getDay(),5==i?vA(t,P4(Zv(fRt,1),T_t,2,6,["S","M","T","W","T","F","S"])[h]):4==i?vA(t,P4(Zv(fRt,1),T_t,2,6,[MEt,IEt,LEt,OEt,DEt,NEt,PEt])[h]):3==i?vA(t,P4(Zv(fRt,1),T_t,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[h]):eJ(t,h,1);break;case 76:f=r.q.getMonth(),5==i?vA(t,P4(Zv(fRt,1),T_t,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[f]):4==i?vA(t,P4(Zv(fRt,1),T_t,2,6,[dEt,gEt,pEt,bEt,wEt,yEt,mEt,vEt,xEt,kEt,_Et,EEt])[f]):3==i?vA(t,P4(Zv(fRt,1),T_t,2,6,["Jan","Feb","Mar","Apr",wEt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[f]):eJ(t,f+1,i);break;case 81:d=r.q.getMonth()/3|0,vA(t,i<4?P4(Zv(fRt,1),T_t,2,6,["Q1","Q2","Q3","Q4"])[d]:P4(Zv(fRt,1),T_t,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[d]);break;case 100:eJ(t,r.q.getDate(),i);break;case 109:eJ(t,a.q.getMinutes(),i);break;case 115:eJ(t,a.q.getSeconds(),i);break;case 122:vA(t,i<4?o.c[0]:o.c[1]);break;case 118:vA(t,o.b);break;case 90:vA(t,i<3?function(t){var e,n;return n=-t.a,e=P4(Zv(Gce,1),lEt,25,15,[43,48,48,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&fEt,e[2]=e[2]+(n/60|0)%10&fEt,e[3]=e[3]+(n%60/10|0)&fEt,e[4]=e[4]+n%10&fEt,Wtt(e,0,e.length)}(o):3==i?function(t){var e,n;return n=-t.a,e=P4(Zv(Gce,1),lEt,25,15,[43,48,48,58,48,48]),n<0&&(e[0]=45,n=-n),e[1]=e[1]+((n/60|0)/10|0)&fEt,e[2]=e[2]+(n/60|0)%10&fEt,e[4]=e[4]+(n%60/10|0)&fEt,e[5]=e[5]+n%10&fEt,Wtt(e,0,e.length)}(o):function(t){var e;return e=P4(Zv(Gce,1),lEt,25,15,[71,77,84,45,48,48,58,48,48]),t<=0&&(e[3]=43,t=-t),e[4]=e[4]+((t/60|0)/10|0)&fEt,e[5]=e[5]+(t/60|0)%10&fEt,e[7]=e[7]+(t%60/10|0)&fEt,e[8]=e[8]+t%10&fEt,Wtt(e,0,e.length)}(o.a));break;default:return!1}return!0}function Mkt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(bbt(e),c=VP(a1((!e.b&&(e.b=new LN(Jre,e,4,7)),e.b),0),82),l=VP(a1((!e.c&&(e.c=new LN(Jre,e,5,8)),e.c),0),82),s=rst(c),u=rst(l),o=0==(!e.a&&(e.a=new mj(eae,e,6,6)),e.a).i?null:VP(a1((!e.a&&(e.a=new mj(eae,e,6,6)),e.a),0),202),k=VP(zR(t.a,s),10),C=VP(zR(t.a,u),10),_=null,S=null,MI(c,186)&&(MI(x=VP(zR(t.a,c),299),11)?_=VP(x,11):MI(x,10)&&(k=VP(x,10),_=VP(EF(k.j,0),11))),MI(l,186)&&(MI(T=VP(zR(t.a,l),299),11)?S=VP(T,11):MI(T,10)&&(C=VP(T,10),S=VP(EF(C.j,0),11))),!k||!C)throw lw(new dv("The source or the target of edge "+e+" could not be found. This usually happens when an edge connects a node laid out by ELK Layered to a node in another level of hierarchy laid out by either another instance of ELK Layered or another layout algorithm alltogether. The former can be solved by setting the hierarchyHandling option to INCLUDE_CHILDREN."));for(c4(p=new kH,e),d5(p,(Lkt(),IXt),e),d5(p,(wkt(),D1t),null),d=VP(Ost(i,gXt),21),k==C&&d.Fc((ipt(),DWt)),_||(l0(),v=r3t,E=null,o&&pM(VP(Ost(k,w0t),98))&&(GG(E=new XC(o.j,o.k),_Z(e)),YK(E,n),GJ(u,s)&&(v=i3t,mN(E,k.n))),_=bmt(k,E,v,i)),S||(l0(),v=i3t,A=null,o&&pM(VP(Ost(C,w0t),98))&&(GG(A=new XC(o.b,o.c),_Z(e)),YK(A,n)),S=bmt(C,A,v,pz(C))),VZ(p,_),XZ(p,S),(_.e.c.length>1||_.g.c.length>1||S.e.c.length>1||S.g.c.length>1)&&d.Fc((ipt(),AWt)),f=new YI((!e.n&&(e.n=new mj(oae,e,1,7)),e.n));f.e!=f.i.gc();)if(!tv(lD(_ft(h=VP(hnt(f),137),a0t)))&&h.a)switch(b=p7(h),nB(p.b,b),VP(Ost(b,f1t),272).g){case 1:case 2:d.Fc((ipt(),CWt));break;case 0:d.Fc((ipt(),EWt)),d5(b,f1t,(JJ(),one))}if(a=VP(Ost(i,r1t),314),w=VP(Ost(i,t0t),315),r=a==(I0(),EKt)||w==(sit(),O2t),o&&0!=(!o.a&&(o.a=new GI(Xre,o,5)),o.a).i&&r){for(y=jct(o),g=new Ny,m=tnt(y,0);m.b!=m.d.c;)$B(g,new hM(VP(AG(m),8)));d5(p,LXt,g)}return p}function Ikt(){var t,e;Ikt=I,wte=new Ib(IDt),Nee=new Ib(LDt),Znt(),yte=new RA(lLt,mte=H9t),new ew,vte=new RA(hSt,null),xte=new Ib(ODt),bot(),Cte=e$(gte,P4(Zv(rne,1),K_t,291,0,[lte])),Tte=new RA(_Lt,Cte),Ste=new RA(uLt,(EL(),!1)),e8(),Ate=new RA(gLt,Mte=nne),b9(),Dte=new RA(BIt,Nte=gne),Fte=new RA(GOt,!1),I7(),$te=new RA(LIt,jte=Dne),uee=new FM(12),cee=new RA(fSt,uee),Hte=new RA($St,!1),Zte=new RA(PLt,!1),see=new RA(zSt,!1),$ot(),kee=new RA(jSt,_ee=fie),Lee=new Ib(OLt),Oee=new Ib(DSt),Dee=new Ib(BSt),Bee=new Ib(FSt),Yte=new Ny,Ute=new RA(ELt,Yte),Ete=new RA(SLt,!1),Rte=new RA(ALt,!1),new Ib(DDt),Kte=new Ty,Gte=new RA(DLt,Kte),oee=new RA(sLt,!1),new ew,Pee=new RA(NDt,1),new RA(PDt,!0),p8(0),new RA(BDt,p8(100)),new RA(FDt,!1),p8(0),new RA($Dt,p8(4e3)),p8(0),new RA(jDt,p8(400)),new RA(RDt,!1),new RA(zDt,!1),new RA(qDt,!0),new RA(HDt,!1),stt(),kte=new RA(MDt,_te=wre),Fee=new RA(WIt,10),$ee=new RA(XIt,10),jee=new RA(uSt,20),Ree=new RA(VIt,10),zee=new RA(PSt,2),qee=new RA(QIt,10),Zee=new RA(JIt,0),Uee=new RA(nLt,5),Yee=new RA(tLt,1),Gee=new RA(eLt,1),Kee=new RA(NSt,20),Wee=new RA(iLt,10),Qee=new RA(rLt,10),Hee=new Ib(aLt),Vee=new uM,Xee=new RA(NLt,Vee),fee=new Ib(LLt),lee=new RA(ILt,hee=!1),Xte=new FM(5),Wte=new RA(pLt,Xte),Eft(),e=VP(Lx(aie),9),Qte=new aP(e,VP(nN(e,e.length),9),0),Vte=new RA(ZSt,Qte),Qet(),gee=new RA(yLt,pee=nie),wee=new Ib(mLt),yee=new Ib(vLt),mee=new Ib(xLt),bee=new Ib(kLt),t=VP(Lx(fre),9),tee=new aP(t,VP(nN(t,t.length),9),0),Jte=new RA(HSt,tee),aee=Q8((Xbt(),are)),ree=new RA(qSt,aee),iee=new XC(0,0),nee=new RA(iAt,iee),eee=new RA(dLt,!1),JJ(),Lte=new RA(TLt,Ote=one),Ite=new RA(RSt,!1),new Ib(ZDt),p8(1),new RA(UDt,null),vee=new Ib(MLt),Eee=new Ib(CLt),Mxt(),Mee=new RA(cLt,Iee=qie),xee=new Ib(oLt),Ilt(),See=Q8(mie),Cee=new RA(USt,See),Tee=new RA(bLt,!1),Aee=new RA(wLt,!0),zte=new RA(hLt,!1),qte=new RA(fLt,!1),Pte=new RA(lSt,1),mst(),new RA(YDt,Bte=xne),dee=!0}function Lkt(){var t,e;Lkt=I,IXt=new Ib(YSt),eXt=new Ib("coordinateOrigin"),RXt=new Ib("processors"),tXt=new jD("compoundNode",(EL(),!1)),wXt=new jD("insideConnections",!1),LXt=new Ib("originalBendpoints"),OXt=new Ib("originalDummyNodePosition"),DXt=new Ib("originalLabelEdge"),qXt=new Ib("representedLabels"),oXt=new Ib("endLabels"),sXt=new Ib("endLabel.origin"),kXt=new jD("labelSide",(zrt(),Rne)),AXt=new jD("maxEdgeThickness",0),HXt=new jD("reversed",!1),zXt=new Ib(GSt),TXt=new jD("longEdgeSource",null),CXt=new jD("longEdgeTarget",null),EXt=new jD("longEdgeHasLabelDummies",!1),_Xt=new jD("longEdgeBeforeLabelDummy",!1),aXt=new jD("edgeConstraint",(i5(),YKt)),mXt=new Ib("inLayerLayoutUnit"),yXt=new jD("inLayerConstraint",(LQ(),qWt)),vXt=new jD("inLayerSuccessorConstraint",new iw),xXt=new jD("inLayerSuccessorConstraintBetweenNonDummies",!1),$Xt=new Ib("portDummy"),nXt=new jD("crossingHint",p8(0)),gXt=new jD("graphProperties",new aP(e=VP(Lx(jWt),9),VP(nN(e,e.length),9),0)),hXt=new jD("externalPortSide",(Mxt(),qie)),fXt=new jD("externalPortSize",new Sx),uXt=new Ib("externalPortReplacedDummies"),lXt=new Ib("externalPortReplacedDummy"),cXt=new jD("externalPortConnections",new aP(t=VP(Lx(ere),9),VP(nN(t,t.length),9),0)),jXt=new jD(LCt,0),XWt=new Ib("barycenterAssociates"),JXt=new Ib("TopSideComments"),VWt=new Ib("BottomSideComments"),JWt=new Ib("CommentConnectionPort"),bXt=new jD("inputCollect",!1),BXt=new jD("outputCollect",!1),rXt=new jD("cyclic",!1),iXt=new Ib("crossHierarchyMap"),QXt=new Ib("targetOffset"),new jD("splineLabelSize",new Sx),YXt=new Ib("spacings"),FXt=new jD("partitionConstraint",!1),QWt=new Ib("breakingPoint.info"),XXt=new Ib("splines.survivingEdge"),WXt=new Ib("splines.route.start"),GXt=new Ib("splines.edgeChain"),PXt=new Ib("originalPortConstraints"),UXt=new Ib("selfLoopHolder"),KXt=new Ib("splines.nsPortY"),MXt=new Ib("modelOrder"),SXt=new Ib("longEdgeTargetNode"),dXt=new jD(sMt,!1),ZXt=new jD(sMt,!1),pXt=new Ib("layerConstraints.hiddenNodes"),NXt=new Ib("layerConstraints.opposidePort"),VXt=new Ib("targetNode.modelOrder")}function Okt(){Okt=I,hJ(),zVt=new RA(cMt,qVt=zKt),aQt=new RA(uMt,(EL(),!1)),pG(),lQt=new RA(lMt,hQt=YWt),MQt=new RA(hMt,!1),IQt=new RA(fMt,!0),sVt=new RA(dMt,!1),OQ(),WQt=new RA(gMt,XQt=J2t),p8(1),rJt=new RA(pMt,p8(7)),aJt=new RA(bMt,!1),oQt=new RA(wMt,!1),vit(),jVt=new RA(yMt,RVt=PKt),est(),SQt=new RA(mMt,AQt=b2t),p9(),wQt=new RA(vMt,yQt=rVt),p8(-1),bQt=new RA(xMt,p8(-1)),p8(-1),mQt=new RA(kMt,p8(-1)),p8(-1),vQt=new RA(_Mt,p8(4)),p8(-1),kQt=new RA(EMt,p8(2)),Rdt(),TQt=new RA(TMt,CQt=Z2t),p8(0),EQt=new RA(CMt,p8(0)),gQt=new RA(SMt,p8(Qkt)),I0(),FVt=new RA(AMt,$Vt=TKt),kVt=new RA(MMt,!1),LVt=new RA(IMt,.1),PVt=new RA(LMt,!1),p8(-1),DVt=new RA(OMt,p8(-1)),p8(-1),NVt=new RA(DMt,p8(-1)),p8(0),_Vt=new RA(NMt,p8(40)),r4(),AVt=new RA(PMt,MVt=$Wt),EVt=new RA(BMt,TVt=BWt),sit(),GQt=new RA(FMt,KQt=L2t),FQt=new Ib($Mt),aQ(),LQt=new RA(jMt,OQt=rWt),Wat(),NQt=new RA(RMt,PQt=hWt),new ew,RQt=new RA(zMt,.3),qQt=new Ib(qMt),Hnt(),HQt=new RA(HMt,ZQt=S2t),p3(),WVt=new RA(ZMt,XVt=u3t),rX(),VVt=new RA(UMt,QVt=g3t),O6(),JVt=new RA(YMt,tQt=m3t),nQt=new RA(GMt,.2),GVt=new RA(KMt,2),tJt=new RA(WMt,null),nJt=new RA(XMt,10),eJt=new RA(VMt,10),iJt=new RA(QMt,20),p8(0),VQt=new RA(JMt,p8(0)),p8(0),QQt=new RA(tIt,p8(0)),p8(0),JQt=new RA(eIt,p8(0)),cVt=new RA(nIt,!1),cct(),hVt=new RA(iIt,fVt=vWt),oV(),uVt=new RA(rIt,lVt=xKt),cQt=new RA(aIt,!1),p8(0),sQt=new RA(oIt,p8(16)),p8(0),uQt=new RA(sIt,p8(5)),R4(),SJt=new RA(cIt,AJt=A3t),oJt=new RA(uIt,10),uJt=new RA(lIt,1),h0(),wJt=new RA(hIt,yJt=LKt),fJt=new Ib(fIt),pJt=p8(1),p8(0),gJt=new RA(dIt,pJt),W2(),OJt=new RA(gIt,DJt=k3t),MJt=new Ib(pIt),_Jt=new RA(bIt,!0),xJt=new RA(wIt,2),TJt=new RA(yIt,!0),yct(),UVt=new RA(mIt,YVt=tWt),yut(),HVt=new RA(vIt,ZVt=gKt),x5(),vVt=new RA(xIt,xVt=W2t),mVt=new RA(kIt,!1),n8(),dVt=new RA(_It,gVt=MUt),i7(),wVt=new RA(EIt,yVt=v2t),pVt=new RA(TIt,0),bVt=new RA(CIt,0),dQt=FKt,fQt=EKt,xQt=p2t,_Qt=p2t,pQt=f2t,I7(),OVt=One,BVt=TKt,IVt=TKt,CVt=TKt,SVt=One,$Qt=N2t,jQt=L2t,DQt=L2t,BQt=L2t,zQt=D2t,YQt=N2t,UQt=N2t,b9(),eQt=dne,iQt=dne,rQt=m3t,KVt=fne,sJt=M3t,cJt=S3t,lJt=M3t,hJt=S3t,mJt=M3t,vJt=S3t,dJt=IKt,bJt=LKt,NJt=M3t,PJt=S3t,IJt=M3t,LJt=S3t,EJt=S3t,kJt=S3t,CJt=S3t}function Dkt(){Dkt=I,mYt=new yT("DIRECTION_PREPROCESSOR",0),bYt=new yT("COMMENT_PREPROCESSOR",1),vYt=new yT("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),BYt=new yT("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),eGt=new yT("PARTITION_PREPROCESSOR",4),RYt=new yT("LABEL_DUMMY_INSERTER",5),sGt=new yT("SELF_LOOP_PREPROCESSOR",6),UYt=new yT("LAYER_CONSTRAINT_PREPROCESSOR",7),JYt=new yT("PARTITION_MIDPROCESSOR",8),LYt=new yT("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),WYt=new yT("NODE_PROMOTION",10),ZYt=new yT("LAYER_CONSTRAINT_POSTPROCESSOR",11),tGt=new yT("PARTITION_POSTPROCESSOR",12),SYt=new yT("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),uGt=new yT("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),lYt=new yT("BREAKING_POINT_INSERTER",15),KYt=new yT("LONG_EDGE_SPLITTER",16),iGt=new yT("PORT_SIDE_PROCESSOR",17),FYt=new yT("INVERTED_PORT_PROCESSOR",18),nGt=new yT("PORT_LIST_SORTER",19),hGt=new yT("SORT_BY_INPUT_ORDER_OF_MODEL",20),VYt=new yT("NORTH_SOUTH_PORT_PREPROCESSOR",21),hYt=new yT("BREAKING_POINT_PROCESSOR",22),QYt=new yT(jAt,23),fGt=new yT(RAt,24),aGt=new yT("SELF_LOOP_PORT_RESTORER",25),lGt=new yT("SINGLE_EDGE_GRAPH_WRAPPER",26),$Yt=new yT("IN_LAYER_CONSTRAINT_PROCESSOR",27),EYt=new yT("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),jYt=new yT("LABEL_AND_NODE_SIZE_PROCESSOR",29),PYt=new yT("INNERMOST_NODE_MARGIN_CALCULATOR",30),cGt=new yT("SELF_LOOP_ROUTER",31),gYt=new yT("COMMENT_NODE_MARGIN_CALCULATOR",32),kYt=new yT("END_LABEL_PREPROCESSOR",33),qYt=new yT("LABEL_DUMMY_SWITCHER",34),dYt=new yT("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),HYt=new yT("LABEL_SIDE_SELECTOR",36),DYt=new yT("HYPEREDGE_DUMMY_MERGER",37),AYt=new yT("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),YYt=new yT("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),IYt=new yT("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),wYt=new yT("CONSTRAINTS_POSTPROCESSOR",41),pYt=new yT("COMMENT_POSTPROCESSOR",42),NYt=new yT("HYPERNODE_PROCESSOR",43),MYt=new yT("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),GYt=new yT("LONG_EDGE_JOINER",45),oGt=new yT("SELF_LOOP_POSTPROCESSOR",46),fYt=new yT("BREAKING_POINT_REMOVER",47),XYt=new yT("NORTH_SOUTH_PORT_POSTPROCESSOR",48),OYt=new yT("HORIZONTAL_COMPACTOR",49),zYt=new yT("LABEL_DUMMY_REMOVER",50),TYt=new yT("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),_Yt=new yT("END_LABEL_SORTER",52),rGt=new yT("REVERSED_EDGE_RESTORER",53),xYt=new yT("END_LABEL_POSTPROCESSOR",54),CYt=new yT("HIERARCHICAL_NODE_RESIZER",55),yYt=new yT("DIRECTION_POSTPROCESSOR",56)}function Nkt(){Nkt=I,Ece=new tw(7),Tce=new zF(8,94),new zF(8,64),Cce=new zF(8,36),Oce=new zF(8,65),Dce=new zF(8,122),Nce=new zF(8,90),Fce=new zF(8,98),Ice=new zF(8,66),Pce=new zF(8,60),$ce=new zF(8,62),_ce=new tw(11),Ygt(kce=new aY(4),48,57),Ygt(Bce=new aY(4),48,57),Ygt(Bce,65,90),Ygt(Bce,95,95),Ygt(Bce,97,122),Ygt(Lce=new aY(4),9,9),Ygt(Lce,10,10),Ygt(Lce,12,12),Ygt(Lce,13,13),Ygt(Lce,32,32),Sce=eyt(kce),Mce=eyt(Bce),Ace=eyt(Lce),yce=new rw,mce=new rw,vce=P4(Zv(fRt,1),T_t,2,6,["Cn","Lu","Ll","Lt","Lm","Lo","Mn","Me","Mc","Nd","Nl","No","Zs","Zl","Zp","Cc","Cf",null,"Co","Cs","Pd","Ps","Pe","Pc","Po","Sm","Sc","Sk","So","Pi","Pf","L","M","N","Z","C","P","S"]),wce=P4(Zv(fRt,1),T_t,2,6,["Basic Latin","Latin-1 Supplement","Latin Extended-A","Latin Extended-B","IPA Extensions","Spacing Modifier Letters","Combining Diacritical Marks","Greek","Cyrillic","Armenian","Hebrew","Arabic","Syriac","Thaana","Devanagari","Bengali","Gurmukhi","Gujarati","Oriya","Tamil","Telugu","Kannada","Malayalam","Sinhala","Thai","Lao","Tibetan","Myanmar","Georgian","Hangul Jamo","Ethiopic","Cherokee","Unified Canadian Aboriginal Syllabics","Ogham","Runic","Khmer","Mongolian","Latin Extended Additional","Greek Extended","General Punctuation","Superscripts and Subscripts","Currency Symbols","Combining Marks for Symbols","Letterlike Symbols","Number Forms","Arrows","Mathematical Operators","Miscellaneous Technical","Control Pictures","Optical Character Recognition","Enclosed Alphanumerics","Box Drawing","Block Elements","Geometric Shapes","Miscellaneous Symbols","Dingbats","Braille Patterns","CJK Radicals Supplement","Kangxi Radicals","Ideographic Description Characters","CJK Symbols and Punctuation","Hiragana","Katakana","Bopomofo","Hangul Compatibility Jamo","Kanbun","Bopomofo Extended","Enclosed CJK Letters and Months","CJK Compatibility","CJK Unified Ideographs Extension A","CJK Unified Ideographs","Yi Syllables","Yi Radicals","Hangul Syllables",O$t,"CJK Compatibility Ideographs","Alphabetic Presentation Forms","Arabic Presentation Forms-A","Combining Half Marks","CJK Compatibility Forms","Small Form Variants","Arabic Presentation Forms-B","Specials","Halfwidth and Fullwidth Forms","Old Italic","Gothic","Deseret","Byzantine Musical Symbols","Musical Symbols","Mathematical Alphanumeric Symbols","CJK Unified Ideographs Extension B","CJK Compatibility Ideographs Supplement","Tags"]),xce=P4(Zv(Kce,1),CEt,25,15,[66304,66351,66352,66383,66560,66639,118784,119039,119040,119295,119808,120831,131072,173782,194560,195103,917504,917631])}function Pkt(){Pkt=I,qqt=new Y2("OUT_T_L",0,(zV(),fqt),(IQ(),yqt),(QJ(),aqt),aqt,P4(Zv(Q$t,1),r_t,21,0,[e$((Eft(),Kne),P4(Zv(aie,1),K_t,93,0,[Vne,Zne]))])),zqt=new Y2("OUT_T_C",1,hqt,yqt,aqt,oqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Vne,Hne])),e$(Kne,P4(Zv(aie,1),K_t,93,0,[Vne,Hne,Une]))])),Hqt=new Y2("OUT_T_R",2,dqt,yqt,aqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Vne,Yne]))])),Dqt=new Y2("OUT_B_L",3,fqt,vqt,sqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Wne,Zne]))])),Oqt=new Y2("OUT_B_C",4,hqt,vqt,sqt,oqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Wne,Hne])),e$(Kne,P4(Zv(aie,1),K_t,93,0,[Wne,Hne,Une]))])),Nqt=new Y2("OUT_B_R",5,dqt,vqt,sqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Wne,Yne]))])),Fqt=new Y2("OUT_L_T",6,dqt,vqt,aqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Zne,Vne,Une]))])),Bqt=new Y2("OUT_L_C",7,dqt,mqt,oqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Zne,Xne])),e$(Kne,P4(Zv(aie,1),K_t,93,0,[Zne,Xne,Une]))])),Pqt=new Y2("OUT_L_B",8,dqt,yqt,sqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Zne,Wne,Une]))])),Rqt=new Y2("OUT_R_T",9,fqt,vqt,aqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Yne,Vne,Une]))])),jqt=new Y2("OUT_R_C",10,fqt,mqt,oqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Yne,Xne])),e$(Kne,P4(Zv(aie,1),K_t,93,0,[Yne,Xne,Une]))])),$qt=new Y2("OUT_R_B",11,fqt,yqt,sqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Kne,P4(Zv(aie,1),K_t,93,0,[Yne,Wne,Une]))])),Iqt=new Y2("IN_T_L",12,fqt,vqt,aqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Zne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Zne,Une]))])),Mqt=new Y2("IN_T_C",13,hqt,vqt,aqt,oqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Hne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Hne,Une]))])),Lqt=new Y2("IN_T_R",14,dqt,vqt,aqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Yne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Vne,Yne,Une]))])),Sqt=new Y2("IN_C_L",15,fqt,mqt,oqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Zne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Zne,Une]))])),Cqt=new Y2("IN_C_C",16,hqt,mqt,oqt,oqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Hne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Hne,Une]))])),Aqt=new Y2("IN_C_R",17,dqt,mqt,oqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Yne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Xne,Yne,Une]))])),Eqt=new Y2("IN_B_L",18,fqt,yqt,sqt,aqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Zne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Zne,Une]))])),_qt=new Y2("IN_B_C",19,hqt,yqt,sqt,oqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Hne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Hne,Une]))])),Tqt=new Y2("IN_B_R",20,dqt,yqt,sqt,sqt,P4(Zv(Q$t,1),r_t,21,0,[e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Yne])),e$(Gne,P4(Zv(aie,1),K_t,93,0,[Wne,Yne,Une]))])),Zqt=new Y2(CCt,21,null,null,null,null,P4(Zv(Q$t,1),r_t,21,0,[]))}function Bkt(){Bkt=I,yoe=(VR(),boe).b,VP(a1(oH(boe.b),0),34),VP(a1(oH(boe.b),1),18),woe=boe.a,VP(a1(oH(boe.a),0),34),VP(a1(oH(boe.a),1),18),VP(a1(oH(boe.a),2),18),VP(a1(oH(boe.a),3),18),VP(a1(oH(boe.a),4),18),moe=boe.o,VP(a1(oH(boe.o),0),34),VP(a1(oH(boe.o),1),34),xoe=VP(a1(oH(boe.o),2),18),VP(a1(oH(boe.o),3),18),VP(a1(oH(boe.o),4),18),VP(a1(oH(boe.o),5),18),VP(a1(oH(boe.o),6),18),VP(a1(oH(boe.o),7),18),VP(a1(oH(boe.o),8),18),VP(a1(oH(boe.o),9),18),VP(a1(oH(boe.o),10),18),VP(a1(oH(boe.o),11),18),VP(a1(oH(boe.o),12),18),VP(a1(oH(boe.o),13),18),VP(a1(oH(boe.o),14),18),VP(a1(oH(boe.o),15),18),VP(a1(aH(boe.o),0),59),VP(a1(aH(boe.o),1),59),VP(a1(aH(boe.o),2),59),VP(a1(aH(boe.o),3),59),VP(a1(aH(boe.o),4),59),VP(a1(aH(boe.o),5),59),VP(a1(aH(boe.o),6),59),VP(a1(aH(boe.o),7),59),VP(a1(aH(boe.o),8),59),VP(a1(aH(boe.o),9),59),voe=boe.p,VP(a1(oH(boe.p),0),34),VP(a1(oH(boe.p),1),34),VP(a1(oH(boe.p),2),34),VP(a1(oH(boe.p),3),34),VP(a1(oH(boe.p),4),18),VP(a1(oH(boe.p),5),18),VP(a1(aH(boe.p),0),59),VP(a1(aH(boe.p),1),59),koe=boe.q,VP(a1(oH(boe.q),0),34),_oe=boe.v,VP(a1(oH(boe.v),0),18),VP(a1(aH(boe.v),0),59),VP(a1(aH(boe.v),1),59),VP(a1(aH(boe.v),2),59),Eoe=boe.w,VP(a1(oH(boe.w),0),34),VP(a1(oH(boe.w),1),34),VP(a1(oH(boe.w),2),34),VP(a1(oH(boe.w),3),18),Toe=boe.B,VP(a1(oH(boe.B),0),18),VP(a1(aH(boe.B),0),59),VP(a1(aH(boe.B),1),59),VP(a1(aH(boe.B),2),59),Aoe=boe.Q,VP(a1(oH(boe.Q),0),18),VP(a1(aH(boe.Q),0),59),Moe=boe.R,VP(a1(oH(boe.R),0),34),Ioe=boe.S,VP(a1(aH(boe.S),0),59),VP(a1(aH(boe.S),1),59),VP(a1(aH(boe.S),2),59),VP(a1(aH(boe.S),3),59),VP(a1(aH(boe.S),4),59),VP(a1(aH(boe.S),5),59),VP(a1(aH(boe.S),6),59),VP(a1(aH(boe.S),7),59),VP(a1(aH(boe.S),8),59),VP(a1(aH(boe.S),9),59),VP(a1(aH(boe.S),10),59),VP(a1(aH(boe.S),11),59),VP(a1(aH(boe.S),12),59),VP(a1(aH(boe.S),13),59),VP(a1(aH(boe.S),14),59),Loe=boe.T,VP(a1(oH(boe.T),0),18),VP(a1(oH(boe.T),2),18),Ooe=VP(a1(oH(boe.T),3),18),VP(a1(oH(boe.T),4),18),VP(a1(aH(boe.T),0),59),VP(a1(aH(boe.T),1),59),VP(a1(oH(boe.T),1),18),Doe=boe.U,VP(a1(oH(boe.U),0),34),VP(a1(oH(boe.U),1),34),VP(a1(oH(boe.U),2),18),VP(a1(oH(boe.U),3),18),VP(a1(oH(boe.U),4),18),VP(a1(oH(boe.U),5),18),VP(a1(aH(boe.U),0),59),Noe=boe.V,VP(a1(oH(boe.V),0),18),Poe=boe.W,VP(a1(oH(boe.W),0),34),VP(a1(oH(boe.W),1),34),VP(a1(oH(boe.W),2),34),VP(a1(oH(boe.W),3),18),VP(a1(oH(boe.W),4),18),VP(a1(oH(boe.W),5),18),Foe=boe.bb,VP(a1(oH(boe.bb),0),34),VP(a1(oH(boe.bb),1),34),VP(a1(oH(boe.bb),2),34),VP(a1(oH(boe.bb),3),34),VP(a1(oH(boe.bb),4),34),VP(a1(oH(boe.bb),5),34),VP(a1(oH(boe.bb),6),34),VP(a1(oH(boe.bb),7),18),VP(a1(aH(boe.bb),0),59),VP(a1(aH(boe.bb),1),59),$oe=boe.eb,VP(a1(oH(boe.eb),0),34),VP(a1(oH(boe.eb),1),34),VP(a1(oH(boe.eb),2),34),VP(a1(oH(boe.eb),3),34),VP(a1(oH(boe.eb),4),34),VP(a1(oH(boe.eb),5),34),VP(a1(oH(boe.eb),6),18),VP(a1(oH(boe.eb),7),18),Boe=boe.ab,VP(a1(oH(boe.ab),0),34),VP(a1(oH(boe.ab),1),34),Coe=boe.H,VP(a1(oH(boe.H),0),18),VP(a1(oH(boe.H),1),18),VP(a1(oH(boe.H),2),18),VP(a1(oH(boe.H),3),18),VP(a1(oH(boe.H),4),18),VP(a1(oH(boe.H),5),18),VP(a1(aH(boe.H),0),59),joe=boe.db,VP(a1(oH(boe.db),0),18),Soe=boe.M}function Fkt(t){sE(t,new nst(ax(ex(rx(tx(ix(nx(new bs,IAt),"ELK Layered"),"Layer-based algorithm provided by the Eclipse Layout Kernel. Arranges as many edges as possible into one direction by placing nodes into subsequent layers. This implementation supports different routing styles (straight, orthogonal, splines); if orthogonal routing is selected, arbitrary port constraints are respected, thus enabling the layout of block diagrams such as actor-oriented models or circuit schematics. Furthermore, full layout of compound graphs with cross-hierarchy edges is supported when the respective option is activated on the top level."),new Aa),IAt),e$((Yht(),yae),P4(Zv(xae,1),K_t,237,0,[pae,bae,gae,wae,fae,hae]))))),BY(t,IAt,WIt,unt(O0t)),BY(t,IAt,XIt,unt(D0t)),BY(t,IAt,uSt,unt(N0t)),BY(t,IAt,VIt,unt(P0t)),BY(t,IAt,PSt,unt(F0t)),BY(t,IAt,QIt,unt($0t)),BY(t,IAt,JIt,unt(z0t)),BY(t,IAt,tLt,unt(H0t)),BY(t,IAt,eLt,unt(Z0t)),BY(t,IAt,nLt,unt(q0t)),BY(t,IAt,NSt,unt(U0t)),BY(t,IAt,iLt,unt(G0t)),BY(t,IAt,rLt,unt(W0t)),BY(t,IAt,aLt,unt(R0t)),BY(t,IAt,WMt,unt(L0t)),BY(t,IAt,VMt,unt(B0t)),BY(t,IAt,XMt,unt(j0t)),BY(t,IAt,QMt,unt(Y0t)),BY(t,IAt,DSt,p8(0)),BY(t,IAt,JMt,unt(C0t)),BY(t,IAt,tIt,unt(S0t)),BY(t,IAt,eIt,unt(A0t)),BY(t,IAt,cIt,unt(o2t)),BY(t,IAt,uIt,unt(Q0t)),BY(t,IAt,lIt,unt(J0t)),BY(t,IAt,hIt,unt(n2t)),BY(t,IAt,fIt,unt(t2t)),BY(t,IAt,dIt,unt(e2t)),BY(t,IAt,gIt,unt(c2t)),BY(t,IAt,pIt,unt(s2t)),BY(t,IAt,bIt,unt(r2t)),BY(t,IAt,wIt,unt(i2t)),BY(t,IAt,yIt,unt(a2t)),BY(t,IAt,qMt,unt(Q1t)),BY(t,IAt,HMt,unt(J1t)),BY(t,IAt,YMt,unt(m1t)),BY(t,IAt,GMt,unt(v1t)),BY(t,IAt,fSt,s0t),BY(t,IAt,BIt,p1t),BY(t,IAt,oLt,0),BY(t,IAt,BSt,p8(1)),BY(t,IAt,hSt,LSt),BY(t,IAt,sLt,unt(a0t)),BY(t,IAt,jSt,unt(w0t)),BY(t,IAt,cLt,unt(k0t)),BY(t,IAt,uLt,unt(o1t)),BY(t,IAt,lLt,unt(BJt)),BY(t,IAt,LIt,unt(E1t)),BY(t,IAt,FSt,(EL(),!0)),BY(t,IAt,hLt,unt(M1t)),BY(t,IAt,fLt,unt(I1t)),BY(t,IAt,HSt,unt(e0t)),BY(t,IAt,qSt,unt(r0t)),BY(t,IAt,dLt,unt(n0t)),BY(t,IAt,gLt,u1t),BY(t,IAt,ZSt,unt(G1t)),BY(t,IAt,pLt,unt(Y1t)),BY(t,IAt,USt,unt(v0t)),BY(t,IAt,bLt,unt(m0t)),BY(t,IAt,wLt,unt(x0t)),BY(t,IAt,yLt,l0t),BY(t,IAt,mLt,unt(f0t)),BY(t,IAt,vLt,unt(d0t)),BY(t,IAt,xLt,unt(g0t)),BY(t,IAt,kLt,unt(h0t)),BY(t,IAt,bMt,unt(V0t)),BY(t,IAt,mMt,unt(q1t)),BY(t,IAt,TMt,unt(z1t)),BY(t,IAt,pMt,unt(X0t)),BY(t,IAt,vMt,unt(B1t)),BY(t,IAt,yMt,unt(a1t)),BY(t,IAt,AMt,unt(r1t)),BY(t,IAt,MMt,unt(XJt)),BY(t,IAt,NMt,unt(VJt)),BY(t,IAt,PMt,unt(JJt)),BY(t,IAt,BMt,unt(QJt)),BY(t,IAt,LMt,unt(i1t)),BY(t,IAt,hMt,unt(Z1t)),BY(t,IAt,fMt,unt(U1t)),BY(t,IAt,lMt,unt(O1t)),BY(t,IAt,FMt,unt(t0t)),BY(t,IAt,RMt,unt(W1t)),BY(t,IAt,uMt,unt(k1t)),BY(t,IAt,zMt,unt(V1t)),BY(t,IAt,ZMt,unt(w1t)),BY(t,IAt,UMt,unt(y1t)),BY(t,IAt,_Lt,unt(WJt)),BY(t,IAt,jMt,unt(K1t)),BY(t,IAt,iIt,unt(qJt)),BY(t,IAt,rIt,unt(zJt)),BY(t,IAt,nIt,unt(RJt)),BY(t,IAt,aIt,unt(C1t)),BY(t,IAt,oIt,unt(T1t)),BY(t,IAt,sIt,unt(S1t)),BY(t,IAt,iAt,unt(i0t)),BY(t,IAt,ELt,unt(D1t)),BY(t,IAt,lSt,unt(x1t)),BY(t,IAt,TLt,unt(f1t)),BY(t,IAt,RSt,unt(h1t)),BY(t,IAt,IMt,unt(t1t)),BY(t,IAt,CLt,unt(y0t)),BY(t,IAt,SLt,unt(jJt)),BY(t,IAt,ALt,unt(A1t)),BY(t,IAt,MLt,unt(p0t)),BY(t,IAt,ILt,unt(c0t)),BY(t,IAt,LLt,unt(u0t)),BY(t,IAt,_Mt,unt($1t)),BY(t,IAt,EMt,unt(j1t)),BY(t,IAt,OLt,unt(E0t)),BY(t,IAt,dMt,unt(FJt)),BY(t,IAt,CMt,unt(R1t)),BY(t,IAt,mIt,unt(d1t)),BY(t,IAt,vIt,unt(l1t)),BY(t,IAt,DLt,unt(H1t)),BY(t,IAt,SMt,unt(N1t)),BY(t,IAt,$Mt,unt(X1t)),BY(t,IAt,NLt,unt(K0t)),BY(t,IAt,cMt,unt(c1t)),BY(t,IAt,gMt,unt(_0t)),BY(t,IAt,KMt,unt(b1t)),BY(t,IAt,xMt,unt(P1t)),BY(t,IAt,OMt,unt(e1t)),BY(t,IAt,PLt,unt(L1t)),BY(t,IAt,kMt,unt(F1t)),BY(t,IAt,DMt,unt(n1t)),BY(t,IAt,xIt,unt(KJt)),BY(t,IAt,EIt,unt(YJt)),BY(t,IAt,TIt,unt(ZJt)),BY(t,IAt,CIt,unt(UJt)),BY(t,IAt,kIt,unt(GJt)),BY(t,IAt,_It,unt(HJt)),BY(t,IAt,wMt,unt(_1t))}function $kt(t,e){var n;return pce||(pce=new rw,bce=new rw,Nkt(),Nkt(),Ott(n=new aY(4),"\t\n\r\r "),ZZ(pce,S$t,n),ZZ(bce,S$t,eyt(n)),Ott(n=new aY(4),I$t),ZZ(pce,T$t,n),ZZ(bce,T$t,eyt(n)),Ott(n=new aY(4),I$t),ZZ(pce,T$t,n),ZZ(bce,T$t,eyt(n)),Ott(n=new aY(4),L$t),fmt(n,VP(oZ(pce,T$t),117)),ZZ(pce,C$t,n),ZZ(bce,C$t,eyt(n)),Ott(n=new aY(4),"-.0:AZ__az··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँअह़्॑॔क़ॣ९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼ੴઁઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૯ଁଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൯กฮะฺเ๎๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩↀↂ々々〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),ZZ(pce,A$t,n),ZZ(bce,A$t,eyt(n)),Ott(n=new aY(4),L$t),Ygt(n,95,95),Ygt(n,58,58),ZZ(pce,M$t,n),ZZ(bce,M$t,eyt(n))),VP(oZ(e?pce:bce,t),136)}function jkt(t){return jN("_UI_EMFDiagnostic_marker",t)?"EMF Problem":jN("_UI_CircularContainment_diagnostic",t)?"An object may not circularly contain itself":jN(IPt,t)?"Wrong character.":jN(LPt,t)?"Invalid reference number.":jN(OPt,t)?"A character is required after \\.":jN(DPt,t)?"'?' is not expected. '(?:' or '(?=' or '(?!' or '(?<' or '(?#' or '(?>'?":jN(NPt,t)?"'(?<' or '(?<!' is expected.":jN(PPt,t)?"A comment is not terminated.":jN(BPt,t)?"')' is expected.":jN(FPt,t)?"Unexpected end of the pattern in a modifier group.":jN($Pt,t)?"':' is expected.":jN(jPt,t)?"Unexpected end of the pattern in a conditional group.":jN(RPt,t)?"A back reference or an anchor or a lookahead or a look-behind is expected in a conditional pattern.":jN(zPt,t)?"There are more than three choices in a conditional group.":jN(qPt,t)?"A character in U+0040-U+005f must follow \\c.":jN(HPt,t)?"A '{' is required before a character category.":jN(ZPt,t)?"A property name is not closed by '}'.":jN(UPt,t)?"Unexpected meta character.":jN(YPt,t)?"Unknown property.":jN(GPt,t)?"A POSIX character class must be closed by ':]'.":jN(KPt,t)?"Unexpected end of the pattern in a character class.":jN(WPt,t)?"Unknown name for a POSIX character class.":jN("parser.cc.4",t)?"'-' is invalid here.":jN(XPt,t)?"']' is expected.":jN(VPt,t)?"'[' is invalid in a character class. Write '\\['.":jN(QPt,t)?"']' is invalid in a character class. Write '\\]'.":jN(JPt,t)?"'-' is an invalid character range. Write '\\-'.":jN(tBt,t)?"'[' is expected.":jN(eBt,t)?"')' or '-[' or '+[' or '&[' is expected.":jN(nBt,t)?"The range end code point is less than the start code point.":jN(iBt,t)?"Invalid Unicode hex notation.":jN(rBt,t)?"Overflow in a hex notation.":jN(aBt,t)?"'\\x{' must be closed by '}'.":jN(oBt,t)?"Invalid Unicode code point.":jN(sBt,t)?"An anchor must not be here.":jN(cBt,t)?"This expression is not supported in the current option setting.":jN(uBt,t)?"Invalid quantifier. A digit is expected.":jN(lBt,t)?"Invalid quantifier. Invalid quantity or a '}' is missing.":jN(hBt,t)?"Invalid quantifier. A digit or '}' is expected.":jN(fBt,t)?"Invalid quantifier. A min quantity must be <= a max quantity.":jN(dBt,t)?"Invalid quantifier. A quantity value overflow.":jN("_UI_PackageRegistry_extensionpoint",t)?"Ecore Package Registry for Generated Packages":jN("_UI_DynamicPackageRegistry_extensionpoint",t)?"Ecore Package Registry for Dynamic Packages":jN("_UI_FactoryRegistry_extensionpoint",t)?"Ecore Factory Override Registry":jN("_UI_URIExtensionParserRegistry_extensionpoint",t)?"URI Extension Parser Registry":jN("_UI_URIProtocolParserRegistry_extensionpoint",t)?"URI Protocol Parser Registry":jN("_UI_URIContentParserRegistry_extensionpoint",t)?"URI Content Parser Registry":jN("_UI_ContentHandlerRegistry_extensionpoint",t)?"Content Handler Registry":jN("_UI_URIMappingRegistry_extensionpoint",t)?"URI Converter Mapping Registry":jN("_UI_PackageRegistryImplementation_extensionpoint",t)?"Ecore Package Registry Implementation":jN("_UI_ValidationDelegateRegistry_extensionpoint",t)?"Validation Delegate Registry":jN("_UI_SettingDelegateRegistry_extensionpoint",t)?"Feature Setting Delegate Factory Registry":jN("_UI_InvocationDelegateRegistry_extensionpoint",t)?"Operation Invocation Delegate Factory Registry":jN("_UI_EClassInterfaceNotAbstract_diagnostic",t)?"A class that is an interface must also be abstract":jN("_UI_EClassNoCircularSuperTypes_diagnostic",t)?"A class may not be a super type of itself":jN("_UI_EClassNotWellFormedMapEntryNoInstanceClassName_diagnostic",t)?"A class that inherits from a map entry class must have instance class name 'java.util.Map$Entry'":jN("_UI_EReferenceOppositeOfOppositeInconsistent_diagnostic",t)?"The opposite of the opposite may not be a reference different from this one":jN("_UI_EReferenceOppositeNotFeatureOfType_diagnostic",t)?"The opposite must be a feature of the reference's type":jN("_UI_EReferenceTransientOppositeNotTransient_diagnostic",t)?"The opposite of a transient reference must be transient if it is proxy resolving":jN("_UI_EReferenceOppositeBothContainment_diagnostic",t)?"The opposite of a containment reference must not be a containment reference":jN("_UI_EReferenceConsistentUnique_diagnostic",t)?"A containment or bidirectional reference must be unique if its upper bound is different from 1":jN("_UI_ETypedElementNoType_diagnostic",t)?"The typed element must have a type":jN("_UI_EAttributeNoDataType_diagnostic",t)?"The generic attribute type must not refer to a class":jN("_UI_EReferenceNoClass_diagnostic",t)?"The generic reference type must not refer to a data type":jN("_UI_EGenericTypeNoTypeParameterAndClassifier_diagnostic",t)?"A generic type can't refer to both a type parameter and a classifier":jN("_UI_EGenericTypeNoClass_diagnostic",t)?"A generic super type must refer to a class":jN("_UI_EGenericTypeNoTypeParameterOrClassifier_diagnostic",t)?"A generic type in this context must refer to a classifier or a type parameter":jN("_UI_EGenericTypeBoundsOnlyForTypeArgument_diagnostic",t)?"A generic type may have bounds only when used as a type argument":jN("_UI_EGenericTypeNoUpperAndLowerBound_diagnostic",t)?"A generic type must not have both a lower and an upper bound":jN("_UI_EGenericTypeNoTypeParameterOrClassifierAndBound_diagnostic",t)?"A generic type with bounds must not also refer to a type parameter or classifier":jN("_UI_EGenericTypeNoArguments_diagnostic",t)?"A generic type may have arguments only if it refers to a classifier":jN("_UI_EGenericTypeOutOfScopeTypeParameter_diagnostic",t)?"A generic type may only refer to a type parameter that is in scope":t}function Rkt(){Rkt=I,(dce=WX(Vce,NNt,25,iTt,15,1))[9]=35,dce[10]=19,dce[13]=19,dce[32]=51,dce[33]=49,dce[34]=33,Bj(dce,35,38,49),dce[38]=1,Bj(dce,39,45,49),Bj(dce,45,47,-71),dce[47]=49,Bj(dce,48,58,-71),dce[58]=61,dce[59]=49,dce[60]=1,dce[61]=49,dce[62]=33,Bj(dce,63,65,49),Bj(dce,65,91,-3),Bj(dce,91,93,33),dce[93]=1,dce[94]=33,dce[95]=-3,dce[96]=33,Bj(dce,97,123,-3),Bj(dce,123,183,33),dce[183]=-87,Bj(dce,184,192,33),Bj(dce,192,215,-19),dce[215]=33,Bj(dce,216,247,-19),dce[247]=33,Bj(dce,248,306,-19),Bj(dce,306,308,33),Bj(dce,308,319,-19),Bj(dce,319,321,33),Bj(dce,321,329,-19),dce[329]=33,Bj(dce,330,383,-19),dce[383]=33,Bj(dce,384,452,-19),Bj(dce,452,461,33),Bj(dce,461,497,-19),Bj(dce,497,500,33),Bj(dce,500,502,-19),Bj(dce,502,506,33),Bj(dce,506,536,-19),Bj(dce,536,592,33),Bj(dce,592,681,-19),Bj(dce,681,699,33),Bj(dce,699,706,-19),Bj(dce,706,720,33),Bj(dce,720,722,-87),Bj(dce,722,768,33),Bj(dce,768,838,-87),Bj(dce,838,864,33),Bj(dce,864,866,-87),Bj(dce,866,902,33),dce[902]=-19,dce[903]=-87,Bj(dce,904,907,-19),dce[907]=33,dce[908]=-19,dce[909]=33,Bj(dce,910,930,-19),dce[930]=33,Bj(dce,931,975,-19),dce[975]=33,Bj(dce,976,983,-19),Bj(dce,983,986,33),dce[986]=-19,dce[987]=33,dce[988]=-19,dce[989]=33,dce[990]=-19,dce[991]=33,dce[992]=-19,dce[993]=33,Bj(dce,994,1012,-19),Bj(dce,1012,1025,33),Bj(dce,1025,1037,-19),dce[1037]=33,Bj(dce,1038,1104,-19),dce[1104]=33,Bj(dce,1105,1117,-19),dce[1117]=33,Bj(dce,1118,1154,-19),dce[1154]=33,Bj(dce,1155,1159,-87),Bj(dce,1159,1168,33),Bj(dce,1168,1221,-19),Bj(dce,1221,1223,33),Bj(dce,1223,1225,-19),Bj(dce,1225,1227,33),Bj(dce,1227,1229,-19),Bj(dce,1229,1232,33),Bj(dce,1232,1260,-19),Bj(dce,1260,1262,33),Bj(dce,1262,1270,-19),Bj(dce,1270,1272,33),Bj(dce,1272,1274,-19),Bj(dce,1274,1329,33),Bj(dce,1329,1367,-19),Bj(dce,1367,1369,33),dce[1369]=-19,Bj(dce,1370,1377,33),Bj(dce,1377,1415,-19),Bj(dce,1415,1425,33),Bj(dce,1425,1442,-87),dce[1442]=33,Bj(dce,1443,1466,-87),dce[1466]=33,Bj(dce,1467,1470,-87),dce[1470]=33,dce[1471]=-87,dce[1472]=33,Bj(dce,1473,1475,-87),dce[1475]=33,dce[1476]=-87,Bj(dce,1477,1488,33),Bj(dce,1488,1515,-19),Bj(dce,1515,1520,33),Bj(dce,1520,1523,-19),Bj(dce,1523,1569,33),Bj(dce,1569,1595,-19),Bj(dce,1595,1600,33),dce[1600]=-87,Bj(dce,1601,1611,-19),Bj(dce,1611,1619,-87),Bj(dce,1619,1632,33),Bj(dce,1632,1642,-87),Bj(dce,1642,1648,33),dce[1648]=-87,Bj(dce,1649,1720,-19),Bj(dce,1720,1722,33),Bj(dce,1722,1727,-19),dce[1727]=33,Bj(dce,1728,1743,-19),dce[1743]=33,Bj(dce,1744,1748,-19),dce[1748]=33,dce[1749]=-19,Bj(dce,1750,1765,-87),Bj(dce,1765,1767,-19),Bj(dce,1767,1769,-87),dce[1769]=33,Bj(dce,1770,1774,-87),Bj(dce,1774,1776,33),Bj(dce,1776,1786,-87),Bj(dce,1786,2305,33),Bj(dce,2305,2308,-87),dce[2308]=33,Bj(dce,2309,2362,-19),Bj(dce,2362,2364,33),dce[2364]=-87,dce[2365]=-19,Bj(dce,2366,2382,-87),Bj(dce,2382,2385,33),Bj(dce,2385,2389,-87),Bj(dce,2389,2392,33),Bj(dce,2392,2402,-19),Bj(dce,2402,2404,-87),Bj(dce,2404,2406,33),Bj(dce,2406,2416,-87),Bj(dce,2416,2433,33),Bj(dce,2433,2436,-87),dce[2436]=33,Bj(dce,2437,2445,-19),Bj(dce,2445,2447,33),Bj(dce,2447,2449,-19),Bj(dce,2449,2451,33),Bj(dce,2451,2473,-19),dce[2473]=33,Bj(dce,2474,2481,-19),dce[2481]=33,dce[2482]=-19,Bj(dce,2483,2486,33),Bj(dce,2486,2490,-19),Bj(dce,2490,2492,33),dce[2492]=-87,dce[2493]=33,Bj(dce,2494,2501,-87),Bj(dce,2501,2503,33),Bj(dce,2503,2505,-87),Bj(dce,2505,2507,33),Bj(dce,2507,2510,-87),Bj(dce,2510,2519,33),dce[2519]=-87,Bj(dce,2520,2524,33),Bj(dce,2524,2526,-19),dce[2526]=33,Bj(dce,2527,2530,-19),Bj(dce,2530,2532,-87),Bj(dce,2532,2534,33),Bj(dce,2534,2544,-87),Bj(dce,2544,2546,-19),Bj(dce,2546,2562,33),dce[2562]=-87,Bj(dce,2563,2565,33),Bj(dce,2565,2571,-19),Bj(dce,2571,2575,33),Bj(dce,2575,2577,-19),Bj(dce,2577,2579,33),Bj(dce,2579,2601,-19),dce[2601]=33,Bj(dce,2602,2609,-19),dce[2609]=33,Bj(dce,2610,2612,-19),dce[2612]=33,Bj(dce,2613,2615,-19),dce[2615]=33,Bj(dce,2616,2618,-19),Bj(dce,2618,2620,33),dce[2620]=-87,dce[2621]=33,Bj(dce,2622,2627,-87),Bj(dce,2627,2631,33),Bj(dce,2631,2633,-87),Bj(dce,2633,2635,33),Bj(dce,2635,2638,-87),Bj(dce,2638,2649,33),Bj(dce,2649,2653,-19),dce[2653]=33,dce[2654]=-19,Bj(dce,2655,2662,33),Bj(dce,2662,2674,-87),Bj(dce,2674,2677,-19),Bj(dce,2677,2689,33),Bj(dce,2689,2692,-87),dce[2692]=33,Bj(dce,2693,2700,-19),dce[2700]=33,dce[2701]=-19,dce[2702]=33,Bj(dce,2703,2706,-19),dce[2706]=33,Bj(dce,2707,2729,-19),dce[2729]=33,Bj(dce,2730,2737,-19),dce[2737]=33,Bj(dce,2738,2740,-19),dce[2740]=33,Bj(dce,2741,2746,-19),Bj(dce,2746,2748,33),dce[2748]=-87,dce[2749]=-19,Bj(dce,2750,2758,-87),dce[2758]=33,Bj(dce,2759,2762,-87),dce[2762]=33,Bj(dce,2763,2766,-87),Bj(dce,2766,2784,33),dce[2784]=-19,Bj(dce,2785,2790,33),Bj(dce,2790,2800,-87),Bj(dce,2800,2817,33),Bj(dce,2817,2820,-87),dce[2820]=33,Bj(dce,2821,2829,-19),Bj(dce,2829,2831,33),Bj(dce,2831,2833,-19),Bj(dce,2833,2835,33),Bj(dce,2835,2857,-19),dce[2857]=33,Bj(dce,2858,2865,-19),dce[2865]=33,Bj(dce,2866,2868,-19),Bj(dce,2868,2870,33),Bj(dce,2870,2874,-19),Bj(dce,2874,2876,33),dce[2876]=-87,dce[2877]=-19,Bj(dce,2878,2884,-87),Bj(dce,2884,2887,33),Bj(dce,2887,2889,-87),Bj(dce,2889,2891,33),Bj(dce,2891,2894,-87),Bj(dce,2894,2902,33),Bj(dce,2902,2904,-87),Bj(dce,2904,2908,33),Bj(dce,2908,2910,-19),dce[2910]=33,Bj(dce,2911,2914,-19),Bj(dce,2914,2918,33),Bj(dce,2918,2928,-87),Bj(dce,2928,2946,33),Bj(dce,2946,2948,-87),dce[2948]=33,Bj(dce,2949,2955,-19),Bj(dce,2955,2958,33),Bj(dce,2958,2961,-19),dce[2961]=33,Bj(dce,2962,2966,-19),Bj(dce,2966,2969,33),Bj(dce,2969,2971,-19),dce[2971]=33,dce[2972]=-19,dce[2973]=33,Bj(dce,2974,2976,-19),Bj(dce,2976,2979,33),Bj(dce,2979,2981,-19),Bj(dce,2981,2984,33),Bj(dce,2984,2987,-19),Bj(dce,2987,2990,33),Bj(dce,2990,2998,-19),dce[2998]=33,Bj(dce,2999,3002,-19),Bj(dce,3002,3006,33),Bj(dce,3006,3011,-87),Bj(dce,3011,3014,33),Bj(dce,3014,3017,-87),dce[3017]=33,Bj(dce,3018,3022,-87),Bj(dce,3022,3031,33),dce[3031]=-87,Bj(dce,3032,3047,33),Bj(dce,3047,3056,-87),Bj(dce,3056,3073,33),Bj(dce,3073,3076,-87),dce[3076]=33,Bj(dce,3077,3085,-19),dce[3085]=33,Bj(dce,3086,3089,-19),dce[3089]=33,Bj(dce,3090,3113,-19),dce[3113]=33,Bj(dce,3114,3124,-19),dce[3124]=33,Bj(dce,3125,3130,-19),Bj(dce,3130,3134,33),Bj(dce,3134,3141,-87),dce[3141]=33,Bj(dce,3142,3145,-87),dce[3145]=33,Bj(dce,3146,3150,-87),Bj(dce,3150,3157,33),Bj(dce,3157,3159,-87),Bj(dce,3159,3168,33),Bj(dce,3168,3170,-19),Bj(dce,3170,3174,33),Bj(dce,3174,3184,-87),Bj(dce,3184,3202,33),Bj(dce,3202,3204,-87),dce[3204]=33,Bj(dce,3205,3213,-19),dce[3213]=33,Bj(dce,3214,3217,-19),dce[3217]=33,Bj(dce,3218,3241,-19),dce[3241]=33,Bj(dce,3242,3252,-19),dce[3252]=33,Bj(dce,3253,3258,-19),Bj(dce,3258,3262,33),Bj(dce,3262,3269,-87),dce[3269]=33,Bj(dce,3270,3273,-87),dce[3273]=33,Bj(dce,3274,3278,-87),Bj(dce,3278,3285,33),Bj(dce,3285,3287,-87),Bj(dce,3287,3294,33),dce[3294]=-19,dce[3295]=33,Bj(dce,3296,3298,-19),Bj(dce,3298,3302,33),Bj(dce,3302,3312,-87),Bj(dce,3312,3330,33),Bj(dce,3330,3332,-87),dce[3332]=33,Bj(dce,3333,3341,-19),dce[3341]=33,Bj(dce,3342,3345,-19),dce[3345]=33,Bj(dce,3346,3369,-19),dce[3369]=33,Bj(dce,3370,3386,-19),Bj(dce,3386,3390,33),Bj(dce,3390,3396,-87),Bj(dce,3396,3398,33),Bj(dce,3398,3401,-87),dce[3401]=33,Bj(dce,3402,3406,-87),Bj(dce,3406,3415,33),dce[3415]=-87,Bj(dce,3416,3424,33),Bj(dce,3424,3426,-19),Bj(dce,3426,3430,33),Bj(dce,3430,3440,-87),Bj(dce,3440,3585,33),Bj(dce,3585,3631,-19),dce[3631]=33,dce[3632]=-19,dce[3633]=-87,Bj(dce,3634,3636,-19),Bj(dce,3636,3643,-87),Bj(dce,3643,3648,33),Bj(dce,3648,3654,-19),Bj(dce,3654,3663,-87),dce[3663]=33,Bj(dce,3664,3674,-87),Bj(dce,3674,3713,33),Bj(dce,3713,3715,-19),dce[3715]=33,dce[3716]=-19,Bj(dce,3717,3719,33),Bj(dce,3719,3721,-19),dce[3721]=33,dce[3722]=-19,Bj(dce,3723,3725,33),dce[3725]=-19,Bj(dce,3726,3732,33),Bj(dce,3732,3736,-19),dce[3736]=33,Bj(dce,3737,3744,-19),dce[3744]=33,Bj(dce,3745,3748,-19),dce[3748]=33,dce[3749]=-19,dce[3750]=33,dce[3751]=-19,Bj(dce,3752,3754,33),Bj(dce,3754,3756,-19),dce[3756]=33,Bj(dce,3757,3759,-19),dce[3759]=33,dce[3760]=-19,dce[3761]=-87,Bj(dce,3762,3764,-19),Bj(dce,3764,3770,-87),dce[3770]=33,Bj(dce,3771,3773,-87),dce[3773]=-19,Bj(dce,3774,3776,33),Bj(dce,3776,3781,-19),dce[3781]=33,dce[3782]=-87,dce[3783]=33,Bj(dce,3784,3790,-87),Bj(dce,3790,3792,33),Bj(dce,3792,3802,-87),Bj(dce,3802,3864,33),Bj(dce,3864,3866,-87),Bj(dce,3866,3872,33),Bj(dce,3872,3882,-87),Bj(dce,3882,3893,33),dce[3893]=-87,dce[3894]=33,dce[3895]=-87,dce[3896]=33,dce[3897]=-87,Bj(dce,3898,3902,33),Bj(dce,3902,3904,-87),Bj(dce,3904,3912,-19),dce[3912]=33,Bj(dce,3913,3946,-19),Bj(dce,3946,3953,33),Bj(dce,3953,3973,-87),dce[3973]=33,Bj(dce,3974,3980,-87),Bj(dce,3980,3984,33),Bj(dce,3984,3990,-87),dce[3990]=33,dce[3991]=-87,dce[3992]=33,Bj(dce,3993,4014,-87),Bj(dce,4014,4017,33),Bj(dce,4017,4024,-87),dce[4024]=33,dce[4025]=-87,Bj(dce,4026,4256,33),Bj(dce,4256,4294,-19),Bj(dce,4294,4304,33),Bj(dce,4304,4343,-19),Bj(dce,4343,4352,33),dce[4352]=-19,dce[4353]=33,Bj(dce,4354,4356,-19),dce[4356]=33,Bj(dce,4357,4360,-19),dce[4360]=33,dce[4361]=-19,dce[4362]=33,Bj(dce,4363,4365,-19),dce[4365]=33,Bj(dce,4366,4371,-19),Bj(dce,4371,4412,33),dce[4412]=-19,dce[4413]=33,dce[4414]=-19,dce[4415]=33,dce[4416]=-19,Bj(dce,4417,4428,33),dce[4428]=-19,dce[4429]=33,dce[4430]=-19,dce[4431]=33,dce[4432]=-19,Bj(dce,4433,4436,33),Bj(dce,4436,4438,-19),Bj(dce,4438,4441,33),dce[4441]=-19,Bj(dce,4442,4447,33),Bj(dce,4447,4450,-19),dce[4450]=33,dce[4451]=-19,dce[4452]=33,dce[4453]=-19,dce[4454]=33,dce[4455]=-19,dce[4456]=33,dce[4457]=-19,Bj(dce,4458,4461,33),Bj(dce,4461,4463,-19),Bj(dce,4463,4466,33),Bj(dce,4466,4468,-19),dce[4468]=33,dce[4469]=-19,Bj(dce,4470,4510,33),dce[4510]=-19,Bj(dce,4511,4520,33),dce[4520]=-19,Bj(dce,4521,4523,33),dce[4523]=-19,Bj(dce,4524,4526,33),Bj(dce,4526,4528,-19),Bj(dce,4528,4535,33),Bj(dce,4535,4537,-19),dce[4537]=33,dce[4538]=-19,dce[4539]=33,Bj(dce,4540,4547,-19),Bj(dce,4547,4587,33),dce[4587]=-19,Bj(dce,4588,4592,33),dce[4592]=-19,Bj(dce,4593,4601,33),dce[4601]=-19,Bj(dce,4602,7680,33),Bj(dce,7680,7836,-19),Bj(dce,7836,7840,33),Bj(dce,7840,7930,-19),Bj(dce,7930,7936,33),Bj(dce,7936,7958,-19),Bj(dce,7958,7960,33),Bj(dce,7960,7966,-19),Bj(dce,7966,7968,33),Bj(dce,7968,8006,-19),Bj(dce,8006,8008,33),Bj(dce,8008,8014,-19),Bj(dce,8014,8016,33),Bj(dce,8016,8024,-19),dce[8024]=33,dce[8025]=-19,dce[8026]=33,dce[8027]=-19,dce[8028]=33,dce[8029]=-19,dce[8030]=33,Bj(dce,8031,8062,-19),Bj(dce,8062,8064,33),Bj(dce,8064,8117,-19),dce[8117]=33,Bj(dce,8118,8125,-19),dce[8125]=33,dce[8126]=-19,Bj(dce,8127,8130,33),Bj(dce,8130,8133,-19),dce[8133]=33,Bj(dce,8134,8141,-19),Bj(dce,8141,8144,33),Bj(dce,8144,8148,-19),Bj(dce,8148,8150,33),Bj(dce,8150,8156,-19),Bj(dce,8156,8160,33),Bj(dce,8160,8173,-19),Bj(dce,8173,8178,33),Bj(dce,8178,8181,-19),dce[8181]=33,Bj(dce,8182,8189,-19),Bj(dce,8189,8400,33),Bj(dce,8400,8413,-87),Bj(dce,8413,8417,33),dce[8417]=-87,Bj(dce,8418,8486,33),dce[8486]=-19,Bj(dce,8487,8490,33),Bj(dce,8490,8492,-19),Bj(dce,8492,8494,33),dce[8494]=-19,Bj(dce,8495,8576,33),Bj(dce,8576,8579,-19),Bj(dce,8579,12293,33),dce[12293]=-87,dce[12294]=33,dce[12295]=-19,Bj(dce,12296,12321,33),Bj(dce,12321,12330,-19),Bj(dce,12330,12336,-87),dce[12336]=33,Bj(dce,12337,12342,-87),Bj(dce,12342,12353,33),Bj(dce,12353,12437,-19),Bj(dce,12437,12441,33),Bj(dce,12441,12443,-87),Bj(dce,12443,12445,33),Bj(dce,12445,12447,-87),Bj(dce,12447,12449,33),Bj(dce,12449,12539,-19),dce[12539]=33,Bj(dce,12540,12543,-87),Bj(dce,12543,12549,33),Bj(dce,12549,12589,-19),Bj(dce,12589,19968,33),Bj(dce,19968,40870,-19),Bj(dce,40870,44032,33),Bj(dce,44032,55204,-19),Bj(dce,55204,rTt,33),Bj(dce,57344,65534,33)}"undefined"!=typeof window?n=window:void 0!==t?n=t:"undefined"!=typeof self&&(n=self);var zkt,qkt,Hkt,Zkt,Ukt,Ykt,Gkt="object",Kkt="boolean",Wkt="number",Xkt="string",Vkt="function",Qkt=2147483647,Jkt="java.lang",t_t={3:1},e_t="com.google.common.base",n_t=", ",i_t="%s (%s) must not be negative",r_t={3:1,4:1,5:1},a_t="negative size: ",o_t="Optional.of(",s_t="null",c_t={198:1,47:1},u_t="com.google.common.collect",l_t={198:1,47:1,125:1},h_t={224:1,3:1},f_t={47:1},d_t="java.util",g_t={83:1},p_t={20:1,28:1,14:1},b_t=1965,w_t={20:1,28:1,14:1,21:1},y_t={83:1,171:1,161:1},m_t={20:1,28:1,14:1,21:1,84:1},v_t={20:1,28:1,14:1,271:1,21:1,84:1},x_t={47:1,125:1},k_t={345:1,42:1},__t="AbstractMapEntry",E_t="expectedValuesPerKey",T_t={3:1,6:1,4:1,5:1},C_t=16384,S_t={164:1},A_t={38:1},M_t={l:4194303,m:4194303,h:524287},I_t={196:1},L_t={245:1,3:1,35:1},O_t="range unbounded on this side",D_t={20:1},N_t={20:1,14:1},P_t={3:1,20:1,28:1,14:1},B_t={152:1,3:1,20:1,28:1,14:1,15:1,54:1},F_t={3:1,4:1,5:1,165:1},$_t={3:1,83:1},j_t={20:1,14:1,21:1},R_t={3:1,20:1,28:1,14:1,21:1},z_t={20:1,14:1,21:1,84:1},q_t=461845907,H_t=-862048943,Z_t={3:1,6:1,4:1,5:1,165:1},U_t="expectedSize",Y_t=1073741824,G_t="initialArraySize",K_t={3:1,6:1,4:1,9:1,5:1},W_t={20:1,28:1,52:1,14:1,15:1},X_t="arraySize",V_t={20:1,28:1,52:1,14:1,15:1,54:1},Q_t={45:1},J_t={365:1},tEt=1e-4,eEt=-2147483648,nEt="__noinit__",iEt={3:1,102:1,60:1,78:1},rEt="com.google.gwt.core.client.impl",aEt="String",oEt="com.google.gwt.core.client",sEt="anonymous",cEt="fnStack",uEt="Unknown",lEt={195:1,3:1,4:1},hEt=1e3,fEt=65535,dEt="January",gEt="February",pEt="March",bEt="April",wEt="May",yEt="June",mEt="July",vEt="August",xEt="September",kEt="October",_Et="November",EEt="December",TEt=1900,CEt={48:1,3:1,4:1},SEt="Before Christ",AEt="Anno Domini",MEt="Sunday",IEt="Monday",LEt="Tuesday",OEt="Wednesday",DEt="Thursday",NEt="Friday",PEt="Saturday",BEt="com.google.gwt.i18n.shared",FEt="DateTimeFormat",$Et="com.google.gwt.i18n.client",jEt="DefaultDateTimeFormatInfo",REt={3:1,4:1,35:1,199:1},zEt="com.google.gwt.json.client",qEt=4194303,HEt=1048575,ZEt=524288,UEt=4194304,YEt=17592186044416,GEt=1e9,KEt=-17592186044416,WEt="java.io",XEt={3:1,102:1,73:1,60:1,78:1},VEt={3:1,289:1,78:1},QEt='For input string: "',JEt=1/0,tTt=-1/0,eTt=4096,nTt={3:1,4:1,364:1},iTt=65536,rTt=55296,aTt={104:1,3:1,4:1},oTt=1e5,sTt=.3010299956639812,cTt=4294967295,uTt=4294967296,lTt="0.0",hTt={42:1},fTt={3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1},dTt={3:1,20:1,28:1,52:1,14:1,15:1,54:1},gTt={20:1,14:1,15:1},pTt={3:1,62:1},bTt={182:1},wTt={3:1,4:1,83:1},yTt={3:1,4:1,20:1,28:1,14:1,53:1,21:1},mTt="delete",vTt=1.4901161193847656e-8,xTt=11102230246251565e-32,kTt=15525485,_Tt=5.960464477539063e-8,ETt=16777216,TTt=16777215,CTt=", length: ",STt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1},ATt={3:1,35:1,22:1,297:1},MTt="java.util.function",ITt="java.util.logging",LTt={3:1,4:1,5:1,842:1},OTt="undefined",DTt="java.util.stream",NTt={525:1,670:1},PTt="fromIndex: ",BTt=" > toIndex: ",FTt=", toIndex: ",$Tt="Index: ",jTt=", Size: ",RTt="org.eclipse.elk.alg.common",zTt={62:1},qTt="org.eclipse.elk.alg.common.compaction",HTt="Scanline/EventHandler",ZTt="org.eclipse.elk.alg.common.compaction.oned",UTt="CNode belongs to another CGroup.",YTt="ISpacingsHandler/1",GTt="The ",KTt=" instance has been finished already.",WTt="The direction ",XTt=" is not supported by the CGraph instance.",VTt="OneDimensionalCompactor",QTt="OneDimensionalCompactor/lambda$0$Type",JTt="Quadruplet",tCt="ScanlineConstraintCalculator",eCt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",nCt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",iCt="ScanlineConstraintCalculator/Timestamp",rCt="ScanlineConstraintCalculator/lambda$0$Type",aCt={169:1,45:1},oCt="org.eclipse.elk.alg.common.compaction.options",sCt="org.eclipse.elk.core.data",cCt="org.eclipse.elk.polyomino.traversalStrategy",uCt="org.eclipse.elk.polyomino.lowLevelSort",lCt="org.eclipse.elk.polyomino.highLevelSort",hCt="org.eclipse.elk.polyomino.fill",fCt={130:1},dCt="polyomino",gCt="org.eclipse.elk.alg.common.networksimplex",pCt={177:1,3:1,4:1},bCt="org.eclipse.elk.alg.common.nodespacing",wCt="org.eclipse.elk.alg.common.nodespacing.cellsystem",yCt="CENTER",mCt={212:1,326:1},vCt={3:1,4:1,5:1,595:1},xCt="LEFT",kCt="RIGHT",_Ct="Vertical alignment cannot be null",ECt="BOTTOM",TCt="org.eclipse.elk.alg.common.nodespacing.internal",CCt="UNDEFINED",SCt=.01,ACt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",MCt="LabelPlacer/lambda$0$Type",ICt="LabelPlacer/lambda$1$Type",LCt="portRatioOrPosition",OCt="org.eclipse.elk.alg.common.overlaps",DCt="DOWN",NCt="org.eclipse.elk.alg.common.polyomino",PCt="NORTH",BCt="EAST",FCt="SOUTH",$Ct="WEST",jCt="org.eclipse.elk.alg.common.polyomino.structures",RCt="Direction",zCt="Grid is only of size ",qCt=". Requested point (",HCt=") is out of bounds.",ZCt=" Given center based coordinates were (",UCt="org.eclipse.elk.graph.properties",YCt="IPropertyHolder",GCt={3:1,94:1,134:1},KCt="org.eclipse.elk.alg.common.spore",WCt="org.eclipse.elk.alg.common.utils",XCt={209:1},VCt="org.eclipse.elk.core",QCt="Connected Components Compaction",JCt="org.eclipse.elk.alg.disco",tSt="org.eclipse.elk.alg.disco.graph",eSt="org.eclipse.elk.alg.disco.options",nSt="CompactionStrategy",iSt="org.eclipse.elk.disco.componentCompaction.strategy",rSt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",aSt="org.eclipse.elk.disco.debug.discoGraph",oSt="org.eclipse.elk.disco.debug.discoPolys",sSt="componentCompaction",cSt="org.eclipse.elk.disco",uSt="org.eclipse.elk.spacing.componentComponent",lSt="org.eclipse.elk.edge.thickness",hSt="org.eclipse.elk.aspectRatio",fSt="org.eclipse.elk.padding",dSt="org.eclipse.elk.alg.disco.transform",gSt=1.5707963267948966,pSt=17976931348623157e292,bSt={3:1,4:1,5:1,192:1},wSt={3:1,6:1,4:1,5:1,106:1,120:1},ySt="org.eclipse.elk.alg.force",mSt="ComponentsProcessor",vSt="ComponentsProcessor/1",xSt="org.eclipse.elk.alg.force.graph",kSt="Component Layout",_St="org.eclipse.elk.alg.force.model",ESt="org.eclipse.elk.force.model",TSt="org.eclipse.elk.force.iterations",CSt="org.eclipse.elk.force.repulsivePower",SSt="org.eclipse.elk.force.temperature",ASt=.001,MSt="org.eclipse.elk.force.repulsion",ISt="org.eclipse.elk.alg.force.options",LSt=1.600000023841858,OSt="org.eclipse.elk.force",DSt="org.eclipse.elk.priority",NSt="org.eclipse.elk.spacing.nodeNode",PSt="org.eclipse.elk.spacing.edgeLabel",BSt="org.eclipse.elk.randomSeed",FSt="org.eclipse.elk.separateConnectedComponents",$St="org.eclipse.elk.interactive",jSt="org.eclipse.elk.portConstraints",RSt="org.eclipse.elk.edgeLabels.inline",zSt="org.eclipse.elk.omitNodeMicroLayout",qSt="org.eclipse.elk.nodeSize.options",HSt="org.eclipse.elk.nodeSize.constraints",ZSt="org.eclipse.elk.nodeLabels.placement",USt="org.eclipse.elk.portLabels.placement",YSt="origin",GSt="random",KSt="boundingBox.upLeft",WSt="boundingBox.lowRight",XSt="org.eclipse.elk.stress.fixed",VSt="org.eclipse.elk.stress.desiredEdgeLength",QSt="org.eclipse.elk.stress.dimension",JSt="org.eclipse.elk.stress.epsilon",tAt="org.eclipse.elk.stress.iterationLimit",eAt="org.eclipse.elk.stress",nAt="ELK Stress",iAt="org.eclipse.elk.nodeSize.minimum",rAt="org.eclipse.elk.alg.force.stress",aAt="Layered layout",oAt="org.eclipse.elk.alg.layered",sAt="org.eclipse.elk.alg.layered.compaction.components",cAt="org.eclipse.elk.alg.layered.compaction.oned",uAt="org.eclipse.elk.alg.layered.compaction.oned.algs",lAt="org.eclipse.elk.alg.layered.compaction.recthull",hAt="org.eclipse.elk.alg.layered.components",fAt="NONE",dAt={3:1,6:1,4:1,9:1,5:1,122:1},gAt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},pAt="org.eclipse.elk.alg.layered.compound",bAt={51:1},wAt="org.eclipse.elk.alg.layered.graph",yAt=" -> ",mAt="Not supported by LGraph",vAt="Port side is undefined",xAt={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},kAt={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},_At={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},EAt="([{\"' \t\r\n",TAt=")]}\"' \t\r\n",CAt="The given string contains parts that cannot be parsed as numbers.",SAt="org.eclipse.elk.core.math",AAt={3:1,4:1,142:1,207:1,414:1},MAt={3:1,4:1,116:1,207:1,414:1},IAt="org.eclipse.elk.layered",LAt="org.eclipse.elk.alg.layered.graph.transform",OAt="ElkGraphImporter",DAt="ElkGraphImporter/lambda$0$Type",NAt="ElkGraphImporter/lambda$1$Type",PAt="ElkGraphImporter/lambda$2$Type",BAt="ElkGraphImporter/lambda$4$Type",FAt="Node margin calculation",$At="org.eclipse.elk.alg.layered.intermediate",jAt="ONE_SIDED_GREEDY_SWITCH",RAt="TWO_SIDED_GREEDY_SWITCH",zAt="No implementation is available for the layout processor ",qAt="IntermediateProcessorStrategy",HAt="Node '",ZAt="FIRST_SEPARATE",UAt="LAST_SEPARATE",YAt="Odd port side processing",GAt="org.eclipse.elk.alg.layered.intermediate.compaction",KAt="org.eclipse.elk.alg.layered.intermediate.greedyswitch",WAt="org.eclipse.elk.alg.layered.p3order.counting",XAt={225:1},VAt="org.eclipse.elk.alg.layered.intermediate.loops",QAt="org.eclipse.elk.alg.layered.intermediate.loops.ordering",JAt="org.eclipse.elk.alg.layered.intermediate.loops.routing",tMt="org.eclipse.elk.alg.layered.intermediate.preserveorder",eMt="org.eclipse.elk.alg.layered.intermediate.wrapping",nMt="org.eclipse.elk.alg.layered.options",iMt="INTERACTIVE",rMt="DEPTH_FIRST",aMt="EDGE_LENGTH",oMt="SELF_LOOPS",sMt="firstTryWithInitialOrder",cMt="org.eclipse.elk.layered.directionCongruency",uMt="org.eclipse.elk.layered.feedbackEdges",lMt="org.eclipse.elk.layered.interactiveReferencePoint",hMt="org.eclipse.elk.layered.mergeEdges",fMt="org.eclipse.elk.layered.mergeHierarchyEdges",dMt="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",gMt="org.eclipse.elk.layered.portSortingStrategy",pMt="org.eclipse.elk.layered.thoroughness",bMt="org.eclipse.elk.layered.unnecessaryBendpoints",wMt="org.eclipse.elk.layered.generatePositionAndLayerIds",yMt="org.eclipse.elk.layered.cycleBreaking.strategy",mMt="org.eclipse.elk.layered.layering.strategy",vMt="org.eclipse.elk.layered.layering.layerConstraint",xMt="org.eclipse.elk.layered.layering.layerChoiceConstraint",kMt="org.eclipse.elk.layered.layering.layerId",_Mt="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",EMt="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",TMt="org.eclipse.elk.layered.layering.nodePromotion.strategy",CMt="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",SMt="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",AMt="org.eclipse.elk.layered.crossingMinimization.strategy",MMt="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",IMt="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",LMt="org.eclipse.elk.layered.crossingMinimization.semiInteractive",OMt="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",DMt="org.eclipse.elk.layered.crossingMinimization.positionId",NMt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",PMt="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",BMt="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",FMt="org.eclipse.elk.layered.nodePlacement.strategy",$Mt="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",jMt="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",RMt="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",zMt="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",qMt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",HMt="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",ZMt="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",UMt="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",YMt="org.eclipse.elk.layered.edgeRouting.splines.mode",GMt="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",KMt="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",WMt="org.eclipse.elk.layered.spacing.baseValue",XMt="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",VMt="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",QMt="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",JMt="org.eclipse.elk.layered.priority.direction",tIt="org.eclipse.elk.layered.priority.shortness",eIt="org.eclipse.elk.layered.priority.straightness",nIt="org.eclipse.elk.layered.compaction.connectedComponents",iIt="org.eclipse.elk.layered.compaction.postCompaction.strategy",rIt="org.eclipse.elk.layered.compaction.postCompaction.constraints",aIt="org.eclipse.elk.layered.highDegreeNodes.treatment",oIt="org.eclipse.elk.layered.highDegreeNodes.threshold",sIt="org.eclipse.elk.layered.highDegreeNodes.treeHeight",cIt="org.eclipse.elk.layered.wrapping.strategy",uIt="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",lIt="org.eclipse.elk.layered.wrapping.correctionFactor",hIt="org.eclipse.elk.layered.wrapping.cutting.strategy",fIt="org.eclipse.elk.layered.wrapping.cutting.cuts",dIt="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",gIt="org.eclipse.elk.layered.wrapping.validify.strategy",pIt="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",bIt="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",wIt="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",yIt="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",mIt="org.eclipse.elk.layered.edgeLabels.sideSelection",vIt="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",xIt="org.eclipse.elk.layered.considerModelOrder.strategy",kIt="org.eclipse.elk.layered.considerModelOrder.noModelOrder",_It="org.eclipse.elk.layered.considerModelOrder.components",EIt="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",TIt="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",CIt="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",SIt="layering",AIt="layering.minWidth",MIt="layering.nodePromotion",IIt="crossingMinimization",LIt="org.eclipse.elk.hierarchyHandling",OIt="crossingMinimization.greedySwitch",DIt="nodePlacement",NIt="nodePlacement.bk",PIt="edgeRouting",BIt="org.eclipse.elk.edgeRouting",FIt="spacing",$It="priority",jIt="compaction",RIt="compaction.postCompaction",zIt="Specifies whether and how post-process compaction is applied.",qIt="highDegreeNodes",HIt="wrapping",ZIt="wrapping.cutting",UIt="wrapping.validify",YIt="wrapping.multiEdge",GIt="edgeLabels",KIt="considerModelOrder",WIt="org.eclipse.elk.spacing.commentComment",XIt="org.eclipse.elk.spacing.commentNode",VIt="org.eclipse.elk.spacing.edgeEdge",QIt="org.eclipse.elk.spacing.edgeNode",JIt="org.eclipse.elk.spacing.labelLabel",tLt="org.eclipse.elk.spacing.labelPortHorizontal",eLt="org.eclipse.elk.spacing.labelPortVertical",nLt="org.eclipse.elk.spacing.labelNode",iLt="org.eclipse.elk.spacing.nodeSelfLoop",rLt="org.eclipse.elk.spacing.portPort",aLt="org.eclipse.elk.spacing.individual",oLt="org.eclipse.elk.port.borderOffset",sLt="org.eclipse.elk.noLayout",cLt="org.eclipse.elk.port.side",uLt="org.eclipse.elk.debugMode",lLt="org.eclipse.elk.alignment",hLt="org.eclipse.elk.insideSelfLoops.activate",fLt="org.eclipse.elk.insideSelfLoops.yo",dLt="org.eclipse.elk.nodeSize.fixedGraphSize",gLt="org.eclipse.elk.direction",pLt="org.eclipse.elk.nodeLabels.padding",bLt="org.eclipse.elk.portLabels.nextToPortIfPossible",wLt="org.eclipse.elk.portLabels.treatAsGroup",yLt="org.eclipse.elk.portAlignment.default",mLt="org.eclipse.elk.portAlignment.north",vLt="org.eclipse.elk.portAlignment.south",xLt="org.eclipse.elk.portAlignment.west",kLt="org.eclipse.elk.portAlignment.east",_Lt="org.eclipse.elk.contentAlignment",ELt="org.eclipse.elk.junctionPoints",TLt="org.eclipse.elk.edgeLabels.placement",CLt="org.eclipse.elk.port.index",SLt="org.eclipse.elk.commentBox",ALt="org.eclipse.elk.hypernode",MLt="org.eclipse.elk.port.anchor",ILt="org.eclipse.elk.partitioning.activate",LLt="org.eclipse.elk.partitioning.partition",OLt="org.eclipse.elk.position",DLt="org.eclipse.elk.margins",NLt="org.eclipse.elk.spacing.portsSurrounding",PLt="org.eclipse.elk.interactiveLayout",BLt="org.eclipse.elk.core.util",FLt={3:1,4:1,5:1,593:1},$Lt="NETWORK_SIMPLEX",jLt={123:1,51:1},RLt="org.eclipse.elk.alg.layered.p1cycles",zLt="org.eclipse.elk.alg.layered.p2layers",qLt={402:1,225:1},HLt={832:1,3:1,4:1},ZLt="org.eclipse.elk.alg.layered.p3order",ULt="org.eclipse.elk.alg.layered.p4nodes",YLt={3:1,4:1,5:1,840:1},GLt=1e-5,KLt="org.eclipse.elk.alg.layered.p4nodes.bk",WLt="org.eclipse.elk.alg.layered.p5edges",XLt="org.eclipse.elk.alg.layered.p5edges.orthogonal",VLt="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",QLt=1e-6,JLt="org.eclipse.elk.alg.layered.p5edges.splines",tOt=.09999999999999998,eOt=1e-8,nOt=4.71238898038469,iOt=3.141592653589793,rOt="org.eclipse.elk.alg.mrtree",aOt="org.eclipse.elk.alg.mrtree.graph",oOt="org.eclipse.elk.alg.mrtree.intermediate",sOt="Set neighbors in level",cOt="DESCENDANTS",uOt="org.eclipse.elk.mrtree.weighting",lOt="org.eclipse.elk.mrtree.searchOrder",hOt="org.eclipse.elk.alg.mrtree.options",fOt="org.eclipse.elk.mrtree",dOt="org.eclipse.elk.tree",gOt="org.eclipse.elk.alg.radial",pOt=6.283185307179586,bOt=5e-324,wOt="org.eclipse.elk.alg.radial.intermediate",yOt="org.eclipse.elk.alg.radial.intermediate.compaction",mOt={3:1,4:1,5:1,106:1},vOt="org.eclipse.elk.alg.radial.intermediate.optimization",xOt="No implementation is available for the layout option ",kOt="org.eclipse.elk.alg.radial.options",_Ot="org.eclipse.elk.radial.orderId",EOt="org.eclipse.elk.radial.radius",TOt="org.eclipse.elk.radial.compactor",COt="org.eclipse.elk.radial.compactionStepSize",SOt="org.eclipse.elk.radial.sorter",AOt="org.eclipse.elk.radial.wedgeCriteria",MOt="org.eclipse.elk.radial.optimizationCriteria",IOt="org.eclipse.elk.radial",LOt="org.eclipse.elk.alg.radial.p1position.wedge",OOt="org.eclipse.elk.alg.radial.sorting",DOt=5.497787143782138,NOt=3.9269908169872414,POt=2.356194490192345,BOt="org.eclipse.elk.alg.rectpacking",FOt="org.eclipse.elk.alg.rectpacking.firstiteration",$Ot="org.eclipse.elk.alg.rectpacking.options",jOt="org.eclipse.elk.rectpacking.optimizationGoal",ROt="org.eclipse.elk.rectpacking.lastPlaceShift",zOt="org.eclipse.elk.rectpacking.currentPosition",qOt="org.eclipse.elk.rectpacking.desiredPosition",HOt="org.eclipse.elk.rectpacking.onlyFirstIteration",ZOt="org.eclipse.elk.rectpacking.rowCompaction",UOt="org.eclipse.elk.rectpacking.expandToAspectRatio",YOt="org.eclipse.elk.rectpacking.targetWidth",GOt="org.eclipse.elk.expandNodes",KOt="org.eclipse.elk.rectpacking",WOt="org.eclipse.elk.alg.rectpacking.util",XOt="No implementation available for ",VOt="org.eclipse.elk.alg.spore",QOt="org.eclipse.elk.alg.spore.options",JOt="org.eclipse.elk.sporeCompaction",tDt="org.eclipse.elk.underlyingLayoutAlgorithm",eDt="org.eclipse.elk.processingOrder.treeConstruction",nDt="org.eclipse.elk.processingOrder.spanningTreeCostFunction",iDt="org.eclipse.elk.processingOrder.preferredRoot",rDt="org.eclipse.elk.processingOrder.rootSelection",aDt="org.eclipse.elk.structure.structureExtractionStrategy",oDt="org.eclipse.elk.compaction.compactionStrategy",sDt="org.eclipse.elk.compaction.orthogonal",cDt="org.eclipse.elk.overlapRemoval.maxIterations",uDt="org.eclipse.elk.overlapRemoval.runScanline",lDt="processingOrder",hDt="overlapRemoval",fDt="org.eclipse.elk.sporeOverlap",dDt="org.eclipse.elk.alg.spore.p1structure",gDt="org.eclipse.elk.alg.spore.p2processingorder",pDt="org.eclipse.elk.alg.spore.p3execution",bDt="Invalid index: ",wDt="org.eclipse.elk.core.alg",yDt={331:1},mDt={288:1},vDt="Make sure its type is registered with the ",xDt=" utility class.",kDt="true",_Dt="false",EDt="Couldn't clone property '",TDt=.05,CDt="org.eclipse.elk.core.options",SDt=1.2999999523162842,ADt="org.eclipse.elk.box",MDt="org.eclipse.elk.box.packingMode",IDt="org.eclipse.elk.algorithm",LDt="org.eclipse.elk.resolvedAlgorithm",ODt="org.eclipse.elk.bendPoints",DDt="org.eclipse.elk.labelManager",NDt="org.eclipse.elk.scaleFactor",PDt="org.eclipse.elk.animate",BDt="org.eclipse.elk.animTimeFactor",FDt="org.eclipse.elk.layoutAncestors",$Dt="org.eclipse.elk.maxAnimTime",jDt="org.eclipse.elk.minAnimTime",RDt="org.eclipse.elk.progressBar",zDt="org.eclipse.elk.validateGraph",qDt="org.eclipse.elk.validateOptions",HDt="org.eclipse.elk.zoomToFit",ZDt="org.eclipse.elk.font.name",UDt="org.eclipse.elk.font.size",YDt="org.eclipse.elk.edge.type",GDt="partitioning",KDt="nodeLabels",WDt="portAlignment",XDt="nodeSize",VDt="port",QDt="portLabels",JDt="insideSelfLoops",tNt="org.eclipse.elk.fixed",eNt="org.eclipse.elk.random",nNt="port must have a parent node to calculate the port side",iNt="The edge needs to have exactly one edge section. Found: ",rNt="org.eclipse.elk.core.util.adapters",aNt="org.eclipse.emf.ecore",oNt="org.eclipse.elk.graph",sNt="EMapPropertyHolder",cNt="ElkBendPoint",uNt="ElkGraphElement",lNt="ElkConnectableShape",hNt="ElkEdge",fNt="ElkEdgeSection",dNt="EModelElement",gNt="ENamedElement",pNt="ElkLabel",bNt="ElkNode",wNt="ElkPort",yNt={92:1,90:1},mNt="org.eclipse.emf.common.notify.impl",vNt="The feature '",xNt="' is not a valid changeable feature",kNt="Expecting null",_Nt="' is not a valid feature",ENt="The feature ID",TNt=" is not a valid feature ID",CNt=32768,SNt={105:1,92:1,90:1,56:1,49:1,97:1},ANt="org.eclipse.emf.ecore.impl",MNt="org.eclipse.elk.graph.impl",INt="Recursive containment not allowed for ",LNt="The datatype '",ONt="' is not a valid classifier",DNt="The value '",NNt={190:1,3:1,4:1},PNt="The class '",BNt="http://www.eclipse.org/elk/ElkGraph",FNt=1024,$Nt="property",jNt="value",RNt="source",zNt="properties",qNt="identifier",HNt="height",ZNt="width",UNt="parent",YNt="text",GNt="children",KNt="hierarchical",WNt="sources",XNt="targets",VNt="sections",QNt="bendPoints",JNt="outgoingShape",tPt="incomingShape",ePt="outgoingSections",nPt="incomingSections",iPt="org.eclipse.emf.common.util",rPt="Severe implementation error in the Json to ElkGraph importer.",aPt="id",oPt="org.eclipse.elk.graph.json",sPt="Unhandled parameter types: ",cPt="startPoint",uPt="An edge must have at least one source and one target (edge id: '",lPt="').",hPt="Referenced edge section does not exist: ",fPt=" (edge id: '",dPt="target",gPt="sourcePoint",pPt="targetPoint",bPt="group",wPt="name",yPt="connectableShape cannot be null",mPt="edge cannot be null",vPt="Passed edge is not 'simple'.",xPt="org.eclipse.elk.graph.util",kPt="The 'no duplicates' constraint is violated",_Pt="targetIndex=",EPt=", size=",TPt="sourceIndex=",CPt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},SPt={3:1,4:1,20:1,28:1,52:1,14:1,47:1,15:1,54:1,67:1,63:1,58:1,588:1},APt="logging",MPt="measureExecutionTime",IPt="parser.parse.1",LPt="parser.parse.2",OPt="parser.next.1",DPt="parser.next.2",NPt="parser.next.3",PPt="parser.next.4",BPt="parser.factor.1",FPt="parser.factor.2",$Pt="parser.factor.3",jPt="parser.factor.4",RPt="parser.factor.5",zPt="parser.factor.6",qPt="parser.atom.1",HPt="parser.atom.2",ZPt="parser.atom.3",UPt="parser.atom.4",YPt="parser.atom.5",GPt="parser.cc.1",KPt="parser.cc.2",WPt="parser.cc.3",XPt="parser.cc.5",VPt="parser.cc.6",QPt="parser.cc.7",JPt="parser.cc.8",tBt="parser.ope.1",eBt="parser.ope.2",nBt="parser.ope.3",iBt="parser.descape.1",rBt="parser.descape.2",aBt="parser.descape.3",oBt="parser.descape.4",sBt="parser.descape.5",cBt="parser.process.1",uBt="parser.quantifier.1",lBt="parser.quantifier.2",hBt="parser.quantifier.3",fBt="parser.quantifier.4",dBt="parser.quantifier.5",gBt="org.eclipse.emf.common.notify",pBt={415:1,672:1},bBt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},wBt={366:1,143:1},yBt="index=",mBt={3:1,4:1,5:1,126:1},vBt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},xBt={3:1,6:1,4:1,5:1,192:1},kBt={3:1,4:1,5:1,165:1,367:1},_Bt=";/?:@&=+$,",EBt="invalid authority: ",TBt="EAnnotation",CBt="ETypedElement",SBt="EStructuralFeature",ABt="EAttribute",MBt="EClassifier",IBt="EEnumLiteral",LBt="EGenericType",OBt="EOperation",DBt="EParameter",NBt="EReference",PBt="ETypeParameter",BBt="org.eclipse.emf.ecore.util",FBt={76:1},$Bt={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},jBt="org.eclipse.emf.ecore.util.FeatureMap$Entry",RBt=8192,zBt=2048,qBt="byte",HBt="char",ZBt="double",UBt="float",YBt="int",GBt="long",KBt="short",WBt="java.lang.Object",XBt={3:1,4:1,5:1,247:1},VBt={3:1,4:1,5:1,673:1},QBt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},JBt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,69:1,95:1},tFt="mixed",eFt="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",nFt="kind",iFt={3:1,4:1,5:1,674:1},rFt={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},aFt={20:1,28:1,52:1,14:1,15:1,58:1,69:1},oFt={47:1,125:1,279:1},sFt={72:1,332:1},cFt="The value of type '",uFt="' must be of type '",lFt=1316,hFt="http://www.eclipse.org/emf/2002/Ecore",fFt=-32768,dFt="constraints",gFt="baseType",pFt="getEStructuralFeature",bFt="getFeatureID",wFt="feature",yFt="getOperationID",mFt="operation",vFt="defaultValue",xFt="eTypeParameters",kFt="isInstance",_Ft="getEEnumLiteral",EFt="eContainingClass",TFt={55:1},CFt={3:1,4:1,5:1,119:1},SFt="org.eclipse.emf.ecore.resource",AFt={92:1,90:1,591:1,1935:1},MFt="org.eclipse.emf.ecore.resource.impl",IFt="unspecified",LFt="simple",OFt="attribute",DFt="attributeWildcard",NFt="element",PFt="elementWildcard",BFt="collapse",FFt="itemType",$Ft="namespace",jFt="##targetNamespace",RFt="whiteSpace",zFt="wildcards",qFt="http://www.eclipse.org/emf/2003/XMLType",HFt="##any",ZFt="uninitialized",UFt="The multiplicity constraint is violated",YFt="org.eclipse.emf.ecore.xml.type",GFt="ProcessingInstruction",KFt="SimpleAnyType",WFt="XMLTypeDocumentRoot",XFt="org.eclipse.emf.ecore.xml.type.impl",VFt="INF",QFt="processing",JFt="ENTITIES_._base",t$t="minLength",e$t="ENTITY",n$t="NCName",i$t="IDREFS_._base",r$t="integer",a$t="token",o$t="pattern",s$t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",c$t="\\i\\c*",u$t="[\\i-[:]][\\c-[:]]*",l$t="nonPositiveInteger",h$t="maxInclusive",f$t="NMTOKEN",d$t="NMTOKENS_._base",g$t="nonNegativeInteger",p$t="minInclusive",b$t="normalizedString",w$t="unsignedByte",y$t="unsignedInt",m$t="18446744073709551615",v$t="unsignedShort",x$t="processingInstruction",k$t="org.eclipse.emf.ecore.xml.type.internal",_$t=1114111,E$t="Internal Error: shorthands: \\u",T$t="xml:isDigit",C$t="xml:isWord",S$t="xml:isSpace",A$t="xml:isNameChar",M$t="xml:isInitialNameChar",I$t="09٠٩۰۹୯௧௯໙༠༩",L$t="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩↀↂ〡〩ぁゔァヺㄅㄬ一龥가힣",O$t="Private Use",D$t="ASSIGNED",N$t="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀᄀᇿ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯﹐﹯ﹰ﻾\ufeff\ufeff＀￯",P$t="UNASSIGNED",B$t={3:1,117:1},F$t="org.eclipse.emf.ecore.xml.type.util",$$t={3:1,4:1,5:1,368:1},j$t="org.eclipse.xtext.xbase.lib",R$t="Cannot add elements to a Range",z$t="Cannot set elements in a Range",q$t="Cannot remove elements from a Range",H$t="locale",Z$t="default",U$t="user.agent";n.goog=n.goog||{},n.goog.global=n.goog.global||n,qkt={},!Array.isArray&&(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),!Date.now&&(Date.now=function(){return(new Date).getTime()}),Wht(1,null,{},r),zkt.Fb=function(t){return KA(this,t)},zkt.Gb=function(){return this.gm},zkt.Hb=function(){return jL(this)},zkt.Ib=function(){return Nx(W5(this))+"@"+(K5(this)>>>0).toString(16)},zkt.equals=function(t){return this.Fb(t)},zkt.hashCode=function(){return this.Hb()},zkt.toString=function(){return this.Ib()},Wht(290,1,{290:1,2026:1},m5),zkt.le=function(t){var e;return(e=new m5).i=4,e.c=t>1?HZ(this,t-1):this,e},zkt.me=function(){return uD(this),this.b},zkt.ne=function(){return Nx(this)},zkt.oe=function(){return uD(this),this.k},zkt.pe=function(){return 0!=(4&this.i)},zkt.qe=function(){return 0!=(1&this.i)},zkt.Ib=function(){return DJ(this)},zkt.i=0;var Y$t,G$t=_R(Jkt,"Object",1),K$t=_R(Jkt,"Class",290);Wht(1998,1,t_t),_R(e_t,"Optional",1998),Wht(1170,1998,t_t,a),zkt.Fb=function(t){return t===this},zkt.Hb=function(){return 2040732332},zkt.Ib=function(){return"Optional.absent()"},zkt.Jb=function(t){return TR(t),bm(),Y$t},_R(e_t,"Absent",1170),Wht(628,1,{},Ev),_R(e_t,"Joiner",628);var W$t=oF(e_t,"Predicate");Wht(582,1,{169:1,582:1,3:1,45:1},jh),zkt.Mb=function(t){return F5(this,t)},zkt.Lb=function(t){return F5(this,t)},zkt.Fb=function(t){var e;return!!MI(t,582)&&(e=VP(t,582),lft(this.a,e.a))},zkt.Hb=function(){return $5(this.a)+306654252},zkt.Ib=function(){return function(t){var e,n,i,r;for(e=jR(vA(new CL("Predicates."),"and"),40),n=!0,r=new Wf(t);r.b<r.d.gc();)CO(r.b<r.d.gc()),i=r.d.Xb(r.c=r.b++),n||(e.a+=","),e.a+=""+i,n=!1;return(e.a+=")",e).a}(this.a)},_R(e_t,"Predicates/AndPredicate",582),Wht(408,1998,{408:1,3:1},Rh),zkt.Fb=function(t){var e;return!!MI(t,408)&&(e=VP(t,408),X7(this.a,e.a))},zkt.Hb=function(){return 1502476572+K5(this.a)},zkt.Ib=function(){return o_t+this.a+")"},zkt.Jb=function(t){return new Rh(rH(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},_R(e_t,"Present",408),Wht(198,1,c_t),zkt.Nb=function(t){Aj(this,t)},zkt.Qb=function(){xv()},_R(u_t,"UnmodifiableIterator",198),Wht(1978,198,l_t),zkt.Qb=function(){xv()},zkt.Rb=function(t){throw lw(new Pw)},zkt.Wb=function(t){throw lw(new Pw)},_R(u_t,"UnmodifiableListIterator",1978),Wht(386,1978,l_t),zkt.Ob=function(){return this.c<this.d},zkt.Sb=function(){return this.c>0},zkt.Pb=function(){if(this.c>=this.d)throw lw(new $w);return this.Xb(this.c++)},zkt.Tb=function(){return this.c},zkt.Ub=function(){if(this.c<=0)throw lw(new $w);return this.Xb(--this.c)},zkt.Vb=function(){return this.c-1},zkt.c=0,zkt.d=0,_R(u_t,"AbstractIndexedListIterator",386),Wht(699,198,c_t),zkt.Ob=function(){return G0(this)},zkt.Pb=function(){return dQ(this)},zkt.e=1,_R(u_t,"AbstractIterator",699),Wht(1986,1,{224:1}),zkt.Zb=function(){return this.f||(this.f=this.ac())},zkt.Fb=function(t){return h6(this,t)},zkt.Hb=function(){return K5(this.Zb())},zkt.dc=function(){return 0==this.gc()},zkt.ec=function(){return R$(this)},zkt.Ib=function(){return A9(this.Zb())},_R(u_t,"AbstractMultimap",1986),Wht(726,1986,h_t),zkt.$b=function(){y0(this)},zkt._b=function(t){return Ix(this,t)},zkt.ac=function(){return new Gk(this,this.c)},zkt.ic=function(t){return this.hc()},zkt.bc=function(){return new iL(this,this.c)},zkt.jc=function(){return this.mc(this.hc())},zkt.kc=function(){return new em(this)},zkt.lc=function(){return dst(this.c.vc().Nc(),new s,64,this.d)},zkt.cc=function(t){return jW(this,t)},zkt.fc=function(t){return l7(this,t)},zkt.gc=function(){return this.d},zkt.mc=function(t){return Gq(),new hd(t)},zkt.nc=function(){return new tm(this)},zkt.oc=function(){return dst(this.c.Cc().Nc(),new o,64,this.d)},zkt.pc=function(t,e){return new pX(this,t,e,null)},zkt.d=0,_R(u_t,"AbstractMapBasedMultimap",726),Wht(1631,726,h_t),zkt.hc=function(){return new wX(this.a)},zkt.jc=function(){return Gq(),Gq(),TRt},zkt.cc=function(t){return VP(jW(this,t),15)},zkt.fc=function(t){return VP(l7(this,t),15)},zkt.Zb=function(){return Xq(this)},zkt.Fb=function(t){return h6(this,t)},zkt.qc=function(t){return VP(jW(this,t),15)},zkt.rc=function(t){return VP(l7(this,t),15)},zkt.mc=function(t){return fH(VP(t,15))},zkt.pc=function(t,e){return xG(this,t,VP(e,15),null)},_R(u_t,"AbstractListMultimap",1631),Wht(732,1,f_t),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.c.Ob()||this.e.Ob()},zkt.Pb=function(){var t;return this.e.Ob()||(t=VP(this.c.Pb(),42),this.b=t.cd(),this.a=VP(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},zkt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},_R(u_t,"AbstractMapBasedMultimap/Itr",732),Wht(1099,732,f_t,tm),zkt.sc=function(t,e){return e},_R(u_t,"AbstractMapBasedMultimap/1",1099),Wht(1100,1,{},o),zkt.Kb=function(t){return VP(t,14).Nc()},_R(u_t,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),Wht(1101,732,f_t,em),zkt.sc=function(t,e){return new Kk(t,e)},_R(u_t,"AbstractMapBasedMultimap/2",1101);var X$t=oF(d_t,"Map");Wht(1967,1,g_t),zkt.wc=function(t){C3(this,t)},zkt.yc=function(t,e,n){return V8(this,t,e,n)},zkt.$b=function(){this.vc().$b()},zkt.tc=function(t){return zit(this,t)},zkt._b=function(t){return!!Mot(this,t,!1)},zkt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=VP(e.Pb(),42).dd(),iA(t)===iA(n)||null!=t&&X7(t,n))return!0;return!1},zkt.Fb=function(t){var e,n,i;if(t===this)return!0;if(!MI(t,83))return!1;if(i=VP(t,83),this.gc()!=i.gc())return!1;for(n=i.vc().Kc();n.Ob();)if(e=VP(n.Pb(),42),!this.tc(e))return!1;return!0},zkt.xc=function(t){return nA(Mot(this,t,!1))},zkt.Hb=function(){return K4(this.vc())},zkt.dc=function(){return 0==this.gc()},zkt.ec=function(){return new Vf(this)},zkt.zc=function(t,e){throw lw(new uv("Put not supported on this map"))},zkt.Ac=function(t){i3(this,t)},zkt.Bc=function(t){return nA(Mot(this,t,!0))},zkt.gc=function(){return this.vc().gc()},zkt.Ib=function(){return zot(this)},zkt.Cc=function(){return new Jf(this)},_R(d_t,"AbstractMap",1967),Wht(1987,1967,g_t),zkt.bc=function(){return new n_(this)},zkt.vc=function(){return j$(this)},zkt.ec=function(){return this.g||(this.g=this.bc())},zkt.Cc=function(){return this.i||(this.i=new i_(this))},_R(u_t,"Maps/ViewCachingAbstractMap",1987),Wht(389,1987,g_t,Gk),zkt.xc=function(t){return function(t,e){var n,i;return(n=VP(P7(t.d,e),14))?(i=e,t.e.pc(i,n)):null}(this,t)},zkt.Bc=function(t){return function(t,e){var n,i;return(n=VP(t.d.Bc(e),14))?((i=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),i):null}(this,t)},zkt.$b=function(){this.d==this.e.c?this.e.$b():yF(new mF(this))},zkt._b=function(t){return F7(this.d,t)},zkt.Ec=function(){return new Zh(this)},zkt.Dc=function(){return this.Ec()},zkt.Fb=function(t){return this===t||X7(this.d,t)},zkt.Hb=function(){return K5(this.d)},zkt.ec=function(){return this.e.ec()},zkt.gc=function(){return this.d.gc()},zkt.Ib=function(){return A9(this.d)},_R(u_t,"AbstractMapBasedMultimap/AsMap",389);var V$t=oF(Jkt,"Iterable");Wht(28,1,p_t),zkt.Jc=function(t){GK(this,t)},zkt.Lc=function(){return this.Oc()},zkt.Nc=function(){return new NU(this,0)},zkt.Oc=function(){return new CF(null,this.Nc())},zkt.Fc=function(t){throw lw(new uv("Add not supported on this collection"))},zkt.Gc=function(t){return M2(this,t)},zkt.$b=function(){iq(this)},zkt.Hc=function(t){return W9(this,t,!1)},zkt.Ic=function(t){return m4(this,t)},zkt.dc=function(){return 0==this.gc()},zkt.Mc=function(t){return W9(this,t,!0)},zkt.Pc=function(){return M$(this)},zkt.Qc=function(t){return Rit(this,t)},zkt.Ib=function(){return Ust(this)},_R(d_t,"AbstractCollection",28);var Q$t=oF(d_t,"Set");Wht(b_t,28,w_t),zkt.Nc=function(){return new NU(this,1)},zkt.Fb=function(t){return uet(this,t)},zkt.Hb=function(){return K4(this)},_R(d_t,"AbstractSet",b_t),Wht(1970,b_t,w_t),_R(u_t,"Sets/ImprovedAbstractSet",1970),Wht(1971,1970,w_t),zkt.$b=function(){this.Rc().$b()},zkt.Hc=function(t){return ytt(this,t)},zkt.dc=function(){return this.Rc().dc()},zkt.Mc=function(t){var e;return!!this.Hc(t)&&(e=VP(t,42),this.Rc().ec().Mc(e.cd()))},zkt.gc=function(){return this.Rc().gc()},_R(u_t,"Maps/EntrySet",1971),Wht(1097,1971,w_t,Zh),zkt.Hc=function(t){return B7(this.a.d.vc(),t)},zkt.Kc=function(){return new mF(this.a)},zkt.Rc=function(){return this.a},zkt.Mc=function(t){var e;return!!B7(this.a.d.vc(),t)&&(e=VP(t,42),wW(this.a.e,e.cd()),!0)},zkt.Nc=function(){return WP(this.a.d.vc().Nc(),new Uh(this.a))},_R(u_t,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),Wht(1098,1,{},Uh),zkt.Kb=function(t){return KK(this.a,VP(t,42))},_R(u_t,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),Wht(730,1,f_t,mF),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){var t;return t=VP(this.b.Pb(),42),this.a=VP(t.dd(),14),KK(this.c,t)},zkt.Ob=function(){return this.b.Ob()},zkt.Qb=function(){P3(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},_R(u_t,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),Wht(532,1970,w_t,n_),zkt.$b=function(){this.b.$b()},zkt.Hc=function(t){return this.b._b(t)},zkt.Jc=function(t){TR(t),this.b.wc(new bf(t))},zkt.dc=function(){return this.b.dc()},zkt.Kc=function(){return new Tm(this.b.vc().Kc())},zkt.Mc=function(t){return!!this.b._b(t)&&(this.b.Bc(t),!0)},zkt.gc=function(){return this.b.gc()},_R(u_t,"Maps/KeySet",532),Wht(318,532,w_t,iL),zkt.$b=function(){yF(new Ok(this,this.b.vc().Kc()))},zkt.Ic=function(t){return this.b.ec().Ic(t)},zkt.Fb=function(t){return this===t||X7(this.b.ec(),t)},zkt.Hb=function(){return K5(this.b.ec())},zkt.Kc=function(){return new Ok(this,this.b.vc().Kc())},zkt.Mc=function(t){var e,n;return n=0,(e=VP(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},zkt.Nc=function(){return this.b.ec().Nc()},_R(u_t,"AbstractMapBasedMultimap/KeySet",318),Wht(731,1,f_t,Ok),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.c.Ob()},zkt.Pb=function(){return this.a=VP(this.c.Pb(),42),this.a.cd()},zkt.Qb=function(){var t;P3(!!this.a),t=VP(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},_R(u_t,"AbstractMapBasedMultimap/KeySet/1",731),Wht(491,389,{83:1,161:1},gD),zkt.bc=function(){return this.Sc()},zkt.ec=function(){return this.Tc()},zkt.Sc=function(){return new Ik(this.c,this.Uc())},zkt.Tc=function(){return this.b||(this.b=this.Sc())},zkt.Uc=function(){return VP(this.d,161)},_R(u_t,"AbstractMapBasedMultimap/SortedAsMap",491),Wht(542,491,y_t,pD),zkt.bc=function(){return new Lk(this.a,VP(VP(this.d,161),171))},zkt.Sc=function(){return new Lk(this.a,VP(VP(this.d,161),171))},zkt.ec=function(){return VP(this.b||(this.b=new Lk(this.a,VP(VP(this.d,161),171))),271)},zkt.Tc=function(){return VP(this.b||(this.b=new Lk(this.a,VP(VP(this.d,161),171))),271)},zkt.Uc=function(){return VP(VP(this.d,161),171)},_R(u_t,"AbstractMapBasedMultimap/NavigableAsMap",542),Wht(490,318,m_t,Ik),zkt.Nc=function(){return this.b.ec().Nc()},_R(u_t,"AbstractMapBasedMultimap/SortedKeySet",490),Wht(388,490,v_t,Lk),_R(u_t,"AbstractMapBasedMultimap/NavigableKeySet",388),Wht(541,28,p_t,pX),zkt.Fc=function(t){var e,n;return L9(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&eN(this)),e},zkt.Gc=function(t){var e,n,i;return!t.dc()&&(L9(this),i=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-i,0==i&&eN(this)),e)},zkt.$b=function(){var t;L9(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,c$(this))},zkt.Hc=function(t){return L9(this),this.d.Hc(t)},zkt.Ic=function(t){return L9(this),this.d.Ic(t)},zkt.Fb=function(t){return t===this||(L9(this),X7(this.d,t))},zkt.Hb=function(){return L9(this),K5(this.d)},zkt.Kc=function(){return L9(this),new rB(this)},zkt.Mc=function(t){var e;return L9(this),(e=this.d.Mc(t))&&(--this.f.d,c$(this)),e},zkt.gc=function(){return dA(this)},zkt.Nc=function(){return L9(this),this.d.Nc()},zkt.Ib=function(){return L9(this),A9(this.d)},_R(u_t,"AbstractMapBasedMultimap/WrappedCollection",541);var J$t=oF(d_t,"List");Wht(728,541,{20:1,28:1,14:1,15:1},D$),zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return L9(this),this.d.Nc()},zkt.Vc=function(t,e){var n;L9(this),n=this.d.dc(),VP(this.d,15).Vc(t,e),++this.a.d,n&&eN(this)},zkt.Wc=function(t,e){var n,i,r;return!e.dc()&&(L9(this),r=this.d.gc(),(n=VP(this.d,15).Wc(t,e))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&eN(this)),n)},zkt.Xb=function(t){return L9(this),VP(this.d,15).Xb(t)},zkt.Xc=function(t){return L9(this),VP(this.d,15).Xc(t)},zkt.Yc=function(){return L9(this),new WM(this)},zkt.Zc=function(t){return L9(this),new Fq(this,t)},zkt.$c=function(t){var e;return L9(this),e=VP(this.d,15).$c(t),--this.a.d,c$(this),e},zkt._c=function(t,e){return L9(this),VP(this.d,15)._c(t,e)},zkt.bd=function(t,e){return L9(this),xG(this.a,this.e,VP(this.d,15).bd(t,e),this.b?this.b:this)},_R(u_t,"AbstractMapBasedMultimap/WrappedList",728),Wht(1096,728,{20:1,28:1,14:1,15:1,54:1},MO),_R(u_t,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),Wht(620,1,f_t,rB),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return rq(this),this.b.Ob()},zkt.Pb=function(){return rq(this),this.b.Pb()},zkt.Qb=function(){bL(this)},_R(u_t,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),Wht(729,620,x_t,WM,Fq),zkt.Qb=function(){bL(this)},zkt.Rb=function(t){var e;e=0==dA(this.a),(rq(this),VP(this.b,125)).Rb(t),++this.a.a.d,e&&eN(this.a)},zkt.Sb=function(){return(rq(this),VP(this.b,125)).Sb()},zkt.Tb=function(){return(rq(this),VP(this.b,125)).Tb()},zkt.Ub=function(){return(rq(this),VP(this.b,125)).Ub()},zkt.Vb=function(){return(rq(this),VP(this.b,125)).Vb()},zkt.Wb=function(t){(rq(this),VP(this.b,125)).Wb(t)},_R(u_t,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),Wht(727,541,m_t,vD),zkt.Nc=function(){return L9(this),this.d.Nc()},_R(u_t,"AbstractMapBasedMultimap/WrappedSortedSet",727),Wht(1095,727,v_t,SM),_R(u_t,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),Wht(1094,541,w_t,xD),zkt.Nc=function(){return L9(this),this.d.Nc()},_R(u_t,"AbstractMapBasedMultimap/WrappedSet",1094),Wht(1103,1,{},s),zkt.Kb=function(t){return function(t){var e;return e=t.cd(),WP(VP(t.dd(),14).Nc(),new Yh(e))}(VP(t,42))},_R(u_t,"AbstractMapBasedMultimap/lambda$1$Type",1103),Wht(1102,1,{},Yh),zkt.Kb=function(t){return new Kk(this.a,t)},_R(u_t,"AbstractMapBasedMultimap/lambda$2$Type",1102);var tjt,ejt,njt,ijt,rjt=oF(d_t,"Map/Entry");Wht(345,1,k_t),zkt.Fb=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),dz(this.cd(),e.cd())&&dz(this.dd(),e.dd()))},zkt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:K5(t))^(null==e?0:K5(e))},zkt.ed=function(t){throw lw(new Pw)},zkt.Ib=function(){return this.cd()+"="+this.dd()},_R(u_t,__t,345),Wht(1988,28,p_t),zkt.$b=function(){this.fd().$b()},zkt.Hc=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),function(t,e,n){var i;return!!(i=VP(t.Zb().xc(e),14))&&i.Hc(n)}(this.fd(),e.cd(),e.dd()))},zkt.Mc=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),kY(this.fd(),e.cd(),e.dd()))},zkt.gc=function(){return this.fd().d},_R(u_t,"Multimaps/Entries",1988),Wht(733,1988,p_t,Gh),zkt.Kc=function(){return this.a.kc()},zkt.fd=function(){return this.a},zkt.Nc=function(){return this.a.lc()},_R(u_t,"AbstractMultimap/Entries",733),Wht(734,733,w_t,nm),zkt.Nc=function(){return this.a.lc()},zkt.Fb=function(t){return Rct(this,t)},zkt.Hb=function(){return I2(this)},_R(u_t,"AbstractMultimap/EntrySet",734),Wht(735,28,p_t,Kh),zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return function(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if(VP(n.Pb(),14).Hc(e))return!0;return!1}(this.a,t)},zkt.Kc=function(){return this.a.nc()},zkt.gc=function(){return this.a.d},zkt.Nc=function(){return this.a.oc()},_R(u_t,"AbstractMultimap/Values",735),Wht(1989,28,{835:1,20:1,28:1,14:1}),zkt.Jc=function(t){TR(t),nq(this).Jc(new pf(t))},zkt.Nc=function(){var t;return dst(t=nq(this).Nc(),new v,64|1296&t.qd(),this.a.d)},zkt.Fc=function(t){return kv(),!0},zkt.Gc=function(t){return TR(this),TR(t),MI(t,543)?zY(VP(t,835)):!t.dc()&&UQ(this,t.Kc())},zkt.Hc=function(t){var e;return((e=VP(P7(Xq(this.a),t),14))?e.gc():0)>0},zkt.Fb=function(t){return function(t,e){var n,i,r;if(e===t)return!0;if(MI(e,543)){if(r=VP(e,835),t.a.d!=r.a.d||nq(t).gc()!=nq(r).gc())return!1;for(i=nq(r).Kc();i.Ob();)if(CU(t,(n=VP(i.Pb(),416)).a.cd())!=VP(n.a.dd(),14).gc())return!1;return!0}return!1}(this,t)},zkt.Hb=function(){return K5(nq(this))},zkt.dc=function(){return nq(this).dc()},zkt.Mc=function(t){return Blt(this,t,1)>0},zkt.Ib=function(){return A9(nq(this))},_R(u_t,"AbstractMultiset",1989),Wht(1991,1970,w_t),zkt.$b=function(){y0(this.a.a)},zkt.Hc=function(t){var e;return!(!MI(t,492)||(e=VP(t,416),VP(e.a.dd(),14).gc()<=0||CU(this.a,e.a.cd())!=VP(e.a.dd(),14).gc()))},zkt.Mc=function(t){var e,n,i;return!(!MI(t,492)||(e=(n=VP(t,416)).a.cd(),0==(i=VP(n.a.dd(),14).gc())))&&function(t,e,n){var i,r,a;return b0(n,"oldCount"),b0(0,"newCount"),((i=VP(P7(Xq(t.a),e),14))?i.gc():0)==n&&(b0(0,"count"),(a=-((r=VP(P7(Xq(t.a),e),14))?r.gc():0))>0?kv():a<0&&Blt(t,e,-a),!0)}(this.a,e,i)},_R(u_t,"Multisets/EntrySet",1991),Wht(1109,1991,w_t,Wh),zkt.Kc=function(){return new Sm(j$(Xq(this.a.a)).Kc())},zkt.gc=function(){return Xq(this.a.a).gc()},_R(u_t,"AbstractMultiset/EntrySet",1109),Wht(619,726,h_t),zkt.hc=function(){return this.gd()},zkt.jc=function(){return this.hd()},zkt.cc=function(t){return this.jd(t)},zkt.fc=function(t){return this.kd(t)},zkt.Zb=function(){return this.f||(this.f=this.ac())},zkt.hd=function(){return Gq(),Gq(),SRt},zkt.Fb=function(t){return h6(this,t)},zkt.jd=function(t){return VP(jW(this,t),21)},zkt.kd=function(t){return VP(l7(this,t),21)},zkt.mc=function(t){return Gq(),new Nv(VP(t,21))},zkt.pc=function(t,e){return new xD(this,t,VP(e,21))},_R(u_t,"AbstractSetMultimap",619),Wht(1657,619,h_t),zkt.hc=function(){return new Wx(this.b)},zkt.gd=function(){return new Wx(this.b)},zkt.jc=function(){return DR(new Wx(this.b))},zkt.hd=function(){return DR(new Wx(this.b))},zkt.cc=function(t){return VP(VP(jW(this,t),21),84)},zkt.jd=function(t){return VP(VP(jW(this,t),21),84)},zkt.fc=function(t){return VP(VP(l7(this,t),21),84)},zkt.kd=function(t){return VP(VP(l7(this,t),21),84)},zkt.mc=function(t){return MI(t,271)?DR(VP(t,271)):(Gq(),new ML(VP(t,84)))},zkt.Zb=function(){return this.f||(this.f=MI(this.c,171)?new pD(this,VP(this.c,171)):MI(this.c,161)?new gD(this,VP(this.c,161)):new Gk(this,this.c))},zkt.pc=function(t,e){return MI(e,271)?new SM(this,t,VP(e,271)):new vD(this,t,VP(e,84))},_R(u_t,"AbstractSortedSetMultimap",1657),Wht(1658,1657,h_t),zkt.Zb=function(){return VP(VP(this.f||(this.f=MI(this.c,171)?new pD(this,VP(this.c,171)):MI(this.c,161)?new gD(this,VP(this.c,161)):new Gk(this,this.c)),161),171)},zkt.ec=function(){return VP(VP(this.i||(this.i=MI(this.c,171)?new Lk(this,VP(this.c,171)):MI(this.c,161)?new Ik(this,VP(this.c,161)):new iL(this,this.c)),84),271)},zkt.bc=function(){return MI(this.c,171)?new Lk(this,VP(this.c,171)):MI(this.c,161)?new Ik(this,VP(this.c,161)):new iL(this,this.c)},_R(u_t,"AbstractSortedKeySortedSetMultimap",1658),Wht(2010,1,{1947:1}),zkt.Fb=function(t){return function(t,e){var n;return e===t||!!MI(e,664)&&(n=VP(e,1947),uet(t.g||(t.g=new Xh(t)),n.g||(n.g=new Xh(n))))}(this,t)},zkt.Hb=function(){return K4(this.g||(this.g=new Xh(this)))},zkt.Ib=function(){return zot(this.f||(this.f=new sL(this)))},_R(u_t,"AbstractTable",2010),Wht(665,b_t,w_t,Xh),zkt.$b=function(){_v()},zkt.Hc=function(t){var e,n;return!!MI(t,468)&&(e=VP(t,682),!!(n=VP(P7(SR(this.a),sA(e.c.e,e.b)),83))&&B7(n.vc(),new Kk(sA(e.c.c,e.a),dX(e.c,e.b,e.a))))},zkt.Kc=function(){return new rL(t=this.a,t.e.Hd().gc()*t.c.Hd().gc());var t},zkt.Mc=function(t){var e,n;return!!MI(t,468)&&(e=VP(t,682),!!(n=VP(P7(SR(this.a),sA(e.c.e,e.b)),83))&&function(t,e){TR(t);try{return t.Mc(e)}catch(t){if(MI(t=k4(t),205)||MI(t,173))return!1;throw lw(t)}}(n.vc(),new Kk(sA(e.c.c,e.a),dX(e.c,e.b,e.a))))},zkt.gc=function(){return IF(this.a)},zkt.Nc=function(){return lF((t=this.a).e.Hd().gc()*t.c.Hd().gc(),273,new zh(t));var t},_R(u_t,"AbstractTable/CellSet",665),Wht(1928,28,p_t,Vh),zkt.$b=function(){_v()},zkt.Hc=function(t){return function(t,e){var n,i,r,a,o,s,c;for(s=0,c=(o=t.a).length;s<c;++s)for(r=0,a=(i=o[s]).length;r<a;++r)if(n=i[r],iA(e)===iA(n)||null!=e&&X7(e,n))return!0;return!1}(this.a,t)},zkt.Kc=function(){return new aL(t=this.a,t.e.Hd().gc()*t.c.Hd().gc());var t},zkt.gc=function(){return IF(this.a)},zkt.Nc=function(){return AY(this.a)},_R(u_t,"AbstractTable/Values",1928),Wht(1632,1631,h_t),_R(u_t,"ArrayListMultimapGwtSerializationDependencies",1632),Wht(513,1632,h_t,bv,MU),zkt.hc=function(){return new wX(this.a)},zkt.a=0,_R(u_t,"ArrayListMultimap",513),Wht(664,2010,{664:1,1947:1,3:1},dht),_R(u_t,"ArrayTable",664),Wht(1924,386,l_t,rL),zkt.Xb=function(t){return new y5(this.a,t)},_R(u_t,"ArrayTable/1",1924),Wht(1925,1,{},zh),zkt.ld=function(t){return new y5(this.a,t)},_R(u_t,"ArrayTable/1methodref$getCell$Type",1925),Wht(2011,1,{682:1}),zkt.Fb=function(t){var e;return t===this||!!MI(t,468)&&(e=VP(t,682),dz(sA(this.c.e,this.b),sA(e.c.e,e.b))&&dz(sA(this.c.c,this.a),sA(e.c.c,e.a))&&dz(dX(this.c,this.b,this.a),dX(e.c,e.b,e.a)))},zkt.Hb=function(){return Z6(P4(Zv(G$t,1),r_t,1,5,[sA(this.c.e,this.b),sA(this.c.c,this.a),dX(this.c,this.b,this.a)]))},zkt.Ib=function(){return"("+sA(this.c.e,this.b)+","+sA(this.c.c,this.a)+")="+dX(this.c,this.b,this.a)},_R(u_t,"Tables/AbstractCell",2011),Wht(468,2011,{468:1,682:1},y5),zkt.a=0,zkt.b=0,zkt.d=0,_R(u_t,"ArrayTable/2",468),Wht(1927,1,{},qh),zkt.ld=function(t){return RV(this.a,t)},_R(u_t,"ArrayTable/2methodref$getValue$Type",1927),Wht(1926,386,l_t,aL),zkt.Xb=function(t){return RV(this.a,t)},_R(u_t,"ArrayTable/3",1926),Wht(1979,1967,g_t),zkt.$b=function(){yF(this.kc())},zkt.vc=function(){return new wf(this)},zkt.lc=function(){return new sq(this.kc(),this.gc())},_R(u_t,"Maps/IteratorBasedAbstractMap",1979),Wht(828,1979,g_t),zkt.$b=function(){throw lw(new Pw)},zkt._b=function(t){return Dx(this.c,t)},zkt.kc=function(){return new oL(this,this.c.b.c.gc())},zkt.lc=function(){return lF(this.c.b.c.gc(),16,new Hh(this))},zkt.xc=function(t){var e;return(e=VP(tP(this.c,t),19))?this.nd(e.a):null},zkt.dc=function(){return this.c.b.c.dc()},zkt.ec=function(){return F$(this.c)},zkt.zc=function(t,e){var n;if(!(n=VP(tP(this.c,t),19)))throw lw(new Xm(this.md()+" "+t+" not in "+F$(this.c)));return this.od(n.a,e)},zkt.Bc=function(t){throw lw(new Pw)},zkt.gc=function(){return this.c.b.c.gc()},_R(u_t,"ArrayTable/ArrayMap",828),Wht(1923,1,{},Hh),zkt.ld=function(t){return NR(this.a,t)},_R(u_t,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),Wht(1921,345,k_t,jk),zkt.cd=function(){return t=this.a,e=this.b,$$(F$(t.c)).Xb(e);var t,e},zkt.dd=function(){return this.a.nd(this.b)},zkt.ed=function(t){return this.a.od(this.b,t)},zkt.b=0,_R(u_t,"ArrayTable/ArrayMap/1",1921),Wht(1922,386,l_t,oL),zkt.Xb=function(t){return NR(this.a,t)},_R(u_t,"ArrayTable/ArrayMap/2",1922),Wht(1920,828,g_t,kj),zkt.md=function(){return"Column"},zkt.nd=function(t){return dX(this.b,this.a,t)},zkt.od=function(t,e){return N4(this.b,this.a,t,e)},zkt.a=0,_R(u_t,"ArrayTable/Row",1920),Wht(829,828,g_t,sL),zkt.nd=function(t){return new kj(this.a,t)},zkt.zc=function(t,e){return VP(e,83),function(){throw lw(new Pw)}()},zkt.od=function(t,e){return VP(e,83),function(){throw lw(new Pw)}()},zkt.md=function(){return"Row"},_R(u_t,"ArrayTable/RowMap",829),Wht(1120,1,S_t,Rk),zkt.qd=function(){return-262&this.a.qd()},zkt.rd=function(){return this.a.rd()},zkt.Nb=function(t){this.a.Nb(new Pk(t,this.b))},zkt.sd=function(t){return this.a.sd(new Nk(t,this.b))},_R(u_t,"CollectSpliterators/1",1120),Wht(1121,1,A_t,Nk),zkt.td=function(t){this.a.td(this.b.Kb(t))},_R(u_t,"CollectSpliterators/1/lambda$0$Type",1121),Wht(1122,1,A_t,Pk),zkt.td=function(t){this.a.td(this.b.Kb(t))},_R(u_t,"CollectSpliterators/1/lambda$1$Type",1122),Wht(1123,1,S_t,dG),zkt.qd=function(){return this.a},zkt.rd=function(){return this.d&&(this.b=iI(this.b,this.d.rd())),iI(this.b,0)},zkt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new Dk(this.e,t)),this.b=0},zkt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return lA(this.b,M_t)&&(this.b=t9(this.b,1)),!0;if(this.d=null,!this.c.sd(new Bk(this,this.e)))return!1}},zkt.a=0,zkt.b=0,_R(u_t,"CollectSpliterators/1FlatMapSpliterator",1123),Wht(1124,1,A_t,Bk),zkt.td=function(t){!function(t,e,n){t.d=VP(e.Kb(n),164)}(this.a,this.b,t)},_R(u_t,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),Wht(1125,1,A_t,Dk),zkt.td=function(t){!function(t,e,n){VP(t.Kb(n),164).Nb(e)}(this.b,this.a,t)},_R(u_t,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),Wht(1117,1,S_t,PN),zkt.qd=function(){return 16464|this.b},zkt.rd=function(){return this.a.rd()},zkt.Nb=function(t){this.a.xe(new $k(t,this.c))},zkt.sd=function(t){return this.a.ye(new Fk(t,this.c))},zkt.b=0,_R(u_t,"CollectSpliterators/1WithCharacteristics",1117),Wht(1118,1,I_t,Fk),zkt.ud=function(t){this.a.td(this.b.ld(t))},_R(u_t,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),Wht(1119,1,I_t,$k),zkt.ud=function(t){this.a.td(this.b.ld(t))},_R(u_t,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),Wht(245,1,L_t),zkt.wd=function(t){return this.vd(VP(t,245))},zkt.vd=function(t){var e;return t==(gm(),ejt)?1:t==(pm(),tjt)?-1:(QB(),0!=(e=s3(this.a,t.a))?e:MI(this,519)==MI(t,519)?0:MI(this,519)?1:-1)},zkt.zd=function(){return this.a},zkt.Fb=function(t){return Ztt(this,t)},_R(u_t,"Cut",245),Wht(1761,245,L_t,Fv),zkt.vd=function(t){return t==this?0:1},zkt.xd=function(t){throw lw(new Aw)},zkt.yd=function(t){t.a+="+∞)"},zkt.zd=function(){throw lw(new Vm(O_t))},zkt.Hb=function(){return c_(),Pnt(this)},zkt.Ad=function(t){return!1},zkt.Ib=function(){return"+∞"},_R(u_t,"Cut/AboveAll",1761),Wht(519,245,{245:1,519:1,3:1,35:1},wL),zkt.xd=function(t){mA((t.a+="(",t),this.a)},zkt.yd=function(t){jR(mA(t,this.a),93)},zkt.Hb=function(){return~K5(this.a)},zkt.Ad=function(t){return QB(),s3(this.a,t)<0},zkt.Ib=function(){return"/"+this.a+"\\"},_R(u_t,"Cut/AboveValue",519),Wht(1760,245,L_t,$v),zkt.vd=function(t){return t==this?0:-1},zkt.xd=function(t){t.a+="(-∞"},zkt.yd=function(t){throw lw(new Aw)},zkt.zd=function(){throw lw(new Vm(O_t))},zkt.Hb=function(){return c_(),Pnt(this)},zkt.Ad=function(t){return!0},zkt.Ib=function(){return"-∞"},_R(u_t,"Cut/BelowAll",1760),Wht(1762,245,L_t,yL),zkt.xd=function(t){mA((t.a+="[",t),this.a)},zkt.yd=function(t){jR(mA(t,this.a),41)},zkt.Hb=function(){return K5(this.a)},zkt.Ad=function(t){return QB(),s3(this.a,t)<=0},zkt.Ib=function(){return"\\"+this.a+"/"},_R(u_t,"Cut/BelowValue",1762),Wht(537,1,D_t),zkt.Jc=function(t){GK(this,t)},zkt.Ib=function(){return function(t){var e,n;for(n=jR(new Lv,91),e=!0;t.Ob();)e||(n.a+=n_t),e=!1,mA(n,t.Pb());return(n.a+="]",n).a}(VP(rH(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},_R(u_t,"FluentIterable",537),Wht(433,537,D_t,$A),zkt.Kc=function(){return new O$(dL(this.a.Kc(),new l))},_R(u_t,"FluentIterable/2",433),Wht(1046,537,D_t,jA),zkt.Kc=function(){return Kj(this)},_R(u_t,"FluentIterable/3",1046),Wht(708,386,l_t,uL),zkt.Xb=function(t){return this.a[t].Kc()},_R(u_t,"FluentIterable/3/1",708),Wht(1972,1,{}),zkt.Ib=function(){return A9(this.Bd().b)},_R(u_t,"ForwardingObject",1972),Wht(1973,1972,N_t),zkt.Bd=function(){return this.Cd()},zkt.Jc=function(t){GK(this,t)},zkt.Lc=function(){return this.Oc()},zkt.Nc=function(){return new NU(this,0)},zkt.Oc=function(){return new CF(null,this.Nc())},zkt.Fc=function(t){return this.Cd(),qx()},zkt.Gc=function(t){return this.Cd(),Hx()},zkt.$b=function(){this.Cd(),Zx()},zkt.Hc=function(t){return this.Cd().Hc(t)},zkt.Ic=function(t){return this.Cd().Ic(t)},zkt.dc=function(){return this.Cd().b.dc()},zkt.Kc=function(){return this.Cd().Kc()},zkt.Mc=function(t){return this.Cd(),Ux()},zkt.gc=function(){return this.Cd().b.gc()},zkt.Pc=function(){return this.Cd().Pc()},zkt.Qc=function(t){return this.Cd().Qc(t)},_R(u_t,"ForwardingCollection",1973),Wht(1980,28,P_t),zkt.Kc=function(){return this.Ed()},zkt.Fc=function(t){throw lw(new Pw)},zkt.Gc=function(t){throw lw(new Pw)},zkt.$b=function(){throw lw(new Pw)},zkt.Hc=function(t){return null!=t&&W9(this,t,!1)},zkt.Dd=function(){switch(this.gc()){case 0:return WR(),WR(),njt;case 1:return WR(),new wF(TR(this.Ed().Pb()));default:return new _j(this,this.Pc())}},zkt.Mc=function(t){throw lw(new Pw)},_R(u_t,"ImmutableCollection",1980),Wht(712,1980,P_t,kw),zkt.Kc=function(){return SV(this.a.Kc())},zkt.Hc=function(t){return null!=t&&this.a.Hc(t)},zkt.Ic=function(t){return this.a.Ic(t)},zkt.dc=function(){return this.a.dc()},zkt.Ed=function(){return SV(this.a.Kc())},zkt.gc=function(){return this.a.gc()},zkt.Pc=function(){return this.a.Pc()},zkt.Qc=function(t){return this.a.Qc(t)},zkt.Ib=function(){return A9(this.a)},_R(u_t,"ForwardingImmutableCollection",712),Wht(152,1980,B_t),zkt.Kc=function(){return this.Ed()},zkt.Yc=function(){return this.Fd(0)},zkt.Zc=function(t){return this.Fd(t)},zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.bd=function(t,e){return this.Gd(t,e)},zkt.Vc=function(t,e){throw lw(new Pw)},zkt.Wc=function(t,e){throw lw(new Pw)},zkt.Fb=function(t){return yft(this,t)},zkt.Hb=function(){return function(t){var e,n,i;for(e=1,i=t.Kc();i.Ob();)e=~~(e=31*e+(null==(n=i.Pb())?0:K5(n)));return e}(this)},zkt.Xc=function(t){return null==t?-1:function(t,e){var n,i;if(i=t.gc(),null==e){for(n=0;n<i;n++)if(null==t.Xb(n))return n}else for(n=0;n<i;n++)if(X7(e,t.Xb(n)))return n;return-1}(this,t)},zkt.Ed=function(){return this.Fd(0)},zkt.Fd=function(t){return aO(this,t)},zkt.$c=function(t){throw lw(new Pw)},zkt._c=function(t,e){throw lw(new Pw)},zkt.Gd=function(t,e){return O7(new IU(new a_(this),t,e))},_R(u_t,"ImmutableList",152),Wht(2006,152,B_t),zkt.Kc=function(){return SV(this.Hd().Kc())},zkt.bd=function(t,e){return O7(this.Hd().bd(t,e))},zkt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},zkt.Ic=function(t){return this.Hd().Ic(t)},zkt.Fb=function(t){return X7(this.Hd(),t)},zkt.Xb=function(t){return sA(this,t)},zkt.Hb=function(){return K5(this.Hd())},zkt.Xc=function(t){return this.Hd().Xc(t)},zkt.dc=function(){return this.Hd().dc()},zkt.Ed=function(){return SV(this.Hd().Kc())},zkt.gc=function(){return this.Hd().gc()},zkt.Gd=function(t,e){return O7(this.Hd().bd(t,e))},zkt.Pc=function(){return this.Hd().Qc(WX(G$t,r_t,1,this.Hd().gc(),5,1))},zkt.Qc=function(t){return this.Hd().Qc(t)},zkt.Ib=function(){return A9(this.Hd())},_R(u_t,"ForwardingImmutableList",2006),Wht(714,1,$_t),zkt.vc=function(){return B$(this)},zkt.wc=function(t){C3(this,t)},zkt.ec=function(){return F$(this)},zkt.yc=function(t,e,n){return V8(this,t,e,n)},zkt.Cc=function(){return this.Ld()},zkt.$b=function(){throw lw(new Pw)},zkt._b=function(t){return null!=this.xc(t)},zkt.uc=function(t){return this.Ld().Hc(t)},zkt.Jd=function(){return new _w(this)},zkt.Kd=function(){return new Ew(this)},zkt.Fb=function(t){return function(t,e){var n;return t===e||!!MI(e,83)&&(n=VP(e,83),Rct(B$(t),n.vc()))}(this,t)},zkt.Hb=function(){return B$(this).Hb()},zkt.dc=function(){return 0==this.gc()},zkt.zc=function(t,e){return function(){throw lw(new Pw)}()},zkt.Bc=function(t){throw lw(new Pw)},zkt.Ib=function(){return function(t){var e,n,i,r;for(r=jR((b0(t.gc(),"size"),new Ov),123),i=!0,n=B$(t).Kc();n.Ob();)e=VP(n.Pb(),42),i||(r.a+=n_t),i=!1,mA(jR(mA(r,e.cd()),61),e.dd());return(r.a+="}",r).a}(this)},zkt.Ld=function(){return this.e?this.e:this.e=this.Kd()},zkt.c=null,zkt.d=null,zkt.e=null,_R(u_t,"ImmutableMap",714),Wht(715,714,$_t),zkt._b=function(t){return Dx(this,t)},zkt.uc=function(t){return p_(this.b,t)},zkt.Id=function(){return D7(new Jh(this))},zkt.Jd=function(){return D7(zz(this.b))},zkt.Kd=function(){return wP(),new kw(jz(this.b))},zkt.Fb=function(t){return w_(this.b,t)},zkt.xc=function(t){return tP(this,t)},zkt.Hb=function(){return K5(this.b.c)},zkt.dc=function(){return this.b.c.dc()},zkt.gc=function(){return this.b.c.gc()},zkt.Ib=function(){return A9(this.b.c)},_R(u_t,"ForwardingImmutableMap",715),Wht(1974,1973,j_t),zkt.Bd=function(){return this.Md()},zkt.Cd=function(){return this.Md()},zkt.Nc=function(){return new NU(this,1)},zkt.Fb=function(t){return t===this||this.Md().Fb(t)},zkt.Hb=function(){return this.Md().Hb()},_R(u_t,"ForwardingSet",1974),Wht(1069,1974,j_t,Jh),zkt.Bd=function(){return Rz(this.a.b)},zkt.Cd=function(){return Rz(this.a.b)},zkt.Hc=function(t){if(MI(t,42)&&null==VP(t,42).cd())return!1;try{return g_(Rz(this.a.b),t)}catch(t){if(MI(t=k4(t),205))return!1;throw lw(t)}},zkt.Md=function(){return Rz(this.a.b)},zkt.Qc=function(t){var e;return e=NH(Rz(this.a.b),t),Rz(this.a.b).b.gc()<e.length&&BR(e,Rz(this.a.b).b.gc(),null),e},_R(u_t,"ForwardingImmutableMap/1",1069),Wht(1981,1980,R_t),zkt.Kc=function(){return this.Ed()},zkt.Nc=function(){return new NU(this,1)},zkt.Fb=function(t){return Rct(this,t)},zkt.Hb=function(){return I2(this)},_R(u_t,"ImmutableSet",1981),Wht(703,1981,R_t),zkt.Kc=function(){return SV(new fd(this.a.b.Kc()))},zkt.Hc=function(t){return null!=t&&h_(this.a,t)},zkt.Ic=function(t){return f_(this.a,t)},zkt.Hb=function(){return K5(this.a.b)},zkt.dc=function(){return this.a.b.dc()},zkt.Ed=function(){return SV(new fd(this.a.b.Kc()))},zkt.gc=function(){return this.a.b.gc()},zkt.Pc=function(){return this.a.b.Pc()},zkt.Qc=function(t){return d_(this.a,t)},zkt.Ib=function(){return A9(this.a.b)},_R(u_t,"ForwardingImmutableSet",703),Wht(1975,1974,z_t),zkt.Bd=function(){return this.b},zkt.Cd=function(){return this.b},zkt.Md=function(){return this.b},zkt.Nc=function(){return new FE(this)},_R(u_t,"ForwardingSortedSet",1975),Wht(533,1979,$_t,rit),zkt.Ac=function(t){i3(this,t)},zkt.Cc=function(){return new XM(this.d||(this.d=new tf(this)))},zkt.$b=function(){eW(this)},zkt._b=function(t){return!!$2(this,t,KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15))))},zkt.uc=function(t){return XJ(this,t)},zkt.kc=function(){return new lL(this,this)},zkt.wc=function(t){vZ(this,t)},zkt.xc=function(t){return b1(this,t)},zkt.ec=function(){return new VM(this)},zkt.zc=function(t,e){return Sbt(this,t,e)},zkt.Bc=function(t){var e;return(e=$2(this,t,KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15)))))?(xdt(this,e),e.e=null,e.c=null,e.i):null},zkt.gc=function(){return this.i},zkt.pd=function(){return new XM(this.d||(this.d=new tf(this)))},zkt.f=0,zkt.g=0,zkt.i=0,_R(u_t,"HashBiMap",533),Wht(534,1,f_t),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return SG(this)},zkt.Pb=function(){var t;if(!SG(this))throw lw(new $w);return t=this.c,this.c=t.c,this.f=t,--this.d,this.Nd(t)},zkt.Qb=function(){if(this.e.g!=this.b)throw lw(new Bw);P3(!!this.f),xdt(this.e,this.f),this.b=this.e.g,this.f=null},zkt.b=0,zkt.d=0,zkt.f=null,_R(u_t,"HashBiMap/Itr",534),Wht(1011,534,f_t,lL),zkt.Nd=function(t){return new Hk(this,t)},_R(u_t,"HashBiMap/1",1011),Wht(1012,345,k_t,Hk),zkt.cd=function(){return this.a.g},zkt.dd=function(){return this.a.i},zkt.ed=function(t){var e,n,i;return n=this.a.i,(i=KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15))))==this.a.f&&(iA(t)===iA(n)||null!=t&&X7(t,n))?t:(A4(!j2(this.b.a,t,i),t),xdt(this.b.a,this.a),e=new Mz(this.a.g,this.a.a,t,i),ylt(this.b.a,e,this.a),this.a.e=null,this.a.c=null,this.b.b=this.b.a.g,this.b.f==this.a&&(this.b.f=e),this.a=e,n)},_R(u_t,"HashBiMap/1/MapEntry",1012),Wht(238,345,{345:1,238:1,3:1,42:1},Kk),zkt.cd=function(){return this.g},zkt.dd=function(){return this.i},zkt.ed=function(t){throw lw(new Pw)},_R(u_t,"ImmutableEntry",238),Wht(317,238,{345:1,317:1,238:1,3:1,42:1},Mz),zkt.a=0,zkt.f=0;var ajt,ojt=_R(u_t,"HashBiMap/BiEntry",317);Wht(610,1979,$_t,tf),zkt.Ac=function(t){i3(this,t)},zkt.Cc=function(){return new VM(this.a)},zkt.$b=function(){eW(this.a)},zkt._b=function(t){return XJ(this.a,t)},zkt.kc=function(){return new hL(this,this.a)},zkt.wc=function(t){TR(t),vZ(this.a,new ef(t))},zkt.xc=function(t){return U0(this,t)},zkt.ec=function(){return new XM(this)},zkt.zc=function(t,e){return function(t,e,n,i){var r,a,o,s;if(s=KF(n9(q_t,qz(KF(n9(null==e?0:K5(e),H_t)),15))),r=KF(n9(q_t,qz(KF(n9(null==n?0:K5(n),H_t)),15))),o=j2(t,e,s),a=$2(t,n,r),o&&r==o.a&&dz(n,o.g))return n;if(a&&!i)throw lw(new Xm("key already present: "+n));return o&&xdt(t,o),a&&xdt(t,a),ylt(t,new Mz(n,r,e,s),a),a&&(a.e=null,a.c=null),o&&(o.e=null,o.c=null),kat(t),o?o.g:null}(this.a,t,e,!1)},zkt.Bc=function(t){var e;return(e=j2(this.a,t,KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15)))))?(xdt(this.a,e),e.e=null,e.c=null,e.g):null},zkt.gc=function(){return this.a.i},zkt.pd=function(){return new VM(this.a)},_R(u_t,"HashBiMap/Inverse",610),Wht(1008,534,f_t,hL),zkt.Nd=function(t){return new Zk(this,t)},_R(u_t,"HashBiMap/Inverse/1",1008),Wht(1009,345,k_t,Zk),zkt.cd=function(){return this.a.i},zkt.dd=function(){return this.a.g},zkt.ed=function(t){var e,n,i;return i=this.a.g,(e=KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15))))==this.a.a&&(iA(t)===iA(i)||null!=t&&X7(t,i))?t:(A4(!$2(this.b.a.a,t,e),t),xdt(this.b.a.a,this.a),n=new Mz(t,e,this.a.i,this.a.f),this.a=n,ylt(this.b.a.a,n,null),this.b.b=this.b.a.a.g,i)},_R(u_t,"HashBiMap/Inverse/1/InverseEntry",1009),Wht(611,532,w_t,XM),zkt.Kc=function(){return new vm(this.a.a)},zkt.Mc=function(t){var e;return!!(e=j2(this.a.a,t,KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15)))))&&(xdt(this.a.a,e),!0)},_R(u_t,"HashBiMap/Inverse/InverseKeySet",611),Wht(1007,534,f_t,vm),zkt.Nd=function(t){return t.i},_R(u_t,"HashBiMap/Inverse/InverseKeySet/1",1007),Wht(1010,1,{},ef),zkt.Od=function(t,e){!function(t,e,n){t.Od(n,e)}(this.a,t,e)},_R(u_t,"HashBiMap/Inverse/lambda$0$Type",1010),Wht(609,532,w_t,VM),zkt.Kc=function(){return new xm(this.a)},zkt.Mc=function(t){var e;return!!(e=$2(this.a,t,KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15)))))&&(xdt(this.a,e),e.e=null,e.c=null,!0)},_R(u_t,"HashBiMap/KeySet",609),Wht(1006,534,f_t,xm),zkt.Nd=function(t){return t.g},_R(u_t,"HashBiMap/KeySet/1",1006),Wht(1093,619,h_t),_R(u_t,"HashMultimapGwtSerializationDependencies",1093),Wht(265,1093,h_t,JH),zkt.hc=function(){return new Gx(AJ(this.a))},zkt.gd=function(){return new Gx(AJ(this.a))},zkt.a=2,_R(u_t,"HashMultimap",265),Wht(1999,152,B_t),zkt.Hc=function(t){return this.Pd().Hc(t)},zkt.dc=function(){return this.Pd().dc()},zkt.gc=function(){return this.Pd().gc()},_R(u_t,"ImmutableAsList",1999),Wht(1931,715,$_t),zkt.Ld=function(){return wP(),new Tv(this.a)},zkt.Cc=function(){return wP(),new Tv(this.a)},zkt.pd=function(){return wP(),new Tv(this.a)},_R(u_t,"ImmutableBiMap",1931),Wht(1977,1,{}),_R(u_t,"ImmutableCollection/Builder",1977),Wht(1022,703,R_t,km),_R(u_t,"ImmutableEnumSet",1022),Wht(969,386,l_t,NN),zkt.Xb=function(t){return this.a.Xb(t)},_R(u_t,"ImmutableList/1",969),Wht(968,1977,{},UD),_R(u_t,"ImmutableList/Builder",968),Wht(614,198,c_t,nf),zkt.Ob=function(){return this.a.Ob()},zkt.Pb=function(){return VP(this.a.Pb(),42).cd()},_R(u_t,"ImmutableMap/1",614),Wht(1041,1,{},c),zkt.Kb=function(t){return VP(t,42).cd()},_R(u_t,"ImmutableMap/2methodref$getKey$Type",1041),Wht(1040,1,{},YD),_R(u_t,"ImmutableMap/Builder",1040),Wht(2e3,1981,R_t),zkt.Kc=function(){return new nf(B$(this.a).Ed())},zkt.Dd=function(){return new Tw(this)},zkt.Jc=function(t){var e,n;for(TR(t),n=this.gc(),e=0;e<n;e++)t.td(VP($$(B$(this.a)).Xb(e),42).cd())},zkt.Ed=function(){var t;return(t=this.c,t||(this.c=new Tw(this))).Ed()},zkt.Nc=function(){return lF(this.gc(),1296,new af(this))},_R(u_t,"IndexedImmutableSet",2e3),Wht(1180,2e3,R_t,_w),zkt.Kc=function(){return new nf(B$(this.a).Ed())},zkt.Hc=function(t){return this.a._b(t)},zkt.Jc=function(t){TR(t),C3(this.a,new rf(t))},zkt.Ed=function(){return new nf(B$(this.a).Ed())},zkt.gc=function(){return this.a.gc()},zkt.Nc=function(){return WP(B$(this.a).Nc(),new c)},_R(u_t,"ImmutableMapKeySet",1180),Wht(1181,1,{},rf),zkt.Od=function(t,e){wP(),this.a.td(t)},_R(u_t,"ImmutableMapKeySet/lambda$0$Type",1181),Wht(1178,1980,P_t,Ew),zkt.Kc=function(){return new RB(this)},zkt.Hc=function(t){return null!=t&&function(t,e){if(null==e){for(;t.a.Ob();)if(null==VP(t.a.Pb(),42).dd())return!0}else for(;t.a.Ob();)if(X7(e,VP(t.a.Pb(),42).dd()))return!0;return!1}(new RB(this),t)},zkt.Ed=function(){return new RB(this)},zkt.gc=function(){return this.a.gc()},zkt.Nc=function(){return WP(B$(this.a).Nc(),new u)},_R(u_t,"ImmutableMapValues",1178),Wht(1179,1,{},u),zkt.Kb=function(t){return VP(t,42).dd()},_R(u_t,"ImmutableMapValues/0methodref$getValue$Type",1179),Wht(626,198,c_t,RB),zkt.Ob=function(){return this.a.Ob()},zkt.Pb=function(){return VP(this.a.Pb(),42).dd()},_R(u_t,"ImmutableMapValues/1",626),Wht(1182,1,{},af),zkt.ld=function(t){return Qj(this.a,t)},_R(u_t,"IndexedImmutableSet/0methodref$get$Type",1182),Wht(752,1999,B_t,Tw),zkt.Pd=function(){return this.a},zkt.Xb=function(t){return Qj(this.a,t)},zkt.gc=function(){return this.a.a.gc()},_R(u_t,"IndexedImmutableSet/1",752),Wht(44,1,{},l),zkt.Kb=function(t){return VP(t,20).Kc()},zkt.Fb=function(t){return this===t},_R(u_t,"Iterables/10",44),Wht(1042,537,D_t,zB),zkt.Jc=function(t){TR(t),this.b.Jc(new Uk(this.a,t))},zkt.Kc=function(){return PM(this)},_R(u_t,"Iterables/4",1042),Wht(1043,1,A_t,Uk),zkt.td=function(t){!function(t,e,n){t.Mb(n)&&e.td(n)}(this.b,this.a,t)},_R(u_t,"Iterables/4/lambda$0$Type",1043),Wht(1044,537,D_t,qB),zkt.Jc=function(t){TR(t),GK(this.a,new zk(t,this.b))},zkt.Kc=function(){return dL(new YI(this.a),this.b)},_R(u_t,"Iterables/5",1044),Wht(1045,1,A_t,zk),zkt.td=function(t){this.a.td(wM(t))},_R(u_t,"Iterables/5/lambda$0$Type",1045),Wht(1071,198,c_t,of),zkt.Ob=function(){return this.a.Ob()},zkt.Pb=function(){return this.a.Pb()},_R(u_t,"Iterators/1",1071),Wht(1072,699,c_t,qk),zkt.Yb=function(){for(var t;this.b.Ob();)if(t=this.b.Pb(),this.a.Lb(t))return t;return this.e=2,null},_R(u_t,"Iterators/5",1072),Wht(487,1,f_t),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.b.Ob()},zkt.Pb=function(){return this.Qd(this.b.Pb())},zkt.Qb=function(){this.b.Qb()},_R(u_t,"TransformedIterator",487),Wht(1073,487,f_t,gL),zkt.Qd=function(t){return this.a.Kb(t)},_R(u_t,"Iterators/6",1073),Wht(717,198,c_t,sf),zkt.Ob=function(){return!this.a},zkt.Pb=function(){if(this.a)throw lw(new $w);return this.a=!0,this.b},zkt.a=!1,_R(u_t,"Iterators/9",717),Wht(1070,386,l_t,ZF),zkt.Xb=function(t){return this.a[this.b+t]},zkt.b=0,_R(u_t,"Iterators/ArrayItr",1070),Wht(39,1,{39:1,47:1},O$),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return Xht(this)},zkt.Pb=function(){return xW(this)},zkt.Qb=function(){P3(!!this.c),this.c.Qb(),this.c=null},_R(u_t,"Iterators/ConcatenatedIterator",39),Wht(22,1,{3:1,35:1,22:1}),zkt.wd=function(t){return $m(this,VP(t,22))},zkt.Fb=function(t){return this===t},zkt.Hb=function(){return jL(this)},zkt.Ib=function(){return pO(this)},zkt.g=0;var sjt,cjt=_R(Jkt,"Enum",22);Wht(538,22,{538:1,3:1,35:1,22:1,47:1},mL),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return!1},zkt.Pb=function(){throw lw(new $w)},zkt.Qb=function(){P3(!1)};var ujt,ljt=G1(u_t,"Iterators/EmptyModifiableIterator",538,cjt,(function(){return wm(),P4(Zv(ljt,1),K_t,538,0,[sjt])}),(function(t){return wm(),rJ((aU(),ujt),t)}));Wht(1834,619,h_t),_R(u_t,"LinkedHashMultimapGwtSerializationDependencies",1834),Wht(1835,1834,h_t,n7),zkt.hc=function(){return new ZL(AJ(this.b))},zkt.$b=function(){y0(this),xw(this.a,this.a)},zkt.gd=function(){return new ZL(AJ(this.b))},zkt.ic=function(t){return new d6(this,t,this.b)},zkt.kc=function(){return new pL(this)},zkt.lc=function(){return new NU(VP(this.g||(this.g=new nm(this)),21),17)},zkt.ec=function(){return this.i||(this.i=new iL(this,this.c))},zkt.nc=function(){return new Cm(new pL(this))},zkt.oc=function(){return WP(new NU(VP(this.g||(this.g=new nm(this)),21),17),new h)},zkt.b=2,_R(u_t,"LinkedHashMultimap",1835),Wht(1838,1,{},h),zkt.Kb=function(t){return VP(t,42).dd()},_R(u_t,"LinkedHashMultimap/0methodref$getValue$Type",1838),Wht(824,1,f_t,pL),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return function(t){var e;if(t.a==t.b.a)throw lw(new $w);return e=t.a,t.c=e,t.a=t.a.e,e}(this)},zkt.Ob=function(){return this.a!=this.b.a},zkt.Qb=function(){P3(!!this.c),kY(this.b,this.c.g,this.c.i),this.c=null},_R(u_t,"LinkedHashMultimap/1",824),Wht(330,238,{345:1,238:1,330:1,2020:1,3:1,42:1},Az),zkt.Rd=function(){return this.f},zkt.Sd=function(t){this.c=t},zkt.Td=function(t){this.f=t},zkt.d=0;var hjt,fjt=_R(u_t,"LinkedHashMultimap/ValueEntry",330);Wht(1836,1970,{2020:1,20:1,28:1,14:1,21:1},d6),zkt.Fc=function(t){var e,n,i,r,a;for(e=(a=KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15))))&this.b.length-1,n=r=this.b[e];n;n=n.a)if(n.d==a&&dz(n.i,t))return!1;return i=new Az(this.c,t,a,r),Cv(this.d,i),i.f=this,this.d=i,xw(this.g.a.b,i),xw(i,this.g.a),this.b[e]=i,++this.f,++this.e,function(t){var e,n,i,r,a;if(m_(t.f,t.b.length))for(i=WX(fjt,Z_t,330,2*t.b.length,0,1),t.b=i,r=i.length-1,n=t.a;n!=t;n=n.Rd())e=(a=VP(n,330)).d&r,a.a=i[e],i[e]=a}(this),!0},zkt.$b=function(){var t,e;for(HE(this.b,null),this.f=0,t=this.a;t!=this;t=t.Rd())xw((e=VP(t,330)).b,e.e);this.a=this,this.d=this,++this.e},zkt.Hc=function(t){var e,n;for(n=KF(n9(q_t,qz(KF(n9(null==t?0:K5(t),H_t)),15))),e=this.b[n&this.b.length-1];e;e=e.a)if(e.d==n&&dz(e.i,t))return!0;return!1},zkt.Jc=function(t){var e;for(TR(t),e=this.a;e!=this;e=e.Rd())t.td(VP(e,330).i)},zkt.Rd=function(){return this.a},zkt.Kc=function(){return new cz(this)},zkt.Mc=function(t){return eft(this,t)},zkt.Sd=function(t){this.d=t},zkt.Td=function(t){this.a=t},zkt.gc=function(){return this.f},zkt.e=0,zkt.f=0,_R(u_t,"LinkedHashMultimap/ValueSet",1836),Wht(1837,1,f_t,cz),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return GF(this),this.b!=this.c},zkt.Pb=function(){var t,e;if(GF(this),this.b==this.c)throw lw(new $w);return e=(t=VP(this.b,330)).i,this.d=t,this.b=t.f,e},zkt.Qb=function(){GF(this),P3(!!this.d),eft(this.c,this.d.i),this.a=this.c.e,this.d=null},zkt.a=0,_R(u_t,"LinkedHashMultimap/ValueSet/1",1837),Wht(766,1986,h_t,PA),zkt.Zb=function(){return this.f||(this.f=new AE(this))},zkt.Fb=function(t){return h6(this,t)},zkt.cc=function(t){return new Wk(this,t)},zkt.fc=function(t){return KG(this,t)},zkt.$b=function(){dR(this)},zkt._b=function(t){return y_(this,t)},zkt.ac=function(){return new AE(this)},zkt.bc=function(){return new yf(this)},zkt.qc=function(t){return new Wk(this,t)},zkt.dc=function(){return!this.a},zkt.rc=function(t){return KG(this,t)},zkt.gc=function(){return this.d},zkt.c=0,zkt.d=0,_R(u_t,"LinkedListMultimap",766),Wht(52,28,W_t),zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.Vc=function(t,e){throw lw(new uv("Add not supported on this list"))},zkt.Fc=function(t){return this.Vc(this.gc(),t),!0},zkt.Wc=function(t,e){var n,i,r;for(yz(e),n=!1,r=e.Kc();r.Ob();)i=r.Pb(),this.Vc(t++,i),n=!0;return n},zkt.$b=function(){this.Ud(0,this.gc())},zkt.Fb=function(t){return lft(this,t)},zkt.Hb=function(){return $5(this)},zkt.Xc=function(t){return w0(this,t)},zkt.Kc=function(){return new Wf(this)},zkt.Yc=function(){return this.Zc(0)},zkt.Zc=function(t){return new QY(this,t)},zkt.$c=function(t){throw lw(new uv("Remove not supported on this list"))},zkt.Ud=function(t,e){var n,i;for(i=this.Zc(t),n=t;n<e;++n)i.Pb(),i.Qb()},zkt._c=function(t,e){throw lw(new uv("Set not supported on this list"))},zkt.bd=function(t,e){return new IU(this,t,e)},zkt.j=0,_R(d_t,"AbstractList",52),Wht(1964,52,W_t),zkt.Vc=function(t,e){LO(this,t,e)},zkt.Wc=function(t,e){return y6(this,t,e)},zkt.Xb=function(t){return knt(this,t)},zkt.Kc=function(){return this.Zc(0)},zkt.$c=function(t){return Grt(this,t)},zkt._c=function(t,e){var n,i;n=this.Zc(t);try{return i=n.Pb(),n.Wb(e),i}catch(e){throw MI(e=k4(e),109)?lw(new qm("Can't set element "+t)):lw(e)}},_R(d_t,"AbstractSequentialList",1964),Wht(636,1964,W_t,Wk),zkt.Zc=function(t){return OL(this,t)},zkt.gc=function(){var t;return(t=VP(zR(this.a.b,this.b),283))?t.a:0},_R(u_t,"LinkedListMultimap/1",636),Wht(1297,1970,w_t,yf),zkt.Hc=function(t){return y_(this.a,t)},zkt.Kc=function(){return new c2(this.a)},zkt.Mc=function(t){return!KG(this.a,t).a.dc()},zkt.gc=function(){return l_(this.a.b)},_R(u_t,"LinkedListMultimap/1KeySetImpl",1297),Wht(1296,1,f_t,c2),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return YF(this),!!this.c},zkt.Pb=function(){YF(this),kL(this.c),this.a=this.c,jj(this.d,this.a.a);do{this.c=this.c.b}while(this.c&&!jj(this.d,this.c.a));return this.a.a},zkt.Qb=function(){YF(this),P3(!!this.a),yF(new gQ(this.e,this.a.a)),this.a=null,this.b=this.e.c},zkt.b=0,_R(u_t,"LinkedListMultimap/DistinctKeyIterator",1296),Wht(283,1,{283:1},wH),zkt.a=0,_R(u_t,"LinkedListMultimap/KeyList",283),Wht(1295,345,k_t,Xk),zkt.cd=function(){return this.a},zkt.dd=function(){return this.f},zkt.ed=function(t){var e;return e=this.f,this.f=t,e},_R(u_t,"LinkedListMultimap/Node",1295),Wht(560,1,x_t,gQ,_ut),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){this.e=Ibt(this.f,this.b,t,this.c),++this.d,this.a=null},zkt.Ob=function(){return!!this.c},zkt.Sb=function(){return!!this.e},zkt.Pb=function(){return KZ(this)},zkt.Tb=function(){return this.d},zkt.Ub=function(){return WZ(this)},zkt.Vb=function(){return this.d-1},zkt.Qb=function(){P3(!!this.a),this.a!=this.c?(this.e=this.a.e,--this.d):this.c=this.a.c,function(t,e){var n;e.d?e.d.b=e.b:t.a=e.b,e.b?e.b.d=e.d:t.e=e.d,e.e||e.c?(--(n=VP(zR(t.b,e.a),283)).a,e.e?e.e.c=e.c:n.b=e.c,e.c?e.c.e=e.e:n.c=e.e):((n=VP(UW(t.b,e.a),283)).a=0,++t.c),--t.d}(this.f,this.a),this.a=null},zkt.Wb=function(t){xL(!!this.a),this.a.f=t},zkt.d=0,_R(u_t,"LinkedListMultimap/ValueForKeyIterator",560),Wht(1018,52,W_t),zkt.Vc=function(t,e){this.a.Vc(t,e)},zkt.Wc=function(t,e){return this.a.Wc(t,e)},zkt.Hc=function(t){return this.a.Hc(t)},zkt.Xb=function(t){return this.a.Xb(t)},zkt.$c=function(t){return this.a.$c(t)},zkt._c=function(t,e){return this.a._c(t,e)},zkt.gc=function(){return this.a.gc()},_R(u_t,"Lists/AbstractListWrapper",1018),Wht(1019,1018,V_t),_R(u_t,"Lists/RandomAccessListWrapper",1019),Wht(1021,1019,V_t,a_),zkt.Zc=function(t){return this.a.Zc(t)},_R(u_t,"Lists/1",1021),Wht(131,52,{131:1,20:1,28:1,52:1,14:1,15:1},r_),zkt.Vc=function(t,e){this.a.Vc(Nj(this,t),e)},zkt.$b=function(){this.a.$b()},zkt.Xb=function(t){return this.a.Xb(FR(this,t))},zkt.Kc=function(){return jU(this,0)},zkt.Zc=function(t){return jU(this,t)},zkt.$c=function(t){return this.a.$c(FR(this,t))},zkt.Ud=function(t,e){(HY(t,e,this.a.gc()),A3(this.a.bd(Nj(this,e),Nj(this,t)))).$b()},zkt._c=function(t,e){return this.a._c(FR(this,t),e)},zkt.gc=function(){return this.a.gc()},zkt.bd=function(t,e){return HY(t,e,this.a.gc()),A3(this.a.bd(Nj(this,e),Nj(this,t)))},_R(u_t,"Lists/ReverseList",131),Wht(280,131,{131:1,20:1,28:1,52:1,14:1,15:1,54:1},Em),_R(u_t,"Lists/RandomAccessReverseList",280),Wht(1020,1,x_t,Vk),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){this.c.Rb(t),this.c.Ub(),this.a=!1},zkt.Ob=function(){return this.c.Sb()},zkt.Sb=function(){return this.c.Ob()},zkt.Pb=function(){return tW(this)},zkt.Tb=function(){return Nj(this.b,this.c.Tb())},zkt.Ub=function(){if(!this.c.Ob())throw lw(new $w);return this.a=!0,this.c.Pb()},zkt.Vb=function(){return Nj(this.b,this.c.Tb())-1},zkt.Qb=function(){P3(this.a),this.c.Qb(),this.a=!1},zkt.Wb=function(t){xL(this.a),this.c.Wb(t)},zkt.a=!1,_R(u_t,"Lists/ReverseList/1",1020),Wht(432,487,f_t,Tm),zkt.Qd=function(t){return ME(t)},_R(u_t,"Maps/1",432),Wht(698,487,f_t,Cm),zkt.Qd=function(t){return VP(t,42).dd()},_R(u_t,"Maps/2",698),Wht(962,487,f_t,LL),zkt.Qd=function(t){return new Kk(t,GA(this.a,t))},_R(u_t,"Maps/3",962),Wht(959,1971,w_t,wf),zkt.Jc=function(t){!function(t,e){t.kc().Nb(e)}(this.a,t)},zkt.Kc=function(){return this.a.kc()},zkt.Rc=function(){return this.a},zkt.Nc=function(){return this.a.lc()},_R(u_t,"Maps/IteratorBasedAbstractMap/1",959),Wht(960,1,{},bf),zkt.Od=function(t,e){this.a.td(t)},_R(u_t,"Maps/KeySet/lambda$0$Type",960),Wht(958,28,p_t,i_),zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return this.a.uc(t)},zkt.Jc=function(t){TR(t),this.a.wc(new lf(t))},zkt.dc=function(){return this.a.dc()},zkt.Kc=function(){return new Cm(this.a.vc().Kc())},zkt.Mc=function(t){var e,n;try{return W9(this,t,!0)}catch(i){if(MI(i=k4(i),41)){for(n=this.a.vc().Kc();n.Ob();)if(dz(t,(e=VP(n.Pb(),42)).dd()))return this.a.Bc(e.cd()),!0;return!1}throw lw(i)}},zkt.gc=function(){return this.a.gc()},_R(u_t,"Maps/Values",958),Wht(961,1,{},lf),zkt.Od=function(t,e){this.a.td(e)},_R(u_t,"Maps/Values/lambda$0$Type",961),Wht(736,1987,g_t,AE),zkt.xc=function(t){return this.a._b(t)?this.a.cc(t):null},zkt.Bc=function(t){return this.a._b(t)?this.a.fc(t):null},zkt.$b=function(){this.a.$b()},zkt._b=function(t){return this.a._b(t)},zkt.Ec=function(){return new uf(this)},zkt.Dc=function(){return this.Ec()},zkt.dc=function(){return this.a.dc()},zkt.ec=function(){return this.a.ec()},zkt.gc=function(){return this.a.ec().gc()},_R(u_t,"Multimaps/AsMap",736),Wht(1104,1971,w_t,uf),zkt.Kc=function(){return t=this.a.a.ec(),e=new hf(this),new LL(t.Kc(),e);var t,e},zkt.Rc=function(){return this.a},zkt.Mc=function(t){var e;return!!ytt(this,t)&&(e=VP(t,42),function(t,e){t.a.ec().Mc(e)}(this.a,e.cd()),!0)},_R(u_t,"Multimaps/AsMap/EntrySet",1104),Wht(1108,1,{},hf),zkt.Kb=function(t){return GA(this,t)},zkt.Fb=function(t){return this===t},_R(u_t,"Multimaps/AsMap/EntrySet/1",1108),Wht(543,1989,{543:1,835:1,20:1,28:1,14:1},ff),zkt.$b=function(){y0(this.a)},zkt.Hc=function(t){return Ix(this.a,t)},zkt.Jc=function(t){TR(t),GK(IR(this.a),new gf(t))},zkt.Kc=function(){return new Tm(IR(this.a).a.kc())},zkt.gc=function(){return this.a.d},zkt.Nc=function(){return WP(IR(this.a).Nc(),new f)},_R(u_t,"Multimaps/Keys",543),Wht(1106,1,{},f),zkt.Kb=function(t){return VP(t,42).cd()},_R(u_t,"Multimaps/Keys/0methodref$getKey$Type",1106),Wht(1105,487,f_t,Sm),zkt.Qd=function(t){return new df(VP(t,42))},_R(u_t,"Multimaps/Keys/1",1105),Wht(1990,1,{416:1}),zkt.Fb=function(t){var e;return!!MI(t,492)&&(e=VP(t,416),VP(this.a.dd(),14).gc()==VP(e.a.dd(),14).gc()&&dz(this.a.cd(),e.a.cd()))},zkt.Hb=function(){var t;return(null==(t=this.a.cd())?0:K5(t))^VP(this.a.dd(),14).gc()},zkt.Ib=function(){var t,e;return e=PL(this.a.cd()),1==(t=VP(this.a.dd(),14).gc())?e:e+" x "+t},_R(u_t,"Multisets/AbstractEntry",1990),Wht(492,1990,{492:1,416:1},df),_R(u_t,"Multimaps/Keys/1/1",492),Wht(1107,1,A_t,gf),zkt.td=function(t){this.a.td(VP(t,42).cd())},_R(u_t,"Multimaps/Keys/lambda$1$Type",1107),Wht(1110,1,A_t,d),zkt.td=function(t){!function(t){t.a.cd(),VP(t.a.dd(),14).gc(),kv()}(VP(t,416))},_R(u_t,"Multiset/lambda$0$Type",1110),Wht(737,1,A_t,pf),zkt.td=function(t){!function(t,e){var n,i,r;for(i=e.a.cd(),n=VP(e.a.dd(),14).gc(),r=0;r<n;r++)t.td(i)}(this.a,VP(t,416))},_R(u_t,"Multiset/lambda$1$Type",737),Wht(1111,1,{},m),_R(u_t,"Multisets/0methodref$add$Type",1111),Wht(738,1,{},v),zkt.Kb=function(t){return EG(VP(t,416))},_R(u_t,"Multisets/lambda$3$Type",738),Wht(2008,1,t_t),_R(u_t,"RangeGwtSerializationDependencies",2008),Wht(514,2008,{169:1,514:1,3:1,45:1},Rnt),zkt.Lb=function(t){return W$(this,VP(t,35))},zkt.Mb=function(t){return W$(this,VP(t,35))},zkt.Fb=function(t){var e;return!!MI(t,514)&&(e=VP(t,514),Ztt(this.a,e.a)&&Ztt(this.b,e.b))},zkt.Hb=function(){return 31*this.a.Hb()+this.b.Hb()},zkt.Ib=function(){return zG(this.a,this.b)},_R(u_t,"Range",514),Wht(778,1999,B_t,_j),zkt.Zc=function(t){return aO(this.b,t)},zkt.Pd=function(){return this.a},zkt.Xb=function(t){return sA(this.b,t)},zkt.Fd=function(t){return aO(this.b,t)},_R(u_t,"RegularImmutableAsList",778),Wht(646,2006,B_t,LH),zkt.Hd=function(){return this.a},_R(u_t,"RegularImmutableList",646),Wht(616,715,$_t,_m),_R(u_t,"RegularImmutableMap",616),Wht(716,703,R_t,zE),_R(u_t,"RegularImmutableSet",716),Wht(1976,b_t,w_t),zkt.Kc=function(){return new aq(this.a,this.b)},zkt.Fc=function(t){throw lw(new Pw)},zkt.Gc=function(t){throw lw(new Pw)},zkt.$b=function(){throw lw(new Pw)},zkt.Mc=function(t){throw lw(new Pw)},_R(u_t,"Sets/SetView",1976),Wht(963,1976,w_t,Jk),zkt.Kc=function(){return new aq(this.a,this.b)},zkt.Hc=function(t){return r$(this.a,t)&&this.b.Hc(t)},zkt.Ic=function(t){return m4(this.a,t)&&this.b.Ic(t)},zkt.dc=function(){return Ent(this.b,this.a)},zkt.Lc=function(){return lq(new CF(null,new NU(this.a,1)),new vf(this.b))},zkt.gc=function(){return W3(this)},zkt.Oc=function(){return lq(new CF(null,new NU(this.a,1)),new mf(this.b))},_R(u_t,"Sets/2",963),Wht(700,699,c_t,aq),zkt.Yb=function(){for(var t;tI(this.a);)if(t=nK(this.a),this.c.Hc(t))return t;return this.e=2,null},_R(u_t,"Sets/2/1",700),Wht(964,1,Q_t,mf),zkt.Mb=function(t){return this.a.Hc(t)},_R(u_t,"Sets/2/4methodref$contains$Type",964),Wht(965,1,Q_t,vf),zkt.Mb=function(t){return this.a.Hc(t)},_R(u_t,"Sets/2/5methodref$contains$Type",965),Wht(607,1975,{607:1,3:1,20:1,14:1,271:1,21:1,84:1},WH),zkt.Bd=function(){return this.b},zkt.Cd=function(){return this.b},zkt.Md=function(){return this.b},zkt.Jc=function(t){this.a.Jc(t)},zkt.Lc=function(){return this.a.Lc()},zkt.Oc=function(){return this.a.Oc()},_R(u_t,"Sets/UnmodifiableNavigableSet",607),Wht(1932,1931,$_t,Iz),zkt.Ld=function(){return wP(),new Tv(this.a)},zkt.Cc=function(){return wP(),new Tv(this.a)},zkt.pd=function(){return wP(),new Tv(this.a)},_R(u_t,"SingletonImmutableBiMap",1932),Wht(647,2006,B_t,wF),zkt.Hd=function(){return this.a},_R(u_t,"SingletonImmutableList",647),Wht(350,1981,R_t,Tv),zkt.Kc=function(){return new sf(this.a)},zkt.Hc=function(t){return X7(this.a,t)},zkt.Ed=function(){return new sf(this.a)},zkt.gc=function(){return 1},_R(u_t,"SingletonImmutableSet",350),Wht(1115,1,{},x),zkt.Kb=function(t){return VP(t,164)},_R(u_t,"Streams/lambda$0$Type",1115),Wht(1116,1,J_t,xf),zkt.Vd=function(){!function(t){var e,n,i;for(n=0,i=(e=t).length;n<i;++n)mz(e[n])}(this.a)},_R(u_t,"Streams/lambda$1$Type",1116),Wht(1659,1658,h_t,TH),zkt.Zb=function(){return VP(VP(this.f||(this.f=MI(this.c,171)?new pD(this,VP(this.c,171)):MI(this.c,161)?new gD(this,VP(this.c,161)):new Gk(this,this.c)),161),171)},zkt.hc=function(){return new Wx(this.b)},zkt.gd=function(){return new Wx(this.b)},zkt.ec=function(){return VP(VP(this.i||(this.i=MI(this.c,171)?new Lk(this,VP(this.c,171)):MI(this.c,161)?new Ik(this,VP(this.c,161)):new iL(this,this.c)),84),271)},zkt.ac=function(){return MI(this.c,171)?new pD(this,VP(this.c,171)):MI(this.c,161)?new gD(this,VP(this.c,161)):new Gk(this,this.c)},zkt.ic=function(t){return null==t&&this.a.ue(t,t),new Wx(this.b)},_R(u_t,"TreeMultimap",1659),Wht(78,1,{3:1,78:1}),zkt.Wd=function(t){return new Error(t)},zkt.Xd=function(){return this.e},zkt.Yd=function(){return function(t,e){var n;return(n=VP(xK(t,mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15)).Qc(wB(n.gc()))}(hq(Gj((null==this.k&&(this.k=WX(gjt,T_t,78,0,0,1)),this.k)),new P),new st)},zkt.Zd=function(){return this.f},zkt.$d=function(){return this.g},zkt._d=function(){var t,e;t=this,e=function(t){if(!("stack"in t))try{throw t}catch(t){}return t}(this.Wd(DH(this,this.g))),t.e=e,Igt(t,e),Cw(this)},zkt.Ib=function(){return DH(this,this.$d())},zkt.e=nEt,zkt.i=!1,zkt.n=!0;var djt,gjt=_R(Jkt,"Throwable",78);Wht(102,78,{3:1,102:1,78:1}),_R(Jkt,"Exception",102),Wht(60,102,iEt,Sw,Am),_R(Jkt,"RuntimeException",60),Wht(598,60,iEt),_R(Jkt,"JsException",598),Wht(863,598,iEt),_R(rEt,"JavaScriptExceptionBase",863),Wht(477,863,{477:1,3:1,102:1,60:1,78:1},t7),zkt.$d=function(){return null==(t=this).c&&(e=iA(t.b)===iA(djt)?null:t.b,t.d=null==e?s_t:S$(e)?function(t){return null==t?null:t.name}(Zq(e)):oA(e)?aEt:Nx(W5(e)),t.a=t.a+": "+(S$(e)?function(t){return null==t?null:t.message}(Zq(e)):e+""),t.c="("+t.d+") "+t.a),this.c;var t,e},zkt.ae=function(){return iA(this.b)===iA(djt)?null:this.b},_R(oEt,"JavaScriptException",477);var pjt,bjt=_R(oEt,"JavaScriptObject$",0);Wht(1948,1,{}),_R(oEt,"Scheduler",1948);var wjt,yjt,mjt,vjt,xjt=0,kjt=0,_jt=-1;Wht(890,1948,{},k),_R(rEt,"SchedulerImpl",890),Wht(1960,1,{}),_R(rEt,"StackTraceCreator/Collector",1960),Wht(864,1960,{},_),zkt.be=function(t){var e={},n=[];t[cEt]=n;for(var i=arguments.callee.caller;i;){var r=(OH(),i.name||(i.name=e0(i.toString())));n.push(r);var a,o,s=":"+r,c=e[s];if(c)for(a=0,o=c.length;a<o;a++)if(c[a]===i)return;(c||(e[s]=[])).push(i),i=i.caller}},zkt.ce=function(t){var e,n,i,r;for(OH(),n=(i=t&&t[cEt]?t[cEt]:[]).length,r=WX(nRt,T_t,310,n,0,1),e=0;e<n;e++)r[e]=new oq(i[e],null,-1);return r},_R(rEt,"StackTraceCreator/CollectorLegacy",864),Wht(1961,1960,{}),zkt.be=function(t){},zkt.de=function(t,e,n,i){return new oq(e,t+"@"+i,n<0?-1:n)},zkt.ce=function(t){var e,n,i,r,a,o;if(r=function(t){OH();var e=t.e;if(e&&e.stack){var n=e.stack,i=e+"\n";return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split("\n")}return[]}(t),a=WX(nRt,T_t,310,0,0,1),e=0,0==(i=r.length))return a;for(jN((o=Qmt(this,r[0])).d,sEt)||(a[e++]=o),n=1;n<i;n++)a[e++]=Qmt(this,r[n]);return a},_R(rEt,"StackTraceCreator/CollectorModern",1961),Wht(865,1961,{},p),zkt.de=function(t,e,n,i){return new oq(e,t,-1)},_R(rEt,"StackTraceCreator/CollectorModernNoSourceMap",865),Wht(1050,1,{}),_R(BEt,FEt,1050),Wht(615,1050,{615:1},YR),_R($Et,FEt,615),Wht(2001,1,{}),_R(BEt,jEt,2001),Wht(2002,2001,{}),_R($Et,jEt,2002),Wht(1090,1,{},b),_R($Et,"LocaleInfo",1090),Wht(1918,1,{},w),zkt.a=0,_R($Et,"TimeZone",1918),Wht(1258,2002,{},g),_R("com.google.gwt.i18n.client.impl.cldr","DateTimeFormatInfoImpl",1258),Wht(434,1,{434:1},iB),zkt.a=!1,zkt.b=0,_R(BEt,"DateTimeFormat/PatternPart",434),Wht(199,1,REt,s_,v5,dD),zkt.wd=function(t){return function(t,e){return Xj(B3(t.q.getTime()),B3(e.q.getTime()))}(this,VP(t,199))},zkt.Fb=function(t){return MI(t,199)&&uA(B3(this.q.getTime()),B3(VP(t,199).q.getTime()))},zkt.Hb=function(){var t;return KF(YU(t=B3(this.q.getTime()),Y$(t,32)))},zkt.Ib=function(){var t,e,i;return t=((i=-this.q.getTimezoneOffset())>=0?"+":"")+(i/60|0),e=VA(n.Math.abs(i)%60),(Ist(),ORt)[this.q.getDay()]+" "+DRt[this.q.getMonth()]+" "+VA(this.q.getDate())+" "+VA(this.q.getHours())+":"+VA(this.q.getMinutes())+":"+VA(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()};var Ejt,Tjt,Cjt,Sjt,Ajt,Mjt,Ijt,Ljt,Ojt,Djt,Njt,Pjt=_R(d_t,"Date",199);Wht(1915,199,REt,Tat),zkt.a=!1,zkt.b=0,zkt.c=0,zkt.d=0,zkt.e=0,zkt.f=0,zkt.g=!1,zkt.i=0,zkt.j=0,zkt.k=0,zkt.n=0,zkt.o=0,zkt.p=0,_R("com.google.gwt.i18n.shared.impl","DateRecord",1915),Wht(1966,1,{}),zkt.fe=function(){return null},zkt.ge=function(){return null},zkt.he=function(){return null},zkt.ie=function(){return null},zkt.je=function(){return null},_R(zEt,"JSONValue",1966),Wht(216,1966,{216:1},Cf,kf),zkt.Fb=function(t){return!!MI(t,216)&&QU(this.a,VP(t,216).a)},zkt.ee=function(){return hw},zkt.Hb=function(){return uH(this.a)},zkt.fe=function(){return this},zkt.Ib=function(){var t,e,n;for(n=new CL("["),e=0,t=this.a.length;e<t;e++)e>0&&(n.a+=","),mA(n,WQ(this,e));return n.a+="]",n.a},_R(zEt,"JSONArray",216),Wht(483,1966,{483:1},_f),zkt.ee=function(){return fw},zkt.ge=function(){return this},zkt.Ib=function(){return EL(),""+this.a},zkt.a=!1,_R(zEt,"JSONBoolean",483),Wht(985,60,iEt,Mm),_R(zEt,"JSONException",985),Wht(1023,1966,{},y),zkt.ee=function(){return ww},zkt.Ib=function(){return s_t},_R(zEt,"JSONNull",1023),Wht(258,1966,{258:1},Ef),zkt.Fb=function(t){return!!MI(t,258)&&this.a==VP(t,258).a},zkt.ee=function(){return dw},zkt.Hb=function(){return JA(this.a)},zkt.he=function(){return this},zkt.Ib=function(){return this.a+""},zkt.a=0,_R(zEt,"JSONNumber",258),Wht(183,1966,{183:1},Im,Tf),zkt.Fb=function(t){return!!MI(t,183)&&QU(this.a,VP(t,183).a)},zkt.ee=function(){return gw},zkt.Hb=function(){return uH(this.a)},zkt.ie=function(){return this},zkt.Ib=function(){var t,e,n,i,r,a;for(a=new CL("{"),t=!0,i=0,r=(n=f2(this,WX(fRt,T_t,2,0,6,1))).length;i<r;++i)e=n[i],t?t=!1:a.a+=n_t,vA(a,ght(e)),a.a+=":",mA(a,kZ(this,e));return a.a+="}",a.a},_R(zEt,"JSONObject",183),Wht(596,b_t,w_t,t_),zkt.Hc=function(t){return oA(t)&&function(t,e){return e in t.a}(this.a,fD(t))},zkt.Kc=function(){return new Wf(new ov(this.b))},zkt.gc=function(){return this.b.length},_R(zEt,"JSONObject/1",596),Wht(204,1966,{204:1},UR),zkt.Fb=function(t){return!!MI(t,204)&&jN(this.a,VP(t,204).a)},zkt.ee=function(){return pw},zkt.Hb=function(){return Knt(this.a)},zkt.je=function(){return this},zkt.Ib=function(){return ght(this.a)},_R(zEt,"JSONString",204),Wht(1962,1,{525:1}),_R(WEt,"OutputStream",1962),Wht(1963,1962,{525:1}),_R(WEt,"FilterOutputStream",1963),Wht(866,1963,{525:1},L),_R(WEt,"PrintStream",866),Wht(418,1,{475:1}),zkt.Ib=function(){return this.a},_R(Jkt,"AbstractStringBuilder",418),Wht(529,60,iEt,zm),_R(Jkt,"ArithmeticException",529),Wht(73,60,XEt,Mw,qm),_R(Jkt,"IndexOutOfBoundsException",73),Wht(320,73,{3:1,320:1,102:1,73:1,60:1,78:1},Zw,Sv),_R(Jkt,"ArrayIndexOutOfBoundsException",320),Wht(528,60,iEt,Iw,Hm),_R(Jkt,"ArrayStoreException",528),Wht(289,78,VEt,Zm),_R(Jkt,"Error",289),Wht(194,289,VEt,Aw,nW),_R(Jkt,"AssertionError",194),Zkt={3:1,476:1,35:1};var Bjt,Fjt=_R(Jkt,"Boolean",476);Wht(236,1,{3:1,236:1}),_R(Jkt,"Number",236),Wht(217,236,{3:1,217:1,35:1,236:1},ed),zkt.wd=function(t){return function(t,e){return t.a-e.a}(this,VP(t,217))},zkt.ke=function(){return this.a},zkt.Fb=function(t){return MI(t,217)&&VP(t,217).a==this.a},zkt.Hb=function(){return this.a},zkt.Ib=function(){return""+this.a},zkt.a=0;var $jt,jjt,Rjt=_R(Jkt,"Byte",217);Wht(172,1,{3:1,172:1,35:1},nd),zkt.wd=function(t){return function(t,e){return t.a-e.a}(this,VP(t,172))},zkt.Fb=function(t){return MI(t,172)&&VP(t,172).a==this.a},zkt.Hb=function(){return this.a},zkt.Ib=function(){return String.fromCharCode(this.a)},zkt.a=0;var zjt,qjt=_R(Jkt,"Character",172);Wht(205,60,{3:1,205:1,102:1,60:1,78:1},Lw,Wm),_R(Jkt,"ClassCastException",205),Ukt={3:1,35:1,333:1,236:1};var Hjt=_R(Jkt,"Double",333);Wht(155,236,{3:1,35:1,155:1,236:1},id,Ww),zkt.wd=function(t){return function(t,e){return O8(t.a,e.a)}(this,VP(t,155))},zkt.ke=function(){return this.a},zkt.Fb=function(t){return MI(t,155)&&$N(this.a,VP(t,155).a)},zkt.Hb=function(){return cZ(this.a)},zkt.Ib=function(){return""+this.a},zkt.a=0;var Zjt=_R(Jkt,"Float",155);Wht(32,60,{3:1,102:1,32:1,60:1,78:1},Ow,Xm,C6),_R(Jkt,"IllegalArgumentException",32),Wht(71,60,iEt,Dw,Vm),_R(Jkt,"IllegalStateException",71),Wht(19,236,{3:1,35:1,19:1,236:1},rd),zkt.wd=function(t){return function(t,e){return nI(t.a,e.a)}(this,VP(t,19))},zkt.ke=function(){return this.a},zkt.Fb=function(t){return MI(t,19)&&VP(t,19).a==this.a},zkt.Hb=function(){return this.a},zkt.Ib=function(){return""+this.a},zkt.a=0;var Ujt,Yjt,Gjt=_R(Jkt,"Integer",19);Wht(162,236,{3:1,35:1,162:1,236:1},ad),zkt.wd=function(t){return function(t,e){return Xj(t.a,e.a)}(this,VP(t,162))},zkt.ke=function(){return WY(this.a)},zkt.Fb=function(t){return MI(t,162)&&uA(VP(t,162).a,this.a)},zkt.Hb=function(){return KF(this.a)},zkt.Ib=function(){return""+q$(this.a)},zkt.a=0;var Kjt,Wjt,Xjt,Vjt,Qjt,Jjt=_R(Jkt,"Long",162);Wht(2039,1,{}),Wht(1831,60,iEt,Qm),_R(Jkt,"NegativeArraySizeException",1831),Wht(173,598,{3:1,102:1,173:1,60:1,78:1},Nw,Jm),zkt.Wd=function(t){return new TypeError(t)},_R(Jkt,"NullPointerException",173),Wht(127,32,{3:1,102:1,32:1,127:1,60:1,78:1},Av),_R(Jkt,"NumberFormatException",127),Wht(184,236,{3:1,35:1,236:1,184:1},od),zkt.wd=function(t){return function(t,e){return t.a-e.a}(this,VP(t,184))},zkt.ke=function(){return this.a},zkt.Fb=function(t){return MI(t,184)&&VP(t,184).a==this.a},zkt.Hb=function(){return this.a},zkt.Ib=function(){return""+this.a},zkt.a=0;var tRt,eRt=_R(Jkt,"Short",184);Wht(310,1,{3:1,310:1},oq),zkt.Fb=function(t){var e;return!!MI(t,310)&&(e=VP(t,310),this.c==e.c&&this.d==e.d&&this.a==e.a&&this.b==e.b)},zkt.Hb=function(){return Z6(P4(Zv(G$t,1),r_t,1,5,[p8(this.c),this.a,this.d,this.b]))},zkt.Ib=function(){return this.a+"."+this.d+"("+(null!=this.b?this.b:"Unknown Source")+(this.c>=0?":"+this.c:"")+")"},zkt.c=0;var nRt=_R(Jkt,"StackTraceElement",310);Ykt={3:1,475:1,35:1,2:1};var iRt,rRt,aRt,oRt,sRt,cRt,uRt,lRt,hRt,fRt=_R(Jkt,aEt,2);Wht(107,418,{475:1},Mv,Iv,TL),_R(Jkt,"StringBuffer",107),Wht(100,418,{475:1},Lv,Ov,CL),_R(Jkt,"StringBuilder",100),Wht(687,73,XEt,Dv),_R(Jkt,"StringIndexOutOfBoundsException",687),Wht(2043,1,{}),Wht(844,1,{},P),zkt.Kb=function(t){return VP(t,78).e},_R(Jkt,"Throwable/lambda$0$Type",844),Wht(41,60,{3:1,102:1,60:1,78:1,41:1},Pw,uv),_R(Jkt,"UnsupportedOperationException",41),Wht(240,236,{3:1,35:1,236:1,240:1},JQ,Kx),zkt.wd=function(t){return Mwt(this,VP(t,240))},zkt.ke=function(){return wct(jmt(this))},zkt.Fb=function(t){var e;return this===t||!!MI(t,240)&&(e=VP(t,240),this.e==e.e&&0==Mwt(this,e))},zkt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=B3(this.f),this.b=KF(ZU(t,-1)),this.b=33*this.b+KF(ZU(U$(t,32),-1)),this.b=17*this.b+cZ(this.e),this.b):(this.b=17*d7(this.c)+cZ(this.e),this.b)},zkt.Ib=function(){return jmt(this)},zkt.a=0,zkt.b=0,zkt.d=0,zkt.e=0,zkt.f=0;var dRt,gRt,pRt,bRt,wRt,yRt,mRt=_R("java.math","BigDecimal",240);Wht(91,236,{3:1,35:1,236:1,91:1},_nt,gX,Mj,yot,Cet,AM),zkt.wd=function(t){return set(this,VP(t,91))},zkt.ke=function(){return wct(ykt(this,0))},zkt.Fb=function(t){return H9(this,t)},zkt.Hb=function(){return d7(this)},zkt.Ib=function(){return ykt(this,0)},zkt.b=-2,zkt.c=0,zkt.d=0,zkt.e=0;var vRt,xRt,kRt,_Rt,ERt=_R("java.math","BigInteger",91);Wht(488,1967,g_t),zkt.$b=function(){Yj(this)},zkt._b=function(t){return Sj(this,t)},zkt.uc=function(t){return m6(this,t,this.g)||m6(this,t,this.f)},zkt.vc=function(){return new Xf(this)},zkt.xc=function(t){return zR(this,t)},zkt.zc=function(t,e){return Pz(this,t,e)},zkt.Bc=function(t){return UW(this,t)},zkt.gc=function(){return l_(this)},_R(d_t,"AbstractHashMap",488),Wht(261,b_t,w_t,Xf),zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return GY(this,t)},zkt.Kc=function(){return new e6(this.a)},zkt.Mc=function(t){var e;return!!GY(this,t)&&(e=VP(t,42).cd(),this.a.Bc(e),!0)},zkt.gc=function(){return this.a.gc()},_R(d_t,"AbstractHashMap/EntrySet",261),Wht(262,1,f_t,e6),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return u1(this)},zkt.Ob=function(){return this.b},zkt.Qb=function(){cV(this)},zkt.b=!1,_R(d_t,"AbstractHashMap/EntrySetIterator",262),Wht(417,1,f_t,Wf),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return IE(this)},zkt.Pb=function(){return Rq(this)},zkt.Qb=function(){lz(this)},zkt.b=0,zkt.c=-1,_R(d_t,"AbstractList/IteratorImpl",417),Wht(96,417,x_t,QY),zkt.Qb=function(){lz(this)},zkt.Rb=function(t){JD(this,t)},zkt.Sb=function(){return this.b>0},zkt.Tb=function(){return this.b},zkt.Ub=function(){return CO(this.b>0),this.a.Xb(this.c=--this.b)},zkt.Vb=function(){return this.b-1},zkt.Wb=function(t){TO(-1!=this.c),this.a._c(this.c,t)},_R(d_t,"AbstractList/ListIteratorImpl",96),Wht(219,52,W_t,IU),zkt.Vc=function(t,e){iU(t,this.b),this.c.Vc(this.a+t,e),++this.b},zkt.Xb=function(t){return OU(t,this.b),this.c.Xb(this.a+t)},zkt.$c=function(t){var e;return OU(t,this.b),e=this.c.$c(this.a+t),--this.b,e},zkt._c=function(t,e){return OU(t,this.b),this.c._c(this.a+t,e)},zkt.gc=function(){return this.b},zkt.a=0,zkt.b=0,_R(d_t,"AbstractList/SubList",219),Wht(384,b_t,w_t,Vf),zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return this.a._b(t)},zkt.Kc=function(){return new Qf(this.a.vc().Kc())},zkt.Mc=function(t){return!!this.a._b(t)&&(this.a.Bc(t),!0)},zkt.gc=function(){return this.a.gc()},_R(d_t,"AbstractMap/1",384),Wht(691,1,f_t,Qf),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.a.Ob()},zkt.Pb=function(){return VP(this.a.Pb(),42).cd()},zkt.Qb=function(){this.a.Qb()},_R(d_t,"AbstractMap/1/1",691),Wht(226,28,p_t,Jf),zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return this.a.uc(t)},zkt.Kc=function(){return new sd(this.a.vc().Kc())},zkt.gc=function(){return this.a.gc()},_R(d_t,"AbstractMap/2",226),Wht(294,1,f_t,sd),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.a.Ob()},zkt.Pb=function(){return VP(this.a.Pb(),42).dd()},zkt.Qb=function(){this.a.Qb()},_R(d_t,"AbstractMap/2/1",294),Wht(484,1,{484:1,42:1}),zkt.Fb=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),Hz(this.d,e.cd())&&Hz(this.e,e.dd()))},zkt.cd=function(){return this.d},zkt.dd=function(){return this.e},zkt.Hb=function(){return NM(this.d)^NM(this.e)},zkt.ed=function(t){return VD(this,t)},zkt.Ib=function(){return this.d+"="+this.e},_R(d_t,"AbstractMap/AbstractEntry",484),Wht(383,484,{484:1,383:1,42:1},UE),_R(d_t,"AbstractMap/SimpleEntry",383),Wht(1984,1,hTt),zkt.Fb=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),Hz(this.cd(),e.cd())&&Hz(this.dd(),e.dd()))},zkt.Hb=function(){return NM(this.cd())^NM(this.dd())},zkt.Ib=function(){return this.cd()+"="+this.dd()},_R(d_t,__t,1984),Wht(1992,1967,y_t),zkt.tc=function(t){return yW(this,t)},zkt._b=function(t){return GN(this,t)},zkt.vc=function(){return new ld(this)},zkt.xc=function(t){return nA(a6(this,t))},zkt.ec=function(){return new cd(this)},_R(d_t,"AbstractNavigableMap",1992),Wht(739,b_t,w_t,ld),zkt.Hc=function(t){return MI(t,42)&&yW(this.b,VP(t,42))},zkt.Kc=function(){return new bN(this.b)},zkt.Mc=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),iV(this.b,e))},zkt.gc=function(){return this.b.c},_R(d_t,"AbstractNavigableMap/EntrySet",739),Wht(493,b_t,v_t,cd),zkt.Nc=function(){return new FE(this)},zkt.$b=function(){Om(this.a)},zkt.Hc=function(t){return GN(this.a,t)},zkt.Kc=function(){return new ud(new bN(new YL(this.a).b))},zkt.Mc=function(t){return!!GN(this.a,t)&&(hZ(this.a,t),!0)},zkt.gc=function(){return this.a.c},_R(d_t,"AbstractNavigableMap/NavigableKeySet",493),Wht(494,1,f_t,ud),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return IE(this.a.a)},zkt.Pb=function(){return mO(this.a).cd()},zkt.Qb=function(){lP(this.a)},_R(d_t,"AbstractNavigableMap/NavigableKeySet/1",494),Wht(2004,28,p_t),zkt.Fc=function(t){return QX(vst(this,t)),!0},zkt.Gc=function(t){return yz(t),kB(t!=this,"Can't add a queue to itself"),M2(this,t)},zkt.$b=function(){for(;null!=VQ(this););},_R(d_t,"AbstractQueue",2004),Wht(302,28,{4:1,20:1,28:1,14:1},nw,PU),zkt.Fc=function(t){return MG(this,t),!0},zkt.$b=function(){iK(this)},zkt.Hc=function(t){return E4(new Wz(this),t)},zkt.dc=function(){return rv(this)},zkt.Kc=function(){return new Wz(this)},zkt.Mc=function(t){return function(t,e){return!!E4(t,e)&&(o0(t),!0)}(new Wz(this),t)},zkt.gc=function(){return this.c-this.b&this.a.length-1},zkt.Nc=function(){return new NU(this,272)},zkt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.length<e&&(t=Hv(new Array(e),t)),J0(this,t,e),t.length>e&&BR(t,e,null),t},zkt.b=0,zkt.c=0,_R(d_t,"ArrayDeque",302),Wht(446,1,f_t,Wz),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.a!=this.b},zkt.Pb=function(){return g7(this)},zkt.Qb=function(){o0(this)},zkt.a=0,zkt.b=0,zkt.c=-1,_R(d_t,"ArrayDeque/IteratorImpl",446),Wht(12,52,fTt,iw,wX,uP),zkt.Vc=function(t,e){JF(this,t,e)},zkt.Fc=function(t){return nB(this,t)},zkt.Wc=function(t,e){return q6(this,t,e)},zkt.Gc=function(t){return C4(this,t)},zkt.$b=function(){this.c=WX(G$t,r_t,1,0,5,1)},zkt.Hc=function(t){return-1!=lQ(this,t,0)},zkt.Jc=function(t){KJ(this,t)},zkt.Xb=function(t){return EF(this,t)},zkt.Xc=function(t){return lQ(this,t,0)},zkt.dc=function(){return 0==this.c.length},zkt.Kc=function(){return new wd(this)},zkt.$c=function(t){return $W(this,t)},zkt.Mc=function(t){return sQ(this,t)},zkt.Ud=function(t,e){LU(this,t,e)},zkt._c=function(t,e){return XK(this,t,e)},zkt.gc=function(){return this.c.length},zkt.ad=function(t){QM(this,t)},zkt.Pc=function(){return gO(this)},zkt.Qc=function(t){return Het(this,t)};var TRt,CRt,SRt,ARt,MRt,IRt,LRt,ORt,DRt,NRt=_R(d_t,"ArrayList",12);Wht(7,1,f_t,wd),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return JM(this)},zkt.Pb=function(){return qU(this)},zkt.Qb=function(){Uj(this)},zkt.a=0,zkt.b=-1,_R(d_t,"ArrayList/1",7),Wht(2013,n.Function,{},E),zkt.te=function(t,e){return O8(t,e)},Wht(154,52,dTt,ov),zkt.Hc=function(t){return-1!=w0(this,t)},zkt.Jc=function(t){var e,n,i,r;for(yz(t),i=0,r=(n=this.a).length;i<r;++i)e=n[i],t.td(e)},zkt.Xb=function(t){return TF(this,t)},zkt._c=function(t,e){var n;return OU(t,this.a.length),n=this.a[t],BR(this.a,t,e),n},zkt.gc=function(){return this.a.length},zkt.ad=function(t){QF(this.a,this.a.length,t)},zkt.Pc=function(){return Zet(this,WX(G$t,r_t,1,this.a.length,5,1))},zkt.Qc=function(t){return Zet(this,t)},_R(d_t,"Arrays/ArrayList",154),Wht(940,52,dTt,C),zkt.Hc=function(t){return!1},zkt.Xb=function(t){return MA(t)},zkt.Kc=function(){return Gq(),u_(),ARt},zkt.Yc=function(){return Gq(),u_(),ARt},zkt.gc=function(){return 0},_R(d_t,"Collections/EmptyList",940),Wht(941,1,x_t,S),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){throw lw(new Pw)},zkt.Ob=function(){return!1},zkt.Sb=function(){return!1},zkt.Pb=function(){throw lw(new $w)},zkt.Tb=function(){return 0},zkt.Ub=function(){throw lw(new $w)},zkt.Vb=function(){return-1},zkt.Qb=function(){throw lw(new Dw)},zkt.Wb=function(t){throw lw(new Dw)},_R(d_t,"Collections/EmptyListIterator",941),Wht(943,1967,$_t,A),zkt._b=function(t){return!1},zkt.uc=function(t){return!1},zkt.vc=function(){return Gq(),SRt},zkt.xc=function(t){return null},zkt.ec=function(){return Gq(),SRt},zkt.gc=function(){return 0},zkt.Cc=function(){return Gq(),TRt},_R(d_t,"Collections/EmptyMap",943),Wht(942,b_t,R_t,T),zkt.Hc=function(t){return!1},zkt.Kc=function(){return Gq(),u_(),ARt},zkt.gc=function(){return 0},_R(d_t,"Collections/EmptySet",942),Wht(599,52,{3:1,20:1,28:1,52:1,14:1,15:1},dd),zkt.Hc=function(t){return Hz(this.a,t)},zkt.Xb=function(t){return OU(t,1),this.a},zkt.gc=function(){return 1},_R(d_t,"Collections/SingletonList",599),Wht(372,1,N_t,hd),zkt.Jc=function(t){GK(this,t)},zkt.Lc=function(){return new CF(null,this.Nc())},zkt.Nc=function(){return new NU(this,0)},zkt.Oc=function(){return new CF(null,this.Nc())},zkt.Fc=function(t){return qx()},zkt.Gc=function(t){return Hx()},zkt.$b=function(){Zx()},zkt.Hc=function(t){return h_(this,t)},zkt.Ic=function(t){return f_(this,t)},zkt.dc=function(){return this.b.dc()},zkt.Kc=function(){return new fd(this.b.Kc())},zkt.Mc=function(t){return Ux()},zkt.gc=function(){return this.b.gc()},zkt.Pc=function(){return this.b.Pc()},zkt.Qc=function(t){return d_(this,t)},zkt.Ib=function(){return A9(this.b)},_R(d_t,"Collections/UnmodifiableCollection",372),Wht(371,1,f_t,fd),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.b.Ob()},zkt.Pb=function(){return this.b.Pb()},zkt.Qb=function(){Yx()},_R(d_t,"Collections/UnmodifiableCollectionIterator",371),Wht(531,372,gTt,SL),zkt.Nc=function(){return new NU(this,16)},zkt.Vc=function(t,e){throw lw(new Pw)},zkt.Wc=function(t,e){throw lw(new Pw)},zkt.Fb=function(t){return X7(this.a,t)},zkt.Xb=function(t){return this.a.Xb(t)},zkt.Hb=function(){return K5(this.a)},zkt.Xc=function(t){return this.a.Xc(t)},zkt.dc=function(){return this.a.dc()},zkt.Yc=function(){return new AL(this.a.Zc(0))},zkt.Zc=function(t){return new AL(this.a.Zc(t))},zkt.$c=function(t){throw lw(new Pw)},zkt._c=function(t,e){throw lw(new Pw)},zkt.ad=function(t){throw lw(new Pw)},zkt.bd=function(t,e){return new SL(this.a.bd(t,e))},_R(d_t,"Collections/UnmodifiableList",531),Wht(690,371,x_t,AL),zkt.Qb=function(){Yx()},zkt.Rb=function(t){throw lw(new Pw)},zkt.Sb=function(){return this.a.Sb()},zkt.Tb=function(){return this.a.Tb()},zkt.Ub=function(){return this.a.Ub()},zkt.Vb=function(){return this.a.Vb()},zkt.Wb=function(t){throw lw(new Pw)},_R(d_t,"Collections/UnmodifiableListIterator",690),Wht(600,1,g_t,bd),zkt.wc=function(t){C3(this,t)},zkt.yc=function(t,e,n){return V8(this,t,e,n)},zkt.$b=function(){throw lw(new Pw)},zkt._b=function(t){return this.c._b(t)},zkt.uc=function(t){return p_(this,t)},zkt.vc=function(){return Rz(this)},zkt.Fb=function(t){return w_(this,t)},zkt.xc=function(t){return this.c.xc(t)},zkt.Hb=function(){return K5(this.c)},zkt.dc=function(){return this.c.dc()},zkt.ec=function(){return zz(this)},zkt.zc=function(t,e){throw lw(new Pw)},zkt.Bc=function(t){throw lw(new Pw)},zkt.gc=function(){return this.c.gc()},zkt.Ib=function(){return A9(this.c)},zkt.Cc=function(){return jz(this)},_R(d_t,"Collections/UnmodifiableMap",600),Wht(382,372,j_t,Nv),zkt.Nc=function(){return new NU(this,1)},zkt.Fb=function(t){return X7(this.b,t)},zkt.Hb=function(){return K5(this.b)},_R(d_t,"Collections/UnmodifiableSet",382),Wht(944,382,j_t,Bv),zkt.Hc=function(t){return g_(this,t)},zkt.Ic=function(t){return this.b.Ic(t)},zkt.Kc=function(){return new gd(this.b.Kc())},zkt.Pc=function(){var t;return wK(t=this.b.Pc(),t.length),t},zkt.Qc=function(t){return NH(this,t)},_R(d_t,"Collections/UnmodifiableMap/UnmodifiableEntrySet",944),Wht(945,1,f_t,gd),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return new pd(VP(this.a.Pb(),42))},zkt.Ob=function(){return this.a.Ob()},zkt.Qb=function(){throw lw(new Pw)},_R(d_t,"Collections/UnmodifiableMap/UnmodifiableEntrySet/1",945),Wht(688,1,hTt,pd),zkt.Fb=function(t){return this.a.Fb(t)},zkt.cd=function(){return this.a.cd()},zkt.dd=function(){return this.a.dd()},zkt.Hb=function(){return this.a.Hb()},zkt.ed=function(t){throw lw(new Pw)},zkt.Ib=function(){return A9(this.a)},_R(d_t,"Collections/UnmodifiableMap/UnmodifiableEntrySet/UnmodifiableEntry",688),Wht(601,531,{20:1,14:1,15:1,54:1},Pv),_R(d_t,"Collections/UnmodifiableRandomAccessList",601),Wht(689,382,z_t,ML),zkt.Nc=function(){return new FE(this)},zkt.Fb=function(t){return X7(this.a,t)},zkt.Hb=function(){return K5(this.a)},_R(d_t,"Collections/UnmodifiableSortedSet",689),Wht(847,1,pTt,B),zkt.ue=function(t,e){var n;return 0!=(n=yK(VP(t,11),VP(e,11)))?n:Lwt(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(d_t,"Comparator/lambda$0$Type",847),Wht(751,1,pTt,F),zkt.ue=function(t,e){return function(t,e){return yz(t),s3(t,(yz(e),e))}(VP(t,35),VP(e,35))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return Kq(),LRt},_R(d_t,"Comparators/NaturalOrderComparator",751),Wht(1177,1,pTt,$),zkt.ue=function(t,e){return function(t,e){return yz(e),s3(e,(yz(t),t))}(VP(t,35),VP(e,35))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return Kq(),IRt},_R(d_t,"Comparators/ReverseNaturalOrderComparator",1177),Wht(64,1,pTt,_d),zkt.Fb=function(t){return this===t},zkt.ue=function(t,e){return this.a.ue(e,t)},zkt.ve=function(){return this.a},_R(d_t,"Comparators/ReversedComparator",64),Wht(166,60,iEt,Bw),_R(d_t,"ConcurrentModificationException",166),Wht(1904,1,bTt,j),zkt.we=function(t){Ttt(this,t)},zkt.Ib=function(){return"DoubleSummaryStatistics[count = "+q$(this.a)+", avg = "+(OE(this.a,0)?zW(this)/WY(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+zW(this)+"]"},zkt.a=0,zkt.b=tTt,zkt.c=JEt,zkt.d=0,zkt.e=0,zkt.f=0,_R(d_t,"DoubleSummaryStatistics",1904),Wht(1805,60,iEt,Fw),_R(d_t,"EmptyStackException",1805),Wht(451,1967,g_t,M9),zkt.zc=function(t,e){return WD(this,t,e)},zkt.$b=function(){xz(this)},zkt._b=function(t){return LE(this,t)},zkt.uc=function(t){var e,n;for(n=new E_(this.a);n.a<n.c.a.length;)if(e=nK(n),Hz(t,this.b[e.g]))return!0;return!1},zkt.vc=function(){return new Ed(this)},zkt.xc=function(t){return Zz(this,t)},zkt.Bc=function(t){return rU(this,t)},zkt.gc=function(){return this.a.c},_R(d_t,"EnumMap",451),Wht(1352,b_t,w_t,Ed),zkt.$b=function(){xz(this.a)},zkt.Hc=function(t){return YY(this,t)},zkt.Kc=function(){return new vF(this.a)},zkt.Mc=function(t){var e;return!!YY(this,t)&&(e=VP(t,42).cd(),rU(this.a,e),!0)},zkt.gc=function(){return this.a.a.c},_R(d_t,"EnumMap/EntrySet",1352),Wht(1353,1,f_t,vF),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return this.b=nK(this.a),new YE(this.c,this.b)},zkt.Ob=function(){return tI(this.a)},zkt.Qb=function(){TO(!!this.b),rU(this.c,this.b),this.b=null},_R(d_t,"EnumMap/EntrySetIterator",1353),Wht(1354,1984,hTt,YE),zkt.cd=function(){return this.a},zkt.dd=function(){return this.b.b[this.a.g]},zkt.ed=function(t){return $j(this.b,this.a.g,t)},_R(d_t,"EnumMap/MapEntry",1354),Wht(174,b_t,{20:1,28:1,14:1,174:1,21:1});var PRt=_R(d_t,"EnumSet",174);Wht(156,174,{20:1,28:1,14:1,174:1,156:1,21:1},aP),zkt.Fc=function(t){return t2(this,VP(t,22))},zkt.Hc=function(t){return r$(this,t)},zkt.Kc=function(){return new E_(this)},zkt.Mc=function(t){return a$(this,t)},zkt.gc=function(){return this.c},zkt.c=0,_R(d_t,"EnumSet/EnumSetImpl",156),Wht(343,1,f_t,E_),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return nK(this)},zkt.Ob=function(){return tI(this)},zkt.Qb=function(){TO(-1!=this.b),BR(this.c.b,this.b,null),--this.c.c,this.b=-1},zkt.a=-1,zkt.b=-1,_R(d_t,"EnumSet/EnumSetImpl/IteratorImpl",343),Wht(43,488,wTt,rw,x_,AA),zkt.re=function(t,e){return iA(t)===iA(e)||null!=t&&X7(t,e)},zkt.se=function(t){return 0|K5(t)},_R(d_t,"HashMap",43),Wht(53,b_t,yTt,Xw,Gx,xF),zkt.Fc=function(t){return jj(this,t)},zkt.$b=function(){this.a.$b()},zkt.Hc=function(t){return b_(this,t)},zkt.dc=function(){return 0==this.a.gc()},zkt.Kc=function(){return this.a.ec().Kc()},zkt.Mc=function(t){return CI(this,t)},zkt.gc=function(){return this.a.gc()};var BRt,FRt=_R(d_t,"HashSet",53);Wht(1781,1,I_t,R),zkt.ud=function(t){M3(this,t)},zkt.Ib=function(){return"IntSummaryStatistics[count = "+q$(this.a)+", avg = "+(OE(this.a,0)?WY(this.d)/WY(this.a):0)+", min = "+this.c+", max = "+this.b+", sum = "+q$(this.d)+"]"},zkt.a=0,zkt.b=eEt,zkt.c=Qkt,zkt.d=0,_R(d_t,"IntSummaryStatistics",1781),Wht(1049,1,D_t,iM),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new JY(this)},zkt.c=0,_R(d_t,"InternalHashCodeMap",1049),Wht(711,1,f_t,JY),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return this.d=this.a[this.c++],this.d},zkt.Ob=function(){var t;return this.c<this.a.length||!(t=this.b.next()).done&&(this.a=t.value[1],this.c=0,!0)},zkt.Qb=function(){Vht(this.e,this.d.cd()),0!=this.c&&--this.c},zkt.c=0,zkt.d=null,_R(d_t,"InternalHashCodeMap/1",711),Wht(1047,1,D_t,rM),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new fK(this)},zkt.c=0,zkt.d=0,_R(d_t,"InternalStringMap",1047),Wht(710,1,f_t,fK),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return this.c=this.a,this.a=this.b.next(),new oP(this.d,this.c,this.d.d)},zkt.Ob=function(){return!this.a.done},zkt.Qb=function(){u4(this.d,this.c.value[0])},_R(d_t,"InternalStringMap/1",710),Wht(1048,1984,hTt,oP),zkt.cd=function(){return this.b.value[0]},zkt.dd=function(){return this.a.d!=this.c?NE(this.a,this.b.value[0]):this.b.value[1]},zkt.ed=function(t){return r9(this.a,this.b.value[0],t)},zkt.c=0,_R(d_t,"InternalStringMap/2",1048),Wht(228,43,wTt,dK,eV),zkt.$b=function(){tN(this)},zkt._b=function(t){return PE(this,t)},zkt.uc=function(t){var e;for(e=this.d.a;e!=this.d;){if(Hz(e.e,t))return!0;e=e.a}return!1},zkt.vc=function(){return new Cd(this)},zkt.xc=function(t){return YQ(this,t)},zkt.zc=function(t,e){return Uet(this,t,e)},zkt.Bc=function(t){return cQ(this,t)},zkt.gc=function(){return l_(this.e)},zkt.c=!1,_R(d_t,"LinkedHashMap",228),Wht(387,383,{484:1,383:1,387:1,42:1},SO,cB),_R(d_t,"LinkedHashMap/ChainEntry",387),Wht(701,b_t,w_t,Cd),zkt.$b=function(){tN(this.a)},zkt.Hc=function(t){return KY(this,t)},zkt.Kc=function(){return new uz(this)},zkt.Mc=function(t){var e;return!!KY(this,t)&&(e=VP(t,42).cd(),cQ(this.a,e),!0)},zkt.gc=function(){return l_(this.a.e)},_R(d_t,"LinkedHashMap/EntrySet",701),Wht(702,1,f_t,uz),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return uV(this)},zkt.Ob=function(){return this.b!=this.c.a.d},zkt.Qb=function(){TO(!!this.a),UY(this.c.a.e,this),jB(this.a),UW(this.c.a.e,this.a.d),eD(this.c.a.e,this),this.a=null},_R(d_t,"LinkedHashMap/EntrySet/EntryIterator",702),Wht(178,53,yTt,cM,ZL,kF);var $Rt=_R(d_t,"LinkedHashSet",178);Wht(68,1964,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1},T_,cP),zkt.Fc=function(t){return $B(this,t)},zkt.$b=function(){zq(this)},zkt.Zc=function(t){return tnt(this,t)},zkt.gc=function(){return this.b},zkt.b=0;var jRt,RRt,zRt,qRt,HRt,ZRt=_R(d_t,"LinkedList",68);Wht(970,1,x_t,sP),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){cR(this,t)},zkt.Ob=function(){return ik(this)},zkt.Sb=function(){return this.b.b!=this.d.a},zkt.Pb=function(){return AG(this)},zkt.Tb=function(){return this.a},zkt.Ub=function(){return TY(this)},zkt.Vb=function(){return this.a-1},zkt.Qb=function(){zJ(this)},zkt.Wb=function(t){TO(!!this.c),this.c.c=t},zkt.a=0,zkt.c=null,_R(d_t,"LinkedList/ListIteratorImpl",970),Wht(608,1,{},O),_R(d_t,"LinkedList/Node",608),Wht(1959,1,{}),_R(d_t,"Locale",1959),Wht(861,1959,{},D),zkt.Ib=function(){return""},_R(d_t,"Locale/1",861),Wht(862,1959,{},N),zkt.Ib=function(){return"unknown"},_R(d_t,"Locale/4",862),Wht(109,60,{3:1,102:1,60:1,78:1,109:1},$w,Kz),_R(d_t,"NoSuchElementException",109),Wht(404,1,{404:1},Lm),zkt.Fb=function(t){var e;return t===this||!!MI(t,404)&&(e=VP(t,404),Hz(this.a,e.a))},zkt.Hb=function(){return NM(this.a)},zkt.Ib=function(){return null!=this.a?o_t+PL(this.a)+")":"Optional.empty()"},_R(d_t,"Optional",404),Wht(463,1,{463:1},BA,vO),zkt.Fb=function(t){var e;return t===this||!!MI(t,463)&&(e=VP(t,463),this.a==e.a&&0==O8(this.b,e.b))},zkt.Hb=function(){return this.a?cZ(this.b):0},zkt.Ib=function(){return this.a?"OptionalDouble.of("+this.b+")":"OptionalDouble.empty()"},zkt.a=!1,zkt.b=0,_R(d_t,"OptionalDouble",463),Wht(517,1,{517:1},FA,xO),zkt.Fb=function(t){var e;return t===this||!!MI(t,517)&&(e=VP(t,517),this.a==e.a&&0==nI(this.b,e.b))},zkt.Hb=function(){return this.a?this.b:0},zkt.Ib=function(){return this.a?"OptionalInt.of("+this.b+")":"OptionalInt.empty()"},zkt.a=!1,zkt.b=0,_R(d_t,"OptionalInt",517),Wht(503,2004,p_t,lj),zkt.Gc=function(t){return Krt(this,t)},zkt.$b=function(){this.b.c=WX(G$t,r_t,1,0,5,1)},zkt.Hc=function(t){return-1!=(null==t?-1:lQ(this.b,t,0))},zkt.Kc=function(){return new yd(this)},zkt.Mc=function(t){return e2(this,t)},zkt.gc=function(){return this.b.c.length},zkt.Nc=function(){return new NU(this,256)},zkt.Pc=function(){return gO(this.b)},zkt.Qc=function(t){return Het(this.b,t)},_R(d_t,"PriorityQueue",503),Wht(1277,1,f_t,yd),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return this.a<this.c.b.c.length},zkt.Pb=function(){return CO(this.a<this.c.b.c.length),this.b=this.a++,EF(this.c.b,this.b)},zkt.Qb=function(){TO(-1!=this.b),n2(this.c,this.a=this.b),this.b=-1},zkt.a=0,zkt.b=-1,_R(d_t,"PriorityQueue/1",1277),Wht(230,1,{230:1},a9,kK),zkt.a=0,zkt.b=0;var URt,YRt,GRt,KRt=0;_R(d_t,"Random",230),Wht(27,1,S_t,NU,tR,sq),zkt.qd=function(){return this.a},zkt.rd=function(){return nj(this),this.c},zkt.Nb=function(t){nj(this),this.d.Nb(t)},zkt.sd=function(t){return CJ(this,t)},zkt.a=0,zkt.c=0,_R(d_t,"Spliterators/IteratorSpliterator",27),Wht(485,27,S_t,FE),_R(d_t,"SortedSet/1",485),Wht(602,1,bTt,md),zkt.we=function(t){this.a.td(t)},_R(d_t,"Spliterator/OfDouble/0methodref$accept$Type",602),Wht(603,1,bTt,vd),zkt.we=function(t){this.a.td(t)},_R(d_t,"Spliterator/OfDouble/1methodref$accept$Type",603),Wht(604,1,I_t,xd),zkt.ud=function(t){this.a.td(p8(t))},_R(d_t,"Spliterator/OfInt/2methodref$accept$Type",604),Wht(605,1,I_t,kd),zkt.ud=function(t){this.a.td(p8(t))},_R(d_t,"Spliterator/OfInt/3methodref$accept$Type",605),Wht(617,1,S_t),zkt.Nb=function(t){Vx(this,t)},zkt.qd=function(){return this.d},zkt.rd=function(){return this.e},zkt.d=0,zkt.e=0,_R(d_t,"Spliterators/BaseSpliterator",617),Wht(721,617,S_t),zkt.xe=function(t){Xx(this,t)},zkt.Nb=function(t){MI(t,182)?Xx(this,VP(t,182)):Xx(this,new vd(t))},zkt.sd=function(t){return MI(t,182)?this.ye(VP(t,182)):this.ye(new md(t))},_R(d_t,"Spliterators/AbstractDoubleSpliterator",721),Wht(720,617,S_t),zkt.xe=function(t){Xx(this,t)},zkt.Nb=function(t){MI(t,196)?Xx(this,VP(t,196)):Xx(this,new kd(t))},zkt.sd=function(t){return MI(t,196)?this.ye(VP(t,196)):this.ye(new xd(t))},_R(d_t,"Spliterators/AbstractIntSpliterator",720),Wht(540,617,S_t),_R(d_t,"Spliterators/AbstractSpliterator",540),Wht(692,1,S_t),zkt.Nb=function(t){Vx(this,t)},zkt.qd=function(){return this.b},zkt.rd=function(){return this.d-this.c},zkt.b=0,zkt.c=0,zkt.d=0,_R(d_t,"Spliterators/BaseArraySpliterator",692),Wht(947,692,S_t,HB),zkt.ze=function(t,e){!function(t,e,n){e.td(t.a[n])}(this,VP(t,38),e)},zkt.Nb=function(t){RR(this,t)},zkt.sd=function(t){return uX(this,t)},_R(d_t,"Spliterators/ArraySpliterator",947),Wht(693,692,S_t,XN),zkt.ze=function(t,e){!function(t,e,n){e.we(t.a[n])}(this,VP(t,182),e)},zkt.xe=function(t){RR(this,t)},zkt.Nb=function(t){MI(t,182)?RR(this,VP(t,182)):RR(this,new vd(t))},zkt.ye=function(t){return uX(this,t)},zkt.sd=function(t){return MI(t,182)?uX(this,VP(t,182)):uX(this,new md(t))},_R(d_t,"Spliterators/DoubleArraySpliterator",693),Wht(1968,1,S_t),zkt.Nb=function(t){Vx(this,t)},zkt.qd=function(){return 16448},zkt.rd=function(){return 0},_R(d_t,"Spliterators/EmptySpliterator",1968),Wht(946,1968,S_t,U),zkt.xe=function(t){$h(t)},zkt.Nb=function(t){MI(t,196)?$h(VP(t,196)):$h(new kd(t))},zkt.ye=function(t){return BE(t)},zkt.sd=function(t){return MI(t,196)?BE(VP(t,196)):BE(new xd(t))},_R(d_t,"Spliterators/EmptySpliterator/OfInt",946),Wht(580,52,STt,Qw),zkt.Vc=function(t,e){ij(t,this.a.c.length+1),JF(this.a,t,e)},zkt.Fc=function(t){return nB(this.a,t)},zkt.Wc=function(t,e){return ij(t,this.a.c.length+1),q6(this.a,t,e)},zkt.Gc=function(t){return C4(this.a,t)},zkt.$b=function(){this.a.c=WX(G$t,r_t,1,0,5,1)},zkt.Hc=function(t){return-1!=lQ(this.a,t,0)},zkt.Ic=function(t){return m4(this.a,t)},zkt.Jc=function(t){KJ(this.a,t)},zkt.Xb=function(t){return ij(t,this.a.c.length),EF(this.a,t)},zkt.Xc=function(t){return lQ(this.a,t,0)},zkt.dc=function(){return 0==this.a.c.length},zkt.Kc=function(){return new wd(this.a)},zkt.$c=function(t){return ij(t,this.a.c.length),$W(this.a,t)},zkt.Ud=function(t,e){LU(this.a,t,e)},zkt._c=function(t,e){return ij(t,this.a.c.length),XK(this.a,t,e)},zkt.gc=function(){return this.a.c.length},zkt.ad=function(t){QM(this.a,t)},zkt.bd=function(t,e){return new IU(this.a,t,e)},zkt.Pc=function(){return gO(this.a)},zkt.Qc=function(t){return Het(this.a,t)},zkt.Ib=function(){return Ust(this.a)},_R(d_t,"Vector",580),Wht(809,580,STt,xy),_R(d_t,"Stack",809),Wht(206,1,{206:1},Q3),zkt.Ib=function(){return SY(this)},_R(d_t,"StringJoiner",206),Wht(544,1992,{3:1,83:1,171:1,161:1},k_,hj),zkt.$b=function(){Om(this)},zkt.vc=function(){return new YL(this)},zkt.zc=function(t,e){return C5(this,t,e)},zkt.Bc=function(t){return hZ(this,t)},zkt.gc=function(){return this.c},zkt.c=0,_R(d_t,"TreeMap",544),Wht(390,1,f_t,bN),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return mO(this)},zkt.Ob=function(){return IE(this.a)},zkt.Qb=function(){lP(this)},_R(d_t,"TreeMap/EntryIterator",390),Wht(435,739,w_t,YL),zkt.$b=function(){Om(this.a)},_R(d_t,"TreeMap/EntrySet",435),Wht(436,383,{484:1,383:1,42:1,436:1},tV),zkt.b=!1;var WRt,XRt,VRt,QRt,JRt=_R(d_t,"TreeMap/Node",436);Wht(621,1,{},H),zkt.Ib=function(){return"State: mv="+this.c+" value="+this.d+" done="+this.a+" found="+this.b},zkt.a=!1,zkt.b=!1,zkt.c=!1,_R(d_t,"TreeMap/State",621),Wht(297,22,ATt,jE),zkt.Ae=function(){return!1},zkt.Be=function(){return!1};var tzt,ezt=G1(d_t,"TreeMap/SubMapType",297,cjt,(function(){return qV(),P4(Zv(ezt,1),K_t,297,0,[WRt,XRt,VRt,QRt])}),(function(t){return qV(),rJ((HV(),tzt),t)}));Wht(1112,297,ATt,MM),zkt.Be=function(){return!0},G1(d_t,"TreeMap/SubMapType/1",1112,ezt,null,null),Wht(1113,297,ATt,lI),zkt.Ae=function(){return!0},zkt.Be=function(){return!0},G1(d_t,"TreeMap/SubMapType/2",1113,ezt,null,null),Wht(1114,297,ATt,IM),zkt.Ae=function(){return!0},G1(d_t,"TreeMap/SubMapType/3",1114,ezt,null,null),Wht(208,b_t,{3:1,20:1,28:1,14:1,271:1,21:1,84:1,208:1},ry,Wx),zkt.Nc=function(){return new FE(this)},zkt.Fc=function(t){return sR(this,t)},zkt.$b=function(){Om(this.a)},zkt.Hc=function(t){return GN(this.a,t)},zkt.Kc=function(){return new ud(new bN(new YL(new cd(this.a).a).b))},zkt.Mc=function(t){return FL(this,t)},zkt.gc=function(){return this.a.c};var nzt=_R(d_t,"TreeSet",208);Wht(966,1,{},Sd),zkt.Ce=function(t,e){return function(t,e,n){return t.ue(e,n)<=0?n:e}(this.a,t,e)},_R(MTt,"BinaryOperator/lambda$0$Type",966),Wht(967,1,{},Ad),zkt.Ce=function(t,e){return function(t,e,n){return t.ue(e,n)<=0?e:n}(this.a,t,e)},_R(MTt,"BinaryOperator/lambda$1$Type",967),Wht(846,1,{},Z),zkt.Kb=function(t){return t},_R(MTt,"Function/lambda$0$Type",846),Wht(431,1,Q_t,Md),zkt.Mb=function(t){return!this.a.Mb(t)},_R(MTt,"Predicate/lambda$2$Type",431),Wht(572,1,{572:1});var izt,rzt,azt=_R(ITt,"Handler",572);Wht(2007,1,t_t),zkt.ne=function(){return"DUMMY"},zkt.Ib=function(){return this.ne()},_R(ITt,"Level",2007),Wht(1621,2007,t_t,Y),zkt.ne=function(){return"INFO"},_R(ITt,"Level/LevelInfo",1621),Wht(1640,1,{},Vw),_R(ITt,"LogManager",1640),Wht(1780,1,t_t,hP),zkt.b=null,_R(ITt,"LogRecord",1780),Wht(512,1,{512:1},oW),zkt.e=!1;var ozt,szt,czt,uzt=!1,lzt=!1,hzt=!1,fzt=!1,dzt=!1;_R(ITt,"Logger",512),Wht(819,572,{572:1},G),_R(ITt,"SimpleConsoleLogHandler",819),Wht(132,22,{3:1,35:1,22:1,132:1},RE);var gzt,pzt=G1(DTt,"Collector/Characteristics",132,cjt,(function(){return M6(),P4(Zv(pzt,1),K_t,132,0,[ozt,szt,czt])}),(function(t){return M6(),rJ((xX(),gzt),t)}));Wht(744,1,{},Fj),_R(DTt,"CollectorImpl",744),Wht(1060,1,{},K),zkt.Ce=function(t,e){return function(t,e){var n;return e.a&&(n=e.a.a.length,t.a?vA(t.a,t.b):t.a=new CL(t.d),_Y(t.a,e.a,e.d.length,n)),t}(VP(t,206),VP(e,206))},_R(DTt,"Collectors/10methodref$merge$Type",1060),Wht(1061,1,{},W),zkt.Kb=function(t){return SY(VP(t,206))},_R(DTt,"Collectors/11methodref$toString$Type",1061),Wht(1062,1,{},Id),zkt.Kb=function(t){return EL(),!!OA(t)},_R(DTt,"Collectors/12methodref$test$Type",1062),Wht(251,1,{},z),zkt.Od=function(t,e){VP(t,14).Fc(e)},_R(DTt,"Collectors/20methodref$add$Type",251),Wht(253,1,{},q),zkt.Ee=function(){return new iw},_R(DTt,"Collectors/21methodref$ctor$Type",253),Wht(346,1,{},X),zkt.Ee=function(){return new Xw},_R(DTt,"Collectors/23methodref$ctor$Type",346),Wht(347,1,{},V),zkt.Od=function(t,e){jj(VP(t,53),e)},_R(DTt,"Collectors/24methodref$add$Type",347),Wht(1055,1,{},Q),zkt.Ce=function(t,e){return S_(VP(t,15),VP(e,14))},_R(DTt,"Collectors/4methodref$addAll$Type",1055),Wht(1059,1,{},J),zkt.Od=function(t,e){qW(VP(t,206),VP(e,475))},_R(DTt,"Collectors/9methodref$add$Type",1059),Wht(1058,1,{},aB),zkt.Ee=function(){return new Q3(this.a,this.b,this.c)},_R(DTt,"Collectors/lambda$15$Type",1058),Wht(1063,1,{},tt),zkt.Ee=function(){var t;return Uet(t=new dK,(EL(),!1),new iw),Uet(t,!0,new iw),t},_R(DTt,"Collectors/lambda$22$Type",1063),Wht(1064,1,{},Ld),zkt.Ee=function(){return P4(Zv(G$t,1),r_t,1,5,[this.a])},_R(DTt,"Collectors/lambda$25$Type",1064),Wht(1065,1,{},Od),zkt.Od=function(t,e){!function(t,e){BR(e,0,SF(e[0],xet(1)))}(this.a,l1(t))},_R(DTt,"Collectors/lambda$26$Type",1065),Wht(1066,1,{},Dd),zkt.Ce=function(t,e){return function(t,e,n){return BR(e,0,SF(e[0],n[0])),e}(this.a,l1(t),l1(e))},_R(DTt,"Collectors/lambda$27$Type",1066),Wht(1067,1,{},et),zkt.Kb=function(t){return l1(t)[0]},_R(DTt,"Collectors/lambda$28$Type",1067),Wht(713,1,{},nt),zkt.Ce=function(t,e){return SF(t,e)},_R(DTt,"Collectors/lambda$4$Type",713),Wht(252,1,{},it),zkt.Ce=function(t,e){return function(t,e){return t.Gc(e),t}(VP(t,14),VP(e,14))},_R(DTt,"Collectors/lambda$42$Type",252),Wht(348,1,{},rt),zkt.Ce=function(t,e){return function(t,e){return M2(t,e),t}(VP(t,53),VP(e,53))},_R(DTt,"Collectors/lambda$50$Type",348),Wht(349,1,{},at),zkt.Kb=function(t){return VP(t,53)},_R(DTt,"Collectors/lambda$51$Type",349),Wht(1054,1,{},Nd),zkt.Od=function(t,e){!function(t,e,n){var i,r;EL(),i=!!OA(n),(r=VP(e.xc(i),15))||(r=new iw,e.zc(i,r)),r.Fc(n)}(this.a,VP(t,83),e)},_R(DTt,"Collectors/lambda$7$Type",1054),Wht(1056,1,{},ot),zkt.Ce=function(t,e){return function(t,e,n){var i,r;for(r=e.vc().Kc();r.Ob();)i=VP(r.Pb(),42),t.yc(i.cd(),i.dd(),n);return t}(VP(t,83),VP(e,83),new Q)},_R(DTt,"Collectors/lambda$8$Type",1056),Wht(1057,1,{},Pd),zkt.Kb=function(t){return function(t,e){var n,i,r;for(r=new rw,i=e.vc().Kc();i.Ob();)Pz(r,(n=VP(i.Pb(),42)).cd(),F3(t,VP(n.dd(),15)));return r}(this.a,VP(t,83))},_R(DTt,"Collectors/lambda$9$Type",1057),Wht(539,1,{}),zkt.He=function(){mz(this)},zkt.d=!1,_R(DTt,"TerminatableStream",539),Wht(812,539,NTt,wD),zkt.He=function(){mz(this)},_R(DTt,"DoubleStreamImpl",812),Wht(1784,721,S_t,sB),zkt.ye=function(t){return function(t,e){var n;return t.a||(n=WX(Qce,aTt,25,0,15,1),Xx(t.b.a,new Bd(n)),n.sort(h1(E.prototype.te,E,[])),t.a=new XN(n,t.d)),uX(t.a,e)}(this,VP(t,182))},zkt.a=null,_R(DTt,"DoubleStreamImpl/2",1784),Wht(1785,1,bTt,Bd),zkt.we=function(t){!function(t,e){t[t.length]=e}(this.a,t)},_R(DTt,"DoubleStreamImpl/2/lambda$0$Type",1785),Wht(1782,1,bTt,Fd),zkt.we=function(t){!function(t,e){t[t.length]=e}(this.a,t)},_R(DTt,"DoubleStreamImpl/lambda$0$Type",1782),Wht(1783,1,bTt,$d),zkt.we=function(t){Ttt(this.a,t)},_R(DTt,"DoubleStreamImpl/lambda$2$Type",1783),Wht(1358,720,S_t,aW),zkt.ye=function(t){return function(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}(this,VP(t,196))},zkt.a=0,zkt.b=0,zkt.c=0,_R(DTt,"IntStream/5",1358),Wht(787,539,NTt,yD),zkt.He=function(){mz(this)},zkt.Ie=function(){return vz(this),this.a},_R(DTt,"IntStreamImpl",787),Wht(788,539,NTt,__),zkt.He=function(){mz(this)},zkt.Ie=function(){return vz(this),ZI(),GRt},_R(DTt,"IntStreamImpl/Empty",788),Wht(1463,1,I_t,jd),zkt.ud=function(t){M3(this.a,t)},_R(DTt,"IntStreamImpl/lambda$4$Type",1463);var bzt,wzt=oF(DTt,"Stream");Wht(30,539,{525:1,670:1,833:1},CF),zkt.He=function(){mz(this)},_R(DTt,"StreamImpl",30),Wht(845,1,{},st),zkt.ld=function(t){return wB(t)},_R(DTt,"StreamImpl/0methodref$lambda$2$Type",845),Wht(1084,540,S_t,WN),zkt.sd=function(t){for(;CV(this);){if(this.a.sd(t))return!0;mz(this.b),this.b=null,this.a=null}return!1},_R(DTt,"StreamImpl/1",1084),Wht(1085,1,A_t,Rd),zkt.td=function(t){!function(t,e){e&&(t.b=e,t.a=(vz(e),e.a))}(this.a,VP(t,833))},_R(DTt,"StreamImpl/1/lambda$0$Type",1085),Wht(1086,1,Q_t,zd),zkt.Mb=function(t){return jj(this.a,t)},_R(DTt,"StreamImpl/1methodref$add$Type",1086),Wht(1087,540,S_t,jq),zkt.sd=function(t){var e;return this.a||(e=new iw,this.b.a.Nb(new qd(e)),Gq(),QM(e,this.c),this.a=new NU(e,16)),CJ(this.a,t)},zkt.a=null,_R(DTt,"StreamImpl/5",1087),Wht(1088,1,A_t,qd),zkt.td=function(t){nB(this.a,t)},_R(DTt,"StreamImpl/5/2methodref$add$Type",1088),Wht(722,540,S_t,jV),zkt.sd=function(t){for(this.b=!1;!this.b&&this.c.sd(new WE(this,t)););return this.b},zkt.b=!1,_R(DTt,"StreamImpl/FilterSpliterator",722),Wht(1079,1,A_t,WE),zkt.td=function(t){!function(t,e,n){t.a.Mb(n)&&(t.b=!0,e.td(n))}(this.a,this.b,t)},_R(DTt,"StreamImpl/FilterSpliterator/lambda$0$Type",1079),Wht(1075,721,S_t,XW),zkt.ye=function(t){return function(t,e){return t.b.sd(new XE(t,e))}(this,VP(t,182))},_R(DTt,"StreamImpl/MapToDoubleSpliterator",1075),Wht(1078,1,A_t,XE),zkt.td=function(t){!function(t,e,n){e.we(t.a.Fe(n))}(this.a,this.b,t)},_R(DTt,"StreamImpl/MapToDoubleSpliterator/lambda$0$Type",1078),Wht(1074,720,S_t,VW),zkt.ye=function(t){return function(t,e){return t.b.sd(new VE(t,e))}(this,VP(t,196))},_R(DTt,"StreamImpl/MapToIntSpliterator",1074),Wht(1077,1,A_t,VE),zkt.td=function(t){!function(t,e,n){e.ud(t.a.Ge(n))}(this.a,this.b,t)},_R(DTt,"StreamImpl/MapToIntSpliterator/lambda$0$Type",1077),Wht(719,540,S_t,QW),zkt.sd=function(t){return qN(this,t)},_R(DTt,"StreamImpl/MapToObjSpliterator",719),Wht(1076,1,A_t,QE),zkt.td=function(t){!function(t,e,n){e.td(t.a.Kb(n))}(this.a,this.b,t)},_R(DTt,"StreamImpl/MapToObjSpliterator/lambda$0$Type",1076),Wht(618,1,A_t,ct),zkt.td=function(t){Sf(this,t)},_R(DTt,"StreamImpl/ValueConsumer",618),Wht(1080,1,A_t,ut),zkt.td=function(t){q_()},_R(DTt,"StreamImpl/lambda$0$Type",1080),Wht(1081,1,A_t,lt),zkt.td=function(t){q_()},_R(DTt,"StreamImpl/lambda$1$Type",1081),Wht(1082,1,{},Hd),zkt.Ce=function(t,e){return function(t,e,n){return q_(),t.a.Od(e,n),e}(this.a,t,e)},_R(DTt,"StreamImpl/lambda$4$Type",1082),Wht(1083,1,A_t,GE),zkt.td=function(t){!function(t,e,n){q_(),Sf(t,e.Ce(t.a,n))}(this.b,this.a,t)},_R(DTt,"StreamImpl/lambda$5$Type",1083),Wht(1089,1,A_t,Zd),zkt.td=function(t){!function(t,e){var n;try{e.Vd()}catch(e){if(!MI(e=k4(e),78))throw lw(e);n=e,t.c[t.c.length]=n}}(this.a,VP(t,365))},_R(DTt,"TerminatableStream/lambda$0$Type",1089),Wht(2041,1,{}),Wht(1914,1,{},ht),_R("javaemul.internal","ConsoleLogger",1914),Wht(2038,1,{});var yzt,mzt,vzt=0,xzt=0;Wht(1768,1,A_t,ft),zkt.td=function(t){VP(t,308)},_R(RTt,"BowyerWatsonTriangulation/lambda$0$Type",1768),Wht(1769,1,A_t,Ud),zkt.td=function(t){M2(this.a,VP(t,308).e)},_R(RTt,"BowyerWatsonTriangulation/lambda$1$Type",1769),Wht(1770,1,A_t,dt),zkt.td=function(t){VP(t,168)},_R(RTt,"BowyerWatsonTriangulation/lambda$2$Type",1770),Wht(1765,1,zTt,Yd),zkt.ue=function(t,e){return function(t,e,n){return K$(hD(nA(BH(t.f,e))),hD(nA(BH(t.f,n))))}(this.a,VP(t,168),VP(e,168))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(RTt,"NaiveMinST/lambda$0$Type",1765),Wht(499,1,{},Gd),_R(RTt,"NodeMicroLayout",499),Wht(168,1,{168:1},JE),zkt.Fb=function(t){var e;return!!MI(t,168)&&(e=VP(t,168),Hz(this.a,e.a)&&Hz(this.b,e.b)||Hz(this.a,e.b)&&Hz(this.b,e.a))},zkt.Hb=function(){return NM(this.a)+NM(this.b)};var kzt=_R(RTt,"TEdge",168);Wht(308,1,{308:1},yyt),zkt.Fb=function(t){var e;return!!MI(t,308)&&EQ(this,(e=VP(t,308)).a)&&EQ(this,e.b)&&EQ(this,e.c)},zkt.Hb=function(){return NM(this.a)+NM(this.b)+NM(this.c)},_R(RTt,"TTriangle",308),Wht(221,1,{221:1},sI),_R(RTt,"Tree",221),Wht(1254,1,{},tU),_R(qTt,"Scanline",1254);var _zt=oF(qTt,HTt);Wht(1692,1,{},BJ),_R(ZTt,"CGraph",1692),Wht(307,1,{307:1},NZ),zkt.b=0,zkt.c=0,zkt.d=0,zkt.g=0,zkt.i=0,zkt.k=tTt,_R(ZTt,"CGroup",307),Wht(815,1,{},oy),_R(ZTt,"CGroup/CGroupBuilder",815),Wht(57,1,{57:1},oN),zkt.Ib=function(){return this.j?fD(this.j.Kb(this)):(uD(Azt),Azt.o+"@"+(jL(this)>>>0).toString(16))},zkt.f=0,zkt.i=tTt;var Ezt,Tzt,Czt,Szt,Azt=_R(ZTt,"CNode",57);Wht(814,1,{},sy),_R(ZTt,"CNode/CNodeBuilder",814),Wht(1525,1,{},gt),zkt.Oe=function(t,e){return 0},zkt.Pe=function(t,e){return 0},_R(ZTt,YTt,1525),Wht(1790,1,{},pt),zkt.Le=function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=JEt,r=new wd(t.a.b);r.a<r.c.c.length;)e=VP(qU(r),57),l=n.Math.min(l,e.a.j.d.c+e.b.a);for(g=new T_,s=new wd(t.a.a);s.a<s.c.c.length;)(o=VP(qU(s),307)).k=l,0==o.g&&WK(g,o,g.c.b,g.c);for(;0!=g.b;){for(a=(o=VP(0==g.b?null:(CO(0!=g.b),WJ(g,g.a.a)),307)).j.d.c,d=o.a.a.ec().Kc();d.Ob();)h=VP(d.Pb(),57),b=o.k+h.b.a,!w7(t,o,t.d)||h.d.c<b?h.i=b:h.i=h.d.c;for(a-=o.j.i,o.b+=a,t.d==(e8(),ene)||t.d==Jee?o.c+=a:o.c-=a,f=o.a.a.ec().Kc();f.Ob();)for(u=(h=VP(f.Pb(),57)).c.Kc();u.Ob();)c=VP(u.Pb(),57),p=fM(t.d)?t.g.Oe(h,c):t.g.Pe(h,c),c.a.k=n.Math.max(c.a.k,h.i+h.d.b+p-c.b.a),dH(t,c,t.d)&&(c.a.k=n.Math.max(c.a.k,c.d.c-c.b.a)),--c.a.g,0==c.a.g&&$B(g,c.a)}for(i=new wd(t.a.b);i.a<i.c.c.length;)(e=VP(qU(i),57)).d.c=e.i},_R(ZTt,"LongestPathCompaction",1790),Wht(1690,1,{},pht),zkt.e=!1;var Mzt,Izt,Lzt=_R(ZTt,VTt,1690);Wht(1691,1,A_t,Kd),zkt.td=function(t){!function(t,e){t.d==(e8(),tne)||t.d==ine?VP(e.a,57).c.Fc(VP(e.b,57)):VP(e.b,57).c.Fc(VP(e.a,57))}(this.a,VP(t,46))},_R(ZTt,QTt,1691),Wht(1791,1,{},bt),zkt.Me=function(t){var e,n,i,r,a,o;for(e=new wd(t.a.b);e.a<e.c.c.length;)VP(qU(e),57).c.$b();for(i=new wd(t.a.b);i.a<i.c.c.length;)for(n=VP(qU(i),57),a=new wd(t.a.b);a.a<a.c.c.length;)n!=(r=VP(qU(a),57))&&(n.a&&n.a==r.a||(o=fM(t.d)?t.g.Pe(n,r):t.g.Oe(n,r),(r.d.c>n.d.c||n.d.c==r.d.c&&n.d.b<r.d.b)&&Utt(r.d.d+r.d.a+o,n.d.d)&&Ytt(r.d.d,n.d.d+n.d.a+o)&&n.c.Fc(r)))},_R(ZTt,"QuadraticConstraintCalculation",1791),Wht(522,1,{522:1},aw),zkt.a=!1,zkt.b=!1,zkt.c=!1,zkt.d=!1,_R(ZTt,JTt,522),Wht(803,1,{},d$),zkt.Me=function(t){this.c=t,Wut(this,new mt)},_R(ZTt,tCt,803),Wht(1718,1,{679:1},mH),zkt.Ke=function(t){Eut(this,VP(t,464))},_R(ZTt,eCt,1718),Wht(1719,1,zTt,wt),zkt.ue=function(t,e){return function(t,e){return O8(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}(VP(t,57),VP(e,57))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZTt,nCt,1719),Wht(464,1,{464:1},KE),zkt.a=!1,_R(ZTt,iCt,464),Wht(1720,1,zTt,yt),zkt.ue=function(t,e){return function(t,e){var n,i,r;if(i=t.b.d.d,t.a||(i+=t.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),0==(n=O8(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(VP(t,464),VP(e,464))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZTt,rCt,1720),Wht(1721,1,aCt,mt),zkt.Lb=function(t){return VP(t,57),!0},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return VP(t,57),!0},_R(ZTt,"ScanlineConstraintCalculator/lambda$1$Type",1721),Wht(428,22,{3:1,35:1,22:1,428:1},rT);var Ozt,Dzt,Nzt,Pzt=G1(oCt,"HighLevelSortingCriterion",428,cjt,(function(){return ent(),P4(Zv(Pzt,1),K_t,428,0,[Izt,Mzt])}),(function(t){return ent(),rJ((_K(),Ozt),t)}));Wht(427,22,{3:1,35:1,22:1,427:1},aT);var Bzt,Fzt,$zt,jzt,Rzt,zzt,qzt,Hzt,Zzt,Uzt,Yzt,Gzt,Kzt,Wzt,Xzt,Vzt,Qzt,Jzt=G1(oCt,"LowLevelSortingCriterion",427,cjt,(function(){return uJ(),P4(Zv(Jzt,1),K_t,427,0,[Dzt,Nzt])}),(function(t){return uJ(),rJ((EK(),Bzt),t)})),tqt=oF(sCt,"ILayoutMetaDataProvider");Wht(853,1,fCt,ql),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,cCt),dCt),"Polyomino Traversal Strategy"),"Traversal strategy for trying different candidate positions for polyominoes."),Hzt),(dut(),L9t)),nqt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uCt),dCt),"Polyomino Secondary Sorting Criterion"),"Possible secondary sorting criteria for the processing order of polyominoes. They are used when polyominoes are equal according to the primary sorting criterion HighLevelSortingCriterion."),zzt),L9t),Jzt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lCt),dCt),"Polyomino Primary Sorting Criterion"),"Possible primary sorting criteria for the processing order of polyominoes."),jzt),L9t),Pzt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,hCt),dCt),"Fill Polyominoes"),"Use the Profile Fill algorithm to fill polyominoes to prevent small polyominoes from being placed inside of big polyominoes with large holes. Might increase packing area."),(EL(),!0)),M9t),Fjt),Q8(T9t))))},_R(oCt,"PolyominoOptions",853),Wht(250,22,{3:1,35:1,22:1,250:1},oT);var eqt,nqt=G1(oCt,"TraversalStrategy",250,cjt,(function(){return Dpt(),P4(Zv(nqt,1),K_t,250,0,[Qzt,Gzt,Kzt,Yzt,Xzt,Vzt,Wzt,Uzt,Zzt])}),(function(t){return Dpt(),rJ((e4(),eqt),t)}));Wht(213,1,{213:1},vt),zkt.Ib=function(){return"NEdge[id="+this.b+" w="+this.g+" d="+this.a+"]"},zkt.a=1,zkt.b=0,zkt.c=0,zkt.f=!1,zkt.g=0;var iqt=_R(gCt,"NEdge",213);Wht(176,1,{},ey),_R(gCt,"NEdge/NEdgeBuilder",176),Wht(653,1,{},Jw),_R(gCt,"NGraph",653),Wht(121,1,{121:1},KW),zkt.c=-1,zkt.d=0,zkt.e=0,zkt.i=-1,zkt.j=!1;var rqt=_R(gCt,"NNode",121);Wht(795,1,gTt,ty),zkt.Jc=function(t){GK(this,t)},zkt.Lc=function(){return new CF(null,new NU(this,16))},zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.Oc=function(){return new CF(null,new NU(this,16))},zkt.Vc=function(t,e){++this.b,JF(this.a,t,e)},zkt.Fc=function(t){return KL(this,t)},zkt.Wc=function(t,e){return++this.b,q6(this.a,t,e)},zkt.Gc=function(t){return++this.b,C4(this.a,t)},zkt.$b=function(){++this.b,this.a.c=WX(G$t,r_t,1,0,5,1)},zkt.Hc=function(t){return-1!=lQ(this.a,t,0)},zkt.Ic=function(t){return m4(this.a,t)},zkt.Xb=function(t){return EF(this.a,t)},zkt.Xc=function(t){return lQ(this.a,t,0)},zkt.dc=function(){return 0==this.a.c.length},zkt.Kc=function(){return SV(new wd(this.a))},zkt.Yc=function(){throw lw(new Pw)},zkt.Zc=function(t){throw lw(new Pw)},zkt.$c=function(t){return++this.b,$W(this.a,t)},zkt.Mc=function(t){return WL(this,t)},zkt._c=function(t,e){return++this.b,XK(this.a,t,e)},zkt.gc=function(){return this.a.c.length},zkt.bd=function(t,e){return new IU(this.a,t,e)},zkt.Pc=function(){return gO(this.a)},zkt.Qc=function(t){return Het(this.a,t)},zkt.b=0,_R(gCt,"NNode/ChangeAwareArrayList",795),Wht(269,1,{},ny),_R(gCt,"NNode/NNodeBuilder",269),Wht(1630,1,{},xt),zkt.a=!1,zkt.f=Qkt,zkt.j=0,_R(gCt,"NetworkSimplex",1630),Wht(1294,1,A_t,Wd),zkt.td=function(t){hxt(this.a,VP(t,680),!0,!1)},_R(bCt,"NodeLabelAndSizeCalculator/lambda$0$Type",1294),Wht(558,1,{},Xd),zkt.b=!0,zkt.c=!0,zkt.d=!0,zkt.e=!0,_R(bCt,"NodeMarginCalculator",558),Wht(212,1,{212:1}),zkt.j=!1,zkt.k=!1;var aqt,oqt,sqt,cqt=_R(wCt,"Cell",212);Wht(124,212,{124:1,212:1},pN),zkt.Re=function(){return YB(this)},zkt.Se=function(){var t;return t=this.n,this.a.a+t.b+t.c},_R(wCt,"AtomicCell",124),Wht(232,22,{3:1,35:1,22:1,232:1},sT);var uqt,lqt=G1(wCt,"ContainerArea",232,cjt,(function(){return QJ(),P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])}),(function(t){return QJ(),rJ((yX(),uqt),t)}));Wht(326,212,mCt),_R(wCt,"ContainerCell",326),Wht(1473,326,mCt,utt),zkt.Re=function(){var t;return t=0,this.e?this.b?t=this.b.b:this.a[1][1]&&(t=this.a[1][1].Re()):t=P9(this,rrt(this,!0)),t>0?t+this.n.d+this.n.a:0},zkt.Se=function(){var t,e,i,r,a;if(a=0,this.e)this.b?a=this.b.a:this.a[1][1]&&(a=this.a[1][1].Se());else if(this.g)a=P9(this,dat(this,null,!0));else for(QJ(),i=0,r=(e=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;i<r;++i)t=e[i],a=n.Math.max(a,P9(this,dat(this,t,!0)));return a>0?a+this.n.b+this.n.c:0},zkt.Te=function(){var t,e,n,i,r;if(this.g)for(t=dat(this,null,!1),QJ(),i=0,r=(n=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;i<r;++i)Zgt(this,e=n[i],t);else for(QJ(),i=0,r=(n=P4(Zv(lqt,1),K_t,232,0,[aqt,oqt,sqt])).length;i<r;++i)Zgt(this,e=n[i],t=dat(this,e,!1))},zkt.Ue=function(){var t,e,i,r;e=this.i,t=this.n,r=rrt(this,!1),TW(this,(QJ(),aqt),e.d+t.d,r),TW(this,sqt,e.d+e.a-t.a-r[2],r),i=e.a-t.d-t.a,r[0]>0&&(r[0]+=this.d,i-=r[0]),r[2]>0&&(r[2]+=this.d,i-=r[2]),this.c.a=n.Math.max(0,i),this.c.d=e.d+t.d+(this.c.a-i)/2,r[1]=n.Math.max(r[1],i),TW(this,oqt,e.d+t.d+r[0]-(r[1]-i)/2,r)},zkt.b=null,zkt.d=0,zkt.e=!1,zkt.f=!1,zkt.g=!1;var hqt,fqt,dqt,gqt=0,pqt=0;_R(wCt,"GridContainerCell",1473),Wht(461,22,{3:1,35:1,22:1,461:1},cT);var bqt,wqt=G1(wCt,"HorizontalLabelAlignment",461,cjt,(function(){return zV(),P4(Zv(wqt,1),K_t,461,0,[fqt,hqt,dqt])}),(function(t){return zV(),rJ((mX(),bqt),t)}));Wht(306,212,{212:1,306:1},nZ,$J,HH),zkt.Re=function(){return GB(this)},zkt.Se=function(){return KB(this)},zkt.a=0,zkt.c=!1;var yqt,mqt,vqt,xqt=_R(wCt,"LabelCell",306);Wht(244,326,{212:1,326:1,244:1},Set),zkt.Re=function(){return Flt(this)},zkt.Se=function(){return $lt(this)},zkt.Te=function(){oyt(this)},zkt.Ue=function(){hyt(this)},zkt.b=0,zkt.c=0,zkt.d=!1,_R(wCt,"StripContainerCell",244),Wht(1626,1,Q_t,kt),zkt.Mb=function(t){return function(t){return!!t&&t.k}(VP(t,212))},_R(wCt,"StripContainerCell/lambda$0$Type",1626),Wht(1627,1,{},_t),zkt.Fe=function(t){return VP(t,212).Se()},_R(wCt,"StripContainerCell/lambda$1$Type",1627),Wht(1628,1,Q_t,Et),zkt.Mb=function(t){return function(t){return!!t&&t.j}(VP(t,212))},_R(wCt,"StripContainerCell/lambda$2$Type",1628),Wht(1629,1,{},Tt),zkt.Fe=function(t){return VP(t,212).Re()},_R(wCt,"StripContainerCell/lambda$3$Type",1629),Wht(462,22,{3:1,35:1,22:1,462:1},uT);var kqt,_qt,Eqt,Tqt,Cqt,Sqt,Aqt,Mqt,Iqt,Lqt,Oqt,Dqt,Nqt,Pqt,Bqt,Fqt,$qt,jqt,Rqt,zqt,qqt,Hqt,Zqt,Uqt=G1(wCt,"VerticalLabelAlignment",462,cjt,(function(){return IQ(),P4(Zv(Uqt,1),K_t,462,0,[vqt,mqt,yqt])}),(function(t){return IQ(),rJ((vX(),kqt),t)}));Wht(789,1,{},mxt),zkt.c=0,zkt.d=0,zkt.k=0,zkt.s=0,zkt.t=0,zkt.v=!1,zkt.w=0,zkt.D=!1,_R(TCt,"NodeContext",789),Wht(1471,1,zTt,Ct),zkt.ue=function(t,e){return tM(VP(t,61),VP(e,61))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(TCt,"NodeContext/0methodref$comparePortSides$Type",1471),Wht(1472,1,zTt,St),zkt.ue=function(t,e){return function(t,e){var n;if(0!=(n=tM(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return nI(t.b.sf(),e.b.sf());case 3:case 4:return nI(e.b.sf(),t.b.sf())}return 0}(VP(t,111),VP(e,111))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(TCt,"NodeContext/1methodref$comparePortContexts$Type",1472),Wht(159,22,{3:1,35:1,22:1,159:1},Y2);var Yqt,Gqt,Kqt,Wqt,Xqt,Vqt,Qqt,Jqt=G1(TCt,"NodeLabelLocation",159,cjt,Ket,(function(t){return Pkt(),rJ((DA(),Yqt),t)}));Wht(111,1,{111:1},wht),zkt.a=!1,_R(TCt,"PortContext",111),Wht(1476,1,A_t,At),zkt.td=function(t){ck(VP(t,306))},_R(ACt,MCt,1476),Wht(1477,1,Q_t,Mt),zkt.Mb=function(t){return!!VP(t,111).c},_R(ACt,ICt,1477),Wht(1478,1,A_t,It),zkt.td=function(t){ck(VP(t,111).c)},_R(ACt,"LabelPlacer/lambda$2$Type",1478),Wht(1475,1,A_t,Ot),zkt.td=function(t){SD(),function(t){t.b.tf(t.e)}(VP(t,111))},_R(ACt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),Wht(790,1,A_t,xP),zkt.td=function(t){lE(this.b,this.c,this.a,VP(t,181))},zkt.a=!1,zkt.c=!1,_R(ACt,"NodeLabelCellCreator/lambda$0$Type",790),Wht(1474,1,A_t,Vd),zkt.td=function(t){!function(t,e){zct(t.c,e)}(this.a,VP(t,181))},_R(ACt,"PortContextCreator/lambda$0$Type",1474),Wht(1829,1,{},Dt),_R(OCt,"GreedyRectangleStripOverlapRemover",1829),Wht(1830,1,zTt,Lt),zkt.ue=function(t,e){return function(t,e){return O8(t.c.d,e.c.d)}(VP(t,222),VP(e,222))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(OCt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),Wht(1786,1,{},fy),zkt.a=5,zkt.e=0,_R(OCt,"RectangleStripOverlapRemover",1786),Wht(1787,1,zTt,Pt),zkt.ue=function(t,e){return function(t,e){return O8(t.c.c,e.c.c)}(VP(t,222),VP(e,222))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(OCt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),Wht(1789,1,zTt,Bt),zkt.ue=function(t,e){return function(t,e){return O8(t.c.c+t.c.b,e.c.c+e.c.b)}(VP(t,222),VP(e,222))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(OCt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),Wht(406,22,{3:1,35:1,22:1,406:1},lT);var tHt,eHt,nHt,iHt,rHt,aHt=G1(OCt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,cjt,(function(){return n4(),P4(Zv(aHt,1),K_t,406,0,[Qqt,Wqt,Xqt,Vqt])}),(function(t){return n4(),rJ((UV(),tHt),t)}));Wht(222,1,{222:1},h$),_R(OCt,"RectangleStripOverlapRemover/RectangleNode",222),Wht(1788,1,A_t,Qd),zkt.td=function(t){!function(t,e){var n,i;switch(i=e.c,n=e.a,t.b.g){case 0:n.d=t.e-i.a-i.d;break;case 1:n.d+=t.e;break;case 2:n.c=t.e-i.a-i.d;break;case 3:n.c=t.e+i.d}}(this.a,VP(t,222))},_R(OCt,"RectangleStripOverlapRemover/lambda$1$Type",1788),Wht(1304,1,zTt,Ft),zkt.ue=function(t,e){return function(t,e){var n,i,r,a;return n=new $t,1==(r=2==(r=(i=VP(xK(hq(new CF(null,new NU(t.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[(M6(),czt),szt]))),21)).gc())?1:0)&&uA(Ctt(VP(xK(lq(i.Lc(),new jt),x3(xet(0),new nt)),162).a,2),0)&&(r=0),1==(a=2==(a=(i=VP(xK(hq(new CF(null,new NU(e.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[czt,szt]))),21)).gc())?1:0)&&uA(Ctt(VP(xK(lq(i.Lc(),new Rt),x3(xet(0),new nt)),162).a,2),0)&&(a=0),r<a?-1:r==a?0:1}(VP(t,167),VP(e,167))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),Wht(1307,1,{},$t),zkt.Kb=function(t){return VP(t,324).a},_R(NCt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),Wht(1308,1,Q_t,jt),zkt.Mb=function(t){return VP(t,323).a},_R(NCt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),Wht(1309,1,Q_t,Rt),zkt.Mb=function(t){return VP(t,323).a},_R(NCt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),Wht(1302,1,zTt,zt),zkt.ue=function(t,e){return function(t,e){var n,i,r;return n=new Nt,(i=VP(xK(hq(new CF(null,new NU(t.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[(M6(),czt),szt]))),21).gc())<(r=VP(xK(hq(new CF(null,new NU(e.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[czt,szt]))),21).gc())?-1:i==r?0:1}(VP(t,167),VP(e,167))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),Wht(1305,1,{},Nt),zkt.Kb=function(t){return VP(t,324).a},_R(NCt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),Wht(767,1,zTt,qt),zkt.ue=function(t,e){return function(t,e){var n,i;return(n=t.f.c.length)<(i=e.f.c.length)?-1:n==i?0:1}(VP(t,167),VP(e,167))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),Wht(1300,1,zTt,Ht),zkt.ue=function(t,e){return function(t,e){var n,i;return(n=t.o+t.p)<(i=e.o+e.p)?-1:n==i?0:1}(VP(t,321),VP(e,321))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/MinPerimeterComparator",1300),Wht(1301,1,zTt,Zt),zkt.ue=function(t,e){return function(t,e){var n,i,r,a;return(a=t.o)<(n=t.p)?a*=a:n*=n,i=a+n,(a=e.o)<(n=e.p)?a*=a:n*=n,i<(r=a+n)?-1:i==r?0:1}(VP(t,321),VP(e,321))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),Wht(1303,1,zTt,Ut),zkt.ue=function(t,e){return function(t,e){var n,i,r;return n=new Yt,(i=1==(i=VP(xK(hq(new CF(null,new NU(t.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[(M6(),czt),szt]))),21).gc())?1:0)<(r=1==(r=VP(xK(hq(new CF(null,new NU(e.f,16)),n),xQ(new X,new V,new rt,new at,P4(Zv(pzt,1),K_t,132,0,[czt,szt]))),21).gc())?1:0)?-1:i==r?0:1}(VP(t,167),VP(e,167))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(NCt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),Wht(1306,1,{},Yt),zkt.Kb=function(t){return VP(t,324).a},_R(NCt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),Wht(777,1,{},tT),zkt.Ce=function(t,e){return function(t,e,n){return n.f.c.length>0?Vj(t.a,e,n):Vj(t.b,e,n)}(this,VP(t,46),VP(e,167))},_R(NCt,"SuccessorCombination",777),Wht(644,1,{},Gt),zkt.Ce=function(t,e){var i;return function(t){var e,i,r,a,o;return i=a=VP(t.a,19).a,r=o=VP(t.b,19).a,e=n.Math.max(n.Math.abs(a),n.Math.abs(o)),a<=0&&a==o?(i=0,r=o-1):a==-e&&o!=e?(i=o,r=a,o>=0&&++i):(i=-o,r=a),new mS(p8(i),p8(r))}((i=VP(t,46),VP(e,167),i))},_R(NCt,"SuccessorJitter",644),Wht(643,1,{},Kt),zkt.Ce=function(t,e){var i;return function(t){var e,i;if(e=VP(t.a,19).a,i=VP(t.b,19).a,e>=0){if(e==i)return new mS(p8(-e-1),p8(-e-1));if(e==-i)return new mS(p8(-e),p8(i+1))}return n.Math.abs(e)>n.Math.abs(i)?new mS(p8(-e),p8(e<0?i:i+1)):new mS(p8(e+1),p8(i))}((i=VP(t,46),VP(e,167),i))},_R(NCt,"SuccessorLineByLine",643),Wht(568,1,{},Wt),zkt.Ce=function(t,e){var n;return function(t){var e,n,i,r;return e=i=VP(t.a,19).a,n=r=VP(t.b,19).a,0==i&&0==r?n-=1:-1==i&&r<=0?(e=0,n-=2):i<=0&&r>0?(e-=1,n-=1):i>=0&&r<0?(e+=1,n+=1):i>0&&r>=0?(e-=1,n+=1):(e+=1,n-=1),new mS(p8(e),p8(n))}((n=VP(t,46),VP(e,167),n))},_R(NCt,"SuccessorManhattan",568),Wht(1356,1,{},Xt),zkt.Ce=function(t,e){var i;return function(t){var e,i,r;return i=VP(t.a,19).a,r=VP(t.b,19).a,i<(e=n.Math.max(n.Math.abs(i),n.Math.abs(r)))&&r==-e?new mS(p8(i+1),p8(r)):i==e&&r<e?new mS(p8(i),p8(r+1)):i>=-e&&r==e?new mS(p8(i-1),p8(r)):new mS(p8(i),p8(r-1))}((i=VP(t,46),VP(e,167),i))},_R(NCt,"SuccessorMaxNormWindingInMathPosSense",1356),Wht(400,1,{},Jd),zkt.Ce=function(t,e){return Vj(this,t,e)},zkt.c=!1,zkt.d=!1,zkt.e=!1,zkt.f=!1,_R(NCt,"SuccessorQuadrantsGeneric",400),Wht(1357,1,{},Vt),zkt.Kb=function(t){return VP(t,324).a},_R(NCt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),Wht(323,22,{3:1,35:1,22:1,323:1},iT),zkt.a=!1;var oHt,sHt=G1(jCt,RCt,323,cjt,(function(){return Snt(),P4(Zv(sHt,1),K_t,323,0,[nHt,eHt,iHt,rHt])}),(function(t){return Snt(),rJ((YV(),oHt),t)}));Wht(1298,1,{}),zkt.Ib=function(){var t,e,n,i,r,a;for(n=" ",t=p8(0),r=0;r<this.o;r++)n+=""+t.a,t=p8(KD(t.a));for(n+="\n",t=p8(0),a=0;a<this.p;a++){for(n+=""+t.a,t=p8(KD(t.a)),i=0;i<this.o;i++)0==x7(e=W0(this,i,a),0)?n+="_":0==x7(e,1)?n+="X":n+="0";n+="\n"}return fO(n,0,n.length-1)},zkt.o=0,zkt.p=0,_R(jCt,"TwoBitGrid",1298),Wht(321,1298,{321:1},ltt),zkt.j=0,zkt.k=0,_R(jCt,"PlanarGrid",321),Wht(167,321,{321:1,167:1}),zkt.g=0,zkt.i=0,_R(jCt,"Polyomino",167);var cHt=oF(UCt,YCt);Wht(134,1,GCt,Qt),zkt.Ye=function(t,e){return f5(this,t,e)},zkt.Ve=function(){return MF(this)},zkt.We=function(t){return Ost(this,t)},zkt.Xe=function(t){return IO(this,t)},_R(UCt,"MapPropertyHolder",134),Wht(1299,134,GCt,Tgt),_R(jCt,"Polyominoes",1299);var uHt,lHt,hHt,fHt,dHt,gHt,pHt,bHt,wHt=!1;Wht(1766,1,A_t,Jt),zkt.td=function(t){qmt(VP(t,221))},_R(KCt,"DepthFirstCompaction/0methodref$compactTree$Type",1766),Wht(810,1,A_t,tg),zkt.td=function(t){!function(t,e){u$(VP(e.b,65),t),KJ(e.a,new tg(t))}(this.a,VP(t,221))},_R(KCt,"DepthFirstCompaction/lambda$1$Type",810),Wht(1767,1,A_t,_P),zkt.td=function(t){!function(t,e,n,i){VP(n.b,65),VP(n.b,65),VP(i.b,65),VP(i.b,65).c.b,XX(i,e,t)}(this.a,this.b,this.c,VP(t,221))},_R(KCt,"DepthFirstCompaction/lambda$2$Type",1767),Wht(65,1,{65:1},nU),_R(KCt,"Node",65),Wht(1250,1,{},cI),_R(KCt,"ScanlineOverlapCheck",1250),Wht(1251,1,{679:1},yH),zkt.Ke=function(t){AD(this,VP(t,440))},_R(KCt,"ScanlineOverlapCheck/OverlapsScanlineHandler",1251),Wht(1252,1,zTt,te),zkt.ue=function(t,e){return function(t,e){var n;return 0!=(n=O8(t.b.c,e.b.c))||0!=(n=O8(t.a.a,e.a.a))?n:O8(t.a.b,e.a.b)}(VP(t,65),VP(e,65))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(KCt,"ScanlineOverlapCheck/OverlapsScanlineHandler/lambda$0$Type",1252),Wht(440,1,{440:1},eT),zkt.a=!1,_R(KCt,"ScanlineOverlapCheck/Timestamp",440),Wht(1253,1,zTt,ee),zkt.ue=function(t,e){return function(t,e){var n,i,r;if(i=t.b.b.d,t.a||(i+=t.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),0==(n=O8(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(VP(t,440),VP(e,440))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(KCt,"ScanlineOverlapCheck/lambda$0$Type",1253),Wht(550,1,{},ne),_R(WCt,"SVGImage",550),Wht(324,1,{324:1},EP),zkt.Ib=function(){return"("+this.a+n_t+this.b+n_t+this.c+")"},_R(WCt,"UniqueTriple",324),Wht(209,1,XCt),_R(VCt,"AbstractLayoutProvider",209),Wht(1132,209,XCt,ie),zkt.Ze=function(t,e){var n,i,r;ast(e,QCt,1),this.a=ev(hD(_ft(t,(dnt(),$Ht)))),UX(t,AHt)&&(i=fD(_ft(t,AHt)),(n=lbt(u0(),i))&&VP(GH(n.f),209).Ze(t,Q2(e,1))),r=new rK(this.a),this.b=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v;for(t.e=e,s=Jlt(e),m=new iw,i=new wd(s);i.a<i.c.c.length;){for(n=VP(qU(i),15),v=new iw,m.c[m.c.length]=v,c=new Xw,f=n.Kc();f.Ob();){for(a=dbt(t,h=VP(f.Pb(),33),!0,0,0),v.c[v.c.length]=a,new XC(d=h.i,g=h.j),!h.n&&(h.n=new mj(oae,h,1,7)),l=new YI(h.n);l.e!=l.i.gc();)r=dbt(t,VP(hnt(l),137),!1,d,g),v.c[v.c.length]=r;for(!h.c&&(h.c=new mj(cae,h,9,9)),b=new YI(h.c);b.e!=b.i.gc();)for(o=dbt(t,p=VP(hnt(b),118),!1,d,g),v.c[v.c.length]=o,w=p.i+d,y=p.j+g,!p.n&&(p.n=new mj(oae,p,1,7)),u=new YI(p.n);u.e!=u.i.gc();)r=dbt(t,VP(hnt(u),137),!1,w,y),v.c[v.c.length]=r;M2(c,cH(t0(P4(Zv(V$t,1),r_t,20,0,[ddt(h),fdt(h)]))))}Ldt(t,c,v)}return t.f=new kx(m),c4(t.f,e),t.f}(r,t),0===VP(_ft(t,(I6(),_Ht)),481).g?(Iht(new re,this.b),Ont(t,LHt,Ost(this.b,LHt))):c_(),function(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_;for(f=(a=t.f.b).a,l=a.b,g=t.e.g,d=t.e.f,xM(t.e,a.a,a.b),k=f/g,_=l/d,u=new YI(Qz(t.e));u.e!=u.i.gc();)D1(c=VP(hnt(u),137),c.i*k),N1(c,c.j*_);for(y=new YI(Jz(t.e));y.e!=y.i.gc();)v=(w=VP(hnt(y),118)).i,x=w.j,v>0&&D1(w,v*k),x>0&&N1(w,x*_);for(C3(t.b,new he),e=new iw,s=new e6(new Xf(t.c).a);s.b;)i=VP((o=u1(s)).cd(),79),n=VP(o.dd(),395).a,r=Qgt(i,!1,!1),pyt(h=Kot(jst(i),jct(r),n),r),(m=Rst(i))&&-1==lQ(e,m,0)&&(e.c[e.c.length]=m,Iq(m,(CO(0!=h.b),VP(h.a.a.c,8)),n));for(b=new e6(new Xf(t.d).a);b.b;)i=VP((p=u1(b)).cd(),79),n=VP(p.dd(),395).a,r=Qgt(i,!1,!1),h=Kot(qst(i),Y5(jct(r)),n),pyt(h=Y5(h),r),(m=zst(i))&&-1==lQ(e,m,0)&&(e.c[e.c.length]=m,Iq(m,(CO(0!=h.b),VP(h.c.b.c,8)),n))}(r),Ont(t,IHt,this.b),$ct(e)},zkt.a=0,_R(JCt,"DisCoLayoutProvider",1132),Wht(1244,1,{},re),zkt.c=!1,zkt.e=0,zkt.f=0,_R(JCt,"DisCoPolyominoCompactor",1244),Wht(561,1,{561:1},HF),zkt.b=!0,_R(tSt,"DCComponent",561),Wht(394,22,{3:1,35:1,22:1,394:1},nT),zkt.a=!1;var yHt,mHt,vHt=G1(tSt,"DCDirection",394,cjt,(function(){return Ant(),P4(Zv(vHt,1),K_t,394,0,[gHt,dHt,pHt,bHt])}),(function(t){return Ant(),rJ((GV(),yHt),t)}));Wht(266,134,{3:1,266:1,94:1,134:1},ift),_R(tSt,"DCElement",266),Wht(395,1,{395:1},qit),zkt.c=0,_R(tSt,"DCExtension",395),Wht(755,134,GCt,kx),_R(tSt,"DCGraph",755),Wht(481,22,{3:1,35:1,22:1,481:1},AO);var xHt,kHt,_Ht,EHt,THt,CHt,SHt,AHt,MHt,IHt,LHt,OHt,DHt,NHt,PHt,BHt,FHt,$Ht,jHt,RHt,zHt,qHt=G1(eSt,nSt,481,cjt,(function(){return z_(),P4(Zv(qHt,1),K_t,481,0,[mHt])}),(function(t){return z_(),rJ((vG(),xHt),t)}));Wht(854,1,fCt,Rl),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,iSt),sSt),"Connected Components Compaction Strategy"),"Strategy for packing different connected components in order to save space and enhance readability of a graph."),EHt),(dut(),L9t)),qHt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,rSt),sSt),"Connected Components Layout Algorithm"),"A layout algorithm that is to be applied to each connected component before the components themselves are compacted. If unspecified, the positions of the components' nodes are not altered."),P9t),fRt),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,aSt),"debug"),"DCGraph"),"Access to the DCGraph is intended for the debug view,"),N9t),G$t),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,oSt),"debug"),"List of Polyominoes"),"Access to the polyominoes is intended for the debug view,"),N9t),G$t),Q8(T9t)))),Vyt((new zl,t))},_R(eSt,"DisCoMetaDataProvider",854),Wht(998,1,fCt,zl),zkt.Qe=function(t){Vyt(t)},_R(eSt,"DisCoOptions",998),Wht(999,1,{},ae),zkt.$e=function(){return new ie},zkt._e=function(t){},_R(eSt,"DisCoOptions/DiscoFactory",999),Wht(562,167,{321:1,167:1,562:1},edt),zkt.a=0,zkt.b=0,zkt.c=0,zkt.d=0,_R("org.eclipse.elk.alg.disco.structures","DCPolyomino",562),Wht(1268,1,Q_t,oe),zkt.Mb=function(t){return OA(t)},_R(dSt,"ElkGraphComponentsProcessor/lambda$0$Type",1268),Wht(1269,1,{},se),zkt.Kb=function(t){return Yq(),jst(VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$1$Type",1269),Wht(1270,1,Q_t,ce),zkt.Mb=function(t){return function(t){return Yq(),jst(t)==AZ(qst(t))}(VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$2$Type",1270),Wht(1271,1,{},ue),zkt.Kb=function(t){return Yq(),qst(VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$3$Type",1271),Wht(1272,1,Q_t,le),zkt.Mb=function(t){return function(t){return Yq(),qst(t)==AZ(jst(t))}(VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$4$Type",1272),Wht(1273,1,Q_t,eg),zkt.Mb=function(t){return function(t,e){return Yq(),t==AZ(jst(e))||t==AZ(qst(e))}(this.a,VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$5$Type",1273),Wht(1274,1,{},ng),zkt.Kb=function(t){return function(t,e){return Yq(),t==jst(e)?qst(e):jst(e)}(this.a,VP(t,79))},_R(dSt,"ElkGraphComponentsProcessor/lambda$6$Type",1274),Wht(1241,1,{},rK),zkt.a=0,_R(dSt,"ElkGraphTransformer",1241),Wht(1242,1,{},he),zkt.Od=function(t,e){!function(t,e,n){var i,r,a,o;t.a=n.b.d,MI(e,352)?(GK(a=jct(r=Qgt(VP(e,79),!1,!1)),i=new ig(t)),pyt(a,r),null!=e.We((Ikt(),Ute))&&GK(VP(e.We(Ute),74),i)):((o=VP(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b))}(this,VP(t,160),VP(e,266))},_R(dSt,"ElkGraphTransformer/OffsetApplier",1242),Wht(1243,1,A_t,ig),zkt.td=function(t){!function(t,e){OO(e,t.a.a.a,t.a.a.b)}(this,VP(t,8))},_R(dSt,"ElkGraphTransformer/OffsetApplier/OffSetToChainApplier",1243),Wht(753,1,{},fe),_R(ySt,mSt,753),Wht(1232,1,zTt,de),zkt.ue=function(t,e){return function(t,e){var n,i,r;return 0==(n=VP(Ost(e,(qpt(),gZt)),19).a-VP(Ost(t,gZt),19).a)?(i=vN(pI(VP(Ost(t,(p2(),kZt)),8)),VP(Ost(t,_Zt),8)),r=vN(pI(VP(Ost(e,kZt),8)),VP(Ost(e,_Zt),8)),O8(i.a*i.b,r.a*r.b)):n}(VP(t,231),VP(e,231))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ySt,vSt,1232),Wht(740,209,XCt,iy),zkt.Ze=function(t,e){gdt(this,t,e)},_R(ySt,"ForceLayoutProvider",740),Wht(357,134,{3:1,357:1,94:1,134:1}),_R(xSt,"FParticle",357),Wht(559,357,{3:1,559:1,357:1,94:1,134:1},pR),zkt.Ib=function(){var t;return this.a?(t=lQ(this.a.a,this,0))>=0?"b"+t+"["+VK(this.a)+"]":"b["+VK(this.a)+"]":"b_"+jL(this)},_R(xSt,"FBendpoint",559),Wht(282,134,{3:1,282:1,94:1,134:1},rN),zkt.Ib=function(){return VK(this)},_R(xSt,"FEdge",282),Wht(231,134,{3:1,231:1,94:1,134:1},GW);var HHt,ZHt,UHt,YHt,GHt,KHt,WHt,XHt,VHt,QHt,JHt=_R(xSt,"FGraph",231);Wht(447,357,{3:1,447:1,357:1,94:1,134:1},gK),zkt.Ib=function(){return null==this.b||0==this.b.length?"l["+VK(this.a)+"]":"l_"+this.b},_R(xSt,"FLabel",447),Wht(144,357,{3:1,144:1,357:1,94:1,134:1},ZR),zkt.Ib=function(){return VU(this)},zkt.b=0,_R(xSt,"FNode",144),Wht(2003,1,{}),zkt.bf=function(t){jwt(this,t)},zkt.cf=function(){nrt(this)},zkt.d=0,_R(_St,"AbstractForceModel",2003),Wht(631,2003,{631:1},J3),zkt.af=function(t,e){var i,r,a,o;return vlt(this.f,t,e),a=vN(pI(e.d),t.d),o=n.Math.sqrt(a.a*a.a+a.b*a.b),r=n.Math.max(0,o-hz(t.e)/2-hz(e.e)/2),$I(a,((i=R5(this.e,t,e))>0?-function(t,e){return t>0?n.Math.log(t/e):-100}(r,this.c)*i:function(t,e){return t>0?e/(t*t):100*e}(r,this.b)*VP(Ost(t,(qpt(),gZt)),19).a)/o),a},zkt.bf=function(t){jwt(this,t),this.a=VP(Ost(t,(qpt(),rZt)),19).a,this.c=ev(hD(Ost(t,vZt))),this.b=ev(hD(Ost(t,bZt)))},zkt.df=function(t){return t<this.a},zkt.a=0,zkt.b=0,zkt.c=0,_R(_St,"EadesModel",631),Wht(632,2003,{632:1},bB),zkt.af=function(t,e){var i,r,a,o,s;return vlt(this.f,t,e),a=vN(pI(e.d),t.d),s=n.Math.sqrt(a.a*a.a+a.b*a.b),o=function(t,e){return t>0?e*e/t:e*e*100}(r=n.Math.max(0,s-hz(t.e)/2-hz(e.e)/2),this.a)*VP(Ost(t,(qpt(),gZt)),19).a,(i=R5(this.e,t,e))>0&&(o-=function(t,e){return t*t/e}(r,this.a)*i),$I(a,o*this.b/s),a},zkt.bf=function(t){var e,i,r,a,o,s,c;for(jwt(this,t),this.b=ev(hD(Ost(t,(qpt(),xZt)))),this.c=this.b/VP(Ost(t,rZt),19).a,r=t.e.c.length,o=0,a=0,c=new wd(t.e);c.a<c.c.c.length;)o+=(s=VP(qU(c),144)).e.a,a+=s.e.b;e=o*a,i=ev(hD(Ost(t,vZt)))*SCt,this.a=n.Math.sqrt(e/(2*r))*i},zkt.cf=function(){nrt(this),this.b-=this.c},zkt.df=function(t){return this.b>0},zkt.a=0,zkt.b=0,zkt.c=0,_R(_St,"FruchtermanReingoldModel",632),Wht(849,1,fCt,Hl),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ESt),""),"Force Model"),"Determines the model for force calculation."),UHt),(dut(),L9t)),GZt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,TSt),""),"Iterations"),"The number of iterations on the force model."),p8(300)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,CSt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),p8(0)),D9t),Gjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,SSt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),ASt),I9t),Hjt),Q8(T9t)))),PY(t,SSt,ESt,XHt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,MSt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),I9t),Hjt),Q8(T9t)))),PY(t,MSt,ESt,GHt),Cxt((new Zl,t))},_R(ISt,"ForceMetaDataProvider",849),Wht(424,22,{3:1,35:1,22:1,424:1},hT);var tZt,eZt,nZt,iZt,rZt,aZt,oZt,sZt,cZt,uZt,lZt,hZt,fZt,dZt,gZt,pZt,bZt,wZt,yZt,mZt,vZt,xZt,kZt,_Zt,EZt,TZt,CZt,SZt,AZt,MZt,IZt,LZt,OZt,DZt,NZt,PZt,BZt,FZt,$Zt,jZt,RZt,zZt,qZt,HZt,ZZt,UZt,YZt,GZt=G1(ISt,"ForceModelStrategy",424,cjt,(function(){return lJ(),P4(Zv(GZt,1),K_t,424,0,[VHt,QHt])}),(function(t){return lJ(),rJ((TK(),tZt),t)}));Wht(988,1,fCt,Zl),zkt.Qe=function(t){Cxt(t)},_R(ISt,"ForceOptions",988),Wht(989,1,{},ge),zkt.$e=function(){return new iy},zkt._e=function(t){},_R(ISt,"ForceOptions/ForceFactory",989),Wht(850,1,fCt,Ul),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,XSt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(EL(),!1)),(dut(),M9t)),Fjt),Q8((Vet(),E9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,VSt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),I9t),Hjt),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[k9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,QSt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),AZt),L9t),iUt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,JSt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),ASt),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,tAt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),p8(Qkt)),D9t),Gjt),Q8(T9t)))),jvt((new Yl,t))},_R(ISt,"StressMetaDataProvider",850),Wht(992,1,fCt,Yl),zkt.Qe=function(t){jvt(t)},_R(ISt,"StressOptions",992),Wht(993,1,{},pe),zkt.$e=function(){return new aN},zkt._e=function(t){},_R(ISt,"StressOptions/StressFactory",993),Wht(1128,209,XCt,aN),zkt.Ze=function(t,e){var n,i,r,a;for(ast(e,nAt,1),tv(lD(_ft(t,(Wrt(),BZt))))?tv(lD(_ft(t,qZt)))||rZ(new Gd((pE(),new Gm(t)))):gdt(new iy,t,Q2(e,1)),i=g5(t),a=(n=uyt(this.a,i)).Kc();a.Ob();)(r=VP(a.Pb(),231)).e.c.length<=1||(Dmt(this.b,r),Cft(this.b),KJ(r.d,new be));Lxt(i=Rxt(n)),$ct(e)},_R(rAt,"StressLayoutProvider",1128),Wht(1129,1,A_t,be),zkt.td=function(t){Wyt(VP(t,447))},_R(rAt,"StressLayoutProvider/lambda$0$Type",1129),Wht(990,1,{},qw),zkt.c=0,zkt.e=0,zkt.g=0,_R(rAt,"StressMajorization",990),Wht(379,22,{3:1,35:1,22:1,379:1},fT);var KZt,WZt,XZt,VZt,QZt,JZt,tUt,eUt,nUt,iUt=G1(rAt,"StressMajorization/Dimension",379,cjt,(function(){return MQ(),P4(Zv(iUt,1),K_t,379,0,[UZt,ZZt,YZt])}),(function(t){return MQ(),rJ((kX(),KZt),t)}));Wht(991,1,zTt,rg),zkt.ue=function(t,e){return function(t,e,n){return O8(t[e.b],t[n.b])}(this.a,VP(t,144),VP(e,144))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(rAt,"StressMajorization/lambda$0$Type",991),Wht(1229,1,{},bY),_R(oAt,"ElkLayered",1229),Wht(1230,1,A_t,we),zkt.td=function(t){!function(t){var e;if((e=VP(Ost(t,(wkt(),r1t)),314))==(I0(),TKt))throw lw(new dv("The hierarchy aware processor "+e+" in child node "+t+" is only allowed if the root node specifies the same hierarchical processor."))}(VP(t,37))},_R(oAt,"ElkLayered/lambda$0$Type",1230),Wht(1231,1,A_t,ag),zkt.td=function(t){!function(t,e){d5(e,(wkt(),QJt),t)}(this.a,VP(t,37))},_R(oAt,"ElkLayered/lambda$1$Type",1231),Wht(1263,1,{},hI),_R(oAt,"GraphConfigurator",1263),Wht(759,1,A_t,og),zkt.td=function(t){act(this.a,VP(t,10))},_R(oAt,"GraphConfigurator/lambda$0$Type",759),Wht(760,1,{},ye),zkt.Kb=function(t){return Cat(),new CF(null,new NU(VP(t,29).a,16))},_R(oAt,"GraphConfigurator/lambda$1$Type",760),Wht(761,1,A_t,sg),zkt.td=function(t){act(this.a,VP(t,10))},_R(oAt,"GraphConfigurator/lambda$2$Type",761),Wht(1127,209,XCt,ay),zkt.Ze=function(t,e){var n;n=jyt(new gy,t),iA(_ft(t,(wkt(),E1t)))===iA((I7(),One))?j9(this.a,n,e):uht(this.a,n,e),Txt(new Kl,n)},_R(oAt,"LayeredLayoutProvider",1127),Wht(356,22,{3:1,35:1,22:1,356:1},dT);var rUt,aUt,oUt,sUt=G1(oAt,"LayeredPhases",356,cjt,(function(){return Dst(),P4(Zv(sUt,1),K_t,356,0,[QZt,JZt,tUt,eUt,nUt])}),(function(t){return Dst(),rJ((mJ(),rUt),t)}));Wht(1651,1,{},v0),zkt.i=0,_R(sAt,"ComponentsToCGraphTransformer",1651),Wht(1652,1,{},me),zkt.ef=function(t,e){return n.Math.min(null!=t.a?ev(t.a):t.c.i,null!=e.a?ev(e.a):e.c.i)},zkt.ff=function(t,e){return n.Math.min(null!=t.a?ev(t.a):t.c.i,null!=e.a?ev(e.a):e.c.i)},_R(sAt,"ComponentsToCGraphTransformer/1",1652),Wht(81,1,{81:1}),zkt.i=0,zkt.k=!0,zkt.o=tTt;var cUt,uUt,lUt,hUt=_R(cAt,"CNode",81);Wht(460,81,{460:1,81:1},UL,Eet),zkt.Ib=function(){return""},_R(sAt,"ComponentsToCGraphTransformer/CRectNode",460),Wht(1623,1,{},ve),_R(sAt,"OneDimensionalComponentsCompaction",1623),Wht(1624,1,{},xe),zkt.Kb=function(t){return function(t){return r7(),EL(),0!=VP(t.a,81).d.e}(VP(t,46))},zkt.Fb=function(t){return this===t},_R(sAt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),Wht(1625,1,{},ke),zkt.Kb=function(t){return function(t){return r7(),EL(),!!(T9(VP(t.a,81).j,VP(t.b,103))||0!=VP(t.a,81).d.e&&T9(VP(t.a,81).j,VP(t.b,103)))}(VP(t,46))},zkt.Fb=function(t){return this===t},_R(sAt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),Wht(1654,1,{},qR),_R(cAt,"CGraph",1654),Wht(189,1,{189:1},Tet),zkt.b=0,zkt.c=0,zkt.e=0,zkt.g=!0,zkt.i=tTt,_R(cAt,"CGroup",189),Wht(1653,1,{},Ce),zkt.ef=function(t,e){return n.Math.max(null!=t.a?ev(t.a):t.c.i,null!=e.a?ev(e.a):e.c.i)},zkt.ff=function(t,e){return n.Math.max(null!=t.a?ev(t.a):t.c.i,null!=e.a?ev(e.a):e.c.i)},_R(cAt,YTt,1653),Wht(1655,1,{},aht),zkt.d=!1;var fUt=_R(cAt,VTt,1655);Wht(1656,1,{},Se),zkt.Kb=function(t){return K_(),EL(),0!=VP(VP(t,46).a,81).d.e},zkt.Fb=function(t){return this===t},_R(cAt,QTt,1656),Wht(823,1,{},bF),zkt.a=!1,zkt.b=!1,zkt.c=!1,zkt.d=!1,_R(cAt,JTt,823),Wht(1825,1,{},f$),_R(uAt,tCt,1825);var dUt=oF(lAt,HTt);Wht(1826,1,{369:1},vH),zkt.Ke=function(t){!function(t,e){var n,i,r;e.a?(sR(t.b,e.b),t.a[e.b.i]=VP(zN(t.b,e.b),81),(n=VP(RN(t.b,e.b),81))&&(t.a[n.i]=e.b)):(!!(i=VP(zN(t.b,e.b),81))&&i==t.a[e.b.i]&&!!i.d&&i.d!=e.b.d&&i.f.Fc(e.b),!!(r=VP(RN(t.b,e.b),81))&&t.a[r.i]==e.b&&!!r.d&&r.d!=e.b.d&&e.b.f.Fc(r),FL(t.b,e.b))}(this,VP(t,466))},_R(uAt,eCt,1826),Wht(1827,1,zTt,Ae),zkt.ue=function(t,e){return function(t,e){return O8(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}(VP(t,81),VP(e,81))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(uAt,nCt,1827),Wht(466,1,{466:1},MT),zkt.a=!1,_R(uAt,iCt,466),Wht(1828,1,zTt,Me),zkt.ue=function(t,e){return function(t,e){var n,i,r;if(i=t.b.g.d,t.a||(i+=t.b.g.a),r=e.b.g.d,e.a||(r+=e.b.g.a),0==(n=O8(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}(VP(t,466),VP(e,466))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(uAt,rCt,1828),Wht(140,1,{140:1},DT,_B),zkt.Fb=function(t){var e;return null!=t&&yUt==W5(t)&&(e=VP(t,140),Hz(this.c,e.c)&&Hz(this.d,e.d))},zkt.Hb=function(){return Z6(P4(Zv(G$t,1),r_t,1,5,[this.c,this.d]))},zkt.Ib=function(){return"("+this.c+n_t+this.d+(this.a?"cx":"")+this.b+")"},zkt.a=!0,zkt.c=0,zkt.d=0;var gUt,pUt,bUt,wUt,yUt=_R(lAt,"Point",140);Wht(405,22,{3:1,35:1,22:1,405:1},gT);var mUt,vUt,xUt,kUt,_Ut,EUt,TUt,CUt,SUt,AUt,MUt,IUt=G1(lAt,"Point/Quadrant",405,cjt,(function(){return j4(),P4(Zv(IUt,1),K_t,405,0,[gUt,wUt,pUt,bUt])}),(function(t){return j4(),rJ((ZV(),mUt),t)}));Wht(1642,1,{},cy),zkt.b=null,zkt.c=null,zkt.d=null,zkt.e=null,zkt.f=null,_R(lAt,"RectilinearConvexHull",1642),Wht(574,1,{369:1},gnt),zkt.Ke=function(t){!function(t,e){t.a.ue(e.d,t.b)>0&&(nB(t.c,new _B(e.c,e.d,t.d)),t.b=e.d)}(this,VP(t,140))},zkt.b=0,_R(lAt,"RectilinearConvexHull/MaximalElementsEventHandler",574),Wht(1644,1,zTt,Ee),zkt.ue=function(t,e){return function(t,e){return W_(),O8((yz(t),t),(yz(e),e))}(hD(t),hD(e))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),Wht(1643,1,{369:1},PJ),zkt.Ke=function(t){Ydt(this,VP(t,140))},zkt.a=0,zkt.b=null,zkt.c=null,zkt.d=null,zkt.e=null,_R(lAt,"RectilinearConvexHull/RectangleEventHandler",1643),Wht(1645,1,zTt,Te),zkt.ue=function(t,e){return function(t,e){return cJ(),t.c==e.c?O8(e.d,t.d):O8(t.c,e.c)}(VP(t,140),VP(e,140))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/lambda$0$Type",1645),Wht(1646,1,zTt,_e),zkt.ue=function(t,e){return function(t,e){return cJ(),t.c==e.c?O8(t.d,e.d):O8(t.c,e.c)}(VP(t,140),VP(e,140))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/lambda$1$Type",1646),Wht(1647,1,zTt,Ie),zkt.ue=function(t,e){return function(t,e){return cJ(),t.c==e.c?O8(e.d,t.d):O8(e.c,t.c)}(VP(t,140),VP(e,140))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/lambda$2$Type",1647),Wht(1648,1,zTt,Le),zkt.ue=function(t,e){return function(t,e){return cJ(),t.c==e.c?O8(t.d,e.d):O8(e.c,t.c)}(VP(t,140),VP(e,140))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/lambda$3$Type",1648),Wht(1649,1,zTt,Oe),zkt.ue=function(t,e){return Pst(VP(t,140),VP(e,140))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(lAt,"RectilinearConvexHull/lambda$4$Type",1649),Wht(1650,1,{},eU),_R(lAt,"Scanline",1650),Wht(2005,1,{}),_R(hAt,"AbstractGraphPlacer",2005),Wht(325,1,{325:1},RO),zkt.mf=function(t){return!!this.nf(t)&&(Vlt(this.b,VP(Ost(t,(Lkt(),cXt)),21),t),!0)},zkt.nf=function(t){var e,n,i;for(e=VP(Ost(t,(Lkt(),cXt)),21),i=VP(jW(CUt,e),21).Kc();i.Ob();)if(n=VP(i.Pb(),21),!VP(jW(this.b,n),15).dc())return!1;return!0},_R(hAt,"ComponentGroup",325),Wht(765,2005,{},uy),zkt.of=function(t){var e;for(e=new wd(this.a);e.a<e.c.c.length;)if(VP(qU(e),325).mf(t))return;nB(this.a,new RO(t))},zkt.lf=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;if(this.a.c=WX(G$t,r_t,1,0,5,1),e.a.c=WX(G$t,r_t,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(c4(e,o=VP(t.Xb(0),37)),r=t.Kc();r.Ob();)i=VP(r.Pb(),37),this.of(i);for(g=new Sx,a=ev(hD(Ost(o,(wkt(),N0t)))),u=new wd(this.a);u.a<u.c.c.length;)l=rkt(s=VP(qU(u),325),a),gV(MR(s.b),g.a,g.b),g.a+=l.a,g.b+=l.b;if(e.f.a=g.a-a,e.f.b=g.b-a,tv(lD(Ost(o,RJt)))&&iA(Ost(o,g1t))===iA((b9(),hne))){for(d=t.Kc();d.Ob();)gbt(h=VP(d.Pb(),37),h.c.a,h.c.b);for(gkt(n=new De,t,a),f=t.Kc();f.Ob();)mN(IA((h=VP(f.Pb(),37)).c),n.e);mN(IA(e.f),n.a)}for(c=new wd(this.a);c.a<c.c.c.length;)pV(e,MR((s=VP(qU(c),325)).b))},_R(hAt,"ComponentGroupGraphPlacer",765),Wht(1293,765,{},_y),zkt.of=function(t){$7(this,t)},zkt.lf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;if(this.a.c=WX(G$t,r_t,1,0,5,1),e.a.c=WX(G$t,r_t,1,0,5,1),t.dc())return e.f.a=0,void(e.f.b=0);for(c4(e,o=VP(t.Xb(0),37)),r=t.Kc();r.Ob();)$7(this,VP(r.Pb(),37));for(y=new Sx,w=new Sx,p=new Sx,g=new Sx,a=ev(hD(Ost(o,(wkt(),N0t)))),u=new wd(this.a);u.a<u.c.c.length;){if(s=VP(qU(u),325),fM(VP(Ost(e,(Ikt(),Ate)),103))){for(p.a=y.a,b=new Tm(IR(CR(s.b).a).a.kc());b.b.Ob();)if(VP(ME(b.b.Pb()),21).Hc((Mxt(),Eie))){p.a=w.a;break}}else if(dM(VP(Ost(e,Ate),103)))for(p.b=y.b,b=new Tm(IR(CR(s.b).a).a.kc());b.b.Ob();)if(VP(ME(b.b.Pb()),21).Hc((Mxt(),Hie))){p.b=w.b;break}if(l=rkt(VP(s,570),a),gV(MR(s.b),p.a,p.b),fM(VP(Ost(e,Ate),103))){for(w.a=p.a+l.a,g.a=n.Math.max(g.a,w.a),b=new Tm(IR(CR(s.b).a).a.kc());b.b.Ob();)if(VP(ME(b.b.Pb()),21).Hc((Mxt(),zie))){y.a=p.a+l.a;break}w.b=p.b+l.b,p.b=w.b,g.b=n.Math.max(g.b,p.b)}else if(dM(VP(Ost(e,Ate),103))){for(w.b=p.b+l.b,g.b=n.Math.max(g.b,w.b),b=new Tm(IR(CR(s.b).a).a.kc());b.b.Ob();)if(VP(ME(b.b.Pb()),21).Hc((Mxt(),_ie))){y.b=p.b+l.b;break}w.a=p.a+l.a,p.a=w.a,g.a=n.Math.max(g.a,p.a)}}if(e.f.a=g.a-a,e.f.b=g.b-a,tv(lD(Ost(o,RJt)))&&iA(Ost(o,g1t))===iA((b9(),hne))){for(d=t.Kc();d.Ob();)gbt(h=VP(d.Pb(),37),h.c.a,h.c.b);for(gkt(i=new De,t,a),f=t.Kc();f.Ob();)mN(IA((h=VP(f.Pb(),37)).c),i.e);mN(IA(e.f),i.a)}for(c=new wd(this.a);c.a<c.c.c.length;)pV(e,MR((s=VP(qU(c),325)).b))},_R(hAt,"ComponentGroupModelOrderGraphPlacer",1293),Wht(423,22,{3:1,35:1,22:1,423:1},pT);var LUt,OUt,DUt,NUt=G1(hAt,"ComponentOrderingStrategy",423,cjt,(function(){return n8(),P4(Zv(NUt,1),K_t,423,0,[MUt,AUt,SUt])}),(function(t){return n8(),rJ((_X(),LUt),t)}));Wht(650,1,{},De),_R(hAt,"ComponentsCompactor",650),Wht(1468,12,fTt,rW),zkt.Fc=function(t){return iot(this,VP(t,140))},_R(hAt,"ComponentsCompactor/Hullpoints",1468),Wht(1465,1,{841:1},znt),zkt.a=!1,_R(hAt,"ComponentsCompactor/InternalComponent",1465),Wht(1464,1,D_t,ly),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new wd(this.a)},_R(hAt,"ComponentsCompactor/InternalConnectedComponents",1464),Wht(1467,1,{594:1},lht),zkt.hf=function(){return null},zkt.jf=function(){return this.a},zkt.gf=function(){return Jet(this.d)},zkt.kf=function(){return this.b},_R(hAt,"ComponentsCompactor/InternalExternalExtension",1467),Wht(1466,1,{594:1},dy),zkt.jf=function(){return this.a},zkt.gf=function(){return Jet(this.d)},zkt.hf=function(){return this.c},zkt.kf=function(){return this.b},_R(hAt,"ComponentsCompactor/InternalUnionExternalExtension",1466),Wht(1470,1,{},Ugt),_R(hAt,"ComponentsCompactor/OuterSegments",1470),Wht(1469,1,{},hy),_R(hAt,"ComponentsCompactor/Segments",1469),Wht(1264,1,{},xH),_R(hAt,mSt,1264),Wht(1265,1,zTt,Ne),zkt.ue=function(t,e){return function(t,e){var n,i;return(n=prt(t))<(i=prt(e))?-1:n>i?1:0}(VP(t,37),VP(e,37))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(hAt,"ComponentsProcessor/lambda$0$Type",1265),Wht(570,325,{325:1,570:1},iW),zkt.mf=function(t){return o6(this,t)},zkt.nf=function(t){return zdt(this,t)},_R(hAt,"ModelOrderComponentGroup",570),Wht(1291,2005,{},Pe),zkt.lf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;if(1!=t.gc()){if(t.dc())return e.a.c=WX(G$t,r_t,1,0,5,1),e.f.a=0,void(e.f.b=0);if(iA(Ost(e,(wkt(),HJt)))===iA((n8(),MUt))){for(u=t.Kc();u.Ob();){for(w=0,p=new wd((s=VP(u.Pb(),37)).a);p.a<p.c.c.length;)g=VP(qU(p),10),w+=VP(Ost(g,T0t),19).a;s.p=w}Gq(),t.ad(new Be)}for(o=VP(t.Xb(0),37),e.a.c=WX(G$t,r_t,1,0,5,1),c4(e,o),d=0,v=0,l=t.Kc();l.Ob();)y=(s=VP(l.Pb(),37)).f,d=n.Math.max(d,y.a),v+=y.a*y.b;for(d=n.Math.max(d,n.Math.sqrt(v)*ev(hD(Ost(e,$Jt)))),x=0,k=0,f=0,i=a=ev(hD(Ost(e,N0t))),c=t.Kc();c.Ob();)x+(y=(s=VP(c.Pb(),37)).f).a>d&&(x=0,k+=f+a,f=0),gbt(s,x+(b=s.c).a,k+b.b),IA(b),i=n.Math.max(i,x+y.a),f=n.Math.max(f,y.b),x+=y.a+a;if(e.f.a=i,e.f.b=k+f,tv(lD(Ost(o,RJt)))){for(gkt(r=new De,t,a),h=t.Kc();h.Ob();)mN(IA(VP(h.Pb(),37).c),r.e);mN(IA(e.f),r.a)}pV(e,t)}else(m=VP(t.Xb(0),37))!=e&&(e.a.c=WX(G$t,r_t,1,0,5,1),Fbt(e,m,0,0),c4(e,m),qq(e.d,m.d),e.f.a=m.f.a,e.f.b=m.f.b)},_R(hAt,"SimpleRowGraphPlacer",1291),Wht(1292,1,zTt,Be),zkt.ue=function(t,e){return function(t,e){var n;return 0==(n=e.p-t.p)?O8(t.f.a*t.f.b,e.f.a*e.f.b):n}(VP(t,37),VP(e,37))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(hAt,"SimpleRowGraphPlacer/1",1292),Wht(1262,1,aCt,Fe),zkt.Lb=function(t){var e;return!!(e=VP(Ost(VP(t,243).b,(wkt(),D1t)),74))&&0!=e.b},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){var e;return!!(e=VP(Ost(VP(t,243).b,(wkt(),D1t)),74))&&0!=e.b},_R(pAt,"CompoundGraphPostprocessor/1",1262),Wht(1261,1,bAt,py),zkt.pf=function(t,e){Wnt(this,VP(t,37),e)},_R(pAt,"CompoundGraphPreprocessor",1261),Wht(441,1,{441:1},a8),zkt.c=!1,_R(pAt,"CompoundGraphPreprocessor/ExternalPort",441),Wht(243,1,{243:1},kP),zkt.Ib=function(){return pO(this.c)+":"+jlt(this.b)},_R(pAt,"CrossHierarchyEdge",243),Wht(763,1,zTt,cg),zkt.ue=function(t,e){return function(t,e,n){var i,r;return e.c==(l0(),r3t)&&n.c==i3t?-1:e.c==i3t&&n.c==r3t?1:(i=G6(e.a,t.a),r=G6(n.a,t.a),e.c==r3t?r-i:i-r)}(this,VP(t,243),VP(e,243))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(pAt,"CrossHierarchyEdgeComparator",763),Wht(299,134,{3:1,299:1,94:1,134:1}),zkt.p=0,_R(wAt,"LGraphElement",299),Wht(17,299,{3:1,17:1,299:1,94:1,134:1},kH),zkt.Ib=function(){return jlt(this)};var PUt=_R(wAt,"LEdge",17);Wht(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},x0),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new wd(this.b)},zkt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+Ust(this.a):0==this.a.c.length?"G-layered"+Ust(this.b):"G[layerless"+Ust(this.a)+", layers"+Ust(this.b)+"]"};var BUt,FUt=_R(wAt,"LGraph",37);Wht(657,1,{}),zkt.qf=function(){return this.e.n},zkt.We=function(t){return Ost(this.e,t)},zkt.rf=function(){return this.e.o},zkt.sf=function(){return this.e.p},zkt.Xe=function(t){return IO(this.e,t)},zkt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},zkt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},zkt.vf=function(t){this.e.p=t},_R(wAt,"LGraphAdapters/AbstractLShapeAdapter",657),Wht(577,1,{839:1},ug),zkt.wf=function(){var t,e;if(!this.b)for(this.b=lO(this.a.b.c.length),e=new wd(this.a.b);e.a<e.c.c.length;)t=VP(qU(e),70),nB(this.b,new lg(t));return this.b},zkt.b=null,_R(wAt,"LGraphAdapters/LEdgeAdapter",577),Wht(656,1,{},pq),zkt.xf=function(){var t,e,n,i,r;if(!this.b)for(this.b=new iw,n=new wd(this.a.b);n.a<n.c.c.length;)for(r=new wd(VP(qU(n),29).a);r.a<r.c.c.length;)if(i=VP(qU(r),10),this.c.Mb(i)&&(nB(this.b,new AP(this,i,this.e)),this.d)){if(IO(i,(Lkt(),JXt)))for(e=VP(Ost(i,JXt),15).Kc();e.Ob();)t=VP(e.Pb(),10),nB(this.b,new AP(this,t,!1));if(IO(i,VWt))for(e=VP(Ost(i,VWt),15).Kc();e.Ob();)t=VP(e.Pb(),10),nB(this.b,new AP(this,t,!1))}return this.b},zkt.qf=function(){throw lw(new uv(mAt))},zkt.We=function(t){return Ost(this.a,t)},zkt.rf=function(){return this.a.f},zkt.sf=function(){return this.a.p},zkt.Xe=function(t){return IO(this.a,t)},zkt.tf=function(t){throw lw(new uv(mAt))},zkt.uf=function(t){this.a.f.a=t.a,this.a.f.b=t.b},zkt.vf=function(t){this.a.p=t},zkt.b=null,zkt.d=!1,zkt.e=!1,_R(wAt,"LGraphAdapters/LGraphAdapter",656),Wht(576,657,{181:1},lg),_R(wAt,"LGraphAdapters/LLabelAdapter",576),Wht(575,657,{680:1},AP),zkt.yf=function(){return this.b},zkt.zf=function(){return Gq(),Gq(),TRt},zkt.wf=function(){var t,e;if(!this.a)for(this.a=lO(VP(this.e,10).b.c.length),e=new wd(VP(this.e,10).b);e.a<e.c.c.length;)t=VP(qU(e),70),nB(this.a,new lg(t));return this.a},zkt.Af=function(){var t;return new wN((t=VP(this.e,10).d).d,t.c,t.a,t.b)},zkt.Bf=function(){return Gq(),Gq(),TRt},zkt.Cf=function(){var t,e;if(!this.c)for(this.c=lO(VP(this.e,10).j.c.length),e=new wd(VP(this.e,10).j);e.a<e.c.c.length;)t=VP(qU(e),11),nB(this.c,new NT(t,this.d));return this.c},zkt.Df=function(){return tv(lD(Ost(VP(this.e,10),(Lkt(),tXt))))},zkt.Ef=function(t){VP(this.e,10).d.b=t.b,VP(this.e,10).d.d=t.d,VP(this.e,10).d.c=t.c,VP(this.e,10).d.a=t.a},zkt.Ff=function(t){VP(this.e,10).f.b=t.b,VP(this.e,10).f.d=t.d,VP(this.e,10).f.c=t.c,VP(this.e,10).f.a=t.a},zkt.Gf=function(){var t,e;t=this,H_(),e=BUt,UN(VP(Ost(VP(t.e,10),(wkt(),w0t)),98))&&(Gq(),QM(VP(t.e,10).j,e))},zkt.a=null,zkt.b=null,zkt.c=null,zkt.d=!1,_R(wAt,"LGraphAdapters/LNodeAdapter",575),Wht(1722,657,{838:1},NT),zkt.zf=function(){var t,e,n,i;if(this.d&&VP(this.e,11).i.k==(gct(),ZUt))return Gq(),Gq(),TRt;if(!this.a){for(this.a=new iw,n=new wd(VP(this.e,11).e);n.a<n.c.c.length;)t=VP(qU(n),17),nB(this.a,new ug(t));if(this.d&&(i=VP(Ost(VP(this.e,11),(Lkt(),$Xt)),10)))for(e=new O$(dL(s9(i).a.Kc(),new l));Xht(e);)t=VP(xW(e),17),nB(this.a,new ug(t))}return this.a},zkt.wf=function(){var t,e;if(!this.b)for(this.b=lO(VP(this.e,11).f.c.length),e=new wd(VP(this.e,11).f);e.a<e.c.c.length;)t=VP(qU(e),70),nB(this.b,new lg(t));return this.b},zkt.Bf=function(){var t,e,n,i;if(this.d&&VP(this.e,11).i.k==(gct(),ZUt))return Gq(),Gq(),TRt;if(!this.c){for(this.c=new iw,n=new wd(VP(this.e,11).g);n.a<n.c.c.length;)t=VP(qU(n),17),nB(this.c,new ug(t));if(this.d&&(i=VP(Ost(VP(this.e,11),(Lkt(),$Xt)),10)))for(e=new O$(dL(c9(i).a.Kc(),new l));Xht(e);)t=VP(xW(e),17),nB(this.c,new ug(t))}return this.c},zkt.Hf=function(){return VP(this.e,11).j},zkt.If=function(){return tv(lD(Ost(VP(this.e,11),(Lkt(),wXt))))},zkt.a=null,zkt.b=null,zkt.c=null,zkt.d=!1,_R(wAt,"LGraphAdapters/LPortAdapter",1722),Wht(1723,1,zTt,$e),zkt.ue=function(t,e){return function(t,e){var n,i,r,a;if(0!=(a=t.j.g-e.j.g))return a;if(n=VP(Ost(t,(wkt(),y0t)),19),i=VP(Ost(e,y0t),19),n&&i&&0!=(r=n.a-i.a))return r;switch(t.j.g){case 1:return O8(t.n.a,e.n.a);case 2:return O8(t.n.b,e.n.b);case 3:return O8(e.n.a,t.n.a);case 4:return O8(e.n.b,t.n.b);default:throw lw(new Vm(vAt))}}(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(wAt,"LGraphAdapters/PortComparator",1723),Wht(804,1,Q_t,je),zkt.Mb=function(t){return VP(t,10),H_(),!0},_R(wAt,"LGraphAdapters/lambda$0$Type",804),Wht(392,299,{3:1,299:1,392:1,94:1,134:1}),_R(wAt,"LShape",392),Wht(70,392,{3:1,299:1,70:1,392:1,94:1,134:1},Cx,uI),zkt.Ib=function(){var t;return null==(t=function(t){return t.a?t.a:Aq(t)}(this))?"label":"l_"+t},_R(wAt,"LLabel",70),Wht(207,1,{3:1,4:1,207:1,414:1}),zkt.Fb=function(t){var e;return!!MI(t,207)&&(e=VP(t,207),this.d==e.d&&this.a==e.a&&this.b==e.b&&this.c==e.c)},zkt.Hb=function(){var t;return t=JA(this.b)<<16,(t|=JA(this.a)&fEt)^(JA(this.c)<<16|JA(this.d)&fEt)},zkt.Jf=function(t){var e,n,i,r,a,o,s,c,u;for(r=0;r<t.length&&f7((DU(r,t.length),t.charCodeAt(r)),EAt);)++r;for(e=t.length;e>0&&f7((DU(e-1,t.length),t.charCodeAt(e-1)),TAt);)--e;if(r<e){c=Lbt(t.substr(r,e-r),",|;");try{for(o=0,s=(a=c).length;o<s;++o){if(2!=(i=Lbt(a[o],"=")).length)throw lw(new Xm("Expecting a list of key-value pairs."));n=Wst(i[0]),u=wct(Wst(i[1])),jN(n,"top")?this.d=u:jN(n,"left")?this.b=u:jN(n,"bottom")?this.a=u:jN(n,"right")&&(this.c=u)}}catch(t){throw MI(t=k4(t),127)?lw(new Xm(CAt+t)):lw(t)}}},zkt.Ib=function(){return"[top="+this.d+",left="+this.b+",bottom="+this.a+",right="+this.c+"]"},zkt.a=0,zkt.b=0,zkt.c=0,zkt.d=0,_R(SAt,"Spacing",207),Wht(142,207,AAt,Ty,uM,wN,vP);var $Ut=_R(SAt,"ElkMargin",142);Wht(651,142,AAt,Ey),_R(wAt,"LMargin",651),Wht(10,392,{3:1,299:1,10:1,392:1,94:1,134:1},ait),zkt.Ib=function(){return mnt(this)},zkt.i=!1;var jUt,RUt,zUt,qUt,HUt,ZUt,UUt=_R(wAt,"LNode",10);Wht(267,22,{3:1,35:1,22:1,267:1},bT);var YUt,GUt=G1(wAt,"LNode/NodeType",267,cjt,(function(){return gct(),P4(Zv(GUt,1),K_t,267,0,[HUt,qUt,RUt,ZUt,zUt,jUt])}),(function(t){return gct(),rJ((w1(),YUt),t)}));Wht(116,207,MAt,Cy,FM,mP);var KUt,WUt,XUt,VUt,QUt,JUt,tYt=_R(SAt,"ElkPadding",116);Wht(764,116,MAt,Sy),_R(wAt,"LPadding",764),Wht(11,392,{3:1,299:1,11:1,392:1,94:1,134:1},Mct),zkt.Ib=function(){var t,e,n;return vA(((t=new Lv).a+="p_",t),krt(this)),this.i&&vA(mA((t.a+="[",t),this.i),"]"),1==this.e.c.length&&0==this.g.c.length&&VP(EF(this.e,0),17).c!=this&&(e=VP(EF(this.e,0),17).c,vA((t.a+=" << ",t),krt(e)),vA(mA((t.a+="[",t),e.i),"]")),0==this.e.c.length&&1==this.g.c.length&&VP(EF(this.g,0),17).d!=this&&(n=VP(EF(this.g,0),17).d,vA((t.a+=" >> ",t),krt(n)),vA(mA((t.a+="[",t),n.i),"]")),t.a},zkt.c=!0,zkt.d=!1;var eYt,nYt,iYt,rYt,aYt=_R(wAt,"LPort",11);Wht(397,1,D_t,hg),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new fg(new wd(this.a.e))},_R(wAt,"LPort/1",397),Wht(1290,1,f_t,fg),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return VP(qU(this.a),17).c},zkt.Ob=function(){return JM(this.a)},zkt.Qb=function(){Uj(this.a)},_R(wAt,"LPort/1/1",1290),Wht(359,1,D_t,dg),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new gg(new wd(this.a.g))},_R(wAt,"LPort/2",359),Wht(762,1,f_t,gg),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return VP(qU(this.a),17).d},zkt.Ob=function(){return JM(this.a)},zkt.Qb=function(){Uj(this.a)},_R(wAt,"LPort/2/1",762),Wht(1283,1,D_t,AT),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new YW(this)},_R(wAt,"LPort/CombineIter",1283),Wht(201,1,f_t,YW),zkt.Nb=function(t){Aj(this,t)},zkt.Qb=function(){zx()},zkt.Ob=function(){return VL(this)},zkt.Pb=function(){return JM(this.a)?qU(this.a):qU(this.b)},_R(wAt,"LPort/CombineIter/1",201),Wht(1285,1,aCt,Re),zkt.Lb=function(t){return Q$(t)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),0!=VP(t,11).e.c.length},_R(wAt,"LPort/lambda$0$Type",1285),Wht(1284,1,aCt,ze),zkt.Lb=function(t){return J$(t)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),0!=VP(t,11).g.c.length},_R(wAt,"LPort/lambda$1$Type",1284),Wht(1286,1,aCt,qe),zkt.Lb=function(t){return X2(),VP(t,11).j==(Mxt(),Eie)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),VP(t,11).j==(Mxt(),Eie)},_R(wAt,"LPort/lambda$2$Type",1286),Wht(1287,1,aCt,He),zkt.Lb=function(t){return X2(),VP(t,11).j==(Mxt(),_ie)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),VP(t,11).j==(Mxt(),_ie)},_R(wAt,"LPort/lambda$3$Type",1287),Wht(1288,1,aCt,Ze),zkt.Lb=function(t){return X2(),VP(t,11).j==(Mxt(),zie)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),VP(t,11).j==(Mxt(),zie)},_R(wAt,"LPort/lambda$4$Type",1288),Wht(1289,1,aCt,Ue),zkt.Lb=function(t){return X2(),VP(t,11).j==(Mxt(),Hie)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return X2(),VP(t,11).j==(Mxt(),Hie)},_R(wAt,"LPort/lambda$5$Type",1289),Wht(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},HR),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new wd(this.a)},zkt.Ib=function(){return"L_"+lQ(this.b.b,this,0)+Ust(this.a)},_R(wAt,"Layer",29),Wht(1342,1,{},gy),_R(LAt,OAt,1342),Wht(1346,1,{},Ye),zkt.Kb=function(t){return rst(VP(t,82))},_R(LAt,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),Wht(1349,1,{},Ge),zkt.Kb=function(t){return rst(VP(t,82))},_R(LAt,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),Wht(1343,1,A_t,pg),zkt.td=function(t){mht(this.a,VP(t,118))},_R(LAt,DAt,1343),Wht(1344,1,A_t,bg),zkt.td=function(t){mht(this.a,VP(t,118))},_R(LAt,NAt,1344),Wht(1345,1,{},Ke),zkt.Kb=function(t){return new CF(null,new NU(function(t){return!t.c&&(t.c=new LN(Jre,t,5,8)),t.c}(VP(t,79)),16))},_R(LAt,PAt,1345),Wht(1347,1,Q_t,wg),zkt.Mb=function(t){return function(t,e){return GJ(e,EZ(t))}(this.a,VP(t,33))},_R(LAt,BAt,1347),Wht(1348,1,{},We),zkt.Kb=function(t){return new CF(null,new NU(function(t){return!t.b&&(t.b=new LN(Jre,t,4,7)),t.b}(VP(t,79)),16))},_R(LAt,"ElkGraphImporter/lambda$5$Type",1348),Wht(1350,1,Q_t,yg),zkt.Mb=function(t){return function(t,e){return GJ(e,EZ(t))}(this.a,VP(t,33))},_R(LAt,"ElkGraphImporter/lambda$7$Type",1350),Wht(1351,1,Q_t,Xe),zkt.Mb=function(t){return function(t){return Wlt(t)&&tv(lD(_ft(t,(wkt(),I1t))))}(VP(t,79))},_R(LAt,"ElkGraphImporter/lambda$8$Type",1351),Wht(1278,1,{},Kl),_R(LAt,"ElkGraphLayoutTransferrer",1278),Wht(1279,1,Q_t,mg),zkt.Mb=function(t){return function(t,e){return Y_(),!j3(e.d.i,t)}(this.a,VP(t,17))},_R(LAt,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),Wht(1280,1,A_t,vg),zkt.td=function(t){Y_(),nB(this.a,VP(t,17))},_R(LAt,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),Wht(1281,1,Q_t,xg),zkt.Mb=function(t){return function(t,e){return Y_(),j3(e.d.i,t)}(this.a,VP(t,17))},_R(LAt,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),Wht(1282,1,A_t,kg),zkt.td=function(t){Y_(),nB(this.a,VP(t,17))},_R(LAt,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),Wht(1485,1,bAt,Ve),zkt.pf=function(t,e){!function(t,e){ast(e,FAt,1),C_(KQ(new CF(null,new NU(t.b,16)),new Qe),new Je),$ct(e)}(VP(t,37),e)},_R($At,"CommentNodeMarginCalculator",1485),Wht(1486,1,{},Qe),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"CommentNodeMarginCalculator/lambda$0$Type",1486),Wht(1487,1,A_t,Je),zkt.td=function(t){!function(t){var e,i,r,a,o,s,c,u,l,h,f,d;if(c=t.d,f=VP(Ost(t,(Lkt(),JXt)),15),e=VP(Ost(t,VWt),15),f||e){if(o=ev(hD(wtt(t,(wkt(),O0t)))),s=ev(hD(wtt(t,D0t))),d=0,f){for(l=0,a=f.Kc();a.Ob();)r=VP(a.Pb(),10),l=n.Math.max(l,r.o.b),d+=r.o.a;d+=o*(f.gc()-1),c.d+=l+s}if(i=0,e){for(l=0,a=e.Kc();a.Ob();)r=VP(a.Pb(),10),l=n.Math.max(l,r.o.b),i+=r.o.a;i+=o*(e.gc()-1),c.a+=l+s}(u=n.Math.max(d,i))>t.o.a&&(h=(u-t.o.a)/2,c.b=n.Math.max(c.b,h),c.c=n.Math.max(c.c,h))}}(VP(t,10))},_R($At,"CommentNodeMarginCalculator/lambda$1$Type",1487),Wht(1488,1,bAt,tn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c;for(ast(e,"Comment post-processing",1),a=new wd(t.b);a.a<a.c.c.length;){for(r=VP(qU(a),29),i=new iw,s=new wd(r.a);s.a<s.c.c.length;)o=VP(qU(s),10),c=VP(Ost(o,(Lkt(),JXt)),15),n=VP(Ost(o,VWt),15),(c||n)&&(dxt(o,c,n),c&&C4(i,c),n&&C4(i,n));C4(r.a,i)}$ct(e)}(VP(t,37),e)},_R($At,"CommentPostprocessor",1488),Wht(1489,1,bAt,en),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(ast(e,"Comment pre-processing",1),n=0,c=new wd(t.a);c.a<c.c.c.length;)if(tv(lD(Ost(s=VP(qU(c),10),(wkt(),jJt))))){for(++n,r=0,i=null,u=null,g=new wd(s.j);g.a<g.c.c.length;)r+=(f=VP(qU(g),11)).e.c.length+f.g.c.length,1==f.e.c.length&&(u=(i=VP(EF(f.e,0),17)).c),1==f.g.c.length&&(u=(i=VP(EF(f.g,0),17)).d);if(1!=r||u.e.c.length+u.g.c.length!=1||tv(lD(Ost(u.i,jJt)))){for(b=new iw,d=new wd(s.j);d.a<d.c.c.length;){for(h=new wd((f=VP(qU(d),11)).g);h.a<h.c.c.length;)0==(l=VP(qU(h),17)).d.g.c.length||(b.c[b.c.length]=l);for(o=new wd(f.e);o.a<o.c.c.length;)0==(a=VP(qU(o),17)).c.e.c.length||(b.c[b.c.length]=a)}for(p=new wd(b);p.a<p.c.c.length;)vyt(VP(qU(p),17),!0)}else Yxt(s,i,u,u.i),Uj(c)}e.n&&DB(e,"Found "+n+" comment boxes"),$ct(e)}(VP(t,37),e)},_R($At,"CommentPreprocessor",1489),Wht(1490,1,bAt,nn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o;for(ast(e,"Constraints Postprocessor",1),a=0,r=new wd(t.b);r.a<r.c.c.length;){for(o=0,i=new wd(VP(qU(r),29).a);i.a<i.c.c.length;)(n=VP(qU(i),10)).k==(gct(),HUt)&&(d5(n,(wkt(),F1t),p8(a)),d5(n,n1t,p8(o)),++o);++a}$ct(e)}(VP(t,37),e)},_R($At,"ConstraintsPostprocessor",1490),Wht(1491,1,bAt,rn),zkt.pf=function(t,e){I3(VP(t,37),e)},_R($At,"EdgeAndLayerConstraintEdgeReverser",1491),Wht(1492,1,bAt,an),zkt.pf=function(t,e){!function(t,e){ast(e,"End label post-processing",1),C_(lq(KQ(new CF(null,new NU(t.b,16)),new on),new sn),new cn),$ct(e)}(VP(t,37),e)},_R($At,"EndLabelPostprocessor",1492),Wht(1493,1,{},on),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"EndLabelPostprocessor/lambda$0$Type",1493),Wht(1494,1,Q_t,sn),zkt.Mb=function(t){return function(t){return t.k==(gct(),HUt)&&IO(t,(Lkt(),oXt))}(VP(t,10))},_R($At,"EndLabelPostprocessor/lambda$1$Type",1494),Wht(1495,1,A_t,cn),zkt.td=function(t){!function(t){var e,n,i,r,a;for(e=VP(Ost(t,(Lkt(),oXt)),83),a=t.n,i=e.Cc().Kc();i.Ob();)(r=(n=VP(i.Pb(),306)).i).c+=a.a,r.d+=a.b,n.c?ypt(n):mpt(n);d5(t,oXt,null)}(VP(t,10))},_R($At,"EndLabelPostprocessor/lambda$2$Type",1495),Wht(1496,1,bAt,un),zkt.pf=function(t,e){!function(t,e){var n,i,r;ast(e,"End label pre-processing",1),n=ev(hD(Ost(t,(wkt(),F0t)))),i=ev(hD(Ost(t,z0t))),r=dM(VP(Ost(t,s1t),103)),C_(KQ(new CF(null,new NU(t.b,16)),new ln),new TP(n,i,r)),$ct(e)}(VP(t,37),e)},_R($At,"EndLabelPreprocessor",1496),Wht(1497,1,{},ln),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"EndLabelPreprocessor/lambda$0$Type",1497),Wht(1498,1,A_t,TP),zkt.td=function(t){hE(this.a,this.b,this.c,VP(t,10))},zkt.a=0,zkt.b=0,zkt.c=!1,_R($At,"EndLabelPreprocessor/lambda$1$Type",1498),Wht(1499,1,Q_t,hn),zkt.Mb=function(t){return iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),cne))},_R($At,"EndLabelPreprocessor/lambda$2$Type",1499),Wht(1500,1,A_t,_g),zkt.td=function(t){$B(this.a,VP(t,70))},_R($At,"EndLabelPreprocessor/lambda$3$Type",1500),Wht(1501,1,Q_t,fn),zkt.Mb=function(t){return iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),sne))},_R($At,"EndLabelPreprocessor/lambda$4$Type",1501),Wht(1502,1,A_t,Eg),zkt.td=function(t){$B(this.a,VP(t,70))},_R($At,"EndLabelPreprocessor/lambda$5$Type",1502),Wht(1551,1,bAt,Gl),zkt.pf=function(t,e){!function(t,e){ast(e,"Sort end labels",1),C_(lq(KQ(new CF(null,new NU(t.b,16)),new gn),new pn),new bn),$ct(e)}(VP(t,37),e)},_R($At,"EndLabelSorter",1551),Wht(1552,1,zTt,dn),zkt.ue=function(t,e){return function(t,e){var n,i;return 0!=(n=nI(t.a.c.p,e.a.c.p))?n:0!=(i=nI(t.a.d.i.p,e.a.d.i.p))?i:nI(e.a.d.p,t.a.d.p)}(VP(t,456),VP(e,456))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"EndLabelSorter/1",1552),Wht(456,1,{456:1},Uq),_R($At,"EndLabelSorter/LabelGroup",456),Wht(1553,1,{},gn),zkt.Kb=function(t){return X_(),new CF(null,new NU(VP(t,29).a,16))},_R($At,"EndLabelSorter/lambda$0$Type",1553),Wht(1554,1,Q_t,pn),zkt.Mb=function(t){return X_(),VP(t,10).k==(gct(),HUt)},_R($At,"EndLabelSorter/lambda$1$Type",1554),Wht(1555,1,A_t,bn),zkt.td=function(t){!function(t){var e,n,i,r;if(e=!1,IO(t,(Lkt(),oXt)))for(n=VP(Ost(t,oXt),83),r=new wd(t.j);r.a<r.c.c.length;)idt(i=VP(qU(r),11))&&(e||(klt(pz(t)),e=!0),nnt(VP(n.xc(i),306)))}(VP(t,10))},_R($At,"EndLabelSorter/lambda$2$Type",1555),Wht(1556,1,Q_t,wn),zkt.Mb=function(t){return X_(),iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),sne))},_R($At,"EndLabelSorter/lambda$3$Type",1556),Wht(1557,1,Q_t,yn),zkt.Mb=function(t){return X_(),iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),cne))},_R($At,"EndLabelSorter/lambda$4$Type",1557),Wht(1503,1,bAt,mn),zkt.pf=function(t,e){Tmt(this,VP(t,37))},zkt.b=0,zkt.c=0,_R($At,"FinalSplineBendpointsCalculator",1503),Wht(1504,1,{},vn),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),Wht(1505,1,{},xn),zkt.Kb=function(t){return new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R($At,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),Wht(1506,1,Q_t,kn),zkt.Mb=function(t){return!JK(VP(t,17))},_R($At,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),Wht(1507,1,Q_t,_n),zkt.Mb=function(t){return IO(VP(t,17),(Lkt(),WXt))},_R($At,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),Wht(1508,1,A_t,Tg),zkt.td=function(t){!function(t,e){var n,i,r,a,o;if(!e.e){for(e.e=!0,i=e.d.a.ec().Kc();i.Ob();)n=VP(i.Pb(),17),e.o&&e.d.a.gc()<=1?(o=new XC((a=e.a.c)+(e.a.c+e.a.b-a)/2,e.b),$B(VP(e.d.a.ec().Kc().Pb(),17).a,o)):(r=VP(zR(e.c,n),459)).b||r.c?Abt(t,n,e):t.d==(O6(),m3t)&&(r.d||r.e)&&Eht(t,e)&&e.d.a.gc()<=1?Qvt(n,e):vpt(t,n,e);e.k&&GK(e.d,new En)}}(this.a,VP(t,128))},_R($At,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),Wht(1509,1,A_t,En),zkt.td=function(t){Fut(VP(t,17).a)},_R($At,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),Wht(792,1,bAt,Cg),zkt.pf=function(t,e){!function(t,e,n){var i,r;for(ast(n,"Graph transformation ("+t.a+")",1),r=GU(e.a),i=new wd(e.b);i.a<i.c.c.length;)C4(r,VP(qU(i),29).a);if(VP(Ost(e,(wkt(),c1t)),419)==(hJ(),zKt))switch(VP(Ost(e,s1t),103).g){case 2:rG(e,r);break;case 3:Stt(e,r);break;case 4:t.a==(b2(),rYt)?(Stt(e,r),iG(e,r)):(iG(e,r),Stt(e,r))}else if(t.a==(b2(),rYt))switch(VP(Ost(e,s1t),103).g){case 2:rG(e,r),iG(e,r);break;case 3:Stt(e,r),rG(e,r);break;case 4:rG(e,r),Stt(e,r)}else switch(VP(Ost(e,s1t),103).g){case 2:rG(e,r),iG(e,r);break;case 3:rG(e,r),Stt(e,r);break;case 4:Stt(e,r),rG(e,r)}$ct(n)}(this,VP(t,37),e)},_R($At,"GraphTransformer",792),Wht(511,22,{3:1,35:1,22:1,511:1},wT);var oYt,sYt,cYt,uYt=G1($At,"GraphTransformer/Mode",511,cjt,(function(){return b2(),P4(Zv(uYt,1),K_t,511,0,[rYt,iYt])}),(function(t){return b2(),rJ((CK(),oYt),t)}));Wht(1510,1,bAt,Tn),zkt.pf=function(t,e){dgt(VP(t,37),e)},_R($At,"HierarchicalNodeResizingProcessor",1510),Wht(1511,1,bAt,Cn),zkt.pf=function(t,e){i2(VP(t,37),e)},_R($At,"HierarchicalPortConstraintProcessor",1511),Wht(1512,1,zTt,Sn),zkt.ue=function(t,e){return function(t,e){var n,i,r,a;return r=t.k,n=ev(hD(Ost(t,(Lkt(),jXt)))),a=e.k,i=ev(hD(Ost(e,jXt))),a!=(gct(),RUt)?-1:r!=RUt?1:n==i?0:n<i?-1:1}(VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"HierarchicalPortConstraintProcessor/NodeComparator",1512),Wht(1513,1,bAt,An),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u;for(ast(e,"Hierarchical port dummy size processing",1),s=new iw,u=new iw,n=2*ev(hD(Ost(t,(wkt(),B0t)))),r=new wd(t.b);r.a<r.c.c.length;){for(i=VP(qU(r),29),s.c=WX(G$t,r_t,1,0,5,1),u.c=WX(G$t,r_t,1,0,5,1),o=new wd(i.a);o.a<o.c.c.length;)(a=VP(qU(o),10)).k==(gct(),RUt)&&((c=VP(Ost(a,(Lkt(),hXt)),61))==(Mxt(),Eie)?s.c[s.c.length]=a:c==zie&&(u.c[u.c.length]=a));Lht(s,!0,n),Lht(u,!1,n)}$ct(e)}(VP(t,37),e)},_R($At,"HierarchicalPortDummySizeProcessor",1513),Wht(1514,1,bAt,Mn),zkt.pf=function(t,e){Ipt(this,VP(t,37),e)},zkt.a=0,_R($At,"HierarchicalPortOrthogonalEdgeRouter",1514),Wht(1515,1,zTt,In),zkt.ue=function(t,e){return function(t,e){return O8(t.n.a,e.n.a)}(VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"HierarchicalPortOrthogonalEdgeRouter/1",1515),Wht(1516,1,zTt,Ln),zkt.ue=function(t,e){return function(t,e){return O8(ev(hD(Ost(t,(Lkt(),jXt)))),ev(hD(Ost(e,jXt))))}(VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"HierarchicalPortOrthogonalEdgeRouter/2",1516),Wht(1517,1,bAt,On),zkt.pf=function(t,e){!function(t,e){var n;ast(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&Jbt((OU(0,n.c.length),VP(n.c[0],29)),t),n.c.length>1&&Jbt(VP(EF(n,n.c.length-1),29),t),$ct(e)}(VP(t,37),e)},_R($At,"HierarchicalPortPositionProcessor",1517),Wht(1518,1,bAt,Wl),zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T;for(t.b=e,t.a=VP(Ost(e,(wkt(),T1t)),19).a,t.c=VP(Ost(e,S1t),19).a,0==t.c&&(t.c=Qkt),b=new QY(e.b,0);b.b<b.d.gc();){for(CO(b.b<b.d.gc()),p=VP(b.d.Xb(b.c=b.b++),29),c=new iw,f=-1,v=-1,m=new wd(p.a);m.a<m.c.c.length;)y=VP(qU(m),10),RG((LP(),new O$(dL(o9(y).a.Kc(),new l))))>=t.a&&(r=Pyt(t,y),f=n.Math.max(f,r.b),v=n.Math.max(v,r.d),nB(c,new mS(y,r)));for(_=new iw,h=0;h<f;++h)JF(_,0,(CO(b.b>0),b.a.Xb(b.c=--b.b),JD(b,E=new HR(t.b)),CO(b.b<b.d.gc()),b.d.Xb(b.c=b.b++),E));for(s=new wd(c);s.a<s.c.c.length;)if(a=VP(qU(s),46),g=VP(a.b,571).a)for(d=new wd(g);d.a<d.c.c.length;)Xrt(t,VP(qU(d),10),sYt,_);for(i=new iw,u=0;u<v;++u)nB(i,(JD(b,T=new HR(t.b)),T));for(o=new wd(c);o.a<o.c.c.length;)if(a=VP(qU(o),46),k=VP(a.b,571).c)for(x=new wd(k);x.a<x.c.c.length;)Xrt(t,VP(qU(x),10),cYt,i)}for(w=new QY(e.b,0);w.b<w.d.gc();)CO(w.b<w.d.gc()),0==VP(w.d.Xb(w.c=w.b++),29).a.c.length&&lz(w)}(this,VP(t,37))},zkt.a=0,zkt.c=0,_R($At,"HighDegreeNodeLayeringProcessor",1518),Wht(571,1,{571:1},Dn),zkt.b=-1,zkt.d=-1,_R($At,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),Wht(1519,1,{},Nn),zkt.Kb=function(t){return LP(),s9(VP(t,10))},zkt.Fb=function(t){return this===t},_R($At,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),Wht(1520,1,{},Pn),zkt.Kb=function(t){return LP(),c9(VP(t,10))},zkt.Fb=function(t){return this===t},_R($At,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),Wht(1526,1,bAt,Bn),zkt.pf=function(t,e){Hwt(this,VP(t,37),e)},_R($At,"HyperedgeDummyMerger",1526),Wht(793,1,{},CP),zkt.a=!1,zkt.b=!1,zkt.c=!1,_R($At,"HyperedgeDummyMerger/MergeState",793),Wht(1527,1,{},Fn),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"HyperedgeDummyMerger/lambda$0$Type",1527),Wht(1528,1,{},$n),zkt.Kb=function(t){return new CF(null,new NU(VP(t,10).j,16))},_R($At,"HyperedgeDummyMerger/lambda$1$Type",1528),Wht(1529,1,A_t,jn),zkt.td=function(t){VP(t,11).p=-1},_R($At,"HyperedgeDummyMerger/lambda$2$Type",1529),Wht(1530,1,bAt,Rn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u;for(ast(e,"Hypernodes processing",1),i=new wd(t.b);i.a<i.c.c.length;)for(o=new wd(VP(qU(i),29).a);o.a<o.c.c.length;)if(tv(lD(Ost(a=VP(qU(o),10),(wkt(),A1t))))&&a.j.c.length<=2){for(u=0,c=0,n=0,r=0,s=new wd(a.j);s.a<s.c.c.length;)switch(VP(qU(s),11).j.g){case 1:++u;break;case 2:++c;break;case 3:++n;break;case 4:++r}0==u&&0==n&&nkt(t,a,r<=c)}$ct(e)}(VP(t,37),e)},_R($At,"HypernodesProcessor",1530),Wht(1531,1,bAt,zn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l;for(ast(e,"Layer constraint edge reversal",1),o=new wd(t.b);o.a<o.c.c.length;){for(a=VP(qU(o),29),l=-1,n=new iw,u=IY(a.a),r=0;r<u.length;r++)i=VP(Ost(u[r],(Lkt(),yXt)),303),-1==l?i!=(LQ(),HWt)&&(l=r):i==(LQ(),HWt)&&(QZ(u[r],null),Hrt(u[r],l++,a)),i==(LQ(),zWt)&&nB(n,u[r]);for(c=new wd(n);c.a<c.c.c.length;)QZ(s=VP(qU(c),10),null),QZ(s,a)}$ct(e)}(VP(t,37),e)},_R($At,"InLayerConstraintProcessor",1531),Wht(1532,1,bAt,qn),zkt.pf=function(t,e){!function(t,e){ast(e,FAt,1),F9(function(t){return t.b=!1,t}(new Xd((H_(),new pq(t,!1,!1,new je))))),$ct(e)}(VP(t,37),e)},_R($At,"InnermostNodeMarginCalculator",1532),Wht(1533,1,bAt,Hn),zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c;if(VP(Ost(e,(Lkt(),gXt)),21).Hc((ipt(),SWt))){for(c=new wd(e.a);c.a<c.c.c.length;)(o=VP(qU(c),10)).k==(gct(),HUt)&&(a=VP(Ost(o,(wkt(),H1t)),142),t.c=n.Math.min(t.c,o.n.a-a.b),t.a=n.Math.max(t.a,o.n.a+o.o.a+a.c),t.d=n.Math.min(t.d,o.n.b-a.d),t.b=n.Math.max(t.b,o.n.b+o.o.b+a.a));for(s=new wd(e.a);s.a<s.c.c.length;)if((o=VP(qU(s),10)).k!=(gct(),HUt))switch(o.k.g){case 2:if((r=VP(Ost(o,(wkt(),B1t)),163))==(p9(),eVt)){o.n.a=t.c-10,Zrt(o,new Zn).Jb(new Sg(o));break}if(r==iVt){o.n.a=t.a+10,Zrt(o,new Un).Jb(new Ag(o));break}if((i=VP(Ost(o,yXt),303))==(LQ(),HWt)){Umt(o).Jb(new Mg(o)),o.n.b=t.d-10;break}if(i==zWt){Umt(o).Jb(new Ig(o)),o.n.b=t.b+10;break}break;default:throw lw(new Xm("The node type "+o.k+" is not supported by the "+dGt))}}}(this,VP(t,37))},zkt.a=tTt,zkt.b=tTt,zkt.c=JEt,zkt.d=JEt;var lYt,hYt,fYt,dYt,gYt,pYt,bYt,wYt,yYt,mYt,vYt,xYt,kYt,_Yt,EYt,TYt,CYt,SYt,AYt,MYt,IYt,LYt,OYt,DYt,NYt,PYt,BYt,FYt,$Yt,jYt,RYt,zYt,qYt,HYt,ZYt,UYt,YYt,GYt,KYt,WYt,XYt,VYt,QYt,JYt,tGt,eGt,nGt,iGt,rGt,aGt,oGt,sGt,cGt,uGt,lGt,hGt,fGt,dGt=_R($At,"InteractiveExternalPortPositioner",1533);Wht(1534,1,{},Zn),zkt.Kb=function(t){return VP(t,17).d.i},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$0$Type",1534),Wht(1535,1,{},Sg),zkt.Kb=function(t){return function(t,e){return t.n.b=(yz(e),e)}(this.a,hD(t))},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$1$Type",1535),Wht(1536,1,{},Un),zkt.Kb=function(t){return VP(t,17).c.i},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$2$Type",1536),Wht(1537,1,{},Ag),zkt.Kb=function(t){return function(t,e){return t.n.b=(yz(e),e)}(this.a,hD(t))},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$3$Type",1537),Wht(1538,1,{},Mg),zkt.Kb=function(t){return function(t,e){return t.n.a=(yz(e),e+10)}(this.a,hD(t))},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$4$Type",1538),Wht(1539,1,{},Ig),zkt.Kb=function(t){return function(t,e){return t.n.a=(yz(e),e+10)}(this.a,hD(t))},zkt.Fb=function(t){return this===t},_R($At,"InteractiveExternalPortPositioner/lambda$5$Type",1539),Wht(77,22,{3:1,35:1,22:1,77:1,234:1},yT),zkt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ba;case 47:return new ma;case 28:case 35:return new ni;case 32:return new Ve;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new Cg((b2(),rYt));case 0:return new Cg((b2(),iYt));case 2:return new rn;case 54:return new an;case 33:return new un;case 51:return new mn;case 55:return new Tn;case 13:return new Cn;case 38:return new An;case 44:return new Mn;case 40:return new On;case 9:return new Wl;case 49:return new uO;case 37:return new Bn;case 43:return new Rn;case 27:return new zn;case 30:return new qn;case 3:return new Hn;case 18:return new Gn;case 29:return new Kn;case 5:return new Xl;case 50:return new Yn;case 34:return new Vl;case 36:return new ii;case 52:return new Gl;case 11:return new ai;case 7:return new Jl;case 39:return new oi;case 45:return new si;case 16:return new ci;case 10:return new ui;case 48:return new hi;case 21:return new fi;case 23:return new Um((f0(),Y3t));case 8:return new gi;case 12:return new bi;case 4:return new wi;case 19:return new ih;case 17:return new Si;case 53:return new Ai;case 6:return new zi;case 25:return new my;case 46:return new Ni;case 31:return new lN;case 14:return new Wi;case 26:return new Ca;case 20:return new tr;case 24:return new Um((f0(),G3t));default:throw lw(new Xm(zAt+(null!=this.f?this.f:""+this.g)))}};var gGt,pGt,bGt,wGt,yGt,mGt,vGt,xGt,kGt=G1($At,qAt,77,cjt,Udt,(function(t){return Dkt(),rJ((NA(),gGt),t)}));Wht(1540,1,bAt,Gn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(ast(e,"Inverted port preprocessing",1),s=new QY(t.b,0),n=null,b=new iw;s.b<s.d.gc();){for(p=n,CO(s.b<s.d.gc()),n=VP(s.d.Xb(s.c=s.b++),29),l=new wd(b);l.a<l.c.c.length;)QZ(c=VP(qU(l),10),p);for(b.c=WX(G$t,r_t,1,0,5,1),h=new wd(n.a);h.a<h.c.c.length;)if((c=VP(qU(h),10)).k==(gct(),HUt)&&pM(VP(Ost(c,(wkt(),w0t)),98))){for(g=Fpt(c,(l0(),i3t),(Mxt(),_ie)).Kc();g.Ob();)for(f=VP(g.Pb(),11),r=0,a=(i=VP(Het(o=f.e,WX(PUt,xAt,17,o.c.length,0,1)),474)).length;r<a;++r)Zyt(t,f,i[r],b);for(d=Fpt(c,r3t,Hie).Kc();d.Ob();)for(f=VP(d.Pb(),11),r=0,a=(i=VP(Het(o=f.g,WX(PUt,xAt,17,o.c.length,0,1)),474)).length;r<a;++r)Hyt(t,f,i[r],b)}}for(u=new wd(b);u.a<u.c.c.length;)QZ(c=VP(qU(u),10),n);$ct(e)}(VP(t,37),e)},_R($At,"InvertedPortProcessor",1540),Wht(1541,1,bAt,Kn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a;if(ast(e,"Node and Port Label Placement and Node Sizing",1),DM((H_(),new pq(t,!0,!0,new Wn))),VP(Ost(t,(Lkt(),gXt)),21).Hc((ipt(),SWt)))for(i=(r=VP(Ost(t,(wkt(),v0t)),21)).Hc((Ilt(),yie)),a=tv(lD(Ost(t,x0t))),n=new wd(t.b);n.a<n.c.c.length;)C_(lq(new CF(null,new NU(VP(qU(n),29).a,16)),new Xn),new SP(r,i,a));$ct(e)}(VP(t,37),e)},_R($At,"LabelAndNodeSizeProcessor",1541),Wht(1542,1,Q_t,Wn),zkt.Mb=function(t){return VP(t,10).k==(gct(),HUt)},_R($At,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),Wht(1543,1,Q_t,Xn),zkt.Mb=function(t){return VP(t,10).k==(gct(),RUt)},_R($At,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),Wht(1544,1,A_t,SP),zkt.td=function(t){fE(this.b,this.a,this.c,VP(t,10))},zkt.a=!1,zkt.c=!1,_R($At,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),Wht(1545,1,bAt,Xl),zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b;for(ast(e,"Label dummy insertions",1),d=new iw,s=ev(hD(Ost(t,(wkt(),F0t)))),h=ev(hD(Ost(t,z0t))),f=VP(Ost(t,s1t),103),g=new wd(t.a);g.a<g.c.c.length;)for(o=new O$(dL(c9(VP(qU(g),10)).a.Kc(),new l));Xht(o);)if((a=VP(xW(o),17)).c.i!=a.d.i&&TI(a.b,pGt)){for(i=cdt(t,a,b=ZJ(a),p=lO(a.b.c.length)),d.c[d.c.length]=i,r=i.o,c=new QY(a.b,0);c.b<c.d.gc();)CO(c.b<c.d.gc()),iA(Ost(u=VP(c.d.Xb(c.c=c.b++),70),f1t))===iA((JJ(),one))&&(f==(e8(),ine)||f==Jee?(r.a+=u.o.a+h,r.b=n.Math.max(r.b,u.o.b)):(r.a=n.Math.max(r.a,u.o.a),r.b+=u.o.b+h),p.c[p.c.length]=u,lz(c));f==(e8(),ine)||f==Jee?(r.a-=h,r.b+=s+b):r.b+=s-h+b}C4(t.a,d),$ct(e)}(VP(t,37),e)},_R($At,"LabelDummyInserter",1545),Wht(1546,1,aCt,Vn),zkt.Lb=function(t){return iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),one))},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return iA(Ost(VP(t,70),(wkt(),f1t)))===iA((JJ(),one))},_R($At,"LabelDummyInserter/1",1546),Wht(1547,1,bAt,Yn),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(ast(e,"Label dummy removal",1),i=ev(hD(Ost(t,(wkt(),F0t)))),r=ev(hD(Ost(t,z0t))),c=VP(Ost(t,s1t),103),s=new wd(t.b);s.a<s.c.c.length;)for(l=new QY(VP(qU(s),29).a,0);l.b<l.d.gc();)CO(l.b<l.d.gc()),(u=VP(l.d.Xb(l.c=l.b++),10)).k==(gct(),zUt)&&(h=VP(Ost(u,(Lkt(),IXt)),17),d=ev(hD(Ost(h,x1t))),o=iA(Ost(u,kXt))===iA((zrt(),$ne)),n=new hM(u.n),o&&(n.b+=d+i),a=new XC(u.o.a,u.o.b-d-i),f=VP(Ost(u,qXt),15),c==(e8(),ine)||c==Jee?ppt(f,n,r,a,o,c):b7(f,n,r,a),C4(h.b,f),dvt(u,iA(Ost(t,g1t))===iA((b9(),fne))),lz(l));$ct(e)}(VP(t,37),e)},_R($At,"LabelDummyRemover",1547),Wht(1548,1,Q_t,Qn),zkt.Mb=function(t){return tv(lD(Ost(VP(t,70),(wkt(),h1t))))},_R($At,"LabelDummyRemover/lambda$0$Type",1548),Wht(1359,1,bAt,Vl),zkt.pf=function(t,e){Svt(this,VP(t,37),e)},zkt.a=null,_R($At,"LabelDummySwitcher",1359),Wht(286,1,{286:1},mbt),zkt.c=0,zkt.d=null,zkt.f=0,_R($At,"LabelDummySwitcher/LabelDummyInfo",286),Wht(1360,1,{},Jn),zkt.Kb=function(t){return m2(),new CF(null,new NU(VP(t,29).a,16))},_R($At,"LabelDummySwitcher/lambda$0$Type",1360),Wht(1361,1,Q_t,ti),zkt.Mb=function(t){return m2(),VP(t,10).k==(gct(),zUt)},_R($At,"LabelDummySwitcher/lambda$1$Type",1361),Wht(1362,1,{},Dg),zkt.Kb=function(t){return function(t,e){return m2(),new mbt(e,t)}(this.a,VP(t,10))},_R($At,"LabelDummySwitcher/lambda$2$Type",1362),Wht(1363,1,A_t,Ng),zkt.td=function(t){!function(t,e){m2(),VP(Zz(t,e.d),15).Fc(e)}(this.a,VP(t,286))},_R($At,"LabelDummySwitcher/lambda$3$Type",1363),Wht(1364,1,zTt,ei),zkt.ue=function(t,e){return function(t,e){return m2(),O8(e.a.o.a,t.a.o.a)}(VP(t,286),VP(e,286))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"LabelDummySwitcher/lambda$4$Type",1364),Wht(791,1,bAt,ni),zkt.pf=function(t,e){!function(t,e){ast(e,"Label management",1),pA(Ost(t,(eX(),j9t))),$ct(e)}(VP(t,37),e)},_R($At,"LabelManagementProcessor",791),Wht(1549,1,bAt,ii),zkt.pf=function(t,e){!function(t,e){var n;switch(ast(e,"Label side selection ("+(n=VP(Ost(t,(wkt(),d1t)),276))+")",1),n.g){case 0:rft(t,(zrt(),Fne));break;case 1:rft(t,(zrt(),$ne));break;case 2:Cyt(t,(zrt(),Fne));break;case 3:Cyt(t,(zrt(),$ne));break;case 4:Jgt(t,(zrt(),Fne));break;case 5:Jgt(t,(zrt(),$ne))}$ct(e)}(VP(t,37),e)},_R($At,"LabelSideSelector",1549),Wht(1550,1,Q_t,ri),zkt.Mb=function(t){return tv(lD(Ost(VP(t,70),(wkt(),h1t))))},_R($At,"LabelSideSelector/lambda$0$Type",1550),Wht(1558,1,bAt,ai),zkt.pf=function(t,e){Fyt(VP(t,37),e)},_R($At,"LayerConstraintPostprocessor",1558),Wht(1559,1,bAt,Jl),zkt.pf=function(t,e){!function(t,e){var n,i,r;for(ast(e,"Layer constraint preprocessing",1),n=new iw,r=new QY(t.a,0);r.b<r.d.gc();)CO(r.b<r.d.gc()),J4(i=VP(r.d.Xb(r.c=r.b++),10))&&(Zot(i),n.c[n.c.length]=i,lz(r));0==n.c.length||d5(t,(Lkt(),pXt),n),$ct(e)}(VP(t,37),e)},_R($At,"LayerConstraintPreprocessor",1559),Wht(360,22,{3:1,35:1,22:1,360:1},mT);var _Gt,EGt,TGt,CGt,SGt,AGt,MGt,IGt,LGt,OGt=G1($At,"LayerConstraintPreprocessor/HiddenNodeConnections",360,cjt,(function(){return F4(),P4(Zv(OGt,1),K_t,360,0,[xGt,mGt,vGt,yGt])}),(function(t){return F4(),rJ((WV(),_Gt),t)}));Wht(1560,1,bAt,oi),zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(ast(e,"Layer size calculation",1),h=JEt,l=tTt,a=!1,c=new wd(t.b);c.a<c.c.c.length;)if((u=(s=VP(qU(c),29)).c).a=0,u.b=0,0!=s.a.c.length){for(a=!0,d=new wd(s.a);d.a<d.c.c.length;)p=(f=VP(qU(d),10)).o,g=f.d,u.a=n.Math.max(u.a,p.a+g.b+g.c);b=(r=VP(EF(s.a,0),10)).n.b-r.d.d,r.k==(gct(),RUt)&&(b-=VP(Ost(t,(wkt(),K0t)),142).d),i=(o=VP(EF(s.a,s.a.c.length-1),10)).n.b+o.o.b+o.d.a,o.k==RUt&&(i+=VP(Ost(t,(wkt(),K0t)),142).a),u.b=i-b,h=n.Math.min(h,b),l=n.Math.max(l,i)}a||(h=0,l=0),t.f.b=l-h,t.c.b-=h,$ct(e)}(VP(t,37),e)},_R($At,"LayerSizeAndGraphHeightCalculator",1560),Wht(1561,1,bAt,si),zkt.pf=function(t,e){!function(t,e){var n,i,r,a;for(ast(e,"Edge joining",1),n=tv(lD(Ost(t,(wkt(),V0t)))),i=new wd(t.b);i.a<i.c.c.length;)for(a=new QY(VP(qU(i),29).a,0);a.b<a.d.gc();)CO(a.b<a.d.gc()),(r=VP(a.d.Xb(a.c=a.b++),10)).k==(gct(),qUt)&&(dvt(r,n),lz(a));$ct(e)}(VP(t,37),e)},_R($At,"LongEdgeJoiner",1561),Wht(1562,1,bAt,ci),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l;if(ast(e,"Edge splitting",1),t.b.c.length<=2)$ct(e);else{for(CO((a=new QY(t.b,0)).b<a.d.gc()),o=VP(a.d.Xb(a.c=a.b++),29);a.b<a.d.gc();)for(r=o,CO(a.b<a.d.gc()),o=VP(a.d.Xb(a.c=a.b++),29),s=new wd(r.a);s.a<s.c.c.length;)for(c=new wd(VP(qU(s),10).j);c.a<c.c.c.length;)for(i=new wd(VP(qU(c),11).g);i.a<i.c.c.length;)(u=(n=VP(qU(i),17)).d.i.c)!=r&&u!=o&&qgt(n,(Lf(l=new ait(t),(gct(),qUt)),d5(l,(Lkt(),IXt),n),d5(l,(wkt(),w0t),($ot(),cie)),QZ(l,o),l));$ct(e)}}(VP(t,37),e)},_R($At,"LongEdgeSplitter",1562),Wht(1563,1,bAt,ui),zkt.pf=function(t,e){Mvt(this,VP(t,37),e)},zkt.d=0,zkt.e=0,zkt.i=0,zkt.j=0,zkt.k=0,zkt.n=0,_R($At,"NodePromotion",1563),Wht(1564,1,{},li),zkt.Kb=function(t){return VP(t,46),EL(),!0},zkt.Fb=function(t){return this===t},_R($At,"NodePromotion/lambda$0$Type",1564),Wht(1565,1,{},Lg),zkt.Kb=function(t){return function(t,e){return EL(),VP(e.b,19).a<t}(this.a,VP(t,46))},zkt.Fb=function(t){return this===t},zkt.a=0,_R($At,"NodePromotion/lambda$1$Type",1565),Wht(1566,1,{},Og),zkt.Kb=function(t){return function(t,e){return EL(),VP(e.a,19).a<t}(this.a,VP(t,46))},zkt.Fb=function(t){return this===t},zkt.a=0,_R($At,"NodePromotion/lambda$2$Type",1566),Wht(1567,1,bAt,hi),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m;for(ast(e,YAt,1),f=VP(Ost(t,(wkt(),g1t)),218),i=new wd(t.b);i.a<i.c.c.length;)for(o=0,s=(a=IY(VP(qU(i),29).a)).length;o<s;++o)if((r=a[o]).k==(gct(),ZUt)){if(f==(b9(),dne))for(u=new wd(r.j);u.a<u.c.c.length;)0==(c=VP(qU(u),11)).e.c.length||Met(c),0==c.g.c.length||Iet(c);else if(MI(Ost(r,(Lkt(),IXt)),17))g=VP(Ost(r,IXt),17),p=VP(Dct(r,(Mxt(),Hie)).Kc().Pb(),11),b=VP(Dct(r,_ie).Kc().Pb(),11),w=VP(Ost(p,IXt),11),VZ(g,y=VP(Ost(b,IXt),11)),XZ(g,w),(m=new hM(b.i.n)).a=O5(P4(Zv(q9t,1),T_t,8,0,[y.i.n,y.n,y.a])).a,$B(g.a,m),(m=new hM(p.i.n)).a=O5(P4(Zv(q9t,1),T_t,8,0,[w.i.n,w.n,w.a])).a,$B(g.a,m);else{if(r.j.c.length>=2){for(d=!0,n=VP(qU(l=new wd(r.j)),11),h=null;l.a<l.c.c.length;)if(h=n,n=VP(qU(l),11),!X7(Ost(h,IXt),Ost(n,IXt))){d=!1;break}}else d=!1;for(u=new wd(r.j);u.a<u.c.c.length;)0==(c=VP(qU(u),11)).e.c.length||wgt(c,d),0==c.g.c.length||ygt(c,d)}QZ(r,null)}$ct(e)}(VP(t,37),e)},_R($At,"NorthSouthPortPostprocessor",1567),Wht(1568,1,bAt,fi),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(ast(e,YAt,1),g=new iw,v=new iw,u=new wd(t.b);u.a<u.c.c.length;)for(b=-1,f=0,d=(h=IY((c=VP(qU(u),29)).a)).length;f<d;++f)if(++b,(l=h[f]).k==(gct(),HUt)&&pM(VP(Ost(l,(wkt(),w0t)),98))){for(UN(VP(Ost(l,(wkt(),w0t)),98))||ogt(l),d5(l,(Lkt(),mXt),l),g.c=WX(G$t,r_t,1,0,5,1),v.c=WX(G$t,r_t,1,0,5,1),n=new iw,O2(y=new T_,Dct(l,(Mxt(),Eie))),ukt(t,y,g,v,n),s=b,x=l,a=new wd(g);a.a<a.c.c.length;)Hrt(i=VP(qU(a),10),s,c),++b,d5(i,mXt,l),o=VP(EF(i.j,0),11),p=VP(Ost(o,IXt),11),tv(lD(Ost(p,FJt)))||VP(Ost(i,vXt),15).Fc(x);for(zq(y),w=Dct(l,zie).Kc();w.Ob();)WK(y,VP(w.Pb(),11),y.a,y.a.a);for(ukt(t,y,v,null,n),m=l,r=new wd(v);r.a<r.c.c.length;)Hrt(i=VP(qU(r),10),++b,c),d5(i,mXt,l),o=VP(EF(i.j,0),11),p=VP(Ost(o,IXt),11),tv(lD(Ost(p,FJt)))||VP(Ost(m,vXt),15).Fc(i);0==n.c.length||d5(l,XWt,n)}$ct(e)}(VP(t,37),e)},_R($At,"NorthSouthPortPreprocessor",1568),Wht(1569,1,zTt,di),zkt.ue=function(t,e){return function(t,e){var n,i;return(n=t.j)!=(i=e.j)?n.g-i.g:t.p==e.p?0:n==(Mxt(),Eie)?t.p-e.p:e.p-t.p}(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"NorthSouthPortPreprocessor/lambda$0$Type",1569),Wht(1570,1,bAt,gi),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o;if(ast(e,"Partition midprocessing",1),r=new JH,C_(lq(new CF(null,new NU(t.a,16)),new pi),new Pg(r)),0!=r.d){for(o=VP(xK(SU(new CF(null,(r.i||(r.i=new iL(r,r.c))).Nc())),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15),n=VP((i=o.Kc()).Pb(),19);i.Ob();)a=VP(i.Pb(),19),Odt(VP(jW(r,n),21),VP(jW(r,a),21)),n=a;$ct(e)}}(VP(t,37),e)},_R($At,"PartitionMidprocessor",1570),Wht(1571,1,Q_t,pi),zkt.Mb=function(t){return IO(VP(t,10),(wkt(),u0t))},_R($At,"PartitionMidprocessor/lambda$0$Type",1571),Wht(1572,1,A_t,Pg),zkt.td=function(t){!function(t,e){Vlt(t,VP(Ost(e,(wkt(),u0t)),19),e)}(this.a,VP(t,10))},_R($At,"PartitionMidprocessor/lambda$1$Type",1572),Wht(1573,1,bAt,bi),zkt.pf=function(t,e){!function(t,e){var n,i,r;for(ast(e,"Partition postprocessing",1),n=new wd(t.b);n.a<n.c.c.length;)for(i=new wd(VP(qU(n),29).a);i.a<i.c.c.length;)for(r=new wd(VP(qU(i),10).j);r.a<r.c.c.length;)tv(lD(Ost(VP(qU(r),11),(Lkt(),FXt))))&&Uj(r);$ct(e)}(VP(t,37),e)},_R($At,"PartitionPostprocessor",1573),Wht(1574,1,bAt,wi),zkt.pf=function(t,e){!function(t,e){ast(e,"Partition preprocessing",1),C_(VP(xK(lq(KQ(lq(new CF(null,new NU(t.a,16)),new yi),new mi),new vi),mV(new q,new z,new it,P4(Zv(pzt,1),K_t,132,0,[(M6(),szt)]))),15).Oc(),new xi),$ct(e)}(VP(t,37),e)},_R($At,"PartitionPreprocessor",1574),Wht(1575,1,Q_t,yi),zkt.Mb=function(t){return IO(VP(t,10),(wkt(),u0t))},_R($At,"PartitionPreprocessor/lambda$0$Type",1575),Wht(1576,1,{},mi),zkt.Kb=function(t){return new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R($At,"PartitionPreprocessor/lambda$1$Type",1576),Wht(1577,1,Q_t,vi),zkt.Mb=function(t){return function(t){var e,n;return!!IO(t.d.i,(wkt(),u0t))&&(e=VP(Ost(t.c.i,u0t),19),n=VP(Ost(t.d.i,u0t),19),nI(e.a,n.a)>0)}(VP(t,17))},_R($At,"PartitionPreprocessor/lambda$2$Type",1577),Wht(1578,1,A_t,xi),zkt.td=function(t){!function(t){var e;vyt(t,!0),e=hEt,IO(t,(wkt(),C0t))&&(e+=VP(Ost(t,C0t),19).a),d5(t,C0t,p8(e))}(VP(t,17))},_R($At,"PartitionPreprocessor/lambda$3$Type",1578),Wht(1579,1,bAt,ih),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s;for(ast(e,"Port order processing",1),s=VP(Ost(t,(wkt(),_0t)),421),n=new wd(t.b);n.a<n.c.c.length;)for(r=new wd(VP(qU(n),29).a);r.a<r.c.c.length;)i=VP(qU(r),10),a=VP(Ost(i,w0t),98),o=i.j,a==($ot(),sie)||a==uie||a==cie?(Gq(),QM(o,EGt)):a!=hie&&a!=fie&&(Gq(),QM(o,CGt),oit(o),s==(OQ(),t3t)&&QM(o,TGt)),i.i=!0,xlt(i);$ct(e)}(VP(t,37),e)},_R($At,"PortListSorter",1579),Wht(1580,1,{},ki),zkt.Kb=function(t){return L6(),VP(t,11).e},_R($At,"PortListSorter/lambda$0$Type",1580),Wht(1581,1,{},_i),zkt.Kb=function(t){return L6(),VP(t,11).g},_R($At,"PortListSorter/lambda$1$Type",1581),Wht(1582,1,zTt,Ei),zkt.ue=function(t,e){return yK(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"PortListSorter/lambda$2$Type",1582),Wht(1583,1,zTt,Ti),zkt.ue=function(t,e){return function(t,e){if(L6(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return g9(e,AGt)-g9(t,AGt);case 4:return g9(t,SGt)-g9(e,SGt)}return 0}(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"PortListSorter/lambda$3$Type",1583),Wht(1584,1,zTt,Ci),zkt.ue=function(t,e){return Lwt(VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"PortListSorter/lambda$4$Type",1584),Wht(1585,1,bAt,Si),zkt.pf=function(t,e){!function(t,e){var n,i,r;for(ast(e,"Port side processing",1),r=new wd(t.a);r.a<r.c.c.length;)kyt(VP(qU(r),10));for(n=new wd(t.b);n.a<n.c.c.length;)for(i=new wd(VP(qU(n),29).a);i.a<i.c.c.length;)kyt(VP(qU(i),10));$ct(e)}(VP(t,37),e)},_R($At,"PortSideProcessor",1585),Wht(1586,1,bAt,Ai),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c;for(ast(e,"Restoring reversed edges",1),o=new wd(t.b);o.a<o.c.c.length;)for(s=new wd(VP(qU(o),29).a);s.a<s.c.c.length;)for(c=new wd(VP(qU(s),10).j);c.a<c.c.c.length;)for(r=0,a=(i=MY(VP(qU(c),11).g)).length;r<a;++r)tv(lD(Ost(n=i[r],(Lkt(),HXt))))&&vyt(n,!1);$ct(e)}(VP(t,37),e)},_R($At,"ReversedEdgeRestorer",1586),Wht(1591,1,bAt,my),zkt.pf=function(t,e){!function(t,e,n){ast(n,"Self-Loop ordering",1),C_(hq(lq(lq(KQ(new CF(null,new NU(e.b,16)),new Mi),new Ii),new Li),new Oi),new Bg(t)),$ct(n)}(this,VP(t,37),e)},_R($At,"SelfLoopPortRestorer",1591),Wht(1592,1,{},Mi),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"SelfLoopPortRestorer/lambda$0$Type",1592),Wht(1593,1,Q_t,Ii),zkt.Mb=function(t){return VP(t,10).k==(gct(),HUt)},_R($At,"SelfLoopPortRestorer/lambda$1$Type",1593),Wht(1594,1,Q_t,Li),zkt.Mb=function(t){return IO(VP(t,10),(Lkt(),UXt))},_R($At,"SelfLoopPortRestorer/lambda$2$Type",1594),Wht(1595,1,{},Oi),zkt.Kb=function(t){return VP(Ost(VP(t,10),(Lkt(),UXt)),403)},_R($At,"SelfLoopPortRestorer/lambda$3$Type",1595),Wht(1596,1,A_t,Bg),zkt.td=function(t){Sct(this.a,VP(t,403))},_R($At,"SelfLoopPortRestorer/lambda$4$Type",1596),Wht(794,1,A_t,Di),zkt.td=function(t){Gct(VP(t,101))},_R($At,"SelfLoopPortRestorer/lambda$5$Type",794),Wht(1597,1,bAt,Ni),zkt.pf=function(t,e){!function(t,e){ast(e,"Self-Loop post-processing",1),C_(lq(lq(KQ(new CF(null,new NU(t.b,16)),new Pi),new Bi),new Fi),new $i),$ct(e)}(VP(t,37),e)},_R($At,"SelfLoopPostProcessor",1597),Wht(1598,1,{},Pi),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"SelfLoopPostProcessor/lambda$0$Type",1598),Wht(1599,1,Q_t,Bi),zkt.Mb=function(t){return VP(t,10).k==(gct(),HUt)},_R($At,"SelfLoopPostProcessor/lambda$1$Type",1599),Wht(1600,1,Q_t,Fi),zkt.Mb=function(t){return IO(VP(t,10),(Lkt(),UXt))},_R($At,"SelfLoopPostProcessor/lambda$2$Type",1600),Wht(1601,1,A_t,$i),zkt.td=function(t){!function(t){var e;C_(KQ(new CF(null,new NU((e=VP(Ost(t,(Lkt(),UXt)),403)).d,16)),new ji),new Fg(t)),C_(lq(new CF(null,new NU(e.d,16)),new Ri),new $g(t))}(VP(t,10))},_R($At,"SelfLoopPostProcessor/lambda$3$Type",1601),Wht(1602,1,{},ji),zkt.Kb=function(t){return new CF(null,new NU(VP(t,101).f,1))},_R($At,"SelfLoopPostProcessor/lambda$4$Type",1602),Wht(1603,1,A_t,Fg),zkt.td=function(t){!function(t,e){var n;VZ(n=e.a,e.c.d),XZ(n,e.d.d),c1(n.a,t.n)}(this.a,VP(t,409))},_R($At,"SelfLoopPostProcessor/lambda$5$Type",1603),Wht(1604,1,Q_t,Ri),zkt.Mb=function(t){return!!VP(t,101).i},_R($At,"SelfLoopPostProcessor/lambda$6$Type",1604),Wht(1605,1,A_t,$g),zkt.td=function(t){Bm(this.a,VP(t,101))},_R($At,"SelfLoopPostProcessor/lambda$7$Type",1605),Wht(1587,1,bAt,zi),zkt.pf=function(t,e){!function(t,e){var n,i,r,a;for(ast(e,"Self-Loop pre-processing",1),i=new wd(t.a);i.a<i.c.c.length;)S9(n=VP(qU(i),10))&&(a=new Aet(n),d5(n,(Lkt(),UXt),a),cwt(a),C_(hq(KQ(new CF(null,new NU((r=a).d,16)),new qi),new Hi),new Zi),ggt(r));$ct(e)}(VP(t,37),e)},_R($At,"SelfLoopPreProcessor",1587),Wht(1588,1,{},qi),zkt.Kb=function(t){return new CF(null,new NU(VP(t,101).f,1))},_R($At,"SelfLoopPreProcessor/lambda$0$Type",1588),Wht(1589,1,{},Hi),zkt.Kb=function(t){return VP(t,409).a},_R($At,"SelfLoopPreProcessor/lambda$1$Type",1589),Wht(1590,1,A_t,Zi),zkt.td=function(t){!function(t){VZ(t,null),XZ(t,null)}(VP(t,17))},_R($At,"SelfLoopPreProcessor/lambda$2$Type",1590),Wht(1606,1,bAt,lN),zkt.pf=function(t,e){pct(this,VP(t,37),e)},_R($At,"SelfLoopRouter",1606),Wht(1607,1,{},Ui),zkt.Kb=function(t){return new CF(null,new NU(VP(t,29).a,16))},_R($At,"SelfLoopRouter/lambda$0$Type",1607),Wht(1608,1,Q_t,Yi),zkt.Mb=function(t){return VP(t,10).k==(gct(),HUt)},_R($At,"SelfLoopRouter/lambda$1$Type",1608),Wht(1609,1,Q_t,Gi),zkt.Mb=function(t){return IO(VP(t,10),(Lkt(),UXt))},_R($At,"SelfLoopRouter/lambda$2$Type",1609),Wht(1610,1,{},Ki),zkt.Kb=function(t){return VP(Ost(VP(t,10),(Lkt(),UXt)),403)},_R($At,"SelfLoopRouter/lambda$3$Type",1610),Wht(1611,1,A_t,vT),zkt.td=function(t){_q(this.a,this.b,VP(t,403))},_R($At,"SelfLoopRouter/lambda$4$Type",1611),Wht(1612,1,bAt,Wi),zkt.pf=function(t,e){!function(t,e){var n,i;for(ast(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new wd(t.b);i.a<i.c.c.length;)n|=null!=K7(qJ(lq(lq(new CF(null,new NU(VP(qU(i),29).a,16)),new Xi),new Vi),new Qi),new Ji).a;n&&d5(t,(Lkt(),xXt),(EL(),!0)),$ct(e)}(VP(t,37),e)},_R($At,"SemiInteractiveCrossMinProcessor",1612),Wht(1613,1,Q_t,Xi),zkt.Mb=function(t){return VP(t,10).k==(gct(),HUt)},_R($At,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),Wht(1614,1,Q_t,Vi),zkt.Mb=function(t){return MF(VP(t,10))._b((wkt(),E0t))},_R($At,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),Wht(1615,1,zTt,Qi),zkt.ue=function(t,e){return function(t,e){var n,i;return n=VP(Ost(t,(wkt(),E0t)),8),i=VP(Ost(e,E0t),8),O8(n.b,i.b)}(VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R($At,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),Wht(1616,1,{},Ji),zkt.Ce=function(t,e){return function(t,e){return VP(Ost(t,(Lkt(),vXt)),15).Fc(e),e}(VP(t,10),VP(e,10))},_R($At,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),Wht(1618,1,bAt,tr),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c;for(ast(e,"Sort By Input Model "+Ost(t,(wkt(),KJt)),1),r=0,i=new wd(t.b);i.a<i.c.c.length;){for(n=VP(qU(i),29),c=0==r?0:r-1,s=VP(EF(t.b,c),29),o=new wd(n.a);o.a<o.c.c.length;)iA(Ost(a=VP(qU(o),10),w0t))!==iA(($ot(),sie))&&iA(Ost(a,w0t))!==iA(cie)&&(Gq(),QM(a.j,new bQ(s,Vrt(a))),DB(e,"Node "+a+" ports: "+a.j));Gq(),QM(n.a,new D2(s,VP(Ost(t,KJt),339),VP(Ost(t,YJt),378))),DB(e,"Layer "+r+": "+n),++r}$ct(e)}(VP(t,37),e)},_R($At,"SortByInputModelProcessor",1618),Wht(1619,1,Q_t,er),zkt.Mb=function(t){return 0!=VP(t,11).g.c.length},_R($At,"SortByInputModelProcessor/lambda$0$Type",1619),Wht(1620,1,A_t,jg),zkt.td=function(t){nut(this.a,VP(t,11))},_R($At,"SortByInputModelProcessor/lambda$1$Type",1620),Wht(1693,803,{},o2),zkt.Me=function(t){var e,n,i,r;switch(this.c=t,this.a.g){case 2:e=new iw,C_(lq(new CF(null,new NU(this.c.a.b,16)),new pr),new TT(this,e)),Wut(this,new rr),KJ(e,new ar),e.c=WX(G$t,r_t,1,0,5,1),C_(lq(new CF(null,new NU(this.c.a.b,16)),new or),new zg(e)),Wut(this,new sr),KJ(e,new cr),e.c=WX(G$t,r_t,1,0,5,1),n=eI(z2(fq(new CF(null,new NU(this.c.a.b,16)),new qg(this))),new ur),C_(new CF(null,new NU(this.c.a.a,16)),new kT(n,e)),Wut(this,new hr),KJ(e,new nr),e.c=WX(G$t,r_t,1,0,5,1);break;case 3:i=new iw,Wut(this,new ir),r=eI(z2(fq(new CF(null,new NU(this.c.a.b,16)),new Rg(this))),new lr),C_(lq(new CF(null,new NU(this.c.a.b,16)),new fr),new ET(r,i)),Wut(this,new dr),KJ(i,new gr),i.c=WX(G$t,r_t,1,0,5,1);break;default:throw lw(new jw)}},zkt.b=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation",1693),Wht(1694,1,aCt,ir),zkt.Lb=function(t){return MI(VP(t,57).g,145)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return MI(VP(t,57).g,145)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),Wht(1695,1,{},Rg),zkt.Fe=function(t){return function(t,e){var i,r;return MI(e.g,10)&&VP(e.g,10).k==(gct(),RUt)?JEt:CG(e)?n.Math.max(0,t.b/2-.5):(i=RY(e))?(r=ev(hD(wtt(i,(wkt(),U0t)))),n.Math.max(0,r/2-.5)):JEt}(this.a,VP(t,57))},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),Wht(1703,1,J_t,xT),zkt.Vd=function(){mat(this.a,this.b,-1)},zkt.b=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),Wht(1705,1,aCt,rr),zkt.Lb=function(t){return MI(VP(t,57).g,145)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return MI(VP(t,57).g,145)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),Wht(1706,1,A_t,ar),zkt.td=function(t){VP(t,365).Vd()},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),Wht(1707,1,Q_t,or),zkt.Mb=function(t){return MI(VP(t,57).g,10)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),Wht(1709,1,A_t,zg),zkt.td=function(t){!function(t,e){var i,r;r=ev(hD(wtt(RY(e),(wkt(),P0t)))),mat(e,i=n.Math.max(0,r/2-.5),1),nB(t,new IT(e,i))}(this.a,VP(t,57))},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),Wht(1708,1,J_t,IT),zkt.Vd=function(){mat(this.b,this.a,-1)},zkt.a=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),Wht(1710,1,aCt,sr),zkt.Lb=function(t){return MI(VP(t,57).g,10)},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return MI(VP(t,57).g,10)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),Wht(1711,1,A_t,cr),zkt.td=function(t){VP(t,365).Vd()},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),Wht(1712,1,{},qg),zkt.Fe=function(t){return function(t,e){var i,r;return MI(e.g,10)&&VP(e.g,10).k==(gct(),RUt)?JEt:CG(e)?n.Math.max(0,t.b/2-.5):(i=RY(e))?(r=ev(hD(wtt(i,(wkt(),U0t)))),n.Math.max(0,r/2-.5)):JEt}(this.a,VP(t,57))},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),Wht(1713,1,{},ur),zkt.De=function(){return 0},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),Wht(1696,1,{},lr),zkt.De=function(){return 0},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),Wht(1715,1,A_t,kT),zkt.td=function(t){!function(t,e,n){xft(n,t,1),nB(e,new _T(n,t))}(this.a,this.b,VP(t,307))},zkt.a=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),Wht(1714,1,J_t,_T),zkt.Vd=function(){xft(this.a,this.b,-1)},zkt.b=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),Wht(1716,1,aCt,hr),zkt.Lb=function(t){return VP(t,57),!0},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return VP(t,57),!0},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),Wht(1717,1,A_t,nr),zkt.td=function(t){VP(t,365).Vd()},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),Wht(1697,1,Q_t,fr),zkt.Mb=function(t){return MI(VP(t,57).g,10)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),Wht(1699,1,A_t,ET),zkt.td=function(t){!function(t,e,n){mat(n,t,1),nB(e,new LT(n,t))}(this.a,this.b,VP(t,57))},zkt.a=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),Wht(1698,1,J_t,LT),zkt.Vd=function(){mat(this.b,this.a,-1)},zkt.a=0,_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),Wht(1700,1,aCt,dr),zkt.Lb=function(t){return VP(t,57),!0},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return VP(t,57),!0},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),Wht(1701,1,A_t,gr),zkt.td=function(t){VP(t,365).Vd()},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),Wht(1702,1,Q_t,pr),zkt.Mb=function(t){return MI(VP(t,57).g,145)},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),Wht(1704,1,A_t,TT),zkt.td=function(t){!function(t,e,i){var r;mat(i,r=n.Math.max(0,t.b/2-.5),1),nB(e,new xT(i,r))}(this.a,this.b,VP(t,57))},_R(GAt,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),Wht(1521,1,bAt,uO),zkt.pf=function(t,e){Rmt(this,VP(t,37),e)},_R(GAt,"HorizontalGraphCompactor",1521),Wht(1522,1,{},Hg),zkt.Oe=function(t,e){var n,i;return jQ(t,e)?0:(n=RY(t),i=RY(e),n&&n.k==(gct(),RUt)||i&&i.k==(gct(),RUt)?0:function(t,e,n){return OG(t,e,n,t.b)}(VP(Ost(this.a.a,(Lkt(),YXt)),304),n?n.k:(gct(),qUt),i?i.k:(gct(),qUt)))},zkt.Pe=function(t,e){var n,i;return jQ(t,e)?1:(n=RY(t),i=RY(e),QL(VP(Ost(this.a.a,(Lkt(),YXt)),304),n?n.k:(gct(),qUt),i?i.k:(gct(),qUt)))},_R(GAt,"HorizontalGraphCompactor/1",1522),Wht(1523,1,{},br),zkt.Ne=function(t,e){return Q_(),0==t.a.i},_R(GAt,"HorizontalGraphCompactor/lambda$0$Type",1523),Wht(1524,1,{},Zg),zkt.Ne=function(t,e){return function(t,e,n){return Q_(),function(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}(VP(zR(t.e,e),522),n)}(this.a,t,e)},_R(GAt,"HorizontalGraphCompactor/lambda$1$Type",1524),Wht(1664,1,{},pQ),_R(GAt,"LGraphToCGraphTransformer",1664),Wht(1672,1,Q_t,wr),zkt.Mb=function(t){return null!=t},_R(GAt,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),Wht(1665,1,{},yr),zkt.Kb=function(t){return OP(),A9(Ost(VP(VP(t,57).g,10),(Lkt(),IXt)))},_R(GAt,"LGraphToCGraphTransformer/lambda$0$Type",1665),Wht(1666,1,{},mr),zkt.Kb=function(t){return OP(),j7(VP(VP(t,57).g,145))},_R(GAt,"LGraphToCGraphTransformer/lambda$1$Type",1666),Wht(1675,1,Q_t,vr),zkt.Mb=function(t){return OP(),MI(VP(t,57).g,10)},_R(GAt,"LGraphToCGraphTransformer/lambda$10$Type",1675),Wht(1676,1,A_t,xr),zkt.td=function(t){!function(t){var e;OP(),(e=VP(t.g,10)).n.a=t.d.c+e.d.b}(VP(t,57))},_R(GAt,"LGraphToCGraphTransformer/lambda$11$Type",1676),Wht(1677,1,Q_t,kr),zkt.Mb=function(t){return OP(),MI(VP(t,57).g,145)},_R(GAt,"LGraphToCGraphTransformer/lambda$12$Type",1677),Wht(1681,1,A_t,_r),zkt.td=function(t){!function(t){var e,n;OP(),e=t.d.c-t.e.c,KJ((n=VP(t.g,145)).b,new Ug(e)),KJ(n.c,new Yg(e)),GK(n.i,new Gg(e))}(VP(t,57))},_R(GAt,"LGraphToCGraphTransformer/lambda$13$Type",1681),Wht(1678,1,A_t,Ug),zkt.td=function(t){!function(t,e){OP(),e.a+=t}(this.a,VP(t,8))},zkt.a=0,_R(GAt,"LGraphToCGraphTransformer/lambda$14$Type",1678),Wht(1679,1,A_t,Yg),zkt.td=function(t){!function(t,e){OP(),e.c+=t}(this.a,VP(t,110))},zkt.a=0,_R(GAt,"LGraphToCGraphTransformer/lambda$15$Type",1679),Wht(1680,1,A_t,Gg),zkt.td=function(t){!function(t,e){OP(),e.a+=t}(this.a,VP(t,8))},zkt.a=0,_R(GAt,"LGraphToCGraphTransformer/lambda$16$Type",1680),Wht(1682,1,{},Er),zkt.Kb=function(t){return OP(),new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R(GAt,"LGraphToCGraphTransformer/lambda$17$Type",1682),Wht(1683,1,Q_t,Tr),zkt.Mb=function(t){return OP(),JK(VP(t,17))},_R(GAt,"LGraphToCGraphTransformer/lambda$18$Type",1683),Wht(1684,1,A_t,Kg),zkt.td=function(t){!function(t,e){var n,i,r;r=e.c.i,i=(n=VP(zR(t.f,r),57)).d.c-n.e.c,F2(e.a,i,0)}(this.a,VP(t,17))},_R(GAt,"LGraphToCGraphTransformer/lambda$19$Type",1684),Wht(1668,1,A_t,Wg),zkt.td=function(t){!function(t,e){var n;n=VP(zR(t.g,e),57),KJ(e.d,new CT(t,n))}(this.a,VP(t,145))},_R(GAt,"LGraphToCGraphTransformer/lambda$2$Type",1668),Wht(1685,1,{},Cr),zkt.Kb=function(t){return OP(),new CF(null,new NU(VP(t,29).a,16))},_R(GAt,"LGraphToCGraphTransformer/lambda$20$Type",1685),Wht(1686,1,{},Sr),zkt.Kb=function(t){return OP(),new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R(GAt,"LGraphToCGraphTransformer/lambda$21$Type",1686),Wht(1687,1,{},Ar),zkt.Kb=function(t){return OP(),VP(Ost(VP(t,17),(Lkt(),WXt)),15)},_R(GAt,"LGraphToCGraphTransformer/lambda$22$Type",1687),Wht(1688,1,Q_t,Mr),zkt.Mb=function(t){return function(t){return OP(),!!t&&!t.dc()}(VP(t,15))},_R(GAt,"LGraphToCGraphTransformer/lambda$23$Type",1688),Wht(1689,1,A_t,Xg),zkt.td=function(t){!function(t,e){var n,i,r,a,o;if(!e.dc())if(r=VP(e.Xb(0),128),1!=e.gc())for(n=1;n<e.gc();)!r.j&&r.o||(a=_rt(e,n))&&(i=VP(a.a,19).a,Cgt(t,r,o=VP(a.b,128),n,i,e),n=i+1,r=o);else Cgt(t,r,r,1,0,e)}(this.a,VP(t,15))},_R(GAt,"LGraphToCGraphTransformer/lambda$24$Type",1689),Wht(1667,1,A_t,CT),zkt.td=function(t){!function(t,e,n){var i;i=VP(zR(t.g,n),57),nB(t.a.c,new mS(e,i))}(this.a,this.b,VP(t,145))},_R(GAt,"LGraphToCGraphTransformer/lambda$3$Type",1667),Wht(1669,1,{},Ir),zkt.Kb=function(t){return OP(),new CF(null,new NU(VP(t,29).a,16))},_R(GAt,"LGraphToCGraphTransformer/lambda$4$Type",1669),Wht(1670,1,{},Lr),zkt.Kb=function(t){return OP(),new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R(GAt,"LGraphToCGraphTransformer/lambda$5$Type",1670),Wht(1671,1,{},Or),zkt.Kb=function(t){return OP(),VP(Ost(VP(t,17),(Lkt(),WXt)),15)},_R(GAt,"LGraphToCGraphTransformer/lambda$6$Type",1671),Wht(1673,1,A_t,Vg),zkt.td=function(t){!function(t,e){var n,i,r,a;for(OP(),n=null,r=e.Kc();r.Ob();)(i=VP(r.Pb(),128)).o||(nB((a=new Ryt(gI(i.a),yB(i.a),null,VP(i.d.a.ec().Kc().Pb(),17))).c,i.a),t.c[t.c.length]=a,n&&nB(n.d,a),n=a)}(this.a,VP(t,15))},_R(GAt,"LGraphToCGraphTransformer/lambda$8$Type",1673),Wht(1674,1,A_t,ST),zkt.td=function(t){!function(t,e,n){Pz(t.g,n,e)}(this.a,this.b,VP(t,145))},_R(GAt,"LGraphToCGraphTransformer/lambda$9$Type",1674),Wht(1663,1,{},Dr),zkt.Le=function(t){var e,i,r,a,o;for(this.a=t,this.d=new Jw,this.c=WX(rqt,r_t,121,this.a.a.a.c.length,0,1),this.b=0,i=new wd(this.a.a.a);i.a<i.c.c.length;)(e=VP(qU(i),307)).d=this.b,o=qL(B_(new ny,e),this.d),this.c[this.b]=o,++this.b;for(function(t){var e,i,r,a,o,s,c,u,l,h,f,d;for(a=new wd(t.a.a.b);a.a<a.c.c.length;)for(u=(r=VP(qU(a),57)).c.Kc();u.Ob();)c=VP(u.Pb(),57),r.a!=c.a&&(f=fM(t.a.d)?t.a.g.Oe(r,c):t.a.g.Pe(r,c),o=r.b.a+r.d.b+f-c.b.a,o=n.Math.ceil(o),o=n.Math.max(0,o),jQ(r,c)?(s=qL(new ny,t.d),e=(l=cZ(n.Math.ceil(c.b.a-r.b.a)))-(c.b.a-r.b.a),i=r,(h=CG(r).a)||(h=CG(c).a,e=-e,i=c),h&&(i.b.a-=e,h.n.a-=e),cgt(N_(D_(P_(O_(new ey,n.Math.max(0,l)),1),s),t.c[r.a.d])),cgt(N_(D_(P_(O_(new ey,n.Math.max(0,-l)),1),s),t.c[c.a.d]))):(d=1,(MI(r.g,145)&&MI(c.g,10)||MI(c.g,145)&&MI(r.g,10))&&(d=2),cgt(N_(D_(P_(O_(new ey,cZ(o)),d),t.c[r.a.d]),t.c[c.a.d]))))}(this),function(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,y;for(u=new rw,s=new JH,i=new wd(t.a.a.b);i.a<i.c.c.length;)if(c=RY(e=VP(qU(i),57)))Qut(u.f,c,e);else if(y=CG(e))for(r=new wd(y.k);r.a<r.c.c.length;)Vlt(s,VP(qU(r),17),e);for(n=new wd(t.a.a.b);n.a<n.c.c.length;)if(c=RY(e=VP(qU(n),57)))for(o=new O$(dL(c9(c).a.Kc(),new l));Xht(o);)if(!JK(a=VP(xW(o),17))&&(g=a.c,w=a.d,!(Mxt(),Pie).Hc(a.c.j)||!Pie.Hc(a.d.j))){if(p=VP(zR(u,a.d.i),57),cgt(N_(D_(P_(O_(new ey,0),100),t.c[e.a.d]),t.c[p.a.d])),g.j==Hie&&J$((X2(),g)))for(f=VP(jW(s,a),21).Kc();f.Ob();)if((h=VP(f.Pb(),57)).d.c<e.d.c){if((d=t.c[h.a.d])==(b=t.c[e.a.d]))continue;cgt(N_(D_(P_(O_(new ey,1),100),d),b))}if(w.j==_ie&&Q$((X2(),w)))for(f=VP(jW(s,a),21).Kc();f.Ob();)if((h=VP(f.Pb(),57)).d.c>e.d.c){if((d=t.c[e.a.d])==(b=t.c[h.a.d]))continue;cgt(N_(D_(P_(O_(new ey,1),100),d),b))}}}(this),function(t){var e,n,i,r,a,o,s;for(a=new T_,r=new wd(t.d.a);r.a<r.c.c.length;)0==(i=VP(qU(r),121)).b.a.c.length&&WK(a,i,a.c.b,a.c);if(a.b>1)for(e=qL((n=new ny,++t.b,n),t.d),s=tnt(a,0);s.b!=s.d.c;)o=VP(AG(s),121),cgt(N_(D_(P_(O_(new ey,1),0),e),o))}(this),Ubt(MP(this.d),new om),a=new wd(this.a.a.b);a.a<a.c.c.length;)(r=VP(qU(a),57)).d.c=this.c[r.a.d].e+r.b.a},zkt.b=0,_R(GAt,"NetworkSimplexCompaction",1663),Wht(145,1,{35:1,145:1},Ryt),zkt.wd=function(t){return function(t,e){var n;return 0==(n=v9(t.e.c,e.e.c))?O8(t.e.d,e.e.d):n}(this,VP(t,145))},zkt.Ib=function(){return j7(this)},_R(GAt,"VerticalSegment",145),Wht(827,1,{},Dot),zkt.c=0,zkt.e=0,zkt.i=0,_R(KAt,"BetweenLayerEdgeTwoNodeCrossingsCounter",827),Wht(663,1,{663:1},t3),zkt.Ib=function(){return"AdjacencyList [node="+this.d+", adjacencies= "+this.a+"]"},zkt.b=0,zkt.c=0,zkt.f=0,_R(KAt,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList",663),Wht(287,1,{35:1,287:1},FO),zkt.wd=function(t){return function(t,e){return t.c<e.c?-1:t.c==e.c?0:1}(this,VP(t,287))},zkt.Ib=function(){return"Adjacency [position="+this.c+", cardinality="+this.a+", currentCardinality="+this.b+"]"},zkt.a=0,zkt.b=0,zkt.c=0,_R(KAt,"BetweenLayerEdgeTwoNodeCrossingsCounter/AdjacencyList/Adjacency",287),Wht(1929,1,{},Yct),zkt.b=0,zkt.e=!1,_R(KAt,"CrossingMatrixFiller",1929);var DGt,NGt,PGt,BGt,FGt=oF(WAt,"IInitializable");Wht(1804,1,XAt,BT),zkt.Nf=function(t,e,n,i,r,a){},zkt.Pf=function(t,e,n){},zkt.Lf=function(){return this.c!=(f0(),Y3t)},zkt.Mf=function(){this.e=WX(Kce,CEt,25,this.d,15,1)},zkt.Of=function(t,e){e[t][0].c.p=t},zkt.Qf=function(t,e,n,i){++this.d},zkt.Rf=function(){return!0},zkt.Sf=function(t,e,n,i){return _7(this,t,e,n),function(t,e){var n,i;i=!1;do{i|=n=p5(t,e)}while(n);return i}(this,e)},zkt.Tf=function(t,e){var n;return _7(this,t,n=function(t,e){return t?0:e-1}(e,t.length),e),p5(this,n)},zkt.d=0,_R(KAt,"GreedySwitchHeuristic",1804),Wht(1930,1,{},UF),zkt.b=0,zkt.d=0,_R(KAt,"NorthSouthEdgeNeighbouringNodeCrossingsCounter",1930),Wht(1917,1,{},jpt),zkt.a=!1,_R(KAt,"SwitchDecider",1917),Wht(101,1,{101:1},out),zkt.a=null,zkt.c=null,zkt.i=null,_R(VAt,"SelfHyperLoop",101),Wht(1916,1,{},Wet),zkt.c=0,zkt.e=0,_R(VAt,"SelfHyperLoopLabels",1916),Wht(411,22,{3:1,35:1,22:1,411:1},FT);var $Gt,jGt,RGt,zGt,qGt,HGt,ZGt=G1(VAt,"SelfHyperLoopLabels/Alignment",411,cjt,(function(){return $4(),P4(Zv(ZGt,1),K_t,411,0,[DGt,NGt,PGt,BGt])}),(function(t){return $4(),rJ((VV(),$Gt),t)}));Wht(409,1,{409:1},WW),_R(VAt,"SelfLoopEdge",409),Wht(403,1,{403:1},Aet),zkt.a=!1,_R(VAt,"SelfLoopHolder",403),Wht(1724,1,Q_t,Hr),zkt.Mb=function(t){return JK(VP(t,17))},_R(VAt,"SelfLoopHolder/lambda$0$Type",1724),Wht(113,1,{113:1},Xet),zkt.a=!1,zkt.c=!1,_R(VAt,"SelfLoopPort",113),Wht(1792,1,Q_t,Zr),zkt.Mb=function(t){return JK(VP(t,17))},_R(VAt,"SelfLoopPort/lambda$0$Type",1792),Wht(363,22,{3:1,35:1,22:1,363:1},$T);var UGt,YGt,GGt,KGt,WGt,XGt,VGt,QGt,JGt=G1(VAt,"SelfLoopType",363,cjt,(function(){return Tot(),P4(Zv(JGt,1),K_t,363,0,[RGt,qGt,HGt,zGt,jGt])}),(function(t){return Tot(),rJ((gJ(),UGt),t)}));Wht(1732,1,{},rh),_R(QAt,"PortRestorer",1732),Wht(361,22,{3:1,35:1,22:1,361:1},jT);var tKt,eKt,nKt,iKt,rKt,aKt,oKt,sKt,cKt,uKt=G1(QAt,"PortRestorer/PortSideArea",361,cjt,(function(){return y2(),P4(Zv(uKt,1),K_t,361,0,[QGt,VGt,XGt])}),(function(t){return y2(),rJ((SX(),tKt),t)}));Wht(1733,1,{},Kr),zkt.Kb=function(t){return Vst(),VP(t,15).Oc()},_R(QAt,"PortRestorer/lambda$0$Type",1733),Wht(1734,1,A_t,Wr),zkt.td=function(t){Vst(),VP(t,113).c=!1},_R(QAt,"PortRestorer/lambda$1$Type",1734),Wht(1743,1,Q_t,Xr),zkt.Mb=function(t){return Vst(),VP(t,11).j==(Mxt(),Hie)},_R(QAt,"PortRestorer/lambda$10$Type",1743),Wht(1744,1,{},Vr),zkt.Kb=function(t){return Vst(),VP(t,113).d},_R(QAt,"PortRestorer/lambda$11$Type",1744),Wht(1745,1,A_t,Qg),zkt.td=function(t){!function(t,e){Vst(),JZ(e,t)}(this.a,VP(t,11))},_R(QAt,"PortRestorer/lambda$12$Type",1745),Wht(1735,1,A_t,Jg),zkt.td=function(t){!function(t,e){Vst(),Vlt(t,e.e,e)}(this.a,VP(t,101))},_R(QAt,"PortRestorer/lambda$2$Type",1735),Wht(1736,1,zTt,Qr),zkt.ue=function(t,e){return function(t,e){return Vst(),nI(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}(VP(t,113),VP(e,113))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(QAt,"PortRestorer/lambda$3$Type",1736),Wht(1737,1,Q_t,Jr),zkt.Mb=function(t){return Vst(),VP(t,113).c},_R(QAt,"PortRestorer/lambda$4$Type",1737),Wht(1738,1,Q_t,Pr),zkt.Mb=function(t){return function(t){var e,n,i;return t.j==(Mxt(),Eie)&&(n=$L(e=Nht(t),_ie),(i=$L(e,Hie))||i&&n)}(VP(t,11))},_R(QAt,"PortRestorer/lambda$5$Type",1738),Wht(1739,1,Q_t,Nr),zkt.Mb=function(t){return Vst(),VP(t,11).j==(Mxt(),Eie)},_R(QAt,"PortRestorer/lambda$6$Type",1739),Wht(1740,1,Q_t,Br),zkt.Mb=function(t){return Vst(),VP(t,11).j==(Mxt(),_ie)},_R(QAt,"PortRestorer/lambda$7$Type",1740),Wht(1741,1,Q_t,Fr),zkt.Mb=function(t){return function(t){return t.j==(Mxt(),zie)&&$L(Nht(t),_ie)}(VP(t,11))},_R(QAt,"PortRestorer/lambda$8$Type",1741),Wht(1742,1,Q_t,$r),zkt.Mb=function(t){return Vst(),VP(t,11).j==(Mxt(),zie)},_R(QAt,"PortRestorer/lambda$9$Type",1742),Wht(270,22,{3:1,35:1,22:1,270:1},xq);var lKt,hKt,fKt,dKt,gKt,pKt,bKt,wKt,yKt=G1(QAt,"PortSideAssigner/Target",270,cjt,(function(){return spt(),P4(Zv(yKt,1),K_t,270,0,[nKt,aKt,eKt,cKt,rKt,iKt,sKt,oKt])}),(function(t){return spt(),rJ((w3(),lKt),t)}));Wht(1725,1,{},jr),zkt.Kb=function(t){return lq(new CF(null,new NU(VP(t,101).j,16)),new Gr)},_R(QAt,"PortSideAssigner/lambda$1$Type",1725),Wht(1726,1,{},Rr),zkt.Kb=function(t){return VP(t,113).d},_R(QAt,"PortSideAssigner/lambda$2$Type",1726),Wht(1727,1,A_t,zr),zkt.td=function(t){plt(VP(t,11),(Mxt(),Eie))},_R(QAt,"PortSideAssigner/lambda$3$Type",1727),Wht(1728,1,{},qr),zkt.Kb=function(t){return VP(t,113).d},_R(QAt,"PortSideAssigner/lambda$4$Type",1728),Wht(1729,1,A_t,tp),zkt.td=function(t){!function(t,e){plt(e,t)}(this.a,VP(t,11))},_R(QAt,"PortSideAssigner/lambda$5$Type",1729),Wht(1730,1,zTt,Ur),zkt.ue=function(t,e){return function(t,e){return nI(e.j.c.length,t.j.c.length)}(VP(t,101),VP(e,101))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(QAt,"PortSideAssigner/lambda$6$Type",1730),Wht(1731,1,zTt,Yr),zkt.ue=function(t,e){return function(t,e){return nI(nF(t.d),nF(e.d))}(VP(t,113),VP(e,113))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(QAt,"PortSideAssigner/lambda$7$Type",1731),Wht(805,1,Q_t,Gr),zkt.Mb=function(t){return VP(t,113).c},_R(QAt,"PortSideAssigner/lambda$8$Type",805),Wht(2009,1,{}),_R(JAt,"AbstractSelfLoopRouter",2009),Wht(1750,1,zTt,ta),zkt.ue=function(t,e){return function(t,e){return nI(t.a.d.p,e.a.d.p)}(VP(t,101),VP(e,101))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(JAt,MCt,1750),Wht(1751,1,zTt,ea),zkt.ue=function(t,e){return function(t,e){return nI(e.a.d.p,t.a.d.p)}(VP(t,101),VP(e,101))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(JAt,ICt,1751),Wht(1793,2009,{},na),zkt.Uf=function(t,e,n){return n},_R(JAt,"OrthogonalSelfLoopRouter",1793),Wht(1795,1,A_t,OT),zkt.td=function(t){yet(this.b,this.a,VP(t,8))},_R(JAt,"OrthogonalSelfLoopRouter/lambda$0$Type",1795),Wht(1794,1793,{},ia),zkt.Uf=function(t,e,i){var r,a;return LO(i,0,mN(pI((r=t.c.d).n),r.a)),$B(i,mN(pI((a=t.d.d).n),a.a)),function(t){var e,i,r,a,o,s,c,u;for(u=new Ny,c=null,i=VP(AG(e=tnt(t,0)),8),a=VP(AG(e),8);e.b!=e.d.c;)c=i,i=a,a=VP(AG(e),8),o=LJ(vN(new XC(c.a,c.b),i)),s=LJ(vN(new XC(a.a,a.b),i)),r=10,r=n.Math.min(r,n.Math.abs(o.a+o.b)/2),r=n.Math.min(r,n.Math.abs(s.a+s.b)/2),o.a=ZB(o.a)*r,o.b=ZB(o.b)*r,s.a=ZB(s.a)*r,s.b=ZB(s.b)*r,$B(u,mN(o,i)),$B(u,mN(s,i));return u}(i)},_R(JAt,"PolylineSelfLoopRouter",1794),Wht(1746,1,{},Ql),zkt.a=null,_R(JAt,"RoutingDirector",1746),Wht(1747,1,zTt,ra),zkt.ue=function(t,e){return function(t,e){return J_(),nI(t.d.p,e.d.p)}(VP(t,113),VP(e,113))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(JAt,"RoutingDirector/lambda$0$Type",1747),Wht(1748,1,{},aa),zkt.Kb=function(t){return J_(),VP(t,101).j},_R(JAt,"RoutingDirector/lambda$1$Type",1748),Wht(1749,1,A_t,oa),zkt.td=function(t){J_(),VP(t,15).ad(hKt)},_R(JAt,"RoutingDirector/lambda$2$Type",1749),Wht(1752,1,{},sa),_R(JAt,"RoutingSlotAssigner",1752),Wht(1753,1,Q_t,ep),zkt.Mb=function(t){return function(t,e){return $L(e.b,t)}(this.a,VP(t,101))},_R(JAt,"RoutingSlotAssigner/lambda$0$Type",1753),Wht(1754,1,zTt,np),zkt.ue=function(t,e){return function(t,e,n){return nI(e.d[t.g],n.d[t.g])}(this.a,VP(t,101),VP(e,101))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(JAt,"RoutingSlotAssigner/lambda$1$Type",1754),Wht(1796,1793,{},ca),zkt.Uf=function(t,e,n){var i,r,a,o;return i=ev(hD(ont(t.b.g.b,(wkt(),F0t)))),function(t,e,n,i,r){var a,o,s,c,u;for(a=t.c.d.j,o=VP(knt(n,0),8),u=1;u<n.b;u++)c=VP(knt(n,u),8),WK(i,o,i.c.b,i.c),s=$I(mN(new hM(o),c),.5),mN(s,$I(new bU(i6(a)),r)),WK(i,s,i.c.b,i.c),o=c,a=0==e?L8(a):M8(a);$B(i,(CO(0!=n.b),VP(n.c.b.c,8)))}(t,e,n,o=new jO(P4(Zv(q9t,1),T_t,8,0,[(a=t.c.d,mN(new hM(a.n),a.a))])),i),$B(o,mN(new hM((r=t.d.d).n),r.a)),fit(new Tyt(o))},_R(JAt,"SplineSelfLoopRouter",1796),Wht(578,1,zTt,D2,TB),zkt.ue=function(t,e){return Vxt(this,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(tMt,"ModelOrderNodeComparator",578),Wht(1755,1,Q_t,ua),zkt.Mb=function(t){return 0!=VP(t,11).e.c.length},_R(tMt,"ModelOrderNodeComparator/lambda$0$Type",1755),Wht(1756,1,{},la),zkt.Kb=function(t){return VP(EF(VP(t,11).e,0),17).c},_R(tMt,"ModelOrderNodeComparator/lambda$1$Type",1756),Wht(1757,1,Q_t,ha),zkt.Mb=function(t){return 0!=VP(t,11).e.c.length},_R(tMt,"ModelOrderNodeComparator/lambda$2$Type",1757),Wht(1758,1,{},fa),zkt.Kb=function(t){return VP(EF(VP(t,11).e,0),17).c},_R(tMt,"ModelOrderNodeComparator/lambda$3$Type",1758),Wht(1759,1,Q_t,da),zkt.Mb=function(t){return 0!=VP(t,11).e.c.length},_R(tMt,"ModelOrderNodeComparator/lambda$4$Type",1759),Wht(806,1,zTt,bQ,PT),zkt.ue=function(t,e){return tj(this,t,e)},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(tMt,"ModelOrderPortComparator",806),Wht(801,1,{},ga),zkt.Vf=function(t,e){var i,r,a,o;for(a=Act(e),i=new iw,o=e.f/a,r=1;r<a;++r)nB(i,p8(KF(B3(n.Math.round(r*o)))));return i},zkt.Wf=function(){return!1},_R(eMt,"ARDCutIndexHeuristic",801),Wht(1479,1,bAt,pa),zkt.pf=function(t,e){kbt(VP(t,37),e)},_R(eMt,"BreakingPointInserter",1479),Wht(305,1,{305:1},DG),zkt.Ib=function(){var t;return(t=new Lv).a+="BPInfo[",t.a+="\n\tstart=",mA(t,this.i),t.a+="\n\tend=",mA(t,this.a),t.a+="\n\tnodeStartEdge=",mA(t,this.e),t.a+="\n\tstartEndEdge=",mA(t,this.j),t.a+="\n\toriginalEdge=",mA(t,this.f),t.a+="\n\tstartInLayerDummy=",mA(t,this.k),t.a+="\n\tstartInLayerEdge=",mA(t,this.n),t.a+="\n\tendInLayerDummy=",mA(t,this.b),t.a+="\n\tendInLayerEdge=",mA(t,this.c),t.a},_R(eMt,"BreakingPointInserter/BPInfo",305),Wht(652,1,{652:1},hp),zkt.a=!1,zkt.b=0,zkt.c=0,_R(eMt,"BreakingPointInserter/Cut",652),Wht(1480,1,bAt,ba),zkt.pf=function(t,e){pdt(VP(t,37),e)},_R(eMt,"BreakingPointProcessor",1480),Wht(1481,1,Q_t,wa),zkt.Mb=function(t){return EJ(VP(t,10))},_R(eMt,"BreakingPointProcessor/0methodref$isEnd$Type",1481),Wht(1482,1,Q_t,ya),zkt.Mb=function(t){return TJ(VP(t,10))},_R(eMt,"BreakingPointProcessor/1methodref$isStart$Type",1482),Wht(1483,1,bAt,ma),zkt.pf=function(t,e){!function(t,e,n){var i,r,a,o;for(ast(n,"Breaking Point Removing",1),t.a=VP(Ost(e,(wkt(),g1t)),218),r=new wd(e.b);r.a<r.c.c.length;)for(o=new wd(GU(VP(qU(r),29).a));o.a<o.c.c.length;)EJ(a=VP(qU(o),10))&&!(i=VP(Ost(a,(Lkt(),QWt)),305)).d&&zxt(t,i);$ct(n)}(this,VP(t,37),e)},_R(eMt,"BreakingPointRemover",1483),Wht(1484,1,A_t,va),zkt.td=function(t){VP(t,128).k=!0},_R(eMt,"BreakingPointRemover/lambda$0$Type",1484),Wht(797,1,{},aft),zkt.b=0,zkt.e=0,zkt.f=0,zkt.j=0,_R(eMt,"GraphStats",797),Wht(798,1,{},xa),zkt.Ce=function(t,e){return n.Math.max(ev(hD(t)),ev(hD(e)))},_R(eMt,"GraphStats/0methodref$max$Type",798),Wht(799,1,{},ka),zkt.Ce=function(t,e){return n.Math.max(ev(hD(t)),ev(hD(e)))},_R(eMt,"GraphStats/2methodref$max$Type",799),Wht(1660,1,{},_a),zkt.Ce=function(t,e){return function(t,e){return yz(t),t+(yz(e),e)}(hD(t),hD(e))},_R(eMt,"GraphStats/lambda$1$Type",1660),Wht(1661,1,{},ip),zkt.Kb=function(t){return rnt(this.a,VP(t,29))},_R(eMt,"GraphStats/lambda$2$Type",1661),Wht(1662,1,{},rp),zkt.Kb=function(t){return Ndt(this.a,VP(t,29))},_R(eMt,"GraphStats/lambda$6$Type",1662),Wht(800,1,{},Ea),zkt.Vf=function(t,e){return VP(Ost(t,(wkt(),t2t)),15)||(Gq(),Gq(),TRt)},zkt.Wf=function(){return!1},_R(eMt,"ICutIndexCalculator/ManualCutIndexCalculator",800),Wht(802,1,{},Ta),zkt.Vf=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x;for(null==e.n&&Wit(e),x=e.n,null==e.d&&Wit(e),u=e.d,(v=WX(Qce,aTt,25,x.length,15,1))[0]=x[0],y=x[0],l=1;l<x.length;l++)v[l]=v[l-1]+x[l],y+=x[l];for(a=Act(e)-1,s=VP(Ost(t,(wkt(),e2t)),19).a,r=tTt,i=new iw,d=n.Math.max(0,a-s);d<=n.Math.min(e.f-1,a+s);d++){if(b=y/(d+1),w=0,h=1,o=new iw,m=tTt,f=0,c=0,p=u[0],0==d)m=y,null==e.g&&(e.g=P2(e,new ka)),c=ev(e.g);else{for(;h<e.f;)v[h-1]-w>=b&&(nB(o,p8(h)),m=n.Math.max(m,v[h-1]-f),c+=p,w+=v[h-1]-w,f=v[h-1],p=u[h]),p=n.Math.max(p,u[h]),++h;c+=p}(g=n.Math.min(1/m,1/e.b/c))>r&&(r=g,i=o)}return i},zkt.Wf=function(){return!1},_R(eMt,"MSDCutIndexHeuristic",802),Wht(1617,1,bAt,Ca),zkt.pf=function(t,e){Iyt(VP(t,37),e)},_R(eMt,"SingleEdgeGraphWrapper",1617),Wht(227,22,{3:1,35:1,22:1,227:1},RT);var mKt,vKt,xKt,kKt=G1(nMt,"CenterEdgeLabelPlacementStrategy",227,cjt,(function(){return yut(),P4(Zv(kKt,1),K_t,227,0,[gKt,bKt,dKt,pKt,wKt,fKt])}),(function(t){return yut(),rJ((v1(),mKt),t)}));Wht(422,22,{3:1,35:1,22:1,422:1},zT);var _Kt,EKt,TKt,CKt,SKt=G1(nMt,"ConstraintCalculationStrategy",422,cjt,(function(){return oV(),P4(Zv(SKt,1),K_t,422,0,[vKt,xKt])}),(function(t){return oV(),rJ((LK(),_Kt),t)}));Wht(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},qT),zkt.Kf=function(){return Slt(this)},zkt.Xf=function(){return Slt(this)};var AKt,MKt,IKt,LKt,OKt=G1(nMt,"CrossingMinimizationStrategy",314,cjt,(function(){return I0(),P4(Zv(OKt,1),K_t,314,0,[TKt,EKt,CKt])}),(function(t){return I0(),rJ((EX(),AKt),t)}));Wht(337,22,{3:1,35:1,22:1,337:1},HT);var DKt,NKt,PKt,BKt,FKt,$Kt,jKt=G1(nMt,"CuttingStrategy",337,cjt,(function(){return h0(),P4(Zv(jKt,1),K_t,337,0,[MKt,LKt,IKt])}),(function(t){return h0(),rJ((TX(),DKt),t)}));Wht(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},ZT),zkt.Kf=function(){return fft(this)},zkt.Xf=function(){return fft(this)};var RKt,zKt,qKt,HKt=G1(nMt,"CycleBreakingStrategy",335,cjt,(function(){return vit(),P4(Zv(HKt,1),K_t,335,0,[PKt,NKt,FKt,$Kt,BKt])}),(function(t){return vit(),rJ((fJ(),RKt),t)}));Wht(419,22,{3:1,35:1,22:1,419:1},UT);var ZKt,UKt,YKt,GKt,KKt=G1(nMt,"DirectionCongruency",419,cjt,(function(){return hJ(),P4(Zv(KKt,1),K_t,419,0,[zKt,qKt])}),(function(t){return hJ(),rJ((SK(),ZKt),t)}));Wht(450,22,{3:1,35:1,22:1,450:1},YT);var WKt,XKt,VKt,QKt,JKt,tWt,eWt,nWt=G1(nMt,"EdgeConstraint",450,cjt,(function(){return i5(),P4(Zv(nWt,1),K_t,450,0,[YKt,UKt,GKt])}),(function(t){return i5(),rJ((CX(),WKt),t)}));Wht(276,22,{3:1,35:1,22:1,276:1},GT);var iWt,rWt,aWt,oWt=G1(nMt,"EdgeLabelSideSelection",276,cjt,(function(){return yct(),P4(Zv(oWt,1),K_t,276,0,[VKt,XKt,JKt,QKt,eWt,tWt])}),(function(t){return yct(),rJ((E1(),iWt),t)}));Wht(479,22,{3:1,35:1,22:1,479:1},KT);var sWt,cWt,uWt,lWt,hWt,fWt,dWt,gWt=G1(nMt,"EdgeStraighteningStrategy",479,cjt,(function(){return aQ(),P4(Zv(gWt,1),K_t,479,0,[aWt,rWt])}),(function(t){return aQ(),rJ((AK(),sWt),t)}));Wht(274,22,{3:1,35:1,22:1,274:1},WT);var pWt,bWt,wWt,yWt,mWt,vWt,xWt,kWt=G1(nMt,"FixedAlignment",274,cjt,(function(){return Wat(),P4(Zv(kWt,1),K_t,274,0,[hWt,lWt,dWt,uWt,fWt,cWt])}),(function(t){return Wat(),rJ((k1(),pWt),t)}));Wht(275,22,{3:1,35:1,22:1,275:1},XT);var _Wt,EWt,TWt,CWt,SWt,AWt,MWt,IWt,LWt,OWt,DWt,NWt=G1(nMt,"GraphCompactionStrategy",275,cjt,(function(){return cct(),P4(Zv(NWt,1),K_t,275,0,[vWt,wWt,xWt,mWt,yWt,bWt])}),(function(t){return cct(),rJ((x1(),_Wt),t)}));Wht(256,22,{3:1,35:1,22:1,256:1},VT);var PWt,BWt,FWt,$Wt,jWt=G1(nMt,"GraphProperties",256,cjt,(function(){return ipt(),P4(Zv(jWt,1),K_t,256,0,[TWt,SWt,AWt,MWt,IWt,LWt,DWt,EWt,CWt,OWt])}),(function(t){return ipt(),rJ((t5(),PWt),t)}));Wht(292,22,{3:1,35:1,22:1,292:1},QT);var RWt,zWt,qWt,HWt,ZWt=G1(nMt,"GreedySwitchType",292,cjt,(function(){return r4(),P4(Zv(ZWt,1),K_t,292,0,[FWt,$Wt,BWt])}),(function(t){return r4(),rJ((MX(),RWt),t)}));Wht(303,22,{3:1,35:1,22:1,303:1},JT);var UWt,YWt,GWt,KWt=G1(nMt,"InLayerConstraint",303,cjt,(function(){return LQ(),P4(Zv(KWt,1),K_t,303,0,[qWt,HWt,zWt])}),(function(t){return LQ(),rJ((AX(),UWt),t)}));Wht(420,22,{3:1,35:1,22:1,420:1},tC);var WWt,XWt,VWt,QWt,JWt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt,lXt,hXt,fXt,dXt,gXt,pXt,bXt,wXt,yXt,mXt,vXt,xXt,kXt,_Xt,EXt,TXt,CXt,SXt,AXt,MXt,IXt,LXt,OXt,DXt,NXt,PXt,BXt,FXt,$Xt,jXt,RXt,zXt,qXt,HXt,ZXt,UXt,YXt,GXt,KXt,WXt,XXt,VXt,QXt,JXt,tVt,eVt,nVt,iVt,rVt,aVt=G1(nMt,"InteractiveReferencePoint",420,cjt,(function(){return pG(),P4(Zv(aVt,1),K_t,420,0,[YWt,GWt])}),(function(t){return pG(),rJ((OK(),WWt),t)}));Wht(163,22,{3:1,35:1,22:1,163:1},aC);var oVt,sVt,cVt,uVt,lVt,hVt,fVt,dVt,gVt,pVt,bVt,wVt,yVt,mVt,vVt,xVt,kVt,_Vt,EVt,TVt,CVt,SVt,AVt,MVt,IVt,LVt,OVt,DVt,NVt,PVt,BVt,FVt,$Vt,jVt,RVt,zVt,qVt,HVt,ZVt,UVt,YVt,GVt,KVt,WVt,XVt,VVt,QVt,JVt,tQt,eQt,nQt,iQt,rQt,aQt,oQt,sQt,cQt,uQt,lQt,hQt,fQt,dQt,gQt,pQt,bQt,wQt,yQt,mQt,vQt,xQt,kQt,_Qt,EQt,TQt,CQt,SQt,AQt,MQt,IQt,LQt,OQt,DQt,NQt,PQt,BQt,FQt,$Qt,jQt,RQt,zQt,qQt,HQt,ZQt,UQt,YQt,GQt,KQt,WQt,XQt,VQt,QQt,JQt,tJt,eJt,nJt,iJt,rJt,aJt,oJt,sJt,cJt,uJt,lJt,hJt,fJt,dJt,gJt,pJt,bJt,wJt,yJt,mJt,vJt,xJt,kJt,_Jt,EJt,TJt,CJt,SJt,AJt,MJt,IJt,LJt,OJt,DJt,NJt,PJt,BJt,FJt,$Jt,jJt,RJt,zJt,qJt,HJt,ZJt,UJt,YJt,GJt,KJt,WJt,XJt,VJt,QJt,JJt,t1t,e1t,n1t,i1t,r1t,a1t,o1t,s1t,c1t,u1t,l1t,h1t,f1t,d1t,g1t,p1t,b1t,w1t,y1t,m1t,v1t,x1t,k1t,_1t,E1t,T1t,C1t,S1t,A1t,M1t,I1t,L1t,O1t,D1t,N1t,P1t,B1t,F1t,$1t,j1t,R1t,z1t,q1t,H1t,Z1t,U1t,Y1t,G1t,K1t,W1t,X1t,V1t,Q1t,J1t,t0t,e0t,n0t,i0t,r0t,a0t,o0t,s0t,c0t,u0t,l0t,h0t,f0t,d0t,g0t,p0t,b0t,w0t,y0t,m0t,v0t,x0t,k0t,_0t,E0t,T0t,C0t,S0t,A0t,M0t,I0t,L0t,O0t,D0t,N0t,P0t,B0t,F0t,$0t,j0t,R0t,z0t,q0t,H0t,Z0t,U0t,Y0t,G0t,K0t,W0t,X0t,V0t,Q0t,J0t,t2t,e2t,n2t,i2t,r2t,a2t,o2t,s2t,c2t,u2t,l2t,h2t,f2t,d2t,g2t,p2t,b2t,w2t,y2t=G1(nMt,"LayerConstraint",163,cjt,(function(){return p9(),P4(Zv(y2t,1),K_t,163,0,[rVt,tVt,eVt,nVt,iVt])}),(function(t){return p9(),rJ((pJ(),oVt),t)}));Wht(848,1,fCt,sh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,cMt),""),"Direction Congruency"),"Specifies how drawings of the same graph with different layout directions compare to each other: either a natural reading direction is preserved or the drawings are rotated versions of each other."),qVt),(dut(),L9t)),KKt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uMt),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(EL(),!1)),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lMt),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),hQt),L9t),aVt),Q8(T9t)))),PY(t,lMt,yMt,dQt),PY(t,lMt,AMt,fQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,hMt),""),"Merge Edges"),"Edges that have no ports are merged so they touch the connected nodes at the same points. When this option is disabled, one port is created for each edge directly connected to a node. When it is enabled, all such incoming edges share an input port, and all outgoing edges share an output port."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,fMt),""),"Merge Hierarchy-Crossing Edges"),"If hierarchical layout is active, hierarchy-crossing edges use as few hierarchical ports as possible. They are broken by the algorithm, with hierarchical ports inserted as required. Usually, one such port is created for each edge at each hierarchy crossing point. With this option set to true, we try to create as few hierarchical ports as possible in the process. In particular, all edges that form a hyperedge can share a port."),!0),M9t),Fjt),Q8(T9t)))),k9(t,new rut(function(t,e){return t.f=e,t}(px(gx(bx(lx(ux(dx(hx(fx(new zs,dMt),""),"Allow Non-Flow Ports To Switch Sides"),"Specifies whether non-flow ports may switch sides if their node's port constraints are either FIXED_SIDE or FIXED_ORDER. A non-flow port is a port on a side that is not part of the currently configured layout flow. For instance, given a left-to-right layout direction, north and south ports would be considered non-flow ports. Further note that the underlying criterium whether to switch sides or not solely relies on the minimization of edge crossings. Hence, edge length and other aesthetics criteria are not addressed."),!1),M9t),Fjt),Q8(C9t)),P4(Zv(fRt,1),T_t,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,gMt),""),"Port Sorting Strategy"),"Only relevant for nodes with FIXED_SIDE port constraints. Determines the way a node's ports are distributed on the sides of a node if their order is not prescribed. The option is set on parent nodes."),XQt),L9t),o3t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,pMt),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),p8(7)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,bMt),""),"Add Unnecessary Bendpoints"),"Adds bend points even if an edge does not change direction. If true, each long edge dummy will contribute a bend point to its edges and hierarchy-crossing edges will always get a bend point where they cross hierarchy boundaries. By default, bend points are only added where an edge changes direction."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,wMt),""),"Generate Position and Layer IDs"),"If enabled position id and layer id are generated, which are usually only used internally when setting the interactiveLayout option. This option should be specified on the root node."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,yMt),"cycleBreaking"),"Cycle Breaking Strategy"),"Strategy for cycle breaking. Cycle breaking looks for cycles in the graph and determines which edges to reverse to break the cycles. Reversed edges will end up pointing to the opposite direction of regular edges (that is, reversed edges will point left if edges usually point right)."),RVt),L9t),HKt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,mMt),SIt),"Node Layering Strategy"),"Strategy for node layering."),AQt),L9t),_2t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,vMt),SIt),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),yQt),L9t),y2t),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,xMt),SIt),"Layer Choice Constraint"),"Allows to set a constraint regarding the layer placement of a node. Let i be the value of teh constraint. Assumed the drawing has n layers and i < n. If set to i, it expresses that the node should be placed in i-th layer. Should i>=n be true then the node is placed in the last layer of the drawing. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,kMt),SIt),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,_Mt),AIt),"Upper Bound On Width [MinWidth Layerer]"),"Defines a loose upper bound on the width of the MinWidth layerer. If set to '-1' multiple values are tested and the best result is selected."),p8(4)),D9t),Gjt),Q8(T9t)))),PY(t,_Mt,mMt,xQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,EMt),AIt),"Upper Layer Estimation Scaling Factor [MinWidth Layerer]"),"Multiplied with Upper Bound On Width for defining an upper bound on the width of layers which haven't been determined yet, but whose maximum width had been (roughly) estimated by the MinWidth algorithm. Compensates for too high estimations. If set to '-1' multiple values are tested and the best result is selected."),p8(2)),D9t),Gjt),Q8(T9t)))),PY(t,EMt,mMt,_Qt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,TMt),MIt),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),CQt),L9t),V2t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,CMt),MIt),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),p8(0)),D9t),Gjt),Q8(T9t)))),PY(t,CMt,TMt,null),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,SMt),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),p8(Qkt)),D9t),Gjt),Q8(T9t)))),PY(t,SMt,mMt,pQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,AMt),IIt),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),$Vt),L9t),OKt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,MMt),IIt),"Force Node Model Order"),"The node order given by the model does not change to produce a better layout. E.g. if node A is before node B in the model this is not changed during crossing minimization. This assumes that the node model order is already respected before crossing minimization. This can be achieved by setting considerModelOrder.strategy to NODES_AND_EDGES."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,IMt),IIt),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),I9t),Hjt),Q8(T9t)))),PY(t,IMt,LIt,OVt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,LMt),IIt),"Semi-Interactive Crossing Minimization"),"Preserves the order of nodes within a layer but still minimizes crossings between edges connecting long edge dummies. Derives the desired order from positions specified by the 'org.eclipse.elk.position' layout option. Requires a crossing minimization strategy that is able to process 'in-layer' constraints."),!1),M9t),Fjt),Q8(T9t)))),PY(t,LMt,AMt,BVt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,OMt),IIt),"Position Choice Constraint"),"Allows to set a constraint regarding the position placement of a node in a layer. Assumed the layer in which the node placed includes n other nodes and i < n. If set to i, it expresses that the node should be placed at the i-th position. Should i>=n be true then the node is placed at the last position in the layer. Note that this option is not part of any of ELK Layered's default configurations but is only evaluated as part of the `InteractiveLayeredGraphVisitor`, which must be applied manually or used via the `DiagramLayoutEngine."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,DMt),IIt),"Position ID"),"Position within a layer that was determined by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,NMt),OIt),"Greedy Switch Activation Threshold"),"By default it is decided automatically if the greedy switch is activated or not. The decision is based on whether the size of the input graph (without dummy nodes) is smaller than the value of this option. A '0' enforces the activation."),p8(40)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,PMt),OIt),"Greedy Switch Crossing Minimization"),"Greedy Switch strategy for crossing minimization. The greedy switch heuristic is executed after the regular crossing minimization as a post-processor. Note that if 'hierarchyHandling' is set to 'INCLUDE_CHILDREN', the 'greedySwitchHierarchical.type' option must be used."),MVt),L9t),ZWt),Q8(T9t)))),PY(t,PMt,AMt,IVt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,BMt),"crossingMinimization.greedySwitchHierarchical"),"Greedy Switch Crossing Minimization (hierarchical)"),"Activates the greedy switch heuristic in case hierarchical layout is used. The differences to the non-hierarchical case (see 'greedySwitch.type') are: 1) greedy switch is inactive by default, 3) only the option value set on the node at which hierarchical layout starts is relevant, and 2) if it's activated by the user, it properly addresses hierarchy-crossing edges."),TVt),L9t),ZWt),Q8(T9t)))),PY(t,BMt,AMt,CVt),PY(t,BMt,LIt,SVt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,FMt),DIt),"Node Placement Strategy"),"Strategy for node placement."),KQt),L9t),Y2t),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,$Mt),DIt),"Favor Straight Edges Over Balancing"),"Favor straight edges over a balanced node placement. The default behavior is determined automatically based on the used 'edgeRouting'. For an orthogonal style it is set to true, for all other styles to false."),M9t),Fjt),Q8(T9t)))),PY(t,$Mt,FMt,$Qt),PY(t,$Mt,FMt,jQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,jMt),NIt),"BK Edge Straightening"),"Specifies whether the Brandes Koepf node placer tries to increase the number of straight edges at the expense of diagram size. There is a subtle difference to the 'favorStraightEdges' option, which decides whether a balanced placement of the nodes is desired, or not. In bk terms this means combining the four alignments into a single balanced one, or not. This option on the other hand tries to straighten additional edges during the creation of each of the four alignments."),OQt),L9t),gWt),Q8(T9t)))),PY(t,jMt,FMt,DQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,RMt),NIt),"BK Fixed Alignment"),"Tells the BK node placer to use a certain alignment (out of its four) instead of the one producing the smallest height, or the combination of all four."),PQt),L9t),kWt),Q8(T9t)))),PY(t,RMt,FMt,BQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,zMt),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),I9t),Hjt),Q8(T9t)))),PY(t,zMt,FMt,zQt),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,qMt),"nodePlacement.networkSimplex"),"Node Flexibility"),"Aims at shorter and straighter edges. Two configurations are possible: (a) allow ports to move freely on the side they are assigned to (the order is always defined beforehand), (b) additionally allow to enlarge a node wherever it helps. If this option is not configured for a node, the 'nodeFlexibility.default' value is used, which is specified for the node's parent."),L9t),B2t),Q8(E9t)))),PY(t,qMt,FMt,YQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,HMt),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),ZQt),L9t),B2t),Q8(T9t)))),PY(t,HMt,FMt,UQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ZMt),PIt),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),XVt),L9t),p3t),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,UMt),PIt),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),QVt),L9t),v3t),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,YMt),"edgeRouting.splines"),"Spline Routing Mode"),"Specifies the way control points are assembled for each individual edge. CONSERVATIVE ensures that edges are properly routed around the nodes but feels rather orthogonal at times. SLOPPY uses fewer control points to obtain curvier edge routes but may result in edges overlapping nodes."),tQt),L9t),T3t),Q8(T9t)))),PY(t,YMt,BIt,eQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,GMt),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),I9t),Hjt),Q8(T9t)))),PY(t,GMt,BIt,iQt),PY(t,GMt,YMt,rQt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,KMt),"edgeRouting.polyline"),"Sloped Edge Zone Width"),"Width of the strip to the left and to the right of each layer where the polyline edge router is allowed to refrain from ensuring that edges are routed horizontally. This prevents awkward bend points for nodes that extent almost to the edge of their layer."),2),I9t),Hjt),Q8(T9t)))),PY(t,KMt,BIt,KVt),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,WMt),FIt),"Spacing Base Value"),"An optional base value for all other layout options of the 'spacing' group. It can be used to conveniently alter the overall 'spaciousness' of the drawing. Whenever an explicit value is set for the other layout options, this base value will have no effect. The base value is not inherited, i.e. it must be set for each hierarchical node."),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,XMt),FIt),"Edge Node Between Layers Spacing"),"The spacing to be preserved between nodes and edges that are routed next to the node's layer. For the spacing between nodes and edges that cross the node's layer 'spacing.edgeNode' is used."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,VMt),FIt),"Edge Edge Between Layer Spacing"),"Spacing to be preserved between pairs of edges that are routed between the same pair of layers. Note that 'spacing.edgeEdge' is used for the spacing between pairs of edges crossing the same layer."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,QMt),FIt),"Node Node Between Layers Spacing"),"The spacing to be preserved between any pair of nodes of two adjacent layers. Note that 'spacing.nodeNode' is used for the spacing between nodes within the layer itself."),20),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,JMt),$It),"Direction Priority"),"Defines how important it is to have a certain edge point into the direction of the overall layout. This option is evaluated during the cycle breaking phase."),p8(0)),D9t),Gjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,tIt),$It),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),p8(0)),D9t),Gjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,eIt),$It),"Straightness Priority"),"Defines how important it is to keep an edge straight, i.e. aligned with one of the two axes. This option is evaluated during node placement."),p8(0)),D9t),Gjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,nIt),jIt),QCt),"Tries to further compact components (disconnected sub-graphs)."),!1),M9t),Fjt),Q8(T9t)))),PY(t,nIt,FSt,!0),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,iIt),RIt),"Post Compaction Strategy"),zIt),fVt),L9t),NWt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,rIt),RIt),"Post Compaction Constraint Calculation"),zIt),lVt),L9t),SKt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,aIt),qIt),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,oIt),qIt),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),p8(16)),D9t),Gjt),Q8(T9t)))),PY(t,oIt,aIt,!0),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,sIt),qIt),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),p8(5)),D9t),Gjt),Q8(T9t)))),PY(t,sIt,aIt,!0),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,cIt),HIt),"Graph Wrapping Strategy"),"For certain graphs and certain prescribed drawing areas it may be desirable to split the laid out graph into chunks that are placed side by side. The edges that connect different chunks are 'wrapped' around from the end of one chunk to the start of the other chunk. The points between the chunks are referred to as 'cuts'."),AJt),L9t),z3t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uIt),HIt),"Additional Wrapped Edges Spacing"),"To visually separate edges that are wrapped from regularly routed edges an additional spacing value can be specified in form of this layout option. The spacing is added to the regular edgeNode spacing."),10),I9t),Hjt),Q8(T9t)))),PY(t,uIt,cIt,sJt),PY(t,uIt,cIt,cJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lIt),HIt),"Correction Factor for Wrapping"),"At times and for certain types of graphs the executed wrapping may produce results that are consistently biased in the same fashion: either wrapping to often or to rarely. This factor can be used to correct the bias. Internally, it is simply multiplied with the 'aspect ratio' layout option."),1),I9t),Hjt),Q8(T9t)))),PY(t,lIt,cIt,lJt),PY(t,lIt,cIt,hJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,hIt),ZIt),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),yJt),L9t),jKt),Q8(T9t)))),PY(t,hIt,cIt,mJt),PY(t,hIt,cIt,vJt),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,fIt),ZIt),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),N9t),J$t),Q8(T9t)))),PY(t,fIt,hIt,dJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,dIt),"wrapping.cutting.msd"),"MSD Freedom"),"The MSD cutting strategy starts with an initial guess on the number of chunks the graph should be split into. The freedom specifies how much the strategy may deviate from this guess. E.g. if an initial number of 3 is computed, a freedom of 1 allows 2, 3, and 4 cuts."),pJt),D9t),Gjt),Q8(T9t)))),PY(t,dIt,hIt,bJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,gIt),UIt),"Validification Strategy"),"When wrapping graphs, one can specify indices that are not allowed as split points. The validification strategy makes sure every computed split point is allowed."),DJt),L9t),I3t),Q8(T9t)))),PY(t,gIt,cIt,NJt),PY(t,gIt,cIt,PJt),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,pIt),UIt),"Valid Indices for Wrapping"),null),N9t),J$t),Q8(T9t)))),PY(t,pIt,cIt,IJt),PY(t,pIt,cIt,LJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,bIt),YIt),"Improve Cuts"),"For general graphs it is important that not too many edges wrap backwards. Thus a compromise between evenly-distributed cuts and the total number of cut edges is sought."),!0),M9t),Fjt),Q8(T9t)))),PY(t,bIt,cIt,EJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,wIt),YIt),"Distance Penalty When Improving Cuts"),null),2),I9t),Hjt),Q8(T9t)))),PY(t,wIt,cIt,kJt),PY(t,wIt,bIt,!0),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,yIt),YIt),"Improve Wrapped Edges"),"The initial wrapping is performed in a very simple way. As a consequence, edges that wrap from one chunk to another may be unnecessarily long. Activating this option tries to shorten such edges."),!0),M9t),Fjt),Q8(T9t)))),PY(t,yIt,cIt,CJt),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,mIt),GIt),"Edge Label Side Selection"),"Method to decide on edge label sides."),YVt),L9t),oWt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,vIt),GIt),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),ZVt),L9t),kKt),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[_9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,xIt),KIt),"Consider Model Order"),"Preserves the order of nodes and edges in the model file if this does not lead to additional edge crossings. Depending on the strategy this is not always possible since the node and edge order might be conflicting."),xVt),L9t),e3t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,kIt),KIt),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,_It),KIt),"Consider Model Order for Components"),"If set to NONE the usual ordering strategy (by cumulative node priority and size of nodes) is used. INSIDE_PORT_SIDES orders the components with external ports only inside the groups with the same port side. FORCE_MODEL_ORDER enforces the mode order on components. This option might produce bad alignments and sub optimal drawings in terms of used area since the ordering should be respected."),gVt),L9t),NUt),Q8(T9t)))),PY(t,_It,FSt,null),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,EIt),KIt),"Long Edge Ordering Strategy"),"Indicates whether long edges are sorted under, over, or equal to nodes that have no connection to a previous layer in a left-to-right or right-to-left layout. Under and over changes to right and left in a vertical layout."),yVt),L9t),M2t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,TIt),KIt),"Crossing Counter Node Order Influence"),"Indicates with what percentage (1 for 100%) violations of the node model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal node order. Defaults to no influence (0)."),0),I9t),Hjt),Q8(T9t)))),PY(t,TIt,xIt,null),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,CIt),KIt),"Crossing Counter Port Order Influence"),"Indicates with what percentage (1 for 100%) violations of the port model order are weighted against the crossings e.g. a value of 0.5 means two model order violations are as important as on edge crossing. This allows some edge crossings in favor of preserving the model order. It is advised to set this value to a very small positive value (e.g. 0.001) to have minimal crossing and a optimal port order. Defaults to no influence (0)."),0),I9t),Hjt),Q8(T9t)))),PY(t,CIt,xIt,null),Fkt((new lh,t))},_R(nMt,"LayeredMetaDataProvider",848),Wht(986,1,fCt,lh),zkt.Qe=function(t){Fkt(t)},_R(nMt,"LayeredOptions",986),Wht(987,1,{},Aa),zkt.$e=function(){return new ay},zkt._e=function(t){},_R(nMt,"LayeredOptions/LayeredFactory",987),Wht(1372,1,{}),zkt.a=0,_R(BLt,"ElkSpacings/AbstractSpacingsBuilder",1372),Wht(779,1372,{},z9),_R(nMt,"LayeredSpacings/LayeredSpacingsBuilder",779),Wht(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},eC),zkt.Kf=function(){return adt(this)},zkt.Xf=function(){return adt(this)};var m2t,v2t,x2t,k2t,_2t=G1(nMt,"LayeringStrategy",313,cjt,(function(){return est(),P4(Zv(_2t,1),K_t,313,0,[b2t,g2t,f2t,d2t,w2t,p2t])}),(function(t){return est(),rJ((_1(),m2t),t)}));Wht(378,22,{3:1,35:1,22:1,378:1},nC);var E2t,T2t,C2t,S2t,A2t,M2t=G1(nMt,"LongEdgeOrderingStrategy",378,cjt,(function(){return i7(),P4(Zv(M2t,1),K_t,378,0,[v2t,x2t,k2t])}),(function(t){return i7(),rJ((IX(),E2t),t)}));Wht(197,22,{3:1,35:1,22:1,197:1},iC);var I2t,L2t,O2t,D2t,N2t,P2t,B2t=G1(nMt,"NodeFlexibility",197,cjt,(function(){return Hnt(),P4(Zv(B2t,1),K_t,197,0,[S2t,A2t,C2t,T2t])}),(function(t){return Hnt(),rJ((QV(),I2t),t)}));Wht(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},rC),zkt.Kf=function(){return hft(this)},zkt.Xf=function(){return hft(this)};var F2t,$2t,j2t,R2t,z2t,q2t,H2t,Z2t,U2t,Y2t=G1(nMt,"NodePlacementStrategy",315,cjt,(function(){return sit(),P4(Zv(Y2t,1),K_t,315,0,[P2t,O2t,D2t,L2t,N2t])}),(function(t){return sit(),rJ((dJ(),F2t),t)}));Wht(260,22,{3:1,35:1,22:1,260:1},oC);var G2t,K2t,W2t,X2t,V2t=G1(nMt,"NodePromotionStrategy",260,cjt,(function(){return Rdt(),P4(Zv(V2t,1),K_t,260,0,[Z2t,j2t,q2t,R2t,z2t,$2t,H2t,U2t])}),(function(t){return Rdt(),rJ((b3(),G2t),t)}));Wht(339,22,{3:1,35:1,22:1,339:1},sC);var Q2t,J2t,t3t,e3t=G1(nMt,"OrderingStrategy",339,cjt,(function(){return x5(),P4(Zv(e3t,1),K_t,339,0,[W2t,K2t,X2t])}),(function(t){return x5(),rJ((OX(),Q2t),t)}));Wht(421,22,{3:1,35:1,22:1,421:1},cC);var n3t,i3t,r3t,a3t,o3t=G1(nMt,"PortSortingStrategy",421,cjt,(function(){return OQ(),P4(Zv(o3t,1),K_t,421,0,[J2t,t3t])}),(function(t){return OQ(),rJ((IK(),n3t),t)}));Wht(452,22,{3:1,35:1,22:1,452:1},uC);var s3t,c3t,u3t,l3t,h3t=G1(nMt,"PortType",452,cjt,(function(){return l0(),P4(Zv(h3t,1),K_t,452,0,[a3t,i3t,r3t])}),(function(t){return l0(),rJ((DX(),s3t),t)}));Wht(375,22,{3:1,35:1,22:1,375:1},lC);var f3t,d3t,g3t,p3t=G1(nMt,"SelfLoopDistributionStrategy",375,cjt,(function(){return p3(),P4(Zv(p3t,1),K_t,375,0,[c3t,u3t,l3t])}),(function(t){return p3(),rJ((LX(),f3t),t)}));Wht(376,22,{3:1,35:1,22:1,376:1},hC);var b3t,w3t,y3t,m3t,v3t=G1(nMt,"SelfLoopOrderingStrategy",376,cjt,(function(){return rX(),P4(Zv(v3t,1),K_t,376,0,[g3t,d3t])}),(function(t){return rX(),rJ((MK(),b3t),t)}));Wht(304,1,{304:1},yvt),_R(nMt,"Spacings",304),Wht(336,22,{3:1,35:1,22:1,336:1},fC);var x3t,k3t,_3t,E3t,T3t=G1(nMt,"SplineRoutingMode",336,cjt,(function(){return O6(),P4(Zv(T3t,1),K_t,336,0,[w3t,y3t,m3t])}),(function(t){return O6(),rJ((PX(),x3t),t)}));Wht(338,22,{3:1,35:1,22:1,338:1},dC);var C3t,S3t,A3t,M3t,I3t=G1(nMt,"ValidifyStrategy",338,cjt,(function(){return W2(),P4(Zv(I3t,1),K_t,338,0,[E3t,k3t,_3t])}),(function(t){return W2(),rJ((BX(),C3t),t)}));Wht(377,22,{3:1,35:1,22:1,377:1},gC);var L3t,O3t,D3t,N3t,P3t,B3t,F3t,$3t,j3t,R3t,z3t=G1(nMt,"WrappingStrategy",377,cjt,(function(){return R4(),P4(Zv(z3t,1),K_t,377,0,[A3t,M3t,S3t])}),(function(t){return R4(),rJ((NX(),L3t),t)}));Wht(1383,1,jLt,hh),zkt.Yf=function(t){return VP(t,37),O3t},zkt.pf=function(t,e){!function(t,e,n){var i,r,a,o,s,c,u,l;for(ast(n,"Depth-first cycle removal",1),c=(u=e.a).c.length,t.c=new iw,t.d=WX(Wce,pCt,25,c,16,1),t.a=WX(Wce,pCt,25,c,16,1),t.b=new iw,a=0,s=new wd(u);s.a<s.c.c.length;)(o=VP(qU(s),10)).p=a,TG(s9(o))&&nB(t.c,o),++a;for(l=new wd(t.c);l.a<l.c.c.length;)Mut(t,VP(qU(l),10));for(r=0;r<c;r++)t.d[r]||(OU(r,u.c.length),Mut(t,VP(u.c[r],10)));for(i=new wd(t.b);i.a<i.c.c.length;)vyt(VP(qU(i),17),!0),d5(e,(Lkt(),rXt),(EL(),!0));t.c=null,t.d=null,t.a=null,t.b=null,$ct(n)}(this,VP(t,37),e)},_R(RLt,"DepthFirstCycleBreaker",1383),Wht(782,1,jLt,g$),zkt.Yf=function(t){return VP(t,37),D3t},zkt.pf=function(t,e){!function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A,M,I,L;for(ast(n,"Greedy cycle removal",1),L=(m=e.a).c.length,t.a=WX(Kce,CEt,25,L,15,1),t.c=WX(Kce,CEt,25,L,15,1),t.b=WX(Kce,CEt,25,L,15,1),u=0,w=new wd(m);w.a<w.c.c.length;){for((p=VP(qU(w),10)).p=u,E=new wd(p.j);E.a<E.c.c.length;){for(s=new wd((x=VP(qU(E),11)).e);s.a<s.c.c.length;)(i=VP(qU(s),17)).c.i!=p&&(C=VP(Ost(i,(wkt(),C0t)),19).a,t.a[u]+=C>0?C+1:1);for(o=new wd(x.g);o.a<o.c.c.length;)(i=VP(qU(o),17)).d.i!=p&&(C=VP(Ost(i,(wkt(),C0t)),19).a,t.c[u]+=C>0?C+1:1)}0==t.c[u]?$B(t.e,p):0==t.a[u]&&$B(t.f,p),++u}for(g=-1,d=1,h=new iw,t.d=VP(Ost(e,(Lkt(),zXt)),230);L>0;){for(;0!=t.e.b;)A=VP(mB(t.e),10),t.b[A.p]=g--,Gbt(t,A),--L;for(;0!=t.f.b;)M=VP(mB(t.f),10),t.b[M.p]=d++,Gbt(t,M),--L;if(L>0){for(f=eEt,y=new wd(m);y.a<y.c.c.length;)p=VP(qU(y),10),0==t.b[p.p]&&(v=t.c[p.p]-t.a[p.p])>=f&&(v>f&&(h.c=WX(G$t,r_t,1,0,5,1),f=v),h.c[h.c.length]=p);l=t.Zf(h),t.b[l.p]=d++,Gbt(t,l),--L}}for(S=m.c.length+1,u=0;u<m.c.length;u++)t.b[u]<0&&(t.b[u]+=S);for(b=new wd(m);b.a<b.c.c.length;)for(_=0,T=(k=eG((p=VP(qU(b),10)).j)).length;_<T;++_)for(a=0,c=(r=MY((x=k[_]).g)).length;a<c;++a)I=(i=r[a]).d.i.p,t.b[p.p]>t.b[I]&&(vyt(i,!0),d5(e,rXt,(EL(),!0)));t.a=null,t.c=null,t.b=null,zq(t.f),zq(t.e),$ct(n)}(this,VP(t,37),e)},zkt.Zf=function(t){return VP(EF(t,Gnt(this.d,t.c.length)),10)},_R(RLt,"GreedyCycleBreaker",782),Wht(1386,782,jLt,$S),zkt.Zf=function(t){var e,n,i,r;for(r=null,e=Qkt,i=new wd(t);i.a<i.c.c.length;)IO(n=VP(qU(i),10),(Lkt(),MXt))&&VP(Ost(n,MXt),19).a<e&&(e=VP(Ost(n,MXt),19).a,r=n);return r||VP(EF(t,Gnt(this.d,t.c.length)),10)},_R(RLt,"GreedyModelOrderCycleBreaker",1386),Wht(1384,1,jLt,eh),zkt.Yf=function(t){return VP(t,37),N3t},zkt.pf=function(t,e){!function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;for(ast(n,"Interactive cycle breaking",1),l=new iw,f=new wd(e.a);f.a<f.c.c.length;)for((h=VP(qU(f),10)).p=1,d=Kat(h).a,u=itt(h,(l0(),r3t)).Kc();u.Ob();)for(a=new wd(VP(u.Pb(),11).g);a.a<a.c.c.length;)(g=(i=VP(qU(a),17)).d.i)!=h&&Kat(g).a<d&&(l.c[l.c.length]=i);for(o=new wd(l);o.a<o.c.c.length;)vyt(i=VP(qU(o),17),!0);for(l.c=WX(G$t,r_t,1,0,5,1),c=new wd(e.a);c.a<c.c.c.length;)(s=VP(qU(c),10)).p>0&&iut(t,s,l);for(r=new wd(l);r.a<r.c.c.length;)vyt(i=VP(qU(r),17),!0);l.c=WX(G$t,r_t,1,0,5,1),$ct(n)}(this,VP(t,37),e)},_R(RLt,"InteractiveCycleBreaker",1384),Wht(1385,1,jLt,nh),zkt.Yf=function(t){return VP(t,37),P3t},zkt.pf=function(t,e){!function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g;for(ast(i,"Model order cycle breaking",1),t.a=0,t.b=0,f=new iw,l=e.a.c.length,u=new wd(e.a);u.a<u.c.c.length;)IO(c=VP(qU(u),10),(Lkt(),MXt))&&(l=n.Math.max(l,VP(Ost(c,MXt),19).a+1));for(g=new wd(e.a);g.a<g.c.c.length;)for(s=Iut(t,d=VP(qU(g),10),l),h=itt(d,(l0(),r3t)).Kc();h.Ob();)for(o=new wd(VP(h.Pb(),11).g);o.a<o.c.c.length;)Iut(t,(r=VP(qU(o),17)).d.i,l)<s&&(f.c[f.c.length]=r);for(a=new wd(f);a.a<a.c.c.length;)vyt(r=VP(qU(a),17),!0),d5(e,(Lkt(),rXt),(EL(),!0));f.c=WX(G$t,r_t,1,0,5,1),$ct(i)}(this,VP(t,37),e)},zkt.a=0,zkt.b=0,_R(RLt,"ModelOrderCycleBreaker",1385),Wht(1389,1,jLt,aE),zkt.Yf=function(t){return VP(t,37),B3t},zkt.pf=function(t,e){_kt(this,VP(t,37),e)},_R(zLt,"CoffmanGrahamLayerer",1389),Wht(1390,1,zTt,ap),zkt.ue=function(t,e){return function(t,e,n){var i,r,a,o,s,c;for(i=VP(jW(t.c,e),15),r=VP(jW(t.c,n),15),a=i.Zc(i.gc()),o=r.Zc(r.gc());a.Sb()&&o.Sb();)if((s=VP(a.Ub(),19))!=(c=VP(o.Ub(),19)))return nI(s.a,c.a);return a.Ob()||o.Ob()?a.Ob()?1:-1:0}(this.a,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(zLt,"CoffmanGrahamLayerer/0methodref$compareNodesInTopo$Type",1390),Wht(1391,1,zTt,op),zkt.ue=function(t,e){return function(t,e,n){return-nI(t.f[e.p],t.f[n.p])}(this.a,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(zLt,"CoffmanGrahamLayerer/lambda$1$Type",1391),Wht(1392,1,jLt,Ma),zkt.Yf=function(t){return VP(t,37),cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),BYt)),JZt,UYt),tUt,ZYt)},zkt.pf=function(t,e){!function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(ast(i,"Interactive node layering",1),r=new iw,g=new wd(e.a);g.a<g.c.c.length;){for(u=(l=(f=VP(qU(g),10)).n.a)+f.o.a,u=n.Math.max(l+1,u),y=new QY(r,0),a=null;y.b<y.d.gc();){if(CO(y.b<y.d.gc()),(b=VP(y.d.Xb(y.c=y.b++),569)).c>=u){CO(y.b>0),y.a.Xb(y.c=--y.b);break}b.a>l&&(a?(C4(a.b,b.b),a.a=n.Math.max(a.a,b.a),lz(y)):(nB(b.b,f),b.c=n.Math.min(b.c,l),b.a=n.Math.max(b.a,u),a=b))}a||((a=new by).c=l,a.a=u,JD(y,a),nB(a.b,f))}for(c=e.b,h=0,w=new wd(r);w.a<w.c.c.length;)for(b=VP(qU(w),569),(o=new HR(e)).p=h++,c.c[c.c.length]=o,p=new wd(b.b);p.a<p.c.c.length;)QZ(f=VP(qU(p),10),o),f.p=0;for(d=new wd(e.a);d.a<d.c.c.length;)0==(f=VP(qU(d),10)).p&&fpt(t,f,e);for(s=new QY(c,0);s.b<s.d.gc();)0==(CO(s.b<s.d.gc()),VP(s.d.Xb(s.c=s.b++),29)).a.c.length&&lz(s);e.a.c=WX(G$t,r_t,1,0,5,1),$ct(i)}(this,VP(t,37),e)},_R(zLt,"InteractiveLayerer",1392),Wht(569,1,{569:1},by),zkt.a=0,zkt.c=0,_R(zLt,"InteractiveLayerer/LayerSpan",569),Wht(1388,1,jLt,th),zkt.Yf=function(t){return VP(t,37),F3t},zkt.pf=function(t,e){!function(t,e,n){var i,r,a,o;for(ast(n,"Longest path layering",1),t.a=e,o=t.a.a,t.b=WX(Kce,CEt,25,o.c.length,15,1),i=0,a=new wd(o);a.a<a.c.c.length;)VP(qU(a),10).p=i,t.b[i]=-1,++i;for(r=new wd(o);r.a<r.c.c.length;)Zft(t,VP(qU(r),10));o.c=WX(G$t,r_t,1,0,5,1),t.a=null,t.b=null,$ct(n)}(this,VP(t,37),e)},_R(zLt,"LongestPathLayerer",1388),Wht(1395,1,jLt,oh),zkt.Yf=function(t){return VP(t,37),cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),vYt)),JZt,UYt),tUt,ZYt)},zkt.pf=function(t,e){Gxt(this,VP(t,37),e)},zkt.a=0,zkt.b=0,zkt.d=0,_R(zLt,"MinWidthLayerer",1395),Wht(1396,1,zTt,sp),zkt.ue=function(t,e){return function(t,e,n){var i,r;return(i=t.a.f[e.p])<(r=t.a.f[n.p])?-1:i==r?0:1}(this,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(zLt,"MinWidthLayerer/MinOutgoingEdgesComparator",1396),Wht(1387,1,jLt,ah),zkt.Yf=function(t){return VP(t,37),R3t},zkt.pf=function(t,e){kvt(this,VP(t,37),e)},_R(zLt,"NetworkSimplexLayerer",1387),Wht(1393,1,jLt,fN),zkt.Yf=function(t){return VP(t,37),cF(cF(cF(new hG,(Dst(),QZt),(Dkt(),vYt)),JZt,UYt),tUt,ZYt)},zkt.pf=function(t,e){oxt(this,VP(t,37),e)},zkt.d=0,zkt.f=0,zkt.g=0,zkt.i=0,zkt.s=0,zkt.t=0,zkt.u=0,_R(zLt,"StretchWidthLayerer",1393),Wht(1394,1,zTt,Ia),zkt.ue=function(t,e){return function(t,e){return t.p<e.p?1:t.p>e.p?-1:0}(VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(zLt,"StretchWidthLayerer/1",1394),Wht(402,1,qLt),zkt.Nf=function(t,e,n,i,r,a){},zkt._f=function(t,e,n){return twt(this,t,e,n)},zkt.Mf=function(){this.g=WX(Jce,HLt,25,this.d,15,1),this.f=WX(Jce,HLt,25,this.d,15,1)},zkt.Of=function(t,e){this.e[t]=WX(Kce,CEt,25,e[t].length,15,1)},zkt.Pf=function(t,e,n){n[t][e].p=e,this.e[t][e]=e},zkt.Qf=function(t,e,n,i){VP(EF(i[t][e].j,n),11).p=this.d++},zkt.b=0,zkt.c=0,zkt.d=0,_R(ZLt,"AbstractBarycenterPortDistributor",402),Wht(1633,1,zTt,cp),zkt.ue=function(t,e){return function(t,e,n){var i,r,a,o;return(a=e.j)!=(o=n.j)?a.g-o.g:(i=t.f[e.p],r=t.f[n.p],0==i&&0==r?0:0==i?-1:0==r?1:O8(i,r))}(this.a,VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZLt,"AbstractBarycenterPortDistributor/lambda$0$Type",1633),Wht(817,1,XAt,gG),zkt.Nf=function(t,e,n,i,r,a){},zkt.Pf=function(t,e,n){},zkt.Qf=function(t,e,n,i){},zkt.Lf=function(){return!1},zkt.Mf=function(){this.c=this.e.a,this.g=this.f.g},zkt.Of=function(t,e){e[t][0].c.p=t},zkt.Rf=function(){return!1},zkt.ag=function(t,e,n,i){n?Lat(this,t):(Uat(this,t,i),qvt(this,t,e)),t.c.length>1&&(tv(lD(Ost(pz((OU(0,t.c.length),VP(t.c[0],10))),(wkt(),XJt))))?Uft(t,this.d,VP(this,660)):(Gq(),QM(t,this.d)),s4(this.e,t))},zkt.Sf=function(t,e,n,i){var r,a,o,s,c,u,l;for(e!=OF(n,t.length)&&(a=t[e-(n?1:-1)],fX(this.f,a,n?(l0(),r3t):(l0(),i3t))),r=t[e][0],l=!i||r.k==(gct(),RUt),u=BW(t[e]),this.ag(u,l,!1,n),o=0,c=new wd(u);c.a<c.c.c.length;)s=VP(qU(c),10),t[e][o++]=s;return!1},zkt.Tf=function(t,e){var n,i,r,a,o;for(a=BW(t[o=OF(e,t.length)]),this.ag(a,!1,!0,e),n=0,r=new wd(a);r.a<r.c.c.length;)i=VP(qU(r),10),t[o][n++]=i;return!1},_R(ZLt,"BarycenterHeuristic",817),Wht(658,1,{658:1},lp),zkt.Ib=function(){return"BarycenterState [node="+this.c+", summedWeight="+this.d+", degree="+this.b+", barycenter="+this.a+", visited="+this.e+"]"},zkt.b=0,zkt.d=0,zkt.e=!1;var q3t=_R(ZLt,"BarycenterHeuristic/BarycenterState",658);Wht(1802,1,zTt,up),zkt.ue=function(t,e){return function(t,e,n){var i,r;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?K$(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}(this.a,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZLt,"BarycenterHeuristic/lambda$0$Type",1802),Wht(816,1,XAt,Not),zkt.Mf=function(){},zkt.Nf=function(t,e,n,i,r,a){},zkt.Qf=function(t,e,n,i){},zkt.Of=function(t,e){this.a[t]=WX(q3t,{3:1,4:1,5:1,2018:1},658,e[t].length,0,1),this.b[t]=WX(K3t,{3:1,4:1,5:1,2019:1},233,e[t].length,0,1)},zkt.Pf=function(t,e,n){Oet(this,n[t][e],!0)},zkt.c=!1,_R(ZLt,"ForsterConstraintResolver",816),Wht(233,1,{233:1},zH,bvt),zkt.Ib=function(){var t,e;for((e=new Lv).a+="[",t=0;t<this.d.length;t++)vA(e,mnt(this.d[t])),null!=NI(this.g,this.d[0]).a&&vA(vA((e.a+="<",e),hA(NI(this.g,this.d[0]).a)),">"),t<this.d.length-1&&(e.a+=n_t);return(e.a+="]",e).a},zkt.a=0,zkt.c=0,zkt.f=0;var H3t,Z3t,U3t,Y3t,G3t,K3t=_R(ZLt,"ForsterConstraintResolver/ConstraintGroup",233);Wht(1797,1,A_t,fp),zkt.td=function(t){Oet(this.a,VP(t,10),!1)},_R(ZLt,"ForsterConstraintResolver/lambda$0$Type",1797),Wht(214,1,{214:1,225:1},Ivt),zkt.Nf=function(t,e,n,i,r,a){},zkt.Of=function(t,e){},zkt.Mf=function(){this.r=WX(Kce,CEt,25,this.n,15,1)},zkt.Pf=function(t,e,n){var i;(i=n[t][e].e)&&nB(this.b,i)},zkt.Qf=function(t,e,n,i){++this.n},zkt.Ib=function(){return Zvt(this.e,new Xw)},zkt.g=!1,zkt.i=!1,zkt.n=0,zkt.s=!1,_R(ZLt,"GraphInfoHolder",214),Wht(1832,1,XAt,Sa),zkt.Nf=function(t,e,n,i,r,a){},zkt.Of=function(t,e){},zkt.Qf=function(t,e,n,i){},zkt._f=function(t,e,n){return n&&e>0?BZ(this.a,t[e-1],t[e]):!n&&e<t.length-1?BZ(this.a,t[e],t[e+1]):l2(this.a,t[e],n?(Mxt(),Hie):(Mxt(),_ie)),function(t,e,n,i){var r,a,o,s,c,u,l,h,f;for(h=i?(Mxt(),Hie):(Mxt(),_ie),r=!1,u=0,l=(c=e[n]).length;u<l;++u)UN(VP(Ost(s=c[u],(wkt(),w0t)),98))||(o=s.e,(f=!i9(s,h).dc()&&!!o)&&(a=Lot(o),t.b=new Dot(a,i?0:a.length-1)),r|=ewt(t,s,h,f));return r}(this,t,e,n)},zkt.Mf=function(){this.d=WX(Kce,CEt,25,this.c,15,1),this.a=new rP(this.d)},zkt.Pf=function(t,e,n){var i;i=n[t][e],this.c+=i.j.c.length},zkt.c=0,_R(ZLt,"GreedyPortDistributor",1832),Wht(1401,1,jLt,fh),zkt.Yf=function(t){return function(t){var e;return e=yM(H3t),VP(Ost(t,(Lkt(),gXt)),21).Hc((ipt(),IWt))&&cF(e,(Dst(),tUt),(Dkt(),nGt)),e}(VP(t,37))},zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(ast(e,"Interactive crossing minimization",1),o=0,a=new wd(t.b);a.a<a.c.c.length;)(i=VP(qU(a),29)).p=o++;for(p=new vx((f=Lot(t)).length),Emt(new ov(P4(Zv(FGt,1),r_t,225,0,[p])),f),g=0,o=0,r=new wd(t.b);r.a<r.c.c.length;){for(n=0,h=0,l=new wd((i=VP(qU(r),29)).a);l.a<l.c.c.length;)for((c=VP(qU(l),10)).n.a>0&&(n+=c.n.a+c.o.a/2,++h),d=new wd(c.j);d.a<d.c.c.length;)VP(qU(d),11).p=g++;for(h>0&&(n/=h),b=WX(Qce,aTt,25,i.a.c.length,15,1),s=0,u=new wd(i.a);u.a<u.c.c.length;)(c=VP(qU(u),10)).p=s++,b[c.p]=Avt(c,n),c.k==(gct(),qUt)&&d5(c,(Lkt(),OXt),b[c.p]);Gq(),QM(i.a,new dp(b)),twt(p,f,o,!0),++o}$ct(e)}(VP(t,37),e)},_R(ZLt,"InteractiveCrossingMinimizer",1401),Wht(1402,1,zTt,dp),zkt.ue=function(t,e){return function(t,e,n){var i,r,a;if(0==(i=O8(t.a[e.p],t.a[n.p]))){if(r=VP(Ost(e,(Lkt(),vXt)),15),a=VP(Ost(n,vXt),15),r.Hc(n))return-1;if(a.Hc(e))return 1}return i}(this,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZLt,"InteractiveCrossingMinimizer/1",1402),Wht(507,1,{507:1,123:1,51:1},Um),zkt.Yf=function(t){var e;return VP(t,37),cF(e=yM(Z3t),(Dst(),tUt),(Dkt(),nGt)),e},zkt.pf=function(t,e){hwt(this,VP(t,37),e)},zkt.e=0,_R(ZLt,"LayerSweepCrossingMinimizer",507),Wht(1398,1,A_t,gp),zkt.td=function(t){Lyt(this.a,VP(t,214))},_R(ZLt,"LayerSweepCrossingMinimizer/0methodref$compareDifferentRandomizedLayouts$Type",1398),Wht(1399,1,A_t,pp),zkt.td=function(t){!function(t,e){var n,i;for(i=0!=Kft(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,i),n|=tgt(t,e,i,!1),i=!i;x2(t)}(this.a,VP(t,214))},_R(ZLt,"LayerSweepCrossingMinimizer/1methodref$minimizeCrossingsNoCounter$Type",1399),Wht(1400,1,A_t,bp),zkt.td=function(t){Uwt(this.a,VP(t,214))},_R(ZLt,"LayerSweepCrossingMinimizer/2methodref$minimizeCrossingsWithCounter$Type",1400),Wht(454,22,{3:1,35:1,22:1,454:1},pC);var W3t,X3t=G1(ZLt,"LayerSweepCrossingMinimizer/CrossMinType",454,cjt,(function(){return f0(),P4(Zv(X3t,1),K_t,454,0,[U3t,Y3t,G3t])}),(function(t){return f0(),rJ((FX(),W3t),t)}));Wht(1397,1,Q_t,La),zkt.Mb=function(t){return f3(),0==VP(t,29).a.c.length},_R(ZLt,"LayerSweepCrossingMinimizer/lambda$0$Type",1397),Wht(1799,1,XAt,PZ),zkt.Mf=function(){},zkt.Nf=function(t,e,n,i,r,a){},zkt.Qf=function(t,e,n,i){},zkt.Of=function(t,e){e[t][0].c.p=t,this.b[t]=WX(t4t,{3:1,4:1,5:1,1944:1},659,e[t].length,0,1)},zkt.Pf=function(t,e,n){n[t][e].p=e,BR(this.b[t],e,new Oa)},_R(ZLt,"LayerSweepTypeDecider",1799),Wht(659,1,{659:1},Oa),zkt.Ib=function(){return"NodeInfo [connectedEdges="+this.a+", hierarchicalInfluence="+this.b+", randomInfluence="+this.c+"]"},zkt.a=0,zkt.b=0,zkt.c=0;var V3t,Q3t,J3t,t4t=_R(ZLt,"LayerSweepTypeDecider/NodeInfo",659);Wht(1800,1,aCt,Da),zkt.Lb=function(t){return VL(new YW(VP(t,11).b))},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return VL(new YW(VP(t,11).b))},_R(ZLt,"LayerSweepTypeDecider/lambda$0$Type",1800),Wht(1801,1,aCt,Na),zkt.Lb=function(t){return VL(new YW(VP(t,11).b))},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return VL(new YW(VP(t,11).b))},_R(ZLt,"LayerSweepTypeDecider/lambda$1$Type",1801),Wht(1833,402,qLt,mx),zkt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h;switch(u=this.g,n.g){case 1:for(i=0,r=0,c=new wd(t.j);c.a<c.c.c.length;)0!=(o=VP(qU(c),11)).e.c.length&&(++i,o.j==(Mxt(),Eie)&&++r);for(a=e+r,h=e+i,s=itt(t,(l0(),i3t)).Kc();s.Ob();)(o=VP(s.Pb(),11)).j==(Mxt(),Eie)?(u[o.p]=a,--a):(u[o.p]=h,--h);return i;case 2:for(l=0,s=itt(t,(l0(),r3t)).Kc();s.Ob();)++l,u[(o=VP(s.Pb(),11)).p]=e+l;return l;default:throw lw(new Ow)}},_R(ZLt,"LayerTotalPortDistributor",1833),Wht(660,817,{660:1,225:1},s2),zkt.ag=function(t,e,n,i){n?Lat(this,t):(Uat(this,t,i),qvt(this,t,e)),t.c.length>1&&(tv(lD(Ost(pz((OU(0,t.c.length),VP(t.c[0],10))),(wkt(),XJt))))?Uft(t,this.d,this):(Gq(),QM(t,this.d)),tv(lD(Ost(pz((OU(0,t.c.length),VP(t.c[0],10))),XJt)))||s4(this.e,t))},_R(ZLt,"ModelOrderBarycenterHeuristic",660),Wht(1803,1,zTt,wp),zkt.ue=function(t,e){return Pct(this.a,VP(t,10),VP(e,10))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ZLt,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),Wht(1403,1,jLt,mh),zkt.Yf=function(t){var e;return VP(t,37),cF(e=yM(V3t),(Dst(),tUt),(Dkt(),nGt)),e},zkt.pf=function(t,e){!function(t){ast(t,"No crossing minimization",1),$ct(t)}((VP(t,37),e))},_R(ZLt,"NoCrossingMinimizer",1403),Wht(796,402,qLt,vx),zkt.$f=function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;switch(h=this.g,n.g){case 1:for(r=0,a=0,l=new wd(t.j);l.a<l.c.c.length;)0!=(c=VP(qU(l),11)).e.c.length&&(++r,c.j==(Mxt(),Eie)&&++a);for(o=e+a*(i=1/(r+1)),d=e+1-i,u=itt(t,(l0(),i3t)).Kc();u.Ob();)(c=VP(u.Pb(),11)).j==(Mxt(),Eie)?(h[c.p]=o,o-=i):(h[c.p]=d,d-=i);break;case 2:for(s=0,l=new wd(t.j);l.a<l.c.c.length;)0==(c=VP(qU(l),11)).g.c.length||++s;for(f=e+(i=1/(s+1)),u=itt(t,(l0(),r3t)).Kc();u.Ob();)h[(c=VP(u.Pb(),11)).p]=f,f+=i;break;default:throw lw(new Xm("Port type is undefined"))}return 1},_R(ZLt,"NodeRelativePortDistributor",796),Wht(807,1,{},fj,tct),_R(ZLt,"SweepCopy",807),Wht(1798,1,XAt,Att),zkt.Of=function(t,e){},zkt.Mf=function(){var t;t=WX(Kce,CEt,25,this.f,15,1),this.d=new Tp(t),this.a=new rP(t)},zkt.Nf=function(t,e,n,i,r,a){var o;o=VP(EF(a[t][e].j,n),11),r.c==o&&r.c.i.c==r.d.i.c&&++this.e[t]},zkt.Pf=function(t,e,n){var i;i=n[t][e],this.c[t]=this.c[t]|i.k==(gct(),ZUt)},zkt.Qf=function(t,e,n,i){var r;(r=VP(EF(i[t][e].j,n),11)).p=this.f++,r.g.c.length+r.e.c.length>1&&(r.j==(Mxt(),_ie)?this.b[t]=!0:r.j==Hie&&t>0&&(this.b[t-1]=!0))},zkt.f=0,_R(WAt,"AllCrossingsCounter",1798),Wht(587,1,{},u2),zkt.b=0,zkt.d=0,_R(WAt,"BinaryIndexedTree",587),Wht(524,1,{},rP),_R(WAt,"CrossingsCounter",524),Wht(1906,1,zTt,yp),zkt.ue=function(t,e){return function(t,e,n){return nI(t.d[e.p],t.d[n.p])}(this.a,VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(WAt,"CrossingsCounter/lambda$0$Type",1906),Wht(1907,1,zTt,mp),zkt.ue=function(t,e){return function(t,e,n){return nI(t.d[e.p],t.d[n.p])}(this.a,VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(WAt,"CrossingsCounter/lambda$1$Type",1907),Wht(1908,1,zTt,vp),zkt.ue=function(t,e){return function(t,e,n){return nI(t.d[e.p],t.d[n.p])}(this.a,VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(WAt,"CrossingsCounter/lambda$2$Type",1908),Wht(1909,1,zTt,xp),zkt.ue=function(t,e){return function(t,e,n){return nI(t.d[e.p],t.d[n.p])}(this.a,VP(t,11),VP(e,11))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(WAt,"CrossingsCounter/lambda$3$Type",1909),Wht(1910,1,A_t,kp),zkt.td=function(t){!function(t,e){pB(),nB(t,new mS(e,p8(e.e.c.length+e.g.c.length)))}(this.a,VP(t,11))},_R(WAt,"CrossingsCounter/lambda$4$Type",1910),Wht(1911,1,Q_t,_p),zkt.Mb=function(t){return function(t,e){return pB(),e!=t}(this.a,VP(t,11))},_R(WAt,"CrossingsCounter/lambda$5$Type",1911),Wht(1912,1,A_t,Ep),zkt.td=function(t){NS(this,t)},_R(WAt,"CrossingsCounter/lambda$6$Type",1912),Wht(1913,1,A_t,wC),zkt.td=function(t){var e;pB(),IG(this.b,(e=this.a,VP(t,11),e))},_R(WAt,"CrossingsCounter/lambda$7$Type",1913),Wht(826,1,aCt,Pa),zkt.Lb=function(t){return pB(),IO(VP(t,11),(Lkt(),$Xt))},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return pB(),IO(VP(t,11),(Lkt(),$Xt))},_R(WAt,"CrossingsCounter/lambda$8$Type",826),Wht(1905,1,{},Tp),_R(WAt,"HyperedgeCrossingsCounter",1905),Wht(467,1,{35:1,467:1},hN),zkt.wd=function(t){return function(t,e){return t.e<e.e?-1:t.e>e.e?1:t.f<e.f?-1:t.f>e.f?1:K5(t)-K5(e)}(this,VP(t,467))},zkt.b=0,zkt.c=0,zkt.e=0,zkt.f=0;var e4t=_R(WAt,"HyperedgeCrossingsCounter/Hyperedge",467);Wht(362,1,{35:1,362:1},bq),zkt.wd=function(t){return function(t,e){return t.c<e.c?-1:t.c>e.c?1:t.b<e.b?-1:t.b>e.b?1:t.a!=e.a?K5(t.a)-K5(e.a):t.d==(ZK(),i4t)&&e.d==n4t?-1:t.d==n4t&&e.d==i4t?1:0}(this,VP(t,362))},zkt.b=0,zkt.c=0;var n4t,i4t,r4t=_R(WAt,"HyperedgeCrossingsCounter/HyperedgeCorner",362);Wht(523,22,{3:1,35:1,22:1,523:1},bC);var a4t,o4t,s4t,c4t,u4t,l4t=G1(WAt,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,cjt,(function(){return ZK(),P4(Zv(l4t,1),K_t,523,0,[i4t,n4t])}),(function(t){return ZK(),rJ((NK(),a4t),t)}));Wht(1405,1,jLt,uh),zkt.Yf=function(t){return VP(Ost(VP(t,37),(Lkt(),gXt)),21).Hc((ipt(),SWt))?o4t:null},zkt.pf=function(t,e){!function(t,e,n){var i;for(ast(n,"Interactive node placement",1),t.a=VP(Ost(e,(Lkt(),YXt)),304),i=new wd(e.b);i.a<i.c.c.length;)Kgt(t,VP(qU(i),29));$ct(n)}(this,VP(t,37),e)},_R(ULt,"InteractiveNodePlacer",1405),Wht(1406,1,jLt,ch),zkt.Yf=function(t){return VP(Ost(VP(t,37),(Lkt(),gXt)),21).Hc((ipt(),SWt))?s4t:null},zkt.pf=function(t,e){jit(this,VP(t,37),e)},_R(ULt,"LinearSegmentsNodePlacer",1406),Wht(257,1,{35:1,257:1},wy),zkt.wd=function(t){return function(t,e){return t.b-e.b}(this,VP(t,257))},zkt.Fb=function(t){var e;return!!MI(t,257)&&(e=VP(t,257),this.b==e.b)},zkt.Hb=function(){return this.b},zkt.Ib=function(){return"ls"+Ust(this.e)},zkt.a=0,zkt.b=0,zkt.c=-1,zkt.d=-1,zkt.g=0;var h4t,f4t=_R(ULt,"LinearSegmentsNodePlacer/LinearSegment",257);Wht(1408,1,jLt,p$),zkt.Yf=function(t){return VP(Ost(VP(t,37),(Lkt(),gXt)),21).Hc((ipt(),SWt))?h4t:null},zkt.pf=function(t,e){akt(this,VP(t,37),e)},zkt.b=0,zkt.g=0,_R(ULt,"NetworkSimplexPlacer",1408),Wht(1427,1,zTt,Ba),zkt.ue=function(t,e){return nI(VP(t,19).a,VP(e,19).a)},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ULt,"NetworkSimplexPlacer/0methodref$compare$Type",1427),Wht(1429,1,zTt,Fa),zkt.ue=function(t,e){return nI(VP(t,19).a,VP(e,19).a)},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(ULt,"NetworkSimplexPlacer/1methodref$compare$Type",1429),Wht(649,1,{649:1},yC);var d4t=_R(ULt,"NetworkSimplexPlacer/EdgeRep",649);Wht(401,1,{401:1},wq),zkt.b=!1;var g4t,p4t,b4t,w4t=_R(ULt,"NetworkSimplexPlacer/NodeRep",401);Wht(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},vy),_R(ULt,"NetworkSimplexPlacer/Path",508),Wht(1409,1,{},$a),zkt.Kb=function(t){return VP(t,17).d.i.k},_R(ULt,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),Wht(1410,1,Q_t,ja),zkt.Mb=function(t){return VP(t,267)==(gct(),qUt)},_R(ULt,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),Wht(1411,1,{},Ra),zkt.Kb=function(t){return VP(t,17).d.i},_R(ULt,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),Wht(1412,1,Q_t,Cp),zkt.Mb=function(t){return CD(btt(VP(t,10)))},_R(ULt,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),Wht(1413,1,Q_t,za),zkt.Mb=function(t){return function(t){return lU(),(Mxt(),Aie).Hc(t.j)}(VP(t,11))},_R(ULt,"NetworkSimplexPlacer/lambda$0$Type",1413),Wht(1414,1,A_t,mC),zkt.td=function(t){!function(t,e,n){Pz(t.k,n,e)}(this.a,this.b,VP(t,11))},_R(ULt,"NetworkSimplexPlacer/lambda$1$Type",1414),Wht(1423,1,A_t,Sp),zkt.td=function(t){wlt(this.a,VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$10$Type",1423),Wht(1424,1,{},qa),zkt.Kb=function(t){return lU(),new CF(null,new NU(VP(t,29).a,16))},_R(ULt,"NetworkSimplexPlacer/lambda$11$Type",1424),Wht(1425,1,A_t,Ap),zkt.td=function(t){!function(t,e){var n,i,r,a;for(a=i9(e,(Mxt(),zie)).Kc();a.Ob();)i=VP(a.Pb(),11),(n=VP(Ost(i,(Lkt(),$Xt)),10))&&cgt(N_(D_(P_(O_(new ey,0),.1),t.i[e.p].d),t.i[n.p].a));for(r=i9(e,Eie).Kc();r.Ob();)i=VP(r.Pb(),11),(n=VP(Ost(i,(Lkt(),$Xt)),10))&&cgt(N_(D_(P_(O_(new ey,0),.1),t.i[n.p].d),t.i[e.p].a))}(this.a,VP(t,10))},_R(ULt,"NetworkSimplexPlacer/lambda$12$Type",1425),Wht(1426,1,{},Ha),zkt.Kb=function(t){return lU(),p8(VP(t,121).e)},_R(ULt,"NetworkSimplexPlacer/lambda$13$Type",1426),Wht(1428,1,{},Za),zkt.Kb=function(t){return lU(),p8(VP(t,121).e)},_R(ULt,"NetworkSimplexPlacer/lambda$15$Type",1428),Wht(1430,1,Q_t,Ua),zkt.Mb=function(t){return lU(),VP(t,401).c.k==(gct(),HUt)},_R(ULt,"NetworkSimplexPlacer/lambda$17$Type",1430),Wht(1431,1,Q_t,Ya),zkt.Mb=function(t){return lU(),VP(t,401).c.j.c.length>1},_R(ULt,"NetworkSimplexPlacer/lambda$18$Type",1431),Wht(1432,1,A_t,yq),zkt.td=function(t){!function(t,e,n,i,r){lU(),cgt(N_(D_(O_(P_(new ey,0),r.d.e-t),e),r.d)),cgt(N_(D_(O_(P_(new ey,0),n-r.a.e),r.a),i))}(this.c,this.b,this.d,this.a,VP(t,401))},zkt.c=0,zkt.d=0,_R(ULt,"NetworkSimplexPlacer/lambda$19$Type",1432),Wht(1415,1,{},Ga),zkt.Kb=function(t){return lU(),new CF(null,new NU(VP(t,29).a,16))},_R(ULt,"NetworkSimplexPlacer/lambda$2$Type",1415),Wht(1433,1,A_t,Mp),zkt.td=function(t){!function(t,e){lU(),e.n.b+=t}(this.a,VP(t,11))},zkt.a=0,_R(ULt,"NetworkSimplexPlacer/lambda$20$Type",1433),Wht(1434,1,{},Ka),zkt.Kb=function(t){return lU(),new CF(null,new NU(VP(t,29).a,16))},_R(ULt,"NetworkSimplexPlacer/lambda$21$Type",1434),Wht(1435,1,A_t,Ip),zkt.td=function(t){FI(this.a,VP(t,10))},_R(ULt,"NetworkSimplexPlacer/lambda$22$Type",1435),Wht(1436,1,Q_t,Wa),zkt.Mb=function(t){return CD(t)},_R(ULt,"NetworkSimplexPlacer/lambda$23$Type",1436),Wht(1437,1,{},Xa),zkt.Kb=function(t){return lU(),new CF(null,new NU(VP(t,29).a,16))},_R(ULt,"NetworkSimplexPlacer/lambda$24$Type",1437),Wht(1438,1,Q_t,Lp),zkt.Mb=function(t){return function(t,e){return 2==t.j[e.p]}(this.a,VP(t,10))},_R(ULt,"NetworkSimplexPlacer/lambda$25$Type",1438),Wht(1439,1,A_t,vC),zkt.td=function(t){!function(t,e,n){var i,r,a;for(r=new O$(dL(o9(n).a.Kc(),new l));Xht(r);)JK(i=VP(xW(r),17))||!JK(i)&&i.c.i.c==i.d.i.c||(a=Idt(t,i,n,new vy)).c.length>1&&(e.c[e.c.length]=a)}(this.a,this.b,VP(t,10))},_R(ULt,"NetworkSimplexPlacer/lambda$26$Type",1439),Wht(1440,1,Q_t,Va),zkt.Mb=function(t){return lU(),!JK(VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$27$Type",1440),Wht(1441,1,Q_t,Qa),zkt.Mb=function(t){return lU(),!JK(VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$28$Type",1441),Wht(1442,1,{},Op),zkt.Ce=function(t,e){return LI(this.a,VP(t,29),VP(e,29))},_R(ULt,"NetworkSimplexPlacer/lambda$29$Type",1442),Wht(1416,1,{},Ja),zkt.Kb=function(t){return lU(),new CF(null,new tR(new O$(dL(c9(VP(t,10)).a.Kc(),new l))))},_R(ULt,"NetworkSimplexPlacer/lambda$3$Type",1416),Wht(1417,1,Q_t,to),zkt.Mb=function(t){return lU(),function(t){return lU(),!(JK(t)||!JK(t)&&t.c.i.c==t.d.i.c)}(VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$4$Type",1417),Wht(1418,1,A_t,Dp),zkt.td=function(t){!function(t,e){var i,r,a,o,s,c,u,l,h,f,d;i=qL(new ny,t.f),c=t.i[e.c.i.p],f=t.i[e.d.i.p],s=e.c,h=e.d,o=s.a.b,l=h.a.b,c.b||(o+=s.n.b),f.b||(l+=h.n.b),u=cZ(n.Math.max(0,o-l)),a=cZ(n.Math.max(0,l-o)),d=n.Math.max(1,VP(Ost(e,(wkt(),A0t)),19).a)*ZG(e.c.i.k,e.d.i.k),r=new yC(cgt(N_(D_(O_(P_(new ey,d),a),i),VP(zR(t.k,e.c),121))),cgt(N_(D_(O_(P_(new ey,d),u),i),VP(zR(t.k,e.d),121)))),t.c[e.p]=r}(this.a,VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$5$Type",1418),Wht(1419,1,{},eo),zkt.Kb=function(t){return lU(),new CF(null,new NU(VP(t,29).a,16))},_R(ULt,"NetworkSimplexPlacer/lambda$6$Type",1419),Wht(1420,1,Q_t,no),zkt.Mb=function(t){return lU(),VP(t,10).k==(gct(),HUt)},_R(ULt,"NetworkSimplexPlacer/lambda$7$Type",1420),Wht(1421,1,{},io),zkt.Kb=function(t){return lU(),new CF(null,new tR(new O$(dL(o9(VP(t,10)).a.Kc(),new l))))},_R(ULt,"NetworkSimplexPlacer/lambda$8$Type",1421),Wht(1422,1,Q_t,ro),zkt.Mb=function(t){return lU(),function(t){return!JK(t)&&t.c.i.c==t.d.i.c}(VP(t,17))},_R(ULt,"NetworkSimplexPlacer/lambda$9$Type",1422),Wht(1404,1,jLt,Th),zkt.Yf=function(t){return VP(Ost(VP(t,37),(Lkt(),gXt)),21).Hc((ipt(),SWt))?g4t:null},zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c,u,l,h,f;for(ast(e,"Simple node placement",1),f=VP(Ost(t,(Lkt(),YXt)),304),c=0,o=new wd(t.b);o.a<o.c.c.length;){for((s=(r=VP(qU(o),29)).c).b=0,i=null,l=new wd(r.a);l.a<l.c.c.length;)u=VP(qU(l),10),i&&(s.b+=Rtt(u,i,f.c)),s.b+=u.d.d+u.o.b+u.d.a,i=u;c=n.Math.max(c,s.b)}for(a=new wd(t.b);a.a<a.c.c.length;)for(h=(c-(s=(r=VP(qU(a),29)).c).b)/2,i=null,l=new wd(r.a);l.a<l.c.c.length;)u=VP(qU(l),10),i&&(h+=Rtt(u,i,f.c)),h+=u.d.d,u.n.b=h,h+=u.o.b+u.d.a,i=u;$ct(e)}(VP(t,37),e)},_R(ULt,"SimpleNodePlacer",1404),Wht(180,1,{180:1},qbt),zkt.Ib=function(){var t;return t="",this.c==(QH(),b4t)?t+=kCt:this.c==p4t&&(t+=xCt),this.o==(FZ(),m4t)?t+=DCt:this.o==v4t?t+="UP":t+="BALANCED",t},_R(KLt,"BKAlignedLayout",180),Wht(516,22,{3:1,35:1,22:1,516:1},_C);var y4t,m4t,v4t,x4t=G1(KLt,"BKAlignedLayout/HDirection",516,cjt,(function(){return QH(),P4(Zv(x4t,1),K_t,516,0,[b4t,p4t])}),(function(t){return QH(),rJ((PK(),y4t),t)}));Wht(515,22,{3:1,35:1,22:1,515:1},kC);var k4t,_4t,E4t,T4t,C4t,S4t,A4t,M4t,I4t,L4t,O4t,D4t,N4t,P4t,B4t,F4t,$4t,j4t,R4t,z4t=G1(KLt,"BKAlignedLayout/VDirection",515,cjt,(function(){return FZ(),P4(Zv(z4t,1),K_t,515,0,[m4t,v4t])}),(function(t){return FZ(),rJ((BK(),k4t),t)}));Wht(1634,1,{},xC),_R(KLt,"BKAligner",1634),Wht(1637,1,{},Urt),_R(KLt,"BKCompactor",1637),Wht(654,1,{654:1},ao),zkt.a=0,_R(KLt,"BKCompactor/ClassEdge",654),Wht(458,1,{458:1},yy),zkt.a=null,zkt.b=0,_R(KLt,"BKCompactor/ClassNode",458),Wht(1407,1,jLt,BS),zkt.Yf=function(t){return VP(Ost(VP(t,37),(Lkt(),gXt)),21).Hc((ipt(),SWt))?_4t:null},zkt.pf=function(t,e){Skt(this,VP(t,37),e)},zkt.d=!1,_R(KLt,"BKNodePlacer",1407),Wht(1635,1,{},oo),zkt.d=0,_R(KLt,"NeighborhoodInformation",1635),Wht(1636,1,zTt,Np),zkt.ue=function(t,e){return function(t,e,n){return cZ(ZB(t.a.e[VP(e.a,10).p]-t.a.e[VP(n.a,10).p]))}(this,VP(t,46),VP(e,46))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(KLt,"NeighborhoodInformation/NeighborComparator",1636),Wht(808,1,{}),_R(KLt,"ThresholdStrategy",808),Wht(1763,808,{},Ay),zkt.bg=function(t,e,n){return this.a.o==(FZ(),v4t)?JEt:tTt},zkt.cg=function(){},_R(KLt,"ThresholdStrategy/NullThresholdStrategy",1763),Wht(579,1,{579:1},EC),zkt.c=!1,zkt.d=!1,_R(KLt,"ThresholdStrategy/Postprocessable",579),Wht(1764,808,{},My),zkt.bg=function(t,e,n){var i,r,a;return r=e==n,i=this.a.a[n.p]==e,r||i?(a=t,this.a.c,QH(),r&&(a=xmt(this,e,!0)),!isNaN(a)&&!isFinite(a)&&i&&(a=xmt(this,n,!1)),a):t},zkt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=Bwt(this,n=VP(sZ(this.d),579))).a&&(t=e.a,(tv(this.a.f[this.a.g[n.b.p].p])||JK(t)||t.c.i.c!=t.d.i.c)&&(Ift(this,n)||aM(this.e,n)));for(;0!=this.e.a.c.length;)Ift(this,VP($6(this.e),579))},_R(KLt,"ThresholdStrategy/SimpleThresholdStrategy",1764),Wht(635,1,{635:1,246:1,234:1},so),zkt.Kf=function(){return Y3(this)},zkt.Xf=function(){return Y3(this)},_R(WLt,"EdgeRouterFactory",635),Wht(1458,1,jLt,Ch),zkt.Yf=function(t){return function(t){var e,n;return n=VP(Ost(t,(Lkt(),gXt)),21),e=new hG,n.Hc((ipt(),AWt))&&(E3(e,A4t),E3(e,I4t)),(n.Hc(IWt)||tv(lD(Ost(t,(wkt(),k1t)))))&&(E3(e,I4t),n.Hc(LWt)&&E3(e,L4t)),n.Hc(SWt)&&E3(e,S4t),n.Hc(DWt)&&E3(e,O4t),n.Hc(MWt)&&E3(e,M4t),n.Hc(EWt)&&E3(e,T4t),n.Hc(CWt)&&E3(e,C4t),e}(VP(t,37))},zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;ast(e,"Orthogonal edge routing",1),u=ev(hD(Ost(t,(wkt(),Y0t)))),n=ev(hD(Ost(t,B0t))),i=ev(hD(Ost(t,j0t))),f=new bR(0,n),p=0,o=new QY(t.b,0),s=null,l=null,c=null,h=null;do{h=(l=o.b<o.d.gc()?(CO(o.b<o.d.gc()),VP(o.d.Xb(o.c=o.b++),29)):null)?l.a:null,s&&(Vmt(s,p),p+=s.c.a),g=Ovt(f,t,c,h,s?p+i:p),r=!s||cA(c,(xgt(),F4t)),a=!l||cA(h,(xgt(),F4t)),g>0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d<u&&!r&&!a&&(d=u),p+=d):!r&&!a&&(p+=u),s=l,c=h}while(l);t.f.a=p,$ct(e)}(VP(t,37),e)},_R(WLt,"OrthogonalEdgeRouter",1458),Wht(1451,1,jLt,FS),zkt.Yf=function(t){return function(t){var e,n;return n=VP(Ost(t,(Lkt(),gXt)),21),e=yM(D4t),n.Hc((ipt(),LWt))&&E3(e,B4t),n.Hc(DWt)&&E3(e,$4t),n.Hc(EWt)&&E3(e,N4t),n.Hc(CWt)&&E3(e,P4t),e}(VP(t,37))},zkt.pf=function(t,e){!function(t,e,i){var r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k;for(ast(i,"Polyline edge routing",1),y=ev(hD(Ost(e,(wkt(),b1t)))),p=ev(hD(Ost(e,Y0t))),a=ev(hD(Ost(e,B0t))),r=n.Math.min(1,a/p),x=0,u=0,0!=e.b.c.length&&(x=.4*r*(k=udt(VP(EF(e.b,0),29)))),c=new QY(e.b,0);c.b<c.d.gc();){for(CO(c.b<c.d.gc()),(o=cA(s=VP(c.d.Xb(c.c=c.b++),29),F4t))&&x>0&&(x-=p),Vmt(s,x),f=0,g=new wd(s.a);g.a<g.c.c.length;){for(h=0,w=new O$(dL(c9(d=VP(qU(g),10)).a.Kc(),new l));Xht(w);)m=BU((b=VP(xW(w),17)).c).b,v=BU(b.d).b,s!=b.d.i.c||JK(b)||(Klt(b,x,.4*r*n.Math.abs(m-v)),b.c.j==(Mxt(),Hie)&&(m=0,v=0)),h=n.Math.max(h,n.Math.abs(v-m));switch(d.k.g){case 0:case 4:case 1:case 3:case 5:ovt(t,d,x,y)}f=n.Math.max(f,h)}c.b<c.d.gc()&&(k=udt((CO(c.b<c.d.gc()),VP(c.d.Xb(c.c=c.b++),29))),f=n.Math.max(f,k),CO(c.b>0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.b<c.d.gc()&&(u+=p),x+=s.c.a+u}t.a.a.$b(),e.f.a=x,$ct(i)}(this,VP(t,37),e)},_R(WLt,"PolylineEdgeRouter",1451),Wht(1452,1,aCt,co),zkt.Lb=function(t){return h4(VP(t,10))},zkt.Fb=function(t){return this===t},zkt.Mb=function(t){return h4(VP(t,10))},_R(WLt,"PolylineEdgeRouter/1",1452),Wht(1809,1,Q_t,uo),zkt.Mb=function(t){return VP(t,129).c==(iX(),j4t)},_R(XLt,"HyperEdgeCycleDetector/lambda$0$Type",1809),Wht(1810,1,{},lo),zkt.Ge=function(t){return VP(t,129).d},_R(XLt,"HyperEdgeCycleDetector/lambda$1$Type",1810),Wht(1811,1,Q_t,ho),zkt.Mb=function(t){return VP(t,129).c==(iX(),j4t)},_R(XLt,"HyperEdgeCycleDetector/lambda$2$Type",1811),Wht(1812,1,{},fo),zkt.Ge=function(t){return VP(t,129).d},_R(XLt,"HyperEdgeCycleDetector/lambda$3$Type",1812),Wht(1813,1,{},go),zkt.Ge=function(t){return VP(t,129).d},_R(XLt,"HyperEdgeCycleDetector/lambda$4$Type",1813),Wht(1814,1,{},po),zkt.Ge=function(t){return VP(t,129).d},_R(XLt,"HyperEdgeCycleDetector/lambda$5$Type",1814),Wht(112,1,{35:1,112:1},o4),zkt.wd=function(t){return function(t,e){return t.g-e.g}(this,VP(t,112))},zkt.Fb=function(t){var e;return!!MI(t,112)&&(e=VP(t,112),this.g==e.g)},zkt.Hb=function(){return this.g},zkt.Ib=function(){var t,e,n,i;for(t=new CL("{"),i=new wd(this.n);i.a<i.c.c.length;)null==(e=xrt((n=VP(qU(i),11)).i))&&(e="n"+ZN(n.i)),t.a+=""+e,i.a<i.c.c.length&&(t.a+=",");return t.a+="}",t.a},zkt.a=0,zkt.b=0,zkt.c=NaN,zkt.d=0,zkt.g=0,zkt.i=0,zkt.o=0,zkt.s=NaN,_R(XLt,"HyperEdgeSegment",112),Wht(129,1,{129:1},gU),zkt.Ib=function(){return this.a+"->"+this.b+" ("+((null!=(t=this.c).f?t.f:""+t.g)+")");var t},zkt.d=0,_R(XLt,"HyperEdgeSegmentDependency",129),Wht(520,22,{3:1,35:1,22:1,520:1},TC);var q4t,H4t,Z4t,U4t,Y4t,G4t,K4t,W4t,X4t=G1(XLt,"HyperEdgeSegmentDependency/DependencyType",520,cjt,(function(){return iX(),P4(Zv(X4t,1),K_t,520,0,[R4t,j4t])}),(function(t){return iX(),rJ((DK(),q4t),t)}));Wht(1815,1,{},Pp),_R(XLt,"HyperEdgeSegmentSplitter",1815),Wht(1816,1,{},Ax),zkt.a=0,zkt.b=0,_R(XLt,"HyperEdgeSegmentSplitter/AreaRating",1816),Wht(329,1,{329:1},DP),zkt.a=0,zkt.b=0,zkt.c=0,_R(XLt,"HyperEdgeSegmentSplitter/FreeArea",329),Wht(1817,1,zTt,_o),zkt.ue=function(t,e){return function(t,e){return O8(t.c-t.s,e.c-e.s)}(VP(t,112),VP(e,112))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(XLt,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),Wht(1818,1,A_t,vq),zkt.td=function(t){XG(this.a,this.d,this.c,this.b,VP(t,112))},zkt.b=0,_R(XLt,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),Wht(1819,1,{},Eo),zkt.Kb=function(t){return new CF(null,new NU(VP(t,112).e,16))},_R(XLt,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),Wht(1820,1,{},To),zkt.Kb=function(t){return new CF(null,new NU(VP(t,112).j,16))},_R(XLt,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),Wht(1821,1,{},Co),zkt.Fe=function(t){return ev(hD(t))},_R(XLt,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),Wht(655,1,{},bR),zkt.a=0,zkt.b=0,zkt.c=0,_R(XLt,"OrthogonalRoutingGenerator",655),Wht(1638,1,{},So),zkt.Kb=function(t){return new CF(null,new NU(VP(t,112).e,16))},_R(XLt,"OrthogonalRoutingGenerator/lambda$0$Type",1638),Wht(1639,1,{},Ao),zkt.Kb=function(t){return new CF(null,new NU(VP(t,112).j,16))},_R(XLt,"OrthogonalRoutingGenerator/lambda$1$Type",1639),Wht(661,1,{}),_R(VLt,"BaseRoutingDirectionStrategy",661),Wht(1807,661,{},Iy),zkt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*i,l=new wd(t.n);l.a<l.c.c.length;)for(u=VP(qU(l),11),f=O5(P4(Zv(q9t,1),T_t,8,0,[u.i.n,u.n,u.a])).a,c=new wd(u.g);c.a<c.c.c.length;)JK(s=VP(qU(c),17))||(p=s.d,b=O5(P4(Zv(q9t,1),T_t,8,0,[p.i.n,p.n,p.a])).a,n.Math.abs(f-b)>ASt&&(a=t,r=new XC(f,o=h),$B(s.a,r),kwt(this,s,a,r,!1),(d=t.r)&&(r=new XC(g=ev(hD(knt(d.e,0))),o),$B(s.a,r),kwt(this,s,a,r,!1),a=d,r=new XC(g,o=e+d.o*i),$B(s.a,r),kwt(this,s,a,r,!1)),r=new XC(b,o),$B(s.a,r),kwt(this,s,a,r,!1)))},zkt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},zkt.fg=function(){return Mxt(),zie},zkt.gg=function(){return Mxt(),Eie},_R(VLt,"NorthToSouthRoutingStrategy",1807),Wht(1808,661,{},Ly),zkt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e-t.o*i,l=new wd(t.n);l.a<l.c.c.length;)for(u=VP(qU(l),11),f=O5(P4(Zv(q9t,1),T_t,8,0,[u.i.n,u.n,u.a])).a,c=new wd(u.g);c.a<c.c.c.length;)JK(s=VP(qU(c),17))||(p=s.d,b=O5(P4(Zv(q9t,1),T_t,8,0,[p.i.n,p.n,p.a])).a,n.Math.abs(f-b)>ASt&&(a=t,r=new XC(f,o=h),$B(s.a,r),kwt(this,s,a,r,!1),(d=t.r)&&(r=new XC(g=ev(hD(knt(d.e,0))),o),$B(s.a,r),kwt(this,s,a,r,!1),a=d,r=new XC(g,o=e-d.o*i),$B(s.a,r),kwt(this,s,a,r,!1)),r=new XC(b,o),$B(s.a,r),kwt(this,s,a,r,!1)))},zkt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},zkt.fg=function(){return Mxt(),Eie},zkt.gg=function(){return Mxt(),zie},_R(VLt,"SouthToNorthRoutingStrategy",1808),Wht(1806,661,{},Oy),zkt.dg=function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b;if(!t.r||t.q)for(h=e+t.o*i,l=new wd(t.n);l.a<l.c.c.length;)for(u=VP(qU(l),11),f=O5(P4(Zv(q9t,1),T_t,8,0,[u.i.n,u.n,u.a])).b,c=new wd(u.g);c.a<c.c.c.length;)JK(s=VP(qU(c),17))||(p=s.d,b=O5(P4(Zv(q9t,1),T_t,8,0,[p.i.n,p.n,p.a])).b,n.Math.abs(f-b)>ASt&&(a=t,r=new XC(o=h,f),$B(s.a,r),kwt(this,s,a,r,!0),(d=t.r)&&(r=new XC(o,g=ev(hD(knt(d.e,0)))),$B(s.a,r),kwt(this,s,a,r,!0),a=d,r=new XC(o=e+d.o*i,g),$B(s.a,r),kwt(this,s,a,r,!0)),r=new XC(o,b),$B(s.a,r),kwt(this,s,a,r,!0)))},zkt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},zkt.fg=function(){return Mxt(),_ie},zkt.gg=function(){return Mxt(),Hie},_R(VLt,"WestToEastRoutingStrategy",1806),Wht(813,1,{},Tyt),zkt.Ib=function(){return Ust(this.a)},zkt.b=0,zkt.c=!1,zkt.d=!1,zkt.f=0,_R(JLt,"NubSpline",813),Wht(407,1,{407:1},Agt,XH),_R(JLt,"NubSpline/PolarCP",407),Wht(1453,1,jLt,wrt),zkt.Yf=function(t){return function(t){var e,n;return E3(e=new hG,H4t),(n=VP(Ost(t,(Lkt(),gXt)),21)).Hc((ipt(),DWt))&&E3(e,G4t),n.Hc(EWt)&&E3(e,Z4t),n.Hc(LWt)&&E3(e,Y4t),n.Hc(CWt)&&E3(e,U4t),e}(VP(t,37))},zkt.pf=function(t,e){!function(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(ast(i,"Spline edge routing",1),0==e.b.c.length)return e.f.a=0,void $ct(i);y=ev(hD(Ost(e,(wkt(),Y0t)))),c=ev(hD(Ost(e,j0t))),s=ev(hD(Ost(e,B0t))),E=VP(Ost(e,m1t),336)==(O6(),m3t),_=ev(hD(Ost(e,v1t))),t.d=e,t.j.c=WX(G$t,r_t,1,0,5,1),t.a.c=WX(G$t,r_t,1,0,5,1),Yj(t.k),h=cA((u=VP(EF(e.b,0),29)).a,(xgt(),F4t)),f=cA((p=VP(EF(e.b,e.b.c.length-1),29)).a,F4t),b=new wd(e.b),w=null,A=0;do{for(Pxt(t,w,m=b.a<b.c.c.length?VP(qU(b),29):null),Vwt(t),S=0,v=A,d=!w||h&&w==u,g=!m||f&&m==p,(T=qv(q2(dq(lq(new CF(null,new NU(t.i,16)),new xo),new vo))))>0?(l=0,w&&(l+=c),l+=(T-1)*s,m&&(l+=c),E&&m&&(l=n.Math.max(l,hgt(m,s,y,_))),l<y&&!d&&!g&&(S=(y-l)/2,l=y),v+=l):!d&&!g&&(v+=y),m&&Vmt(m,v),k=new wd(t.i);k.a<k.c.c.length;)(x=VP(qU(k),128)).a.c=A,x.a.b=v-A,x.F=S,x.p=!w;C4(t.a,t.i),A=v,m&&(A+=m.c.a),w=m,d=g}while(m);for(a=new wd(t.j);a.a<a.c.c.length;)o=z3(t,r=VP(qU(a),17)),d5(r,(Lkt(),GXt),o),C=Fgt(t,r),d5(r,WXt,C);e.f.a=A,t.d=null,$ct(i)}(this,VP(t,37),e)},_R(JLt,"SplineEdgeRouter",1453),Wht(268,1,{268:1},JW),zkt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},zkt.c=0,_R(JLt,"SplineEdgeRouter/Dependency",268),Wht(455,22,{3:1,35:1,22:1,455:1},CC);var V4t,Q4t,J4t,t5t,e5t,n5t=G1(JLt,"SplineEdgeRouter/SideToProcess",455,cjt,(function(){return VH(),P4(Zv(n5t,1),K_t,455,0,[K4t,W4t])}),(function(t){return VH(),rJ((FK(),V4t),t)}));Wht(1454,1,Q_t,xo),zkt.Mb=function(t){return kgt(),!VP(t,128).o},_R(JLt,"SplineEdgeRouter/lambda$0$Type",1454),Wht(1455,1,{},vo),zkt.Ge=function(t){return kgt(),VP(t,128).v+1},_R(JLt,"SplineEdgeRouter/lambda$1$Type",1455),Wht(1456,1,A_t,SC),zkt.td=function(t){!function(t,e,n){Pz(t.b,VP(n.b,17),e)}(this.a,this.b,VP(t,46))},_R(JLt,"SplineEdgeRouter/lambda$2$Type",1456),Wht(1457,1,A_t,AC),zkt.td=function(t){!function(t,e,n){Pz(t.b,VP(n.b,17),e)}(this.a,this.b,VP(t,46))},_R(JLt,"SplineEdgeRouter/lambda$3$Type",1457),Wht(128,1,{35:1,128:1},jut,Zmt),zkt.wd=function(t){return function(t,e){return t.s-e.s}(this,VP(t,128))},zkt.b=0,zkt.e=!1,zkt.f=0,zkt.g=0,zkt.j=!1,zkt.k=!1,zkt.n=0,zkt.o=!1,zkt.p=!1,zkt.q=!1,zkt.s=0,zkt.u=0,zkt.v=0,zkt.F=0,_R(JLt,"SplineSegment",128),Wht(459,1,{459:1},ko),zkt.a=0,zkt.b=!1,zkt.c=!1,zkt.d=!1,zkt.e=!1,zkt.f=0,_R(JLt,"SplineSegment/EdgeInformation",459),Wht(1234,1,{},bo),_R(rOt,mSt,1234),Wht(1235,1,zTt,wo),zkt.ue=function(t,e){return function(t,e){var n,i,r;return 0==(n=VP(Ost(e,(oft(),G5t)),19).a-VP(Ost(t,G5t),19).a)?(i=vN(pI(VP(Ost(t,(avt(),g5t)),8)),VP(Ost(t,p5t),8)),r=vN(pI(VP(Ost(e,g5t),8)),VP(Ost(e,p5t),8)),O8(i.a*i.b,r.a*r.b)):n}(VP(t,135),VP(e,135))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(rOt,vSt,1235),Wht(1233,1,{},hk),_R(rOt,"MrTree",1233),Wht(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},MC),zkt.Kf=function(){return Rlt(this)},zkt.Xf=function(){return Rlt(this)};var i5t,r5t=G1(rOt,"TreeLayoutPhases",393,cjt,(function(){return jrt(),P4(Zv(r5t,1),K_t,393,0,[Q4t,J4t,t5t,e5t])}),(function(t){return jrt(),rJ((KV(),i5t),t)}));Wht(1130,209,XCt,gN),zkt.Ze=function(t,e){var i,r,a,o,s,c;for(tv(lD(_ft(t,(oft(),H5t))))||rZ(new Gd((pE(),new Gm(t)))),c4(s=new tX,t),d5(s,(avt(),E5t),t),function(t,e,i){var r,a,o,s,c;for(o=0,a=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(r=VP(hnt(a),33)).n&&(r.n=new mj(oae,r,1,7)),r.n).i||(s=VP(a1((!r.n&&(r.n=new mj(oae,r,1,7)),r.n),0),137).a),c4(c=new J5(o++,e,s),r),d5(c,(avt(),E5t),r),c.e.b=r.j+r.f/2,c.f.a=n.Math.max(r.g,1),c.e.a=r.i+r.g/2,c.f.b=n.Math.max(r.f,1),$B(e.b,c),Qut(i.f,r,c)}(t,s,c=new rw),function(t,e,n){var i,r,a,o,s,c,u;for(o=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));o.e!=o.i.gc();)for(r=new O$(dL(ddt(a=VP(hnt(o),33)).a.Kc(),new l));Xht(r);)$ht(i=VP(xW(r),79))||$ht(i)||Wlt(i)||(c=VP(nA(BH(n.f,a)),86),u=VP(zR(n,rst(VP(a1((!i.c&&(i.c=new LN(Jre,i,5,8)),i.c),0),82))),86),c&&u&&(d5(s=new iH(c,u),(avt(),E5t),i),c4(s,i),$B(c.d,s),$B(u.b,s),$B(e.a,s)))}(t,s,c),o=s,r=new wd(a=wwt(this.a,o));r.a<r.c.c.length;)i=VP(qU(r),135),Bot(this.b,i,Q2(e,1/a.c.length));!function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k;for(r=VP(Ost(t,(avt(),E5t)),33),c=Qkt,u=Qkt,o=eEt,s=eEt,x=tnt(t.b,0);x.b!=x.d.c;)g=(m=VP(AG(x),86)).e,p=m.f,c=n.Math.min(c,g.a-p.a/2),u=n.Math.min(u,g.b-p.b/2),o=n.Math.max(o,g.a+p.a/2),s=n.Math.max(s,g.b+p.b/2);for(f=new XC((d=VP(_ft(r,(oft(),Z5t)),116)).b-c,d.d-u),v=tnt(t.b,0);v.b!=v.d.c;)MI(h=Ost(m=VP(AG(v),86),E5t),239)&&kM(a=VP(h,33),(l=mN(m.e,f)).a-a.g/2,l.b-a.f/2);for(y=tnt(t.a,0);y.b!=y.d.c;)w=VP(AG(y),188),(i=VP(Ost(w,E5t),79))&&(WK(e=w.a,b=new hM(w.b.e),e.a,e.a.a),WK(e,k=new hM(w.c.e),e.c.b,e.c),uct(b,VP(knt(e,1),8),w.b.f),uct(k,VP(knt(e,e.b-2),8),w.c.f),pyt(e,Qgt(i,!0,!0)));Bxt(r,o-c+(d.b+d.c),s-u+(d.d+d.a),!1,!1)}(o=function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C,S,A;if(1==t.c.length)return OU(0,t.c.length),VP(t.c[0],135);if(t.c.length<=0)return new tX;for(u=new wd(t);u.a<u.c.c.length;){for(s=VP(qU(u),135),m=0,p=Qkt,b=Qkt,d=eEt,g=eEt,y=tnt(s.b,0);y.b!=y.d.c;)w=VP(AG(y),86),m+=VP(Ost(w,(oft(),G5t)),19).a,p=n.Math.min(p,w.e.a),b=n.Math.min(b,w.e.b),d=n.Math.max(d,w.e.a+w.f.a),g=n.Math.max(g,w.e.b+w.f.b);d5(s,(oft(),G5t),p8(m)),d5(s,(avt(),p5t),new XC(p,b)),d5(s,g5t,new XC(d,g))}for(Gq(),QM(t,new wo),c4(x=new tX,(OU(0,t.c.length),VP(t.c[0],94))),f=0,C=0,l=new wd(t);l.a<l.c.c.length;)s=VP(qU(l),135),k=vN(pI(VP(Ost(s,(avt(),g5t)),8)),VP(Ost(s,p5t),8)),f=n.Math.max(f,k.a),C+=k.a*k.b;for(f=n.Math.max(f,n.Math.sqrt(C)*ev(hD(Ost(x,(oft(),F5t))))),S=0,A=0,h=0,e=_=ev(hD(Ost(x,X5t))),c=new wd(t);c.a<c.c.c.length;)s=VP(qU(c),135),S+(k=vN(pI(VP(Ost(s,(avt(),g5t)),8)),VP(Ost(s,p5t),8))).a>f&&(S=0,A+=h+_,h=0),wdt(x,s,S,A),e=n.Math.max(e,S+k.a),h=n.Math.max(h,k.b),S+=k.a+_;for(v=new rw,i=new rw,T=new wd(t);T.a<T.c.c.length;)for(r=tv(lD(Ost(E=VP(qU(T),135),(Ikt(),Ste)))),o=(E.q?E.q:CRt).vc().Kc();o.Ob();)Sj(v,(a=VP(o.Pb(),42)).cd())?iA(VP(a.cd(),146).wg())!==iA(a.dd())&&(r&&Sj(i,a.cd())?(c_(),VP(a.cd(),146).tg()):(Pz(v,VP(a.cd(),146),a.dd()),d5(x,VP(a.cd(),146),a.dd()),r&&Pz(i,VP(a.cd(),146),a.dd()))):(Pz(v,VP(a.cd(),146),a.dd()),d5(x,VP(a.cd(),146),a.dd()));return x}(a))},_R(rOt,"TreeLayoutProvider",1130),Wht(1847,1,D_t,yo),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return Gq(),u_(),ARt},_R(rOt,"TreeUtil/1",1847),Wht(1848,1,D_t,mo),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return Gq(),u_(),ARt},_R(rOt,"TreeUtil/2",1848),Wht(502,134,{3:1,502:1,94:1,134:1}),zkt.g=0,_R(aOt,"TGraphElement",502),Wht(188,502,{3:1,188:1,502:1,94:1,134:1},iH),zkt.Ib=function(){return this.b&&this.c?XU(this.b)+"->"+XU(this.c):"e_"+K5(this)},_R(aOt,"TEdge",188),Wht(135,134,{3:1,135:1,94:1,134:1},tX),zkt.Ib=function(){var t,e,n,i,r;for(r=null,i=tnt(this.b,0);i.b!=i.d.c;)r+=(null==(n=VP(AG(i),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=tnt(this.a,0);e.b!=e.d.c;)r+=((t=VP(AG(e),188)).b&&t.c?XU(t.b)+"->"+XU(t.c):"e_"+K5(t))+"\n";return r};var a5t=_R(aOt,"TGraph",135);Wht(633,502,{3:1,502:1,633:1,94:1,134:1}),_R(aOt,"TShape",633),Wht(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},J5),zkt.Ib=function(){return XU(this)};var o5t,s5t,c5t,u5t,l5t,h5t,f5t=_R(aOt,"TNode",86);Wht(255,1,D_t,Bp),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return new Fp(tnt(this.a.d,0))},_R(aOt,"TNode/2",255),Wht(358,1,f_t,Fp),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return VP(AG(this.a),188).c},zkt.Ob=function(){return ik(this.a)},zkt.Qb=function(){zJ(this.a)},_R(aOt,"TNode/2/1",358),Wht(1840,1,bAt,dN),zkt.pf=function(t,e){ryt(this,VP(t,135),e)},_R(oOt,"FanProcessor",1840),Wht(327,22,{3:1,35:1,22:1,327:1,234:1},IC),zkt.Kf=function(){switch(this.g){case 0:return new um;case 1:return new dN;case 2:return new Lo;case 3:return new Mo;case 4:return new Do;case 5:return new No;default:throw lw(new Xm(zAt+(null!=this.f?this.f:""+this.g)))}};var d5t,g5t,p5t,b5t,w5t,y5t,m5t,v5t,x5t,k5t,_5t,E5t,T5t,C5t,S5t,A5t,M5t,I5t,L5t,O5t,D5t,N5t,P5t,B5t,F5t,$5t,j5t,R5t,z5t,q5t,H5t,Z5t,U5t,Y5t,G5t,K5t,W5t,X5t,V5t,Q5t,J5t,t6t=G1(oOt,qAt,327,cjt,(function(){return xut(),P4(Zv(t6t,1),K_t,327,0,[h5t,s5t,u5t,c5t,l5t,o5t])}),(function(t){return xut(),rJ((T1(),d5t),t)}));Wht(1843,1,bAt,Mo),zkt.pf=function(t,e){Aft(this,VP(t,135),e)},zkt.a=0,_R(oOt,"LevelHeightProcessor",1843),Wht(1844,1,D_t,Io),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return Gq(),u_(),ARt},_R(oOt,"LevelHeightProcessor/1",1844),Wht(1841,1,bAt,Lo),zkt.pf=function(t,e){Put(this,VP(t,135),e)},zkt.a=0,_R(oOt,"NeighborsProcessor",1841),Wht(1842,1,D_t,Oo),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return Gq(),u_(),ARt},_R(oOt,"NeighborsProcessor/1",1842),Wht(1845,1,bAt,Do),zkt.pf=function(t,e){Sft(this,VP(t,135),e)},zkt.a=0,_R(oOt,"NodePositionProcessor",1845),Wht(1839,1,bAt,um),zkt.pf=function(t,e){!function(t,e){var n,i,r,a,o,s,c;for(t.a.c=WX(G$t,r_t,1,0,5,1),i=tnt(e.b,0);i.b!=i.d.c;)0==(n=VP(AG(i),86)).b.b&&(d5(n,(avt(),I5t),(EL(),!0)),nB(t.a,n));switch(t.a.c.length){case 0:d5(r=new J5(0,e,"DUMMY_ROOT"),(avt(),I5t),(EL(),!0)),d5(r,w5t,!0),$B(e.b,r);break;case 1:break;default:for(a=new J5(0,e,"SUPER_ROOT"),s=new wd(t.a);s.a<s.c.c.length;)d5(c=new iH(a,o=VP(qU(s),86)),(avt(),w5t),(EL(),!0)),$B(a.a.a,c),$B(a.d,c),$B(o.b,c),d5(o,I5t,!1);d5(a,(avt(),I5t),(EL(),!0)),d5(a,w5t,!0),$B(e.b,a)}}(this,VP(t,135))},_R(oOt,"RootProcessor",1839),Wht(1846,1,bAt,No),zkt.pf=function(t,e){!function(t){var e,n;for(n=VP(Ost(t,(avt(),S5t)),15).Kc();n.Ob();)$B((e=VP(n.Pb(),188)).b.d,e),$B(e.c.b,e)}(VP(t,135))},_R(oOt,"Untreeifyer",1846),Wht(851,1,fCt,Eh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uOt),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),B5t),(dut(),L9t)),r6t),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lOt),""),"Search Order"),"Which search order to use when computing a spanning tree."),N5t),L9t),d6t),Q8(T9t)))),Pvt((new _h,t))},_R(hOt,"MrTreeMetaDataProvider",851),Wht(994,1,fCt,_h),zkt.Qe=function(t){Pvt(t)},_R(hOt,"MrTreeOptions",994),Wht(995,1,{},Po),zkt.$e=function(){return new gN},zkt._e=function(t){},_R(hOt,"MrTreeOptions/MrtreeFactory",995),Wht(480,22,{3:1,35:1,22:1,480:1},LC);var e6t,n6t,i6t,r6t=G1(hOt,"OrderWeighting",480,cjt,(function(){return $Z(),P4(Zv(r6t,1),K_t,480,0,[Q5t,J5t])}),(function(t){return $Z(),rJ((RK(),e6t),t)}));Wht(425,22,{3:1,35:1,22:1,425:1},OC);var a6t,o6t,s6t,c6t,u6t,l6t,h6t,f6t,d6t=G1(hOt,"TreeifyingOrder",425,cjt,(function(){return xY(),P4(Zv(d6t,1),K_t,425,0,[i6t,n6t])}),(function(t){return xY(),rJ(($K(),a6t),t)}));Wht(1459,1,jLt,gh),zkt.Yf=function(t){return VP(t,135),o6t},zkt.pf=function(t,e){J2(this,VP(t,135),e)},_R("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),Wht(1460,1,jLt,ph),zkt.Yf=function(t){return VP(t,135),s6t},zkt.pf=function(t,e){Hut(this,VP(t,135),e)},_R("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),Wht(1461,1,jLt,dh),zkt.Yf=function(t){return VP(t,135),c6t},zkt.pf=function(t,e){Opt(this,VP(t,135),e)},zkt.a=0,_R("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),Wht(1462,1,jLt,bh),zkt.Yf=function(t){return VP(t,135),u6t},zkt.pf=function(t,e){!function(t,e){var n,i;for(ast(e,"Dull edge routing",1),i=tnt(t.b,0);i.b!=i.d.c;)for(n=tnt(VP(AG(i),86).d,0);n.b!=n.d.c;)zq(VP(AG(n),188).a)}(VP(t,135),e)},_R("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),Wht(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},DC),zkt.Kf=function(){return Y9(this)},zkt.Xf=function(){return Y9(this)};var g6t,p6t,b6t,w6t,y6t=G1(gOt,"RadialLayoutPhases",495,cjt,(function(){return w2(),P4(Zv(y6t,1),K_t,495,0,[h6t,f6t])}),(function(t){return w2(),rJ((jK(),g6t),t)}));Wht(1131,209,XCt,lk),zkt.Ze=function(t,e){var n,i,r;if(ast(e,"Radial layout",Jut(this,t).c.length),tv(lD(_ft(t,(Rrt(),Y6t))))||rZ(new Gd((pE(),new Gm(t)))),r=function(t){var e,n;for(n=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));n.e!=n.i.gc();)if(!Xht(new O$(dL(fdt(e=VP(hnt(n),33)).a.Kc(),new l))))return e;return null}(t),Ont(t,(nD(),l6t),r),!r)throw lw(new Xm("The given graph is not a tree!"));for(0==(n=ev(hD(_ft(t,V6t))))&&(n=Mlt(t)),Ont(t,V6t,n),i=new wd(Jut(this,t));i.a<i.c.c.length;)VP(qU(i),51).pf(t,Q2(e,1));$ct(e)},_R(gOt,"RadialLayoutProvider",1131),Wht(549,1,zTt,uk),zkt.ue=function(t,e){return function(t,e,i,r){var a,o,s,c,u,l,h,f;return u=(s=VP(_ft(i,(Ikt(),Lee)),8)).a,h=s.b+t,(a=n.Math.atan2(h,u))<0&&(a+=pOt),(a+=e)>pOt&&(a-=pOt),l=(c=VP(_ft(r,Lee),8)).a,f=c.b+t,(o=n.Math.atan2(f,l))<0&&(o+=pOt),(o+=e)>pOt&&(o-=pOt),GM(),c0(1e-10),n.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:a<o?-1:a>o?1:XA(isNaN(a),isNaN(o))}(this.a,this.b,VP(t,33),VP(e,33))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},zkt.a=0,zkt.b=0,_R(gOt,"RadialUtil/lambda$0$Type",549),Wht(1375,1,bAt,Fo),zkt.pf=function(t,e){!function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;for(ast(e,"Calculate Graph Size",1),e.n&&t&&tY(e,FY(t),(S6(),kre)),c=pSt,u=pSt,o=bOt,s=bOt,f=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));f.e!=f.i.gc();)p=(l=VP(hnt(f),33)).i,b=l.j,y=l.g,r=l.f,a=VP(_ft(l,(Ikt(),Gte)),142),c=n.Math.min(c,p-a.b),u=n.Math.min(u,b-a.d),o=n.Math.max(o,p+y+a.c),s=n.Math.max(s,b+r+a.a);for(d=new XC(c-(g=VP(_ft(t,(Ikt(),cee)),116)).b,u-g.d),h=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));h.e!=h.i.gc();)D1(l=VP(hnt(h),33),l.i-d.a),N1(l,l.j-d.b);w=o-c+(g.b+g.c),i=s-u+(g.d+g.a),O1(t,w),L1(t,i),e.n&&t&&tY(e,FY(t),(S6(),kre))}(VP(t,33),e)},_R(wOt,"CalculateGraphSize",1375),Wht(442,22,{3:1,35:1,22:1,442:1,234:1},NC),zkt.Kf=function(){switch(this.g){case 0:return new qo;case 1:return new Bo;case 2:return new Fo;default:throw lw(new Xm(zAt+(null!=this.f?this.f:""+this.g)))}};var m6t,v6t,x6t,k6t=G1(wOt,qAt,442,cjt,(function(){return m9(),P4(Zv(k6t,1),K_t,442,0,[w6t,p6t,b6t])}),(function(t){return m9(),rJ(($X(),m6t),t)}));Wht(645,1,{}),zkt.e=1,zkt.g=0,_R(yOt,"AbstractRadiusExtensionCompaction",645),Wht(1772,645,{},rD),zkt.hg=function(t){var e,n,i,r,a,o,s,c,u;for(this.c=VP(_ft(t,(nD(),l6t)),33),function(t,e){t.f=e}(this,this.c),this.d=Xnt(VP(_ft(t,(Rrt(),Q6t)),293)),(c=VP(_ft(t,R6t),19))&&zf(this,c.a),qf(this,(yz(s=hD(_ft(t,(Ikt(),Kee)))),s)),u=rpt(this.c),this.d&&this.d.lg(u),function(t,e){var n,i,r;for(i=new wd(e);i.a<i.c.c.length;)if(n=VP(qU(i),33),Vlt(t.a,n,n),Vlt(t.b,n,n),0!=(r=rpt(n)).c.length)for(t.d&&t.d.lg(r),Vlt(t.a,n,(OU(0,r.c.length),VP(r.c[0],33))),Vlt(t.b,n,VP(EF(r,r.c.length-1),33));0!=Z4(r).c.length;)r=Z4(r),t.d&&t.d.lg(r),Vlt(t.a,n,(OU(0,r.c.length),VP(r.c[0],33))),Vlt(t.b,n,VP(EF(r,r.c.length-1),33))}(this,u),o=new ov(P4(Zv(sae,1),mOt,33,0,[this.c])),n=0;n<2;n++)for(e=0;e<u.c.length;e++)r=new ov(P4(Zv(sae,1),mOt,33,0,[(OU(e,u.c.length),VP(u.c[e],33))])),a=e<u.c.length-1?(OU(e+1,u.c.length),VP(u.c[e+1],33)):(OU(0,u.c.length),VP(u.c[0],33)),i=0==e?VP(EF(u,u.c.length-1),33):(OU(e-1,u.c.length),VP(u.c[e-1],33)),yst(this,(OU(e,u.c.length),VP(u.c[e],33),o),i,a,r)},_R(yOt,"AnnulusWedgeCompaction",1772),Wht(1374,1,bAt,Bo),zkt.pf=function(t,e){Dat(VP(t,33),e)},_R(yOt,"GeneralCompactor",1374),Wht(1771,645,{},$o),zkt.hg=function(t){var e,n,i,r;n=VP(_ft(t,(nD(),l6t)),33),this.f=n,this.b=Xnt(VP(_ft(t,(Rrt(),Q6t)),293)),(r=VP(_ft(t,R6t),19))&&zf(this,r.a),qf(this,(yz(i=hD(_ft(t,(Ikt(),Kee)))),i)),e=rpt(n),this.b&&this.b.lg(e),sut(this,e)},zkt.a=0,_R(yOt,"RadialCompaction",1771),Wht(1779,1,{},jo),zkt.ig=function(t){var e,n,i,r,a,o;for(this.a=t,e=0,i=0,a=new wd(o=rpt(t));a.a<a.c.c.length;)for(r=VP(qU(a),33),n=++i;n<o.c.length;n++)wyt(this,r,(OU(n,o.c.length),VP(o.c[n],33)))&&(e+=1);return e},_R(vOt,"CrossingMinimizationPosition",1779),Wht(1777,1,{},Ro),zkt.ig=function(t){var e,i,r,a,o,s,c,u,h,f,d,g,p;for(r=0,i=new O$(dL(ddt(t).a.Kc(),new l));Xht(i);)e=VP(xW(i),79),h=(c=rst(VP(a1((!e.c&&(e.c=new LN(Jre,e,5,8)),e.c),0),82))).i+c.g/2,f=c.j+c.f/2,a=t.i+t.g/2,o=t.j+t.f/2,(d=new Sx).a=h-a,d.b=f-o,Eat(s=new XC(d.a,d.b),t.g,t.f),d.a-=s.a,d.b-=s.b,a=h-d.a,o=f-d.b,Eat(u=new XC(d.a,d.b),c.g,c.f),d.a-=u.a,d.b-=u.b,g=(h=a+d.a)-a,p=(f=o+d.b)-o,r+=n.Math.sqrt(g*g+p*p);return r},_R(vOt,"EdgeLengthOptimization",1777),Wht(1778,1,{},zo),zkt.ig=function(t){var e,i,r,a,o,s,c,u,h;for(r=0,i=new O$(dL(ddt(t).a.Kc(),new l));Xht(i);)e=VP(xW(i),79),s=(o=rst(VP(a1((!e.c&&(e.c=new LN(Jre,e,5,8)),e.c),0),82))).i+o.g/2,c=o.j+o.f/2,a=VP(_ft(o,(Ikt(),Lee)),8),u=s-(t.i+a.a+t.g/2),h=c-(t.j+a.b+t.f),r+=n.Math.sqrt(u*u+h*h);return r},_R(vOt,"EdgeLengthPositionOptimization",1778),Wht(1373,645,bAt,qo),zkt.pf=function(t,e){ldt(this,VP(t,33),e)},_R("org.eclipse.elk.alg.radial.intermediate.overlaps","RadiusExtensionOverlapRemoval",1373),Wht(426,22,{3:1,35:1,22:1,426:1},PC);var _6t,E6t,T6t,C6t,S6t=G1(kOt,"AnnulusWedgeCriteria",426,cjt,(function(){return MV(),P4(Zv(S6t,1),K_t,426,0,[v6t,x6t])}),(function(t){return MV(),rJ((zK(),_6t),t)}));Wht(380,22,{3:1,35:1,22:1,380:1},BC);var A6t,M6t,I6t,L6t,O6t,D6t,N6t,P6t,B6t,F6t,$6t,j6t,R6t,z6t,q6t,H6t,Z6t,U6t,Y6t,G6t,K6t,W6t,X6t,V6t,Q6t,J6t,t7t,e7t,n7t,i7t,r7t,a7t=G1(kOt,nSt,380,cjt,(function(){return A6(),P4(Zv(a7t,1),K_t,380,0,[E6t,T6t,C6t])}),(function(t){return A6(),rJ((jX(),A6t),t)}));Wht(852,1,fCt,wh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,_Ot),""),"Order ID"),"The id can be used to define an order for nodes of one radius. This can be used to sort them in the layer accordingly."),p8(0)),(dut(),D9t)),Gjt),Q8((Vet(),E9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,EOt),""),"Radius"),"The radius option can be used to set the initial radius for the radial layouter."),0),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,TOt),""),"Compaction"),"With the compacter option it can be determined how compaction on the graph is done. It can be chosen between none, the radial compaction or the compaction of wedges separately."),L6t),L9t),a7t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,COt),""),"Compaction Step Size"),"Determine the size of steps with which the compaction is done. Step size 1 correlates to a compaction of 1 pixel per Iteration."),p8(1)),D9t),Gjt),Q8(T9t)))),PY(t,COt,TOt,null),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,SOt),""),"Sorter"),"Sort the nodes per radius according to the sorting algorithm. The strategies are none, by the given order id, or sorting them by polar coordinates."),F6t),L9t),f7t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,AOt),""),"Annulus Wedge Criteria"),"Determine how the wedge for the node placement is calculated. It can be chosen between wedge determination by the number of leaves or by the maximum sum of diagonals."),j6t),L9t),S6t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,MOt),""),"Translation Optimization"),"Find the optimal translation of the nodes of the first radii according to this criteria. For example edge crossings can be minimized."),D6t),L9t),l7t),Q8(T9t)))),yxt((new yh,t))},_R(kOt,"RadialMetaDataProvider",852),Wht(996,1,fCt,yh),zkt.Qe=function(t){yxt(t)},_R(kOt,"RadialOptions",996),Wht(997,1,{},Ho),zkt.$e=function(){return new lk},zkt._e=function(t){},_R(kOt,"RadialOptions/RadialFactory",997),Wht(340,22,{3:1,35:1,22:1,340:1},FC);var o7t,s7t,c7t,u7t,l7t=G1(kOt,"RadialTranslationStrategy",340,cjt,(function(){return Hit(),P4(Zv(l7t,1),K_t,340,0,[r7t,n7t,i7t,e7t])}),(function(t){return Hit(),rJ((XV(),o7t),t)}));Wht(293,22,{3:1,35:1,22:1,293:1},$C);var h7t,f7t=G1(kOt,"SortingStrategy",293,cjt,(function(){return g3(),P4(Zv(f7t,1),K_t,293,0,[c7t,u7t,s7t])}),(function(t){return g3(),rJ((zX(),h7t),t)}));Wht(1449,1,jLt,Zo),zkt.Yf=function(t){return VP(t,33),null},zkt.pf=function(t,e){mdt(this,VP(t,33),e)},zkt.c=0,_R("org.eclipse.elk.alg.radial.p1position","EadesRadial",1449),Wht(1775,1,{},Uo),zkt.jg=function(t){return Mnt(t)},_R(LOt,"AnnulusWedgeByLeafs",1775),Wht(1776,1,{},Yo),zkt.jg=function(t){return Fot(this,t)},_R(LOt,"AnnulusWedgeByNodeSpace",1776),Wht(1450,1,jLt,Go),zkt.Yf=function(t){return VP(t,33),null},zkt.pf=function(t,e){pot(this,VP(t,33),e)},_R("org.eclipse.elk.alg.radial.p2routing","StraightLineEdgeRouter",1450),Wht(811,1,{},hm),zkt.kg=function(t){},zkt.lg=function(t){vw(this,t)},_R(OOt,"IDSorter",811),Wht(1774,1,zTt,Ko),zkt.ue=function(t,e){return function(t,e){var n,i;return n=VP(_ft(t,(Rrt(),K6t)),19),i=VP(_ft(e,K6t),19),nI(n.a,i.a)}(VP(t,33),VP(e,33))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(OOt,"IDSorter/lambda$0$Type",1774),Wht(1773,1,{},v2),zkt.kg=function(t){NY(this,t)},zkt.lg=function(t){t.dc()||(this.e||NY(this,DF(VP(t.Xb(0),33))),vw(this.e,t))},_R(OOt,"PolarCoordinateSorter",1773),Wht(1136,209,XCt,Wo),zkt.Ze=function(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y,m,v,x,k,_,E;if(ast(e,"Rectangle Packing",1),e.n&&e.n&&t&&tY(e,FY(t),(S6(),kre)),i=ev(hD(_ft(t,(Jft(),S7t)))),g=VP(_ft(t,q7t),381),w=tv(lD(_ft(t,P7t))),v=tv(lD(_ft(t,z7t))),h=tv(lD(_ft(t,L7t))),x=VP(_ft(t,H7t),116),m=ev(hD(_ft(t,G7t))),r=tv(lD(_ft(t,Y7t))),f=tv(lD(_ft(t,O7t))),b=tv(lD(_ft(t,D7t))),E=ev(hD(_ft(t,K7t))),!t.a&&(t.a=new mj(sae,t,10,11)),g2(_=t.a),b){for(d=new iw,c=new YI(_);c.e!=c.i.gc();)UX(o=VP(hnt(c),33),I7t)&&(d.c[d.c.length]=o);for(u=new wd(d);u.a<u.c.c.length;)HQ(_,o=VP(qU(u),33));for(Gq(),QM(d,new Xo),l=new wd(d);l.a<l.c.c.length;)o=VP(qU(l),33),k=VP(_ft(o,I7t),19).a,v8(_,k=n.Math.min(k,_.i),o);for(p=0,s=new YI(_);s.e!=s.i.gc();)Ont(o=VP(hnt(s),33),M7t,p8(p)),++p}(y=Out(t)).a-=x.b+x.c,y.b-=x.d+x.a,y.a,E<0||E<y.a?(a=function(t,e,n,i){var r,a,o,s,c,u,l;for(D1(o=VP(a1(e,0),33),0),N1(o,0),(c=new iw).c[c.c.length]=o,s=o,a=new tF(t.a,o.g,o.f,(Bdt(),t8t)),u=1;u<e.i;u++)D1(l=VP(a1(e,u),33),(r=zmt(t,omt(t,V7t,l,s,a,c,n),omt(t,X7t,l,s,a,c,n),omt(t,J7t,l,s,a,c,n),omt(t,Q7t,l,s,a,c,n),l,s,i)).d),N1(l,r.e),Uf(r,t8t),a=r,s=l,c.c[c.c.length]=l;return a}(new NP(i,g,w),_,m,x),e.n&&e.n&&t&&tY(e,FY(t),(S6(),kre))):a=new tF(i,E,0,(Bdt(),t8t)),y.a+=x.b+x.c,y.b+=x.d+x.a,v||(g2(_),a=nxt(new NG(i,h,f,r,m),_,n.Math.max(y.a,a.c),y,e,t,x)),function(t,e){var n,i;for(i=new YI(t);i.e!=i.i.gc();)kM(n=VP(hnt(i),33),n.i+e.b,n.j+e.d)}(_,x),Bxt(t,a.c+(x.b+x.c),a.b+(x.d+x.a),!1,!0),tv(lD(_ft(t,R7t)))||rZ(new Gd((pE(),new Gm(t)))),e.n&&e.n&&t&&tY(e,FY(t),(S6(),kre)),$ct(e)},_R(BOt,"RectPackingLayoutProvider",1136),Wht(1137,1,zTt,Xo),zkt.ue=function(t,e){return function(t,e){var n,i;return(n=VP(_ft(t,(Jft(),I7t)),19).a)==(i=VP(_ft(e,I7t),19).a)||n<i?-1:n>i?1:0}(VP(t,33),VP(e,33))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(BOt,"RectPackingLayoutProvider/lambda$0$Type",1137),Wht(1256,1,{},NP),zkt.a=0,zkt.c=!1,_R(FOt,"AreaApproximation",1256);var d7t,g7t,p7t,b7t=oF(FOt,"BestCandidateFilter");Wht(638,1,{526:1},Vo),zkt.mg=function(t,e,i){var r,a,o,s,c,u;for(u=new iw,o=JEt,c=new wd(t);c.a<c.c.c.length;)s=VP(qU(c),220),o=n.Math.min(o,(s.c+(i.b+i.c))*(s.b+(i.d+i.a)));for(a=new wd(t);a.a<a.c.c.length;)((r=VP(qU(a),220)).c+(i.b+i.c))*(r.b+(i.d+i.a))==o&&(u.c[u.c.length]=r);return u},_R(FOt,"AreaFilter",638),Wht(639,1,{526:1},Qo),zkt.mg=function(t,e,i){var r,a,o,s,c,u;for(c=new iw,u=JEt,s=new wd(t);s.a<s.c.c.length;)o=VP(qU(s),220),u=n.Math.min(u,n.Math.abs((o.c+(i.b+i.c))/(o.b+(i.d+i.a))-e));for(a=new wd(t);a.a<a.c.c.length;)r=VP(qU(a),220),n.Math.abs((r.c+(i.b+i.c))/(r.b+(i.d+i.a))-e)==u&&(c.c[c.c.length]=r);return c},_R(FOt,"AspectRatioFilter",639),Wht(637,1,{526:1},Jo),zkt.mg=function(t,e,i){var r,a,o,s,c,u;for(u=new iw,o=tTt,c=new wd(t);c.a<c.c.c.length;)s=VP(qU(c),220),o=n.Math.max(o,LF(s.c+(i.b+i.c),s.b+(i.d+i.a),s.a));for(a=new wd(t);a.a<a.c.c.length;)LF((r=VP(qU(a),220)).c+(i.b+i.c),r.b+(i.d+i.a),r.a)==o&&(u.c[u.c.length]=r);return u},_R(FOt,"ScaleMeasureFilter",637),Wht(381,22,{3:1,35:1,22:1,381:1},jC);var w7t,y7t,m7t,v7t,x7t,k7t,_7t,E7t,T7t,C7t,S7t,A7t,M7t,I7t,L7t,O7t,D7t,N7t,P7t,B7t,F7t,$7t,j7t,R7t,z7t,q7t,H7t,Z7t,U7t,Y7t,G7t,K7t,W7t=G1($Ot,"OptimizationGoal",381,cjt,(function(){return w9(),P4(Zv(W7t,1),K_t,381,0,[g7t,p7t,d7t])}),(function(t){return w9(),rJ((RX(),w7t),t)}));Wht(856,1,fCt,Sh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,jOt),""),"Optimization Goal"),"Optimization goal for approximation of the bounding box given by the first iteration. Determines whether layout is sorted by the maximum scaling, aspect ratio, or area. Depending on the strategy the aspect ratio might be nearly ignored."),E7t),(dut(),L9t)),W7t),Q8((Vet(),E9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ROt),""),"Shift Last Placed."),"When placing a rectangle behind or below the last placed rectangle in the first iteration, it is sometimes possible to shift the rectangle further to the left or right, resulting in less whitespace. True (default) enables the shift and false disables it. Disabling the shift produces a greater approximated area by the first iteration and a layout, when using ONLY the first iteration (default not the case), where it is sometimes impossible to implement a size transformation of rectangles that will fill the bounding box and eliminate empty spaces."),(EL(),!0)),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,zOt),""),"Current position of a node in the order of nodes"),"The rectangles are ordered. Normally according to their definition the the model. This option specifies the current position of a node."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,qOt),""),"Desired index of node"),"The rectangles are ordered. Normally according to their definition the the model. This option allows to specify a desired position that has preference over the original position."),p8(-1)),D9t),Gjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,HOt),""),"Only Area Approximation"),"If enabled only the width approximation step is executed and the nodes are placed accordingly. The nodes are layouted according to the packingStrategy. If set to true not expansion of nodes is taking place."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ZOt),""),"Compact Rows"),"Enables compaction. Compacts blocks if they do not use the full height of the row. This option allows to have a smaller drawing. If this option is disabled all nodes are placed next to each other in rows."),!0),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,UOt),""),"Fit Aspect Ratio"),"Expands nodes if expandNodes is true to fit the aspect ratio instead of only in their bounds. The option is only useful if the used packingStrategy is ASPECT_RATIO_DRIVEN, otherwise this may result in unreasonable ndoe expansion."),!1),M9t),Fjt),Q8(E9t)))),PY(t,UOt,GOt,null),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,YOt),""),"Target Width"),"Option to place the rectangles in the given target width instead of approximating the width using the desired aspect ratio. The padding is not included in this. Meaning a drawing will have width of targetwidth + horizontal padding."),-1),I9t),Hjt),Q8(E9t)))),hkt((new Ah,t))},_R($Ot,"RectPackingMetaDataProvider",856),Wht(1004,1,fCt,Ah),zkt.Qe=function(t){hkt(t)},_R($Ot,"RectPackingOptions",1004),Wht(1005,1,{},ts),zkt.$e=function(){return new Wo},zkt._e=function(t){},_R($Ot,"RectPackingOptions/RectpackingFactory",1005),Wht(1257,1,{},NG),zkt.a=0,zkt.b=!1,zkt.c=0,zkt.d=0,zkt.e=!1,zkt.f=!1,zkt.g=0,_R("org.eclipse.elk.alg.rectpacking.seconditeration","RowFillingAndCompaction",1257),Wht(187,1,{187:1},t6),zkt.a=0,zkt.c=!1,zkt.d=0,zkt.e=0,zkt.f=0,zkt.g=0,zkt.i=0,zkt.k=!1,zkt.o=JEt,zkt.p=JEt,zkt.r=0,zkt.s=0,zkt.t=0,_R(WOt,"Block",187),Wht(211,1,{211:1},bZ),zkt.a=0,zkt.b=0,zkt.d=0,zkt.e=0,zkt.f=0,_R(WOt,"BlockRow",211),Wht(443,1,{443:1},wZ),zkt.b=0,zkt.c=0,zkt.d=0,zkt.e=0,zkt.f=0,_R(WOt,"BlockStack",443),Wht(220,1,{220:1},tF,R9),zkt.a=0,zkt.b=0,zkt.c=0,zkt.d=0,zkt.e=0;var X7t,V7t,Q7t,J7t,t8t,e8t=_R(WOt,"DrawingData",220);Wht(355,22,{3:1,35:1,22:1,355:1},RC);var n8t,i8t,r8t,a8t,o8t=G1(WOt,"DrawingDataDescriptor",355,cjt,(function(){return Bdt(),P4(Zv(o8t,1),K_t,355,0,[V7t,X7t,J7t,Q7t,t8t])}),(function(t){return Bdt(),rJ((yJ(),n8t),t)}));Wht(200,1,{200:1},pY),zkt.b=0,zkt.c=0,zkt.e=0,zkt.f=0,_R(WOt,"RectRow",200),Wht(756,1,{},e7),zkt.j=0,_R(VOt,OAt,756),Wht(1245,1,{},es),zkt.Je=function(t){return aV(t.a,t.b)},_R(VOt,DAt,1245),Wht(1246,1,{},$p),zkt.Je=function(t){return function(t,e){return n.Math.min(aV(e.a,t.d.d.c),aV(e.b,t.d.d.c))}(this.a,t)},_R(VOt,NAt,1246),Wht(1247,1,{},jp),zkt.Je=function(t){return function(t,e){var n,i;return n=VP(VP(zR(t.g,e.a),46).a,65),i=VP(VP(zR(t.g,e.b),46).a,65),aV(e.a,e.b)-aV(e.a,dI(n.b))-aV(e.b,dI(i.b))}(this.a,t)},_R(VOt,PAt,1247),Wht(1248,1,{},Rp),zkt.Je=function(t){return function(t,e){return Xwt(VP(VP(zR(t.g,e.a),46).a,65),VP(VP(zR(t.g,e.b),46).a,65))}(this.a,t)},_R(VOt,"ElkGraphImporter/lambda$3$Type",1248),Wht(1249,1,{},zp),zkt.Je=function(t){return eht(this.a,t)},_R(VOt,BAt,1249),Wht(1133,209,XCt,fk),zkt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l,h;for(UX(t,(Fst(),B8t))&&(h=fD(_ft(t,(dit(),r9t))),(a=lbt(u0(),h))&&VP(GH(a.f),209).Ze(t,Q2(e,1))),Ont(t,L8t,(aX(),g8t)),Ont(t,O8t,(Oct(),v8t)),Ont(t,D8t,(z4(),u9t)),o=VP(_ft(t,(dit(),t9t)),19).a,ast(e,"Overlap removal",1),tv(lD(_ft(t,J8t))),c=new qp(s=new Xw),n=mkt(i=new e7,t),u=!0,r=0;r<o&&u;){if(tv(lD(_ft(t,e9t)))){if(s.a.$b(),Sut(new cI(c),n.i),0==s.a.gc())break;n.e=s}for(jY(this.b),Hj(this.b,(y9(),i8t),(iE(),a9t)),Hj(this.b,r8t,n.g),Hj(this.b,a8t,(nE(),h8t)),this.a=tvt(this.b,n),l=new wd(this.a);l.a<l.c.c.length;)VP(qU(l),51).pf(n,Q2(e,1));Sat(i,n),u=tv(lD(Ost(n,(v3(),fHt)))),++r}Nvt(i,n),$ct(e)},_R(VOt,"OverlapRemovalLayoutProvider",1133),Wht(1134,1,{},qp),_R(VOt,"OverlapRemovalLayoutProvider/lambda$0$Type",1134),Wht(437,22,{3:1,35:1,22:1,437:1},zC);var s8t,c8t,u8t=G1(VOt,"SPOrEPhases",437,cjt,(function(){return y9(),P4(Zv(u8t,1),K_t,437,0,[i8t,r8t,a8t])}),(function(t){return y9(),rJ((qX(),s8t),t)}));Wht(1255,1,{},dk),_R(VOt,"ShrinkTree",1255),Wht(1135,209,XCt,fm),zkt.Ze=function(t,e){var n,i,r,a;UX(t,(Fst(),B8t))&&(a=fD(_ft(t,B8t)),(r=lbt(u0(),a))&&VP(GH(r.f),209).Ze(t,Q2(e,1))),n=mkt(i=new e7,t),function(t,e,n){var i;if(jY(t.b),Hj(t.b,(y9(),i8t),(iE(),a9t)),Hj(t.b,r8t,e.g),Hj(t.b,a8t,e.a),t.a=tvt(t.b,e),ast(n,"Compaction by shrinking a tree",t.a.c.length),e.i.c.length>1)for(i=new wd(t.a);i.a<i.c.c.length;)VP(qU(i),51).pf(e,Q2(n,1));$ct(n)}(this.a,n,Q2(e,1)),Nvt(i,n)},_R(VOt,"ShrinkTreeLayoutProvider",1135),Wht(300,134,{3:1,300:1,94:1,134:1},pZ),zkt.c=!1,_R("org.eclipse.elk.alg.spore.graph","Graph",300),Wht(482,22,{3:1,35:1,22:1,482:1,246:1,234:1},oE),zkt.Kf=function(){return X5(this)},zkt.Xf=function(){return X5(this)};var l8t,h8t,f8t=G1(QOt,nSt,482,cjt,(function(){return eE(),P4(Zv(f8t,1),K_t,482,0,[c8t])}),(function(t){return eE(),rJ((yG(),l8t),t)}));Wht(551,22,{3:1,35:1,22:1,551:1,246:1,234:1},oD),zkt.Kf=function(){return new as},zkt.Xf=function(){return new as};var d8t,g8t,p8t,b8t=G1(QOt,"OverlapRemovalStrategy",551,cjt,(function(){return nE(),P4(Zv(b8t,1),K_t,551,0,[h8t])}),(function(t){return nE(),rJ((wG(),d8t),t)}));Wht(430,22,{3:1,35:1,22:1,430:1},qC);var w8t,y8t,m8t,v8t,x8t,k8t,_8t=G1(QOt,"RootSelection",430,cjt,(function(){return aX(),P4(Zv(_8t,1),K_t,430,0,[p8t,g8t])}),(function(t){return aX(),rJ((HK(),w8t),t)}));Wht(316,22,{3:1,35:1,22:1,316:1},HC);var E8t,T8t,C8t,S8t,A8t,M8t,I8t,L8t,O8t,D8t,N8t,P8t,B8t,F8t,$8t,j8t,R8t,z8t,q8t,H8t,Z8t,U8t,Y8t,G8t,K8t,W8t,X8t,V8t,Q8t,J8t,t9t,e9t,n9t,i9t,r9t,a9t,o9t=G1(QOt,"SpanningTreeCostFunction",316,cjt,(function(){return Oct(),P4(Zv(o9t,1),K_t,316,0,[y8t,m8t,k8t,v8t,x8t])}),(function(t){return Oct(),rJ((bJ(),E8t),t)}));Wht(1002,1,fCt,vh),zkt.Qe=function(t){vmt(t)},_R(QOt,"SporeCompactionOptions",1002),Wht(1003,1,{},ns),zkt.$e=function(){return new fm},zkt._e=function(t){},_R(QOt,"SporeCompactionOptions/SporeCompactionFactory",1003),Wht(855,1,fCt,xh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,tDt),""),"Underlying Layout Algorithm"),"A layout algorithm that is applied to the graph before it is compacted. If this is null, nothing is applied before compaction."),(dut(),P9t)),fRt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,aDt),"structure"),"Structure Extraction Strategy"),"This option defines what kind of triangulation or other partitioning of the plane is applied to the vertices."),V8t),L9t),l9t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,eDt),lDt),"Tree Construction Strategy"),"Whether a minimum spanning tree or a maximum spanning tree should be constructed."),W8t),L9t),f9t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,nDt),lDt),"Cost Function for Spanning Tree"),"The cost function is used in the creation of the spanning tree."),G8t),L9t),o9t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,iDt),lDt),"Root node for spanning tree construction"),"The identifier of the node that is preferred as the root of the spanning tree. If this is null, the first node is chosen."),null),P9t),fRt),Q8(T9t)))),PY(t,iDt,rDt,H8t),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,rDt),lDt),"Root selection for spanning tree"),"This sets the method used to select a root node for the construction of a spanning tree"),U8t),L9t),_8t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,oDt),jIt),"Compaction Strategy"),"This option defines how the compaction is applied."),$8t),L9t),f8t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,sDt),jIt),"Orthogonal Compaction"),"Restricts the translation of nodes to orthogonal directions in the compaction phase."),(EL(),!1)),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,cDt),hDt),"Upper limit for iterations of overlap removal"),null),p8(64)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uDt),hDt),"Whether to run a supplementary scanline overlap check."),null),!0),M9t),Fjt),Q8(T9t)))),Bbt((new kh,t)),vmt((new vh,t))},_R(QOt,"SporeMetaDataProvider",855),Wht(hEt,1,fCt,kh),zkt.Qe=function(t){Bbt(t)},_R(QOt,"SporeOverlapRemovalOptions",hEt),Wht(1001,1,{},is),zkt.$e=function(){return new fk},zkt._e=function(t){},_R(QOt,"SporeOverlapRemovalOptions/SporeOverlapFactory",1001),Wht(530,22,{3:1,35:1,22:1,530:1,246:1,234:1},Dz),zkt.Kf=function(){return V5(this)},zkt.Xf=function(){return V5(this)};var s9t,c9t,u9t,l9t=G1(QOt,"StructureExtractionStrategy",530,cjt,(function(){return iE(),P4(Zv(l9t,1),K_t,530,0,[a9t])}),(function(t){return iE(),rJ((mG(),s9t),t)}));Wht(429,22,{3:1,35:1,22:1,429:1,246:1,234:1},ZC),zkt.Kf=function(){return G9(this)},zkt.Xf=function(){return G9(this)};var h9t,f9t=G1(QOt,"TreeConstructionStrategy",429,cjt,(function(){return z4(),P4(Zv(f9t,1),K_t,429,0,[u9t,c9t])}),(function(t){return z4(),rJ((qK(),h9t),t)}));Wht(1443,1,jLt,rs),zkt.Yf=function(t){return VP(t,300),new hG},zkt.pf=function(t,e){!function(t,e){var n;ast(e,"Delaunay triangulation",1),n=new iw,KJ(t.i,new Hp(n)),tv(lD(Ost(t,(v3(),hHt)))),t.e?M2(t.e,lkt(n)):t.e=lkt(n),$ct(e)}(VP(t,300),e)},_R(dDt,"DelaunayTriangulationPhase",1443),Wht(1444,1,A_t,Hp),zkt.td=function(t){nB(this.a,VP(t,65).a)},_R(dDt,"DelaunayTriangulationPhase/lambda$0$Type",1444),Wht(783,1,jLt,cm),zkt.Yf=function(t){return VP(t,300),new hG},zkt.pf=function(t,e){this.ng(VP(t,300),e)},zkt.ng=function(t,e){var n;ast(e,"Minimum spanning tree construction",1),n=t.d?t.d.a:VP(EF(t.i,0),65).a,U4(this,(tv(lD(Ost(t,(v3(),hHt)))),Fmt(t.e,n,t.b)),t),$ct(e)},_R(gDt,"MinSTPhase",783),Wht(1446,783,jLt,Dy),zkt.ng=function(t,e){var n,i;ast(e,"Maximum spanning tree construction",1),n=new Zp(t),i=t.d?t.d.c:VP(EF(t.i,0),65).c,U4(this,(tv(lD(Ost(t,(v3(),hHt)))),Fmt(t.e,i,n)),t),$ct(e)},_R(gDt,"MaxSTPhase",1446),Wht(1447,1,{},Zp),zkt.Je=function(t){return function(t,e){return-t.b.Je(e)}(this.a,t)},_R(gDt,"MaxSTPhase/lambda$0$Type",1447),Wht(1445,1,A_t,Up),zkt.td=function(t){!function(t,e){Pz(t.a,e.a,e)}(this.a,VP(t,65))},_R(gDt,"MinSTPhase/lambda$0$Type",1445),Wht(785,1,jLt,as),zkt.Yf=function(t){return VP(t,300),new hG},zkt.pf=function(t,e){bst(this,VP(t,300),e)},zkt.a=!1,_R(pDt,"GrowTreePhase",785),Wht(786,1,A_t,PP),zkt.td=function(t){!function(t,e,n,i){VP(n.b,65),VP(n.b,65),VP(i.b,65),VP(i.b,65),VP(i.b,65),KJ(i.a,new PP(t,e,i))}(this.a,this.b,this.c,VP(t,221))},_R(pDt,"GrowTreePhase/lambda$0$Type",786),Wht(1448,1,jLt,os),zkt.Yf=function(t){return VP(t,300),new hG},zkt.pf=function(t,e){_it(this,VP(t,300),e)},_R(pDt,"ShrinkTreeCompactionPhase",1448),Wht(784,1,A_t,BP),zkt.td=function(t){!function(t,e,n,i){var r;VP(n.b,65),VP(n.b,65),VP(i.b,65),VP(i.b,65),BB(r=vN(pI(VP(n.b,65).c),VP(i.b,65).c),glt(VP(n.b,65),VP(i.b,65),r)),VP(i.b,65),VP(i.b,65),VP(i.b,65).c.a,r.a,VP(i.b,65).c.b,r.b,VP(i.b,65),KJ(i.a,new BP(t,e,i))}(this.a,this.b,this.c,VP(t,221))},_R(pDt,"ShrinkTreeCompactionPhase/lambda$0$Type",784);var d9t,g9t,p9t=oF(BLt,"IGraphElementVisitor");Wht(860,1,{527:1},wY),zkt.og=function(t){var e;c4(e=function(t,e){var n;return n=new Qt,e&&c4(n,VP(zR(t.a,Vre),94)),MI(e,470)&&c4(n,VP(zR(t.a,Qre),94)),MI(e,354)?(c4(n,VP(zR(t.a,oae),94)),n):(MI(e,82)&&c4(n,VP(zR(t.a,Jre),94)),MI(e,239)?(c4(n,VP(zR(t.a,sae),94)),n):MI(e,186)?(c4(n,VP(zR(t.a,cae),94)),n):(MI(e,352)&&c4(n,VP(zR(t.a,tae),94)),n))}(this,t),VP(zR(this.b,t),94)),function(t,e,n){var i,r,a,o,s;for(o=t.c,a=(n.q?n.q:(Gq(),Gq(),CRt)).vc().Kc();a.Ob();)r=VP(a.Pb(),42),!nk(lq(new CF(null,new NU(o,16)),new Md(new KC(e,r)))).sd((q_(),bzt))&&(MI(s=r.dd(),4)&&null!=(i=aet(s))&&(s=i),e.Ye(VP(r.cd(),146),s))}(this,t,e)},_R(VCt,"LayoutConfigurator",860);var b9t,w9t,y9t,m9t=oF(VCt,"LayoutConfigurator/IPropertyHolderOptionFilter");Wht(932,1,{1933:1},ss),zkt.pg=function(t,e){return q4(),!t.Xe(e)},_R(VCt,"LayoutConfigurator/lambda$0$Type",932),Wht(933,1,{1933:1},cs),zkt.pg=function(t,e){return ok(t,e)},_R(VCt,"LayoutConfigurator/lambda$1$Type",933),Wht(931,1,{831:1},us),zkt.qg=function(t,e){return q4(),!t.Xe(e)},_R(VCt,"LayoutConfigurator/lambda$2$Type",931),Wht(934,1,Q_t,KC),zkt.Mb=function(t){return function(t,e,n){return q4(),n.pg(t,VP(e.cd(),146))}(this.a,this.b,VP(t,1933))},_R(VCt,"LayoutConfigurator/lambda$3$Type",934),Wht(858,1,{},ls),_R(VCt,"RecursiveGraphLayoutEngine",858),Wht(296,60,iEt,jw,fv),_R(VCt,"UnsupportedConfigurationException",296),Wht(453,60,iEt,dv),_R(VCt,"UnsupportedGraphException",453),Wht(754,1,{}),_R(BLt,"AbstractRandomListAccessor",754),Wht(500,754,{},Gdt),zkt.rg=function(){return null},zkt.d=!0,zkt.e=!0,zkt.f=0,_R(wDt,"AlgorithmAssembler",500),Wht(1236,1,Q_t,hs),zkt.Mb=function(t){return!!VP(t,123)},_R(wDt,"AlgorithmAssembler/lambda$0$Type",1236),Wht(1237,1,{},Yp),zkt.Kb=function(t){return function(t,e){return e.Yf(t)}(this.a,VP(t,123))},_R(wDt,"AlgorithmAssembler/lambda$1$Type",1237),Wht(1238,1,Q_t,fs),zkt.Mb=function(t){return!!VP(t,80)},_R(wDt,"AlgorithmAssembler/lambda$2$Type",1238),Wht(1239,1,A_t,Gp),zkt.td=function(t){E3(this.a,VP(t,80))},_R(wDt,"AlgorithmAssembler/lambda$3$Type",1239),Wht(1240,1,A_t,WC),zkt.td=function(t){!function(t,e,n){nB(e,q9(t,n))}(this.a,this.b,VP(t,234))},_R(wDt,"AlgorithmAssembler/lambda$4$Type",1240),Wht(1355,1,zTt,ds),zkt.ue=function(t,e){return function(t,e){return W5(t),W5(e),$m(VP(t,22),VP(e,22))}(VP(t,234),VP(e,234))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(wDt,"EnumBasedFactoryComparator",1355),Wht(80,754,{80:1},hG),zkt.rg=function(){return new Xw},zkt.a=0,_R(wDt,"LayoutProcessorConfiguration",80),Wht(1013,1,{527:1},Mh),zkt.og=function(t){C3(w9t,new Kp(t))},_R(sCt,"DeprecatedLayoutOptionReplacer",1013),Wht(1014,1,A_t,gs),zkt.td=function(t){!function(t){AV(),VP(t.We((Ikt(),Cee)),174).Fc((Ilt(),yie)),t.Ye(Tee,null)}(VP(t,160))},_R(sCt,"DeprecatedLayoutOptionReplacer/lambda$0$Type",1014),Wht(1015,1,A_t,ps),zkt.td=function(t){!function(t){AV(),VP(t.We((Ikt(),ree)),174).Hc((Xbt(),lre))&&(VP(t.We(Cee),174).Fc((Ilt(),vie)),VP(t.We(ree),174).Mc(lre))}(VP(t,160))},_R(sCt,"DeprecatedLayoutOptionReplacer/lambda$1$Type",1015),Wht(1016,1,{},Kp),zkt.Od=function(t,e){!function(t,e,n){AV(),t.Xe(e)&&n.td(t)}(this.a,VP(t,146),VP(e,38))},_R(sCt,"DeprecatedLayoutOptionReplacer/lambda$2$Type",1016),Wht(149,1,{686:1,149:1},nst),zkt.Fb=function(t){return cW(this,t)},zkt.sg=function(){return this.b},zkt.tg=function(){return this.c},zkt.ne=function(){return this.e},zkt.Hb=function(){return Knt(this.c)},zkt.Ib=function(){return"Layout Algorithm: "+this.c};var v9t,x9t=_R(sCt,"LayoutAlgorithmData",149);Wht(263,1,{},bs),_R(sCt,"LayoutAlgorithmData/Builder",263),Wht(1017,1,{527:1},ws),zkt.og=function(t){MI(t,239)&&!tv(lD(t.We((Ikt(),oee))))&&function(t){var e,n;if(!_3(e=fD(_ft(t,(Ikt(),wte))),t)&&!UX(t,Nee)&&(0!=(!t.a&&(t.a=new mj(sae,t,10,11)),t.a).i||tv(lD(_ft(t,zte))))){if(null!=e&&0!=Wst(e).length)throw Jvt(t,n=vA(vA(new CL("Layout algorithm '"),e),"' not found for ")),lw(new fv(n.a));if(!_3(IAt,t))throw Jvt(t,n=vA(vA(new CL("Unable to load default layout algorithm "),IAt)," for unconfigured node ")),lw(new fv(n.a))}}(VP(t,33))},_R(sCt,"LayoutAlgorithmResolver",1017),Wht(229,1,{686:1,229:1},pU),zkt.Fb=function(t){return!!MI(t,229)&&jN(this.b,VP(t,229).b)},zkt.sg=function(){return this.a},zkt.tg=function(){return this.b},zkt.ne=function(){return this.d},zkt.Hb=function(){return Knt(this.b)},zkt.Ib=function(){return"Layout Type: "+this.b},_R(sCt,"LayoutCategoryData",229),Wht(344,1,{},ys),_R(sCt,"LayoutCategoryData/Builder",344),Wht(867,1,{},Jpt),_R(sCt,"LayoutMetaDataService",867),Wht(868,1,{},GR),_R(sCt,"LayoutMetaDataService/Registry",868),Wht(478,1,{478:1},ms),_R(sCt,"LayoutMetaDataService/Registry/Triple",478),Wht(869,1,yDt,vs),zkt.ug=function(){return new Sx},_R(sCt,"LayoutMetaDataService/lambda$0$Type",869),Wht(870,1,mDt,xs),zkt.vg=function(t){return pI(VP(t,8))},_R(sCt,"LayoutMetaDataService/lambda$1$Type",870),Wht(879,1,yDt,ks),zkt.ug=function(){return new iw},_R(sCt,"LayoutMetaDataService/lambda$10$Type",879),Wht(880,1,mDt,_s),zkt.vg=function(t){return new uP(VP(t,12))},_R(sCt,"LayoutMetaDataService/lambda$11$Type",880),Wht(881,1,yDt,Es),zkt.ug=function(){return new T_},_R(sCt,"LayoutMetaDataService/lambda$12$Type",881),Wht(882,1,mDt,Ts),zkt.vg=function(t){return tB(VP(t,68))},_R(sCt,"LayoutMetaDataService/lambda$13$Type",882),Wht(883,1,yDt,Cs),zkt.ug=function(){return new Xw},_R(sCt,"LayoutMetaDataService/lambda$14$Type",883),Wht(884,1,mDt,Ss),zkt.vg=function(t){return cH(VP(t,53))},_R(sCt,"LayoutMetaDataService/lambda$15$Type",884),Wht(885,1,yDt,As),zkt.ug=function(){return new cM},_R(sCt,"LayoutMetaDataService/lambda$16$Type",885),Wht(886,1,mDt,Ms),zkt.vg=function(t){return vK(VP(t,53))},_R(sCt,"LayoutMetaDataService/lambda$17$Type",886),Wht(887,1,yDt,Is),zkt.ug=function(){return new ry},_R(sCt,"LayoutMetaDataService/lambda$18$Type",887),Wht(888,1,mDt,Ls),zkt.vg=function(t){return JP(VP(t,208))},_R(sCt,"LayoutMetaDataService/lambda$19$Type",888),Wht(871,1,yDt,Os),zkt.ug=function(){return new Ny},_R(sCt,"LayoutMetaDataService/lambda$2$Type",871),Wht(872,1,mDt,Ds),zkt.vg=function(t){return new xx(VP(t,74))},_R(sCt,"LayoutMetaDataService/lambda$3$Type",872),Wht(873,1,yDt,Ns),zkt.ug=function(){return new Ty},_R(sCt,"LayoutMetaDataService/lambda$4$Type",873),Wht(874,1,mDt,Ps),zkt.vg=function(t){return new vP(VP(t,142))},_R(sCt,"LayoutMetaDataService/lambda$5$Type",874),Wht(875,1,yDt,Fs),zkt.ug=function(){return new Cy},_R(sCt,"LayoutMetaDataService/lambda$6$Type",875),Wht(876,1,mDt,$s),zkt.vg=function(t){return new mP(VP(t,116))},_R(sCt,"LayoutMetaDataService/lambda$7$Type",876),Wht(877,1,yDt,js),zkt.ug=function(){return new Qs},_R(sCt,"LayoutMetaDataService/lambda$8$Type",877),Wht(878,1,mDt,Rs),zkt.vg=function(t){return new RQ(VP(t,373))},_R(sCt,"LayoutMetaDataService/lambda$9$Type",878);var k9t,_9t,E9t,T9t,C9t,S9t=oF(UCt,"IProperty");Wht(23,1,{35:1,686:1,23:1,146:1},rut),zkt.wd=function(t){return function(t,e){return RW(t.f,e.tg())}(this,VP(t,146))},zkt.Fb=function(t){return MI(t,23)?jN(this.f,VP(t,23).f):MI(t,146)&&jN(this.f,VP(t,146).tg())},zkt.wg=function(){var t;if(MI(this.b,4)){if(null==(t=aet(this.b)))throw lw(new Vm(EDt+this.f+"'. Make sure it's type is registered with the "+(uD(Aae),Aae.k)+xDt));return t}return this.b},zkt.sg=function(){return this.d},zkt.tg=function(){return this.f},zkt.ne=function(){return this.i},zkt.Hb=function(){return Knt(this.f)},zkt.Ib=function(){return"Layout Option: "+this.f},_R(sCt,"LayoutOptionData",23),Wht(24,1,{},zs),_R(sCt,"LayoutOptionData/Builder",24),Wht(175,22,{3:1,35:1,22:1,175:1},YC);var A9t,M9t,I9t,L9t,O9t,D9t,N9t,P9t,B9t,F9t=G1(sCt,"LayoutOptionData/Target",175,cjt,(function(){return Vet(),P4(Zv(F9t,1),K_t,175,0,[T9t,E9t,k9t,C9t,_9t])}),(function(t){return Vet(),rJ((wJ(),A9t),t)}));Wht(277,22,{3:1,35:1,22:1,277:1},GC);var $9t,j9t,R9t,z9t=G1(sCt,"LayoutOptionData/Type",277,cjt,(function(){return dut(),P4(Zv(z9t,1),K_t,277,0,[B9t,M9t,D9t,P9t,I9t,L9t,O9t,N9t])}),(function(t){return dut(),rJ((y3(),$9t),t)}));Wht(110,1,{110:1},lM,mq,EH),zkt.Fb=function(t){var e;return!(null==t||!MI(t,110))&&(e=VP(t,110),Hz(this.c,e.c)&&Hz(this.d,e.d)&&Hz(this.b,e.b)&&Hz(this.a,e.a))},zkt.Hb=function(){return Z6(P4(Zv(G$t,1),r_t,1,5,[this.c,this.d,this.b,this.a]))},zkt.Ib=function(){return"Rect[x="+this.c+",y="+this.d+",w="+this.b+",h="+this.a+"]"},zkt.a=0,zkt.b=0,zkt.c=0,zkt.d=0,_R(SAt,"ElkRectangle",110),Wht(8,1,{3:1,4:1,8:1,414:1},Sx,bU,XC,hM),zkt.Fb=function(t){return K0(this,t)},zkt.Hb=function(){return JA(this.a)+(t=JA(this.b),T0(),(e=Yjt)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28);var t,e},zkt.Jf=function(t){var e,n,i;for(n=0;n<t.length&&h7((DU(n,t.length),t.charCodeAt(n)),EAt);)++n;for(e=t.length;e>0&&h7((DU(e-1,t.length),t.charCodeAt(e-1)),TAt);)--e;if(n>=e)throw lw(new Xm("The given string does not contain any numbers."));if(2!=(i=Lbt(t.substr(n,e-n),",|;|\r|\n")).length)throw lw(new Xm("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=wct(Wst(i[0])),this.b=wct(Wst(i[1]))}catch(t){throw MI(t=k4(t),127)?lw(new Xm(CAt+t)):lw(t)}},zkt.Ib=function(){return"("+this.a+","+this.b+")"},zkt.a=0,zkt.b=0;var q9t=_R(SAt,"KVector",8);Wht(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},Ny,xx,jO),zkt.Pc=function(){return function(t){var e,n,i;for(e=0,i=WX(q9t,T_t,8,t.b,0,1),n=tnt(t,0);n.b!=n.d.c;)i[e++]=VP(AG(n),8);return i}(this)},zkt.Jf=function(t){var e,n,i,r,a;n=Lbt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),zq(this);try{for(e=0,r=0,i=0,a=0;e<n.length;)null!=n[e]&&Wst(n[e]).length>0&&(r%2==0?i=wct(n[e]):a=wct(n[e]),r>0&&r%2!=0&&$B(this,new XC(i,a)),++r),++e}catch(t){throw MI(t=k4(t),127)?lw(new Xm("The given string does not match the expected format for vectors."+t)):lw(t)}},zkt.Ib=function(){var t,e,n;for(t=new CL("("),e=tnt(this,0);e.b!=e.d.c;)vA(t,(n=VP(AG(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var H9t,Z9t,U9t,Y9t,G9t,K9t,W9t=_R(SAt,"KVectorChain",74);Wht(248,22,{3:1,35:1,22:1,248:1},VC);var X9t,V9t,Q9t,J9t,tte,ete,nte,ite,rte,ate,ote,ste,cte,ute,lte,hte,fte,dte,gte,pte=G1(CDt,"Alignment",248,cjt,(function(){return Znt(),P4(Zv(pte,1),K_t,248,0,[H9t,Y9t,G9t,K9t,Z9t,U9t])}),(function(t){return Znt(),rJ((m1(),X9t),t)}));Wht(979,1,fCt,Ih),zkt.Qe=function(t){Ewt(t)},_R(CDt,"BoxLayouterOptions",979),Wht(980,1,{},Bs),zkt.$e=function(){return new Us},zkt._e=function(t){},_R(CDt,"BoxLayouterOptions/BoxFactory",980),Wht(291,22,{3:1,35:1,22:1,291:1},QC);var bte,wte,yte,mte,vte,xte,kte,_te,Ete,Tte,Cte,Ste,Ate,Mte,Ite,Lte,Ote,Dte,Nte,Pte,Bte,Fte,$te,jte,Rte,zte,qte,Hte,Zte,Ute,Yte,Gte,Kte,Wte,Xte,Vte,Qte,Jte,tee,eee,nee,iee,ree,aee,oee,see,cee,uee,lee,hee,fee,dee,gee,pee,bee,wee,yee,mee,vee,xee,kee,_ee,Eee,Tee,Cee,See,Aee,Mee,Iee,Lee,Oee,Dee,Nee,Pee,Bee,Fee,$ee,jee,Ree,zee,qee,Hee,Zee,Uee,Yee,Gee,Kee,Wee,Xee,Vee,Qee,Jee,tne,ene,nne,ine,rne=G1(CDt,"ContentAlignment",291,cjt,(function(){return bot(),P4(Zv(rne,1),K_t,291,0,[gte,dte,fte,lte,ute,hte])}),(function(t){return bot(),rJ((y1(),bte),t)}));Wht(684,1,fCt,Lh),zkt.Qe=function(t){k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,IDt),""),"Layout Algorithm"),"Select a specific layout algorithm."),(dut(),P9t)),fRt),Q8((Vet(),T9t))))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,LDt),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),N9t),x9t),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lLt),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),mte),L9t),pte),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,hSt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,ODt),""),"Bend Points"),"A fixed list of bend points for the edge. This is used by the 'Fixed Layout' algorithm to specify a pre-defined routing for an edge. The vector chain must include the source point, any bend points, and the target point, so it must have at least two points."),N9t),W9t),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,_Lt),""),"Content Alignment"),"Specifies how the content of a node are aligned. Each node can individually control the alignment of its contents. I.e. if a node should be aligned top left in its parent node, the parent node should specify that option."),Cte),O9t),rne),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uLt),""),"Debug Mode"),"Whether additional debug information shall be generated."),(EL(),!1)),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,gLt),""),RCt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),Mte),L9t),une),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,BIt),""),"Edge Routing"),"What kind of edge routing style should be applied for the content of a parent node. Algorithms may also set this option to single edges in order to mark them as splines. The bend point list of edges with this option set to SPLINES must be interpreted as control points for a piecewise cubic spline."),Nte),L9t),_ne),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,GOt),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,LIt),""),"Hierarchy Handling"),"Determines whether separate layout runs are triggered for different compound nodes in a hierarchical graph. Setting a node's hierarchy handling to `INCLUDE_CHILDREN` will lay out that node and all of its descendants in a single layout run, until a descendant is encountered which has its hierarchy handling set to `SEPARATE_CHILDREN`. In general, `SEPARATE_CHILDREN` will ensure that a new layout run is triggered for a node with that setting. Including multiple levels of hierarchy in a single layout run may allow cross-hierarchical edges to be laid out properly. If the root node is set to `INHERIT` (or not set at all), the default behavior is `SEPARATE_CHILDREN`."),jte),L9t),zne),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[E9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,fSt),""),"Padding"),"The padding to be left to a parent element's border when placing child elements. This can also serve as an output option of a layout algorithm if node size calculation is setup appropriately."),uee),N9t),tYt),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[E9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,$St),""),"Interactive"),"Whether the algorithm should be run in interactive mode for the content of a parent node. What this means exactly depends on how the specific algorithm interprets this option. Usually in the interactive mode algorithms try to modify the current layout as little as possible."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,PLt),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,zSt),""),"Omit Node Micro Layout"),"Node micro layout comprises the computation of node dimensions (if requested), the placement of ports and their labels, and the placement of node labels. The functionality is implemented independent of any specific layout algorithm and shouldn't have any negative impact on the layout algorithm's performance itself. Yet, if any unforeseen behavior occurs, this option allows to deactivate the micro layout."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,jSt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),_ee),L9t),xie),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,OLt),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),N9t),q9t),e$(E9t,P4(Zv(F9t,1),K_t,175,0,[C9t,_9t]))))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,DSt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),D9t),Gjt),e$(E9t,P4(Zv(F9t,1),K_t,175,0,[k9t]))))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,BSt),""),"Randomization Seed"),"Seed used for pseudo-random number generators to control the layout algorithm. If the value is 0, the seed shall be determined pseudo-randomly (e.g. from the system time)."),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,FSt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ELt),""),"Junction Points"),"This option is not used as option, but as output of the layout algorithms. It is attached to edges and determines the points where junction symbols should be drawn in order to represent hyperedges with orthogonal routing. Whether such points are computed depends on the chosen layout algorithm and edge routing style. The points are put into the vector chain with no specific order."),Yte),N9t),W9t),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,SLt),""),"Comment Box"),"Whether the node should be regarded as a comment box instead of a regular node. In that case its placement should be similar to how labels are handled. Any edges incident to a comment box specify to which graph elements the comment is related."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ALt),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,DDt),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),N9t),eue),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[_9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,DLt),""),"Margins"),"Margins define additional space around the actual bounds of a graph element. For instance, ports or labels being placed on the outside of a node's border might introduce such a margin. The margin is used to guarantee non-overlap of other graph elements with those ports or labels."),Kte),N9t),$Ut),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,sLt),""),"No Layout"),"No layout is done for the associated element. This is used to mark parts of a diagram to avoid their inclusion in the layout graph, or to mark parts of the layout graph to prevent layout engines from processing them. If you wish to exclude the contents of a compound node from automatic layout, while the node itself is still considered on its own layer, use the 'Fixed Layout' algorithm for that node."),!1),M9t),Fjt),e$(E9t,P4(Zv(F9t,1),K_t,175,0,[k9t,C9t,_9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,NDt),""),"Scale Factor"),"The scaling factor to be applied to the corresponding node in recursive layout. It causes the corresponding node's size to be adjusted, and its ports and labels to be sized and placed accordingly after the layout of that node has been determined (and before the node itself and its siblings are arranged). The scaling is not reverted afterwards, so the resulting layout graph contains the adjusted size and position data. This option is currently not supported if 'Layout Hierarchy' is set."),1),I9t),Hjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,PDt),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,BDt),""),"Animation Time Factor"),"Factor for computation of animation time. The higher the value, the longer the animation time. If the value is 0, the resulting time is always equal to the minimum defined by 'Minimal Animation Time'."),p8(100)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,FDt),""),"Layout Ancestors"),"Whether the hierarchy levels on the path from the selected element to the root of the diagram shall be included in the layout process."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,$Dt),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),p8(4e3)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,jDt),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),p8(400)),D9t),Gjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,RDt),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,zDt),""),"Validate Graph"),"Whether the graph shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,qDt),""),"Validate Options"),"Whether layout options shall be validated before any layout algorithm is applied. If this option is enabled and at least one error is found, the layout process is aborted and a message is shown to the user."),!0),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,HDt),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,MDt),"box"),"Box Layout Mode"),"Configures the packing mode used by the {@link BoxLayoutProvider}. If SIMPLE is not required (neither priorities are used nor the interactive mode), GROUP_DEC can improve the packing and decrease the area. GROUP_MIXED and GROUP_INC may, in very specific scenarios, work better."),_te),L9t),vre),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,WIt),FIt),"Comment Comment Spacing"),"Spacing to be preserved between a comment box and other comment boxes connected to the same node. The space left between comment boxes of different nodes is controlled by the node-node spacing."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,XIt),FIt),"Comment Node Spacing"),"Spacing to be preserved between a node and its connected comment boxes. The space left between a node and the comments of another node is controlled by the node-node spacing."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,uSt),FIt),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,VIt),FIt),"Edge Spacing"),"Spacing to be preserved between any two edges. Note that while this can somewhat easily be satisfied for the segments of orthogonally drawn edges, it is harder for general polylines or splines."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,PSt),FIt),"Edge Label Spacing"),"The minimal distance to be preserved between a label and the edge it is associated with. Note that the placement of a label is influenced by the 'edgelabels.placement' option."),2),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,QIt),FIt),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,JIt),FIt),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,nLt),FIt),"Label Node Spacing"),"Spacing to be preserved between labels and the border of node they are associated with. Note that the placement of a label is influenced by the 'nodelabels.placement' option."),5),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,tLt),FIt),"Horizontal spacing between Label and Port"),"Horizontal spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,eLt),FIt),"Vertical spacing between Label and Port"),"Vertical spacing to be preserved between labels and the ports they are associated with. Note that the placement of a label is influenced by the 'portlabels.placement' option."),1),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,NSt),FIt),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,iLt),FIt),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),I9t),Hjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,rLt),FIt),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),I9t),Hjt),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[E9t]))))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,aLt),FIt),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),N9t),Tre),e$(E9t,P4(Zv(F9t,1),K_t,175,0,[k9t,C9t,_9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,NLt),FIt),"Additional Port Space"),"Additional space around the sets of ports on each node side. For each side of a node, this option can reserve additional space before and after the ports on each side. For example, a top spacing of 20 makes sure that the first port on the western and eastern side is 20 units away from the northern border."),Vee),N9t),$Ut),Q8(T9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,LLt),GDt),"Layout Partition"),"Partition to which the node belongs. This requires Layout Partitioning to be active. Nodes with lower partition IDs will appear to the left of nodes with higher partition IDs (assuming a left-to-right layout direction)."),D9t),Gjt),e$(T9t,P4(Zv(F9t,1),K_t,175,0,[E9t]))))),PY(t,LLt,ILt,dee),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ILt),GDt),"Layout Partitioning"),"Whether to activate partitioned layout. This will allow to group nodes through the Layout Partition option. a pair of nodes with different partition indices is then placed such that the node with lower index is placed to the left of the other node (with left-to-right layout direction). Depending on the layout algorithm, this may only be guaranteed to work if all nodes have a layout partition configured, or at least if edges that cross partitions are not part of a partition-crossing cycle."),hee),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,pLt),KDt),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),Xte),N9t),tYt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,ZSt),KDt),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),Qte),O9t),aie),e$(E9t,P4(Zv(F9t,1),K_t,175,0,[_9t]))))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,yLt),WDt),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),pee),L9t),die),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,mLt),WDt),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),L9t),die),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,vLt),WDt),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),L9t),die),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,xLt),WDt),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),L9t),die),Q8(E9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,kLt),WDt),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),L9t),die),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,HSt),XDt),"Node Size Constraints"),"What should be taken into account when calculating a node's size. Empty size constraints specify that a node's size is already fixed and should not be changed."),tee),O9t),fre),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,qSt),XDt),"Node Size Options"),"Options modifying the behavior of the size constraints set on a node. Each member of the set specifies something that should be taken into account when calculating node sizes. The empty set corresponds to no further modifications."),aee),O9t),yre),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,iAt),XDt),"Node Size Minimum"),"The minimal size to which a node can be reduced."),iee),N9t),q9t),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,dLt),XDt),"Fixed Graph Size"),"By default, the fixed layout provider will enlarge a graph until it is large enough to contain its children. If this option is set, it won't do so."),!1),M9t),Fjt),Q8(T9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,TLt),GIt),"Edge Label Placement"),"Gives a hint on where to put edge labels."),Ote),L9t),pne),Q8(_9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,RSt),GIt),"Inline Edge Labels"),"If true, an edge label is placed directly on its edge. May only apply to center edge labels. This kind of label placement is only advisable if the label's rendering is such that it is not crossed by its edge and thus stays legible."),!1),M9t),Fjt),Q8(_9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,ZDt),"font"),"Font Name"),"Font name used for a label."),P9t),fRt),Q8(_9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,UDt),"font"),"Font Size"),"Font size used for a label."),D9t),Gjt),Q8(_9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,MLt),VDt),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),N9t),q9t),Q8(C9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,CLt),VDt),"Port Index"),"The index of a port in the fixed order around a node. The order is assumed as clockwise, starting with the leftmost port on the top side. This option must be set if 'Port Constraints' is set to FIXED_ORDER and no specific positions are given for the ports. Additionally, the option 'Port Side' must be defined in this case."),D9t),Gjt),Q8(C9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,cLt),VDt),"Port Side"),"The side of a node on which a port is situated. This option must be set if 'Port Constraints' is set to FIXED_SIDE or FIXED_ORDER and no specific positions are given for the ports."),Iee),L9t),ere),Q8(C9t)))),k9(t,new rut(px(gx(bx(ux(dx(hx(fx(new zs,oLt),VDt),"Port Border Offset"),"The offset of ports on the node border. With a positive offset the port is moved outside of the node, while with a negative offset the port is moved towards the inside. An offset of 0 means that the port is placed directly on the node border, i.e. if the port side is north, the port's south border touches the nodes's north border; if the port side is east, the port's west border touches the nodes's east border; if the port side is south, the port's north border touches the node's south border; if the port side is west, the port's east border touches the node's west border."),I9t),Hjt),Q8(C9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,USt),QDt),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),See),O9t),Zie),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,bLt),QDt),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,wLt),QDt),"Treat Port Labels as Group"),"If this option is true (default), the labels of a port will be treated as a group when it comes to centering them next to their port. If this option is false, only the first label will be centered next to the port, with the others being placed below. This only applies to labels of eastern and western ports and will have no effect if labels are not placed next to their port."),!0),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,hLt),JDt),"Activate Inside Self Loops"),"Whether this node allows to route self loops inside of it instead of around it. If set to true, this will make the node a compound node if it isn't already, and will require the layout algorithm to support compound nodes with hierarchical ports."),!1),M9t),Fjt),Q8(E9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,fLt),JDt),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),M9t),Fjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,lSt),"edge"),"Edge Thickness"),"The thickness of an edge. This is a hint on the line width used to draw an edge, possibly requiring more space to be reserved for it."),1),I9t),Hjt),Q8(k9t)))),k9(t,new rut(px(gx(bx(lx(ux(dx(hx(fx(new zs,YDt),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),Bte),L9t),Pne),Q8(k9t)))),cE(t,new pU(ox(cx(sx(new ys,IAt),"Layered"),'The layer-based method was introduced by Sugiyama, Tagawa and Toda in 1981. It emphasizes the direction of edges by pointing as many edges as possible into the same direction. The nodes are arranged in layers, which are sometimes called "hierarchies", and then reordered such that the number of edge crossings is minimized. Afterwards, concrete coordinates are computed for the nodes and edge bend points.'))),cE(t,new pU(ox(cx(sx(new ys,"org.eclipse.elk.orthogonal"),"Orthogonal"),'Orthogonal methods that follow the "topology-shape-metrics" approach by Batini, Nardelli and Tamassia \'86. The first phase determines the topology of the drawing by applying a planarization technique, which results in a planar representation of the graph. The orthogonal shape is computed in the second phase, which aims at minimizing the number of edge bends, and is called orthogonalization. The third phase leads to concrete coordinates for nodes and edge bend points by applying a compaction method, thus defining the metrics.'))),cE(t,new pU(ox(cx(sx(new ys,OSt),"Force"),"Layout algorithms that follow physical analogies by simulating a system of attractive and repulsive forces. The first successful method of this kind was proposed by Eades in 1984."))),cE(t,new pU(ox(cx(sx(new ys,"org.eclipse.elk.circle"),"Circle"),"Circular layout algorithms emphasize cycles or biconnected components of a graph by arranging them in circles. This is useful if a drawing is desired where such components are clearly grouped, or where cycles are shown as prominent OPTIONS of the graph."))),cE(t,new pU(ox(cx(sx(new ys,dOt),"Tree"),"Specialized layout methods for trees, i.e. acyclic graphs. The regular structure of graphs that have no undirected cycles can be emphasized using an algorithm of this type."))),cE(t,new pU(ox(cx(sx(new ys,"org.eclipse.elk.planar"),"Planar"),"Algorithms that require a planar or upward planar graph. Most of these algorithms are theoretically interesting, but not practically usable."))),cE(t,new pU(ox(cx(sx(new ys,IOt),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),Cbt((new Oh,t)),Ewt((new Ih,t)),xpt((new Dh,t))},_R(CDt,"CoreOptions",684),Wht(103,22,{3:1,35:1,22:1,103:1},JC);var ane,one,sne,cne,une=G1(CDt,RCt,103,cjt,(function(){return e8(),P4(Zv(une,1),K_t,103,0,[nne,ene,tne,Jee,ine])}),(function(t){return e8(),rJ((vJ(),ane),t)}));Wht(272,22,{3:1,35:1,22:1,272:1},tS);var lne,hne,fne,dne,gne,pne=G1(CDt,"EdgeLabelPlacement",272,cjt,(function(){return JJ(),P4(Zv(pne,1),K_t,272,0,[one,sne,cne])}),(function(t){return JJ(),rJ((ZX(),lne),t)}));Wht(218,22,{3:1,35:1,22:1,218:1},eS);var bne,wne,yne,mne,vne,xne,kne,_ne=G1(CDt,"EdgeRouting",218,cjt,(function(){return b9(),P4(Zv(_ne,1),K_t,218,0,[gne,fne,hne,dne])}),(function(t){return b9(),rJ((eQ(),bne),t)}));Wht(312,22,{3:1,35:1,22:1,312:1},nS);var Ene,Tne,Cne,Sne,Ane,Mne,Ine,Lne,One,Dne,Nne,Pne=G1(CDt,"EdgeType",312,cjt,(function(){return mst(),P4(Zv(Pne,1),K_t,312,0,[xne,mne,kne,wne,vne,yne])}),(function(t){return mst(),rJ((S1(),Ene),t)}));Wht(977,1,fCt,Oh),zkt.Qe=function(t){Cbt(t)},_R(CDt,"FixedLayouterOptions",977),Wht(978,1,{},Xs),zkt.$e=function(){return new Hs},zkt._e=function(t){},_R(CDt,"FixedLayouterOptions/FixedFactory",978),Wht(334,22,{3:1,35:1,22:1,334:1},iS);var Bne,Fne,$ne,jne,Rne,zne=G1(CDt,"HierarchyHandling",334,cjt,(function(){return I7(),P4(Zv(zne,1),K_t,334,0,[Dne,One,Nne])}),(function(t){return I7(),rJ((HX(),Bne),t)}));Wht(285,22,{3:1,35:1,22:1,285:1},rS);var qne,Hne,Zne,Une,Yne,Gne,Kne,Wne,Xne,Vne,Qne=G1(CDt,"LabelSide",285,cjt,(function(){return zrt(),P4(Zv(Qne,1),K_t,285,0,[Rne,Fne,$ne,jne])}),(function(t){return zrt(),rJ((tQ(),qne),t)}));Wht(93,22,{3:1,35:1,22:1,93:1},aS);var Jne,tie,eie,nie,iie,rie,aie=G1(CDt,"NodeLabelPlacement",93,cjt,(function(){return Eft(),P4(Zv(aie,1),K_t,93,0,[Zne,Hne,Yne,Vne,Xne,Wne,Gne,Kne,Une])}),(function(t){return Eft(),rJ((t4(),Jne),t)}));Wht(249,22,{3:1,35:1,22:1,249:1},oS);var oie,sie,cie,uie,lie,hie,fie,die=G1(CDt,"PortAlignment",249,cjt,(function(){return Qet(),P4(Zv(die,1),K_t,249,0,[nie,rie,tie,eie,iie])}),(function(t){return Qet(),rJ((xJ(),oie),t)}));Wht(98,22,{3:1,35:1,22:1,98:1},sS);var gie,pie,bie,wie,yie,mie,vie,xie=G1(CDt,"PortConstraints",98,cjt,(function(){return $ot(),P4(Zv(xie,1),K_t,98,0,[fie,hie,lie,sie,uie,cie])}),(function(t){return $ot(),rJ((t1(),gie),t)}));Wht(273,22,{3:1,35:1,22:1,273:1},cS);var kie,_ie,Eie,Tie,Cie,Sie,Aie,Mie,Iie,Lie,Oie,Die,Nie,Pie,Bie,Fie,$ie,jie,Rie,zie,qie,Hie,Zie=G1(CDt,"PortLabelPlacement",273,cjt,(function(){return Ilt(),P4(Zv(Zie,1),K_t,273,0,[mie,wie,yie,bie,pie,vie])}),(function(t){return Ilt(),rJ((C1(),kie),t)}));Wht(61,22,{3:1,35:1,22:1,61:1},uS);var Uie,Yie,Gie,Kie,Wie,Xie,Vie,Qie,Jie,tre,ere=G1(CDt,"PortSide",61,cjt,(function(){return Mxt(),P4(Zv(ere,1),dAt,61,0,[qie,Eie,_ie,zie,Hie])}),(function(t){return Mxt(),rJ((kJ(),Uie),t)}));Wht(981,1,fCt,Dh),zkt.Qe=function(t){xpt(t)},_R(CDt,"RandomLayouterOptions",981),Wht(982,1,{},Vs),zkt.$e=function(){return new ec},zkt._e=function(t){},_R(CDt,"RandomLayouterOptions/RandomFactory",982),Wht(374,22,{3:1,35:1,22:1,374:1},lS);var nre,ire,rre,are,ore,sre,cre,ure,lre,hre,fre=G1(CDt,"SizeConstraint",374,cjt,(function(){return Ltt(),P4(Zv(fre,1),K_t,374,0,[Jie,tre,Qie,Vie])}),(function(t){return Ltt(),rJ((iQ(),nre),t)}));Wht(259,22,{3:1,35:1,22:1,259:1},hS);var dre,gre,pre,bre,wre,yre=G1(CDt,"SizeOptions",259,cjt,(function(){return Xbt(),P4(Zv(yre,1),K_t,259,0,[are,sre,rre,cre,ure,hre,lre,ore,ire])}),(function(t){return Xbt(),rJ((e5(),dre),t)}));Wht(370,1,{1949:1},om),zkt.b=!1,zkt.c=0,zkt.d=-1,zkt.e=null,zkt.f=null,zkt.g=-1,zkt.j=!1,zkt.k=!1,zkt.n=!1,zkt.o=0,zkt.q=0,zkt.r=0,_R(BLt,"BasicProgressMonitor",370),Wht(972,209,XCt,Us),zkt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l;ast(e,"Box layout",2),r=nv(hD(_ft(t,($st(),cte)))),a=VP(_ft(t,ate),116),n=tv(lD(_ft(t,tte))),i=tv(lD(_ft(t,ete))),0===VP(_ft(t,Q9t),311).g?(s=new uP((!t.a&&(t.a=new mj(sae,t,10,11)),t.a)),Gq(),QM(s,new Wp(i)),o=s,c=Out(t),(null==(u=hD(_ft(t,V9t)))||(yz(u),u<=0))&&(u=1.3),Bxt(t,(l=jxt(o,r,a,c.a,c.b,n,(yz(u),u))).a,l.b,!1,!0)):Xmt(t,r,a,n),$ct(e)},_R(BLt,"BoxLayoutProvider",972),Wht(973,1,zTt,Wp),zkt.ue=function(t,e){return function(t,e,n){var i,r,a;if(!(r=VP(_ft(e,($st(),ste)),19))&&(r=p8(0)),!(a=VP(_ft(n,ste),19))&&(a=p8(0)),r.a>a.a)return-1;if(r.a<a.a)return 1;if(t.a){if(0!=(i=O8(e.j,n.j)))return i;if(0!=(i=O8(e.i,n.i)))return i}return O8(e.g*e.f,n.g*n.f)}(this,VP(t,33),VP(e,33))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},zkt.a=!1,_R(BLt,"BoxLayoutProvider/1",973),Wht(157,1,{157:1},n1,$O),zkt.Ib=function(){return this.c?cbt(this.c):Ust(this.b)},_R(BLt,"BoxLayoutProvider/Group",157),Wht(311,22,{3:1,35:1,22:1,311:1},fS);var mre,vre=G1(BLt,"BoxLayoutProvider/PackingMode",311,cjt,(function(){return stt(),P4(Zv(vre,1),K_t,311,0,[wre,gre,bre,pre])}),(function(t){return stt(),rJ((nQ(),mre),t)}));Wht(974,1,zTt,Ys),zkt.ue=function(t,e){return function(t,e){return-O8(BF(t)*PF(t),BF(e)*PF(e))}(VP(t,157),VP(e,157))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(BLt,"BoxLayoutProvider/lambda$0$Type",974),Wht(975,1,zTt,Gs),zkt.ue=function(t,e){return function(t,e){return O8(BF(t)*PF(t),BF(e)*PF(e))}(VP(t,157),VP(e,157))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(BLt,"BoxLayoutProvider/lambda$1$Type",975),Wht(976,1,zTt,Ks),zkt.ue=function(t,e){return function(t,e){return O8(BF(t)*PF(t),BF(e)*PF(e))}(VP(t,157),VP(e,157))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(BLt,"BoxLayoutProvider/lambda$2$Type",976),Wht(1365,1,{831:1},Ws),zkt.qg=function(t,e){return rE(),!MI(e,160)||ok((q4(),VP(t,160)),e)},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),Wht(1366,1,A_t,Xp),zkt.td=function(t){!function(t,e){var n;n=null!=unt((att(),l2t))&&null!=e.wg()?ev(hD(e.wg()))/ev(hD(unt(l2t))):1,Pz(t.b,e,n)}(this.a,VP(t,146))},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),Wht(1367,1,A_t,Zs),zkt.td=function(t){VP(t,94),rE()},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),Wht(1371,1,A_t,Vp),zkt.td=function(t){!function(t,e){C_(lq(new CF(null,new NU(new Vf(t.b),1)),new dS(t,e)),new pS(t,e))}(this.a,VP(t,94))},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),Wht(1369,1,Q_t,dS),zkt.Mb=function(t){return function(t,e,n){return!nk(lq(new CF(null,new NU(t.c,16)),new Md(new gS(e,n)))).sd((q_(),bzt))}(this.a,this.b,VP(t,146))},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),Wht(1368,1,Q_t,gS),zkt.Mb=function(t){return function(t,e,n){return rE(),n.qg(t,e)}(this.a,this.b,VP(t,831))},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),Wht(1370,1,A_t,pS),zkt.td=function(t){!function(t,e,n){e.Ye(n,ev(hD(zR(t.b,n)))*t.a)}(this.a,this.b,VP(t,146))},_R(BLt,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),Wht(935,1,{},qs),zkt.Kb=function(t){return wM(t)},zkt.Fb=function(t){return this===t},_R(BLt,"ElkUtil/lambda$0$Type",935),Wht(936,1,A_t,bS),zkt.td=function(t){!function(t,e,n){var i;C_(new CF(null,(!n.a&&(n.a=new mj(eae,n,6,6)),new NU(n.a,16))),new wS(t,e)),C_(new CF(null,(!n.n&&(n.n=new mj(oae,n,1,7)),new NU(n.n,16))),new yS(t,e)),(i=VP(_ft(n,(Ikt(),Ute)),74))&&F2(i,t,e)}(this.a,this.b,VP(t,79))},zkt.a=0,zkt.b=0,_R(BLt,"ElkUtil/lambda$1$Type",936),Wht(937,1,A_t,wS),zkt.td=function(t){Pm(this.a,this.b,VP(t,202))},zkt.a=0,zkt.b=0,_R(BLt,"ElkUtil/lambda$2$Type",937),Wht(938,1,A_t,yS),zkt.td=function(t){!function(t,e,n){kM(n,n.i+t,n.j+e)}(this.a,this.b,VP(t,137))},zkt.a=0,zkt.b=0,_R(BLt,"ElkUtil/lambda$3$Type",938),Wht(939,1,A_t,Qp),zkt.td=function(t){!function(t,e){nB(t,new XC(e.a,e.b))}(this.a,VP(t,469))},_R(BLt,"ElkUtil/lambda$4$Type",939),Wht(342,1,{35:1,342:1},ew),zkt.wd=function(t){return function(t,e){return t.a<eP(e)?-1:1}(this,VP(t,236))},zkt.Fb=function(t){var e;return!!MI(t,342)&&(e=VP(t,342),this.a==e.a)},zkt.Hb=function(){return cZ(this.a)},zkt.Ib=function(){return this.a+" (exclusive)"},zkt.a=0,_R(BLt,"ExclusiveBounds/ExclusiveLowerBound",342),Wht(1138,209,XCt,Hs),zkt.Ze=function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E;for(ast(e,"Fixed Layout",1),o=VP(_ft(t,(Ikt(),Dte)),218),d=0,g=0,y=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));y.e!=y.i.gc();){for(b=VP(hnt(y),33),(E=VP(_ft(b,(D6(),Lne)),8))&&(kM(b,E.a,E.b),VP(_ft(b,Cne),174).Hc((Ltt(),Vie))&&(p=VP(_ft(b,Ane),8)).a>0&&p.b>0&&Bxt(b,p.a,p.b,!0,!0)),d=n.Math.max(d,b.i+b.g),g=n.Math.max(g,b.j+b.f),h=new YI((!b.n&&(b.n=new mj(oae,b,1,7)),b.n));h.e!=h.i.gc();)c=VP(hnt(h),137),(E=VP(_ft(c,Lne),8))&&kM(c,E.a,E.b),d=n.Math.max(d,b.i+c.i+c.g),g=n.Math.max(g,b.j+c.j+c.f);for(x=new YI((!b.c&&(b.c=new mj(cae,b,9,9)),b.c));x.e!=x.i.gc();)for(v=VP(hnt(x),118),(E=VP(_ft(v,Lne),8))&&kM(v,E.a,E.b),k=b.i+v.i,_=b.j+v.j,d=n.Math.max(d,k+v.g),g=n.Math.max(g,_+v.f),u=new YI((!v.n&&(v.n=new mj(oae,v,1,7)),v.n));u.e!=u.i.gc();)c=VP(hnt(u),137),(E=VP(_ft(c,Lne),8))&&kM(c,E.a,E.b),d=n.Math.max(d,k+c.i+c.g),g=n.Math.max(g,_+c.j+c.f);for(a=new O$(dL(ddt(b).a.Kc(),new l));Xht(a);)f=Fxt(i=VP(xW(a),79)),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b);for(r=new O$(dL(fdt(b).a.Kc(),new l));Xht(r);)AZ(jst(i=VP(xW(r),79)))!=t&&(f=Fxt(i),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b))}if(o==(b9(),hne))for(w=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));w.e!=w.i.gc();)for(r=new O$(dL(ddt(b=VP(hnt(w),33)).a.Kc(),new l));Xht(r);)0==(s=Pwt(i=VP(xW(r),79))).b?Ont(i,Ute,null):Ont(i,Ute,s);tv(lD(_ft(t,(D6(),Sne))))||Bxt(t,d+(m=VP(_ft(t,Mne),116)).b+m.c,g+m.d+m.a,!0,!0),$ct(e)},_R(BLt,"FixedLayoutProvider",1138),Wht(373,134,{3:1,414:1,373:1,94:1,134:1},Qs,RQ),zkt.Jf=function(t){var e,n,i,r,a,o,s;if(t)try{for(o=Lbt(t,";,;"),r=0,a=(i=o).length;r<a;++r){if(e=Lbt(i[r],"\\:"),!(n=xvt(u0(),e[0])))throw lw(new Xm("Invalid option id: "+e[0]));if(null==(s=uvt(n,e[1])))throw lw(new Xm("Invalid option value: "+e[1]));null==s?(!this.q&&(this.q=new rw),UW(this.q,n)):(!this.q&&(this.q=new rw),Pz(this.q,n,s))}}catch(t){throw MI(t=k4(t),102)?lw(new C6(t)):lw(t)}},zkt.Ib=function(){return fD(xK(hq((this.q?this.q:(Gq(),Gq(),CRt)).vc().Oc(),new Js),xQ(new aB,new J,new K,new W,P4(Zv(pzt,1),K_t,132,0,[]))))};var xre,kre,_re,Ere,Tre=_R(BLt,"IndividualSpacings",373);Wht(971,1,{},Js),zkt.Kb=function(t){return function(t){return VP(t.cd(),146).tg()+":"+A9(t.dd())}(VP(t,42))},_R(BLt,"IndividualSpacings/lambda$0$Type",971),Wht(709,1,{},qF),zkt.c=0,_R(BLt,"InstancePool",709),Wht(1275,1,{},tc),_R(BLt,"LoggedGraph",1275),Wht(396,22,{3:1,35:1,22:1,396:1},vS);var Cre,Sre,Are,Mre=G1(BLt,"LoggedGraph/Type",396,cjt,(function(){return S6(),P4(Zv(Mre,1),K_t,396,0,[kre,_re,xre,Ere])}),(function(t){return S6(),rJ((JV(),Cre),t)}));Wht(46,1,{20:1,46:1},mS),zkt.Jc=function(t){GK(this,t)},zkt.Fb=function(t){var e,n,i;return!!MI(t,46)&&(n=VP(t,46),e=null==this.a?null==n.a:X7(this.a,n.a),i=null==this.b?null==n.b:X7(this.b,n.b),e&&i)},zkt.Hb=function(){var t,e,n;return t=-65536&(e=null==this.a?0:K5(this.a)),e&fEt^(-65536&(n=null==this.b?0:K5(this.b)))>>16&fEt|t^(n&fEt)<<16},zkt.Kc=function(){return new Jp(this)},zkt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+A9(this.b)+")":null==this.b?"pair("+A9(this.a)+",null)":"pair("+A9(this.a)+","+A9(this.b)+")"},_R(BLt,"Pair",46),Wht(983,1,f_t,Jp),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},zkt.Pb=function(){if(!this.c&&!this.b&&null!=this.a.a)return this.b=!0,this.a.a;if(!this.c&&null!=this.a.b)return this.c=!0,this.a.b;throw lw(new $w)},zkt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),lw(new Dw)},zkt.b=!1,zkt.c=!1,_R(BLt,"Pair/1",983),Wht(448,1,{448:1},kq),zkt.Fb=function(t){return Hz(this.a,VP(t,448).a)&&Hz(this.c,VP(t,448).c)&&Hz(this.d,VP(t,448).d)&&Hz(this.b,VP(t,448).b)},zkt.Hb=function(){return Z6(P4(Zv(G$t,1),r_t,1,5,[this.a,this.c,this.d,this.b]))},zkt.Ib=function(){return"("+this.a+n_t+this.c+n_t+this.d+n_t+this.b+")"},_R(BLt,"Quadruple",448),Wht(1126,209,XCt,ec),zkt.Ze=function(t,e){var i;ast(e,"Random Layout",1),0!=(!t.a&&(t.a=new mj(sae,t,10,11)),t.a).i?(function(t,e,i,r,a){var o,s,c,u,h,f,d,g,p,b,w,y,m,v,x,k,_,E,T,C;for(v=0,b=0,p=0,g=1,m=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));m.e!=m.i.gc();)g+=RG(new O$(dL(ddt(w=VP(hnt(m),33)).a.Kc(),new l))),E=w.g,b=n.Math.max(b,E),d=w.f,p=n.Math.max(p,d),v+=E*d;for(s=v+2*r*r*g*(!t.a&&(t.a=new mj(sae,t,10,11)),t.a).i,o=n.Math.sqrt(s),u=n.Math.max(o*i,b),c=n.Math.max(o/i,p),y=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));y.e!=y.i.gc();)w=VP(hnt(y),33),T=a.b+(Kft(e,26)*vTt+Kft(e,27)*xTt)*(u-w.g),C=a.b+(Kft(e,26)*vTt+Kft(e,27)*xTt)*(c-w.f),D1(w,T),N1(w,C);for(_=u+(a.b+a.c),k=c+(a.d+a.a),x=new YI((!t.a&&(t.a=new mj(sae,t,10,11)),t.a));x.e!=x.i.gc();)for(f=new O$(dL(ddt(VP(hnt(x),33)).a.Kc(),new l));Xht(f);)$ht(h=VP(xW(f),79))||bkt(h,e,_,k);Bxt(t,_+=a.b+a.c,k+=a.d+a.a,!1,!0)}(t,(i=VP(_ft(t,(Itt(),Wie)),19))&&0!=i.a?new kK(i.a):new a9,nv(hD(_ft(t,Yie))),nv(hD(_ft(t,Xie))),VP(_ft(t,Gie),116)),$ct(e)):$ct(e)},_R(BLt,"RandomLayoutProvider",1126),Wht(553,1,{}),zkt.qf=function(){return new XC(this.f.i,this.f.j)},zkt.We=function(t){return IH(t,(Ikt(),xee))?_ft(this.f,Are):_ft(this.f,t)},zkt.rf=function(){return new XC(this.f.g,this.f.f)},zkt.sf=function(){return this.g},zkt.Xe=function(t){return UX(this.f,t)},zkt.tf=function(t){D1(this.f,t.a),N1(this.f,t.b)},zkt.uf=function(t){O1(this.f,t.a),L1(this.f,t.b)},zkt.vf=function(t){this.g=t},zkt.g=0,_R(rNt,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),Wht(554,1,{839:1},tb),zkt.wf=function(){var t,e;if(!this.b)for(this.b=tG(Qz(this.a).i),e=new YI(Qz(this.a));e.e!=e.i.gc();)t=VP(hnt(e),137),nB(this.b,new Km(t));return this.b},zkt.b=null,_R(rNt,"ElkGraphAdapters/ElkEdgeAdapter",554),Wht(301,553,{},Gm),zkt.xf=function(){return hrt(this)},zkt.a=null,_R(rNt,"ElkGraphAdapters/ElkGraphAdapter",301),Wht(630,553,{181:1},Km),_R(rNt,"ElkGraphAdapters/ElkLabelAdapter",630),Wht(629,553,{680:1},nO),zkt.wf=function(){return function(t){var e,n;if(!t.b)for(t.b=tG(VP(t.f,33).Ag().i),n=new YI(VP(t.f,33).Ag());n.e!=n.i.gc();)e=VP(hnt(n),137),nB(t.b,new Km(e));return t.b}(this)},zkt.Af=function(){var t;return!(t=VP(_ft(this.f,(Ikt(),Gte)),142))&&(t=new Ty),t},zkt.Cf=function(){return function(t){var e,n;if(!t.e)for(t.e=tG(Jz(VP(t.f,33)).i),n=new YI(Jz(VP(t.f,33)));n.e!=n.i.gc();)e=VP(hnt(n),118),nB(t.e,new Lb(e));return t.e}(this)},zkt.Ef=function(t){var e;e=new vP(t),Ont(this.f,(Ikt(),Gte),e)},zkt.Ff=function(t){Ont(this.f,(Ikt(),cee),new mP(t))},zkt.yf=function(){return this.d},zkt.zf=function(){var t,e;if(!this.a)for(this.a=new iw,e=new O$(dL(fdt(VP(this.f,33)).a.Kc(),new l));Xht(e);)t=VP(xW(e),79),nB(this.a,new tb(t));return this.a},zkt.Bf=function(){var t,e;if(!this.c)for(this.c=new iw,e=new O$(dL(ddt(VP(this.f,33)).a.Kc(),new l));Xht(e);)t=VP(xW(e),79),nB(this.c,new tb(t));return this.c},zkt.Df=function(){return 0!=sH(VP(this.f,33)).i||tv(lD(VP(this.f,33).We((Ikt(),zte))))},zkt.Gf=function(){TQ(this,(pE(),Sre))},zkt.a=null,zkt.b=null,zkt.c=null,zkt.d=null,zkt.e=null,_R(rNt,"ElkGraphAdapters/ElkNodeAdapter",629),Wht(1266,553,{838:1},Lb),zkt.wf=function(){return function(t){var e,n;if(!t.b)for(t.b=tG(VP(t.f,118).Ag().i),n=new YI(VP(t.f,118).Ag());n.e!=n.i.gc();)e=VP(hnt(n),137),nB(t.b,new Km(e));return t.b}(this)},zkt.zf=function(){var t,e;if(!this.a)for(this.a=lO(VP(this.f,118).xg().i),e=new YI(VP(this.f,118).xg());e.e!=e.i.gc();)t=VP(hnt(e),79),nB(this.a,new tb(t));return this.a},zkt.Bf=function(){var t,e;if(!this.c)for(this.c=lO(VP(this.f,118).yg().i),e=new YI(VP(this.f,118).yg());e.e!=e.i.gc();)t=VP(hnt(e),79),nB(this.c,new tb(t));return this.c},zkt.Hf=function(){return VP(VP(this.f,118).We((Ikt(),Mee)),61)},zkt.If=function(){var t,e,n,i,r,a,o;for(i=EZ(VP(this.f,118)),n=new YI(VP(this.f,118).yg());n.e!=n.i.gc();)for(o=new YI((!(t=VP(hnt(n),79)).c&&(t.c=new LN(Jre,t,5,8)),t.c));o.e!=o.i.gc();){if(GJ(rst(a=VP(hnt(o),82)),i))return!0;if(rst(a)==i&&tv(lD(_ft(t,(Ikt(),qte)))))return!0}for(e=new YI(VP(this.f,118).xg());e.e!=e.i.gc();)for(r=new YI((!(t=VP(hnt(e),79)).b&&(t.b=new LN(Jre,t,4,7)),t.b));r.e!=r.i.gc();)if(GJ(rst(VP(hnt(r),82)),i))return!0;return!1},zkt.a=null,zkt.b=null,zkt.c=null,_R(rNt,"ElkGraphAdapters/ElkPortAdapter",1266),Wht(1267,1,zTt,nc),zkt.ue=function(t,e){return function(t,e){var n,i,r,a;if(0!=(a=VP(_ft(t,(Ikt(),Mee)),61).g-VP(_ft(e,Mee),61).g))return a;if(n=VP(_ft(t,Eee),19),i=VP(_ft(e,Eee),19),n&&i&&0!=(r=n.a-i.a))return r;switch(VP(_ft(t,Mee),61).g){case 1:return O8(t.i,e.i);case 2:return O8(t.j,e.j);case 3:return O8(e.i,t.i);case 4:return O8(e.j,t.j);default:throw lw(new Vm(vAt))}}(VP(t,118),VP(e,118))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(rNt,"ElkGraphAdapters/PortComparator",1267);var Ire,Lre,Ore,Dre,Nre,Pre,Bre,Fre,$re,jre,Rre,zre,qre,Hre,Zre,Ure,Yre,Gre,Kre=oF(aNt,"EObject"),Wre=oF(oNt,sNt),Xre=oF(oNt,cNt),Vre=oF(oNt,uNt),Qre=oF(oNt,"ElkShape"),Jre=oF(oNt,lNt),tae=oF(oNt,hNt),eae=oF(oNt,fNt),nae=oF(aNt,dNt),iae=oF(aNt,"EFactory"),rae=oF(aNt,gNt),aae=oF(aNt,"EPackage"),oae=oF(oNt,pNt),sae=oF(oNt,bNt),cae=oF(oNt,wNt);Wht(90,1,yNt),zkt.Jg=function(){return this.Kg(),null},zkt.Kg=function(){return null},zkt.Lg=function(){return this.Kg(),!1},zkt.Mg=function(){return!1},zkt.Ng=function(t){$3(this,t)},_R(mNt,"BasicNotifierImpl",90),Wht(97,90,SNt),zkt.nh=function(){return bM(this)},zkt.Og=function(t,e){return t},zkt.Pg=function(){throw lw(new Pw)},zkt.Qg=function(t){var e;return e=eit(VP(MJ(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},zkt.Rg=function(t,e){throw lw(new Pw)},zkt.Sg=function(t,e,n){return uwt(this,t,e,n)},zkt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},zkt.Ug=function(){return qht(this)},zkt.Vg=function(){throw lw(new Pw)},zkt.Wg=function(){var t,e;return!(e=this.ph().dk())&&this.Pg().ik((xE(),e=null==(t=KH(lyt(this.Tg())))?Woe:new tO(this,t))),e},zkt.Xg=function(t,e){return t},zkt.Yg=function(t){return t.Gj()?t.aj():ett(this.Tg(),t)},zkt.Zg=function(){var t;return(t=this.Pg())?t.fk():null},zkt.$g=function(){return this.Pg()?this.Pg().ck():null},zkt._g=function(t,e,n){return Dnt(this,t,e,n)},zkt.ah=function(t){return EV(this,t)},zkt.bh=function(t,e){return EW(this,t,e)},zkt.dh=function(){var t;return!!(t=this.Pg())&&t.gk()},zkt.eh=function(){throw lw(new Pw)},zkt.fh=function(){return ret(this)},zkt.gh=function(t,e,n,i){return vnt(this,t,e,i)},zkt.hh=function(t,e,n){return VP(MJ(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},zkt.ih=function(t,e,n,i){return YH(this,t,e,i)},zkt.jh=function(t,e,n){return VP(MJ(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},zkt.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},zkt.lh=function(t){return cnt(this,t)},zkt.mh=function(t){return MZ(this,t)},zkt.oh=function(t){return ivt(this,t)},zkt.ph=function(){throw lw(new Pw)},zkt.qh=function(){return this.Pg()?this.Pg().ek():null},zkt.rh=function(){return ret(this)},zkt.sh=function(t,e){Xut(this,t,e)},zkt.th=function(t){this.ph().hk(t)},zkt.uh=function(t){this.ph().kk(t)},zkt.vh=function(t){this.ph().jk(t)},zkt.wh=function(t,e){var n,i,r,a;return(a=this.Zg())&&t&&(e=Tnt(a.Vk(),this,e),a.Zk(this)),(i=this.eh())&&(0!=(Mbt(this,this.eh(),this.Vg()).Bb&iTt)?(r=i.fh())&&(t?!a&&r.Zk(this):r.Yk(this)):(e=(n=this.Vg())>=0?this.Qg(e):this.eh().ih(this,-1-n,null,e),e=this.Sg(null,-1,e))),this.uh(t),e},zkt.xh=function(t){var e,n,i,r,a,o,s;if((a=ett(n=this.Tg(),t))>=(e=this.Ah()))return VP(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=rvt((put(),gse),n,t)))throw lw(new Xm(vNt+t.ne()+_Nt));if(EE(),VP(o,66).Oj()||(o=zU(SQ(gse,o))),r=VP((i=this.Yg(o))>=0?this._g(i,!0,!0):nht(this,o,!0),153),(s=o.Zj())>1||-1==s)return VP(VP(r,215).hl(t,!1),76)}else if(t.$j())return VP((i=this.Yg(t))>=0?this._g(i,!1,!0):nht(this,t,!1),76);return new HS(this,t)},zkt.yh=function(){return BQ(this)},zkt.zh=function(){return(VR(),boe).S},zkt.Ah=function(){return yR(this.zh())},zkt.Bh=function(t){cut(this,t)},zkt.Ib=function(){return jft(this)},_R(ANt,"BasicEObjectImpl",97),Wht(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),zkt.Ch=function(t){return FQ(this)[t]},zkt.Dh=function(t,e){BR(FQ(this),t,e)},zkt.Eh=function(t){BR(FQ(this),t,null)},zkt.Jg=function(){return VP(q3(this,4),126)},zkt.Kg=function(){throw lw(new Pw)},zkt.Lg=function(){return 0!=(4&this.Db)},zkt.Pg=function(){throw lw(new Pw)},zkt.Fh=function(t){pet(this,2,t)},zkt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t)},zkt.Tg=function(){return MH(this)},zkt.Vg=function(){return this.Db>>16},zkt.Wg=function(){var t;return xE(),null==(t=KH(lyt(VP(q3(this,16),26)||this.zh())))?Woe:new tO(this,t)},zkt.Mg=function(){return 0==(1&this.Db)},zkt.Zg=function(){return VP(q3(this,128),1935)},zkt.$g=function(){return VP(q3(this,16),26)},zkt.dh=function(){return 0!=(32&this.Db)},zkt.eh=function(){return VP(q3(this,2),49)},zkt.kh=function(){return 0!=(64&this.Db)},zkt.ph=function(){throw lw(new Pw)},zkt.qh=function(){return VP(q3(this,64),281)},zkt.th=function(t){pet(this,16,t)},zkt.uh=function(t){pet(this,128,t)},zkt.vh=function(t){pet(this,64,t)},zkt.yh=function(){return bet(this)},zkt.Db=0,_R(ANt,"MinimalEObjectImpl",114),Wht(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),zkt.Fh=function(t){this.Cb=t},zkt.eh=function(){return this.Cb},_R(ANt,"MinimalEObjectImpl/Container",115),Wht(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),zkt._g=function(t,e,n){return Crt(this,t,e,n)},zkt.jh=function(t,e,n){return fct(this,t,e,n)},zkt.lh=function(t){return JU(this,t)},zkt.sh=function(t,e){Q5(this,t,e)},zkt.zh=function(){return skt(),qre},zkt.Bh=function(t){X4(this,t)},zkt.Ve=function(){return int(this)},zkt.We=function(t){return _ft(this,t)},zkt.Xe=function(t){return UX(this,t)},zkt.Ye=function(t,e){return Ont(this,t,e)},_R(MNt,"EMapPropertyHolderImpl",1985),Wht(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),zkt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Dnt(this,t,e,n)},zkt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return cnt(this,t)},zkt.sh=function(t,e){switch(t){case 0:return void A1(this,ev(hD(e)));case 1:return void M1(this,ev(hD(e)))}Xut(this,t,e)},zkt.zh=function(){return skt(),Ore},zkt.Bh=function(t){switch(t){case 0:return void A1(this,0);case 1:return void M1(this,0)}cut(this,t)},zkt.Ib=function(){var t;return 0!=(64&this.Db)?jft(this):((t=new TL(jft(this))).a+=" (x: ",Qx(t,this.a),t.a+=", y: ",Qx(t,this.b),t.a+=")",t.a)},zkt.a=0,zkt.b=0,_R(MNt,"ElkBendPointImpl",567),Wht(723,1985,{105:1,413:1,160:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),zkt._g=function(t,e,n){return t8(this,t,e,n)},zkt.hh=function(t,e,n){return lst(this,t,e,n)},zkt.jh=function(t,e,n){return p4(this,t,e,n)},zkt.lh=function(t){return U3(this,t)},zkt.sh=function(t,e){Xat(this,t,e)},zkt.zh=function(){return skt(),Bre},zkt.Bh=function(t){L7(this,t)},zkt.zg=function(){return this.k},zkt.Ag=function(){return Qz(this)},zkt.Ib=function(){return W8(this)},zkt.k=null,_R(MNt,"ElkGraphElementImpl",723),Wht(724,723,{105:1,413:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),zkt._g=function(t,e,n){return C9(this,t,e,n)},zkt.lh=function(t){return U9(this,t)},zkt.sh=function(t,e){Vat(this,t,e)},zkt.zh=function(){return skt(),zre},zkt.Bh=function(t){rtt(this,t)},zkt.Bg=function(){return this.f},zkt.Cg=function(){return this.g},zkt.Dg=function(){return this.i},zkt.Eg=function(){return this.j},zkt.Fg=function(t,e){xM(this,t,e)},zkt.Gg=function(t,e){kM(this,t,e)},zkt.Hg=function(t){D1(this,t)},zkt.Ig=function(t){N1(this,t)},zkt.Ib=function(){return xct(this)},zkt.f=0,zkt.g=0,zkt.i=0,zkt.j=0,_R(MNt,"ElkShapeImpl",724),Wht(725,724,{105:1,413:1,82:1,160:1,470:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),zkt._g=function(t,e,n){return git(this,t,e,n)},zkt.hh=function(t,e,n){return Nat(this,t,e,n)},zkt.jh=function(t,e,n){return Pat(this,t,e,n)},zkt.lh=function(t){return z5(this,t)},zkt.sh=function(t,e){uft(this,t,e)},zkt.zh=function(){return skt(),Dre},zkt.Bh=function(t){xnt(this,t)},zkt.xg=function(){return!this.d&&(this.d=new LN(tae,this,8,5)),this.d},zkt.yg=function(){return!this.e&&(this.e=new LN(tae,this,7,4)),this.e},_R(MNt,"ElkConnectableShapeImpl",725),Wht(352,723,{105:1,413:1,79:1,160:1,352:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},rc),zkt.Qg=function(t){return cat(this,t)},zkt._g=function(t,e,n){switch(t){case 3:return _Z(this);case 4:return!this.b&&(this.b=new LN(Jre,this,4,7)),this.b;case 5:return!this.c&&(this.c=new LN(Jre,this,5,8)),this.c;case 6:return!this.a&&(this.a=new mj(eae,this,6,6)),this.a;case 7:return EL(),!this.b&&(this.b=new LN(Jre,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new LN(Jre,this,5,8)),this.c.i<=1));case 8:return EL(),!!$ht(this);case 9:return EL(),!!Wlt(this);case 10:return EL(),!this.b&&(this.b=new LN(Jre,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new LN(Jre,this,5,8)),0!=this.c.i)}return t8(this,t,e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?cat(this,n):this.Cb.ih(this,-1-i,null,n)),LD(this,VP(t,33),n);case 4:return!this.b&&(this.b=new LN(Jre,this,4,7)),gtt(this.b,t,n);case 5:return!this.c&&(this.c=new LN(Jre,this,5,8)),gtt(this.c,t,n);case 6:return!this.a&&(this.a=new mj(eae,this,6,6)),gtt(this.a,t,n)}return lst(this,t,e,n)},zkt.jh=function(t,e,n){switch(e){case 3:return LD(this,null,n);case 4:return!this.b&&(this.b=new LN(Jre,this,4,7)),Tnt(this.b,t,n);case 5:return!this.c&&(this.c=new LN(Jre,this,5,8)),Tnt(this.c,t,n);case 6:return!this.a&&(this.a=new mj(eae,this,6,6)),Tnt(this.a,t,n)}return p4(this,t,e,n)},zkt.lh=function(t){switch(t){case 3:return!!_Z(this);case 4:return!!this.b&&0!=this.b.i;case 5:return!!this.c&&0!=this.c.i;case 6:return!!this.a&&0!=this.a.i;case 7:return!this.b&&(this.b=new LN(Jre,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new LN(Jre,this,5,8)),this.c.i<=1));case 8:return $ht(this);case 9:return Wlt(this);case 10:return!this.b&&(this.b=new LN(Jre,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new LN(Jre,this,5,8)),0!=this.c.i)}return U3(this,t)},zkt.sh=function(t,e){switch(t){case 3:return void Sdt(this,VP(e,33));case 4:return!this.b&&(this.b=new LN(Jre,this,4,7)),Hmt(this.b),!this.b&&(this.b=new LN(Jre,this,4,7)),void kR(this.b,VP(e,14));case 5:return!this.c&&(this.c=new LN(Jre,this,5,8)),Hmt(this.c),!this.c&&(this.c=new LN(Jre,this,5,8)),void kR(this.c,VP(e,14));case 6:return!this.a&&(this.a=new mj(eae,this,6,6)),Hmt(this.a),!this.a&&(this.a=new mj(eae,this,6,6)),void kR(this.a,VP(e,14))}Xat(this,t,e)},zkt.zh=function(){return skt(),Nre},zkt.Bh=function(t){switch(t){case 3:return void Sdt(this,null);case 4:return!this.b&&(this.b=new LN(Jre,this,4,7)),void Hmt(this.b);case 5:return!this.c&&(this.c=new LN(Jre,this,5,8)),void Hmt(this.c);case 6:return!this.a&&(this.a=new mj(eae,this,6,6)),void Hmt(this.a)}L7(this,t)},zkt.Ib=function(){return gmt(this)},_R(MNt,"ElkEdgeImpl",352),Wht(439,1985,{105:1,413:1,202:1,439:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},oc),zkt.Qg=function(t){return Qrt(this,t)},zkt._g=function(t,e,n){switch(t){case 1:return this.j;case 2:return this.k;case 3:return this.b;case 4:return this.c;case 5:return!this.a&&(this.a=new GI(Xre,this,5)),this.a;case 6:return TZ(this);case 7:return e?tit(this):this.i;case 8:return e?Jnt(this):this.f;case 9:return!this.g&&(this.g=new LN(eae,this,9,10)),this.g;case 10:return!this.e&&(this.e=new LN(eae,this,10,9)),this.e;case 11:return this.d}return Crt(this,t,e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?Qrt(this,n):this.Cb.ih(this,-1-i,null,n)),OD(this,VP(t,79),n);case 9:return!this.g&&(this.g=new LN(eae,this,9,10)),gtt(this.g,t,n);case 10:return!this.e&&(this.e=new LN(eae,this,10,9)),gtt(this.e,t,n)}return VP(MJ(VP(q3(this,16),26)||(skt(),Pre),e),66).Nj().Qj(this,bet(this),e-yR((skt(),Pre)),t,n)},zkt.jh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new GI(Xre,this,5)),Tnt(this.a,t,n);case 6:return OD(this,null,n);case 9:return!this.g&&(this.g=new LN(eae,this,9,10)),Tnt(this.g,t,n);case 10:return!this.e&&(this.e=new LN(eae,this,10,9)),Tnt(this.e,t,n)}return fct(this,t,e,n)},zkt.lh=function(t){switch(t){case 1:return 0!=this.j;case 2:return 0!=this.k;case 3:return 0!=this.b;case 4:return 0!=this.c;case 5:return!!this.a&&0!=this.a.i;case 6:return!!TZ(this);case 7:return!!this.i;case 8:return!!this.f;case 9:return!!this.g&&0!=this.g.i;case 10:return!!this.e&&0!=this.e.i;case 11:return null!=this.d}return JU(this,t)},zkt.sh=function(t,e){switch(t){case 1:return void P1(this,ev(hD(e)));case 2:return void F1(this,ev(hD(e)));case 3:return void I1(this,ev(hD(e)));case 4:return void B1(this,ev(hD(e)));case 5:return!this.a&&(this.a=new GI(Xre,this,5)),Hmt(this.a),!this.a&&(this.a=new GI(Xre,this,5)),void kR(this.a,VP(e,14));case 6:return void Tdt(this,VP(e,79));case 7:return void N0(this,VP(e,82));case 8:return void D0(this,VP(e,82));case 9:return!this.g&&(this.g=new LN(eae,this,9,10)),Hmt(this.g),!this.g&&(this.g=new LN(eae,this,9,10)),void kR(this.g,VP(e,14));case 10:return!this.e&&(this.e=new LN(eae,this,10,9)),Hmt(this.e),!this.e&&(this.e=new LN(eae,this,10,9)),void kR(this.e,VP(e,14));case 11:return void V0(this,fD(e))}Q5(this,t,e)},zkt.zh=function(){return skt(),Pre},zkt.Bh=function(t){switch(t){case 1:return void P1(this,0);case 2:return void F1(this,0);case 3:return void I1(this,0);case 4:return void B1(this,0);case 5:return!this.a&&(this.a=new GI(Xre,this,5)),void Hmt(this.a);case 6:return void Tdt(this,null);case 7:return void N0(this,null);case 8:return void D0(this,null);case 9:return!this.g&&(this.g=new LN(eae,this,9,10)),void Hmt(this.g);case 10:return!this.e&&(this.e=new LN(eae,this,10,9)),void Hmt(this.e);case 11:return void V0(this,null)}X4(this,t)},zkt.Ib=function(){return Cht(this)},zkt.b=0,zkt.c=0,zkt.d=null,zkt.j=0,zkt.k=0,_R(MNt,"ElkEdgeSectionImpl",439),Wht(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),zkt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab):FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n)):VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Qj(this,bet(this),e-yR(this.zh()),t,n)},zkt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n)):VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Rj(this,bet(this),e-yR(this.zh()),t,n)},zkt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.oh=function(t){return _xt(this,t)},zkt.sh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.uh=function(t){pet(this,128,t)},zkt.zh=function(){return Bkt(),Aoe},zkt.Bh=function(t){if(0===t)return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.Gh=function(){this.Bb|=1},zkt.Hh=function(t){return bwt(this,t)},zkt.Bb=0,_R(ANt,"EModelElementImpl",150),Wht(704,150,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},Nh),zkt.Ih=function(t,e){return Fvt(this,t,e)},zkt.Jh=function(t){var e,n,i,r;if(this.a!=i1(t)||0!=(256&t.Bb))throw lw(new Xm(PNt+t.zb+ONt));for(n=AH(t);0!=eK(n.a).i;){if(frt(e=VP(hvt(n,0,MI(r=VP(a1(eK(n.a),0),87).c,88)?VP(r,26):(Bkt(),Ioe)),26)))return VP(i=i1(e).Nh().Jh(e),49).th(t),i;n=AH(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new rF(t):new CB(t)},zkt.Kh=function(t,e){return fkt(this,t,e)},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.a}return FV(this,t-yR((Bkt(),Toe)),MJ(VP(q3(this,16),26)||Toe,t),e,n)},zkt.hh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 1:return this.a&&(n=VP(this.a,49).ih(this,4,aae,n)),E7(this,VP(t,235),n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Toe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),Toe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 1:return E7(this,null,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Toe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Toe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return PG(this,t-yR((Bkt(),Toe)),MJ(VP(q3(this,16),26)||Toe,t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void Gst(this,VP(e,235))}_9(this,t-yR((Bkt(),Toe)),MJ(VP(q3(this,16),26)||Toe,t),e)},zkt.zh=function(){return Bkt(),Toe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void Gst(this,null)}r8(this,t-yR((Bkt(),Toe)),MJ(VP(q3(this,16),26)||Toe,t))},_R(ANt,"EFactoryImpl",704),Wht(FNt,704,{105:1,2014:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1},sc),zkt.Ih=function(t,e){switch(t.yj()){case 12:return VP(e,146).tg();case 13:return A9(e);default:throw lw(new Xm(LNt+t.ne()+ONt))}},zkt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=i1(t))?$nt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new Py;case 7:return new By;case 8:return new rc;case 9:return new ac;case 10:return new oc;case 11:return new lc;default:throw lw(new Xm(PNt+t.zb+ONt))}},zkt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw lw(new Xm(LNt+t.ne()+ONt))}},_R(MNt,"ElkGraphFactoryImpl",FNt),Wht(438,150,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),zkt.Wg=function(){var t;return null==(t=KH(lyt(VP(q3(this,16),26)||this.zh())))?(xE(),xE(),Woe):new zO(this,t)},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.ne()}return FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void this.Lh(fD(e))}_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.zh=function(){return Bkt(),Moe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void this.Lh(null)}r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.ne=function(){return this.zb},zkt.Lh=function(t){_2(this,t)},zkt.Ib=function(){return z7(this)},zkt.zb=null,_R(ANt,"ENamedElementImpl",438),Wht(179,438,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},CH),zkt.Qg=function(t){return iat(this,t)},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return this.yb;case 3:return this.xb;case 4:return this.sb;case 5:return!this.rb&&(this.rb=new pj(this,ioe,this)),this.rb;case 6:return!this.vb&&(this.vb=new _N(aae,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?VP(this.Cb,235):null:CZ(this)}return FV(this,t-yR((Bkt(),Doe)),MJ(VP(q3(this,16),26)||Doe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 4:return this.sb&&(n=VP(this.sb,49).ih(this,1,iae,n)),q7(this,VP(t,471),n);case 5:return!this.rb&&(this.rb=new pj(this,ioe,this)),gtt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new _N(aae,this,6,7)),gtt(this.vb,t,n);case 7:return this.Cb&&(n=(i=this.Db>>16)>=0?iat(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,7,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Doe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),Doe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 4:return q7(this,null,n);case 5:return!this.rb&&(this.rb=new pj(this,ioe,this)),Tnt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new _N(aae,this,6,7)),Tnt(this.vb,t,n);case 7:return uwt(this,null,7,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Doe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Doe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.yb;case 3:return null!=this.xb;case 4:return!!this.sb;case 5:return!!this.rb&&0!=this.rb.i;case 6:return!!this.vb&&0!=this.vb.i;case 7:return!!CZ(this)}return PG(this,t-yR((Bkt(),Doe)),MJ(VP(q3(this,16),26)||Doe,t))},zkt.oh=function(t){return function(t,e){var n,i,r,a,o,s;if(!t.tb){for(!t.rb&&(t.rb=new pj(t,ioe,t)),s=new x_((a=t.rb).i),r=new YI(a);r.e!=r.i.gc();)i=VP(hnt(r),138),(n=VP(null==(o=i.ne())?Qut(s.f,null,i):r9(s.g,o,i),138))&&(null==o?Qut(s.f,null,n):r9(s.g,o,n));t.tb=s}return VP(oZ(t.tb,e),138)}(this,t)||_xt(this,t)},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void _2(this,fD(e));case 2:return void T2(this,fD(e));case 3:return void E2(this,fD(e));case 4:return void dct(this,VP(e,471));case 5:return!this.rb&&(this.rb=new pj(this,ioe,this)),Hmt(this.rb),!this.rb&&(this.rb=new pj(this,ioe,this)),void kR(this.rb,VP(e,14));case 6:return!this.vb&&(this.vb=new _N(aae,this,6,7)),Hmt(this.vb),!this.vb&&(this.vb=new _N(aae,this,6,7)),void kR(this.vb,VP(e,14))}_9(this,t-yR((Bkt(),Doe)),MJ(VP(q3(this,16),26)||Doe,t),e)},zkt.vh=function(t){var e,n;if(t&&this.rb)for(n=new YI(this.rb);n.e!=n.i.gc();)MI(e=hnt(n),351)&&(VP(e,351).w=null);pet(this,64,t)},zkt.zh=function(){return Bkt(),Doe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void _2(this,null);case 2:return void T2(this,null);case 3:return void E2(this,null);case 4:return void dct(this,null);case 5:return!this.rb&&(this.rb=new pj(this,ioe,this)),void Hmt(this.rb);case 6:return!this.vb&&(this.vb=new _N(aae,this,6,7)),void Hmt(this.vb)}r8(this,t-yR((Bkt(),Doe)),MJ(VP(q3(this,16),26)||Doe,t))},zkt.Gh=function(){Srt(this)},zkt.Mh=function(){return!this.rb&&(this.rb=new pj(this,ioe,this)),this.rb},zkt.Nh=function(){return this.sb},zkt.Oh=function(){return this.ub},zkt.Ph=function(){return this.xb},zkt.Qh=function(){return this.yb},zkt.Rh=function(t){this.ub=t},zkt.Ib=function(){var t;return 0!=(64&this.Db)?z7(this):((t=new TL(z7(this))).a+=" (nsURI: ",wA(t,this.yb),t.a+=", nsPrefix: ",wA(t,this.xb),t.a+=")",t.a)},zkt.xb=null,zkt.yb=null,_R(ANt,"EPackageImpl",179),Wht(555,179,{105:1,2016:1,555:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1},Uht),zkt.q=!1,zkt.r=!1;var uae=!1;_R(MNt,"ElkGraphPackageImpl",555),Wht(354,724,{105:1,413:1,160:1,137:1,470:1,354:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},cc),zkt.Qg=function(t){return Jrt(this,t)},zkt._g=function(t,e,n){switch(t){case 7:return SZ(this);case 8:return this.a}return C9(this,t,e,n)},zkt.hh=function(t,e,n){var i;return 7===e?(this.Cb&&(n=(i=this.Db>>16)>=0?Jrt(this,n):this.Cb.ih(this,-1-i,null,n)),x$(this,VP(t,160),n)):lst(this,t,e,n)},zkt.jh=function(t,e,n){return 7==e?x$(this,null,n):p4(this,t,e,n)},zkt.lh=function(t){switch(t){case 7:return!!SZ(this);case 8:return!jN("",this.a)}return U9(this,t)},zkt.sh=function(t,e){switch(t){case 7:return void Kdt(this,VP(e,160));case 8:return void P0(this,fD(e))}Vat(this,t,e)},zkt.zh=function(){return skt(),Fre},zkt.Bh=function(t){switch(t){case 7:return void Kdt(this,null);case 8:return void P0(this,"")}rtt(this,t)},zkt.Ib=function(){return Vct(this)},zkt.a="",_R(MNt,"ElkLabelImpl",354),Wht(239,725,{105:1,413:1,82:1,160:1,33:1,470:1,239:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},Py),zkt.Qg=function(t){return uat(this,t)},zkt._g=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new mj(cae,this,9,9)),this.c;case 10:return!this.a&&(this.a=new mj(sae,this,10,11)),this.a;case 11:return AZ(this);case 12:return!this.b&&(this.b=new mj(tae,this,12,3)),this.b;case 13:return EL(),!this.a&&(this.a=new mj(sae,this,10,11)),this.a.i>0}return git(this,t,e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 9:return!this.c&&(this.c=new mj(cae,this,9,9)),gtt(this.c,t,n);case 10:return!this.a&&(this.a=new mj(sae,this,10,11)),gtt(this.a,t,n);case 11:return this.Cb&&(n=(i=this.Db>>16)>=0?uat(this,n):this.Cb.ih(this,-1-i,null,n)),yN(this,VP(t,33),n);case 12:return!this.b&&(this.b=new mj(tae,this,12,3)),gtt(this.b,t,n)}return Nat(this,t,e,n)},zkt.jh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new mj(cae,this,9,9)),Tnt(this.c,t,n);case 10:return!this.a&&(this.a=new mj(sae,this,10,11)),Tnt(this.a,t,n);case 11:return yN(this,null,n);case 12:return!this.b&&(this.b=new mj(tae,this,12,3)),Tnt(this.b,t,n)}return Pat(this,t,e,n)},zkt.lh=function(t){switch(t){case 9:return!!this.c&&0!=this.c.i;case 10:return!!this.a&&0!=this.a.i;case 11:return!!AZ(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new mj(sae,this,10,11)),this.a.i>0}return z5(this,t)},zkt.sh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new mj(cae,this,9,9)),Hmt(this.c),!this.c&&(this.c=new mj(cae,this,9,9)),void kR(this.c,VP(e,14));case 10:return!this.a&&(this.a=new mj(sae,this,10,11)),Hmt(this.a),!this.a&&(this.a=new mj(sae,this,10,11)),void kR(this.a,VP(e,14));case 11:return void Fdt(this,VP(e,33));case 12:return!this.b&&(this.b=new mj(tae,this,12,3)),Hmt(this.b),!this.b&&(this.b=new mj(tae,this,12,3)),void kR(this.b,VP(e,14))}uft(this,t,e)},zkt.zh=function(){return skt(),$re},zkt.Bh=function(t){switch(t){case 9:return!this.c&&(this.c=new mj(cae,this,9,9)),void Hmt(this.c);case 10:return!this.a&&(this.a=new mj(sae,this,10,11)),void Hmt(this.a);case 11:return void Fdt(this,null);case 12:return!this.b&&(this.b=new mj(tae,this,12,3)),void Hmt(this.b)}xnt(this,t)},zkt.Ib=function(){return cbt(this)},_R(MNt,"ElkNodeImpl",239),Wht(186,725,{105:1,413:1,82:1,160:1,118:1,470:1,186:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},By),zkt.Qg=function(t){return tat(this,t)},zkt._g=function(t,e,n){return 9==t?EZ(this):git(this,t,e,n)},zkt.hh=function(t,e,n){var i;return 9===e?(this.Cb&&(n=(i=this.Db>>16)>=0?tat(this,n):this.Cb.ih(this,-1-i,null,n)),DD(this,VP(t,33),n)):Nat(this,t,e,n)},zkt.jh=function(t,e,n){return 9==e?DD(this,null,n):Pat(this,t,e,n)},zkt.lh=function(t){return 9==t?!!EZ(this):z5(this,t)},zkt.sh=function(t,e){9!==t?uft(this,t,e):Cdt(this,VP(e,33))},zkt.zh=function(){return skt(),jre},zkt.Bh=function(t){9!==t?xnt(this,t):Cdt(this,null)},zkt.Ib=function(){return ubt(this)},_R(MNt,"ElkPortImpl",186);var lae=oF(iPt,"BasicEMap/Entry");Wht(1092,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,114:1,115:1},lc),zkt.Fb=function(t){return this===t},zkt.cd=function(){return this.b},zkt.Hb=function(){return jL(this)},zkt.Uh=function(t){B0(this,VP(t,146))},zkt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Dnt(this,t,e,n)},zkt.lh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return cnt(this,t)},zkt.sh=function(t,e){switch(t){case 0:return void B0(this,VP(e,146));case 1:return void j0(this,e)}Xut(this,t,e)},zkt.zh=function(){return skt(),Rre},zkt.Bh=function(t){switch(t){case 0:return void B0(this,null);case 1:return void j0(this,null)}cut(this,t)},zkt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?K5(t):0),this.a},zkt.dd=function(){return this.c},zkt.Th=function(t){this.a=t},zkt.ed=function(t){var e;return e=this.c,j0(this,t),e},zkt.Ib=function(){var t;return 0!=(64&this.Db)?jft(this):(vA(vA(vA(t=new Lv,this.b?this.b.tg():s_t),yAt),PL(this.c)),t.a)},zkt.a=-1,zkt.c=null;var hae,fae,dae,gae,pae,bae,wae,yae,mae=_R(MNt,"ElkPropertyToValueMapEntryImpl",1092);Wht(984,1,{},dc),_R(oPt,"JsonAdapter",984),Wht(210,60,iEt,lv),_R(oPt,"JsonImportException",210),Wht(857,1,{},rat),_R(oPt,"JsonImporter",857),Wht(891,1,{},xS),_R(oPt,"JsonImporter/lambda$0$Type",891),Wht(892,1,{},kS),_R(oPt,"JsonImporter/lambda$1$Type",892),Wht(900,1,{},eb),_R(oPt,"JsonImporter/lambda$10$Type",900),Wht(902,1,{},_S),_R(oPt,"JsonImporter/lambda$11$Type",902),Wht(903,1,{},ES),_R(oPt,"JsonImporter/lambda$12$Type",903),Wht(909,1,{},Oq),_R(oPt,"JsonImporter/lambda$13$Type",909),Wht(908,1,{},Lq),_R(oPt,"JsonImporter/lambda$14$Type",908),Wht(904,1,{},TS),_R(oPt,"JsonImporter/lambda$15$Type",904),Wht(905,1,{},CS),_R(oPt,"JsonImporter/lambda$16$Type",905),Wht(906,1,{},SS),_R(oPt,"JsonImporter/lambda$17$Type",906),Wht(907,1,{},AS),_R(oPt,"JsonImporter/lambda$18$Type",907),Wht(912,1,{},nb),_R(oPt,"JsonImporter/lambda$19$Type",912),Wht(893,1,{},ib),_R(oPt,"JsonImporter/lambda$2$Type",893),Wht(910,1,{},rb),_R(oPt,"JsonImporter/lambda$20$Type",910),Wht(911,1,{},ab),_R(oPt,"JsonImporter/lambda$21$Type",911),Wht(915,1,{},ob),_R(oPt,"JsonImporter/lambda$22$Type",915),Wht(913,1,{},sb),_R(oPt,"JsonImporter/lambda$23$Type",913),Wht(914,1,{},cb),_R(oPt,"JsonImporter/lambda$24$Type",914),Wht(917,1,{},ub),_R(oPt,"JsonImporter/lambda$25$Type",917),Wht(916,1,{},lb),_R(oPt,"JsonImporter/lambda$26$Type",916),Wht(918,1,A_t,MS),zkt.td=function(t){!function(t,e,n){var i,r;r=null,(i=kZ(t,n))&&(r=uut(i)),zet(e,n,r)}(this.b,this.a,fD(t))},_R(oPt,"JsonImporter/lambda$27$Type",918),Wht(919,1,A_t,IS),zkt.td=function(t){!function(t,e,n){var i,r;r=null,(i=kZ(t,n))&&(r=uut(i)),zet(e,n,r)}(this.b,this.a,fD(t))},_R(oPt,"JsonImporter/lambda$28$Type",919),Wht(920,1,{},LS),_R(oPt,"JsonImporter/lambda$29$Type",920),Wht(896,1,{},hb),_R(oPt,"JsonImporter/lambda$3$Type",896),Wht(921,1,{},OS),_R(oPt,"JsonImporter/lambda$30$Type",921),Wht(922,1,{},fb),_R(oPt,"JsonImporter/lambda$31$Type",922),Wht(923,1,{},db),_R(oPt,"JsonImporter/lambda$32$Type",923),Wht(924,1,{},gb),_R(oPt,"JsonImporter/lambda$33$Type",924),Wht(925,1,{},pb),_R(oPt,"JsonImporter/lambda$34$Type",925),Wht(859,1,{},bb),_R(oPt,"JsonImporter/lambda$35$Type",859),Wht(929,1,{},FP),_R(oPt,"JsonImporter/lambda$36$Type",929),Wht(926,1,A_t,wb),zkt.td=function(t){!function(t,e){var n;tH(n=new Im,"x",e.a),tH(n,"y",e.b),tz(t,n)}(this.a,VP(t,469))},_R(oPt,"JsonImporter/lambda$37$Type",926),Wht(927,1,A_t,RS),zkt.td=function(t){!function(t,e,n){Gat(e,kut(t,n))}(this.a,this.b,VP(t,202))},_R(oPt,"JsonImporter/lambda$38$Type",927),Wht(928,1,A_t,zS),zkt.td=function(t){!function(t,e,n){Gat(e,kut(t,n))}(this.a,this.b,VP(t,202))},_R(oPt,"JsonImporter/lambda$39$Type",928),Wht(894,1,{},yb),_R(oPt,"JsonImporter/lambda$4$Type",894),Wht(930,1,A_t,mb),zkt.td=function(t){!function(t,e){var n;tH(n=new Im,"x",e.a),tH(n,"y",e.b),tz(t,n)}(this.a,VP(t,8))},_R(oPt,"JsonImporter/lambda$40$Type",930),Wht(895,1,{},vb),_R(oPt,"JsonImporter/lambda$5$Type",895),Wht(899,1,{},xb),_R(oPt,"JsonImporter/lambda$6$Type",899),Wht(897,1,{},kb),_R(oPt,"JsonImporter/lambda$7$Type",897),Wht(898,1,{},_b),_R(oPt,"JsonImporter/lambda$8$Type",898),Wht(901,1,{},Eb),_R(oPt,"JsonImporter/lambda$9$Type",901),Wht(948,1,A_t,Tb),zkt.td=function(t){tz(this.a,new UR(fD(t)))},_R(oPt,"JsonMetaDataConverter/lambda$0$Type",948),Wht(949,1,A_t,Cb),zkt.td=function(t){!function(t,e){tz(t,new UR(null!=e.f?e.f:""+e.g))}(this.a,VP(t,237))},_R(oPt,"JsonMetaDataConverter/lambda$1$Type",949),Wht(950,1,A_t,Sb),zkt.td=function(t){!function(t,e){null!=e.c&&tz(t,new UR(e.c))}(this.a,VP(t,149))},_R(oPt,"JsonMetaDataConverter/lambda$2$Type",950),Wht(951,1,A_t,Ab),zkt.td=function(t){!function(t,e){tz(t,new UR(null!=e.f?e.f:""+e.g))}(this.a,VP(t,175))},_R(oPt,"JsonMetaDataConverter/lambda$3$Type",951),Wht(237,22,{3:1,35:1,22:1,237:1},jS);var vae,xae=G1(UCt,"GraphFeature",237,cjt,(function(){return Yht(),P4(Zv(xae,1),K_t,237,0,[yae,pae,bae,gae,wae,fae,hae,dae])}),(function(t){return Yht(),rJ((m3(),vae),t)}));Wht(13,1,{35:1,146:1},Ib,jD,RA,BM),zkt.wd=function(t){return function(t,e){return RW(t.b,e.tg())}(this,VP(t,146))},zkt.Fb=function(t){return IH(this,t)},zkt.wg=function(){return unt(this)},zkt.tg=function(){return this.b},zkt.Hb=function(){return Knt(this.b)},zkt.Ib=function(){return this.b},_R(UCt,"Property",13),Wht(818,1,zTt,Mb),zkt.ue=function(t,e){return function(t,e,n){var i,r;return i=VP(e.We(t.a),35),r=VP(n.We(t.a),35),null!=i&&null!=r?s3(i,r):null!=i?-1:null!=r?1:0}(this,VP(t,94),VP(e,94))},zkt.Fb=function(t){return this===t},zkt.ve=function(){return new _d(this)},_R(UCt,"PropertyHolderComparator",818),Wht(695,1,f_t,Ob),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return function(t){var e;if(!t.a)throw lw(new Kz);return e=t.a,t.a=AZ(t.a),e}(this)},zkt.Qb=function(){zx()},zkt.Ob=function(){return!!this.a},_R(xPt,"ElkGraphUtil/AncestorIterator",695);var kae=oF(iPt,"EList");Wht(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),zkt.Vc=function(t,e){v8(this,t,e)},zkt.Fc=function(t){return hV(this,t)},zkt.Wc=function(t,e){return h5(this,t,e)},zkt.Gc=function(t){return kR(this,t)},zkt.Zh=function(){return new sO(this)},zkt.$h=function(){return new cO(this)},zkt._h=function(t){return d0(this,t)},zkt.ai=function(){return!0},zkt.bi=function(t,e){},zkt.ci=function(){},zkt.di=function(t,e){GX(this,t,e)},zkt.ei=function(t,e,n){},zkt.fi=function(t,e){},zkt.gi=function(t,e,n){},zkt.Fb=function(t){return Apt(this,t)},zkt.Hb=function(){return D4(this)},zkt.hi=function(){return!1},zkt.Kc=function(){return new YI(this)},zkt.Yc=function(){return new oO(this)},zkt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw lw(new kN(t,e));return new Jj(this,t)},zkt.ji=function(t,e){this.ii(t,this.Xc(e))},zkt.Mc=function(t){return HQ(this,t)},zkt.li=function(t,e){return e},zkt._c=function(t,e){return jnt(this,t,e)},zkt.Ib=function(){return B9(this)},zkt.ni=function(){return!0},zkt.oi=function(t,e){return x6(this,e)},_R(iPt,"AbstractEList",67),Wht(63,67,CPt,bc,RJ,e3),zkt.Vh=function(t,e){return hst(this,t,e)},zkt.Wh=function(t){return Dit(this,t)},zkt.Xh=function(t,e){G7(this,t,e)},zkt.Yh=function(t){NW(this,t)},zkt.pi=function(t){return LV(this,t)},zkt.$b=function(){PW(this)},zkt.Hc=function(t){return zat(this,t)},zkt.Xb=function(t){return a1(this,t)},zkt.qi=function(t){var e,n,i;++this.j,t>(n=null==this.g?0:this.g.length)&&(i=this.g,(e=n+(n/2|0)+4)<t&&(e=t),this.g=this.ri(e),null!=i&&lmt(i,0,this.g,0,this.i))},zkt.Xc=function(t){return qrt(this,t)},zkt.dc=function(){return 0==this.i},zkt.ii=function(t,e){return Xlt(this,t,e)},zkt.ri=function(t){return WX(G$t,r_t,1,t,5,1)},zkt.ki=function(t){return this.g[t]},zkt.$c=function(t){return Lrt(this,t)},zkt.mi=function(t,e){return qQ(this,t,e)},zkt.gc=function(){return this.i},zkt.Pc=function(){return $G(this)},zkt.Qc=function(t){return dtt(this,t)},zkt.i=0;var _ae=_R(iPt,"BasicEList",63),Eae=oF(iPt,"TreeIterator");Wht(694,63,SPt),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return null!=this.g||this.c?null==this.g||0!=this.i&&VP(this.g[this.i-1],47).Ob():LZ(this)},zkt.Pb=function(){return sdt(this)},zkt.Qb=function(){if(!this.e)throw lw(new Vm("There is no valid object to remove."));this.e.Qb()},zkt.c=!1,_R(iPt,"AbstractTreeIterator",694),Wht(685,694,SPt,CM),zkt.si=function(t){var e;return MI(e=VP(t,56).Wg().Kc(),279)&&VP(e,279).Nk(new gc),e},_R(xPt,"ElkGraphUtil/PropertiesSkippingTreeIterator",685),Wht(952,1,{},gc),_R(xPt,"ElkGraphUtil/PropertiesSkippingTreeIterator/1",952);var Tae,Cae,Sae,Aae=_R(xPt,"ElkReflect",null);Wht(889,1,mDt,pc),zkt.vg=function(t){return jZ(),function(t){var e;return e=VP(rR(t.b,t.b.length),9),new aP(t.a,e,t.c)}(VP(t,174))},_R(xPt,"ElkReflect/lambda$0$Type",889),oF(iPt,"ResourceLocator"),Wht(1051,1,{}),_R(iPt,"DelegatingResourceLocator",1051),Wht(1052,1051,{}),_R("org.eclipse.emf.common","EMFPlugin",1052);var Mae,Iae=oF(gBt,"Adapter"),Lae=oF(gBt,"Notification");Wht(1153,1,pBt),zkt.ti=function(){return this.d},zkt.ui=function(t){},zkt.vi=function(t){this.d=t},zkt.wi=function(t){this.d==t&&(this.d=null)},zkt.d=null,_R(mNt,"AdapterImpl",1153),Wht(1995,67,bBt),zkt.Vh=function(t,e){return X9(this,t,e)},zkt.Wh=function(t){var e,n,i;if(++this.j,t.dc())return!1;for(e=this.Vi(),i=t.Kc();i.Ob();)n=i.Pb(),this.Ii(this.oi(e,n)),++e;return!0},zkt.Xh=function(t,e){PD(this,t,e)},zkt.Yh=function(t){nz(this,t)},zkt.Gi=function(){return this.Ji()},zkt.$b=function(){ND(this,this.Vi(),this.Wi())},zkt.Hc=function(t){return this.Li(t)},zkt.Ic=function(t){return this.Mi(t)},zkt.Hi=function(t,e){this.Si().jm()},zkt.Ii=function(t){this.Si().jm()},zkt.Ji=function(){return this.Si()},zkt.Ki=function(){this.Si().jm()},zkt.Li=function(t){return this.Si().jm()},zkt.Mi=function(t){return this.Si().jm()},zkt.Ni=function(t){return this.Si().jm()},zkt.Oi=function(t){return this.Si().jm()},zkt.Pi=function(){return this.Si().jm()},zkt.Qi=function(t){return this.Si().jm()},zkt.Ri=function(){return this.Si().jm()},zkt.Ti=function(t){return this.Si().jm()},zkt.Ui=function(t,e){return this.Si().jm()},zkt.Vi=function(){return this.Si().jm()},zkt.Wi=function(){return this.Si().jm()},zkt.Xi=function(t){return this.Si().jm()},zkt.Yi=function(){return this.Si().jm()},zkt.Fb=function(t){return this.Ni(t)},zkt.Xb=function(t){return this.li(t,this.Oi(t))},zkt.Hb=function(){return this.Pi()},zkt.Xc=function(t){return this.Qi(t)},zkt.dc=function(){return this.Ri()},zkt.ii=function(t,e){return Hst(this,t,e)},zkt.ki=function(t){return this.Oi(t)},zkt.$c=function(t){return sF(this,t)},zkt.Mc=function(t){var e;return(e=this.Xc(t))>=0&&(this.$c(e),!0)},zkt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},zkt.gc=function(){return this.Vi()},zkt.Pc=function(){return this.Wi()},zkt.Qc=function(t){return this.Xi(t)},zkt.Ib=function(){return this.Yi()},_R(iPt,"DelegatingEList",1995),Wht(1996,1995,bBt),zkt.Vh=function(t,e){return Fwt(this,t,e)},zkt.Wh=function(t){return this.Vh(this.Vi(),t)},zkt.Xh=function(t,e){Rht(this,t,e)},zkt.Yh=function(t){xht(this,t)},zkt.ai=function(){return!this.bj()},zkt.$b=function(){Wmt(this)},zkt.Zi=function(t,e,n,i,r){return new jH(this,t,e,n,i,r)},zkt.$i=function(t){$3(this.Ai(),t)},zkt._i=function(){return null},zkt.aj=function(){return-1},zkt.Ai=function(){return null},zkt.bj=function(){return!1},zkt.cj=function(t,e){return e},zkt.dj=function(t,e){return e},zkt.ej=function(){return!1},zkt.fj=function(){return!this.Ri()},zkt.ii=function(t,e){var n,i;return this.ej()?(i=this.fj(),n=Hst(this,t,e),this.$i(this.Zi(7,p8(e),n,t,i)),n):Hst(this,t,e)},zkt.$c=function(t){var e,n,i,r;return this.ej()?(n=null,i=this.fj(),e=this.Zi(4,r=sF(this,t),null,t,i),this.bj()&&r?(n=this.dj(r,n))?(n.Ei(e),n.Fi()):this.$i(e):n?(n.Ei(e),n.Fi()):this.$i(e),r):(r=sF(this,t),this.bj()&&r&&(n=this.dj(r,null))&&n.Fi(),r)},zkt.mi=function(t,e){return $wt(this,t,e)},_R(mNt,"DelegatingNotifyingListImpl",1996),Wht(143,1,wBt),zkt.Ei=function(t){return Aot(this,t)},zkt.Fi=function(){yQ(this)},zkt.xi=function(){return this.d},zkt._i=function(){return null},zkt.gj=function(){return null},zkt.yi=function(t){return-1},zkt.zi=function(){return $gt(this)},zkt.Ai=function(){return null},zkt.Bi=function(){return jgt(this)},zkt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},zkt.hj=function(){return!1},zkt.Di=function(t){var e,n,i,r,a,o,s,c;switch(this.d){case 1:case 2:switch(t.xi()){case 1:case 2:if(iA(t.Ai())===iA(this.Ai())&&this.yi(null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0}case 4:if(4===t.xi()&&iA(t.Ai())===iA(this.Ai())&&this.yi(null)==t.yi(null))return o=lvt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=t.Ci(),this.d=6,c=new RJ(2),a<=i?(hV(c,this.n),hV(c,t.Bi()),this.g=P4(Zv(Kce,1),CEt,25,15,[this.o=a,i+1])):(hV(c,t.Bi()),hV(c,this.n),this.g=P4(Zv(Kce,1),CEt,25,15,[this.o=i,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&iA(t.Ai())===iA(this.Ai())&&this.yi(null)==t.yi(null)){for(o=lvt(this),i=t.Ci(),s=VP(this.g,48),n=WX(Kce,CEt,25,s.length+1,15,1),e=0;e<s.length&&(r=s[e])<=i;)n[e++]=r,++i;for(VP(this.n,15).Vc(e,t.Bi()),n[e]=i;++e<n.length;)n[e]=s[e-1];return this.g=n,o||(this.o=-2-n[0]),!0}}return!1},zkt.Ib=function(){var t,e,n;switch((n=new TL(Nx(this.gm)+"@"+(K5(this)>>>0).toString(16))).a+=" (eventType: ",this.d){case 1:n.a+="SET";break;case 2:n.a+="UNSET";break;case 3:n.a+="ADD";break;case 5:n.a+="ADD_MANY";break;case 4:n.a+="REMOVE";break;case 6:n.a+="REMOVE_MANY";break;case 7:n.a+="MOVE";break;case 8:n.a+="REMOVING_ADAPTER";break;case 9:n.a+="RESOLVE";break;default:Jx(n,this.d)}if(Tbt(this)&&(n.a+=", touch: true"),n.a+=", position: ",Jx(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",bA(n,this.Ai()),n.a+=", feature: ",bA(n,this._i()),n.a+=", oldValue: ",bA(n,jgt(this)),n.a+=", newValue: ",6==this.d&&MI(this.g,48)){for(e=VP(this.g,48),n.a+="[",t=0;t<e.length;)n.a+=e[t],++t<e.length&&(n.a+=n_t);n.a+="]"}else bA(n,$gt(this));return n.a+=", isTouch: ",tk(n,Tbt(this)),n.a+=", wasSet: ",tk(n,lvt(this)),n.a+=")",n.a},zkt.d=0,zkt.e=0,zkt.f=0,zkt.j=0,zkt.k=0,zkt.o=0,zkt.p=0,_R(mNt,"NotificationImpl",143),Wht(1167,143,wBt,jH),zkt._i=function(){return this.a._i()},zkt.yi=function(t){return this.a.aj()},zkt.Ai=function(){return this.a.Ai()},_R(mNt,"DelegatingNotifyingListImpl/1",1167),Wht(242,63,CPt,wc,_x),zkt.Fc=function(t){return V9(this,VP(t,366))},zkt.Ei=function(t){return V9(this,t)},zkt.Fi=function(){var t,e,n;for(t=0;t<this.i;++t)null!=(n=(e=VP(this.g[t],366)).Ai())&&-1!=e.xi()&&VP(n,92).Ng(e)},zkt.ri=function(t){return WX(Lae,r_t,366,t,0,1)},_R(mNt,"NotificationChainImpl",242),Wht(1378,90,yNt),zkt.Kg=function(){return this.e},zkt.Mg=function(){return 0!=(1&this.f)},zkt.f=1,_R(mNt,"NotifierImpl",1378),Wht(1993,63,CPt),zkt.Vh=function(t,e){return nyt(this,t,e)},zkt.Wh=function(t){return this.Vh(this.i,t)},zkt.Xh=function(t,e){Oht(this,t,e)},zkt.Yh=function(t){jht(this,t)},zkt.ai=function(){return!this.bj()},zkt.$b=function(){Hmt(this)},zkt.Zi=function(t,e,n,i,r){return new RH(this,t,e,n,i,r)},zkt.$i=function(t){$3(this.Ai(),t)},zkt._i=function(){return null},zkt.aj=function(){return-1},zkt.Ai=function(){return null},zkt.bj=function(){return!1},zkt.ij=function(){return!1},zkt.cj=function(t,e){return e},zkt.dj=function(t,e){return e},zkt.ej=function(){return!1},zkt.fj=function(){return 0!=this.i},zkt.ii=function(t,e){return D8(this,t,e)},zkt.$c=function(t){return npt(this,t)},zkt.mi=function(t,e){return Ayt(this,t,e)},zkt.jj=function(t,e){return e},zkt.kj=function(t,e){return e},zkt.lj=function(t,e,n){return n},_R(mNt,"NotifyingListImpl",1993),Wht(1166,143,wBt,RH),zkt._i=function(){return this.a._i()},zkt.yi=function(t){return this.a.aj()},zkt.Ai=function(){return this.a.Ai()},_R(mNt,"NotifyingListImpl/1",1166),Wht(953,63,CPt,qD),zkt.Hc=function(t){return this.i>10?(this.b&&this.c.j==this.a||(this.b=new xF(this),this.a=this.j),b_(this.b,t)):zat(this,t)},zkt.ni=function(){return!0},zkt.a=0,_R(iPt,"AbstractEList/1",953),Wht(295,73,XEt,kN),_R(iPt,"AbstractEList/BasicIndexOutOfBoundsException",295),Wht(40,1,f_t,YI),zkt.Nb=function(t){Aj(this,t)},zkt.mj=function(){if(this.i.j!=this.f)throw lw(new Bw)},zkt.nj=function(){return hnt(this)},zkt.Ob=function(){return this.e!=this.i.gc()},zkt.Pb=function(){return this.nj()},zkt.Qb=function(){not(this)},zkt.e=0,zkt.f=0,zkt.g=-1,_R(iPt,"AbstractEList/EIterator",40),Wht(278,40,x_t,oO,Jj),zkt.Qb=function(){not(this)},zkt.Rb=function(t){_tt(this,t)},zkt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(t){throw MI(t=k4(t),73)?(this.mj(),lw(new $w)):lw(t)}},zkt.pj=function(t){$it(this,t)},zkt.Sb=function(){return 0!=this.e},zkt.Tb=function(){return this.e},zkt.Ub=function(){return this.oj()},zkt.Vb=function(){return this.e-1},zkt.Wb=function(t){this.pj(t)},_R(iPt,"AbstractEList/EListIterator",278),Wht(341,40,f_t,sO),zkt.nj=function(){return fnt(this)},zkt.Qb=function(){throw lw(new Pw)},_R(iPt,"AbstractEList/NonResolvingEIterator",341),Wht(385,278,x_t,cO,KN),zkt.Rb=function(t){throw lw(new Pw)},zkt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(t){throw MI(t=k4(t),73)?(this.mj(),lw(new $w)):lw(t)}},zkt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(t){throw MI(t=k4(t),73)?(this.mj(),lw(new $w)):lw(t)}},zkt.Qb=function(){throw lw(new Pw)},zkt.Wb=function(t){throw lw(new Pw)},_R(iPt,"AbstractEList/NonResolvingEListIterator",385),Wht(1982,67,vBt),zkt.Vh=function(t,e){var n,i,r,a,o,s,c,u,l;if(0!=(i=e.gc())){for(n=p6(this,(u=null==(c=VP(q3(this.a,4),126))?0:c.length)+i),(l=u-t)>0&&lmt(c,t,n,t+i,l),s=e.Kc(),a=0;a<i;++a)RM(n,t+a,x6(this,o=s.Pb()));for(Bet(this,n),r=0;r<i;++r)o=n[t],this.bi(t,o),++t;return!0}return++this.j,!1},zkt.Wh=function(t){var e,n,i,r,a,o,s,c,u;if(0!=(i=t.gc())){for(e=p6(this,u=(c=null==(n=VP(q3(this.a,4),126))?0:n.length)+i),s=t.Kc(),a=c;a<u;++a)RM(e,a,x6(this,o=s.Pb()));for(Bet(this,e),r=c;r<u;++r)o=e[r],this.bi(r,o);return!0}return++this.j,!1},zkt.Xh=function(t,e){var n,i,r,a;n=p6(this,(r=null==(i=VP(q3(this.a,4),126))?0:i.length)+1),a=x6(this,e),t!=r&&lmt(i,t,n,t+1,r-t),BR(n,t,a),Bet(this,n),this.bi(t,e)},zkt.Yh=function(t){var e,n,i;RM(e=p6(this,(i=null==(n=VP(q3(this.a,4),126))?0:n.length)+1),i,x6(this,t)),Bet(this,e),this.bi(i,t)},zkt.Zh=function(){return new fW(this)},zkt.$h=function(){return new gj(this)},zkt._h=function(t){var e,n;if(n=null==(e=VP(q3(this.a,4),126))?0:e.length,t<0||t>n)throw lw(new kN(t,n));return new Sz(this,t)},zkt.$b=function(){var t,e;++this.j,e=null==(t=VP(q3(this.a,4),126))?0:t.length,Bet(this,null),GX(this,e,t)},zkt.Hc=function(t){var e,n,i,r;if(null!=(e=VP(q3(this.a,4),126)))if(null!=t){for(i=0,r=(n=e).length;i<r;++i)if(X7(t,n[i]))return!0}else for(i=0,r=(n=e).length;i<r;++i)if(iA(n[i])===iA(t))return!0;return!1},zkt.Xb=function(t){var e,n;if(t>=(n=null==(e=VP(q3(this.a,4),126))?0:e.length))throw lw(new kN(t,n));return e[t]},zkt.Xc=function(t){var e,n,i;if(null!=(e=VP(q3(this.a,4),126)))if(null!=t){for(n=0,i=e.length;n<i;++n)if(X7(t,e[n]))return n}else for(n=0,i=e.length;n<i;++n)if(iA(e[n])===iA(t))return n;return-1},zkt.dc=function(){return null==VP(q3(this.a,4),126)},zkt.Kc=function(){return new hW(this)},zkt.Yc=function(){return new dj(this)},zkt.Zc=function(t){var e,n;if(n=null==(e=VP(q3(this.a,4),126))?0:e.length,t<0||t>n)throw lw(new kN(t,n));return new Cz(this,t)},zkt.ii=function(t,e){var n,i,r;if(t>=(r=null==(n=qtt(this))?0:n.length))throw lw(new qm(_Pt+t+EPt+r));if(e>=r)throw lw(new qm(TPt+e+EPt+r));return i=n[e],t!=e&&(t<e?lmt(n,t,n,t+1,e-t):lmt(n,e+1,n,e,t-e),BR(n,t,i),Bet(this,n)),i},zkt.ki=function(t){return VP(q3(this.a,4),126)[t]},zkt.$c=function(t){return function(t,e){var n,i,r,a,o;if(e>=(o=null==(n=VP(q3(t.a,4),126))?0:n.length))throw lw(new kN(e,o));return r=n[e],1==o?i=null:(lmt(n,0,i=WX(Iae,mBt,415,o-1,0,1),0,e),(a=o-e-1)>0&&lmt(n,e+1,i,e,a)),Bet(t,i),Rut(t,e,r),r}(this,t)},zkt.mi=function(t,e){var n,i;return i=(n=qtt(this))[t],RM(n,t,x6(this,e)),Bet(this,n),i},zkt.gc=function(){var t;return null==(t=VP(q3(this.a,4),126))?0:t.length},zkt.Pc=function(){var t,e,n;return n=null==(t=VP(q3(this.a,4),126))?0:t.length,e=WX(Iae,mBt,415,n,0,1),n>0&&lmt(t,0,e,0,n),e},zkt.Qc=function(t){var e,n;return(n=null==(e=VP(q3(this.a,4),126))?0:e.length)>0&&(t.length<n&&(t=q1(W5(t).c,n)),lmt(e,0,t,0,n)),t.length>n&&BR(t,n,null),t},_R(iPt,"ArrayDelegatingEList",1982),Wht(1038,40,f_t,hW),zkt.mj=function(){if(this.b.j!=this.f||iA(VP(q3(this.b.a,4),126))!==iA(this.a))throw lw(new Bw)},zkt.Qb=function(){not(this),this.a=VP(q3(this.b.a,4),126)},_R(iPt,"ArrayDelegatingEList/EIterator",1038),Wht(706,278,x_t,dj,Cz),zkt.mj=function(){if(this.b.j!=this.f||iA(VP(q3(this.b.a,4),126))!==iA(this.a))throw lw(new Bw)},zkt.pj=function(t){$it(this,t),this.a=VP(q3(this.b.a,4),126)},zkt.Qb=function(){not(this),this.a=VP(q3(this.b.a,4),126)},_R(iPt,"ArrayDelegatingEList/EListIterator",706),Wht(1039,341,f_t,fW),zkt.mj=function(){if(this.b.j!=this.f||iA(VP(q3(this.b.a,4),126))!==iA(this.a))throw lw(new Bw)},_R(iPt,"ArrayDelegatingEList/NonResolvingEIterator",1039),Wht(707,385,x_t,gj,Sz),zkt.mj=function(){if(this.b.j!=this.f||iA(VP(q3(this.b.a,4),126))!==iA(this.a))throw lw(new Bw)},_R(iPt,"ArrayDelegatingEList/NonResolvingEListIterator",707),Wht(606,295,XEt,zA),_R(iPt,"BasicEList/BasicIndexOutOfBoundsException",606),Wht(696,63,CPt,XS),zkt.Vc=function(t,e){throw lw(new Pw)},zkt.Fc=function(t){throw lw(new Pw)},zkt.Wc=function(t,e){throw lw(new Pw)},zkt.Gc=function(t){throw lw(new Pw)},zkt.$b=function(){throw lw(new Pw)},zkt.qi=function(t){throw lw(new Pw)},zkt.Kc=function(){return this.Zh()},zkt.Yc=function(){return this.$h()},zkt.Zc=function(t){return this._h(t)},zkt.ii=function(t,e){throw lw(new Pw)},zkt.ji=function(t,e){throw lw(new Pw)},zkt.$c=function(t){throw lw(new Pw)},zkt.Mc=function(t){throw lw(new Pw)},zkt._c=function(t,e){throw lw(new Pw)},_R(iPt,"BasicEList/UnmodifiableEList",696),Wht(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),zkt.Vc=function(t,e){!function(t,e,n){t.c.Vc(e,VP(n,133))}(this,t,VP(e,42))},zkt.Fc=function(t){return function(t,e){return t.c.Fc(VP(e,133))}(this,VP(t,42))},zkt.Jc=function(t){GK(this,t)},zkt.Xb=function(t){return VP(a1(this.c,t),133)},zkt.ii=function(t,e){return VP(this.c.ii(t,e),42)},zkt.ji=function(t,e){!function(t,e,n){t.c.ji(e,VP(n,133))}(this,t,VP(e,42))},zkt.Lc=function(){return new CF(null,new NU(this,16))},zkt.$c=function(t){return VP(this.c.$c(t),42)},zkt._c=function(t,e){return function(t,e,n){return VP(t.c._c(e,VP(n,133)),42)}(this,t,VP(e,42))},zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.Oc=function(){return new CF(null,new NU(this,16))},zkt.Wc=function(t,e){return this.c.Wc(t,e)},zkt.Gc=function(t){return this.c.Gc(t)},zkt.$b=function(){this.c.$b()},zkt.Hc=function(t){return this.c.Hc(t)},zkt.Ic=function(t){return m4(this.c,t)},zkt.qj=function(){var t,e;if(null==this.d){for(this.d=WX(_ae,xBt,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)nit(this,VP(t.nj(),133));this.e=e}},zkt.Fb=function(t){return YN(this,t)},zkt.Hb=function(){return D4(this.c)},zkt.Xc=function(t){return this.c.Xc(t)},zkt.rj=function(){this.c=new Db(this)},zkt.dc=function(){return 0==this.f},zkt.Kc=function(){return this.c.Kc()},zkt.Yc=function(){return this.c.Yc()},zkt.Zc=function(t){return this.c.Zc(t)},zkt.sj=function(){return YX(this)},zkt.tj=function(t,e,n){return new $P(t,e,n)},zkt.uj=function(){return new yc},zkt.Mc=function(t){return g0(this,t)},zkt.gc=function(){return this.f},zkt.bd=function(t,e){return new IU(this.c,t,e)},zkt.Pc=function(){return this.c.Pc()},zkt.Qc=function(t){return this.c.Qc(t)},zkt.Ib=function(){return B9(this.c)},zkt.e=0,zkt.f=0,_R(iPt,"BasicEMap",705),Wht(1033,63,CPt,Db),zkt.bi=function(t,e){!function(t,e){nit(t.a,e)}(this,VP(e,133))},zkt.ei=function(t,e,n){++(this,VP(e,133),this).a.e},zkt.fi=function(t,e){!function(t,e){N8(t.a,e)}(this,VP(e,133))},zkt.gi=function(t,e,n){!function(t,e,n){N8(t.a,n),nit(t.a,e)}(this,VP(e,133),VP(n,133))},zkt.di=function(t,e){L3(this.a)},_R(iPt,"BasicEMap/1",1033),Wht(1034,63,CPt,yc),zkt.ri=function(t){return WX(Dae,kBt,612,t,0,1)},_R(iPt,"BasicEMap/2",1034),Wht(1035,b_t,w_t,Nb),zkt.$b=function(){this.a.c.$b()},zkt.Hc=function(t){return mtt(this.a,t)},zkt.Kc=function(){return 0==this.a.f?(iD(),Oae.a):new Ex(this.a)},zkt.Mc=function(t){var e;return e=this.a.f,eet(this.a,t),this.a.f!=e},zkt.gc=function(){return this.a.f},_R(iPt,"BasicEMap/3",1035),Wht(1036,28,p_t,Pb),zkt.$b=function(){this.a.c.$b()},zkt.Hc=function(t){return Mpt(this.a,t)},zkt.Kc=function(){return 0==this.a.f?(iD(),Oae.a):new Tx(this.a)},zkt.gc=function(){return this.a.f},_R(iPt,"BasicEMap/4",1036),Wht(1037,b_t,w_t,Bb),zkt.$b=function(){this.a.c.$b()},zkt.Hc=function(t){var e,n,i,r,a,o,s,c,u;if(this.a.f>0&&MI(t,42)&&(this.a.qj(),r=null==(s=(c=VP(t,42)).cd())?0:K5(s),a=$D(this.a,r),e=this.a.d[a]))for(n=VP(e.g,367),u=e.i,o=0;o<u;++o)if((i=n[o]).Sh()==r&&i.Fb(c))return!0;return!1},zkt.Kc=function(){return 0==this.a.f?(iD(),Oae.a):new $q(this.a)},zkt.Mc=function(t){return sft(this,t)},zkt.gc=function(){return this.a.f},_R(iPt,"BasicEMap/5",1037),Wht(613,1,f_t,$q),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return-1!=this.b},zkt.Pb=function(){var t;if(this.f.e!=this.c)throw lw(new Bw);if(-1==this.b)throw lw(new $w);return this.d=this.a,this.e=this.b,Mat(this),t=VP(this.f.d[this.d].g[this.e],133),this.vj(t)},zkt.Qb=function(){if(this.f.e!=this.c)throw lw(new Bw);if(-1==this.e)throw lw(new Dw);this.f.c.Mc(a1(this.f.d[this.d],this.e)),this.c=this.f.e,this.e=-1,this.a==this.d&&-1!=this.b&&--this.b},zkt.vj=function(t){return t},zkt.a=0,zkt.b=-1,zkt.c=0,zkt.d=0,zkt.e=0,_R(iPt,"BasicEMap/BasicEMapIterator",613),Wht(1031,613,f_t,Ex),zkt.vj=function(t){return t.cd()},_R(iPt,"BasicEMap/BasicEMapKeyIterator",1031),Wht(1032,613,f_t,Tx),zkt.vj=function(t){return t.dd()},_R(iPt,"BasicEMap/BasicEMapValueIterator",1032),Wht(1030,1,g_t,Fb),zkt.wc=function(t){C3(this,t)},zkt.yc=function(t,e,n){return V8(this,t,e,n)},zkt.$b=function(){this.a.c.$b()},zkt._b=function(t){return tA(this,t)},zkt.uc=function(t){return Mpt(this.a,t)},zkt.vc=function(){return!(t=this.a).g&&(t.g=new uc),!t.g.a&&(t.g.a=new Bb(t)),t.g.a;var t},zkt.Fb=function(t){return YN(this.a,t)},zkt.xc=function(t){return vtt(this.a,t)},zkt.Hb=function(){return D4(this.a.c)},zkt.dc=function(){return 0==this.a.f},zkt.ec=function(){return!(t=this.a).g&&(t.g=new uc),!t.g.b&&(t.g.b=new Nb(t)),t.g.b;var t},zkt.zc=function(t,e){return Bat(this.a,t,e)},zkt.Bc=function(t){return eet(this.a,t)},zkt.gc=function(){return this.a.f},zkt.Ib=function(){return B9(this.a.c)},zkt.Cc=function(){return!(t=this.a).g&&(t.g=new uc),!t.g.d&&(t.g.d=new Pb(t)),t.g.d;var t},_R(iPt,"BasicEMap/DelegatingMap",1030),Wht(612,1,{42:1,133:1,612:1},$P),zkt.Fb=function(t){var e;return!!MI(t,42)&&(e=VP(t,42),(null!=this.b?X7(this.b,e.cd()):iA(this.b)===iA(e.cd()))&&(null!=this.c?X7(this.c,e.dd()):iA(this.c)===iA(e.dd())))},zkt.Sh=function(){return this.a},zkt.cd=function(){return this.b},zkt.dd=function(){return this.c},zkt.Hb=function(){return this.a^(null==this.c?0:K5(this.c))},zkt.Th=function(t){this.a=t},zkt.Uh=function(t){throw lw(new Sw)},zkt.ed=function(t){var e;return e=this.c,this.c=t,e},zkt.Ib=function(){return this.b+"->"+this.c},zkt.a=0;var Oae,Dae=_R(iPt,"BasicEMap/EntryImpl",612);Wht(536,1,{},uc),_R(iPt,"BasicEMap/View",536),Wht(768,1,{}),zkt.Fb=function(t){return lft((Gq(),TRt),t)},zkt.Hb=function(){return $5((Gq(),TRt))},zkt.Ib=function(){return Ust((Gq(),TRt))},_R(iPt,"ECollections/BasicEmptyUnmodifiableEList",768),Wht(1312,1,x_t,mc),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){throw lw(new Pw)},zkt.Ob=function(){return!1},zkt.Sb=function(){return!1},zkt.Pb=function(){throw lw(new $w)},zkt.Tb=function(){return 0},zkt.Ub=function(){throw lw(new $w)},zkt.Vb=function(){return-1},zkt.Qb=function(){throw lw(new Pw)},zkt.Wb=function(t){throw lw(new Pw)},_R(iPt,"ECollections/BasicEmptyUnmodifiableEList/1",1312),Wht(1310,768,{20:1,14:1,15:1,58:1},Fy),zkt.Vc=function(t,e){gk()},zkt.Fc=function(t){return pk()},zkt.Wc=function(t,e){return bk()},zkt.Gc=function(t){return wk()},zkt.$b=function(){yk()},zkt.Hc=function(t){return!1},zkt.Ic=function(t){return!1},zkt.Jc=function(t){GK(this,t)},zkt.Xb=function(t){return MA((Gq(),t)),null},zkt.Xc=function(t){return-1},zkt.dc=function(){return!0},zkt.Kc=function(){return this.a},zkt.Yc=function(){return this.a},zkt.Zc=function(t){return this.a},zkt.ii=function(t,e){return mk()},zkt.ji=function(t,e){vk()},zkt.Lc=function(){return new CF(null,new NU(this,16))},zkt.$c=function(t){return xk()},zkt.Mc=function(t){return kk()},zkt._c=function(t,e){return _k()},zkt.gc=function(){return 0},zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.Oc=function(){return new CF(null,new NU(this,16))},zkt.bd=function(t,e){return Gq(),new IU(TRt,t,e)},zkt.Pc=function(){return M$((Gq(),TRt))},zkt.Qc=function(t){return Gq(),Rit(TRt,t)},_R(iPt,"ECollections/EmptyUnmodifiableEList",1310),Wht(1311,768,{20:1,14:1,15:1,58:1,589:1},$y),zkt.Vc=function(t,e){gk()},zkt.Fc=function(t){return pk()},zkt.Wc=function(t,e){return bk()},zkt.Gc=function(t){return wk()},zkt.$b=function(){yk()},zkt.Hc=function(t){return!1},zkt.Ic=function(t){return!1},zkt.Jc=function(t){GK(this,t)},zkt.Xb=function(t){return MA((Gq(),t)),null},zkt.Xc=function(t){return-1},zkt.dc=function(){return!0},zkt.Kc=function(){return this.a},zkt.Yc=function(){return this.a},zkt.Zc=function(t){return this.a},zkt.ii=function(t,e){return mk()},zkt.ji=function(t,e){vk()},zkt.Lc=function(){return new CF(null,new NU(this,16))},zkt.$c=function(t){return xk()},zkt.Mc=function(t){return kk()},zkt._c=function(t,e){return _k()},zkt.gc=function(){return 0},zkt.ad=function(t){A2(this,t)},zkt.Nc=function(){return new NU(this,16)},zkt.Oc=function(){return new CF(null,new NU(this,16))},zkt.bd=function(t,e){return Gq(),new IU(TRt,t,e)},zkt.Pc=function(){return M$((Gq(),TRt))},zkt.Qc=function(t){return Gq(),Rit(TRt,t)},zkt.sj=function(){return Gq(),Gq(),CRt},_R(iPt,"ECollections/EmptyUnmodifiableEMap",1311);var Nae,Pae=oF(iPt,"Enumerator");Wht(281,1,{281:1},Bpt),zkt.Fb=function(t){var e;return this===t||!!MI(t,281)&&(e=VP(t,281),this.f==e.f&&function(t,e){return null==t?null==e:met(t,e)}(this.i,e.i)&&XF(this.a,0!=(256&this.f)?0!=(256&e.f)?e.a:null:0!=(256&e.f)?null:e.a)&&XF(this.d,e.d)&&XF(this.g,e.g)&&XF(this.e,e.e)&&function(t,e){var n,i;if(t.j.length!=e.j.length)return!1;for(n=0,i=t.j.length;n<i;n++)if(!jN(t.j[n],e.j[n]))return!1;return!0}(this,e))},zkt.Hb=function(){return this.f},zkt.Ib=function(){return lwt(this)},zkt.f=0;var Bae,Fae,$ae,jae=0,Rae=0,zae=0,qae=0,Hae=0,Zae=0,Uae=0,Yae=0,Gae=0,Kae=0,Wae=0,Xae=0,Vae=0;_R(iPt,"URI",281),Wht(1091,43,wTt,jy),zkt.zc=function(t,e){return VP(ZZ(this,fD(t),VP(e,281)),281)},_R(iPt,"URI/URICache",1091),Wht(497,63,CPt,fc,FF),zkt.hi=function(){return!0},_R(iPt,"UniqueEList",497),Wht(581,60,iEt,mQ),_R(iPt,"WrappedException",581);var Qae,Jae=oF(aNt,TBt),toe=oF(aNt,CBt),eoe=oF(aNt,SBt),noe=oF(aNt,ABt),ioe=oF(aNt,MBt),roe=oF(aNt,"EClass"),aoe=oF(aNt,"EDataType");Wht(1183,43,wTt,Ry),zkt.xc=function(t){return oA(t)?oZ(this,t):nA(BH(this.f,t))},_R(aNt,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var ooe,soe,coe=oF(aNt,"EEnum"),uoe=oF(aNt,IBt),loe=oF(aNt,LBt),hoe=oF(aNt,OBt),foe=oF(aNt,DBt),doe=oF(aNt,NBt);Wht(1029,1,{},hc),zkt.Ib=function(){return"NIL"},_R(aNt,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),Wht(1028,43,wTt,zy),zkt.xc=function(t){return oA(t)?oZ(this,t):nA(BH(this.f,t))},_R(aNt,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var goe,poe,boe,woe,yoe,moe,voe,xoe,koe,_oe,Eoe,Toe,Coe,Soe,Aoe,Moe,Ioe,Loe,Ooe,Doe,Noe,Poe,Boe,Foe,$oe,joe,Roe,zoe,qoe,Hoe,Zoe,Uoe=oF(aNt,PBt),Yoe=oF(aNt,"EValidator/PatternMatcher"),Goe=oF(BBt,"FeatureMap/Entry");Wht(535,1,{72:1},qS),zkt.ak=function(){return this.a},zkt.dd=function(){return this.b},_R(ANt,"BasicEObjectImpl/1",535),Wht(1027,1,FBt,HS),zkt.Wj=function(t){return EW(this.a,this.b,t)},zkt.fj=function(){return MZ(this.a,this.b)},zkt.Wb=function(t){dZ(this.a,this.b,t)},zkt.Xj=function(){!function(t,e){var n;(n=t.Yg(e))>=0?t.Bh(n):Elt(t,e)}(this.a,this.b)},_R(ANt,"BasicEObjectImpl/4",1027),Wht(1983,1,{108:1}),zkt.bk=function(t){this.e=0==t?Roe:WX(G$t,r_t,1,t,5,1)},zkt.Ch=function(t){return this.e[t]},zkt.Dh=function(t,e){this.e[t]=e},zkt.Eh=function(t){this.e[t]=null},zkt.ck=function(){return this.c},zkt.dk=function(){throw lw(new Pw)},zkt.ek=function(){throw lw(new Pw)},zkt.fk=function(){return this.d},zkt.gk=function(){return null!=this.e},zkt.hk=function(t){this.c=t},zkt.ik=function(t){throw lw(new Pw)},zkt.jk=function(t){throw lw(new Pw)},zkt.kk=function(t){this.d=t},_R(ANt,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),Wht(185,1983,{108:1},Ph),zkt.dk=function(){return this.a},zkt.ek=function(){return this.b},zkt.ik=function(t){this.a=t},zkt.jk=function(t){this.b=t},_R(ANt,"BasicEObjectImpl/EPropertiesHolderImpl",185),Wht(506,97,SNt,vc),zkt.Kg=function(){return this.f},zkt.Pg=function(){return this.k},zkt.Rg=function(t,e){this.g=t,this.i=e},zkt.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},zkt.Vg=function(){return this.i},zkt.Mg=function(){return 0!=(1&this.j)},zkt.eh=function(){return this.g},zkt.kh=function(){return 0!=(4&this.j)},zkt.ph=function(){return!this.k&&(this.k=new Ph),this.k},zkt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},zkt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},zkt.zh=function(){return(VR(),boe).S},zkt.i=0,zkt.j=1,_R(ANt,"EObjectImpl",506),Wht(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},CB),zkt.Ch=function(t){return this.e[t]},zkt.Dh=function(t,e){this.e[t]=e},zkt.Eh=function(t){this.e[t]=null},zkt.Tg=function(){return this.d},zkt.Yg=function(t){return ett(this.d,t)},zkt.$g=function(){return this.d},zkt.dh=function(){return null!=this.e},zkt.ph=function(){return!this.k&&(this.k=new xc),this.k},zkt.th=function(t){this.d=t},zkt.yh=function(){var t;return null==this.e&&(t=yR(this.d),this.e=0==t?zoe:WX(G$t,r_t,1,t,5,1)),this},zkt.Ah=function(){return 0},_R(ANt,"DynamicEObjectImpl",780),Wht(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},rF),zkt.Fb=function(t){return this===t},zkt.Hb=function(){return jL(this)},zkt.th=function(t){this.d=t,this.b=Qdt(t,"key"),this.c=Qdt(t,jNt)},zkt.Sh=function(){var t;return-1==this.a&&(t=$Q(this,this.b),this.a=null==t?0:K5(t)),this.a},zkt.cd=function(){return $Q(this,this.b)},zkt.dd=function(){return $Q(this,this.c)},zkt.Th=function(t){this.a=t},zkt.Uh=function(t){dZ(this,this.b,t)},zkt.ed=function(t){var e;return e=$Q(this,this.c),dZ(this,this.c,t),e},zkt.a=0,_R(ANt,"DynamicEObjectImpl/BasicEMapEntry",1376),Wht(1377,1,{108:1},xc),zkt.bk=function(t){throw lw(new Pw)},zkt.Ch=function(t){throw lw(new Pw)},zkt.Dh=function(t,e){throw lw(new Pw)},zkt.Eh=function(t){throw lw(new Pw)},zkt.ck=function(){throw lw(new Pw)},zkt.dk=function(){return this.a},zkt.ek=function(){return this.b},zkt.fk=function(){return this.c},zkt.gk=function(){throw lw(new Pw)},zkt.hk=function(t){throw lw(new Pw)},zkt.ik=function(t){this.a=t},zkt.jk=function(t){this.b=t},zkt.kk=function(t){this.c=t},_R(ANt,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),Wht(510,150,{105:1,92:1,90:1,590:1,147:1,56:1,108:1,49:1,97:1,510:1,150:1,114:1,115:1},kc),zkt.Qg=function(t){return nat(this,t)},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new UO((Bkt(),Boe),cse,this)),this.b):(!this.b&&(this.b=new UO((Bkt(),Boe),cse,this)),YX(this.b));case 3:return RZ(this);case 4:return!this.a&&(this.a=new GI(Kre,this,4)),this.a;case 5:return!this.c&&(this.c=new QI(Kre,this,5)),this.c}return FV(this,t-yR((Bkt(),woe)),MJ(VP(q3(this,16),26)||woe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?nat(this,n):this.Cb.ih(this,-1-i,null,n)),k$(this,VP(t,147),n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),woe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),woe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 2:return!this.b&&(this.b=new UO((Bkt(),Boe),cse,this)),VN(this.b,t,n);case 3:return k$(this,null,n);case 4:return!this.a&&(this.a=new GI(Kre,this,4)),Tnt(this.a,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),woe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),woe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.d;case 2:return!!this.b&&0!=this.b.f;case 3:return!!RZ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return PG(this,t-yR((Bkt(),woe)),MJ(VP(q3(this,16),26)||woe,t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void function(t,e){z0(t,null==e?null:(yz(e),e))}(this,fD(e));case 2:return!this.b&&(this.b=new UO((Bkt(),Boe),cse,this)),void S3(this.b,e);case 3:return void Wdt(this,VP(e,147));case 4:return!this.a&&(this.a=new GI(Kre,this,4)),Hmt(this.a),!this.a&&(this.a=new GI(Kre,this,4)),void kR(this.a,VP(e,14));case 5:return!this.c&&(this.c=new QI(Kre,this,5)),Hmt(this.c),!this.c&&(this.c=new QI(Kre,this,5)),void kR(this.c,VP(e,14))}_9(this,t-yR((Bkt(),woe)),MJ(VP(q3(this,16),26)||woe,t),e)},zkt.zh=function(){return Bkt(),woe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void z0(this,null);case 2:return!this.b&&(this.b=new UO((Bkt(),Boe),cse,this)),void this.b.c.$b();case 3:return void Wdt(this,null);case 4:return!this.a&&(this.a=new GI(Kre,this,4)),void Hmt(this.a);case 5:return!this.c&&(this.c=new QI(Kre,this,5)),void Hmt(this.c)}r8(this,t-yR((Bkt(),woe)),MJ(VP(q3(this,16),26)||woe,t))},zkt.Ib=function(){return c8(this)},zkt.d=null,_R(ANt,"EAnnotationImpl",510),Wht(151,705,$Bt,vV),zkt.Xh=function(t,e){!function(t,e,n){VP(t.c,69).Xh(e,n)}(this,t,VP(e,42))},zkt.lk=function(t,e){return function(t,e,n){return VP(t.c,69).lk(e,n)}(this,VP(t,42),e)},zkt.pi=function(t){return VP(VP(this.c,69).pi(t),133)},zkt.Zh=function(){return VP(this.c,69).Zh()},zkt.$h=function(){return VP(this.c,69).$h()},zkt._h=function(t){return VP(this.c,69)._h(t)},zkt.mk=function(t,e){return VN(this,t,e)},zkt.Wj=function(t){return VP(this.c,76).Wj(t)},zkt.rj=function(){},zkt.fj=function(){return VP(this.c,76).fj()},zkt.tj=function(t,e,n){var i;return(i=VP(i1(this.b).Nh().Jh(this.b),133)).Th(t),i.Uh(e),i.ed(n),i},zkt.uj=function(){return new Qb(this)},zkt.Wb=function(t){S3(this,t)},zkt.Xj=function(){VP(this.c,76).Xj()},_R(BBt,"EcoreEMap",151),Wht(158,151,$Bt,UO),zkt.qj=function(){var t,e,n,i,r;if(null==this.d){for(r=WX(_ae,xBt,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=r[i=((e=VP(n.nj(),133)).Sh()&Qkt)%r.length])&&(t=r[i]=new Qb(this)),t.Fc(e);this.d=r}},_R(ANt,"EAnnotationImpl/1",158),Wht(284,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,472:1,49:1,97:1,150:1,284:1,114:1,115:1}),zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),!!this.$j();case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q}return FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 9:return xR(this,n)}return VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Rj(this,bet(this),e-yR(this.zh()),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i)}return PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void this.Lh(fD(e));case 2:return void u8(this,tv(lD(e)));case 3:return void f8(this,tv(lD(e)));case 4:return void j1(this,VP(e,19).a);case 5:return void this.ok(VP(e,19).a);case 8:return void o7(this,VP(e,138));case 9:return void((n=fst(this,VP(e,87),null))&&n.Fi())}_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.zh=function(){return Bkt(),$oe},zkt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void this.Lh(null);case 2:return void u8(this,!0);case 3:return void f8(this,!0);case 4:return void j1(this,0);case 5:return void this.ok(1);case 8:return void o7(this,null);case 9:return void((e=fst(this,null,null))&&e.Fi())}r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.Gh=function(){fat(this),this.Bb|=1},zkt.Yj=function(){return fat(this)},zkt.Zj=function(){return this.t},zkt.$j=function(){var t;return(t=this.t)>1||-1==t},zkt.hi=function(){return 0!=(512&this.Bb)},zkt.nk=function(t,e){return U7(this,t,e)},zkt.ok=function(t){R1(this,t)},zkt.Ib=function(){return Sht(this)},zkt.s=0,zkt.t=1,_R(ANt,"ETypedElementImpl",284),Wht(449,284,{105:1,92:1,90:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,449:1,284:1,114:1,115:1,677:1}),zkt.Qg=function(t){return Ort(this,t)},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),!!this.$j();case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q;case 10:return EL(),0!=(this.Bb&FNt);case 11:return EL(),0!=(this.Bb&zBt);case 12:return EL(),0!=(this.Bb&eTt);case 13:return this.j;case 14:return Adt(this);case 15:return EL(),0!=(this.Bb&RBt);case 16:return EL(),0!=(this.Bb&C_t);case 17:return qZ(this)}return FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 17:return this.Cb&&(n=(i=this.Db>>16)>=0?Ort(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,17,n)}return VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Qj(this,bet(this),e-yR(this.zh()),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 9:return xR(this,n);case 17:return uwt(this,null,17,n)}return VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Rj(this,bet(this),e-yR(this.zh()),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return this.$j();case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i);case 10:return 0==(this.Bb&FNt);case 11:return 0!=(this.Bb&zBt);case 12:return 0!=(this.Bb&eTt);case 13:return null!=this.j;case 14:return null!=Adt(this);case 15:return 0!=(this.Bb&RBt);case 16:return 0!=(this.Bb&C_t);case 17:return!!qZ(this)}return PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void vU(this,fD(e));case 2:return void u8(this,tv(lD(e)));case 3:return void f8(this,tv(lD(e)));case 4:return void j1(this,VP(e,19).a);case 5:return void this.ok(VP(e,19).a);case 8:return void o7(this,VP(e,138));case 9:return void((n=fst(this,VP(e,87),null))&&n.Fi());case 10:return void P8(this,tv(lD(e)));case 11:return void $8(this,tv(lD(e)));case 12:return void B8(this,tv(lD(e)));case 13:return void JS(this,fD(e));case 15:return void F8(this,tv(lD(e)));case 16:return void q8(this,tv(lD(e)))}_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.zh=function(){return Bkt(),Foe},zkt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,88)&&alt(dW(VP(this.Cb,88)),4),void _2(this,null);case 2:return void u8(this,!0);case 3:return void f8(this,!0);case 4:return void j1(this,0);case 5:return void this.ok(1);case 8:return void o7(this,null);case 9:return void((e=fst(this,null,null))&&e.Fi());case 10:return void P8(this,!0);case 11:return void $8(this,!1);case 12:return void B8(this,!1);case 13:return this.i=null,void Q0(this,null);case 15:return void F8(this,!1);case 16:return void q8(this,!1)}r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.Gh=function(){tq(SQ((put(),gse),this)),fat(this),this.Bb|=1},zkt.Gj=function(){return this.f},zkt.zj=function(){return Adt(this)},zkt.Hj=function(){return qZ(this)},zkt.Lj=function(){return null},zkt.pk=function(){return this.k},zkt.aj=function(){return this.n},zkt.Mj=function(){return fot(this)},zkt.Nj=function(){var t,e,n,i,r,a,o,s,c;return this.p||((null==(n=qZ(this)).i&&lyt(n),n.i).length,(i=this.Lj())&&yR(qZ(i)),t=(o=(r=fat(this)).Bj())?0!=(1&o.i)?o==Wce?Fjt:o==Kce?Gjt:o==Jce?Zjt:o==Qce?Hjt:o==Xce?Jjt:o==tue?eRt:o==Vce?Rjt:qjt:o:null,e=Adt(this),s=r.zj(),u9(this),0!=(this.Bb&C_t)&&((a=Fat((put(),gse),n))&&a!=this||(a=zU(SQ(gse,this))))?this.p=new US(this,a):this.$j()?this.rk()?i?0!=(this.Bb&RBt)?t?this.sk()?this.p=new Dq(47,t,this,i):this.p=new Dq(5,t,this,i):this.sk()?this.p=new uK(46,this,i):this.p=new uK(4,this,i):t?this.sk()?this.p=new Dq(49,t,this,i):this.p=new Dq(7,t,this,i):this.sk()?this.p=new uK(48,this,i):this.p=new uK(6,this,i):0!=(this.Bb&RBt)?t?t==rjt?this.p=new jP(50,lae,this):this.sk()?this.p=new jP(43,t,this):this.p=new jP(1,t,this):this.sk()?this.p=new qH(42,this):this.p=new qH(0,this):t?t==rjt?this.p=new jP(41,lae,this):this.sk()?this.p=new jP(45,t,this):this.p=new jP(3,t,this):this.sk()?this.p=new qH(44,this):this.p=new qH(2,this):MI(r,148)?t==Goe?this.p=new qH(40,this):0!=(512&this.Bb)?0!=(this.Bb&RBt)?this.p=t?new jP(9,t,this):new qH(8,this):this.p=t?new jP(11,t,this):new qH(10,this):0!=(this.Bb&RBt)?this.p=t?new jP(13,t,this):new qH(12,this):this.p=t?new jP(15,t,this):new qH(14,this):i?(c=i.t)>1||-1==c?this.sk()?0!=(this.Bb&RBt)?this.p=t?new Dq(25,t,this,i):new uK(24,this,i):this.p=t?new Dq(27,t,this,i):new uK(26,this,i):0!=(this.Bb&RBt)?this.p=t?new Dq(29,t,this,i):new uK(28,this,i):this.p=t?new Dq(31,t,this,i):new uK(30,this,i):this.sk()?0!=(this.Bb&RBt)?this.p=t?new Dq(33,t,this,i):new uK(32,this,i):this.p=t?new Dq(35,t,this,i):new uK(34,this,i):0!=(this.Bb&RBt)?this.p=t?new Dq(37,t,this,i):new uK(36,this,i):this.p=t?new Dq(39,t,this,i):new uK(38,this,i):this.sk()?0!=(this.Bb&RBt)?this.p=t?new jP(17,t,this):new qH(16,this):this.p=t?new jP(19,t,this):new qH(18,this):0!=(this.Bb&RBt)?this.p=t?new jP(21,t,this):new qH(20,this):this.p=t?new jP(23,t,this):new qH(22,this):this.qk()?this.sk()?this.p=new RP(VP(r,26),this,i):this.p=new eZ(VP(r,26),this,i):MI(r,148)?t==Goe?this.p=new qH(40,this):0!=(this.Bb&RBt)?this.p=t?new C$(e,s,this,(ctt(),o==Kce?rse:o==Wce?Joe:o==Xce?ase:o==Jce?ise:o==Qce?nse:o==tue?sse:o==Vce?tse:o==Gce?ese:ose)):new Bq(VP(r,148),e,s,this):this.p=t?new T$(e,s,this,(ctt(),o==Kce?rse:o==Wce?Joe:o==Xce?ase:o==Jce?ise:o==Qce?nse:o==tue?sse:o==Vce?tse:o==Gce?ese:ose)):new Pq(VP(r,148),e,s,this):this.rk()?i?0!=(this.Bb&RBt)?this.sk()?this.p=new YP(VP(r,26),this,i):this.p=new UP(VP(r,26),this,i):this.sk()?this.p=new ZP(VP(r,26),this,i):this.p=new zP(VP(r,26),this,i):0!=(this.Bb&RBt)?this.sk()?this.p=new WO(VP(r,26),this):this.p=new KO(VP(r,26),this):this.sk()?this.p=new GO(VP(r,26),this):this.p=new YO(VP(r,26),this):this.sk()?i?0!=(this.Bb&RBt)?this.p=new GP(VP(r,26),this,i):this.p=new qP(VP(r,26),this,i):0!=(this.Bb&RBt)?this.p=new VO(VP(r,26),this):this.p=new XO(VP(r,26),this):i?0!=(this.Bb&RBt)?this.p=new KP(VP(r,26),this,i):this.p=new HP(VP(r,26),this,i):0!=(this.Bb&RBt)?this.p=new QO(VP(r,26),this):this.p=new $F(VP(r,26),this)),this.p},zkt.Ij=function(){return 0!=(this.Bb&FNt)},zkt.qk=function(){return!1},zkt.rk=function(){return!1},zkt.Jj=function(){return 0!=(this.Bb&C_t)},zkt.Oj=function(){return ZQ(this)},zkt.sk=function(){return!1},zkt.Kj=function(){return 0!=(this.Bb&RBt)},zkt.tk=function(t){this.k=t},zkt.Lh=function(t){vU(this,t)},zkt.Ib=function(){return Vpt(this)},zkt.e=!1,zkt.n=0,_R(ANt,"EStructuralFeatureImpl",449),Wht(322,449,{105:1,92:1,90:1,34:1,147:1,191:1,56:1,170:1,66:1,108:1,472:1,49:1,97:1,322:1,150:1,449:1,284:1,114:1,115:1,677:1},Hy),zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),!!qlt(this);case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q;case 10:return EL(),0!=(this.Bb&FNt);case 11:return EL(),0!=(this.Bb&zBt);case 12:return EL(),0!=(this.Bb&eTt);case 13:return this.j;case 14:return Adt(this);case 15:return EL(),0!=(this.Bb&RBt);case 16:return EL(),0!=(this.Bb&C_t);case 17:return qZ(this);case 18:return EL(),0!=(this.Bb&CNt);case 19:return e?y4(this):sX(this)}return FV(this,t-yR((Bkt(),yoe)),MJ(VP(q3(this,16),26)||yoe,t),e,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return qlt(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i);case 10:return 0==(this.Bb&FNt);case 11:return 0!=(this.Bb&zBt);case 12:return 0!=(this.Bb&eTt);case 13:return null!=this.j;case 14:return null!=Adt(this);case 15:return 0!=(this.Bb&RBt);case 16:return 0!=(this.Bb&C_t);case 17:return!!qZ(this);case 18:return 0!=(this.Bb&CNt);case 19:return!!sX(this)}return PG(this,t-yR((Bkt(),yoe)),MJ(VP(q3(this,16),26)||yoe,t))},zkt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void vU(this,fD(e));case 2:return void u8(this,tv(lD(e)));case 3:return void f8(this,tv(lD(e)));case 4:return void j1(this,VP(e,19).a);case 5:return void Mx(this,VP(e,19).a);case 8:return void o7(this,VP(e,138));case 9:return void((n=fst(this,VP(e,87),null))&&n.Fi());case 10:return void P8(this,tv(lD(e)));case 11:return void $8(this,tv(lD(e)));case 12:return void B8(this,tv(lD(e)));case 13:return void JS(this,fD(e));case 15:return void F8(this,tv(lD(e)));case 16:return void q8(this,tv(lD(e)));case 18:return void H8(this,tv(lD(e)))}_9(this,t-yR((Bkt(),yoe)),MJ(VP(q3(this,16),26)||yoe,t),e)},zkt.zh=function(){return Bkt(),yoe},zkt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,88)&&alt(dW(VP(this.Cb,88)),4),void _2(this,null);case 2:return void u8(this,!0);case 3:return void f8(this,!0);case 4:return void j1(this,0);case 5:return this.b=0,void R1(this,1);case 8:return void o7(this,null);case 9:return void((e=fst(this,null,null))&&e.Fi());case 10:return void P8(this,!0);case 11:return void $8(this,!1);case 12:return void B8(this,!1);case 13:return this.i=null,void Q0(this,null);case 15:return void F8(this,!1);case 16:return void q8(this,!1);case 18:return void H8(this,!1)}r8(this,t-yR((Bkt(),yoe)),MJ(VP(q3(this,16),26)||yoe,t))},zkt.Gh=function(){y4(this),tq(SQ((put(),gse),this)),fat(this),this.Bb|=1},zkt.$j=function(){return qlt(this)},zkt.nk=function(t,e){return this.b=0,this.a=null,U7(this,t,e)},zkt.ok=function(t){Mx(this,t)},zkt.Ib=function(){var t;return 0!=(64&this.Db)?Vpt(this):((t=new TL(Vpt(this))).a+=" (iD: ",tk(t,0!=(this.Bb&CNt)),t.a+=")",t.a)},zkt.b=0,_R(ANt,"EAttributeImpl",322),Wht(351,438,{105:1,92:1,90:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1}),zkt.uk=function(t){return t.Tg()==this},zkt.Qg=function(t){return yrt(this,t)},zkt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?i1(this):zZ(this);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),this.A}return FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?yrt(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,6,n)}return VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Qj(this,bet(this),e-yR(this.zh()),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 6:return uwt(this,null,6,n);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Tnt(this.A,t,n)}return VP(MJ(VP(q3(this,16),26)||this.zh(),e),66).Nj().Rj(this,bet(this),e-yR(this.zh()),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!zZ(this);case 7:return!!this.A&&0!=this.A.i}return PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void xU(this,fD(e));case 2:return void TM(this,fD(e));case 5:return void cvt(this,fD(e));case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Hmt(this.A),!this.A&&(this.A=new WI(Uoe,this,7)),void kR(this.A,VP(e,14))}_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.zh=function(){return Bkt(),voe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,179)&&(VP(this.Cb,179).tb=null),void _2(this,null);case 2:return k6(this,null),void z1(this,this.D);case 5:return void cvt(this,null);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),void Hmt(this.A)}r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.yj=function(){var t;return-1==this.G&&(this.G=(t=i1(this))?$nt(t.Mh(),this):-1),this.G},zkt.zj=function(){return null},zkt.Aj=function(){return i1(this)},zkt.vk=function(){return this.v},zkt.Bj=function(){return frt(this)},zkt.Cj=function(){return null!=this.D?this.D:this.B},zkt.Dj=function(){return this.F},zkt.wj=function(t){return Qwt(this,t)},zkt.wk=function(t){this.v=t},zkt.xk=function(t){N2(this,t)},zkt.yk=function(t){this.C=t},zkt.Lh=function(t){xU(this,t)},zkt.Ib=function(){return ttt(this)},zkt.C=null,zkt.D=null,zkt.G=-1,_R(ANt,"EClassifierImpl",351),Wht(88,351,{105:1,92:1,90:1,26:1,138:1,147:1,191:1,56:1,108:1,49:1,97:1,88:1,351:1,150:1,473:1,114:1,115:1,676:1},Bh),zkt.uk=function(t){return function(t,e){return e==t||zat(vdt(e),t)}(this,t.Tg())},zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frt(this);case 4:return null;case 5:return this.F;case 6:return e?i1(this):zZ(this);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),this.A;case 8:return EL(),0!=(256&this.Bb);case 9:return EL(),0!=(512&this.Bb);case 10:return AH(this);case 11:return!this.q&&(this.q=new mj(hoe,this,11,10)),this.q;case 12:return imt(this);case 13:return Gyt(this);case 14:return Gyt(this),this.r;case 15:return imt(this),this.k;case 16:return Dut(this);case 17:return Oyt(this);case 18:return lyt(this);case 19:return vdt(this);case 20:return imt(this),this.o;case 21:return!this.s&&(this.s=new mj(eoe,this,21,17)),this.s;case 22:return eK(this);case 23:return Ept(this)}return FV(this,t-yR((Bkt(),moe)),MJ(VP(q3(this,16),26)||moe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?yrt(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,6,n);case 11:return!this.q&&(this.q=new mj(hoe,this,11,10)),gtt(this.q,t,n);case 21:return!this.s&&(this.s=new mj(eoe,this,21,17)),gtt(this.s,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),moe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),moe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 6:return uwt(this,null,6,n);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Tnt(this.A,t,n);case 11:return!this.q&&(this.q=new mj(hoe,this,11,10)),Tnt(this.q,t,n);case 21:return!this.s&&(this.s=new mj(eoe,this,21,17)),Tnt(this.s,t,n);case 22:return Tnt(eK(this),t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),moe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),moe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frt(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!zZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0!=(256&this.Bb);case 9:return 0!=(512&this.Bb);case 10:return!(!this.u||0==eK(this.u.a).i||this.n&&lit(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=imt(this).i;case 13:return 0!=Gyt(this).i;case 14:return Gyt(this),0!=this.r.i;case 15:return imt(this),0!=this.k.i;case 16:return 0!=Dut(this).i;case 17:return 0!=Oyt(this).i;case 18:return 0!=lyt(this).i;case 19:return 0!=vdt(this).i;case 20:return imt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&lit(this.n);case 23:return 0!=Ept(this).i}return PG(this,t-yR((Bkt(),moe)),MJ(VP(q3(this,16),26)||moe,t))},zkt.oh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:Qdt(this,t))||_xt(this,t)},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void xU(this,fD(e));case 2:return void TM(this,fD(e));case 5:return void cvt(this,fD(e));case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Hmt(this.A),!this.A&&(this.A=new WI(Uoe,this,7)),void kR(this.A,VP(e,14));case 8:return void l8(this,tv(lD(e)));case 9:return void d8(this,tv(lD(e)));case 10:return Wmt(AH(this)),void kR(AH(this),VP(e,14));case 11:return!this.q&&(this.q=new mj(hoe,this,11,10)),Hmt(this.q),!this.q&&(this.q=new mj(hoe,this,11,10)),void kR(this.q,VP(e,14));case 21:return!this.s&&(this.s=new mj(eoe,this,21,17)),Hmt(this.s),!this.s&&(this.s=new mj(eoe,this,21,17)),void kR(this.s,VP(e,14));case 22:return Hmt(eK(this)),void kR(eK(this),VP(e,14))}_9(this,t-yR((Bkt(),moe)),MJ(VP(q3(this,16),26)||moe,t),e)},zkt.zh=function(){return Bkt(),moe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,179)&&(VP(this.Cb,179).tb=null),void _2(this,null);case 2:return k6(this,null),void z1(this,this.D);case 5:return void cvt(this,null);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),void Hmt(this.A);case 8:return void l8(this,!1);case 9:return void d8(this,!1);case 10:return void(this.u&&Wmt(this.u));case 11:return!this.q&&(this.q=new mj(hoe,this,11,10)),void Hmt(this.q);case 21:return!this.s&&(this.s=new mj(eoe,this,21,17)),void Hmt(this.s);case 22:return void(this.n&&Hmt(this.n))}r8(this,t-yR((Bkt(),moe)),MJ(VP(q3(this,16),26)||moe,t))},zkt.Gh=function(){var t,e;if(imt(this),Gyt(this),Dut(this),Oyt(this),lyt(this),vdt(this),Ept(this),PW(function(t){return!t.c&&(t.c=new zc),t.c}(dW(this))),this.s)for(t=0,e=this.s.i;t<e;++t)yO(a1(this.s,t));if(this.q)for(t=0,e=this.q.i;t<e;++t)yO(a1(this.q,t));Y7((put(),gse),this).ne(),this.Bb|=1},zkt.Ib=function(){return wot(this)},zkt.k=null,zkt.r=null,_R(ANt,"EClassImpl",88),Wht(1994,1993,QBt),zkt.Vh=function(t,e){return nyt(this,t,e)},zkt.Wh=function(t){return nyt(this,this.i,t)},zkt.Xh=function(t,e){Oht(this,t,e)},zkt.Yh=function(t){jht(this,t)},zkt.lk=function(t,e){return gtt(this,t,e)},zkt.pi=function(t){return LV(this,t)},zkt.mk=function(t,e){return Tnt(this,t,e)},zkt.mi=function(t,e){return Ayt(this,t,e)},zkt.Zh=function(){return new sO(this)},zkt.$h=function(){return new cO(this)},zkt._h=function(t){return d0(this,t)},_R(BBt,"NotifyingInternalEListImpl",1994),Wht(622,1994,JBt),zkt.Hc=function(t){return Ymt(this,t)},zkt.Zi=function(t,e,n,i,r){return UZ(this,t,e,n,i,r)},zkt.$i=function(t){Gw(this,t)},zkt.Wj=function(t){return this},zkt.ak=function(){return MJ(this.e.Tg(),this.aj())},zkt._i=function(){return this.ak()},zkt.aj=function(){return ett(this.e.Tg(),this.ak())},zkt.zk=function(){return VP(this.ak().Yj(),26).Bj()},zkt.Ak=function(){return eit(VP(this.ak(),18)).n},zkt.Ai=function(){return this.e},zkt.Bk=function(){return!0},zkt.Ck=function(){return!1},zkt.Dk=function(){return!1},zkt.Ek=function(){return!1},zkt.Xc=function(t){return $nt(this,t)},zkt.cj=function(t,e){var n;return n=VP(t,49),this.Dk()?this.Bk()?n.gh(this.e,this.Ak(),this.zk(),e):n.gh(this.e,ett(n.Tg(),eit(VP(this.ak(),18))),null,e):n.gh(this.e,-1-this.aj(),null,e)},zkt.dj=function(t,e){var n;return n=VP(t,49),this.Dk()?this.Bk()?n.ih(this.e,this.Ak(),this.zk(),e):n.ih(this.e,ett(n.Tg(),eit(VP(this.ak(),18))),null,e):n.ih(this.e,-1-this.aj(),null,e)},zkt.rk=function(){return!1},zkt.Fk=function(){return!0},zkt.wj=function(t){return jG(this.d,t)},zkt.ej=function(){return bM(this.e)},zkt.fj=function(){return 0!=this.i},zkt.ri=function(t){return q1(this.d,t)},zkt.li=function(t,e){return this.Fk()&&this.Ek()?Dht(this,t,VP(e,56)):e},zkt.Gk=function(t){return t.kh()?S7(this.e,VP(t,49)):t},zkt.Wb=function(t){_I(this,t)},zkt.Pc=function(){return DV(this)},zkt.Qc=function(t){var e;if(this.Ek())for(e=this.i-1;e>=0;--e)a1(this,e);return dtt(this,t)},zkt.Xj=function(){Hmt(this)},zkt.oi=function(t,e){return U1(this,0,e)},_R(BBt,"EcoreEList",622),Wht(496,622,JBt,EB),zkt.ai=function(){return!1},zkt.aj=function(){return this.c},zkt.bj=function(){return!1},zkt.Fk=function(){return!0},zkt.hi=function(){return!0},zkt.li=function(t,e){return e},zkt.ni=function(){return!1},zkt.c=0,_R(BBt,"EObjectEList",496),Wht(85,496,JBt,GI),zkt.bj=function(){return!0},zkt.Dk=function(){return!1},zkt.rk=function(){return!0},_R(BBt,"EObjectContainmentEList",85),Wht(545,85,JBt,KI),zkt.ci=function(){this.b=!0},zkt.fj=function(){return this.b},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.b,this.b=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.b=!1},zkt.b=!1,_R(BBt,"EObjectContainmentEList/Unsettable",545),Wht(1140,545,JBt,_$),zkt.ii=function(t,e){var n,i;return n=VP(D8(this,t,e),87),bM(this.e)&&Gw(this,new kV(this.a,7,(Bkt(),xoe),p8(e),MI(i=n.c,88)?VP(i,26):Ioe,t)),n},zkt.jj=function(t,e){return function(t,e,n){var i,r;return i=new vQ(t.e,3,10,null,MI(r=e.c,88)?VP(r,26):(Bkt(),Ioe),$nt(t,e),!1),n?n.Ei(i):n=i,n}(this,VP(t,87),e)},zkt.kj=function(t,e){return function(t,e,n){var i,r;return i=new vQ(t.e,4,10,MI(r=e.c,88)?VP(r,26):(Bkt(),Ioe),null,$nt(t,e),!1),n?n.Ei(i):n=i,n}(this,VP(t,87),e)},zkt.lj=function(t,e,n){return function(t,e,n,i){var r,a,o;return r=new vQ(t.e,1,10,MI(o=e.c,88)?VP(o,26):(Bkt(),Ioe),MI(a=n.c,88)?VP(a,26):(Bkt(),Ioe),$nt(t,e),!1),i?i.Ei(r):i=r,i}(this,VP(t,87),VP(e,87),n)},zkt.Zi=function(t,e,n,i,r){switch(t){case 3:return UZ(this,t,e,n,i,this.i>1);case 5:return UZ(this,t,e,n,i,this.i-VP(n,15).gc()>0);default:return new vQ(this.e,t,this.c,e,n,i,!0)}},zkt.ij=function(){return!0},zkt.fj=function(){return lit(this)},zkt.Xj=function(){Hmt(this)},_R(ANt,"EClassImpl/1",1140),Wht(1154,1153,pBt),zkt.ui=function(t){var e,n,i,r,a,o,s;if(8!=(n=t.xi())){if(0==(i=function(t){switch(t.yi(null)){case 10:return 0;case 15:return 1;case 14:return 2;case 11:return 3;case 21:return 4}return-1}(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=dW(VP(s,473))).c&&(e.c=new zc),HQ(e.c,t.Ai())),null!=(o=t.zi())&&0==(1&(r=VP(o,473)).Bb)&&(!(e=dW(r)).c&&(e.c=new zc),hV(e.c,VP(t.Ai(),26)));break;case 3:null!=(o=t.zi())&&0==(1&(r=VP(o,473)).Bb)&&(!(e=dW(r)).c&&(e.c=new zc),hV(e.c,VP(t.Ai(),26)));break;case 5:if(null!=(o=t.zi()))for(a=VP(o,14).Kc();a.Ob();)0==(1&(r=VP(a.Pb(),473)).Bb)&&(!(e=dW(r)).c&&(e.c=new zc),hV(e.c,VP(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&0==(1&(r=VP(s,473)).Bb)&&(!(e=dW(r)).c&&(e.c=new zc),HQ(e.c,t.Ai()));break;case 6:if(null!=(s=t.Bi()))for(a=VP(s,14).Kc();a.Ob();)0==(1&(r=VP(a.Pb(),473)).Bb)&&(!(e=dW(r)).c&&(e.c=new zc),HQ(e.c,t.Ai()))}this.Hk(i)}},zkt.Hk=function(t){Upt(this,t)},zkt.b=63,_R(ANt,"ESuperAdapter",1154),Wht(1155,1154,pBt,$b),zkt.Hk=function(t){alt(this,t)},_R(ANt,"EClassImpl/10",1155),Wht(1144,696,JBt),zkt.Vh=function(t,e){return hst(this,t,e)},zkt.Wh=function(t){return Dit(this,t)},zkt.Xh=function(t,e){G7(this,t,e)},zkt.Yh=function(t){NW(this,t)},zkt.pi=function(t){return LV(this,t)},zkt.mi=function(t,e){return qQ(this,t,e)},zkt.lk=function(t,e){throw lw(new Pw)},zkt.Zh=function(){return new sO(this)},zkt.$h=function(){return new cO(this)},zkt._h=function(t){return d0(this,t)},zkt.mk=function(t,e){throw lw(new Pw)},zkt.Wj=function(t){return this},zkt.fj=function(){return 0!=this.i},zkt.Wb=function(t){throw lw(new Pw)},zkt.Xj=function(){throw lw(new Pw)},_R(BBt,"EcoreEList/UnmodifiableEList",1144),Wht(319,1144,JBt,qA),zkt.ni=function(){return!1},_R(BBt,"EcoreEList/UnmodifiableEList/FastCompare",319),Wht(1147,319,JBt,w5),zkt.Xc=function(t){var e,n;if(MI(t,170)&&-1!=(e=VP(t,170).aj()))for(n=this.i;e<n;++e)if(iA(this.g[e])===iA(t))return e;return-1},_R(ANt,"EClassImpl/1EAllStructuralFeaturesList",1147),Wht(1141,497,CPt,_c),zkt.ri=function(t){return WX(loe,iFt,87,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/1EGenericSuperTypeEList",1141),Wht(623,497,CPt,Ec),zkt.ri=function(t){return WX(eoe,XBt,170,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/1EStructuralFeatureUniqueEList",623),Wht(741,497,CPt,Tc),zkt.ri=function(t){return WX(doe,XBt,18,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/1ReferenceList",741),Wht(1142,497,CPt,jb),zkt.bi=function(t,e){!function(t,e){0!=(e.Bb&CNt)&&!t.a.o&&(t.a.o=e)}(this,VP(e,34))},zkt.ri=function(t){return WX(noe,XBt,34,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/2",1142),Wht(1143,497,CPt,Cc),zkt.ri=function(t){return WX(noe,XBt,34,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/3",1143),Wht(1145,319,JBt,SB),zkt.Fc=function(t){return function(t,e){return c_(),hV(oH(t.a),e)}(this,VP(t,34))},zkt.Yh=function(t){!function(t,e){jht(oH(t.a),e)}(this,VP(t,34))},_R(ANt,"EClassImpl/4",1145),Wht(1146,319,JBt,AB),zkt.Fc=function(t){return function(t,e){return c_(),hV(oH(t.a),e)}(this,VP(t,18))},zkt.Yh=function(t){!function(t,e){jht(oH(t.a),e)}(this,VP(t,18))},_R(ANt,"EClassImpl/5",1146),Wht(1148,497,CPt,Sc),zkt.ri=function(t){return WX(hoe,VBt,59,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/6",1148),Wht(1149,497,CPt,Ac),zkt.ri=function(t){return WX(doe,XBt,18,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/7",1149),Wht(1997,1996,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,69:1}),zkt.Vh=function(t,e){return Fwt(this,t,e)},zkt.Wh=function(t){return Fwt(this,this.Vi(),t)},zkt.Xh=function(t,e){Rht(this,t,e)},zkt.Yh=function(t){xht(this,t)},zkt.lk=function(t,e){return function(t,e,n){var i,r,a;return t.ej()?(i=t.Vi(),a=t.fj(),++t.j,t.Hi(i,t.oi(i,e)),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):PD(t,t.Vi(),e),n}(this,t,e)},zkt.mk=function(t,e){return function(t,e,n){var i,r,a,o;return-1!=(i=t.Xc(e))&&(t.ej()?(a=t.fj(),o=sF(t,i),r=t.Zi(4,o,null,i,a),n?n.Ei(r):n=r):sF(t,i)),n}(this,t,e)},zkt.mi=function(t,e){return $wt(this,t,e)},zkt.pi=function(t){return this.Oi(t)},zkt.Zh=function(){return new sO(this)},zkt.Gi=function(){return this.Ji()},zkt.$h=function(){return new cO(this)},zkt._h=function(t){return d0(this,t)},_R(BBt,"DelegatingNotifyingInternalEListImpl",1997),Wht(742,1997,rFt),zkt.ai=function(){var t;return MI(t=MJ(MH(this.b),this.aj()).Yj(),148)&&!MI(t,457)&&0==(1&t.Bj().i)},zkt.Hc=function(t){var e,n,i,r,a,o,s;if(this.Fk()){if((s=this.Vi())>4){if(!this.wj(t))return!1;if(this.rk()){if(o=(e=(n=VP(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),VP(MJ(MH(this.b),this.aj()).Yj(),26).Bj())==eit(VP(MJ(MH(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(i=0;i<s;++i)if(iA(sj(this,this.Oi(i)))===iA(t))return!0;return o}if(this.Dk()&&!this.Ck()){if(iA(r=VP(t,56).ah(eit(VP(MJ(MH(this.b),this.aj()),18))))===iA(this.b))return!0;if(null==r||!VP(r,56).kh())return!1}}if(a=this.Li(t),this.Ek()&&!a)for(i=0;i<s;++i)if(iA(n=sj(this,this.Oi(i)))===iA(t))return!0;return a}return this.Li(t)},zkt.Zi=function(t,e,n,i,r){return new vQ(this.b,t,this.aj(),e,n,i,r)},zkt.$i=function(t){$3(this.b,t)},zkt.Wj=function(t){return this},zkt._i=function(){return MJ(MH(this.b),this.aj())},zkt.aj=function(){return ett(MH(this.b),MJ(MH(this.b),this.aj()))},zkt.Ai=function(){return this.b},zkt.Bk=function(){return!!MJ(MH(this.b),this.aj()).Yj().Bj()},zkt.bj=function(){var t;return!(!MI(t=MJ(MH(this.b),this.aj()),99)||0==(VP(t,18).Bb&CNt)&&!eit(VP(t,18)))},zkt.Ck=function(){var t,e,n;return!!MI(t=MJ(MH(this.b),this.aj()),99)&&!!(e=eit(VP(t,18)))&&((n=e.t)>1||-1==n)},zkt.Dk=function(){var t;return!!MI(t=MJ(MH(this.b),this.aj()),99)&&!!eit(VP(t,18))},zkt.Ek=function(){var t;return!!MI(t=MJ(MH(this.b),this.aj()),99)&&0!=(VP(t,18).Bb&iTt)},zkt.Xc=function(t){var e,n,i;if((n=this.Qi(t))>=0)return n;if(this.Fk())for(e=0,i=this.Vi();e<i;++e)if(iA(sj(this,this.Oi(e)))===iA(t))return e;return-1},zkt.cj=function(t,e){var n;return n=VP(t,49),this.Dk()?this.Bk()?n.gh(this.b,eit(VP(MJ(MH(this.b),this.aj()),18)).n,VP(MJ(MH(this.b),this.aj()).Yj(),26).Bj(),e):n.gh(this.b,ett(n.Tg(),eit(VP(MJ(MH(this.b),this.aj()),18))),null,e):n.gh(this.b,-1-this.aj(),null,e)},zkt.dj=function(t,e){var n;return n=VP(t,49),this.Dk()?this.Bk()?n.ih(this.b,eit(VP(MJ(MH(this.b),this.aj()),18)).n,VP(MJ(MH(this.b),this.aj()).Yj(),26).Bj(),e):n.ih(this.b,ett(n.Tg(),eit(VP(MJ(MH(this.b),this.aj()),18))),null,e):n.ih(this.b,-1-this.aj(),null,e)},zkt.rk=function(){var t;return!!MI(t=MJ(MH(this.b),this.aj()),99)&&0!=(VP(t,18).Bb&CNt)},zkt.Fk=function(){return MI(MJ(MH(this.b),this.aj()).Yj(),88)},zkt.wj=function(t){return MJ(MH(this.b),this.aj()).Yj().wj(t)},zkt.ej=function(){return bM(this.b)},zkt.fj=function(){return!this.Ri()},zkt.hi=function(){return MJ(MH(this.b),this.aj()).hi()},zkt.li=function(t,e){return hvt(this,t,e)},zkt.Wb=function(t){Wmt(this),kR(this,VP(t,15))},zkt.Pc=function(){var t;if(this.Ek())for(t=this.Vi()-1;t>=0;--t)hvt(this,t,this.Oi(t));return this.Wi()},zkt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)hvt(this,e,this.Oi(e));return this.Xi(t)},zkt.Xj=function(){Wmt(this)},zkt.oi=function(t,e){return OV(this,0,e)},_R(BBt,"DelegatingEcoreEList",742),Wht(1150,742,rFt,HD),zkt.Hi=function(t,e){!function(t,e,n){v8(eK(t.a),e,_U(n))}(this,t,VP(e,26))},zkt.Ii=function(t){!function(t,e){hV(eK(t.a),_U(e))}(this,VP(t,26))},zkt.Oi=function(t){var e;return MI(e=VP(a1(eK(this.a),t),87).c,88)?VP(e,26):(Bkt(),Ioe)},zkt.Ti=function(t){var e;return MI(e=VP(npt(eK(this.a),t),87).c,88)?VP(e,26):(Bkt(),Ioe)},zkt.Ui=function(t,e){return function(t,e,n){var i,r,a;return(0!=(64&(a=MI(r=(i=VP(a1(eK(t.a),e),87)).c,88)?VP(r,26):(Bkt(),Ioe)).Db)?S7(t.b,a):a)==n?qwt(i):d1(i,n),a}(this,t,VP(e,26))},zkt.ai=function(){return!1},zkt.Zi=function(t,e,n,i,r){return null},zkt.Ji=function(){return new Rb(this)},zkt.Ki=function(){Hmt(eK(this.a))},zkt.Li=function(t){return o8(this,t)},zkt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!o8(this,e.Pb()))return!1;return!0},zkt.Ni=function(t){var e,n,i;if(MI(t,15)&&(i=VP(t,15)).gc()==eK(this.a).i){for(e=i.Kc(),n=new YI(this);e.Ob();)if(iA(e.Pb())!==iA(hnt(n)))return!1;return!0}return!1},zkt.Pi=function(){var t,e,n,i;for(e=1,t=new YI(eK(this.a));t.e!=t.i.gc();)e=31*e+((n=MI(i=VP(hnt(t),87).c,88)?VP(i,26):(Bkt(),Ioe))?jL(n):0);return e},zkt.Qi=function(t){var e,n,i,r;for(i=0,n=new YI(eK(this.a));n.e!=n.i.gc();){if(e=VP(hnt(n),87),iA(t)===iA(MI(r=e.c,88)?VP(r,26):(Bkt(),Ioe)))return i;++i}return-1},zkt.Ri=function(){return 0==eK(this.a).i},zkt.Si=function(){return null},zkt.Vi=function(){return eK(this.a).i},zkt.Wi=function(){var t,e,n,i,r,a;for(a=eK(this.a).i,r=WX(G$t,r_t,1,a,5,1),n=0,e=new YI(eK(this.a));e.e!=e.i.gc();)t=VP(hnt(e),87),r[n++]=MI(i=t.c,88)?VP(i,26):(Bkt(),Ioe);return r},zkt.Xi=function(t){var e,n,i,r;for(r=eK(this.a).i,t.length<r&&(t=q1(W5(t).c,r)),t.length>r&&BR(t,r,null),n=0,e=new YI(eK(this.a));e.e!=e.i.gc();)BR(t,n++,MI(i=VP(hnt(e),87).c,88)?VP(i,26):(Bkt(),Ioe));return t},zkt.Yi=function(){var t,e,n,i,r;for((r=new Mv).a+="[",t=eK(this.a),e=0,i=eK(this.a).i;e<i;)wA(r,PL(MI(n=VP(a1(t,e),87).c,88)?VP(n,26):(Bkt(),Ioe))),++e<i&&(r.a+=n_t);return r.a+="]",r.a},zkt.$i=function(t){},zkt.aj=function(){return 10},zkt.Bk=function(){return!0},zkt.bj=function(){return!1},zkt.Ck=function(){return!1},zkt.Dk=function(){return!1},zkt.Ek=function(){return!0},zkt.rk=function(){return!1},zkt.Fk=function(){return!0},zkt.wj=function(t){return MI(t,88)},zkt.fj=function(){return!(!(t=this.a).u||0==eK(t.u.a).i||t.n&&lit(t.n));var t},zkt.hi=function(){return!0},zkt.ni=function(){return!0},_R(ANt,"EClassImpl/8",1150),Wht(1151,1964,W_t,Rb),zkt.Zc=function(t){return d0(this.a,t)},zkt.gc=function(){return eK(this.a.a).i},_R(ANt,"EClassImpl/8/1",1151),Wht(1152,497,CPt,Mc),zkt.ri=function(t){return WX(ioe,r_t,138,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"EClassImpl/9",1152),Wht(1139,53,yTt,qy),_R(ANt,"EClassImpl/MyHashSet",1139),Wht(566,351,{105:1,92:1,90:1,138:1,148:1,834:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,150:1,114:1,115:1,676:1},zw),zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?i1(this):zZ(this);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),this.A;case 8:return EL(),0!=(256&this.Bb)}return FV(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!zZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb)}return PG(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void xU(this,fD(e));case 2:return void TM(this,fD(e));case 5:return void cvt(this,fD(e));case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Hmt(this.A),!this.A&&(this.A=new WI(Uoe,this,7)),void kR(this.A,VP(e,14));case 8:return void h8(this,tv(lD(e)))}_9(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t),e)},zkt.zh=function(){return Bkt(),koe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,179)&&(VP(this.Cb,179).tb=null),void _2(this,null);case 2:return k6(this,null),void z1(this,this.D);case 5:return void cvt(this,null);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),void Hmt(this.A);case 8:return void h8(this,!0)}r8(this,t-yR(this.zh()),MJ(VP(q3(this,16),26)||this.zh(),t))},zkt.Gh=function(){Y7((put(),gse),this).ne(),this.Bb|=1},zkt.Fj=function(){var t,e;if(!this.c&&!(t=Xft(i1(this))).dc())for(e=t.Kc();e.Ob();)bwt(this,fD(e.Pb()))&&j8(this);return this.b},zkt.zj=function(){var t;if(!this.e){t=null;try{t=frt(this)}catch(t){if(!MI(t=k4(t),102))throw lw(t)}this.d=null,t&&0!=(1&t.i)&&(this.d=t==Wce?(EL(),Djt):t==Kce?p8(0):t==Jce?new id(0):t==Qce?0:t==Xce?xet(0):t==tue?b8(0):t==Vce?iJ(0):x4(0)),this.e=!0}return this.d},zkt.Ej=function(){return 0!=(256&this.Bb)},zkt.Ik=function(t){t&&(this.D="org.eclipse.emf.common.util.AbstractEnumerator")},zkt.xk=function(t){N2(this,t),this.Ik(t)},zkt.yk=function(t){this.C=t,this.e=!1},zkt.Ib=function(){var t;return 0!=(64&this.Db)?ttt(this):((t=new TL(ttt(this))).a+=" (serializable: ",tk(t,0!=(256&this.Bb)),t.a+=")",t.a)},zkt.c=!1,zkt.d=null,zkt.e=!1,_R(ANt,"EDataTypeImpl",566),Wht(457,566,{105:1,92:1,90:1,138:1,148:1,834:1,671:1,147:1,191:1,56:1,108:1,49:1,97:1,351:1,457:1,150:1,114:1,115:1,676:1},Zy),zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return frt(this);case 4:return P6(this);case 5:return this.F;case 6:return e?i1(this):zZ(this);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),this.A;case 8:return EL(),0!=(256&this.Bb);case 9:return!this.a&&(this.a=new mj(uoe,this,9,5)),this.a}return FV(this,t-yR((Bkt(),_oe)),MJ(VP(q3(this,16),26)||_oe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?yrt(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,6,n);case 9:return!this.a&&(this.a=new mj(uoe,this,9,5)),gtt(this.a,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),_oe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),_oe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 6:return uwt(this,null,6,n);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Tnt(this.A,t,n);case 9:return!this.a&&(this.a=new mj(uoe,this,9,5)),Tnt(this.a,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),_oe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),_oe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return null!=this.D&&this.D==this.F;case 3:return!!frt(this);case 4:return!!P6(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!zZ(this);case 7:return!!this.A&&0!=this.A.i;case 8:return 0==(256&this.Bb);case 9:return!!this.a&&0!=this.a.i}return PG(this,t-yR((Bkt(),_oe)),MJ(VP(q3(this,16),26)||_oe,t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void xU(this,fD(e));case 2:return void TM(this,fD(e));case 5:return void cvt(this,fD(e));case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),Hmt(this.A),!this.A&&(this.A=new WI(Uoe,this,7)),void kR(this.A,VP(e,14));case 8:return void h8(this,tv(lD(e)));case 9:return!this.a&&(this.a=new mj(uoe,this,9,5)),Hmt(this.a),!this.a&&(this.a=new mj(uoe,this,9,5)),void kR(this.a,VP(e,14))}_9(this,t-yR((Bkt(),_oe)),MJ(VP(q3(this,16),26)||_oe,t),e)},zkt.zh=function(){return Bkt(),_oe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,179)&&(VP(this.Cb,179).tb=null),void _2(this,null);case 2:return k6(this,null),void z1(this,this.D);case 5:return void cvt(this,null);case 7:return!this.A&&(this.A=new WI(Uoe,this,7)),void Hmt(this.A);case 8:return void h8(this,!0);case 9:return!this.a&&(this.a=new mj(uoe,this,9,5)),void Hmt(this.a)}r8(this,t-yR((Bkt(),_oe)),MJ(VP(q3(this,16),26)||_oe,t))},zkt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t<e;++t)yO(a1(this.a,t));Y7((put(),gse),this).ne(),this.Bb|=1},zkt.zj=function(){return P6(this)},zkt.wj=function(t){return null!=t},zkt.Ik=function(t){},_R(ANt,"EEnumImpl",457),Wht(573,438,{105:1,92:1,90:1,1940:1,678:1,147:1,191:1,56:1,108:1,49:1,97:1,573:1,150:1,114:1,115:1},Rw),zkt.ne=function(){return this.zb},zkt.Qg=function(t){return eat(this,t)},zkt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return p8(this.d);case 3:return this.b?this.b:this.a;case 4:return null==(i=this.c)?this.zb:i;case 5:return this.Db>>16==5?VP(this.Cb,671):null}return FV(this,t-yR((Bkt(),Eoe)),MJ(VP(q3(this,16),26)||Eoe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 5:return this.Cb&&(n=(i=this.Db>>16)>=0?eat(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,5,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Eoe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),Eoe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 5:return uwt(this,null,5,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Eoe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Eoe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0!=this.d;case 3:return!!this.b;case 4:return null!=this.c;case 5:return!(this.Db>>16!=5||!VP(this.Cb,671))}return PG(this,t-yR((Bkt(),Eoe)),MJ(VP(q3(this,16),26)||Eoe,t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void _2(this,fD(e));case 2:return void $1(this,VP(e,19).a);case 3:return void hht(this,VP(e,1940));case 4:return void R0(this,fD(e))}_9(this,t-yR((Bkt(),Eoe)),MJ(VP(q3(this,16),26)||Eoe,t),e)},zkt.zh=function(){return Bkt(),Eoe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void _2(this,null);case 2:return void $1(this,0);case 3:return void hht(this,null);case 4:return void R0(this,null)}r8(this,t-yR((Bkt(),Eoe)),MJ(VP(q3(this,16),26)||Eoe,t))},zkt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},zkt.b=null,zkt.c=null,zkt.d=0,_R(ANt,"EEnumLiteralImpl",573);var Koe,Woe,Xoe,Voe=oF(ANt,"EFactoryImpl/InternalEDateTimeFormat");Wht(489,1,{2015:1},zb),_R(ANt,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),Wht(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},sw),zkt.Sg=function(t,e,n){var i;return n=uwt(this,t,e,n),this.e&&MI(t,170)&&(i=bdt(this,this.e))!=this.c&&(n=Yvt(this,i,n)),n},zkt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new GI(loe,this,1)),this.d;case 2:return e?qwt(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?pit(this):this.a}return FV(this,t-yR((Bkt(),Coe)),MJ(VP(q3(this,16),26)||Coe,t),e,n)},zkt.jh=function(t,e,n){switch(e){case 0:return C7(this,null,n);case 1:return!this.d&&(this.d=new GI(loe,this,1)),Tnt(this.d,t,n);case 3:return T7(this,null,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Coe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Coe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.f;case 1:return!!this.d&&0!=this.d.i;case 2:return!!this.c;case 3:return!!this.b;case 4:return!!this.e;case 5:return!!this.a}return PG(this,t-yR((Bkt(),Coe)),MJ(VP(q3(this,16),26)||Coe,t))},zkt.sh=function(t,e){switch(t){case 0:return void vot(this,VP(e,87));case 1:return!this.d&&(this.d=new GI(loe,this,1)),Hmt(this.d),!this.d&&(this.d=new GI(loe,this,1)),void kR(this.d,VP(e,14));case 3:return void mot(this,VP(e,87));case 4:return void Kst(this,VP(e,836));case 5:return void d1(this,VP(e,138))}_9(this,t-yR((Bkt(),Coe)),MJ(VP(q3(this,16),26)||Coe,t),e)},zkt.zh=function(){return Bkt(),Coe},zkt.Bh=function(t){switch(t){case 0:return void vot(this,null);case 1:return!this.d&&(this.d=new GI(loe,this,1)),void Hmt(this.d);case 3:return void mot(this,null);case 4:return void Kst(this,null);case 5:return void d1(this,null)}r8(this,t-yR((Bkt(),Coe)),MJ(VP(q3(this,16),26)||Coe,t))},zkt.Ib=function(){var t;return(t=new CL(jft(this))).a+=" (expression: ",pmt(this,t),t.a+=")",t.a},_R(ANt,"EGenericTypeImpl",241),Wht(1969,1964,aFt),zkt.Xh=function(t,e){BD(this,t,e)},zkt.lk=function(t,e){return BD(this,this.gc(),t),e},zkt.pi=function(t){return knt(this.Gi(),t)},zkt.Zh=function(){return this.$h()},zkt.Gi=function(){return new Xb(this)},zkt.$h=function(){return this._h(0)},zkt._h=function(t){return this.Gi().Zc(t)},zkt.mk=function(t,e){return W9(this,t,!0),e},zkt.ii=function(t,e){var n;return n=Grt(this,e),this.Zc(t).Rb(n),n},zkt.ji=function(t,e){W9(this,e,!0),this.Zc(t).Rb(e)},_R(BBt,"AbstractSequentialInternalEList",1969),Wht(486,1969,aFt,tO),zkt.pi=function(t){return knt(this.Gi(),t)},zkt.Zh=function(){return null==this.b?(kE(),kE(),Xoe):this.Jk()},zkt.Gi=function(){return new ZA(this.a,this.b)},zkt.$h=function(){return null==this.b?(kE(),kE(),Xoe):this.Jk()},zkt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw lw(new qm(yBt+t+", size=0"));return kE(),kE(),Xoe}for(n=this.Jk(),e=0;e<t;++e)G3(n);return n},zkt.dc=function(){var t,e,n,i,r,a;if(null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(a=this.a.bh(t,!1),EE(),VP(t,66).Oj()){for(i=0,r=(e=VP(a,153)).gc();i<r;++i)if(mR(e.il(i))&&null!=e.jl(i))return!1}else if(t.$j()){if(!VP(a,14).dc())return!1}else if(null!=a)return!1;return!0},zkt.Kc=function(){return d2(this)},zkt.Zc=function(t){var e,n;if(null==this.b){if(0!=t)throw lw(new qm(yBt+t+", size=0"));return kE(),kE(),Xoe}for(n=this.Lk()?this.Kk():this.Jk(),e=0;e<t;++e)G3(n);return n},zkt.ii=function(t,e){throw lw(new Pw)},zkt.ji=function(t,e){throw lw(new Pw)},zkt.Jk=function(){return new eO(this.a,this.b)},zkt.Kk=function(){return new qO(this.a,this.b)},zkt.Lk=function(){return!0},zkt.gc=function(){var t,e,n,i,r,a,o;if(r=0,null!=this.b)for(n=0;n<this.b.length;++n)if(t=this.b[n],!this.Mk()||this.a.mh(t))if(o=this.a.bh(t,!1),EE(),VP(t,66).Oj())for(i=0,a=(e=VP(o,153)).gc();i<a;++i)mR(e.il(i))&&null!=e.jl(i)&&++r;else t.$j()?r+=VP(o,14).gc():null!=o&&++r;return r},zkt.Mk=function(){return!0},_R(BBt,"EContentsEList",486),Wht(1156,486,aFt,zO),zkt.Jk=function(){return new HO(this.a,this.b)},zkt.Kk=function(){return new ZO(this.a,this.b)},zkt.Mk=function(){return!1},_R(ANt,"ENamedElementImpl/1",1156),Wht(279,1,oFt,eO),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){throw lw(new Pw)},zkt.Nk=function(t){if(0!=this.g||this.e)throw lw(new Vm("Iterator already in use or already filtered"));this.e=t},zkt.Ob=function(){var t,e,n,i,r,a;switch(this.g){case 3:case 2:return!0;case 1:return!1;case-3:this.p?this.p.Pb():++this.n;default:if(this.k&&(this.p?lut(this,this.p):fht(this)))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=VP(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0;for(;this.d<this.c.length;)if(e=this.c[this.d++],(!this.e||e.Gj()!=Wre||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(EE(),VP(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=VP(a,15),this.k=i):(i=VP(a,69),this.k=this.j=i),MI(this.k,54)?(this.p=null,this.o=this.k.gc(),this.n=0):this.p=this.j?this.j.$h():this.k.Yc(),this.p?lut(this,this.p):fht(this))return r=this.p?this.p.Pb():this.j?this.j.pi(this.n++):this.k.Xb(this.n++),this.f?((t=VP(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=2,!0;return this.k=null,this.p=null,this.f=!1,this.g=1,!1}},zkt.Sb=function(){var t,e,n,i,r,a;switch(this.g){case-3:case-2:return!0;case-1:return!1;case 3:this.p?this.p.Ub():--this.n;default:if(this.k&&(this.p?hut(this,this.p):Yut(this)))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=VP(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0;for(;this.d>0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=Wre||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(EE(),VP(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=VP(a,15),this.k=i):(i=VP(a,69),this.k=this.j=i),MI(this.k,54)?(this.o=this.k.gc(),this.n=this.o):this.p=this.j?this.j._h(this.k.gc()):this.k.Zc(this.k.gc()),this.p?hut(this,this.p):Yut(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=VP(r,72)).ak(),n=t.dd(),this.i=n):(n=r,this.i=n),this.g=-3,!0}else if(null!=a)return this.k=null,this.p=null,n=a,this.i=n,this.g=-2,!0;return this.k=null,this.p=null,this.g=-1,!1}},zkt.Pb=function(){return G3(this)},zkt.Tb=function(){return this.a},zkt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw lw(new $w)},zkt.Vb=function(){return this.a-1},zkt.Qb=function(){throw lw(new Pw)},zkt.Lk=function(){return!1},zkt.Wb=function(t){throw lw(new Pw)},zkt.Mk=function(){return!0},zkt.a=0,zkt.d=0,zkt.f=!1,zkt.g=0,zkt.n=0,zkt.o=0,_R(BBt,"EContentsEList/FeatureIteratorImpl",279),Wht(697,279,oFt,qO),zkt.Lk=function(){return!0},_R(BBt,"EContentsEList/ResolvingFeatureIteratorImpl",697),Wht(1157,697,oFt,ZO),zkt.Mk=function(){return!1},_R(ANt,"ENamedElementImpl/1/1",1157),Wht(1158,279,oFt,HO),zkt.Mk=function(){return!1},_R(ANt,"ENamedElementImpl/1/2",1158),Wht(36,143,wBt,oK,sK,wj,xV,vQ,IW,K1,oY,W1,sY,SW,cY,Q1,uY,AW,lY,X1,hY,yj,kV,eH,V1,fY,MW,dY),zkt._i=function(){return lV(this)},zkt.gj=function(){var t;return(t=lV(this))?t.zj():null},zkt.yi=function(t){return-1==this.b&&this.a&&(this.b=this.c.Xg(this.a.aj(),this.a.Gj())),this.c.Og(this.b,t)},zkt.Ai=function(){return this.c},zkt.hj=function(){var t;return!!(t=lV(this))&&t.Kj()},zkt.b=-1,_R(ANt,"ENotificationImpl",36),Wht(399,284,{105:1,92:1,90:1,147:1,191:1,56:1,59:1,108:1,472:1,49:1,97:1,150:1,399:1,284:1,114:1,115:1},Uy),zkt.Qg=function(t){return lat(this,t)},zkt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),(i=this.t)>1||-1==i;case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?VP(this.Cb,26):null;case 11:return!this.d&&(this.d=new WI(Uoe,this,11)),this.d;case 12:return!this.c&&(this.c=new mj(foe,this,12,10)),this.c;case 13:return!this.a&&(this.a=new ZD(this,this)),this.a;case 14:return AQ(this)}return FV(this,t-yR((Bkt(),Loe)),MJ(VP(q3(this,16),26)||Loe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?lat(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,10,n);case 12:return!this.c&&(this.c=new mj(foe,this,12,10)),gtt(this.c,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Loe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),Loe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 9:return xR(this,n);case 10:return uwt(this,null,10,n);case 11:return!this.d&&(this.d=new WI(Uoe,this,11)),Tnt(this.d,t,n);case 12:return!this.c&&(this.c=new mj(foe,this,12,10)),Tnt(this.c,t,n);case 14:return Tnt(AQ(this),t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Loe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Loe)),t,n)},zkt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i);case 10:return!(this.Db>>16!=10||!VP(this.Cb,26));case 11:return!!this.d&&0!=this.d.i;case 12:return!!this.c&&0!=this.c.i;case 13:return!(!this.a||0==AQ(this.a.a).i||this.b&&hit(this.b));case 14:return!!this.b&&hit(this.b)}return PG(this,t-yR((Bkt(),Loe)),MJ(VP(q3(this,16),26)||Loe,t))},zkt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void _2(this,fD(e));case 2:return void u8(this,tv(lD(e)));case 3:return void f8(this,tv(lD(e)));case 4:return void j1(this,VP(e,19).a);case 5:return void R1(this,VP(e,19).a);case 8:return void o7(this,VP(e,138));case 9:return void((n=fst(this,VP(e,87),null))&&n.Fi());case 11:return!this.d&&(this.d=new WI(Uoe,this,11)),Hmt(this.d),!this.d&&(this.d=new WI(Uoe,this,11)),void kR(this.d,VP(e,14));case 12:return!this.c&&(this.c=new mj(foe,this,12,10)),Hmt(this.c),!this.c&&(this.c=new mj(foe,this,12,10)),void kR(this.c,VP(e,14));case 13:return!this.a&&(this.a=new ZD(this,this)),Wmt(this.a),!this.a&&(this.a=new ZD(this,this)),void kR(this.a,VP(e,14));case 14:return Hmt(AQ(this)),void kR(AQ(this),VP(e,14))}_9(this,t-yR((Bkt(),Loe)),MJ(VP(q3(this,16),26)||Loe,t),e)},zkt.zh=function(){return Bkt(),Loe},zkt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void _2(this,null);case 2:return void u8(this,!0);case 3:return void f8(this,!0);case 4:return void j1(this,0);case 5:return void R1(this,1);case 8:return void o7(this,null);case 9:return void((e=fst(this,null,null))&&e.Fi());case 11:return!this.d&&(this.d=new WI(Uoe,this,11)),void Hmt(this.d);case 12:return!this.c&&(this.c=new mj(foe,this,12,10)),void Hmt(this.c);case 13:return void(this.a&&Wmt(this.a));case 14:return void(this.b&&Hmt(this.b))}r8(this,t-yR((Bkt(),Loe)),MJ(VP(q3(this,16),26)||Loe,t))},zkt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;t<e;++t)yO(a1(this.c,t));fat(this),this.Bb|=1},_R(ANt,"EOperationImpl",399),Wht(505,742,rFt,ZD),zkt.Hi=function(t,e){!function(t,e,n){v8(AQ(t.a),e,EU(n))}(this,t,VP(e,138))},zkt.Ii=function(t){!function(t,e){hV(AQ(t.a),EU(e))}(this,VP(t,138))},zkt.Oi=function(t){return VP(a1(AQ(this.a),t),87).c||(Bkt(),Soe)},zkt.Ti=function(t){return VP(npt(AQ(this.a),t),87).c||(Bkt(),Soe)},zkt.Ui=function(t,e){return function(t,e,n){var i,r;return((r=(i=VP(a1(AQ(t.a),e),87)).c||(Bkt(),Soe)).kh()?S7(t.b,VP(r,49)):r)==n?qwt(i):d1(i,n),r}(this,t,VP(e,138))},zkt.ai=function(){return!1},zkt.Zi=function(t,e,n,i,r){return null},zkt.Ji=function(){return new qb(this)},zkt.Ki=function(){Hmt(AQ(this.a))},zkt.Li=function(t){return m8(this,t)},zkt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!m8(this,e.Pb()))return!1;return!0},zkt.Ni=function(t){var e,n,i;if(MI(t,15)&&(i=VP(t,15)).gc()==AQ(this.a).i){for(e=i.Kc(),n=new YI(this);e.Ob();)if(iA(e.Pb())!==iA(hnt(n)))return!1;return!0}return!1},zkt.Pi=function(){var t,e,n;for(e=1,t=new YI(AQ(this.a));t.e!=t.i.gc();)e=31*e+((n=VP(hnt(t),87).c||(Bkt(),Soe))?K5(n):0);return e},zkt.Qi=function(t){var e,n,i;for(i=0,n=new YI(AQ(this.a));n.e!=n.i.gc();){if(e=VP(hnt(n),87),iA(t)===iA(e.c||(Bkt(),Soe)))return i;++i}return-1},zkt.Ri=function(){return 0==AQ(this.a).i},zkt.Si=function(){return null},zkt.Vi=function(){return AQ(this.a).i},zkt.Wi=function(){var t,e,n,i,r;for(r=AQ(this.a).i,i=WX(G$t,r_t,1,r,5,1),n=0,e=new YI(AQ(this.a));e.e!=e.i.gc();)t=VP(hnt(e),87),i[n++]=t.c||(Bkt(),Soe);return i},zkt.Xi=function(t){var e,n,i;for(i=AQ(this.a).i,t.length<i&&(t=q1(W5(t).c,i)),t.length>i&&BR(t,i,null),n=0,e=new YI(AQ(this.a));e.e!=e.i.gc();)BR(t,n++,VP(hnt(e),87).c||(Bkt(),Soe));return t},zkt.Yi=function(){var t,e,n,i;for((i=new Mv).a+="[",t=AQ(this.a),e=0,n=AQ(this.a).i;e<n;)wA(i,PL(VP(a1(t,e),87).c||(Bkt(),Soe))),++e<n&&(i.a+=n_t);return i.a+="]",i.a},zkt.$i=function(t){},zkt.aj=function(){return 13},zkt.Bk=function(){return!0},zkt.bj=function(){return!1},zkt.Ck=function(){return!1},zkt.Dk=function(){return!1},zkt.Ek=function(){return!0},zkt.rk=function(){return!1},zkt.Fk=function(){return!0},zkt.wj=function(t){return MI(t,138)},zkt.fj=function(){return!(!(t=this.a).a||0==AQ(t.a.a).i||t.b&&hit(t.b));var t},zkt.hi=function(){return!0},zkt.ni=function(){return!0},_R(ANt,"EOperationImpl/1",505),Wht(1340,1964,W_t,qb),zkt.Zc=function(t){return d0(this.a,t)},zkt.gc=function(){return AQ(this.a.a).i},_R(ANt,"EOperationImpl/1/1",1340),Wht(1341,545,JBt,E$),zkt.ii=function(t,e){var n;return n=VP(D8(this,t,e),87),bM(this.e)&&Gw(this,new kV(this.a,7,(Bkt(),Ooe),p8(e),n.c||Soe,t)),n},zkt.jj=function(t,e){return function(t,e,n){var i;return i=new vQ(t.e,3,13,null,e.c||(Bkt(),Soe),$nt(t,e),!1),n?n.Ei(i):n=i,n}(this,VP(t,87),e)},zkt.kj=function(t,e){return function(t,e,n){var i;return i=new vQ(t.e,4,13,e.c||(Bkt(),Soe),null,$nt(t,e),!1),n?n.Ei(i):n=i,n}(this,VP(t,87),e)},zkt.lj=function(t,e,n){return function(t,e,n,i){var r;return r=new vQ(t.e,1,13,e.c||(Bkt(),Soe),n.c||(Bkt(),Soe),$nt(t,e),!1),i?i.Ei(r):i=r,i}(this,VP(t,87),VP(e,87),n)},zkt.Zi=function(t,e,n,i,r){switch(t){case 3:return UZ(this,t,e,n,i,this.i>1);case 5:return UZ(this,t,e,n,i,this.i-VP(n,15).gc()>0);default:return new vQ(this.e,t,this.c,e,n,i,!0)}},zkt.ij=function(){return!0},zkt.fj=function(){return hit(this)},zkt.Xj=function(){Hmt(this)},_R(ANt,"EOperationImpl/2",1341),Wht(498,1,{1938:1,498:1},ZS),_R(ANt,"EPackageImpl/1",498),Wht(16,85,JBt,mj),zkt.zk=function(){return this.d},zkt.Ak=function(){return this.b},zkt.Dk=function(){return!0},zkt.b=0,_R(BBt,"EObjectContainmentWithInverseEList",16),Wht(353,16,JBt,_N),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectContainmentWithInverseEList/Resolving",353),Wht(298,353,JBt,pj),zkt.ci=function(){this.a.tb=null},_R(ANt,"EPackageImpl/2",298),Wht(1228,1,{},Ic),_R(ANt,"EPackageImpl/3",1228),Wht(718,43,wTt,Gy),zkt._b=function(t){return oA(t)?lH(this,t):!!BH(this.f,t)},_R(ANt,"EPackageRegistryImpl",718),Wht(509,284,{105:1,92:1,90:1,147:1,191:1,56:1,2017:1,108:1,472:1,49:1,97:1,150:1,509:1,284:1,114:1,115:1},Yy),zkt.Qg=function(t){return hat(this,t)},zkt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),(i=this.t)>1||-1==i;case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?VP(this.Cb,59):null}return FV(this,t-yR((Bkt(),Noe)),MJ(VP(q3(this,16),26)||Noe,t),e,n)},zkt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),gtt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?hat(this,n):this.Cb.ih(this,-1-i,null,n)),uwt(this,t,10,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Noe),e),66).Nj().Qj(this,bet(this),e-yR((Bkt(),Noe)),t,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 9:return xR(this,n);case 10:return uwt(this,null,10,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),Noe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),Noe)),t,n)},zkt.lh=function(t){var e;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(e=this.t)>1||-1==e;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i);case 10:return!(this.Db>>16!=10||!VP(this.Cb,59))}return PG(this,t-yR((Bkt(),Noe)),MJ(VP(q3(this,16),26)||Noe,t))},zkt.zh=function(){return Bkt(),Noe},_R(ANt,"EParameterImpl",509),Wht(99,449,{105:1,92:1,90:1,147:1,191:1,56:1,18:1,170:1,66:1,108:1,472:1,49:1,97:1,150:1,99:1,449:1,284:1,114:1,115:1,677:1},aD),zkt._g=function(t,e,n){var i,r;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return EL(),0!=(256&this.Bb);case 3:return EL(),0!=(512&this.Bb);case 4:return p8(this.s);case 5:return p8(this.t);case 6:return EL(),(r=this.t)>1||-1==r;case 7:return EL(),this.s>=1;case 8:return e?fat(this):this.r;case 9:return this.q;case 10:return EL(),0!=(this.Bb&FNt);case 11:return EL(),0!=(this.Bb&zBt);case 12:return EL(),0!=(this.Bb&eTt);case 13:return this.j;case 14:return Adt(this);case 15:return EL(),0!=(this.Bb&RBt);case 16:return EL(),0!=(this.Bb&C_t);case 17:return qZ(this);case 18:return EL(),0!=(this.Bb&CNt);case 19:return EL(),!(!(i=eit(this))||0==(i.Bb&CNt));case 20:return EL(),0!=(this.Bb&iTt);case 21:return e?eit(this):this.b;case 22:return e?I5(this):pW(this);case 23:return!this.a&&(this.a=new QI(noe,this,23)),this.a}return FV(this,t-yR((Bkt(),Poe)),MJ(VP(q3(this,16),26)||Poe,t),e,n)},zkt.lh=function(t){var e,n;switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return 0==(256&this.Bb);case 3:return 0==(512&this.Bb);case 4:return 0!=this.s;case 5:return 1!=this.t;case 6:return(n=this.t)>1||-1==n;case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==wz(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==wz(this.q).i);case 10:return 0==(this.Bb&FNt);case 11:return 0!=(this.Bb&zBt);case 12:return 0!=(this.Bb&eTt);case 13:return null!=this.j;case 14:return null!=Adt(this);case 15:return 0!=(this.Bb&RBt);case 16:return 0!=(this.Bb&C_t);case 17:return!!qZ(this);case 18:return 0!=(this.Bb&CNt);case 19:return!!(e=eit(this))&&0!=(e.Bb&CNt);case 20:return 0==(this.Bb&iTt);case 21:return!!this.b;case 22:return!!pW(this);case 23:return!!this.a&&0!=this.a.i}return PG(this,t-yR((Bkt(),Poe)),MJ(VP(q3(this,16),26)||Poe,t))},zkt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void vU(this,fD(e));case 2:return void u8(this,tv(lD(e)));case 3:return void f8(this,tv(lD(e)));case 4:return void j1(this,VP(e,19).a);case 5:return void R1(this,VP(e,19).a);case 8:return void o7(this,VP(e,138));case 9:return void((n=fst(this,VP(e,87),null))&&n.Fi());case 10:return void P8(this,tv(lD(e)));case 11:return void $8(this,tv(lD(e)));case 12:return void B8(this,tv(lD(e)));case 13:return void JS(this,fD(e));case 15:return void F8(this,tv(lD(e)));case 16:return void q8(this,tv(lD(e)));case 18:return void function(t,e){Z8(t,e),MI(t.Cb,88)&&alt(dW(VP(t.Cb,88)),2)}(this,tv(lD(e)));case 20:return void U8(this,tv(lD(e)));case 21:return void X0(this,VP(e,18));case 23:return!this.a&&(this.a=new QI(noe,this,23)),Hmt(this.a),!this.a&&(this.a=new QI(noe,this,23)),void kR(this.a,VP(e,14))}_9(this,t-yR((Bkt(),Poe)),MJ(VP(q3(this,16),26)||Poe,t),e)},zkt.zh=function(){return Bkt(),Poe},zkt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return MI(this.Cb,88)&&alt(dW(VP(this.Cb,88)),4),void _2(this,null);case 2:return void u8(this,!0);case 3:return void f8(this,!0);case 4:return void j1(this,0);case 5:return void R1(this,1);case 8:return void o7(this,null);case 9:return void((e=fst(this,null,null))&&e.Fi());case 10:return void P8(this,!0);case 11:return void $8(this,!1);case 12:return void B8(this,!1);case 13:return this.i=null,void Q0(this,null);case 15:return void F8(this,!1);case 16:return void q8(this,!1);case 18:return Z8(this,!1),void(MI(this.Cb,88)&&alt(dW(VP(this.Cb,88)),2));case 20:return void U8(this,!0);case 21:return void X0(this,null);case 23:return!this.a&&(this.a=new QI(noe,this,23)),void Hmt(this.a)}r8(this,t-yR((Bkt(),Poe)),MJ(VP(q3(this,16),26)||Poe,t))},zkt.Gh=function(){I5(this),tq(SQ((put(),gse),this)),fat(this),this.Bb|=1},zkt.Lj=function(){return eit(this)},zkt.qk=function(){var t;return!!(t=eit(this))&&0!=(t.Bb&CNt)},zkt.rk=function(){return 0!=(this.Bb&CNt)},zkt.sk=function(){return 0!=(this.Bb&iTt)},zkt.nk=function(t,e){return this.c=null,U7(this,t,e)},zkt.Ib=function(){var t;return 0!=(64&this.Db)?Vpt(this):((t=new TL(Vpt(this))).a+=" (containment: ",tk(t,0!=(this.Bb&CNt)),t.a+=", resolveProxies: ",tk(t,0!=(this.Bb&iTt)),t.a+=")",t.a)},_R(ANt,"EReferenceImpl",99),Wht(548,115,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1,548:1,114:1,115:1},Lc),zkt.Fb=function(t){return this===t},zkt.cd=function(){return this.b},zkt.dd=function(){return this.c},zkt.Hb=function(){return jL(this)},zkt.Uh=function(t){!function(t,e){F0(t,null==e?null:(yz(e),e))}(this,fD(t))},zkt.ed=function(t){return function(t,e){var n;return n=t.c,$0(t,e),n}(this,fD(t))},zkt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return FV(this,t-yR((Bkt(),Boe)),MJ(VP(q3(this,16),26)||Boe,t),e,n)},zkt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return PG(this,t-yR((Bkt(),Boe)),MJ(VP(q3(this,16),26)||Boe,t))},zkt.sh=function(t,e){switch(t){case 0:return void function(t,e){F0(t,null==e?null:(yz(e),e))}(this,fD(e));case 1:return void $0(this,fD(e))}_9(this,t-yR((Bkt(),Boe)),MJ(VP(q3(this,16),26)||Boe,t),e)},zkt.zh=function(){return Bkt(),Boe},zkt.Bh=function(t){switch(t){case 0:return void F0(this,null);case 1:return void $0(this,null)}r8(this,t-yR((Bkt(),Boe)),MJ(VP(q3(this,16),26)||Boe,t))},zkt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:Knt(t)),this.a},zkt.Th=function(t){this.a=t},zkt.Ib=function(){var t;return 0!=(64&this.Db)?jft(this):((t=new TL(jft(this))).a+=" (key: ",wA(t,this.b),t.a+=", value: ",wA(t,this.c),t.a+=")",t.a)},zkt.a=-1,zkt.b=null,zkt.c=null;var Qoe,Joe,tse,ese,nse,ise,rse,ase,ose,sse,cse=_R(ANt,"EStringToStringMapEntryImpl",548),use=oF(BBt,"FeatureMap/Entry/Internal");Wht(565,1,sFt),zkt.Ok=function(t){return this.Pk(VP(t,49))},zkt.Pk=function(t){return this.Ok(t)},zkt.Fb=function(t){var e,n;return this===t||!!MI(t,72)&&(e=VP(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():X7(n,e.dd()))},zkt.ak=function(){return this.c},zkt.Hb=function(){var t;return t=this.dd(),K5(this.c)^(null==t?0:K5(t))},zkt.Ib=function(){var t,e;return e=i1((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},_R(ANt,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),Wht(776,565,sFt,RD),zkt.Pk=function(t){return new RD(this.c,t)},zkt.dd=function(){return this.a},zkt.Qk=function(t,e,n){return function(t,e,n,i,r){var a;return n&&(a=ett(e.Tg(),t.c),r=n.gh(e,-1-(-1==a?i:a),null,r)),r}(this,t,this.a,e,n)},zkt.Rk=function(t,e,n){return function(t,e,n,i,r){var a;return n&&(a=ett(e.Tg(),t.c),r=n.ih(e,-1-(-1==a?i:a),null,r)),r}(this,t,this.a,e,n)},_R(ANt,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),Wht(1314,1,{},US),zkt.Pj=function(t,e,n,i,r){return VP(EV(t,this.b),215).nl(this.a).Wj(i)},zkt.Qj=function(t,e,n,i,r){return VP(EV(t,this.b),215).el(this.a,i,r)},zkt.Rj=function(t,e,n,i,r){return VP(EV(t,this.b),215).fl(this.a,i,r)},zkt.Sj=function(t,e,n){return VP(EV(t,this.b),215).nl(this.a).fj()},zkt.Tj=function(t,e,n,i){VP(EV(t,this.b),215).nl(this.a).Wb(i)},zkt.Uj=function(t,e,n){return VP(EV(t,this.b),215).nl(this.a)},zkt.Vj=function(t,e,n){VP(EV(t,this.b),215).nl(this.a).Xj()},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),Wht(89,1,{},jP,Dq,qH,uK),zkt.Pj=function(t,e,n,i,r){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=Ckt(this,t)),!r)switch(this.e){case 50:case 41:return VP(a,589).sj();case 40:return VP(a,215).kl()}return a},zkt.Qj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=Ckt(this,t)),VP(a,69).lk(i,r)},zkt.Rj=function(t,e,n,i,r){var a;return null!=(a=e.Ch(n))&&(r=VP(a,69).mk(i,r)),r},zkt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&VP(i,76).fj()},zkt.Tj=function(t,e,n,i){var r;!(r=VP(e.Ch(n),76))&&e.Dh(n,r=Ckt(this,t)),r.Wb(i)},zkt.Uj=function(t,e,n){var i;return null==(i=e.Ch(n))&&e.Dh(n,i=Ckt(this,t)),MI(i,76)?VP(i,76):new Yb(VP(e.Ch(n),15))},zkt.Vj=function(t,e,n){var i;!(i=VP(e.Ch(n),76))&&e.Dh(n,i=Ckt(this,t)),i.Xj()},zkt.b=0,zkt.e=0,_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),Wht(504,1,{}),zkt.Qj=function(t,e,n,i,r){throw lw(new Pw)},zkt.Rj=function(t,e,n,i,r){throw lw(new Pw)},zkt.Uj=function(t,e,n){return new Nq(this,t,e,n)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),Wht(1331,1,FBt,Nq),zkt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},zkt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},zkt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},zkt.Xj=function(){this.a.Vj(this.c,this.d,this.b)},zkt.b=0,_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),Wht(769,504,{},eZ),zkt.Pj=function(t,e,n,i,r){return Mbt(t,t.eh(),t.Vg())==this.b?this.sk()&&i?qht(t):t.eh():null},zkt.Qj=function(t,e,n,i,r){var a,o;return t.eh()&&(r=(a=t.Vg())>=0?t.Qg(r):t.eh().ih(t,-1-a,null,r)),o=ett(t.Tg(),this.e),t.Sg(i,o,r)},zkt.Rj=function(t,e,n,i,r){var a;return a=ett(t.Tg(),this.e),t.Sg(null,a,r)},zkt.Sj=function(t,e,n){var i;return i=ett(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},zkt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!Qwt(this.a,i))throw lw(new Wm(cFt+(MI(i,56)?wot(VP(i,56).Tg()):DJ(W5(i)))+uFt+this.a+"'"));if(r=t.eh(),o=ett(t.Tg(),this.e),iA(i)!==iA(r)||t.Vg()!=o&&null!=i){if(oat(t,VP(i,56)))throw lw(new Xm(INt+t.Ib()));c=null,r&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=VP(i,49))&&(c=s.gh(t,ett(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi()}else t.Lg()&&t.Mg()&&$3(t,new wj(t,1,o,i,i))},zkt.Vj=function(t,e,n){var i,r,a;t.eh()?(a=(i=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-i,null,null),r=ett(t.Tg(),this.e),(a=t.Sg(null,r,a))&&a.Fi()):t.Lg()&&t.Mg()&&$3(t,new yj(t,1,this.e,null,null))},zkt.sk=function(){return!1},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),Wht(1315,769,{},RP),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),Wht(563,504,{}),zkt.Pj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))?this.b:iA(a)===iA(Qoe)?null:a},zkt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&(iA(i)===iA(Qoe)||!X7(i,this.b))},zkt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=null==(a=e.Ch(n))?this.b:iA(a)===iA(Qoe)?null:a,null==i?null!=this.c?(e.Dh(n,null),i=this.b):null!=this.b?e.Dh(n,Qoe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i)),$3(t,this.d.Tk(t,1,this.e,r,i))):null==i?null!=this.c?e.Dh(n,null):null!=this.b?e.Dh(n,Qoe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i))},zkt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=null==(r=e.Ch(n))?this.b:iA(r)===iA(Qoe)?null:r,e.Eh(n),$3(t,this.d.Tk(t,1,this.e,i,this.b))):e.Eh(n)},zkt.Sk=function(t){throw lw(new Lw)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),Wht(lFt,1,{},Oc),zkt.Tk=function(t,e,n,i,r){return new yj(t,e,n,i,r)},zkt.Uk=function(t,e,n,i,r,a){return new eH(t,e,n,i,r,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",lFt),Wht(1332,lFt,{},Dc),zkt.Tk=function(t,e,n,i,r){return new MW(t,e,n,tv(lD(i)),tv(lD(r)))},zkt.Uk=function(t,e,n,i,r,a){return new dY(t,e,n,tv(lD(i)),tv(lD(r)),a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),Wht(1333,lFt,{},Nc),zkt.Tk=function(t,e,n,i,r){return new K1(t,e,n,VP(i,217).a,VP(r,217).a)},zkt.Uk=function(t,e,n,i,r,a){return new oY(t,e,n,VP(i,217).a,VP(r,217).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),Wht(1334,lFt,{},Pc),zkt.Tk=function(t,e,n,i,r){return new W1(t,e,n,VP(i,172).a,VP(r,172).a)},zkt.Uk=function(t,e,n,i,r,a){return new sY(t,e,n,VP(i,172).a,VP(r,172).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),Wht(1335,lFt,{},Bc),zkt.Tk=function(t,e,n,i,r){return new SW(t,e,n,ev(hD(i)),ev(hD(r)))},zkt.Uk=function(t,e,n,i,r,a){return new cY(t,e,n,ev(hD(i)),ev(hD(r)),a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),Wht(1336,lFt,{},Fc),zkt.Tk=function(t,e,n,i,r){return new Q1(t,e,n,VP(i,155).a,VP(r,155).a)},zkt.Uk=function(t,e,n,i,r,a){return new uY(t,e,n,VP(i,155).a,VP(r,155).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),Wht(1337,lFt,{},$c),zkt.Tk=function(t,e,n,i,r){return new AW(t,e,n,VP(i,19).a,VP(r,19).a)},zkt.Uk=function(t,e,n,i,r,a){return new lY(t,e,n,VP(i,19).a,VP(r,19).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),Wht(1338,lFt,{},jc),zkt.Tk=function(t,e,n,i,r){return new X1(t,e,n,VP(i,162).a,VP(r,162).a)},zkt.Uk=function(t,e,n,i,r,a){return new hY(t,e,n,VP(i,162).a,VP(r,162).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),Wht(1339,lFt,{},Rc),zkt.Tk=function(t,e,n,i,r){return new V1(t,e,n,VP(i,184).a,VP(r,184).a)},zkt.Uk=function(t,e,n,i,r,a){return new fY(t,e,n,VP(i,184).a,VP(r,184).a,a)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),Wht(1317,563,{},Pq),zkt.Sk=function(t){if(!this.a.wj(t))throw lw(new Wm(cFt+W5(t)+uFt+this.a+"'"))},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),Wht(1318,563,{},T$),zkt.Sk=function(t){},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),Wht(770,563,{}),zkt.Sj=function(t,e,n){return null!=e.Ch(n)},zkt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=!0,null==(a=e.Ch(n))?(r=!1,a=this.b):iA(a)===iA(Qoe)&&(a=null),null==i?null!=this.c?(e.Dh(n,null),i=this.b):e.Dh(n,Qoe):(this.Sk(i),e.Dh(n,i)),$3(t,this.d.Uk(t,1,this.e,a,i,!r))):null==i?null!=this.c?e.Dh(n,null):e.Dh(n,Qoe):(this.Sk(i),e.Dh(n,i))},zkt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=!0,null==(r=e.Ch(n))?(i=!1,r=this.b):iA(r)===iA(Qoe)&&(r=null),e.Eh(n),$3(t,this.d.Uk(t,2,this.e,r,this.b,i))):e.Eh(n)},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),Wht(1319,770,{},Bq),zkt.Sk=function(t){if(!this.a.wj(t))throw lw(new Wm(cFt+W5(t)+uFt+this.a+"'"))},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),Wht(1320,770,{},C$),zkt.Sk=function(t){},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),Wht(398,504,{},$F),zkt.Pj=function(t,e,n,i,r){var a,o,s,c,u;if(u=e.Ch(n),this.Kj()&&iA(u)===iA(Qoe))return null;if(this.sk()&&i&&null!=u){if((s=VP(u,49)).kh()&&s!=(c=S7(t,s))){if(!Qwt(this.a,c))throw lw(new Wm(cFt+W5(c)+uFt+this.a+"'"));e.Dh(n,u=c),this.rk()&&(a=VP(c,49),o=s.ih(t,this.b?ett(s.Tg(),this.b):-1-ett(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?ett(a.Tg(),this.b):-1-ett(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&$3(t,new yj(t,9,this.e,s,c))}return u}return u},zkt.Qj=function(t,e,n,i,r){var a,o;return iA(o=e.Ch(n))===iA(Qoe)&&(o=null),e.Dh(n,i),this.bj()?iA(o)!==iA(i)&&null!=o&&(r=(a=VP(o,49)).ih(t,ett(a.Tg(),this.b),null,r)):this.rk()&&null!=o&&(r=VP(o,49).ih(t,-1-ett(t.Tg(),this.e),null,r)),t.Lg()&&t.Mg()&&(!r&&(r=new _x(4)),r.Ei(new yj(t,1,this.e,o,i))),r},zkt.Rj=function(t,e,n,i,r){var a;return iA(a=e.Ch(n))===iA(Qoe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!r&&(r=new _x(4)),this.Kj()?r.Ei(new yj(t,2,this.e,a,null)):r.Ei(new yj(t,1,this.e,a,null))),r},zkt.Sj=function(t,e,n){return null!=e.Ch(n)},zkt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!Qwt(this.a,i))throw lw(new Wm(cFt+(MI(i,56)?wot(VP(i,56).Tg()):DJ(W5(i)))+uFt+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&iA(c)===iA(Qoe)&&(c=null),o=null,this.bj()?iA(c)!==iA(i)&&(null!=c&&(o=(r=VP(c,49)).ih(t,ett(r.Tg(),this.b),null,o)),null!=i&&(o=(r=VP(i,49)).gh(t,ett(r.Tg(),this.b),null,o))):this.rk()&&iA(c)!==iA(i)&&(null!=c&&(o=VP(c,49).ih(t,-1-ett(t.Tg(),this.e),null,o)),null!=i&&(o=VP(i,49).gh(t,-1-ett(t.Tg(),this.e),null,o))),null==i&&this.Kj()?e.Dh(n,Qoe):e.Dh(n,i),t.Lg()&&t.Mg()?(a=new eH(t,1,this.e,c,i,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):$3(t,a)):o&&o.Fi()},zkt.Vj=function(t,e,n){var i,r,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&iA(s)===iA(Qoe)&&(s=null),a=null,null!=s&&(this.bj()?a=(i=VP(s,49)).ih(t,ett(i.Tg(),this.b),null,a):this.rk()&&(a=VP(s,49).ih(t,-1-ett(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(r=new eH(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(r),a.Fi()):$3(t,r)):a&&a.Fi()},zkt.bj=function(){return!1},zkt.rk=function(){return!1},zkt.sk=function(){return!1},zkt.Kj=function(){return!1},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),Wht(564,398,{},YO),zkt.rk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),Wht(1323,564,{},GO),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),Wht(772,564,{},KO),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),Wht(1325,772,{},WO),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),Wht(640,564,{},zP),zkt.bj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),Wht(1324,640,{},ZP),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),Wht(773,640,{},UP),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),Wht(1326,773,{},YP),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),Wht(641,398,{},XO),zkt.sk=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),Wht(1327,641,{},VO),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),Wht(774,641,{},qP),zkt.bj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),Wht(1328,774,{},GP),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),Wht(1321,398,{},QO),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),Wht(771,398,{},HP),zkt.bj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),Wht(1322,771,{},KP),zkt.Kj=function(){return!0},_R(ANt,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),Wht(775,565,sFt,az),zkt.Pk=function(t){return new az(this.a,this.c,t)},zkt.dd=function(){return this.b},zkt.Qk=function(t,e,n){return function(t,e,n,i){return n&&(i=n.gh(e,ett(n.Tg(),t.c.Lj()),null,i)),i}(this,t,this.b,n)},zkt.Rk=function(t,e,n){return function(t,e,n,i){return n&&(i=n.ih(e,ett(n.Tg(),t.c.Lj()),null,i)),i}(this,t,this.b,n)},_R(ANt,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),Wht(1329,1,FBt,Yb),zkt.Wj=function(t){return this.a},zkt.fj=function(){return MI(this.a,95)?VP(this.a,95).fj():!this.a.dc()},zkt.Wb=function(t){this.a.$b(),this.a.Gc(VP(t,15))},zkt.Xj=function(){MI(this.a,95)?VP(this.a,95).Xj():this.a.$b()},_R(ANt,"EStructuralFeatureImpl/SettingMany",1329),Wht(1330,565,sFt,hK),zkt.Ok=function(t){return new zD((svt(),ece),this.b.Ih(this.a,t))},zkt.dd=function(){return null},zkt.Qk=function(t,e,n){return n},zkt.Rk=function(t,e,n){return n},_R(ANt,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),Wht(642,565,sFt,zD),zkt.Ok=function(t){return new zD(this.c,t)},zkt.dd=function(){return this.a},zkt.Qk=function(t,e,n){return n},zkt.Rk=function(t,e,n){return n},_R(ANt,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),Wht(391,497,CPt,zc),zkt.ri=function(t){return WX(roe,r_t,26,t,0,1)},zkt.ni=function(){return!1},_R(ANt,"ESuperAdapter/1",391),Wht(444,438,{105:1,92:1,90:1,147:1,191:1,56:1,108:1,836:1,49:1,97:1,150:1,444:1,114:1,115:1},qc),zkt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new jF(this,loe,this)),this.a}return FV(this,t-yR((Bkt(),joe)),MJ(VP(q3(this,16),26)||joe,t),e,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Tnt(this.Ab,t,n);case 2:return!this.a&&(this.a=new jF(this,loe,this)),Tnt(this.a,t,n)}return VP(MJ(VP(q3(this,16),26)||(Bkt(),joe),e),66).Nj().Rj(this,bet(this),e-yR((Bkt(),joe)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb;case 2:return!!this.a&&0!=this.a.i}return PG(this,t-yR((Bkt(),joe)),MJ(VP(q3(this,16),26)||joe,t))},zkt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),Hmt(this.Ab),!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void kR(this.Ab,VP(e,14));case 1:return void _2(this,fD(e));case 2:return!this.a&&(this.a=new jF(this,loe,this)),Hmt(this.a),!this.a&&(this.a=new jF(this,loe,this)),void kR(this.a,VP(e,14))}_9(this,t-yR((Bkt(),joe)),MJ(VP(q3(this,16),26)||joe,t),e)},zkt.zh=function(){return Bkt(),joe},zkt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new mj(Jae,this,0,3)),void Hmt(this.Ab);case 1:return void _2(this,null);case 2:return!this.a&&(this.a=new jF(this,loe,this)),void Hmt(this.a)}r8(this,t-yR((Bkt(),joe)),MJ(VP(q3(this,16),26)||joe,t))},_R(ANt,"ETypeParameterImpl",444),Wht(445,85,JBt,jF),zkt.cj=function(t,e){return function(t,e,n){var i,r;for(n=vnt(e,t.e,-1-t.c,n),r=new Kb(new e6(new Xf(_z(t.a).a).a));r.a.b;)n=Yvt(i=VP(u1(r.a).cd(),87),bdt(i,t.a),n);return n}(this,VP(t,87),e)},zkt.dj=function(t,e){return function(t,e,n){var i,r;for(n=YH(e,t.e,-1-t.c,n),r=new Kb(new e6(new Xf(_z(t.a).a).a));r.a.b;)n=Yvt(i=VP(u1(r.a).cd(),87),bdt(i,t.a),n);return n}(this,VP(t,87),e)},_R(ANt,"ETypeParameterImpl/1",445),Wht(634,43,wTt,Ky),zkt.ec=function(){return new Gb(this)},_R(ANt,"ETypeParameterImpl/2",634),Wht(556,b_t,w_t,Gb),zkt.Fc=function(t){return xN(this,VP(t,87))},zkt.Gc=function(t){var e,n,i;for(i=!1,n=t.Kc();n.Ob();)e=VP(n.Pb(),87),null==Pz(this.a,e,"")&&(i=!0);return i},zkt.$b=function(){Yj(this.a)},zkt.Hc=function(t){return Sj(this.a,t)},zkt.Kc=function(){return new Kb(new e6(new Xf(this.a).a))},zkt.Mc=function(t){return lX(this,t)},zkt.gc=function(){return l_(this.a)},_R(ANt,"ETypeParameterImpl/2/1",556),Wht(557,1,f_t,Kb),zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return VP(u1(this.a).cd(),87)},zkt.Ob=function(){return this.a.b},zkt.Qb=function(){cV(this.a)},_R(ANt,"ETypeParameterImpl/2/1/1",557),Wht(1276,43,wTt,Wy),zkt._b=function(t){return oA(t)?lH(this,t):!!BH(this.f,t)},zkt.xc=function(t){var e;return MI(e=oA(t)?oZ(this,t):nA(BH(this.f,t)),837)?(e=VP(e,837)._j(),Pz(this,VP(t,235),e),e):null!=e?e:null==t?(_E(),mse):null},_R(ANt,"EValidatorRegistryImpl",1276),Wht(1313,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,1941:1,49:1,97:1,150:1,114:1,115:1},Hc),zkt.Ih=function(t,e){switch(t.yj()){case 21:case 22:case 23:case 24:case 26:case 31:case 32:case 37:case 38:case 39:case 40:case 43:case 44:case 48:case 49:case 20:return null==e?null:A9(e);case 25:return r1(e);case 27:case 28:return function(t){return MI(t,172)?""+VP(t,172).a:null==t?null:A9(t)}(e);case 29:return null==e?null:bI(Zre[0],VP(e,199));case 41:return null==e?"":Nx(VP(e,290));case 42:return A9(e);case 50:return fD(e);default:throw lw(new Xm(LNt+t.ne()+ONt))}},zkt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=i1(t))?$nt(e.Mh(),t):-1),t.G){case 0:return new Hy;case 1:return new kc;case 2:return new Bh;case 4:return new zw;case 5:return new Zy;case 6:return new Rw;case 7:return new Nh;case 10:return new vc;case 11:return new Uy;case 12:return new CH;case 13:return new Yy;case 14:return new aD;case 17:return new Lc;case 18:return new sw;case 19:return new qc;default:throw lw(new Xm(PNt+t.zb+ONt))}},zkt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new Kx(e);case 21:return null==e?null:new AM(e);case 23:case 22:return null==e?null:function(t){if(met(kDt,t))return EL(),Njt;if(met(_Dt,t))return EL(),Djt;throw lw(new Xm("Expecting true or false"))}(e);case 26:case 24:return null==e?null:iJ(rwt(e,-128,127)<<24>>24);case 25:return function(t){var e,n,i,r,a,o,s;if(null==t)return null;for(s=t.length,o=WX(Vce,NNt,25,r=(s+1)/2|0,15,1),s%2!=0&&(o[--r]=Lpt((DU(s-1,t.length),t.charCodeAt(s-1)))),n=0,i=0;n<r;++n)e=Lpt(Gz(t,i++)),a=Lpt(Gz(t,i++)),o[n]=(e<<4|a)<<24>>24;return o}(e);case 27:return function(t){var e;if(null==t)return null;e=0;try{e=rwt(t,eEt,Qkt)&fEt}catch(n){if(!MI(n=k4(n),127))throw lw(n);e=PQ(t)[0]}return x4(e)}(e);case 28:return function(t){var e;if(null==t)return null;e=0;try{e=rwt(t,eEt,Qkt)&fEt}catch(n){if(!MI(n=k4(n),127))throw lw(n);e=PQ(t)[0]}return x4(e)}(e);case 29:return function(t){var e,n;if(null==t)return null;for(e=null,n=0;n<Zre.length;++n)try{return gE(Zre[n],t)}catch(t){if(!MI(t=k4(t),32))throw lw(t);e=t}throw lw(new mQ(e))}(e);case 32:case 31:return null==e?null:wct(e);case 38:case 37:return null==e?null:new Ww(e);case 40:case 39:return null==e?null:p8(rwt(e,eEt,Qkt));case 41:case 42:return null;case 44:case 43:return null==e?null:xet(vxt(e));case 49:case 48:return null==e?null:b8(rwt(e,fFt,32767)<<16>>16);case 50:return e;default:throw lw(new Xm(LNt+t.ne()+ONt))}},_R(ANt,"EcoreFactoryImpl",1313),Wht(547,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,1939:1,49:1,97:1,150:1,179:1,547:1,114:1,115:1,675:1},Oz),zkt.gb=!1,zkt.hb=!1;var lse,hse=!1;_R(ANt,"EcorePackageImpl",547),Wht(1184,1,{837:1},Zc),zkt._j=function(){return _L(),vse},_R(ANt,"EcorePackageImpl/1",1184),Wht(1193,1,TFt,Uc),zkt.wj=function(t){return MI(t,147)},zkt.xj=function(t){return WX(nae,r_t,147,t,0,1)},_R(ANt,"EcorePackageImpl/10",1193),Wht(1194,1,TFt,Yc),zkt.wj=function(t){return MI(t,191)},zkt.xj=function(t){return WX(rae,r_t,191,t,0,1)},_R(ANt,"EcorePackageImpl/11",1194),Wht(1195,1,TFt,Gc),zkt.wj=function(t){return MI(t,56)},zkt.xj=function(t){return WX(Kre,r_t,56,t,0,1)},_R(ANt,"EcorePackageImpl/12",1195),Wht(1196,1,TFt,Kc),zkt.wj=function(t){return MI(t,399)},zkt.xj=function(t){return WX(hoe,VBt,59,t,0,1)},_R(ANt,"EcorePackageImpl/13",1196),Wht(1197,1,TFt,Wc),zkt.wj=function(t){return MI(t,235)},zkt.xj=function(t){return WX(aae,r_t,235,t,0,1)},_R(ANt,"EcorePackageImpl/14",1197),Wht(1198,1,TFt,Xc),zkt.wj=function(t){return MI(t,509)},zkt.xj=function(t){return WX(foe,r_t,2017,t,0,1)},_R(ANt,"EcorePackageImpl/15",1198),Wht(1199,1,TFt,Vc),zkt.wj=function(t){return MI(t,99)},zkt.xj=function(t){return WX(doe,XBt,18,t,0,1)},_R(ANt,"EcorePackageImpl/16",1199),Wht(1200,1,TFt,Qc),zkt.wj=function(t){return MI(t,170)},zkt.xj=function(t){return WX(eoe,XBt,170,t,0,1)},_R(ANt,"EcorePackageImpl/17",1200),Wht(1201,1,TFt,Jc),zkt.wj=function(t){return MI(t,472)},zkt.xj=function(t){return WX(toe,r_t,472,t,0,1)},_R(ANt,"EcorePackageImpl/18",1201),Wht(1202,1,TFt,tu),zkt.wj=function(t){return MI(t,548)},zkt.xj=function(t){return WX(cse,kBt,548,t,0,1)},_R(ANt,"EcorePackageImpl/19",1202),Wht(1185,1,TFt,eu),zkt.wj=function(t){return MI(t,322)},zkt.xj=function(t){return WX(noe,XBt,34,t,0,1)},_R(ANt,"EcorePackageImpl/2",1185),Wht(1203,1,TFt,nu),zkt.wj=function(t){return MI(t,241)},zkt.xj=function(t){return WX(loe,iFt,87,t,0,1)},_R(ANt,"EcorePackageImpl/20",1203),Wht(1204,1,TFt,iu),zkt.wj=function(t){return MI(t,444)},zkt.xj=function(t){return WX(Uoe,r_t,836,t,0,1)},_R(ANt,"EcorePackageImpl/21",1204),Wht(1205,1,TFt,ru),zkt.wj=function(t){return rA(t)},zkt.xj=function(t){return WX(Fjt,T_t,476,t,8,1)},_R(ANt,"EcorePackageImpl/22",1205),Wht(1206,1,TFt,au),zkt.wj=function(t){return MI(t,190)},zkt.xj=function(t){return WX(Vce,T_t,190,t,0,2)},_R(ANt,"EcorePackageImpl/23",1206),Wht(1207,1,TFt,ou),zkt.wj=function(t){return MI(t,217)},zkt.xj=function(t){return WX(Rjt,T_t,217,t,0,1)},_R(ANt,"EcorePackageImpl/24",1207),Wht(1208,1,TFt,su),zkt.wj=function(t){return MI(t,172)},zkt.xj=function(t){return WX(qjt,T_t,172,t,0,1)},_R(ANt,"EcorePackageImpl/25",1208),Wht(1209,1,TFt,cu),zkt.wj=function(t){return MI(t,199)},zkt.xj=function(t){return WX(Pjt,T_t,199,t,0,1)},_R(ANt,"EcorePackageImpl/26",1209),Wht(1210,1,TFt,uu),zkt.wj=function(t){return!1},zkt.xj=function(t){return WX(nue,r_t,2110,t,0,1)},_R(ANt,"EcorePackageImpl/27",1210),Wht(1211,1,TFt,lu),zkt.wj=function(t){return aA(t)},zkt.xj=function(t){return WX(Hjt,T_t,333,t,7,1)},_R(ANt,"EcorePackageImpl/28",1211),Wht(1212,1,TFt,hu),zkt.wj=function(t){return MI(t,58)},zkt.xj=function(t){return WX(kae,bSt,58,t,0,1)},_R(ANt,"EcorePackageImpl/29",1212),Wht(1186,1,TFt,fu),zkt.wj=function(t){return MI(t,510)},zkt.xj=function(t){return WX(Jae,{3:1,4:1,5:1,1934:1},590,t,0,1)},_R(ANt,"EcorePackageImpl/3",1186),Wht(1213,1,TFt,du),zkt.wj=function(t){return MI(t,573)},zkt.xj=function(t){return WX(Pae,r_t,1940,t,0,1)},_R(ANt,"EcorePackageImpl/30",1213),Wht(1214,1,TFt,gu),zkt.wj=function(t){return MI(t,153)},zkt.xj=function(t){return WX(_se,bSt,153,t,0,1)},_R(ANt,"EcorePackageImpl/31",1214),Wht(1215,1,TFt,pu),zkt.wj=function(t){return MI(t,72)},zkt.xj=function(t){return WX(Goe,CFt,72,t,0,1)},_R(ANt,"EcorePackageImpl/32",1215),Wht(1216,1,TFt,bu),zkt.wj=function(t){return MI(t,155)},zkt.xj=function(t){return WX(Zjt,T_t,155,t,0,1)},_R(ANt,"EcorePackageImpl/33",1216),Wht(1217,1,TFt,wu),zkt.wj=function(t){return MI(t,19)},zkt.xj=function(t){return WX(Gjt,T_t,19,t,0,1)},_R(ANt,"EcorePackageImpl/34",1217),Wht(1218,1,TFt,yu),zkt.wj=function(t){return MI(t,290)},zkt.xj=function(t){return WX(K$t,r_t,290,t,0,1)},_R(ANt,"EcorePackageImpl/35",1218),Wht(1219,1,TFt,mu),zkt.wj=function(t){return MI(t,162)},zkt.xj=function(t){return WX(Jjt,T_t,162,t,0,1)},_R(ANt,"EcorePackageImpl/36",1219),Wht(1220,1,TFt,vu),zkt.wj=function(t){return MI(t,83)},zkt.xj=function(t){return WX(X$t,r_t,83,t,0,1)},_R(ANt,"EcorePackageImpl/37",1220),Wht(1221,1,TFt,xu),zkt.wj=function(t){return MI(t,591)},zkt.xj=function(t){return WX(yse,r_t,591,t,0,1)},_R(ANt,"EcorePackageImpl/38",1221),Wht(1222,1,TFt,ku),zkt.wj=function(t){return!1},zkt.xj=function(t){return WX(iue,r_t,2111,t,0,1)},_R(ANt,"EcorePackageImpl/39",1222),Wht(1187,1,TFt,_u),zkt.wj=function(t){return MI(t,88)},zkt.xj=function(t){return WX(roe,r_t,26,t,0,1)},_R(ANt,"EcorePackageImpl/4",1187),Wht(1223,1,TFt,Eu),zkt.wj=function(t){return MI(t,184)},zkt.xj=function(t){return WX(eRt,T_t,184,t,0,1)},_R(ANt,"EcorePackageImpl/40",1223),Wht(1224,1,TFt,Tu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(ANt,"EcorePackageImpl/41",1224),Wht(1225,1,TFt,Cu),zkt.wj=function(t){return MI(t,588)},zkt.xj=function(t){return WX(Eae,r_t,588,t,0,1)},_R(ANt,"EcorePackageImpl/42",1225),Wht(1226,1,TFt,Su),zkt.wj=function(t){return!1},zkt.xj=function(t){return WX(rue,T_t,2112,t,0,1)},_R(ANt,"EcorePackageImpl/43",1226),Wht(1227,1,TFt,Au),zkt.wj=function(t){return MI(t,42)},zkt.xj=function(t){return WX(rjt,F_t,42,t,0,1)},_R(ANt,"EcorePackageImpl/44",1227),Wht(1188,1,TFt,Mu),zkt.wj=function(t){return MI(t,138)},zkt.xj=function(t){return WX(ioe,r_t,138,t,0,1)},_R(ANt,"EcorePackageImpl/5",1188),Wht(1189,1,TFt,Iu),zkt.wj=function(t){return MI(t,148)},zkt.xj=function(t){return WX(aoe,r_t,148,t,0,1)},_R(ANt,"EcorePackageImpl/6",1189),Wht(1190,1,TFt,Lu),zkt.wj=function(t){return MI(t,457)},zkt.xj=function(t){return WX(coe,r_t,671,t,0,1)},_R(ANt,"EcorePackageImpl/7",1190),Wht(1191,1,TFt,Ou),zkt.wj=function(t){return MI(t,573)},zkt.xj=function(t){return WX(uoe,r_t,678,t,0,1)},_R(ANt,"EcorePackageImpl/8",1191),Wht(1192,1,TFt,Du),zkt.wj=function(t){return MI(t,471)},zkt.xj=function(t){return WX(iae,r_t,471,t,0,1)},_R(ANt,"EcorePackageImpl/9",1192),Wht(1025,1982,vBt,Ym),zkt.bi=function(t,e){!function(t,e){var n,i,r;if(e.vi(t.a),null!=(r=VP(q3(t.a,8),1936)))for(n=0,i=r.length;n<i;++n)null.jm()}(this,VP(e,415))},zkt.fi=function(t,e){Rut(this,t,VP(e,415))},_R(ANt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),Wht(1026,143,wBt,oz),zkt.Ai=function(){return this.a.a},_R(ANt,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),Wht(1053,1052,{},UM),_R("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var fse,dse,gse,pse,bse,wse,yse=oF(SFt,"Resource");Wht(781,1378,AFt),zkt.Yk=function(t){},zkt.Zk=function(t){},zkt.Vk=function(){return!this.a&&(this.a=new Wb(this)),this.a},zkt.Wk=function(t){var e,n,i,r,a;if((i=t.length)>0){if(DU(0,t.length),47==t.charCodeAt(0)){for(a=new wX(4),r=1,e=1;e<i;++e)DU(e,t.length),47==t.charCodeAt(e)&&(nB(a,r==e?"":t.substr(r,e-r)),r=e+1);return nB(a,t.substr(r)),Iat(this,a)}DU(i-1,t.length),63==t.charCodeAt(i-1)&&(n=HN(t,wst(63),i-2))>0&&(t=t.substr(0,n))}return function(t,e){var n,i,r,a,o,s;for(a=null,r=new xj((!t.a&&(t.a=new Wb(t)),t.a));cht(r);)if(imt(o=(n=VP(sdt(r),56)).Tg()),null!=(i=(s=o.o)&&n.mh(s)?FN(y4(s),n.ah(s)):null)&&jN(i,e)){a=n;break}return a}(this,t)},zkt.Xk=function(){return this.c},zkt.Ib=function(){return Nx(this.gm)+"@"+(K5(this)>>>0).toString(16)+" uri='"+this.d+"'"},zkt.b=!1,_R(MFt,"ResourceImpl",781),Wht(1379,781,AFt,Vb),_R(MFt,"BinaryResourceImpl",1379),Wht(1169,694,SPt),zkt.si=function(t){return MI(t,56)?function(t,e){return t.a?e.Wg().Kc():VP(e.Wg(),69).Zh()}(this,VP(t,56)):MI(t,591)?new YI(VP(t,591).Vk()):iA(t)===iA(this.f)?VP(t,14).Kc():(iD(),Oae.a)},zkt.Ob=function(){return cht(this)},zkt.a=!1,_R(BBt,"EcoreUtil/ContentTreeIterator",1169),Wht(1380,1169,SPt,xj),zkt.si=function(t){return iA(t)===iA(this.f)?VP(t,15).Kc():new lG(VP(t,56))},_R(MFt,"ResourceImpl/5",1380),Wht(648,1994,QBt,Wb),zkt.Hc=function(t){return this.i<=4?zat(this,t):MI(t,49)&&VP(t,49).Zg()==this.a},zkt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},zkt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):GX(this,t,e)},zkt.fi=function(t,e){},zkt.gi=function(t,e,n){},zkt.aj=function(){return 2},zkt.Ai=function(){return this.a},zkt.bj=function(){return!0},zkt.cj=function(t,e){return VP(t,49).wh(this.a,e)},zkt.dj=function(t,e){return VP(t,49).wh(null,e)},zkt.ej=function(){return!1},zkt.hi=function(){return!0},zkt.ri=function(t){return WX(Kre,r_t,56,t,0,1)},zkt.ni=function(){return!1},_R(MFt,"ResourceImpl/ContentsEList",648),Wht(957,1964,W_t,Xb),zkt.Zc=function(t){return this.a._h(t)},zkt.gc=function(){return this.a.gc()},_R(BBt,"AbstractSequentialInternalEList/1",957),Wht(624,1,{},IB),_R(BBt,"BasicExtendedMetaData",624),Wht(1160,1,{},YS),zkt.$k=function(){return null},zkt._k=function(){return-2==this.a&&(t=this,e=function(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),nFt)))for(i=1;i<(put(),fse).length;++i)if(jN(fse[i],r))return i;return 0}(this.d,this.b),t.a=e),this.a;var t,e},zkt.al=function(){return null},zkt.bl=function(){return Gq(),Gq(),TRt},zkt.ne=function(){return this.c==ZFt&&(t=this,e=ket(this.d,this.b),t.c=e),this.c;var t,e},zkt.cl=function(){return 0},zkt.a=-2,zkt.c=ZFt,_R(BBt,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),Wht(1161,1,{},mY),zkt.$k=function(){return this.a==(gW(),bse)&&(t=this,e=function(t,e){var n,i,r,a;return(i=e.Hh(t.a))&&(!i.b&&(i.b=new UO((Bkt(),Boe),cse,i)),null!=(n=fD(vtt(i.b,gFt)))&&MI(a=-1==(r=n.lastIndexOf("#"))?JO(t,e.Aj(),n):0==r?_V(t,null,n.substr(1)):_V(t,n.substr(0,r),n.substr(r+1)),148))?VP(a,148):null}(this.f,this.b),t.a=e),this.a;var t,e},zkt._k=function(){return 0},zkt.al=function(){return this.c==(gW(),bse)&&function(t,e){t.c=e}(this,(t=this.f,e=this.b,(n=e.Hh(t.a))&&(!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),null!=(r=fD(vtt(n.b,FFt)))&&MI(a=-1==(i=r.lastIndexOf("#"))?JO(t,e.Aj(),r):0==i?_V(t,null,r.substr(1)):_V(t,r.substr(0,i),r.substr(i+1)),148))?VP(a,148):null)),this.c;var t,e,n,i,r,a},zkt.bl=function(){return!this.d&&(t=this,e=function(t,e){var n,i,r,a,o,s,c,u,l;if((n=e.Hh(t.a))&&null!=(c=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),"memberTypes")))){for(u=new iw,o=0,s=(a=Lbt(c,"\\w")).length;o<s;++o)MI(l=-1==(i=(r=a[o]).lastIndexOf("#"))?JO(t,e.Aj(),r):0==i?_V(t,null,r.substr(1)):_V(t,r.substr(0,i),r.substr(i+1)),148)&&nB(u,VP(l,148));return u}return Gq(),Gq(),TRt}(this.f,this.b),t.d=e),this.d;var t,e},zkt.ne=function(){return this.e==ZFt&&(t=this,e=ket(this.f,this.b),t.e=e),this.e;var t,e},zkt.cl=function(){return-2==this.g&&(t=this,e=function(t,e){var n,i,r;if(n=e.Hh(t.a))for(r=fD(vtt((!n.b&&(n.b=new UO((Bkt(),Boe),cse,n)),n.b),RFt)),i=1;i<(put(),pse).length;++i)if(jN(pse[i],r))return i;return 0}(this.f,this.b),t.g=e),this.g;var t,e},zkt.e=ZFt,zkt.g=-2,_R(BBt,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),Wht(1159,1,{},VS),zkt.b=!1,zkt.c=!1,_R(BBt,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),Wht(1162,1,{},yY),zkt.c=-2,zkt.e=ZFt,zkt.f=ZFt,_R(BBt,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),Wht(585,622,JBt,MB),zkt.aj=function(){return this.c},zkt.Fk=function(){return!1},zkt.li=function(t,e){return e},zkt.c=0,_R(BBt,"EDataTypeEList",585);var mse,vse,xse,kse,_se=oF(BBt,"FeatureMap");Wht(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},n3),zkt.Vc=function(t,e){!function(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),Ngt(t.e,a)){if(a.hi())for(i=VP(t.g,119),o=0;o<t.i;++o)if(X7(s=i[o],r)&&o!=e)throw lw(new Xm(kPt))}else for(c=bgt(t.e.Tg(),a),i=VP(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak()))throw lw(new Xm(UFt));v8(t,e,n)}(this,t,VP(e,72))},zkt.Fc=function(t){return function(t,e){var n,i,r,a,o,s;if(r=(i=e).ak(),Ngt(t.e,r)){if(r.hi()&&qG(t,r,i.dd()))return!1}else for(s=bgt(t.e.Tg(),r),n=VP(t.g,119),a=0;a<t.i;++a)if(o=n[a],s.rl(o.ak()))return!X7(o,i)&&(VP(jnt(t,a,e),72),!0);return hV(t,e)}(this,VP(t,72))},zkt.Yh=function(t){vR(this,VP(t,72))},zkt.cj=function(t,e){return function(t,e,n){return function(t,e,n){return e.Qk(t.e,t.c,n)}(t,VP(e,332),n)}(this,VP(t,72),e)},zkt.dj=function(t,e){return QN(this,VP(t,72),e)},zkt.ii=function(t,e){return function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g;if(!bM(t.e))return VP(Xlt(t,e,n),72);if(e!=n&&(o=(d=(r=VP(t.g,119))[n]).ak(),Ngt(t.e,o))){for(g=bgt(t.e.Tg(),o),c=-1,s=-1,i=0,u=0,h=e>n?e:n;u<=h;++u)u==n?s=i++:(a=r[u],l=g.rl(a.ak()),u==e&&(c=u!=h||l?i:i-1),l&&++i);return f=VP(D8(t,e,n),72),s!=c&&Gw(t,new kV(t.e,7,o,p8(s),d.dd(),c)),f}return VP(D8(t,e,n),72)}(this,t,e)},zkt.li=function(t,e){return function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(MI(o=n.ak(),99)&&0!=(VP(o,18).Bb&iTt)&&(f=VP(n.dd(),49),(p=S7(t.e,f))!=f)){if(jI(t,e,Yot(t,0,l=WG(o,p))),h=null,bM(t.e)&&(i=rvt((put(),gse),t.e.Tg(),o))!=MJ(t.e.Tg(),t.c)){for(b=bgt(t.e.Tg(),o),s=0,a=VP(t.g,119),c=0;c<e;++c)r=a[c],b.rl(r.ak())&&++s;(h=new cK(t.e,9,i,f,p,s,!1)).Ei(new vQ(t.e,9,t.c,n,l,e,!1))}return(d=eit(g=VP(o,18)))?(h=f.ih(t.e,ett(f.Tg(),d),null,h),h=VP(p,49).gh(t.e,ett(p.Tg(),d),null,h)):0!=(g.Bb&CNt)&&(u=-1-ett(t.e.Tg(),g),h=f.ih(t.e,u,null,null),!VP(p,49).eh()&&(h=VP(p,49).gh(t.e,u,null,h))),h&&h.Fi(),l}return n}(this,t,VP(e,72))},zkt._c=function(t,e){return function(t,e,n){var i,r,a,o,s,c;if(a=(r=n).ak(),Ngt(t.e,a)){if(a.hi())for(i=VP(t.g,119),o=0;o<t.i;++o)if(X7(s=i[o],r)&&o!=e)throw lw(new Xm(kPt))}else for(c=bgt(t.e.Tg(),a),i=VP(t.g,119),o=0;o<t.i;++o)if(s=i[o],c.rl(s.ak())&&o!=e)throw lw(new Xm(UFt));return VP(jnt(t,e,n),72)}(this,t,VP(e,72))},zkt.jj=function(t,e){return function(t,e,n){return _ot(t,VP(e,332),n)}(this,VP(t,72),e)},zkt.kj=function(t,e){return JN(this,VP(t,72),e)},zkt.lj=function(t,e,n){return function(t,e,n,i){var r,a,o;return bM(t.e)&&(o=$H(t,1,r=e.ak(),e.dd(),a=n.dd(),r.$j()?Dyt(t,r,a,MI(r,99)&&0!=(VP(r,18).Bb&iTt)):-1,!0),i?i.Ei(o):i=o),i}(this,VP(t,72),VP(e,72),n)},zkt.oi=function(t,e){return Yot(this,0,VP(e,72))},zkt.dl=function(t,e){return $bt(this,t,e)},zkt.Wc=function(t,e){var n,i,r,a,o,s,c,u,l;for(u=new RJ(e.gc()),r=e.Kc();r.Ob();)if(a=(i=VP(r.Pb(),72)).ak(),Ngt(this.e,a))(!a.hi()||!qG(this,a,i.dd())&&!zat(u,i))&&hV(u,i);else{for(l=bgt(this.e.Tg(),a),n=VP(this.g,119),o=!0,s=0;s<this.i;++s)if(c=n[s],l.rl(c.ak())){VP(jnt(this,s,i),72),o=!1;break}o&&hV(u,i)}return h5(this,t,u)},zkt.Gc=function(t){var e,n,i,r,a,o,s,c,u;for(c=new RJ(t.gc()),i=t.Kc();i.Ob();)if(r=(n=VP(i.Pb(),72)).ak(),Ngt(this.e,r))(!r.hi()||!qG(this,r,n.dd())&&!zat(c,n))&&hV(c,n);else{for(u=bgt(this.e.Tg(),r),e=VP(this.g,119),a=!0,o=0;o<this.i;++o)if(s=e[o],u.rl(s.ak())){VP(jnt(this,o,n),72),a=!1;break}a&&hV(c,n)}return kR(this,c)},zkt.Wh=function(t){return this.j=-1,nyt(this,this.i,t)},zkt.el=function(t,e,n){return Qpt(this,t,e,n)},zkt.mk=function(t,e){return Nbt(this,t,e)},zkt.fl=function(t,e,n){return amt(this,t,e,n)},zkt.gl=function(){return this},zkt.hl=function(t,e){return cmt(this,t,e)},zkt.il=function(t){return VP(a1(this,t),72).ak()},zkt.jl=function(t){return VP(a1(this,t),72).dd()},zkt.kl=function(){return this.b},zkt.bj=function(){return!0},zkt.ij=function(){return!0},zkt.ll=function(t){return!xtt(this,t)},zkt.ri=function(t){return WX(use,CFt,332,t,0,1)},zkt.Gk=function(t){return tD(this,t)},zkt.Wb=function(t){uR(this,t)},zkt.ml=function(t,e){kmt(this,t,e)},zkt.nl=function(t){return Z0(this,t)},zkt.ol=function(t){Vit(this,t)},_R(BBt,"BasicFeatureMap",75),Wht(1851,1,x_t),zkt.Nb=function(t){Aj(this,t)},zkt.Rb=function(t){if(-1==this.g)throw lw(new Dw);H$(this);try{Dgt(this.e,this.b,this.a,t),this.d=this.e.j,Fnt(this)}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}},zkt.Ob=function(){return E6(this)},zkt.Sb=function(){return T6(this)},zkt.Pb=function(){return Fnt(this)},zkt.Tb=function(){return this.a},zkt.Ub=function(){var t;if(T6(this))return H$(this),this.g=--this.a,this.Lk()&&(t=Zlt(this.e,this.b,this.c,this.a,this.j),this.j=t),this.i=0,this.j;throw lw(new $w)},zkt.Vb=function(){return this.a-1},zkt.Qb=function(){if(-1==this.g)throw lw(new Dw);H$(this);try{Qct(this.e,this.b,this.g),this.d=this.e.j,this.g<this.a&&(--this.a,--this.c),--this.g}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}},zkt.Lk=function(){return!1},zkt.Wb=function(t){if(-1==this.g)throw lw(new Dw);H$(this);try{dyt(this.e,this.b,this.g,t),this.d=this.e.j}catch(t){throw MI(t=k4(t),73)?lw(new Bw):lw(t)}},zkt.a=0,zkt.c=0,zkt.d=0,zkt.f=!1,zkt.g=0,zkt.i=0,_R(BBt,"FeatureMapUtil/BasicFeatureEIterator",1851),Wht(410,1851,x_t,V3),zkt.pl=function(){var t,e,n;for(n=this.e.i,t=VP(this.e.g,119);this.c<n;){if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=2,!0;++this.c}return this.i=1,this.g=-1,!1},zkt.ql=function(){var t,e;for(t=VP(this.e.g,119);--this.c>=0;)if(e=t[this.c],this.k.rl(e.ak()))return this.j=this.f?e:e.dd(),this.i=-2,!0;return this.i=-1,this.g=-1,!1},_R(BBt,"BasicFeatureMap/FeatureEIterator",410),Wht(662,410,x_t,HA),zkt.Lk=function(){return!0},_R(BBt,"BasicFeatureMap/ResolvingFeatureEIterator",662),Wht(955,486,aFt,yI),zkt.Gi=function(){return this},_R(BBt,"EContentsEList/1",955),Wht(956,486,aFt,ZA),zkt.Lk=function(){return!1},_R(BBt,"EContentsEList/2",956),Wht(954,279,oFt,mI),zkt.Nk=function(t){},zkt.Ob=function(){return!1},zkt.Sb=function(){return!1},_R(BBt,"EContentsEList/FeatureIteratorImpl/1",954),Wht(825,585,JBt,JI),zkt.ci=function(){this.a=!0},zkt.fj=function(){return this.a},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.a,this.a=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.a=!1},zkt.a=!1,_R(BBt,"EDataTypeEList/Unsettable",825),Wht(1849,585,JBt,tL),zkt.hi=function(){return!0},_R(BBt,"EDataTypeUniqueEList",1849),Wht(1850,825,JBt,eL),zkt.hi=function(){return!0},_R(BBt,"EDataTypeUniqueEList/Unsettable",1850),Wht(139,85,JBt,WI),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectContainmentEList/Resolving",139),Wht(1163,545,JBt,XI),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectContainmentEList/Unsettable/Resolving",1163),Wht(748,16,JBt,EN),zkt.ci=function(){this.a=!0},zkt.fj=function(){return this.a},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.a,this.a=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.a=!1},zkt.a=!1,_R(BBt,"EObjectContainmentWithInverseEList/Unsettable",748),Wht(1173,748,JBt,TN),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),Wht(743,496,JBt,VI),zkt.ci=function(){this.a=!0},zkt.fj=function(){return this.a},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.a,this.a=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.a=!1},zkt.a=!1,_R(BBt,"EObjectEList/Unsettable",743),Wht(328,496,JBt,QI),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectResolvingEList",328),Wht(1641,743,JBt,nL),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectResolvingEList/Unsettable",1641),Wht(1381,1,{},Nu),_R(BBt,"EObjectValidator",1381),Wht(546,496,JBt,vj),zkt.zk=function(){return this.d},zkt.Ak=function(){return this.b},zkt.bj=function(){return!0},zkt.Dk=function(){return!0},zkt.b=0,_R(BBt,"EObjectWithInverseEList",546),Wht(1176,546,JBt,CN),zkt.Ck=function(){return!0},_R(BBt,"EObjectWithInverseEList/ManyInverse",1176),Wht(625,546,JBt,SN),zkt.ci=function(){this.a=!0},zkt.fj=function(){return this.a},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.a,this.a=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.a=!1},zkt.a=!1,_R(BBt,"EObjectWithInverseEList/Unsettable",625),Wht(1175,625,JBt,MN),zkt.Ck=function(){return!0},_R(BBt,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),Wht(749,546,JBt,AN),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectWithInverseResolvingEList",749),Wht(31,749,JBt,LN),zkt.Ck=function(){return!0},_R(BBt,"EObjectWithInverseResolvingEList/ManyInverse",31),Wht(750,625,JBt,IN),zkt.Ek=function(){return!0},zkt.li=function(t,e){return Dht(this,t,VP(e,56))},_R(BBt,"EObjectWithInverseResolvingEList/Unsettable",750),Wht(1174,750,JBt,ON),zkt.Ck=function(){return!0},_R(BBt,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),Wht(1164,622,JBt),zkt.ai=function(){return 0==(1792&this.b)},zkt.ci=function(){this.b|=1},zkt.Bk=function(){return 0!=(4&this.b)},zkt.bj=function(){return 0!=(40&this.b)},zkt.Ck=function(){return 0!=(16&this.b)},zkt.Dk=function(){return 0!=(8&this.b)},zkt.Ek=function(){return 0!=(this.b&zBt)},zkt.rk=function(){return 0!=(32&this.b)},zkt.Fk=function(){return 0!=(this.b&FNt)},zkt.wj=function(t){return this.d?jG(this.d,t):this.ak().Yj().wj(t)},zkt.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},zkt.hi=function(){return 0!=(128&this.b)},zkt.Xj=function(){var t;Hmt(this),0!=(2&this.b)&&(bM(this.e)?(t=0!=(1&this.b),this.b&=-2,Gw(this,new IW(this.e,2,ett(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},zkt.ni=function(){return 0==(1536&this.b)},zkt.b=0,_R(BBt,"EcoreEList/Generic",1164),Wht(1165,1164,JBt,nH),zkt.ak=function(){return this.a},_R(BBt,"EcoreEList/Dynamic",1165),Wht(747,63,CPt,Qb),zkt.ri=function(t){return q1(this.a.a,t)},_R(BBt,"EcoreEMap/1",747),Wht(746,85,JBt,bj),zkt.bi=function(t,e){nit(this.b,VP(e,133))},zkt.di=function(t,e){L3(this.b)},zkt.ei=function(t,e,n){var i;++(i=this.b,VP(e,133),i).e},zkt.fi=function(t,e){N8(this.b,VP(e,133))},zkt.gi=function(t,e,n){N8(this.b,VP(n,133)),iA(n)===iA(e)&&VP(n,133).Th(function(t){return null==t?0:K5(t)}(VP(e,133).cd())),nit(this.b,VP(e,133))},_R(BBt,"EcoreEMap/DelegateEObjectContainmentEList",746),Wht(1171,151,$Bt,k0),_R(BBt,"EcoreEMap/Unsettable",1171),Wht(1172,746,JBt,DN),zkt.ci=function(){this.a=!0},zkt.fj=function(){return this.a},zkt.Xj=function(){var t;Hmt(this),bM(this.e)?(t=this.a,this.a=!1,$3(this.e,new IW(this.e,2,this.c,t,!1))):this.a=!1},zkt.a=!1,_R(BBt,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),Wht(1168,228,wTt,wR),zkt.a=!1,zkt.b=!1,_R(BBt,"EcoreUtil/Copier",1168),Wht(745,1,f_t,lG),zkt.Nb=function(t){Aj(this,t)},zkt.Ob=function(){return ktt(this)},zkt.Pb=function(){var t;return ktt(this),t=this.b,this.b=null,t},zkt.Qb=function(){this.a.Qb()},_R(BBt,"EcoreUtil/ProperContentIterator",745),Wht(1382,1381,{},Fh),_R(BBt,"EcoreValidator",1382),oF(BBt,"FeatureMapUtil/Validator"),Wht(1260,1,{1942:1},Pu),zkt.rl=function(t){return!0},_R(BBt,"FeatureMapUtil/1",1260),Wht(757,1,{1942:1},xxt),zkt.rl=function(t){var e;return this.c==t||(null==(e=lD(zR(this.a,t)))?function(t,e){var n;return t.f==kse?(n=Ez(SQ((put(),gse),e)),t.e?4==n&&e!=(bht(),Sse)&&e!=(bht(),Ese)&&e!=(bht(),Tse)&&e!=(bht(),Cse):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(zU(SQ((put(),gse),e)))||t.d.Hc(rvt((put(),gse),t.b,e))))||!(!t.f||!jdt((put(),t.f),eq(SQ(gse,e))))&&(n=Ez(SQ(gse,e)),t.e?4==n:2==n)}(this,t)?(DW(this.a,t,(EL(),Njt)),!0):(DW(this.a,t,(EL(),Djt)),!1):e==(EL(),Njt))},zkt.e=!1,_R(BBt,"FeatureMapUtil/BasicValidator",757),Wht(758,43,wTt,vI),_R(BBt,"FeatureMapUtil/BasicValidator/Cache",758),Wht(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},WS),zkt.Vc=function(t,e){Dgt(this.c,this.b,t,e)},zkt.Fc=function(t){return $bt(this.c,this.b,t)},zkt.Wc=function(t,e){return function(t,e,n,i){var r,a,o,s,c,u,l,h;if(0==i.gc())return!1;if(EE(),o=(c=VP(e,66).Oj())?i:new RJ(i.gc()),Ngt(t.e,e)){if(e.hi())for(l=i.Kc();l.Ob();)fyt(t,e,u=l.Pb(),MI(e,99)&&0!=(VP(e,18).Bb&iTt))||(a=WG(e,u),o.Fc(a));else if(!c)for(l=i.Kc();l.Ob();)a=WG(e,u=l.Pb()),o.Fc(a)}else{for(h=bgt(t.e.Tg(),e),r=VP(t.g,119),s=0;s<t.i;++s)if(a=r[s],h.rl(a.ak()))throw lw(new Xm(UFt));if(i.gc()>1)throw lw(new Xm(UFt));c||(a=WG(e,i.Kc().Pb()),o.Fc(a))}return h5(t,fut(t,e,n),o)}(this.c,this.b,t,e)},zkt.Gc=function(t){return EI(this,t)},zkt.Xh=function(t,e){!function(t,e,n,i){t.j=-1,Oht(t,fut(t,e,n),(EE(),VP(e,66).Mj().Ok(i)))}(this.c,this.b,t,e)},zkt.lk=function(t,e){return Qpt(this.c,this.b,t,e)},zkt.pi=function(t){return smt(this.c,this.b,t,!1)},zkt.Zh=function(){return mM(this.c,this.b)},zkt.$h=function(){return t=this.c,new V3(this.b,t);var t},zkt._h=function(t){return function(t,e,n){var i,r;for(r=new V3(e,t),i=0;i<n;++i)Fnt(r);return r}(this.c,this.b,t)},zkt.mk=function(t,e){return FD(this,t,e)},zkt.$b=function(){Kw(this)},zkt.Hc=function(t){return qG(this.c,this.b,t)},zkt.Ic=function(t){return function(t,e,n){var i;for(i=n.Kc();i.Ob();)if(!qG(t,e,i.Pb()))return!1;return!0}(this.c,this.b,t)},zkt.Xb=function(t){return smt(this.c,this.b,t,!0)},zkt.Wj=function(t){return this},zkt.Xc=function(t){return function(t,e,n){return Dyt(t,e,n,MI(e,99)&&0!=(VP(e,18).Bb&iTt))}(this.c,this.b,t)},zkt.dc=function(){return eA(this)},zkt.fj=function(){return!xtt(this.c,this.b)},zkt.Kc=function(){return t=this.c,MI(e=this.b,99)&&0!=(VP(e,18).Bb&iTt)?new HA(e,t):new V3(e,t);var t,e},zkt.Yc=function(){return t=this.c,MI(e=this.b,99)&&0!=(VP(e,18).Bb&iTt)?new HA(e,t):new V3(e,t);var t,e},zkt.Zc=function(t){return function(t,e,n){var i,r;for(r=MI(e,99)&&0!=(VP(e,18).Bb&iTt)?new HA(e,t):new V3(e,t),i=0;i<n;++i)Fnt(r);return r}(this.c,this.b,t)},zkt.ii=function(t,e){return Gwt(this.c,this.b,t,e)},zkt.ji=function(t,e){!function(t,e,n,i){Gwt(t,e,n,Dyt(t,e,i,MI(e,99)&&0!=(VP(e,18).Bb&iTt)))}(this.c,this.b,t,e)},zkt.$c=function(t){return Qct(this.c,this.b,t)},zkt.Mc=function(t){return function(t,e,n){var i,r,a,o;if(o=bgt(t.e.Tg(),e),i=VP(t.g,119),EE(),VP(e,66).Oj()){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&X7(r,n))return npt(t,a),!0}else if(null!=n){for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&X7(n,r.dd()))return npt(t,a),!0}else for(a=0;a<t.i;++a)if(r=i[a],o.rl(r.ak())&&null==r.dd())return npt(t,a),!0;return!1}(this.c,this.b,t)},zkt._c=function(t,e){return dyt(this.c,this.b,t,e)},zkt.Wb=function(t){kht(this.c,this.b),EI(this,VP(t,15))},zkt.gc=function(){return function(t,e){var n,i,r,a,o;for(o=bgt(t.e.Tg(),e),a=0,n=VP(t.g,119),r=0;r<t.i;++r)i=n[r],o.rl(i.ak())&&++a;return a}(this.c,this.b)},zkt.Pc=function(){return FU(this.c,this.b)},zkt.Qc=function(t){return HG(this.c,this.b,t)},zkt.Ib=function(){var t,e;for((e=new Mv).a+="[",t=mM(this.c,this.b);E6(t);)wA(e,PL(Fnt(t))),E6(t)&&(e.a+=n_t);return e.a+="]",e.a},zkt.Xj=function(){kht(this.c,this.b)},_R(BBt,"FeatureMapUtil/FeatureEList",501),Wht(627,36,wBt,cK),zkt.yi=function(t){return g8(this,t)},zkt.Di=function(t){var e,n,i,r;switch(this.d){case 1:case 2:if(iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return this.d=5,hV(e=new RJ(2),this.g),hV(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return VP(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return this.d=6,hV(r=new RJ(2),this.n),hV(r,t.Bi()),this.n=r,i=P4(Zv(Kce,1),CEt,25,15,[this.o,t.Ci()]),this.g=i,!0}break;case 6:if(4===t.xi()&&iA(t.Ai())===iA(this.c)&&g8(this,null)==t.yi(null))return VP(this.n,14).Fc(t.Bi()),lmt(i=VP(this.g,48),0,n=WX(Kce,CEt,25,i.length+1,15,1),0,i.length),n[i.length]=t.Ci(),this.g=n,!0}return!1},_R(BBt,"FeatureMapUtil/FeatureENotificationImpl",627),Wht(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},aF),zkt.dl=function(t,e){return $bt(this.c,t,e)},zkt.el=function(t,e,n){return Qpt(this.c,t,e,n)},zkt.fl=function(t,e,n){return amt(this.c,t,e,n)},zkt.gl=function(){return this},zkt.hl=function(t,e){return cmt(this.c,t,e)},zkt.il=function(t){return VP(smt(this.c,this.b,t,!1),72).ak()},zkt.jl=function(t){return VP(smt(this.c,this.b,t,!1),72).dd()},zkt.kl=function(){return this.a},zkt.ll=function(t){return!xtt(this.c,t)},zkt.ml=function(t,e){kmt(this.c,t,e)},zkt.nl=function(t){return Z0(this.c,t)},zkt.ol=function(t){Vit(this.c,t)},_R(BBt,"FeatureMapUtil/FeatureFeatureMap",552),Wht(1259,1,FBt,QS),zkt.Wj=function(t){return smt(this.b,this.a,-1,t)},zkt.fj=function(){return!xtt(this.b,this.a)},zkt.Wb=function(t){kmt(this.b,this.a,t)},zkt.Xj=function(){kht(this.b,this.a)},_R(BBt,"FeatureMapUtil/FeatureValue",1259);var Ese,Tse,Cse,Sse,Ase,Mse=oF(YFt,"AnyType");Wht(666,60,iEt,hv),_R(YFt,"InvalidDatatypeValueException",666);var Ise,Lse,Ose,Dse,Nse,Pse,Bse,Fse,$se,jse,Rse,zse,qse,Hse,Zse,Use,Yse,Gse,Kse,Wse,Xse,Vse,Qse,Jse,tce,ece,nce,ice,rce,ace,oce=oF(YFt,GFt),sce=oF(YFt,KFt),cce=oF(YFt,WFt);Wht(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Xy),zkt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new n3(this,0)),this.c):(!this.c&&(this.c=new n3(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)):(!this.c&&(this.c=new n3(this,0)),VP(VP(kU(this.c,(svt(),Dse)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new n3(this,2)),this.b):(!this.b&&(this.b=new n3(this,2)),this.b.b)}return FV(this,t-yR(this.zh()),MJ(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Ph),this.k).ck(),t),e,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new n3(this,0)),Nbt(this.c,t,n);case 1:return(!this.c&&(this.c=new n3(this,0)),VP(VP(kU(this.c,(svt(),Dse)),153),69)).mk(t,n);case 2:return!this.b&&(this.b=new n3(this,2)),Nbt(this.b,t,n)}return VP(MJ(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Ph),this.k).ck(),e),66).Nj().Rj(this,BQ(this),e-yR(this.zh()),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return PG(this,t-yR(this.zh()),MJ(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new n3(this,0)),void uR(this.c,e);case 1:return void(!this.c&&(this.c=new n3(this,0)),VP(VP(kU(this.c,(svt(),Dse)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new n3(this,2)),void uR(this.b,e)}_9(this,t-yR(this.zh()),MJ(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Ph),this.k).ck(),t),e)},zkt.zh=function(){return svt(),Ose},zkt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new n3(this,0)),void Hmt(this.c);case 1:return void(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)).$b();case 2:return!this.b&&(this.b=new n3(this,2)),void Hmt(this.b)}r8(this,t-yR(this.zh()),MJ(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.Ib=function(){var t;return 0!=(4&this.j)?jft(this):((t=new TL(jft(this))).a+=" (mixed: ",bA(t,this.c),t.a+=", anyAttribute: ",bA(t,this.b),t.a+=")",t.a)},_R(XFt,"AnyTypeImpl",830),Wht(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Fu),zkt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return FV(this,t-yR((svt(),Use)),MJ(0==(2&this.j)?Use:(!this.k&&(this.k=new Ph),this.k).ck(),t),e,n)},zkt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return PG(this,t-yR((svt(),Use)),MJ(0==(2&this.j)?Use:(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.sh=function(t,e){switch(t){case 0:return void function(t,e){t.a=e}(this,fD(e));case 1:return void function(t,e){t.b=e}(this,fD(e))}_9(this,t-yR((svt(),Use)),MJ(0==(2&this.j)?Use:(!this.k&&(this.k=new Ph),this.k).ck(),t),e)},zkt.zh=function(){return svt(),Use},zkt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}r8(this,t-yR((svt(),Use)),MJ(0==(2&this.j)?Use:(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.Ib=function(){var t;return 0!=(4&this.j)?jft(this):((t=new TL(jft(this))).a+=" (data: ",wA(t,this.a),t.a+=", target: ",wA(t,this.b),t.a+=")",t.a)},zkt.a=null,zkt.b=null,_R(XFt,"ProcessingInstructionImpl",667),Wht(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},Qy),zkt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new n3(this,0)),this.c):(!this.c&&(this.c=new n3(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)):(!this.c&&(this.c=new n3(this,0)),VP(VP(kU(this.c,(svt(),Dse)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new n3(this,2)),this.b):(!this.b&&(this.b=new n3(this,2)),this.b.b);case 3:return!this.c&&(this.c=new n3(this,0)),fD(cmt(this.c,(svt(),Kse),!0));case 4:return BN(this.a,(!this.c&&(this.c=new n3(this,0)),fD(cmt(this.c,(svt(),Kse),!0))));case 5:return this.a}return FV(this,t-yR((svt(),Gse)),MJ(0==(2&this.j)?Gse:(!this.k&&(this.k=new Ph),this.k).ck(),t),e,n)},zkt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new n3(this,0)),null!=fD(cmt(this.c,(svt(),Kse),!0));case 4:return null!=BN(this.a,(!this.c&&(this.c=new n3(this,0)),fD(cmt(this.c,(svt(),Kse),!0))));case 5:return!!this.a}return PG(this,t-yR((svt(),Gse)),MJ(0==(2&this.j)?Gse:(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new n3(this,0)),void uR(this.c,e);case 1:return void(!this.c&&(this.c=new n3(this,0)),VP(VP(kU(this.c,(svt(),Dse)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new n3(this,2)),void uR(this.b,e);case 3:return void vY(this,fD(e));case 4:return void vY(this,FN(this.a,e));case 5:return void function(t,e){t.a=e}(this,VP(e,148))}_9(this,t-yR((svt(),Gse)),MJ(0==(2&this.j)?Gse:(!this.k&&(this.k=new Ph),this.k).ck(),t),e)},zkt.zh=function(){return svt(),Gse},zkt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new n3(this,0)),void Hmt(this.c);case 1:return void(!this.c&&(this.c=new n3(this,0)),VP(kU(this.c,(svt(),Dse)),153)).$b();case 2:return!this.b&&(this.b=new n3(this,2)),void Hmt(this.b);case 3:return!this.c&&(this.c=new n3(this,0)),void kmt(this.c,(svt(),Kse),null);case 4:return void vY(this,FN(this.a,null));case 5:return void(this.a=null)}r8(this,t-yR((svt(),Gse)),MJ(0==(2&this.j)?Gse:(!this.k&&(this.k=new Ph),this.k).ck(),t))},_R(XFt,"SimpleAnyTypeImpl",668),Wht(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Vy),zkt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new n3(this,0)),this.a):(!this.a&&(this.a=new n3(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new vV((Bkt(),Boe),cse,this,1)),this.b):(!this.b&&(this.b=new vV((Bkt(),Boe),cse,this,1)),YX(this.b));case 2:return n?(!this.c&&(this.c=new vV((Bkt(),Boe),cse,this,2)),this.c):(!this.c&&(this.c=new vV((Bkt(),Boe),cse,this,2)),YX(this.c));case 3:return!this.a&&(this.a=new n3(this,0)),kU(this.a,(svt(),Vse));case 4:return!this.a&&(this.a=new n3(this,0)),kU(this.a,(svt(),Qse));case 5:return!this.a&&(this.a=new n3(this,0)),kU(this.a,(svt(),tce));case 6:return!this.a&&(this.a=new n3(this,0)),kU(this.a,(svt(),ece))}return FV(this,t-yR((svt(),Xse)),MJ(0==(2&this.j)?Xse:(!this.k&&(this.k=new Ph),this.k).ck(),t),e,n)},zkt.jh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new n3(this,0)),Nbt(this.a,t,n);case 1:return!this.b&&(this.b=new vV((Bkt(),Boe),cse,this,1)),VN(this.b,t,n);case 2:return!this.c&&(this.c=new vV((Bkt(),Boe),cse,this,2)),VN(this.c,t,n);case 5:return!this.a&&(this.a=new n3(this,0)),FD(kU(this.a,(svt(),tce)),t,n)}return VP(MJ(0==(2&this.j)?(svt(),Xse):(!this.k&&(this.k=new Ph),this.k).ck(),e),66).Nj().Rj(this,BQ(this),e-yR((svt(),Xse)),t,n)},zkt.lh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new n3(this,0)),!eA(kU(this.a,(svt(),Vse)));case 4:return!this.a&&(this.a=new n3(this,0)),!eA(kU(this.a,(svt(),Qse)));case 5:return!this.a&&(this.a=new n3(this,0)),!eA(kU(this.a,(svt(),tce)));case 6:return!this.a&&(this.a=new n3(this,0)),!eA(kU(this.a,(svt(),ece)))}return PG(this,t-yR((svt(),Xse)),MJ(0==(2&this.j)?Xse:(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.sh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new n3(this,0)),void uR(this.a,e);case 1:return!this.b&&(this.b=new vV((Bkt(),Boe),cse,this,1)),void S3(this.b,e);case 2:return!this.c&&(this.c=new vV((Bkt(),Boe),cse,this,2)),void S3(this.c,e);case 3:return!this.a&&(this.a=new n3(this,0)),Kw(kU(this.a,(svt(),Vse))),!this.a&&(this.a=new n3(this,0)),void EI(kU(this.a,Vse),VP(e,14));case 4:return!this.a&&(this.a=new n3(this,0)),Kw(kU(this.a,(svt(),Qse))),!this.a&&(this.a=new n3(this,0)),void EI(kU(this.a,Qse),VP(e,14));case 5:return!this.a&&(this.a=new n3(this,0)),Kw(kU(this.a,(svt(),tce))),!this.a&&(this.a=new n3(this,0)),void EI(kU(this.a,tce),VP(e,14));case 6:return!this.a&&(this.a=new n3(this,0)),Kw(kU(this.a,(svt(),ece))),!this.a&&(this.a=new n3(this,0)),void EI(kU(this.a,ece),VP(e,14))}_9(this,t-yR((svt(),Xse)),MJ(0==(2&this.j)?Xse:(!this.k&&(this.k=new Ph),this.k).ck(),t),e)},zkt.zh=function(){return svt(),Xse},zkt.Bh=function(t){switch(t){case 0:return!this.a&&(this.a=new n3(this,0)),void Hmt(this.a);case 1:return!this.b&&(this.b=new vV((Bkt(),Boe),cse,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new vV((Bkt(),Boe),cse,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new n3(this,0)),void Kw(kU(this.a,(svt(),Vse)));case 4:return!this.a&&(this.a=new n3(this,0)),void Kw(kU(this.a,(svt(),Qse)));case 5:return!this.a&&(this.a=new n3(this,0)),void Kw(kU(this.a,(svt(),tce)));case 6:return!this.a&&(this.a=new n3(this,0)),void Kw(kU(this.a,(svt(),ece)))}r8(this,t-yR((svt(),Xse)),MJ(0==(2&this.j)?Xse:(!this.k&&(this.k=new Ph),this.k).ck(),t))},zkt.Ib=function(){var t;return 0!=(4&this.j)?jft(this):((t=new TL(jft(this))).a+=" (mixed: ",bA(t,this.a),t.a+=")",t.a)},_R(XFt,"XMLTypeDocumentRootImpl",669),Wht(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Bu),zkt.Ih=function(t,e){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:A9(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return fD(e);case 6:return sD(VP(e,190));case 12:case 47:case 49:case 11:return Fvt(this,t,e);case 13:return null==e?null:function(t){var e,i,r,a;if(r=ykt((!t.c&&(t.c=Q6(t.f)),t.c),0),0==t.e||0==t.a&&-1!=t.f&&t.e<0)return r;if(e=s0(t)<0?1:0,i=t.e,r.length,n.Math.abs(cZ(t.e)),a=new Ov,1==e&&(a.a+="-"),t.e>0)if((i-=r.length-e)>=0){for(a.a+="0.";i>aRt.length;i-=aRt.length)_F(a,aRt);XD(a,aRt,cZ(i)),vA(a,r.substr(e))}else vA(a,fO(r,e,cZ(i=e-i))),a.a+=".",vA(a,fA(r,cZ(i)));else{for(vA(a,r.substr(e));i<-aRt.length;i+=aRt.length)_F(a,aRt);XD(a,aRt,cZ(-i))}return a.a}(VP(e,240));case 15:case 14:return null==e?null:function(t){return t==JEt?VFt:t==tTt?"-INF":""+t}(ev(hD(e)));case 17:return xot((svt(),e));case 18:return xot(e);case 21:case 20:return null==e?null:function(t){return t==JEt?VFt:t==tTt?"-INF":""+t}(VP(e,155).a);case 27:return cD(VP(e,190));case 30:return Qit((svt(),VP(e,15)));case 31:return Qit(VP(e,15));case 40:case 59:case 48:return function(t){return null==t?null:A9(t)}((svt(),e));case 42:return kot((svt(),e));case 43:return kot(e);default:throw lw(new Xm(LNt+t.ne()+ONt))}},zkt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=i1(t))?$nt(e.Mh(),t):-1),t.G){case 0:return new Xy;case 1:return new Fu;case 2:return new Qy;case 3:return new Vy;default:throw lw(new Xm(PNt+t.zb+ONt))}},zkt.Kh=function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;switch(t.yj()){case 5:case 52:case 4:return e;case 6:return lnt(e);case 8:case 7:return null==e?null:function(t){if(t=Xyt(t,!0),jN(kDt,t)||jN("1",t))return EL(),Njt;if(jN(_Dt,t)||jN("0",t))return EL(),Djt;throw lw(new hv("Invalid boolean value: '"+t+"'"))}(e);case 9:return null==e?null:iJ(rwt((i=Xyt(e,!0)).length>0&&(DU(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==e?null:iJ(rwt((r=Xyt(e,!0)).length>0&&(DU(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return fD(fkt(this,(svt(),Bse),e));case 12:return fD(fkt(this,(svt(),Fse),e));case 13:return null==e?null:new Kx(Xyt(e,!0));case 15:case 14:return function(t){var e,n,i,r;if(null==t)return null;if(i=Xyt(t,!0),r=VFt.length,jN(i.substr(i.length-r,r),VFt))if(4==(n=i.length)){if(DU(0,i.length),43==(e=i.charCodeAt(0)))return ice;if(45==e)return nce}else if(3==n)return ice;return wct(i)}(e);case 16:return fD(fkt(this,(svt(),$se),e));case 17:return Xtt((svt(),e));case 18:return Xtt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return Xyt(e,!0);case 21:case 20:return function(t){var e,n,i,r;if(null==t)return null;if(i=Xyt(t,!0),r=VFt.length,jN(i.substr(i.length-r,r),VFt))if(4==(n=i.length)){if(DU(0,i.length),43==(e=i.charCodeAt(0)))return ace;if(45==e)return rce}else if(3==n)return ace;return new Ww(i)}(e);case 22:return fD(fkt(this,(svt(),jse),e));case 23:return fD(fkt(this,(svt(),Rse),e));case 24:return fD(fkt(this,(svt(),zse),e));case 25:return fD(fkt(this,(svt(),qse),e));case 26:return fD(fkt(this,(svt(),Hse),e));case 27:return Yet(e);case 30:return Vtt((svt(),e));case 31:return Vtt(e);case 32:return null==e?null:p8(rwt((l=Xyt(e,!0)).length>0&&(DU(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,eEt,Qkt));case 33:return null==e?null:new AM((h=Xyt(e,!0)).length>0&&(DU(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:p8(rwt((f=Xyt(e,!0)).length>0&&(DU(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,eEt,Qkt));case 36:return null==e?null:xet(vxt((d=Xyt(e,!0)).length>0&&(DU(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:xet(vxt((g=Xyt(e,!0)).length>0&&(DU(0,g.length),43==g.charCodeAt(0))?g.substr(1):g));case 40:case 59:case 48:return function(t){var e;return null==t?null:new AM((e=Xyt(t,!0)).length>0&&(DU(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}((svt(),e));case 42:return Qtt((svt(),e));case 43:return Qtt(e);case 44:return null==e?null:new AM((p=Xyt(e,!0)).length>0&&(DU(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new AM((b=Xyt(e,!0)).length>0&&(DU(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return Xyt(e,!1);case 47:return fD(fkt(this,(svt(),Zse),e));case 49:return fD(fkt(this,(svt(),Yse),e));case 50:return null==e?null:b8(rwt((w=Xyt(e,!0)).length>0&&(DU(0,w.length),43==w.charCodeAt(0))?w.substr(1):w,fFt,32767)<<16>>16);case 51:return null==e?null:b8(rwt((a=Xyt(e,!0)).length>0&&(DU(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,fFt,32767)<<16>>16);case 53:return fD(fkt(this,(svt(),Wse),e));case 55:return null==e?null:b8(rwt((o=Xyt(e,!0)).length>0&&(DU(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,fFt,32767)<<16>>16);case 56:return null==e?null:b8(rwt((s=Xyt(e,!0)).length>0&&(DU(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,fFt,32767)<<16>>16);case 57:return null==e?null:xet(vxt((c=Xyt(e,!0)).length>0&&(DU(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:xet(vxt((u=Xyt(e,!0)).length>0&&(DU(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==e?null:p8(rwt((n=Xyt(e,!0)).length>0&&(DU(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,eEt,Qkt));case 61:return null==e?null:p8(rwt(Xyt(e,!0),eEt,Qkt));default:throw lw(new Xm(LNt+t.ne()+ONt))}},_R(XFt,"XMLTypeFactoryImpl",1919),Wht(586,179,{105:1,92:1,90:1,147:1,191:1,56:1,235:1,108:1,49:1,97:1,150:1,179:1,114:1,115:1,675:1,1945:1,586:1},Lz),zkt.N=!1,zkt.O=!1;var uce,lce,hce,fce,dce,gce=!1;_R(XFt,"XMLTypePackageImpl",586),Wht(1852,1,{837:1},$u),zkt._j=function(){return zwt(),jce},_R(XFt,"XMLTypePackageImpl/1",1852),Wht(1861,1,TFt,ju),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/10",1861),Wht(1862,1,TFt,Ru),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/11",1862),Wht(1863,1,TFt,zu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/12",1863),Wht(1864,1,TFt,qu),zkt.wj=function(t){return aA(t)},zkt.xj=function(t){return WX(Hjt,T_t,333,t,7,1)},_R(XFt,"XMLTypePackageImpl/13",1864),Wht(1865,1,TFt,Hu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/14",1865),Wht(1866,1,TFt,Zu),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/15",1866),Wht(1867,1,TFt,Uu),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/16",1867),Wht(1868,1,TFt,Yu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/17",1868),Wht(1869,1,TFt,Gu),zkt.wj=function(t){return MI(t,155)},zkt.xj=function(t){return WX(Zjt,T_t,155,t,0,1)},_R(XFt,"XMLTypePackageImpl/18",1869),Wht(1870,1,TFt,Ku),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/19",1870),Wht(1853,1,TFt,Wu),zkt.wj=function(t){return MI(t,843)},zkt.xj=function(t){return WX(Mse,r_t,843,t,0,1)},_R(XFt,"XMLTypePackageImpl/2",1853),Wht(1871,1,TFt,Xu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/20",1871),Wht(1872,1,TFt,Vu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/21",1872),Wht(1873,1,TFt,Qu),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/22",1873),Wht(1874,1,TFt,Ju),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/23",1874),Wht(1875,1,TFt,tl),zkt.wj=function(t){return MI(t,190)},zkt.xj=function(t){return WX(Vce,T_t,190,t,0,2)},_R(XFt,"XMLTypePackageImpl/24",1875),Wht(1876,1,TFt,el),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/25",1876),Wht(1877,1,TFt,nl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/26",1877),Wht(1878,1,TFt,il),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/27",1878),Wht(1879,1,TFt,rl),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/28",1879),Wht(1880,1,TFt,al),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/29",1880),Wht(1854,1,TFt,ol),zkt.wj=function(t){return MI(t,667)},zkt.xj=function(t){return WX(oce,r_t,2021,t,0,1)},_R(XFt,"XMLTypePackageImpl/3",1854),Wht(1881,1,TFt,sl),zkt.wj=function(t){return MI(t,19)},zkt.xj=function(t){return WX(Gjt,T_t,19,t,0,1)},_R(XFt,"XMLTypePackageImpl/30",1881),Wht(1882,1,TFt,cl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/31",1882),Wht(1883,1,TFt,ul),zkt.wj=function(t){return MI(t,162)},zkt.xj=function(t){return WX(Jjt,T_t,162,t,0,1)},_R(XFt,"XMLTypePackageImpl/32",1883),Wht(1884,1,TFt,ll),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/33",1884),Wht(1885,1,TFt,hl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/34",1885),Wht(1886,1,TFt,fl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/35",1886),Wht(1887,1,TFt,dl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/36",1887),Wht(1888,1,TFt,gl),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/37",1888),Wht(1889,1,TFt,pl),zkt.wj=function(t){return MI(t,15)},zkt.xj=function(t){return WX(J$t,bSt,15,t,0,1)},_R(XFt,"XMLTypePackageImpl/38",1889),Wht(1890,1,TFt,bl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/39",1890),Wht(1855,1,TFt,wl),zkt.wj=function(t){return MI(t,668)},zkt.xj=function(t){return WX(sce,r_t,2022,t,0,1)},_R(XFt,"XMLTypePackageImpl/4",1855),Wht(1891,1,TFt,yl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/40",1891),Wht(1892,1,TFt,ml),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/41",1892),Wht(1893,1,TFt,vl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/42",1893),Wht(1894,1,TFt,xl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/43",1894),Wht(1895,1,TFt,kl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/44",1895),Wht(1896,1,TFt,_l),zkt.wj=function(t){return MI(t,184)},zkt.xj=function(t){return WX(eRt,T_t,184,t,0,1)},_R(XFt,"XMLTypePackageImpl/45",1896),Wht(1897,1,TFt,El),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/46",1897),Wht(1898,1,TFt,Tl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/47",1898),Wht(1899,1,TFt,Cl),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/48",1899),Wht(TEt,1,TFt,Sl),zkt.wj=function(t){return MI(t,184)},zkt.xj=function(t){return WX(eRt,T_t,184,t,0,1)},_R(XFt,"XMLTypePackageImpl/49",TEt),Wht(1856,1,TFt,Al),zkt.wj=function(t){return MI(t,669)},zkt.xj=function(t){return WX(cce,r_t,2023,t,0,1)},_R(XFt,"XMLTypePackageImpl/5",1856),Wht(1901,1,TFt,Ml),zkt.wj=function(t){return MI(t,162)},zkt.xj=function(t){return WX(Jjt,T_t,162,t,0,1)},_R(XFt,"XMLTypePackageImpl/50",1901),Wht(1902,1,TFt,Il),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/51",1902),Wht(1903,1,TFt,Ll),zkt.wj=function(t){return MI(t,19)},zkt.xj=function(t){return WX(Gjt,T_t,19,t,0,1)},_R(XFt,"XMLTypePackageImpl/52",1903),Wht(1857,1,TFt,Ol),zkt.wj=function(t){return oA(t)},zkt.xj=function(t){return WX(fRt,T_t,2,t,6,1)},_R(XFt,"XMLTypePackageImpl/6",1857),Wht(1858,1,TFt,Dl),zkt.wj=function(t){return MI(t,190)},zkt.xj=function(t){return WX(Vce,T_t,190,t,0,2)},_R(XFt,"XMLTypePackageImpl/7",1858),Wht(1859,1,TFt,Nl),zkt.wj=function(t){return rA(t)},zkt.xj=function(t){return WX(Fjt,T_t,476,t,8,1)},_R(XFt,"XMLTypePackageImpl/8",1859),Wht(1860,1,TFt,Pl),zkt.wj=function(t){return MI(t,217)},zkt.xj=function(t){return WX(Rjt,T_t,217,t,0,1)},_R(XFt,"XMLTypePackageImpl/9",1860),Wht(50,60,iEt,gv),_R(k$t,"RegEx/ParseException",50),Wht(820,1,{},Bl),zkt.sl=function(t){return t<this.j&&63==Gz(this.i,t)},zkt.tl=function(){var t,e,n,i,r;if(10!=this.c)throw lw(new gv(jkt((ZM(),OPt))));switch(t=this.a){case 101:t=27;break;case 102:t=12;break;case 110:t=10;break;case 114:t=13;break;case 116:t=9;break;case 120:if(kkt(this),0!=this.c)throw lw(new gv(jkt((ZM(),iBt))));if(123==this.a){for(r=0,n=0;;){if(kkt(this),0!=this.c)throw lw(new gv(jkt((ZM(),iBt))));if((r=bit(this.a))<0)break;if(n>16*n)throw lw(new gv(jkt((ZM(),rBt))));n=16*n+r}if(125!=this.a)throw lw(new gv(jkt((ZM(),aBt))));if(n>_$t)throw lw(new gv(jkt((ZM(),oBt))));t=n}else{if(r=0,0!=this.c||(r=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(n=r,kkt(this),0!=this.c||(r=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));t=n=16*n+r}break;case 117:if(i=0,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));t=e=16*e+i;break;case 118:if(kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if(e=16*e+i,kkt(this),0!=this.c||(i=bit(this.a))<0)throw lw(new gv(jkt((ZM(),iBt))));if((e=16*e+i)>_$t)throw lw(new gv(jkt((ZM(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw lw(new gv(jkt((ZM(),sBt))))}return t},zkt.ul=function(t){var e;switch(t){case 100:e=32==(32&this.e)?Uxt("Nd",!0):(Nkt(),kce);break;case 68:e=32==(32&this.e)?Uxt("Nd",!1):(Nkt(),Sce);break;case 119:e=32==(32&this.e)?Uxt("IsWord",!0):(Nkt(),Bce);break;case 87:e=32==(32&this.e)?Uxt("IsWord",!1):(Nkt(),Mce);break;case 115:e=32==(32&this.e)?Uxt("IsSpace",!0):(Nkt(),Lce);break;case 83:e=32==(32&this.e)?Uxt("IsSpace",!1):(Nkt(),Ace);break;default:throw lw(new Am(E$t+t.toString(16)))}return e},zkt.vl=function(t){var e,n,i,r,a,o,s,c,u,l,h;for(this.b=1,kkt(this),e=null,0==this.c&&94==this.a?(kkt(this),t?(Nkt(),Nkt(),u=new aY(5)):(Nkt(),Nkt(),Ygt(e=new aY(4),0,_$t),u=new aY(4))):(Nkt(),Nkt(),u=new aY(4)),r=!0;1!=(h=this.c)&&(0!=h||93!=this.a||r);){if(r=!1,n=this.a,i=!1,10==h)switch(n){case 100:case 68:case 119:case 87:case 115:case 83:fmt(u,this.ul(n)),i=!0;break;case 105:case 73:case 99:case 67:(n=this.Ll(u,n))<0&&(i=!0);break;case 112:case 80:if(!(l=Hlt(this,n)))throw lw(new gv(jkt((ZM(),YPt))));fmt(u,l),i=!0;break;default:n=this.tl()}else if(20==h){if((a=dO(this.i,58,this.d))<0)throw lw(new gv(jkt((ZM(),GPt))));if(o=!0,94==Gz(this.i,this.d)&&(++this.d,o=!1),!(s=dV(fO(this.i,this.d,a),o,512==(512&this.e))))throw lw(new gv(jkt((ZM(),WPt))));if(fmt(u,s),i=!0,a+1>=this.j||93!=Gz(this.i,a+1))throw lw(new gv(jkt((ZM(),GPt))));this.d=a+2}if(kkt(this),!i)if(0!=this.c||45!=this.a)Ygt(u,n,n);else{if(kkt(this),1==(h=this.c))throw lw(new gv(jkt((ZM(),KPt))));0==h&&93==this.a?(Ygt(u,n,n),Ygt(u,45,45)):(c=this.a,10==h&&(c=this.tl()),kkt(this),Ygt(u,n,c))}(this.e&FNt)==FNt&&0==this.c&&44==this.a&&kkt(this)}if(1==this.c)throw lw(new gv(jkt((ZM(),KPt))));return e&&(Rvt(e,u),u=e),Bft(u),Nmt(u),this.b=0,kkt(this),u},zkt.wl=function(){var t,e,n,i;for(n=this.vl(!1);7!=(i=this.c);){if(t=this.a,(0!=i||45!=t&&38!=t)&&4!=i)throw lw(new gv(jkt((ZM(),eBt))));if(kkt(this),9!=this.c)throw lw(new gv(jkt((ZM(),tBt))));if(e=this.vl(!1),4==i)fmt(n,e);else if(45==t)Rvt(n,e);else{if(38!=t)throw lw(new Am("ASSERT"));Evt(n,e)}}return kkt(this),n},zkt.xl=function(){var t,e;return t=this.a-48,Nkt(),Nkt(),e=new tZ(12,null,t),!this.g&&(this.g=new Qw),Yw(this.g,new Jb(t)),kkt(this),e},zkt.yl=function(){return kkt(this),Nkt(),Oce},zkt.zl=function(){return kkt(this),Nkt(),Ice},zkt.Al=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Bl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Cl=function(){return kkt(this),r6()},zkt.Dl=function(){return kkt(this),Nkt(),Nce},zkt.El=function(){return kkt(this),Nkt(),Fce},zkt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=Gz(this.i,this.d++))))throw lw(new gv(jkt((ZM(),qPt))));return kkt(this),Nkt(),Nkt(),new zF(0,t-64)},zkt.Gl=function(){return kkt(this),function(){var t,e,n,i,r,a;if(Nkt(),Hce)return Hce;for(fmt(t=new aY(4),Uxt(D$t,!0)),Rvt(t,Uxt("M",!0)),Rvt(t,Uxt("C",!0)),a=new aY(4),i=0;i<11;i++)Ygt(a,i,i);return fmt(e=new aY(4),Uxt("M",!0)),Ygt(e,4448,4607),Ygt(e,65438,65439),$mt(r=new qM(2),t),$mt(r,Ece),(n=new qM(2)).$l(WF(a,Uxt("L",!0))),n.$l(e),n=new eR(r,n=new aK(3,n)),Hce=n}()},zkt.Hl=function(){return kkt(this),Nkt(),$ce},zkt.Il=function(){var t;return Nkt(),Nkt(),t=new zF(0,105),kkt(this),t},zkt.Jl=function(){return kkt(this),Nkt(),Pce},zkt.Kl=function(){return kkt(this),Nkt(),Dce},zkt.Ll=function(t,e){return this.tl()},zkt.Ml=function(){return kkt(this),Nkt(),Tce},zkt.Nl=function(){var t,e,n,i,r;if(this.d+1>=this.j)throw lw(new gv(jkt((ZM(),jPt))));if(i=-1,e=null,49<=(t=Gz(this.i,this.d))&&t<=57){if(i=t-48,!this.g&&(this.g=new Qw),Yw(this.g,new Jb(i)),++this.d,41!=Gz(this.i,this.d))throw lw(new gv(jkt((ZM(),BPt))));++this.d}else switch(63==t&&--this.d,kkt(this),(e=ckt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));break;default:throw lw(new gv(jkt((ZM(),RPt))))}if(kkt(this),n=null,2==(r=net(this)).e){if(2!=r.em())throw lw(new gv(jkt((ZM(),zPt))));n=r.am(1),r=r.am(0)}if(7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),Nkt(),Nkt(),new tJ(i,e,r,n)},zkt.Ol=function(){return kkt(this),Nkt(),Cce},zkt.Pl=function(){var t;if(kkt(this),t=Ej(24,net(this)),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Ql=function(){var t;if(kkt(this),t=Ej(20,net(this)),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Rl=function(){var t;if(kkt(this),t=Ej(22,net(this)),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Sl=function(){var t,e,n,i,r;for(t=0,n=0,e=-1;this.d<this.j&&0!=(r=Bht(e=Gz(this.i,this.d)));)t|=r,++this.d;if(this.d>=this.j)throw lw(new gv(jkt((ZM(),FPt))));if(45==e){for(++this.d;this.d<this.j&&0!=(r=Bht(e=Gz(this.i,this.d)));)n|=r,++this.d;if(this.d>=this.j)throw lw(new gv(jkt((ZM(),FPt))))}if(58==e){if(++this.d,kkt(this),i=PR(net(this),t,n),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));kkt(this)}else{if(41!=e)throw lw(new gv(jkt((ZM(),$Pt))));++this.d,kkt(this),i=PR(net(this),t,n)}return i},zkt.Tl=function(){var t;if(kkt(this),t=Ej(21,net(this)),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Ul=function(){var t;if(kkt(this),t=Ej(23,net(this)),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Vl=function(){var t,e;if(kkt(this),t=this.f++,e=Tj(net(this),t),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),e},zkt.Wl=function(){var t;if(kkt(this),t=Tj(net(this),0),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Xl=function(t){return kkt(this),5==this.c?(kkt(this),WF(t,(Nkt(),Nkt(),new aK(9,t)))):WF(t,(Nkt(),Nkt(),new aK(3,t)))},zkt.Yl=function(t){var e;return kkt(this),Nkt(),Nkt(),e=new qM(2),5==this.c?(kkt(this),$mt(e,Ece),$mt(e,t)):($mt(e,t),$mt(e,Ece)),e},zkt.Zl=function(t){return kkt(this),5==this.c?(kkt(this),Nkt(),Nkt(),new aK(9,t)):(Nkt(),Nkt(),new aK(3,t))},zkt.a=0,zkt.b=0,zkt.c=0,zkt.d=0,zkt.e=0,zkt.f=1,zkt.g=null,zkt.j=0,_R(k$t,"RegEx/RegexParser",820),Wht(1824,820,{},Jy),zkt.sl=function(t){return!1},zkt.tl=function(){return Tpt(this)},zkt.ul=function(t){return awt(t)},zkt.vl=function(t){return Ekt(this)},zkt.wl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.xl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.yl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.zl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Al=function(){return kkt(this),awt(67)},zkt.Bl=function(){return kkt(this),awt(73)},zkt.Cl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Dl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.El=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Fl=function(){return kkt(this),awt(99)},zkt.Gl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Hl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Il=function(){return kkt(this),awt(105)},zkt.Jl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Kl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Ll=function(t,e){return fmt(t,awt(e)),-1},zkt.Ml=function(){return kkt(this),Nkt(),Nkt(),new zF(0,94)},zkt.Nl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Ol=function(){return kkt(this),Nkt(),Nkt(),new zF(0,36)},zkt.Pl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Ql=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Rl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Sl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Tl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Ul=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Vl=function(){var t;if(kkt(this),t=Tj(net(this),0),7!=this.c)throw lw(new gv(jkt((ZM(),BPt))));return kkt(this),t},zkt.Wl=function(){throw lw(new gv(jkt((ZM(),cBt))))},zkt.Xl=function(t){return kkt(this),WF(t,(Nkt(),Nkt(),new aK(3,t)))},zkt.Yl=function(t){var e;return kkt(this),Nkt(),Nkt(),$mt(e=new qM(2),t),$mt(e,Ece),e},zkt.Zl=function(t){return kkt(this),Nkt(),Nkt(),new aK(3,t)};var pce=null,bce=null;_R(k$t,"RegEx/ParserForXMLSchema",1824),Wht(117,1,B$t,tw),zkt.$l=function(t){throw lw(new Am("Not supported."))},zkt._l=function(){return-1},zkt.am=function(t){return null},zkt.bm=function(){return null},zkt.cm=function(t){},zkt.dm=function(t){},zkt.em=function(){return 0},zkt.Ib=function(){return this.fm(0)},zkt.fm=function(t){return 11==this.e?".":""},zkt.e=0;var wce,yce,mce,vce,xce,kce,_ce,Ece,Tce,Cce,Sce,Ace,Mce,Ice,Lce,Oce,Dce,Nce,Pce,Bce,Fce,$ce,jce,Rce,zce=null,qce=null,Hce=null,Zce=_R(k$t,"RegEx/Token",117);Wht(136,117,{3:1,136:1,117:1},aY),zkt.fm=function(t){var e,n,i;if(4==this.e)if(this==_ce)n=".";else if(this==kce)n="\\d";else if(this==Bce)n="\\w";else if(this==Lce)n="\\s";else{for((i=new Mv).a+="[",e=0;e<this.b.length;e+=2)0!=(t&FNt)&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?wA(i,_yt(this.b[e])):(wA(i,_yt(this.b[e])),i.a+="-",wA(i,_yt(this.b[e+1])));i.a+="]",n=i.a}else if(this==Sce)n="\\D";else if(this==Mce)n="\\W";else if(this==Ace)n="\\S";else{for((i=new Mv).a+="[^",e=0;e<this.b.length;e+=2)0!=(t&FNt)&&e>0&&(i.a+=","),this.b[e]===this.b[e+1]?wA(i,_yt(this.b[e])):(wA(i,_yt(this.b[e])),i.a+="-",wA(i,_yt(this.b[e+1])));i.a+="]",n=i.a}return n},zkt.a=!1,zkt.c=!1,_R(k$t,"RegEx/RangeToken",136),Wht(584,1,{584:1},Jb),zkt.a=0,_R(k$t,"RegEx/RegexParser/ReferencePosition",584),Wht(583,1,{3:1,583:1},Tk),zkt.Fb=function(t){var e;return null!=t&&!!MI(t,583)&&(e=VP(t,583),jN(this.b,e.b)&&this.a==e.a)},zkt.Hb=function(){return Knt(this.b+"/"+fgt(this.a))},zkt.Ib=function(){return this.c.fm(this.a)},zkt.a=0,_R(k$t,"RegEx/RegularExpression",583),Wht(223,117,B$t,zF),zkt._l=function(){return this.a},zkt.fm=function(t){var e,n;switch(this.e){case 0:switch(this.a){case 124:case 42:case 43:case 63:case 40:case 41:case 46:case 91:case 123:case 92:n="\\"+iN(this.a&fEt);break;case 12:n="\\f";break;case 10:n="\\n";break;case 13:n="\\r";break;case 9:n="\\t";break;case 27:n="\\e";break;default:n=this.a>=iTt?"\\v"+fO(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+iN(this.a&fEt)}break;case 8:n=this==Tce||this==Cce?""+iN(this.a&fEt):"\\"+iN(this.a&fEt);break;default:n=null}return n},zkt.a=0,_R(k$t,"RegEx/Token/CharToken",223),Wht(309,117,B$t,aK),zkt.am=function(t){return this.a},zkt.cm=function(t){this.b=t},zkt.dm=function(t){this.c=t},zkt.em=function(){return 1},zkt.fm=function(t){var e;if(3==this.e)if(this.c<0&&this.b<0)e=this.a.fm(t)+"*";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}";else{if(!(this.c>=0&&this.b<0))throw lw(new Am("Token#toString(): CLOSURE "+this.c+n_t+this.b));e=this.a.fm(t)+"{"+this.c+",}"}else if(this.c<0&&this.b<0)e=this.a.fm(t)+"*?";else if(this.c==this.b)e=this.a.fm(t)+"{"+this.c+"}?";else if(this.c>=0&&this.b>=0)e=this.a.fm(t)+"{"+this.c+","+this.b+"}?";else{if(!(this.c>=0&&this.b<0))throw lw(new Am("Token#toString(): NONGREEDYCLOSURE "+this.c+n_t+this.b));e=this.a.fm(t)+"{"+this.c+",}?"}return e},zkt.b=0,zkt.c=0,_R(k$t,"RegEx/Token/ClosureToken",309),Wht(821,117,B$t,eR),zkt.am=function(t){return 0==t?this.a:this.b},zkt.em=function(){return 2},zkt.fm=function(t){return 3==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+":9==this.b.e&&this.b.am(0)==this.a?this.a.fm(t)+"+?":this.a.fm(t)+""+this.b.fm(t)},_R(k$t,"RegEx/Token/ConcatToken",821),Wht(1822,117,B$t,tJ),zkt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw lw(new Am("Internal Error: "+t))},zkt.em=function(){return this.b?2:1},zkt.fm=function(t){var e;return e=this.c>0?"(?("+this.c+")":8==this.a.e?"(?("+this.a+")":"(?"+this.a,this.b?e+=this.d+"|"+this.b+")":e+=this.d+")",e},zkt.c=0,_R(k$t,"RegEx/Token/ConditionToken",1822),Wht(1823,117,B$t,rY),zkt.am=function(t){return this.b},zkt.em=function(){return 1},zkt.fm=function(t){return"(?"+(0==this.a?"":fgt(this.a))+(0==this.c?"":fgt(this.c))+":"+this.b.fm(t)+")"},zkt.a=0,zkt.c=0,_R(k$t,"RegEx/Token/ModifierToken",1823),Wht(822,117,B$t,rz),zkt.am=function(t){return this.a},zkt.em=function(){return 1},zkt.fm=function(t){var e;switch(e=null,this.e){case 6:e=0==this.b?"(?:"+this.a.fm(t)+")":"("+this.a.fm(t)+")";break;case 20:e="(?="+this.a.fm(t)+")";break;case 21:e="(?!"+this.a.fm(t)+")";break;case 22:e="(?<="+this.a.fm(t)+")";break;case 23:e="(?<!"+this.a.fm(t)+")";break;case 24:e="(?>"+this.a.fm(t)+")"}return e},zkt.b=0,_R(k$t,"RegEx/Token/ParenToken",822),Wht(521,117,{3:1,117:1,521:1},tZ),zkt.bm=function(){return this.b},zkt.fm=function(t){return 12==this.e?"\\"+this.a:function(t){var e,n,i,r;for(r=t.length,e=null,i=0;i<r;i++)DU(i,t.length),WA(".*+?{[()|\\^$",wst(n=t.charCodeAt(i)))>=0?(e||(e=new Iv,i>0&&wA(e,t.substr(0,i))),e.a+="\\",$R(e,n&fEt)):e&&$R(e,n&fEt);return e?e.a:t}(this.b)},zkt.a=0,_R(k$t,"RegEx/Token/StringToken",521),Wht(465,117,B$t,qM),zkt.$l=function(t){$mt(this,t)},zkt.am=function(t){return VP(fz(this.a,t),117)},zkt.em=function(){return this.a?this.a.a.c.length:0},zkt.fm=function(t){var e,n,i,r,a;if(1==this.e){if(2==this.a.a.c.length)e=VP(fz(this.a,0),117),r=3==(n=VP(fz(this.a,1),117)).e&&n.am(0)==e?e.fm(t)+"+":9==n.e&&n.am(0)==e?e.fm(t)+"+?":e.fm(t)+""+n.fm(t);else{for(a=new Mv,i=0;i<this.a.a.c.length;i++)wA(a,VP(fz(this.a,i),117).fm(t));r=a.a}return r}if(2==this.a.a.c.length&&7==VP(fz(this.a,1),117).e)r=VP(fz(this.a,0),117).fm(t)+"?";else if(2==this.a.a.c.length&&7==VP(fz(this.a,0),117).e)r=VP(fz(this.a,1),117).fm(t)+"??";else{for(wA(a=new Mv,VP(fz(this.a,0),117).fm(t)),i=1;i<this.a.a.c.length;i++)a.a+="|",wA(a,VP(fz(this.a,i),117).fm(t));r=a.a}return r},_R(k$t,"RegEx/Token/UnionToken",465),Wht(518,1,{592:1},Ek),zkt.Ib=function(){return this.a.b},_R(F$t,"XMLTypeUtil/PatternMatcherImpl",518),Wht(1622,1381,{},Fl),_R(F$t,"XMLTypeValidator",1622),Wht(264,1,D_t,N$),zkt.Jc=function(t){GK(this,t)},zkt.Kc=function(){return(this.b-this.a)*this.c<0?Rce:new cL(this)},zkt.a=0,zkt.b=0,zkt.c=0,_R(j$t,"ExclusiveRange",264),Wht(1068,1,x_t,$l),zkt.Rb=function(t){VP(t,19),function(){throw lw(new uv(R$t))}()},zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return function(){throw lw(new $w)}()},zkt.Ub=function(){return function(){throw lw(new $w)}()},zkt.Wb=function(t){VP(t,19),function(){throw lw(new uv(z$t))}()},zkt.Ob=function(){return!1},zkt.Sb=function(){return!1},zkt.Tb=function(){return-1},zkt.Vb=function(){return-1},zkt.Qb=function(){throw lw(new uv(q$t))},_R(j$t,"ExclusiveRange/1",1068),Wht(254,1,x_t,cL),zkt.Rb=function(t){VP(t,19),function(){throw lw(new uv(R$t))}()},zkt.Nb=function(t){Aj(this,t)},zkt.Pb=function(){return function(t){var e;if(!(t.c.c<0?t.a>=t.c.b:t.a<=t.c.b))throw lw(new $w);return e=t.a,t.a+=t.c.c,++t.b,p8(e)}(this)},zkt.Ub=function(){return function(t){if(t.b<=0)throw lw(new $w);return--t.b,t.a-=t.c.c,p8(t.a)}(this)},zkt.Wb=function(t){VP(t,19),function(){throw lw(new uv(z$t))}()},zkt.Ob=function(){return this.c.c<0?this.a>=this.c.b:this.a<=this.c.b},zkt.Sb=function(){return this.b>0},zkt.Tb=function(){return this.b},zkt.Vb=function(){return this.b-1},zkt.Qb=function(){throw lw(new uv(q$t))},zkt.a=0,zkt.b=0,_R(j$t,"ExclusiveRange/RangeIterator",254);var Uce,Yce,Gce=Tz(HBt,"C"),Kce=Tz(YBt,"I"),Wce=Tz(Kkt,"Z"),Xce=Tz(GBt,"J"),Vce=Tz(qBt,"B"),Qce=Tz(ZBt,"D"),Jce=Tz(UBt,"F"),tue=Tz(KBt,"S"),eue=oF("org.eclipse.elk.core.labels","ILabelManager"),nue=oF(iPt,"DiagnosticChain"),iue=oF(SFt,"ResourceSet"),rue=_R(iPt,"InvocationTargetException",null),aue=(jv(),function(t){return jv(),function(){return uG(t,this,arguments)}}),oue=oue=function(t,e,n,i){Mk();var r=Hkt;function a(){for(var t=0;t<r.length;t++)r[t]()}if(t)try{aue(a)()}catch(n){t(e,n)}else aue(a)()};(function(){Mk();for(var t=Hkt,e=0;e<arguments.length;e++)t.push(arguments[e])})((function(){Rx(),function(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var i=Q9((Gq(),new hd(new Jf(Sae.b))));t.postMessage({id:n.id,data:i});break;case"categories":var r=Q9((Gq(),new hd(new Jf(Sae.c))));t.postMessage({id:n.id,data:r});break;case"options":var a=Q9((Gq(),new hd(new Jf(Sae.d))));t.postMessage({id:n.id,data:a});break;case"register":(function(t){var e,n,i;for(l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new Lh])),n=new kf(t),i=0;i<n.a.length;++i)jN(e=WQ(n,i).je().a,"layered")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new sh])):jN(e,"force")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new Hl])):jN(e,"stress")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new Ul])):jN(e,"mrtree")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new Eh])):jN(e,"radial")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new wh])):jN(e,"disco")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new ql,new Rl])):jN(e,"sporeOverlap")||jN(e,"sporeCompaction")?l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new xh])):jN(e,"rectpacking")&&l6(Sae,P4(Zv(tqt,1),r_t,130,0,[new Sh]))})(n.algorithms),t.postMessage({id:n.id});break;case"layout":(function(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;a=new Tf(t),eW((o=new rat).g),eW(o.j),Yj(o.b),eW(o.d),eW(o.i),Yj(o.k),Yj(o.c),Yj(o.e),d=Llt(o,a,null),zft(o,a),r=d,e&&(s=function(t){var e,n,i,r,a,o;for(function(t,e){nB(t.c,e)}(r=new wY,(q4(),d9t)),i=new Wf(new ov(new t_(t,f2(t,WX(fRt,T_t,2,0,6,1))).b));i.b<i.d.gc();)CO(i.b<i.d.gc()),n=fD(i.d.Xb(i.c=i.b++)),(a=xvt(Sae,n))&&null!=(o=uvt(a,(e=kZ(t,n)).je()?e.je().a:e.ge()?""+e.ge().a:e.he()?""+e.he().a:e.Ib()))&&(($L(a.j,(Vet(),E9t))||$L(a.j,T9t))&&f5(_J(r,sae),a,o),$L(a.j,k9t)&&f5(_J(r,tae),a,o),$L(a.j,C9t)&&f5(_J(r,cae),a,o),$L(a.j,_9t)&&f5(_J(r,oae),a,o));return r}(u=new Tf(e)),vct(r,P4(Zv(p9t,1),r_t,527,0,[s]))),f=!1,h=!1,n&&(u=new Tf(n),APt in u.a&&(f=kZ(u,APt).ge().a),MPt in u.a&&(h=kZ(u,MPt).ge().a)),l=wx(Y1(new om,f),h),function(t,e,n){ast(n,"Recursive Graph Layout",ept(t,e,!0)),vct(e,P4(Zv(p9t,1),r_t,527,0,[new Mh])),UX(e,(Ikt(),Nee))||vct(e,P4(Zv(p9t,1),r_t,527,0,[new ws])),Qxt(t,e,null,n),$ct(n)}(new ls,r,l),APt in a.a&&IJ(a,APt,null),(f||h)&&(myt(l,c=new Im,f,h),IJ(a,APt,c)),i=new bb(o),function(t,e){for(;null!=t.g||t.c?null==t.g||0!=t.i&&VP(t.g[t.i-1],47).Ob():LZ(t);)DS(e,sdt(t))}(new CM(r),i)})(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(e){t.postMessage({id:n.data.id,error:e})}}}function n(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t})}),0)}}if(Rx(),typeof document===OTt&&typeof self!==OTt){var r=new t(self);self.onmessage=r.saveDispatch}else typeof e!==OTt&&e.exports&&(Object.defineProperty(i,"__esModule",{value:!0}),e.exports={default:n,Worker:n})}()})),Uce="permProps",Yce=[[[H$t,Z$t],[U$t,"gecko1_8"]],[[H$t,Z$t],[U$t,"ie10"]],[[H$t,Z$t],[U$t,"ie8"]],[[H$t,Z$t],[U$t,"ie9"]],[[H$t,Z$t],[U$t,"safari"]]],typeof window===Gkt&&typeof window.$gwt===Gkt&&(window.$gwt[Uce]=Yce),oue(null,"elk",null)}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,n){"use strict";var i=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,n);var i=Object.assign({},e),r=!1;try{t.resolve("web-worker"),r=!0}catch(t){}if(e.workerUrl)if(r){var a=t("web-worker");i.workerFactory=function(t){return new a(t)}}else console.warn("Web worker requested but 'web-worker' package not installed. \nConsider installing the package or pass your own 'workerFactory' to ELK's constructor.\n... Falling back to non-web worker version.");if(!i.workerFactory){var o=t("./elk-worker.min.js").Worker;i.workerFactory=function(t){return new o(t)}}return function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,i))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=i,i.default=i},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker},{}]},{},[3])(3)},2241:function(t){var e;e=function(){return function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=t,n.c=e,n.i=function(t){return t},n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=26)}([function(t,e,n){"use strict";function i(){}i.QUALITY=1,i.DEFAULT_CREATE_BENDS_AS_NEEDED=!1,i.DEFAULT_INCREMENTAL=!1,i.DEFAULT_ANIMATION_ON_LAYOUT=!0,i.DEFAULT_ANIMATION_DURING_LAYOUT=!1,i.DEFAULT_ANIMATION_PERIOD=50,i.DEFAULT_UNIFORM_LEAF_NODE_SIZES=!1,i.DEFAULT_GRAPH_MARGIN=15,i.NODE_DIMENSIONS_INCLUDE_LABELS=!1,i.SIMPLE_NODE_SIZE=40,i.SIMPLE_NODE_HALF_SIZE=i.SIMPLE_NODE_SIZE/2,i.EMPTY_COMPOUND_NODE_SIZE=40,i.MIN_EDGE_LENGTH=1,i.WORLD_BOUNDARY=1e6,i.INITIAL_WORLD_BOUNDARY=i.WORLD_BOUNDARY/1e3,i.WORLD_CENTER_X=1200,i.WORLD_CENTER_Y=900,t.exports=i},function(t,e,n){"use strict";var i=n(2),r=n(8),a=n(9);function o(t,e,n){i.call(this,n),this.isOverlapingSourceAndTarget=!1,this.vGraphObject=n,this.bendpoints=[],this.source=t,this.target=e}for(var s in o.prototype=Object.create(i.prototype),i)o[s]=i[s];o.prototype.getSource=function(){return this.source},o.prototype.getTarget=function(){return this.target},o.prototype.isInterGraph=function(){return this.isInterGraph},o.prototype.getLength=function(){return this.length},o.prototype.isOverlapingSourceAndTarget=function(){return this.isOverlapingSourceAndTarget},o.prototype.getBendpoints=function(){return this.bendpoints},o.prototype.getLca=function(){return this.lca},o.prototype.getSourceInLca=function(){return this.sourceInLca},o.prototype.getTargetInLca=function(){return this.targetInLca},o.prototype.getOtherEnd=function(t){if(this.source===t)return this.target;if(this.target===t)return this.source;throw"Node is not incident with this edge"},o.prototype.getOtherEndInGraph=function(t,e){for(var n=this.getOtherEnd(t),i=e.getGraphManager().getRoot();;){if(n.getOwner()==e)return n;if(n.getOwner()==i)break;n=n.getOwner().getParent()}return null},o.prototype.updateLength=function(){var t=new Array(4);this.isOverlapingSourceAndTarget=r.getIntersection(this.target.getRect(),this.source.getRect(),t),this.isOverlapingSourceAndTarget||(this.lengthX=t[0]-t[2],this.lengthY=t[1]-t[3],Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY))},o.prototype.updateLengthSimple=function(){this.lengthX=this.target.getCenterX()-this.source.getCenterX(),this.lengthY=this.target.getCenterY()-this.source.getCenterY(),Math.abs(this.lengthX)<1&&(this.lengthX=a.sign(this.lengthX)),Math.abs(this.lengthY)<1&&(this.lengthY=a.sign(this.lengthY)),this.length=Math.sqrt(this.lengthX*this.lengthX+this.lengthY*this.lengthY)},t.exports=o},function(t,e,n){"use strict";t.exports=function(t){this.vGraphObject=t}},function(t,e,n){"use strict";var i=n(2),r=n(10),a=n(13),o=n(0),s=n(16),c=n(4);function u(t,e,n,o){null==n&&null==o&&(o=e),i.call(this,o),null!=t.graphManager&&(t=t.graphManager),this.estimatedSize=r.MIN_VALUE,this.inclusionTreeDepth=r.MAX_VALUE,this.vGraphObject=o,this.edges=[],this.graphManager=t,this.rect=null!=n&&null!=e?new a(e.x,e.y,n.width,n.height):new a}for(var l in u.prototype=Object.create(i.prototype),i)u[l]=i[l];u.prototype.getEdges=function(){return this.edges},u.prototype.getChild=function(){return this.child},u.prototype.getOwner=function(){return this.owner},u.prototype.getWidth=function(){return this.rect.width},u.prototype.setWidth=function(t){this.rect.width=t},u.prototype.getHeight=function(){return this.rect.height},u.prototype.setHeight=function(t){this.rect.height=t},u.prototype.getCenterX=function(){return this.rect.x+this.rect.width/2},u.prototype.getCenterY=function(){return this.rect.y+this.rect.height/2},u.prototype.getCenter=function(){return new c(this.rect.x+this.rect.width/2,this.rect.y+this.rect.height/2)},u.prototype.getLocation=function(){return new c(this.rect.x,this.rect.y)},u.prototype.getRect=function(){return this.rect},u.prototype.getDiagonal=function(){return Math.sqrt(this.rect.width*this.rect.width+this.rect.height*this.rect.height)},u.prototype.getHalfTheDiagonal=function(){return Math.sqrt(this.rect.height*this.rect.height+this.rect.width*this.rect.width)/2},u.prototype.setRect=function(t,e){this.rect.x=t.x,this.rect.y=t.y,this.rect.width=e.width,this.rect.height=e.height},u.prototype.setCenter=function(t,e){this.rect.x=t-this.rect.width/2,this.rect.y=e-this.rect.height/2},u.prototype.setLocation=function(t,e){this.rect.x=t,this.rect.y=e},u.prototype.moveBy=function(t,e){this.rect.x+=t,this.rect.y+=e},u.prototype.getEdgeListToNode=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.target==t){if(i.source!=n)throw"Incorrect edge source!";e.push(i)}})),e},u.prototype.getEdgesBetween=function(t){var e=[],n=this;return n.edges.forEach((function(i){if(i.source!=n&&i.target!=n)throw"Incorrect edge source and/or target";i.target!=t&&i.source!=t||e.push(i)})),e},u.prototype.getNeighborsList=function(){var t=new Set,e=this;return e.edges.forEach((function(n){if(n.source==e)t.add(n.target);else{if(n.target!=e)throw"Incorrect incidency!";t.add(n.source)}})),t},u.prototype.withChildren=function(){var t=new Set;if(t.add(this),null!=this.child)for(var e=this.child.getNodes(),n=0;n<e.length;n++)e[n].withChildren().forEach((function(e){t.add(e)}));return t},u.prototype.getNoOfChildren=function(){var t=0;if(null==this.child)t=1;else for(var e=this.child.getNodes(),n=0;n<e.length;n++)t+=e[n].getNoOfChildren();return 0==t&&(t=1),t},u.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},u.prototype.calcEstimatedSize=function(){return null==this.child?this.estimatedSize=(this.rect.width+this.rect.height)/2:(this.estimatedSize=this.child.calcEstimatedSize(),this.rect.width=this.estimatedSize,this.rect.height=this.estimatedSize,this.estimatedSize)},u.prototype.scatter=function(){var t,e,n=-o.INITIAL_WORLD_BOUNDARY,i=o.INITIAL_WORLD_BOUNDARY;t=o.WORLD_CENTER_X+s.nextDouble()*(i-n)+n;var r=-o.INITIAL_WORLD_BOUNDARY,a=o.INITIAL_WORLD_BOUNDARY;e=o.WORLD_CENTER_Y+s.nextDouble()*(a-r)+r,this.rect.x=t,this.rect.y=e},u.prototype.updateBounds=function(){if(null==this.getChild())throw"assert failed";if(0!=this.getChild().getNodes().length){var t=this.getChild();if(t.updateBounds(!0),this.rect.x=t.getLeft(),this.rect.y=t.getTop(),this.setWidth(t.getRight()-t.getLeft()),this.setHeight(t.getBottom()-t.getTop()),o.NODE_DIMENSIONS_INCLUDE_LABELS){var e=t.getRight()-t.getLeft(),n=t.getBottom()-t.getTop();this.labelWidth>e&&(this.rect.x-=(this.labelWidth-e)/2,this.setWidth(this.labelWidth)),this.labelHeight>n&&("center"==this.labelPos?this.rect.y-=(this.labelHeight-n)/2:"top"==this.labelPos&&(this.rect.y-=this.labelHeight-n),this.setHeight(this.labelHeight))}}},u.prototype.getInclusionTreeDepth=function(){if(this.inclusionTreeDepth==r.MAX_VALUE)throw"assert failed";return this.inclusionTreeDepth},u.prototype.transform=function(t){var e=this.rect.x;e>o.WORLD_BOUNDARY?e=o.WORLD_BOUNDARY:e<-o.WORLD_BOUNDARY&&(e=-o.WORLD_BOUNDARY);var n=this.rect.y;n>o.WORLD_BOUNDARY?n=o.WORLD_BOUNDARY:n<-o.WORLD_BOUNDARY&&(n=-o.WORLD_BOUNDARY);var i=new c(e,n),r=t.inverseTransformPoint(i);this.setLocation(r.x,r.y)},u.prototype.getLeft=function(){return this.rect.x},u.prototype.getRight=function(){return this.rect.x+this.rect.width},u.prototype.getTop=function(){return this.rect.y},u.prototype.getBottom=function(){return this.rect.y+this.rect.height},u.prototype.getParent=function(){return null==this.owner?null:this.owner.getParent()},t.exports=u},function(t,e,n){"use strict";function i(t,e){null==t&&null==e?(this.x=0,this.y=0):(this.x=t,this.y=e)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.setX=function(t){this.x=t},i.prototype.setY=function(t){this.y=t},i.prototype.getDifference=function(t){return new DimensionD(this.x-t.x,this.y-t.y)},i.prototype.getCopy=function(){return new i(this.x,this.y)},i.prototype.translate=function(t){return this.x+=t.width,this.y+=t.height,this},t.exports=i},function(t,e,n){"use strict";var i=n(2),r=n(10),a=n(0),o=n(6),s=n(3),c=n(1),u=n(13),l=n(12),h=n(11);function f(t,e,n){i.call(this,n),this.estimatedSize=r.MIN_VALUE,this.margin=a.DEFAULT_GRAPH_MARGIN,this.edges=[],this.nodes=[],this.isConnected=!1,this.parent=t,null!=e&&e instanceof o?this.graphManager=e:null!=e&&e instanceof Layout&&(this.graphManager=e.graphManager)}for(var d in f.prototype=Object.create(i.prototype),i)f[d]=i[d];f.prototype.getNodes=function(){return this.nodes},f.prototype.getEdges=function(){return this.edges},f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getParent=function(){return this.parent},f.prototype.getLeft=function(){return this.left},f.prototype.getRight=function(){return this.right},f.prototype.getTop=function(){return this.top},f.prototype.getBottom=function(){return this.bottom},f.prototype.isConnected=function(){return this.isConnected},f.prototype.add=function(t,e,n){if(null==e&&null==n){var i=t;if(null==this.graphManager)throw"Graph has no graph mgr!";if(this.getNodes().indexOf(i)>-1)throw"Node already in graph!";return i.owner=this,this.getNodes().push(i),i}var r=t;if(!(this.getNodes().indexOf(e)>-1&&this.getNodes().indexOf(n)>-1))throw"Source or target not in graph!";if(e.owner!=n.owner||e.owner!=this)throw"Both owners must be this graph!";return e.owner!=n.owner?null:(r.source=e,r.target=n,r.isInterGraph=!1,this.getEdges().push(r),e.edges.push(r),n!=e&&n.edges.push(r),r)},f.prototype.remove=function(t){var e=t;if(t instanceof s){if(null==e)throw"Node is null!";if(null==e.owner||e.owner!=this)throw"Owner graph is invalid!";if(null==this.graphManager)throw"Owner graph manager is invalid!";for(var n=e.edges.slice(),i=n.length,r=0;r<i;r++)(a=n[r]).isInterGraph?this.graphManager.remove(a):a.source.owner.remove(a);if(-1==(o=this.nodes.indexOf(e)))throw"Node not in owner node list!";this.nodes.splice(o,1)}else if(t instanceof c){var a;if(null==(a=t))throw"Edge is null!";if(null==a.source||null==a.target)throw"Source and/or target is null!";if(null==a.source.owner||null==a.target.owner||a.source.owner!=this||a.target.owner!=this)throw"Source and/or target owner is invalid!";var o,u=a.source.edges.indexOf(a),l=a.target.edges.indexOf(a);if(!(u>-1&&l>-1))throw"Source and/or target doesn't know this edge!";if(a.source.edges.splice(u,1),a.target!=a.source&&a.target.edges.splice(l,1),-1==(o=a.source.owner.getEdges().indexOf(a)))throw"Not in owner's edge list!";a.source.owner.getEdges().splice(o,1)}},f.prototype.updateLeftTop=function(){for(var t,e,n,i=r.MAX_VALUE,a=r.MAX_VALUE,o=this.getNodes(),s=o.length,c=0;c<s;c++){var u=o[c];i>(t=u.getTop())&&(i=t),a>(e=u.getLeft())&&(a=e)}return i==r.MAX_VALUE?null:(n=null!=o[0].getParent().paddingLeft?o[0].getParent().paddingLeft:this.margin,this.left=a-n,this.top=i-n,new l(this.left,this.top))},f.prototype.updateBounds=function(t){for(var e,n,i,a,o,s=r.MAX_VALUE,c=-r.MAX_VALUE,l=r.MAX_VALUE,h=-r.MAX_VALUE,f=this.nodes,d=f.length,g=0;g<d;g++){var p=f[g];t&&null!=p.child&&p.updateBounds(),s>(e=p.getLeft())&&(s=e),c<(n=p.getRight())&&(c=n),l>(i=p.getTop())&&(l=i),h<(a=p.getBottom())&&(h=a)}var b=new u(s,l,c-s,h-l);s==r.MAX_VALUE&&(this.left=this.parent.getLeft(),this.right=this.parent.getRight(),this.top=this.parent.getTop(),this.bottom=this.parent.getBottom()),o=null!=f[0].getParent().paddingLeft?f[0].getParent().paddingLeft:this.margin,this.left=b.x-o,this.right=b.x+b.width+o,this.top=b.y-o,this.bottom=b.y+b.height+o},f.calculateBounds=function(t){for(var e,n,i,a,o=r.MAX_VALUE,s=-r.MAX_VALUE,c=r.MAX_VALUE,l=-r.MAX_VALUE,h=t.length,f=0;f<h;f++){var d=t[f];o>(e=d.getLeft())&&(o=e),s<(n=d.getRight())&&(s=n),c>(i=d.getTop())&&(c=i),l<(a=d.getBottom())&&(l=a)}return new u(o,c,s-o,l-c)},f.prototype.getInclusionTreeDepth=function(){return this==this.graphManager.getRoot()?1:this.parent.getInclusionTreeDepth()},f.prototype.getEstimatedSize=function(){if(this.estimatedSize==r.MIN_VALUE)throw"assert failed";return this.estimatedSize},f.prototype.calcEstimatedSize=function(){for(var t=0,e=this.nodes,n=e.length,i=0;i<n;i++)t+=e[i].calcEstimatedSize();return this.estimatedSize=0==t?a.EMPTY_COMPOUND_NODE_SIZE:t/Math.sqrt(this.nodes.length),this.estimatedSize},f.prototype.updateConnected=function(){var t=this;if(0!=this.nodes.length){var e,n,i=new h,r=new Set,a=this.nodes[0];for(a.withChildren().forEach((function(t){i.push(t),r.add(t)}));0!==i.length;)for(var o=(e=(a=i.shift()).getEdges()).length,s=0;s<o;s++)null==(n=e[s].getOtherEndInGraph(a,this))||r.has(n)||n.withChildren().forEach((function(t){i.push(t),r.add(t)}));if(this.isConnected=!1,r.size>=this.nodes.length){var c=0;r.forEach((function(e){e.owner==t&&c++})),c==this.nodes.length&&(this.isConnected=!0)}}else this.isConnected=!0},t.exports=f},function(t,e,n){"use strict";var i,r=n(1);function a(t){i=n(5),this.layout=t,this.graphs=[],this.edges=[]}a.prototype.addRoot=function(){var t=this.layout.newGraph(),e=this.layout.newNode(null),n=this.add(t,e);return this.setRootGraph(n),this.rootGraph},a.prototype.add=function(t,e,n,i,r){if(null==n&&null==i&&null==r){if(null==t)throw"Graph is null!";if(null==e)throw"Parent node is null!";if(this.graphs.indexOf(t)>-1)throw"Graph already in this graph mgr!";if(this.graphs.push(t),null!=t.parent)throw"Already has a parent!";if(null!=e.child)throw"Already has a child!";return t.parent=e,e.child=t,t}r=n,n=t;var a=(i=e).getOwner(),o=r.getOwner();if(null==a||a.getGraphManager()!=this)throw"Source not in this graph mgr!";if(null==o||o.getGraphManager()!=this)throw"Target not in this graph mgr!";if(a==o)return n.isInterGraph=!1,a.add(n,i,r);if(n.isInterGraph=!0,n.source=i,n.target=r,this.edges.indexOf(n)>-1)throw"Edge already in inter-graph edge list!";if(this.edges.push(n),null==n.source||null==n.target)throw"Edge source and/or target is null!";if(-1!=n.source.edges.indexOf(n)||-1!=n.target.edges.indexOf(n))throw"Edge already in source and/or target incidency list!";return n.source.edges.push(n),n.target.edges.push(n),n},a.prototype.remove=function(t){if(t instanceof i){var e=t;if(e.getGraphManager()!=this)throw"Graph not in this graph mgr";if(e!=this.rootGraph&&(null==e.parent||e.parent.graphManager!=this))throw"Invalid parent node!";for(var n,a=[],o=(a=a.concat(e.getEdges())).length,s=0;s<o;s++)n=a[s],e.remove(n);var c,u=[];for(o=(u=u.concat(e.getNodes())).length,s=0;s<o;s++)c=u[s],e.remove(c);e==this.rootGraph&&this.setRootGraph(null);var l=this.graphs.indexOf(e);this.graphs.splice(l,1),e.parent=null}else if(t instanceof r){if(null==(n=t))throw"Edge is null!";if(!n.isInterGraph)throw"Not an inter-graph edge!";if(null==n.source||null==n.target)throw"Source and/or target is null!";if(-1==n.source.edges.indexOf(n)||-1==n.target.edges.indexOf(n))throw"Source and/or target doesn't know this edge!";if(l=n.source.edges.indexOf(n),n.source.edges.splice(l,1),l=n.target.edges.indexOf(n),n.target.edges.splice(l,1),null==n.source.owner||null==n.source.owner.getGraphManager())throw"Edge owner graph or owner graph manager is null!";if(-1==n.source.owner.getGraphManager().edges.indexOf(n))throw"Not in owner graph manager's edge list!";l=n.source.owner.getGraphManager().edges.indexOf(n),n.source.owner.getGraphManager().edges.splice(l,1)}},a.prototype.updateBounds=function(){this.rootGraph.updateBounds(!0)},a.prototype.getGraphs=function(){return this.graphs},a.prototype.getAllNodes=function(){if(null==this.allNodes){for(var t=[],e=this.getGraphs(),n=e.length,i=0;i<n;i++)t=t.concat(e[i].getNodes());this.allNodes=t}return this.allNodes},a.prototype.resetAllNodes=function(){this.allNodes=null},a.prototype.resetAllEdges=function(){this.allEdges=null},a.prototype.resetAllNodesToApplyGravitation=function(){this.allNodesToApplyGravitation=null},a.prototype.getAllEdges=function(){if(null==this.allEdges){for(var t=[],e=this.getGraphs(),n=(e.length,0);n<e.length;n++)t=t.concat(e[n].getEdges());t=t.concat(this.edges),this.allEdges=t}return this.allEdges},a.prototype.getAllNodesToApplyGravitation=function(){return this.allNodesToApplyGravitation},a.prototype.setAllNodesToApplyGravitation=function(t){if(null!=this.allNodesToApplyGravitation)throw"assert failed";this.allNodesToApplyGravitation=t},a.prototype.getRoot=function(){return this.rootGraph},a.prototype.setRootGraph=function(t){if(t.getGraphManager()!=this)throw"Root not in this graph mgr!";this.rootGraph=t,null==t.parent&&(t.parent=this.layout.newNode("Root node"))},a.prototype.getLayout=function(){return this.layout},a.prototype.isOneAncestorOfOther=function(t,e){if(null==t||null==e)throw"assert failed";if(t==e)return!0;for(var n,i=t.getOwner();null!=(n=i.getParent());){if(n==e)return!0;if(null==(i=n.getOwner()))break}for(i=e.getOwner();null!=(n=i.getParent());){if(n==t)return!0;if(null==(i=n.getOwner()))break}return!1},a.prototype.calcLowestCommonAncestors=function(){for(var t,e,n,i,r,a=this.getAllEdges(),o=a.length,s=0;s<o;s++)if(e=(t=a[s]).source,n=t.target,t.lca=null,t.sourceInLca=e,t.targetInLca=n,e!=n){for(i=e.getOwner();null==t.lca;){for(t.targetInLca=n,r=n.getOwner();null==t.lca;){if(r==i){t.lca=r;break}if(r==this.rootGraph)break;if(null!=t.lca)throw"assert failed";t.targetInLca=r.getParent(),r=t.targetInLca.getOwner()}if(i==this.rootGraph)break;null==t.lca&&(t.sourceInLca=i.getParent(),i=t.sourceInLca.getOwner())}if(null==t.lca)throw"assert failed"}else t.lca=e.getOwner()},a.prototype.calcLowestCommonAncestor=function(t,e){if(t==e)return t.getOwner();for(var n=t.getOwner();null!=n;){for(var i=e.getOwner();null!=i;){if(i==n)return i;i=i.getParent().getOwner()}n=n.getParent().getOwner()}return n},a.prototype.calcInclusionTreeDepths=function(t,e){var n;null==t&&null==e&&(t=this.rootGraph,e=1);for(var i=t.getNodes(),r=i.length,a=0;a<r;a++)(n=i[a]).inclusionTreeDepth=e,null!=n.child&&this.calcInclusionTreeDepths(n.child,e+1)},a.prototype.includesInvalidEdge=function(){for(var t,e=this.edges.length,n=0;n<e;n++)if(t=this.edges[n],this.isOneAncestorOfOther(t.source,t.target))return!0;return!1},t.exports=a},function(t,e,n){"use strict";var i=n(0);function r(){}for(var a in i)r[a]=i[a];r.MAX_ITERATIONS=2500,r.DEFAULT_EDGE_LENGTH=50,r.DEFAULT_SPRING_STRENGTH=.45,r.DEFAULT_REPULSION_STRENGTH=4500,r.DEFAULT_GRAVITY_STRENGTH=.4,r.DEFAULT_COMPOUND_GRAVITY_STRENGTH=1,r.DEFAULT_GRAVITY_RANGE_FACTOR=3.8,r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR=1.5,r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION=!0,r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION=!0,r.DEFAULT_COOLING_FACTOR_INCREMENTAL=.3,r.COOLING_ADAPTATION_FACTOR=.33,r.ADAPTATION_LOWER_NODE_LIMIT=1e3,r.ADAPTATION_UPPER_NODE_LIMIT=5e3,r.MAX_NODE_DISPLACEMENT_INCREMENTAL=100,r.MAX_NODE_DISPLACEMENT=3*r.MAX_NODE_DISPLACEMENT_INCREMENTAL,r.MIN_REPULSION_DIST=r.DEFAULT_EDGE_LENGTH/10,r.CONVERGENCE_CHECK_PERIOD=100,r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR=.1,r.MIN_EDGE_LENGTH=1,r.GRID_CALCULATION_CHECK_PERIOD=10,t.exports=r},function(t,e,n){"use strict";var i=n(12);function r(){}r.calcSeparationAmount=function(t,e,n,i){if(!t.intersects(e))throw"assert failed";var r=new Array(2);this.decideDirectionsForOverlappingNodes(t,e,r),n[0]=Math.min(t.getRight(),e.getRight())-Math.max(t.x,e.x),n[1]=Math.min(t.getBottom(),e.getBottom())-Math.max(t.y,e.y),t.getX()<=e.getX()&&t.getRight()>=e.getRight()?n[0]+=Math.min(e.getX()-t.getX(),t.getRight()-e.getRight()):e.getX()<=t.getX()&&e.getRight()>=t.getRight()&&(n[0]+=Math.min(t.getX()-e.getX(),e.getRight()-t.getRight())),t.getY()<=e.getY()&&t.getBottom()>=e.getBottom()?n[1]+=Math.min(e.getY()-t.getY(),t.getBottom()-e.getBottom()):e.getY()<=t.getY()&&e.getBottom()>=t.getBottom()&&(n[1]+=Math.min(t.getY()-e.getY(),e.getBottom()-t.getBottom()));var a=Math.abs((e.getCenterY()-t.getCenterY())/(e.getCenterX()-t.getCenterX()));e.getCenterY()===t.getCenterY()&&e.getCenterX()===t.getCenterX()&&(a=1);var o=a*n[0],s=n[1]/a;n[0]<s?s=n[0]:o=n[1],n[0]=-1*r[0]*(s/2+i),n[1]=-1*r[1]*(o/2+i)},r.decideDirectionsForOverlappingNodes=function(t,e,n){t.getCenterX()<e.getCenterX()?n[0]=-1:n[0]=1,t.getCenterY()<e.getCenterY()?n[1]=-1:n[1]=1},r.getIntersection2=function(t,e,n){var i=t.getCenterX(),r=t.getCenterY(),a=e.getCenterX(),o=e.getCenterY();if(t.intersects(e))return n[0]=i,n[1]=r,n[2]=a,n[3]=o,!0;var s=t.getX(),c=t.getY(),u=t.getRight(),l=t.getX(),h=t.getBottom(),f=t.getRight(),d=t.getWidthHalf(),g=t.getHeightHalf(),p=e.getX(),b=e.getY(),w=e.getRight(),y=e.getX(),m=e.getBottom(),v=e.getRight(),x=e.getWidthHalf(),k=e.getHeightHalf(),_=!1,E=!1;if(i===a){if(r>o)return n[0]=i,n[1]=c,n[2]=a,n[3]=m,!1;if(r<o)return n[0]=i,n[1]=h,n[2]=a,n[3]=b,!1}else if(r===o){if(i>a)return n[0]=s,n[1]=r,n[2]=w,n[3]=o,!1;if(i<a)return n[0]=u,n[1]=r,n[2]=p,n[3]=o,!1}else{var T=t.height/t.width,C=e.height/e.width,S=(o-r)/(a-i),A=void 0,M=void 0,I=void 0,L=void 0,O=void 0,D=void 0;if(-T===S?i>a?(n[0]=l,n[1]=h,_=!0):(n[0]=u,n[1]=c,_=!0):T===S&&(i>a?(n[0]=s,n[1]=c,_=!0):(n[0]=f,n[1]=h,_=!0)),-C===S?a>i?(n[2]=y,n[3]=m,E=!0):(n[2]=w,n[3]=b,E=!0):C===S&&(a>i?(n[2]=p,n[3]=b,E=!0):(n[2]=v,n[3]=m,E=!0)),_&&E)return!1;if(i>a?r>o?(A=this.getCardinalDirection(T,S,4),M=this.getCardinalDirection(C,S,2)):(A=this.getCardinalDirection(-T,S,3),M=this.getCardinalDirection(-C,S,1)):r>o?(A=this.getCardinalDirection(-T,S,1),M=this.getCardinalDirection(-C,S,3)):(A=this.getCardinalDirection(T,S,2),M=this.getCardinalDirection(C,S,4)),!_)switch(A){case 1:L=c,I=i+-g/S,n[0]=I,n[1]=L;break;case 2:I=f,L=r+d*S,n[0]=I,n[1]=L;break;case 3:L=h,I=i+g/S,n[0]=I,n[1]=L;break;case 4:I=l,L=r+-d*S,n[0]=I,n[1]=L}if(!E)switch(M){case 1:D=b,O=a+-k/S,n[2]=O,n[3]=D;break;case 2:O=v,D=o+x*S,n[2]=O,n[3]=D;break;case 3:D=m,O=a+k/S,n[2]=O,n[3]=D;break;case 4:O=y,D=o+-x*S,n[2]=O,n[3]=D}}return!1},r.getCardinalDirection=function(t,e,n){return t>e?n:1+n%4},r.getIntersection=function(t,e,n,r){if(null==r)return this.getIntersection2(t,e,n);var a,o,s,c,u,l,h,f=t.x,d=t.y,g=e.x,p=e.y,b=n.x,w=n.y,y=r.x,m=r.y;return 0==(h=(a=p-d)*(c=b-y)-(o=m-w)*(s=f-g))?null:new i((s*(l=y*w-b*m)-c*(u=g*d-f*p))/h,(o*u-a*l)/h)},r.angleOfVector=function(t,e,n,i){var r=void 0;return t!==n?(r=Math.atan((i-e)/(n-t)),n<t?r+=Math.PI:i<e&&(r+=this.TWO_PI)):r=i<e?this.ONE_AND_HALF_PI:this.HALF_PI,r},r.doIntersect=function(t,e,n,i){var r=t.x,a=t.y,o=e.x,s=e.y,c=n.x,u=n.y,l=i.x,h=i.y,f=(o-r)*(h-u)-(l-c)*(s-a);if(0===f)return!1;var d=((h-u)*(l-r)+(c-l)*(h-a))/f,g=((a-s)*(l-r)+(o-r)*(h-a))/f;return 0<d&&d<1&&0<g&&g<1},r.HALF_PI=.5*Math.PI,r.ONE_AND_HALF_PI=1.5*Math.PI,r.TWO_PI=2*Math.PI,r.THREE_PI=3*Math.PI,t.exports=r},function(t,e,n){"use strict";function i(){}i.sign=function(t){return t>0?1:t<0?-1:0},i.floor=function(t){return t<0?Math.ceil(t):Math.floor(t)},i.ceil=function(t){return t<0?Math.floor(t):Math.ceil(t)},t.exports=i},function(t,e,n){"use strict";function i(){}i.MAX_VALUE=2147483647,i.MIN_VALUE=-2147483648,t.exports=i},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(t){return{value:t,next:null,prev:null}},a=function(t,e,n,i){return null!==t?t.next=e:i.head=e,null!==n?n.prev=e:i.tail=e,e.prev=t,e.next=n,i.length++,e},o=function(t,e){var n=t.prev,i=t.next;return null!==n?n.next=i:e.head=i,null!==i?i.prev=n:e.tail=n,t.prev=t.next=null,e.length--,t},s=function(){function t(e){var n=this;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.length=0,this.head=null,this.tail=null,null!=e&&e.forEach((function(t){return n.push(t)}))}return i(t,[{key:"size",value:function(){return this.length}},{key:"insertBefore",value:function(t,e){return a(e.prev,r(t),e,this)}},{key:"insertAfter",value:function(t,e){return a(e,r(t),e.next,this)}},{key:"insertNodeBefore",value:function(t,e){return a(e.prev,t,e,this)}},{key:"insertNodeAfter",value:function(t,e){return a(e,t,e.next,this)}},{key:"push",value:function(t){return a(this.tail,r(t),null,this)}},{key:"unshift",value:function(t){return a(null,r(t),this.head,this)}},{key:"remove",value:function(t){return o(t,this)}},{key:"pop",value:function(){return o(this.tail,this).value}},{key:"popNode",value:function(){return o(this.tail,this)}},{key:"shift",value:function(){return o(this.head,this).value}},{key:"shiftNode",value:function(){return o(this.head,this)}},{key:"get_object_at",value:function(t){if(t<=this.length()){for(var e=1,n=this.head;e<t;)n=n.next,e++;return n.value}}},{key:"set_object_at",value:function(t,e){if(t<=this.length()){for(var n=1,i=this.head;n<t;)i=i.next,n++;i.value=e}}}]),t}();t.exports=s},function(t,e,n){"use strict";function i(t,e,n){this.x=null,this.y=null,null==t&&null==e&&null==n?(this.x=0,this.y=0):"number"==typeof t&&"number"==typeof e&&null==n?(this.x=t,this.y=e):"Point"==t.constructor.name&&null==e&&null==n&&(n=t,this.x=n.x,this.y=n.y)}i.prototype.getX=function(){return this.x},i.prototype.getY=function(){return this.y},i.prototype.getLocation=function(){return new i(this.x,this.y)},i.prototype.setLocation=function(t,e,n){"Point"==t.constructor.name&&null==e&&null==n?(n=t,this.setLocation(n.x,n.y)):"number"==typeof t&&"number"==typeof e&&null==n&&(parseInt(t)==t&&parseInt(e)==e?this.move(t,e):(this.x=Math.floor(t+.5),this.y=Math.floor(e+.5)))},i.prototype.move=function(t,e){this.x=t,this.y=e},i.prototype.translate=function(t,e){this.x+=t,this.y+=e},i.prototype.equals=function(t){if("Point"==t.constructor.name){var e=t;return this.x==e.x&&this.y==e.y}return this==t},i.prototype.toString=function(){return(new i).constructor.name+"[x="+this.x+",y="+this.y+"]"},t.exports=i},function(t,e,n){"use strict";function i(t,e,n,i){this.x=0,this.y=0,this.width=0,this.height=0,null!=t&&null!=e&&null!=n&&null!=i&&(this.x=t,this.y=e,this.width=n,this.height=i)}i.prototype.getX=function(){return this.x},i.prototype.setX=function(t){this.x=t},i.prototype.getY=function(){return this.y},i.prototype.setY=function(t){this.y=t},i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},i.prototype.getRight=function(){return this.x+this.width},i.prototype.getBottom=function(){return this.y+this.height},i.prototype.intersects=function(t){return!(this.getRight()<t.x||this.getBottom()<t.y||t.getRight()<this.x||t.getBottom()<this.y)},i.prototype.getCenterX=function(){return this.x+this.width/2},i.prototype.getMinX=function(){return this.getX()},i.prototype.getMaxX=function(){return this.getX()+this.width},i.prototype.getCenterY=function(){return this.y+this.height/2},i.prototype.getMinY=function(){return this.getY()},i.prototype.getMaxY=function(){return this.getY()+this.height},i.prototype.getWidthHalf=function(){return this.width/2},i.prototype.getHeightHalf=function(){return this.height/2},t.exports=i},function(t,e,n){"use strict";var i="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t};function r(){}r.lastID=0,r.createID=function(t){return r.isPrimitive(t)?t:(null!=t.uniqueID||(t.uniqueID=r.getString(),r.lastID++),t.uniqueID)},r.getString=function(t){return null==t&&(t=r.lastID),"Object#"+t},r.isPrimitive=function(t){var e=void 0===t?"undefined":i(t);return null==t||"object"!=e&&"function"!=e},t.exports=r},function(t,e,n){"use strict";function i(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}var r=n(0),a=n(6),o=n(3),s=n(1),c=n(5),u=n(4),l=n(17),h=n(27);function f(t){h.call(this),this.layoutQuality=r.QUALITY,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.incremental=r.DEFAULT_INCREMENTAL,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES,this.edgeToDummyNodes=new Map,this.graphManager=new a(this),this.isLayoutFinished=!1,this.isSubLayout=!1,this.isRemoteUse=!1,null!=t&&(this.isRemoteUse=t)}f.RANDOM_SEED=1,f.prototype=Object.create(h.prototype),f.prototype.getGraphManager=function(){return this.graphManager},f.prototype.getAllNodes=function(){return this.graphManager.getAllNodes()},f.prototype.getAllEdges=function(){return this.graphManager.getAllEdges()},f.prototype.getAllNodesToApplyGravitation=function(){return this.graphManager.getAllNodesToApplyGravitation()},f.prototype.newGraphManager=function(){var t=new a(this);return this.graphManager=t,t},f.prototype.newGraph=function(t){return new c(null,this.graphManager,t)},f.prototype.newNode=function(t){return new o(this.graphManager,t)},f.prototype.newEdge=function(t){return new s(null,null,t)},f.prototype.checkLayoutSuccess=function(){return null==this.graphManager.getRoot()||0==this.graphManager.getRoot().getNodes().length||this.graphManager.includesInvalidEdge()},f.prototype.runLayout=function(){var t;return this.isLayoutFinished=!1,this.tilingPreLayout&&this.tilingPreLayout(),this.initParameters(),t=!this.checkLayoutSuccess()&&this.layout(),"during"!==r.ANIMATE&&(t&&(this.isSubLayout||this.doPostLayout()),this.tilingPostLayout&&this.tilingPostLayout(),this.isLayoutFinished=!0,t)},f.prototype.doPostLayout=function(){this.incremental||this.transform(),this.update()},f.prototype.update2=function(){if(this.createBendsAsNeeded&&(this.createBendpointsFromDummyNodes(),this.graphManager.resetAllEdges()),!this.isRemoteUse){for(var t=this.graphManager.getAllEdges(),e=0;e<t.length;e++)t[e];var n=this.graphManager.getRoot().getNodes();for(e=0;e<n.length;e++)n[e];this.update(this.graphManager.getRoot())}},f.prototype.update=function(t){if(null==t)this.update2();else if(t instanceof o){var e=t;if(null!=e.getChild())for(var n=e.getChild().getNodes(),i=0;i<n.length;i++)update(n[i]);null!=e.vGraphObject&&e.vGraphObject.update(e)}else if(t instanceof s){var r=t;null!=r.vGraphObject&&r.vGraphObject.update(r)}else if(t instanceof c){var a=t;null!=a.vGraphObject&&a.vGraphObject.update(a)}},f.prototype.initParameters=function(){this.isSubLayout||(this.layoutQuality=r.QUALITY,this.animationDuringLayout=r.DEFAULT_ANIMATION_DURING_LAYOUT,this.animationPeriod=r.DEFAULT_ANIMATION_PERIOD,this.animationOnLayout=r.DEFAULT_ANIMATION_ON_LAYOUT,this.incremental=r.DEFAULT_INCREMENTAL,this.createBendsAsNeeded=r.DEFAULT_CREATE_BENDS_AS_NEEDED,this.uniformLeafNodeSizes=r.DEFAULT_UNIFORM_LEAF_NODE_SIZES),this.animationDuringLayout&&(this.animationOnLayout=!1)},f.prototype.transform=function(t){if(null==t)this.transform(new u(0,0));else{var e=new l,n=this.graphManager.getRoot().updateLeftTop();if(null!=n){e.setWorldOrgX(t.x),e.setWorldOrgY(t.y),e.setDeviceOrgX(n.x),e.setDeviceOrgY(n.y);for(var i=this.getAllNodes(),r=0;r<i.length;r++)i[r].transform(e)}}},f.prototype.positionNodesRandomly=function(t){if(null==t)this.positionNodesRandomly(this.getGraphManager().getRoot()),this.getGraphManager().getRoot().updateBounds(!0);else for(var e,n,i=t.getNodes(),r=0;r<i.length;r++)null==(n=(e=i[r]).getChild())||0==n.getNodes().length?e.scatter():(this.positionNodesRandomly(n),e.updateBounds())},f.prototype.getFlatForest=function(){for(var t=[],e=!0,n=this.graphManager.getRoot().getNodes(),r=!0,a=0;a<n.length;a++)null!=n[a].getChild()&&(r=!1);if(!r)return t;var o=new Set,s=[],c=new Map,u=[];for(u=u.concat(n);u.length>0&&e;){for(s.push(u[0]);s.length>0&&e;){var l=s[0];s.splice(0,1),o.add(l);var h=l.getEdges();for(a=0;a<h.length;a++){var f=h[a].getOtherEnd(l);if(c.get(l)!=f){if(o.has(f)){e=!1;break}s.push(f),c.set(f,l)}}}if(e){var d=[].concat(i(o));for(t.push(d),a=0;a<d.length;a++){var g=d[a],p=u.indexOf(g);p>-1&&u.splice(p,1)}o=new Set,c=new Map}else t=[]}return t},f.prototype.createDummyNodesForBendpoints=function(t){for(var e=[],n=t.source,i=this.graphManager.calcLowestCommonAncestor(t.source,t.target),r=0;r<t.bendpoints.length;r++){var a=this.newNode(null);a.setRect(new Point(0,0),new Dimension(1,1)),i.add(a);var o=this.newEdge(null);this.graphManager.add(o,n,a),e.add(a),n=a}return o=this.newEdge(null),this.graphManager.add(o,n,t.target),this.edgeToDummyNodes.set(t,e),t.isInterGraph()?this.graphManager.remove(t):i.remove(t),e},f.prototype.createBendpointsFromDummyNodes=function(){var t=[];t=t.concat(this.graphManager.getAllEdges()),t=[].concat(i(this.edgeToDummyNodes.keys())).concat(t);for(var e=0;e<t.length;e++){var n=t[e];if(n.bendpoints.length>0){for(var r=this.edgeToDummyNodes.get(n),a=0;a<r.length;a++){var o=r[a],s=new u(o.getCenterX(),o.getCenterY()),c=n.bendpoints.get(a);c.x=s.x,c.y=s.y,o.getOwner().remove(o)}this.graphManager.add(n,n.source,n.target)}}},f.transform=function(t,e,n,i){if(null!=n&&null!=i){var r=e;return t<=50?r-=(e-e/n)/50*(50-t):r+=(e*i-e)/50*(t-50),r}var a,o;return t<=50?(a=9*e/500,o=e/10):(a=9*e/50,o=-8*e),a*t+o},f.findCenterOfTree=function(t){var e=[];e=e.concat(t);var n=[],i=new Map,r=!1,a=null;1!=e.length&&2!=e.length||(r=!0,a=e[0]);for(var o=0;o<e.length;o++){var s=(l=e[o]).getNeighborsList().size;i.set(l,l.getNeighborsList().size),1==s&&n.push(l)}var c=[];for(c=c.concat(n);!r;){var u=[];for(u=u.concat(c),c=[],o=0;o<e.length;o++){var l=e[o],h=e.indexOf(l);h>=0&&e.splice(h,1),l.getNeighborsList().forEach((function(t){if(n.indexOf(t)<0){var e=i.get(t)-1;1==e&&c.push(t),i.set(t,e)}}))}n=n.concat(c),1!=e.length&&2!=e.length||(r=!0,a=e[0])}return a},f.prototype.setGraphManager=function(t){this.graphManager=t},t.exports=f},function(t,e,n){"use strict";function i(){}i.seed=1,i.x=0,i.nextDouble=function(){return i.x=1e4*Math.sin(i.seed++),i.x-Math.floor(i.x)},t.exports=i},function(t,e,n){"use strict";var i=n(4);function r(t,e){this.lworldOrgX=0,this.lworldOrgY=0,this.ldeviceOrgX=0,this.ldeviceOrgY=0,this.lworldExtX=1,this.lworldExtY=1,this.ldeviceExtX=1,this.ldeviceExtY=1}r.prototype.getWorldOrgX=function(){return this.lworldOrgX},r.prototype.setWorldOrgX=function(t){this.lworldOrgX=t},r.prototype.getWorldOrgY=function(){return this.lworldOrgY},r.prototype.setWorldOrgY=function(t){this.lworldOrgY=t},r.prototype.getWorldExtX=function(){return this.lworldExtX},r.prototype.setWorldExtX=function(t){this.lworldExtX=t},r.prototype.getWorldExtY=function(){return this.lworldExtY},r.prototype.setWorldExtY=function(t){this.lworldExtY=t},r.prototype.getDeviceOrgX=function(){return this.ldeviceOrgX},r.prototype.setDeviceOrgX=function(t){this.ldeviceOrgX=t},r.prototype.getDeviceOrgY=function(){return this.ldeviceOrgY},r.prototype.setDeviceOrgY=function(t){this.ldeviceOrgY=t},r.prototype.getDeviceExtX=function(){return this.ldeviceExtX},r.prototype.setDeviceExtX=function(t){this.ldeviceExtX=t},r.prototype.getDeviceExtY=function(){return this.ldeviceExtY},r.prototype.setDeviceExtY=function(t){this.ldeviceExtY=t},r.prototype.transformX=function(t){var e=0,n=this.lworldExtX;return 0!=n&&(e=this.ldeviceOrgX+(t-this.lworldOrgX)*this.ldeviceExtX/n),e},r.prototype.transformY=function(t){var e=0,n=this.lworldExtY;return 0!=n&&(e=this.ldeviceOrgY+(t-this.lworldOrgY)*this.ldeviceExtY/n),e},r.prototype.inverseTransformX=function(t){var e=0,n=this.ldeviceExtX;return 0!=n&&(e=this.lworldOrgX+(t-this.ldeviceOrgX)*this.lworldExtX/n),e},r.prototype.inverseTransformY=function(t){var e=0,n=this.ldeviceExtY;return 0!=n&&(e=this.lworldOrgY+(t-this.ldeviceOrgY)*this.lworldExtY/n),e},r.prototype.inverseTransformPoint=function(t){return new i(this.inverseTransformX(t.x),this.inverseTransformY(t.y))},t.exports=r},function(t,e,n){"use strict";var i=n(15),r=n(7),a=n(0),o=n(8),s=n(9);function c(){i.call(this),this.useSmartIdealEdgeLengthCalculation=r.DEFAULT_USE_SMART_IDEAL_EDGE_LENGTH_CALCULATION,this.idealEdgeLength=r.DEFAULT_EDGE_LENGTH,this.springConstant=r.DEFAULT_SPRING_STRENGTH,this.repulsionConstant=r.DEFAULT_REPULSION_STRENGTH,this.gravityConstant=r.DEFAULT_GRAVITY_STRENGTH,this.compoundGravityConstant=r.DEFAULT_COMPOUND_GRAVITY_STRENGTH,this.gravityRangeFactor=r.DEFAULT_GRAVITY_RANGE_FACTOR,this.compoundGravityRangeFactor=r.DEFAULT_COMPOUND_GRAVITY_RANGE_FACTOR,this.displacementThresholdPerNode=3*r.DEFAULT_EDGE_LENGTH/100,this.coolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.initialCoolingFactor=r.DEFAULT_COOLING_FACTOR_INCREMENTAL,this.totalDisplacement=0,this.oldTotalDisplacement=0,this.maxIterations=r.MAX_ITERATIONS}for(var u in c.prototype=Object.create(i.prototype),i)c[u]=i[u];c.prototype.initParameters=function(){i.prototype.initParameters.call(this,arguments),this.totalIterations=0,this.notAnimatedIterations=0,this.useFRGridVariant=r.DEFAULT_USE_SMART_REPULSION_RANGE_CALCULATION,this.grid=[]},c.prototype.calcIdealEdgeLengths=function(){for(var t,e,n,i,o,s,c=this.getGraphManager().getAllEdges(),u=0;u<c.length;u++)(t=c[u]).idealLength=this.idealEdgeLength,t.isInterGraph&&(n=t.getSource(),i=t.getTarget(),o=t.getSourceInLca().getEstimatedSize(),s=t.getTargetInLca().getEstimatedSize(),this.useSmartIdealEdgeLengthCalculation&&(t.idealLength+=o+s-2*a.SIMPLE_NODE_SIZE),e=t.getLca().getInclusionTreeDepth(),t.idealLength+=r.DEFAULT_EDGE_LENGTH*r.PER_LEVEL_IDEAL_EDGE_LENGTH_FACTOR*(n.getInclusionTreeDepth()+i.getInclusionTreeDepth()-2*e))},c.prototype.initSpringEmbedder=function(){var t=this.getAllNodes().length;this.incremental?(t>r.ADAPTATION_LOWER_NODE_LIMIT&&(this.coolingFactor=Math.max(this.coolingFactor*r.COOLING_ADAPTATION_FACTOR,this.coolingFactor-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*this.coolingFactor*(1-r.COOLING_ADAPTATION_FACTOR))),this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT_INCREMENTAL):(t>r.ADAPTATION_LOWER_NODE_LIMIT?this.coolingFactor=Math.max(r.COOLING_ADAPTATION_FACTOR,1-(t-r.ADAPTATION_LOWER_NODE_LIMIT)/(r.ADAPTATION_UPPER_NODE_LIMIT-r.ADAPTATION_LOWER_NODE_LIMIT)*(1-r.COOLING_ADAPTATION_FACTOR)):this.coolingFactor=1,this.initialCoolingFactor=this.coolingFactor,this.maxNodeDisplacement=r.MAX_NODE_DISPLACEMENT),this.maxIterations=Math.max(5*this.getAllNodes().length,this.maxIterations),this.totalDisplacementThreshold=this.displacementThresholdPerNode*this.getAllNodes().length,this.repulsionRange=this.calcRepulsionRange()},c.prototype.calcSpringForces=function(){for(var t,e=this.getAllEdges(),n=0;n<e.length;n++)t=e[n],this.calcSpringForce(t,t.idealLength)},c.prototype.calcRepulsionForces=function(){var t,e,n,i,a,o=!(arguments.length>0&&void 0!==arguments[0])||arguments[0],s=arguments.length>1&&void 0!==arguments[1]&&arguments[1],c=this.getAllNodes();if(this.useFRGridVariant)for(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&o&&this.updateGrid(),a=new Set,t=0;t<c.length;t++)n=c[t],this.calculateRepulsionForceOfANode(n,a,o,s),a.add(n);else for(t=0;t<c.length;t++)for(n=c[t],e=t+1;e<c.length;e++)i=c[e],n.getOwner()==i.getOwner()&&this.calcRepulsionForce(n,i)},c.prototype.calcGravitationalForces=function(){for(var t,e=this.getAllNodesToApplyGravitation(),n=0;n<e.length;n++)t=e[n],this.calcGravitationalForce(t)},c.prototype.moveNodes=function(){for(var t=this.getAllNodes(),e=0;e<t.length;e++)t[e].move()},c.prototype.calcSpringForce=function(t,e){var n,i,r,a,o=t.getSource(),s=t.getTarget();if(this.uniformLeafNodeSizes&&null==o.getChild()&&null==s.getChild())t.updateLengthSimple();else if(t.updateLength(),t.isOverlapingSourceAndTarget)return;0!=(n=t.getLength())&&(r=(i=this.springConstant*(n-e))*(t.lengthX/n),a=i*(t.lengthY/n),o.springForceX+=r,o.springForceY+=a,s.springForceX-=r,s.springForceY-=a)},c.prototype.calcRepulsionForce=function(t,e){var n,i,a,c,u,l,h,f=t.getRect(),d=e.getRect(),g=new Array(2),p=new Array(4);if(f.intersects(d)){o.calcSeparationAmount(f,d,g,r.DEFAULT_EDGE_LENGTH/2),l=2*g[0],h=2*g[1];var b=t.noOfChildren*e.noOfChildren/(t.noOfChildren+e.noOfChildren);t.repulsionForceX-=b*l,t.repulsionForceY-=b*h,e.repulsionForceX+=b*l,e.repulsionForceY+=b*h}else this.uniformLeafNodeSizes&&null==t.getChild()&&null==e.getChild()?(n=d.getCenterX()-f.getCenterX(),i=d.getCenterY()-f.getCenterY()):(o.getIntersection(f,d,p),n=p[2]-p[0],i=p[3]-p[1]),Math.abs(n)<r.MIN_REPULSION_DIST&&(n=s.sign(n)*r.MIN_REPULSION_DIST),Math.abs(i)<r.MIN_REPULSION_DIST&&(i=s.sign(i)*r.MIN_REPULSION_DIST),a=n*n+i*i,c=Math.sqrt(a),l=(u=this.repulsionConstant*t.noOfChildren*e.noOfChildren/a)*n/c,h=u*i/c,t.repulsionForceX-=l,t.repulsionForceY-=h,e.repulsionForceX+=l,e.repulsionForceY+=h},c.prototype.calcGravitationalForce=function(t){var e,n,i,r,a,o,s,c;n=((e=t.getOwner()).getRight()+e.getLeft())/2,i=(e.getTop()+e.getBottom())/2,r=t.getCenterX()-n,a=t.getCenterY()-i,o=Math.abs(r)+t.getWidth()/2,s=Math.abs(a)+t.getHeight()/2,t.getOwner()==this.graphManager.getRoot()?(o>(c=e.getEstimatedSize()*this.gravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r,t.gravitationForceY=-this.gravityConstant*a):(o>(c=e.getEstimatedSize()*this.compoundGravityRangeFactor)||s>c)&&(t.gravitationForceX=-this.gravityConstant*r*this.compoundGravityConstant,t.gravitationForceY=-this.gravityConstant*a*this.compoundGravityConstant)},c.prototype.isConverged=function(){var t,e=!1;return this.totalIterations>this.maxIterations/3&&(e=Math.abs(this.totalDisplacement-this.oldTotalDisplacement)<2),t=this.totalDisplacement<this.totalDisplacementThreshold,this.oldTotalDisplacement=this.totalDisplacement,t||e},c.prototype.animate=function(){this.animationDuringLayout&&!this.isSubLayout&&(this.notAnimatedIterations==this.animationPeriod?(this.update(),this.notAnimatedIterations=0):this.notAnimatedIterations++)},c.prototype.calcNoOfChildrenForAllNodes=function(){for(var t,e=this.graphManager.getAllNodes(),n=0;n<e.length;n++)(t=e[n]).noOfChildren=t.getNoOfChildren()},c.prototype.calcGrid=function(t){var e,n;e=parseInt(Math.ceil((t.getRight()-t.getLeft())/this.repulsionRange)),n=parseInt(Math.ceil((t.getBottom()-t.getTop())/this.repulsionRange));for(var i=new Array(e),r=0;r<e;r++)i[r]=new Array(n);for(r=0;r<e;r++)for(var a=0;a<n;a++)i[r][a]=new Array;return i},c.prototype.addNodeToGrid=function(t,e,n){var i,r,a,o;i=parseInt(Math.floor((t.getRect().x-e)/this.repulsionRange)),r=parseInt(Math.floor((t.getRect().width+t.getRect().x-e)/this.repulsionRange)),a=parseInt(Math.floor((t.getRect().y-n)/this.repulsionRange)),o=parseInt(Math.floor((t.getRect().height+t.getRect().y-n)/this.repulsionRange));for(var s=i;s<=r;s++)for(var c=a;c<=o;c++)this.grid[s][c].push(t),t.setGridCoordinates(i,r,a,o)},c.prototype.updateGrid=function(){var t,e,n=this.getAllNodes();for(this.grid=this.calcGrid(this.graphManager.getRoot()),t=0;t<n.length;t++)e=n[t],this.addNodeToGrid(e,this.graphManager.getRoot().getLeft(),this.graphManager.getRoot().getTop())},c.prototype.calculateRepulsionForceOfANode=function(t,e,n,i){if(this.totalIterations%r.GRID_CALCULATION_CHECK_PERIOD==1&&n||i){var a,o=new Set;t.surrounding=new Array;for(var s=this.grid,c=t.startX-1;c<t.finishX+2;c++)for(var u=t.startY-1;u<t.finishY+2;u++)if(!(c<0||u<0||c>=s.length||u>=s[0].length))for(var l=0;l<s[c][u].length;l++)if(a=s[c][u][l],t.getOwner()==a.getOwner()&&t!=a&&!e.has(a)&&!o.has(a)){var h=Math.abs(t.getCenterX()-a.getCenterX())-(t.getWidth()/2+a.getWidth()/2),f=Math.abs(t.getCenterY()-a.getCenterY())-(t.getHeight()/2+a.getHeight()/2);h<=this.repulsionRange&&f<=this.repulsionRange&&o.add(a)}t.surrounding=[].concat(function(t){if(Array.isArray(t)){for(var e=0,n=Array(t.length);e<t.length;e++)n[e]=t[e];return n}return Array.from(t)}(o))}for(c=0;c<t.surrounding.length;c++)this.calcRepulsionForce(t,t.surrounding[c])},c.prototype.calcRepulsionRange=function(){return 0},t.exports=c},function(t,e,n){"use strict";var i=n(1),r=n(7);function a(t,e,n){i.call(this,t,e,n),this.idealLength=r.DEFAULT_EDGE_LENGTH}for(var o in a.prototype=Object.create(i.prototype),i)a[o]=i[o];t.exports=a},function(t,e,n){"use strict";var i=n(3);function r(t,e,n,r){i.call(this,t,e,n,r),this.springForceX=0,this.springForceY=0,this.repulsionForceX=0,this.repulsionForceY=0,this.gravitationForceX=0,this.gravitationForceY=0,this.displacementX=0,this.displacementY=0,this.startX=0,this.finishX=0,this.startY=0,this.finishY=0,this.surrounding=[]}for(var a in r.prototype=Object.create(i.prototype),i)r[a]=i[a];r.prototype.setGridCoordinates=function(t,e,n,i){this.startX=t,this.finishX=e,this.startY=n,this.finishY=i},t.exports=r},function(t,e,n){"use strict";function i(t,e){this.width=0,this.height=0,null!==t&&null!==e&&(this.height=e,this.width=t)}i.prototype.getWidth=function(){return this.width},i.prototype.setWidth=function(t){this.width=t},i.prototype.getHeight=function(){return this.height},i.prototype.setHeight=function(t){this.height=t},t.exports=i},function(t,e,n){"use strict";var i=n(14);function r(){this.map={},this.keys=[]}r.prototype.put=function(t,e){var n=i.createID(t);this.contains(n)||(this.map[n]=e,this.keys.push(t))},r.prototype.contains=function(t){return i.createID(t),null!=this.map[t]},r.prototype.get=function(t){var e=i.createID(t);return this.map[e]},r.prototype.keySet=function(){return this.keys},t.exports=r},function(t,e,n){"use strict";var i=n(14);function r(){this.set={}}r.prototype.add=function(t){var e=i.createID(t);this.contains(e)||(this.set[e]=t)},r.prototype.remove=function(t){delete this.set[i.createID(t)]},r.prototype.clear=function(){this.set={}},r.prototype.contains=function(t){return this.set[i.createID(t)]==t},r.prototype.isEmpty=function(){return 0===this.size()},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAllTo=function(t){for(var e=Object.keys(this.set),n=e.length,i=0;i<n;i++)t.push(this.set[e[i]])},r.prototype.size=function(){return Object.keys(this.set).length},r.prototype.addAll=function(t){for(var e=t.length,n=0;n<e;n++){var i=t[n];this.add(i)}},t.exports=r},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=n(11),a=function(){function t(e,n){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),null===n&&void 0===n||(this.compareFunction=this._defaultCompareFunction);var i;i=e instanceof r?e.size():e.length,this._quicksort(e,0,i-1)}return i(t,[{key:"_quicksort",value:function(t,e,n){if(e<n){var i=this._partition(t,e,n);this._quicksort(t,e,i),this._quicksort(t,i+1,n)}}},{key:"_partition",value:function(t,e,n){for(var i=this._get(t,e),r=e,a=n;;){for(;this.compareFunction(i,this._get(t,a));)a--;for(;this.compareFunction(this._get(t,r),i);)r++;if(!(r<a))return a;this._swap(t,r,a),r++,a--}}},{key:"_get",value:function(t,e){return t instanceof r?t.get_object_at(e):t[e]}},{key:"_set",value:function(t,e,n){t instanceof r?t.set_object_at(e,n):t[e]=n}},{key:"_swap",value:function(t,e,n){var i=this._get(t,e);this._set(t,e,this._get(t,n)),this._set(t,n,i)}},{key:"_defaultCompareFunction",value:function(t,e){return e>t}}]),t}();t.exports=a},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}return function(e,n,i){return n&&t(e.prototype,n),i&&t(e,i),e}}(),r=function(){function t(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,a=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.sequence1=e,this.sequence2=n,this.match_score=i,this.mismatch_penalty=r,this.gap_penalty=a,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var o=0;o<this.iMax;o++){this.grid[o]=new Array(this.jMax);for(var s=0;s<this.jMax;s++)this.grid[o][s]=0}this.tracebackGrid=new Array(this.iMax);for(var c=0;c<this.iMax;c++){this.tracebackGrid[c]=new Array(this.jMax);for(var u=0;u<this.jMax;u++)this.tracebackGrid[c][u]=[null,null,null]}this.alignments=[],this.score=-1,this.computeGrids()}return i(t,[{key:"getScore",value:function(){return this.score}},{key:"getAlignments",value:function(){return this.alignments}},{key:"computeGrids",value:function(){for(var t=1;t<this.jMax;t++)this.grid[0][t]=this.grid[0][t-1]+this.gap_penalty,this.tracebackGrid[0][t]=[!1,!1,!0];for(var e=1;e<this.iMax;e++)this.grid[e][0]=this.grid[e-1][0]+this.gap_penalty,this.tracebackGrid[e][0]=[!1,!0,!1];for(var n=1;n<this.iMax;n++)for(var i=1;i<this.jMax;i++){var r=[this.sequence1[n-1]===this.sequence2[i-1]?this.grid[n-1][i-1]+this.match_score:this.grid[n-1][i-1]+this.mismatch_penalty,this.grid[n-1][i]+this.gap_penalty,this.grid[n][i-1]+this.gap_penalty],a=this.arrayAllMaxIndexes(r);this.grid[n][i]=r[a[0]],this.tracebackGrid[n][i]=[a.includes(0),a.includes(1),a.includes(2)]}this.score=this.grid[this.iMax-1][this.jMax-1]}},{key:"alignmentTraceback",value:function(){var t=[];for(t.push({pos:[this.sequence1.length,this.sequence2.length],seq1:"",seq2:""});t[0];){var e=t[0],n=this.tracebackGrid[e.pos[0]][e.pos[1]];n[0]&&t.push({pos:[e.pos[0]-1,e.pos[1]-1],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),n[1]&&t.push({pos:[e.pos[0]-1,e.pos[1]],seq1:this.sequence1[e.pos[0]-1]+e.seq1,seq2:"-"+e.seq2}),n[2]&&t.push({pos:[e.pos[0],e.pos[1]-1],seq1:"-"+e.seq1,seq2:this.sequence2[e.pos[1]-1]+e.seq2}),0===e.pos[0]&&0===e.pos[1]&&this.alignments.push({sequence1:e.seq1,sequence2:e.seq2}),t.shift()}return this.alignments}},{key:"getAllIndexes",value:function(t,e){for(var n=[],i=-1;-1!==(i=t.indexOf(e,i+1));)n.push(i);return n}},{key:"arrayAllMaxIndexes",value:function(t){return this.getAllIndexes(t,Math.max.apply(null,t))}}]),t}();t.exports=r},function(t,e,n){"use strict";var i=function(){};i.FDLayout=n(18),i.FDLayoutConstants=n(7),i.FDLayoutEdge=n(19),i.FDLayoutNode=n(20),i.DimensionD=n(21),i.HashMap=n(22),i.HashSet=n(23),i.IGeometry=n(8),i.IMath=n(9),i.Integer=n(10),i.Point=n(12),i.PointD=n(4),i.RandomSeed=n(16),i.RectangleD=n(13),i.Transform=n(17),i.UniqueIDGeneretor=n(14),i.Quicksort=n(24),i.LinkedList=n(11),i.LGraphObject=n(2),i.LGraph=n(5),i.LEdge=n(1),i.LGraphManager=n(6),i.LNode=n(3),i.Layout=n(15),i.LayoutConstants=n(0),i.NeedlemanWunsch=n(25),t.exports=i},function(t,e,n){"use strict";function i(){this.listeners=[]}var r=i.prototype;r.addListener=function(t,e){this.listeners.push({event:t,callback:e})},r.removeListener=function(t,e){for(var n=this.listeners.length;n>=0;n--){var i=this.listeners[n];i.event===t&&i.callback===e&&this.listeners.splice(n,1)}},r.emit=function(t,e){for(var n=0;n<this.listeners.length;n++){var i=this.listeners[n];t===i.event&&i.callback(e)}},t.exports=i}])},t.exports=e()},8464:(t,e,n)=>{"use strict";function i(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];var i=Array.from("string"==typeof t?[t]:t);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var r=i.reduce((function(t,e){var n=e.match(/\n([\t ]+|(?!\s).)/g);return n?t.concat(n.map((function(t){var e,n;return null!==(n=null===(e=t.match(/[\t ]/g))||void 0===e?void 0:e.length)&&void 0!==n?n:0}))):t}),[]);if(r.length){var a=new RegExp("\n[\t ]{"+Math.min.apply(Math,r)+"}","g");i=i.map((function(t){return t.replace(a,"\n")}))}i[0]=i[0].replace(/^\r?\n/,"");var o=i[0];return e.forEach((function(t,e){var n=o.match(/(?:^|\n)( *)$/),r=n?n[1]:"",a=t;"string"==typeof t&&t.includes("\n")&&(a=String(t).split("\n").map((function(t,e){return 0===e?t:""+r+t})).join("\n")),o+=a+i[e+1]})),o}n.d(e,{Z:()=>i})},7274:(t,e,n)=>{"use strict";function i(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}function r(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function a(t){return t}n.d(e,{Nb1:()=>Go,LLu:()=>y,F5q:()=>w,$0Z:()=>os,Dts:()=>cs,WQY:()=>ls,qpX:()=>fs,u93:()=>ds,tFB:()=>ps,YY7:()=>ys,OvA:()=>vs,dCK:()=>ks,zgE:()=>Ts,fGX:()=>Ss,$m7:()=>Ms,c_6:()=>Xo,fxm:()=>Ls,FdL:()=>js,ak_:()=>Rs,SxZ:()=>Hs,eA_:()=>Us,jsv:()=>Gs,iJ:()=>Ys,JHv:()=>oi,jvg:()=>Jo,Fp7:()=>i,VV$:()=>r,ve8:()=>ns,BYU:()=>Xi,PKp:()=>er,Xf:()=>wo,K2I:()=>yo,Ys:()=>mo,td_:()=>vo,YPS:()=>Rn,rr1:()=>wr,i$Z:()=>Wr,y2j:()=>Cr,WQD:()=>pr,U8T:()=>hr,Z_i:()=>dr,Ox9:()=>kr,F0B:()=>Br,LqH:()=>Sr,S1K:()=>fr,Zyz:()=>xr,Igq:()=>Tr,YDX:()=>_r,EFj:()=>Er});var o=1,s=2,c=3,u=4,l=1e-6;function h(t){return"translate("+t+",0)"}function f(t){return"translate(0,"+t+")"}function d(t){return e=>+t(e)}function g(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function p(){return!this.__axis}function b(t,e){var n=[],i=null,r=null,b=6,w=6,y=3,m="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,v=t===o||t===u?-1:1,x=t===u||t===s?"x":"y",k=t===o||t===c?h:f;function _(h){var f=null==i?e.ticks?e.ticks.apply(e,n):e.domain():i,_=null==r?e.tickFormat?e.tickFormat.apply(e,n):a:r,E=Math.max(b,0)+y,T=e.range(),C=+T[0]+m,S=+T[T.length-1]+m,A=(e.bandwidth?g:d)(e.copy(),m),M=h.selection?h.selection():h,I=M.selectAll(".domain").data([null]),L=M.selectAll(".tick").data(f,e).order(),O=L.exit(),D=L.enter().append("g").attr("class","tick"),N=L.select("line"),P=L.select("text");I=I.merge(I.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),L=L.merge(D),N=N.merge(D.append("line").attr("stroke","currentColor").attr(x+"2",v*b)),P=P.merge(D.append("text").attr("fill","currentColor").attr(x,v*E).attr("dy",t===o?"0em":t===c?"0.71em":"0.32em")),h!==M&&(I=I.transition(h),L=L.transition(h),N=N.transition(h),P=P.transition(h),O=O.transition(h).attr("opacity",l).attr("transform",(function(t){return isFinite(t=A(t))?k(t+m):this.getAttribute("transform")})),D.attr("opacity",l).attr("transform",(function(t){var e=this.parentNode.__axis;return k((e&&isFinite(e=e(t))?e:A(t))+m)}))),O.remove(),I.attr("d",t===u||t===s?w?"M"+v*w+","+C+"H"+m+"V"+S+"H"+v*w:"M"+m+","+C+"V"+S:w?"M"+C+","+v*w+"V"+m+"H"+S+"V"+v*w:"M"+C+","+m+"H"+S),L.attr("opacity",1).attr("transform",(function(t){return k(A(t)+m)})),N.attr(x+"2",v*b),P.attr(x,v*E).text(_),M.filter(p).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",t===s?"start":t===u?"end":"middle"),M.each((function(){this.__axis=A}))}return _.scale=function(t){return arguments.length?(e=t,_):e},_.ticks=function(){return n=Array.from(arguments),_},_.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),_):n.slice()},_.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),_):i&&i.slice()},_.tickFormat=function(t){return arguments.length?(r=t,_):r},_.tickSize=function(t){return arguments.length?(b=w=+t,_):b},_.tickSizeInner=function(t){return arguments.length?(b=+t,_):b},_.tickSizeOuter=function(t){return arguments.length?(w=+t,_):w},_.tickPadding=function(t){return arguments.length?(y=+t,_):y},_.offset=function(t){return arguments.length?(m=+t,_):m},_}function w(t){return b(o,t)}function y(t){return b(c,t)}function m(){}function v(t){return null==t?m:function(){return this.querySelector(t)}}function x(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function k(){return[]}function _(t){return null==t?k:function(){return this.querySelectorAll(t)}}function E(t){return function(){return this.matches(t)}}function T(t){return function(e){return e.matches(t)}}var C=Array.prototype.find;function S(){return this.firstElementChild}var A=Array.prototype.filter;function M(){return Array.from(this.children)}function I(t){return new Array(t.length)}function L(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function O(t,e,n,i,r,a){for(var o,s=0,c=e.length,u=a.length;s<u;++s)(o=e[s])?(o.__data__=a[s],i[s]=o):n[s]=new L(t,a[s]);for(;s<c;++s)(o=e[s])&&(r[s]=o)}function D(t,e,n,i,r,a,o){var s,c,u,l=new Map,h=e.length,f=a.length,d=new Array(h);for(s=0;s<h;++s)(c=e[s])&&(d[s]=u=o.call(c,c.__data__,s,e)+"",l.has(u)?r[s]=c:l.set(u,c));for(s=0;s<f;++s)u=o.call(t,a[s],s,a)+"",(c=l.get(u))?(i[s]=c,c.__data__=a[s],l.delete(u)):n[s]=new L(t,a[s]);for(s=0;s<h;++s)(c=e[s])&&l.get(d[s])===c&&(r[s]=c)}function N(t){return t.__data__}function P(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function B(t,e){return t<e?-1:t>e?1:t>=e?0:NaN}L.prototype={constructor:L,appendChild:function(t){return this._parent.insertBefore(t,this._next)},insertBefore:function(t,e){return this._parent.insertBefore(t,e)},querySelector:function(t){return this._parent.querySelector(t)},querySelectorAll:function(t){return this._parent.querySelectorAll(t)}};var F="http://www.w3.org/1999/xhtml";const $={svg:"http://www.w3.org/2000/svg",xhtml:F,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function j(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),$.hasOwnProperty(e)?{space:$[e],local:t}:t}function R(t){return function(){this.removeAttribute(t)}}function z(t){return function(){this.removeAttributeNS(t.space,t.local)}}function q(t,e){return function(){this.setAttribute(t,e)}}function H(t,e){return function(){this.setAttributeNS(t.space,t.local,e)}}function Z(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttribute(t):this.setAttribute(t,n)}}function U(t,e){return function(){var n=e.apply(this,arguments);null==n?this.removeAttributeNS(t.space,t.local):this.setAttributeNS(t.space,t.local,n)}}function Y(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function G(t){return function(){this.style.removeProperty(t)}}function K(t,e,n){return function(){this.style.setProperty(t,e,n)}}function W(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function X(t,e){return t.style.getPropertyValue(e)||Y(t).getComputedStyle(t,null).getPropertyValue(e)}function V(t){return function(){delete this[t]}}function Q(t,e){return function(){this[t]=e}}function J(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function tt(t){return t.trim().split(/^|\s+/)}function et(t){return t.classList||new nt(t)}function nt(t){this._node=t,this._names=tt(t.getAttribute("class")||"")}function it(t,e){for(var n=et(t),i=-1,r=e.length;++i<r;)n.add(e[i])}function rt(t,e){for(var n=et(t),i=-1,r=e.length;++i<r;)n.remove(e[i])}function at(t){return function(){it(this,t)}}function ot(t){return function(){rt(this,t)}}function st(t,e){return function(){(e.apply(this,arguments)?it:rt)(this,t)}}function ct(){this.textContent=""}function ut(t){return function(){this.textContent=t}}function lt(t){return function(){var e=t.apply(this,arguments);this.textContent=null==e?"":e}}function ht(){this.innerHTML=""}function ft(t){return function(){this.innerHTML=t}}function dt(t){return function(){var e=t.apply(this,arguments);this.innerHTML=null==e?"":e}}function gt(){this.nextSibling&&this.parentNode.appendChild(this)}function pt(){this.previousSibling&&this.parentNode.insertBefore(this,this.parentNode.firstChild)}function bt(t){return function(){var e=this.ownerDocument,n=this.namespaceURI;return n===F&&e.documentElement.namespaceURI===F?e.createElement(t):e.createElementNS(n,t)}}function wt(t){return function(){return this.ownerDocument.createElementNS(t.space,t.local)}}function yt(t){var e=j(t);return(e.local?wt:bt)(e)}function mt(){return null}function vt(){var t=this.parentNode;t&&t.removeChild(this)}function xt(){var t=this.cloneNode(!1),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function kt(){var t=this.cloneNode(!0),e=this.parentNode;return e?e.insertBefore(t,this.nextSibling):t}function _t(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=e.length;i<a;++i)n=e[i],t.type&&n.type!==t.type||n.name!==t.name?e[++r]=n:this.removeEventListener(n.type,n.listener,n.options);++r?e.length=r:delete this.__on}}}function Et(t,e,n){return function(){var i,r=this.__on,a=function(t){return function(e){t.call(this,e,this.__data__)}}(e);if(r)for(var o=0,s=r.length;o<s;++o)if((i=r[o]).type===t.type&&i.name===t.name)return this.removeEventListener(i.type,i.listener,i.options),this.addEventListener(i.type,i.listener=a,i.options=n),void(i.value=e);this.addEventListener(t.type,a,n),i={type:t.type,name:t.name,value:e,listener:a,options:n},r?r.push(i):this.__on=[i]}}function Tt(t,e,n){var i=Y(t),r=i.CustomEvent;"function"==typeof r?r=new r(e,n):(r=i.document.createEvent("Event"),n?(r.initEvent(e,n.bubbles,n.cancelable),r.detail=n.detail):r.initEvent(e,!1,!1)),t.dispatchEvent(r)}function Ct(t,e){return function(){return Tt(this,t,e)}}function St(t,e){return function(){return Tt(this,t,e.apply(this,arguments))}}nt.prototype={add:function(t){this._names.indexOf(t)<0&&(this._names.push(t),this._node.setAttribute("class",this._names.join(" ")))},remove:function(t){var e=this._names.indexOf(t);e>=0&&(this._names.splice(e,1),this._node.setAttribute("class",this._names.join(" ")))},contains:function(t){return this._names.indexOf(t)>=0}};var At=[null];function Mt(t,e){this._groups=t,this._parents=e}function It(){return new Mt([[document.documentElement]],At)}Mt.prototype=It.prototype={constructor:Mt,select:function(t){"function"!=typeof t&&(t=v(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o,s=e[r],c=s.length,u=i[r]=new Array(c),l=0;l<c;++l)(a=s[l])&&(o=t.call(a,a.__data__,l,s))&&("__data__"in a&&(o.__data__=a.__data__),u[l]=o);return new Mt(i,this._parents)},selectAll:function(t){t="function"==typeof t?function(t){return function(){return x(t.apply(this,arguments))}}(t):_(t);for(var e=this._groups,n=e.length,i=[],r=[],a=0;a<n;++a)for(var o,s=e[a],c=s.length,u=0;u<c;++u)(o=s[u])&&(i.push(t.call(o,o.__data__,u,s)),r.push(o));return new Mt(i,r)},selectChild:function(t){return this.select(null==t?S:function(t){return function(){return C.call(this.children,t)}}("function"==typeof t?t:T(t)))},selectChildren:function(t){return this.selectAll(null==t?M:function(t){return function(){return A.call(this.children,t)}}("function"==typeof t?t:T(t)))},filter:function(t){"function"!=typeof t&&(t=E(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Mt(i,this._parents)},data:function(t,e){if(!arguments.length)return Array.from(this,N);var n,i=e?D:O,r=this._parents,a=this._groups;"function"!=typeof t&&(n=t,t=function(){return n});for(var o=a.length,s=new Array(o),c=new Array(o),u=new Array(o),l=0;l<o;++l){var h=r[l],f=a[l],d=f.length,g=P(t.call(h,h&&h.__data__,l,r)),p=g.length,b=c[l]=new Array(p),w=s[l]=new Array(p);i(h,f,b,w,u[l]=new Array(d),g,e);for(var y,m,v=0,x=0;v<p;++v)if(y=b[v]){for(v>=x&&(x=v+1);!(m=w[x])&&++x<p;);y._next=m||null}}return(s=new Mt(s,r))._enter=c,s._exit=u,s},enter:function(){return new Mt(this._enter||this._groups.map(I),this._parents)},exit:function(){return new Mt(this._exit||this._groups.map(I),this._parents)},join:function(t,e,n){var i=this.enter(),r=this,a=this.exit();return"function"==typeof t?(i=t(i))&&(i=i.selection()):i=i.append(t+""),null!=e&&(r=e(r))&&(r=r.selection()),null==n?a.remove():n(a),i&&r?i.merge(r).order():r},merge:function(t){for(var e=t.selection?t.selection():t,n=this._groups,i=e._groups,r=n.length,a=i.length,o=Math.min(r,a),s=new Array(r),c=0;c<o;++c)for(var u,l=n[c],h=i[c],f=l.length,d=s[c]=new Array(f),g=0;g<f;++g)(u=l[g]||h[g])&&(d[g]=u);for(;c<r;++c)s[c]=n[c];return new Mt(s,this._parents)},selection:function(){return this},order:function(){for(var t=this._groups,e=-1,n=t.length;++e<n;)for(var i,r=t[e],a=r.length-1,o=r[a];--a>=0;)(i=r[a])&&(o&&4^i.compareDocumentPosition(o)&&o.parentNode.insertBefore(i,o),o=i);return this},sort:function(t){function e(e,n){return e&&n?t(e.__data__,n.__data__):!e-!n}t||(t=B);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a<i;++a){for(var o,s=n[a],c=s.length,u=r[a]=new Array(c),l=0;l<c;++l)(o=s[l])&&(u[l]=o);u.sort(e)}return new Mt(r,this._parents).order()},call:function(){var t=arguments[0];return arguments[0]=this,t.apply(null,arguments),this},nodes:function(){return Array.from(this)},node:function(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i=t[e],r=0,a=i.length;r<a;++r){var o=i[r];if(o)return o}return null},size:function(){let t=0;for(const e of this)++t;return t},empty:function(){return!this.node()},each:function(t){for(var e=this._groups,n=0,i=e.length;n<i;++n)for(var r,a=e[n],o=0,s=a.length;o<s;++o)(r=a[o])&&t.call(r,r.__data__,o,a);return this},attr:function(t,e){var n=j(t);if(arguments.length<2){var i=this.node();return n.local?i.getAttributeNS(n.space,n.local):i.getAttribute(n)}return this.each((null==e?n.local?z:R:"function"==typeof e?n.local?U:Z:n.local?H:q)(n,e))},style:function(t,e,n){return arguments.length>1?this.each((null==e?G:"function"==typeof e?W:K)(t,e,null==n?"":n)):X(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?V:"function"==typeof e?J:Q)(t,e)):this.node()[t]},classed:function(t,e){var n=tt(t+"");if(arguments.length<2){for(var i=et(this.node()),r=-1,a=n.length;++r<a;)if(!i.contains(n[r]))return!1;return!0}return this.each(("function"==typeof e?st:e?at:ot)(n,e))},text:function(t){return arguments.length?this.each(null==t?ct:("function"==typeof t?lt:ut)(t)):this.node().textContent},html:function(t){return arguments.length?this.each(null==t?ht:("function"==typeof t?dt:ft)(t)):this.node().innerHTML},raise:function(){return this.each(gt)},lower:function(){return this.each(pt)},append:function(t){var e="function"==typeof t?t:yt(t);return this.select((function(){return this.appendChild(e.apply(this,arguments))}))},insert:function(t,e){var n="function"==typeof t?t:yt(t),i=null==e?mt:"function"==typeof e?e:v(e);return this.select((function(){return this.insertBefore(n.apply(this,arguments),i.apply(this,arguments)||null)}))},remove:function(){return this.each(vt)},clone:function(t){return this.select(t?kt:xt)},datum:function(t){return arguments.length?this.property("__data__",t):this.node().__data__},on:function(t,e,n){var i,r,a=function(t){return t.trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");return n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}(t+""),o=a.length;if(!(arguments.length<2)){for(s=e?Et:_t,i=0;i<o;++i)this.each(s(a[i],e,n));return this}var s=this.node().__on;if(s)for(var c,u=0,l=s.length;u<l;++u)for(i=0,c=s[u];i<o;++i)if((r=a[i]).type===c.type&&r.name===c.name)return c.value},dispatch:function(t,e){return this.each(("function"==typeof e?St:Ct)(t,e))},[Symbol.iterator]:function*(){for(var t=this._groups,e=0,n=t.length;e<n;++e)for(var i,r=t[e],a=0,o=r.length;a<o;++a)(i=r[a])&&(yield i)}};const Lt=It;var Ot={value:()=>{}};function Dt(){for(var t,e=0,n=arguments.length,i={};e<n;++e){if(!(t=arguments[e]+"")||t in i||/[\s.]/.test(t))throw new Error("illegal type: "+t);i[t]=[]}return new Nt(i)}function Nt(t){this._=t}function Pt(t,e){for(var n,i=0,r=t.length;i<r;++i)if((n=t[i]).name===e)return n.value}function Bt(t,e,n){for(var i=0,r=t.length;i<r;++i)if(t[i].name===e){t[i]=Ot,t=t.slice(0,i).concat(t.slice(i+1));break}return null!=n&&t.push({name:e,value:n}),t}Nt.prototype=Dt.prototype={constructor:Nt,on:function(t,e){var n,i,r=this._,a=(i=r,(t+"").trim().split(/^|\s+/).map((function(t){var e="",n=t.indexOf(".");if(n>=0&&(e=t.slice(n+1),t=t.slice(0,n)),t&&!i.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:e}}))),o=-1,s=a.length;if(!(arguments.length<2)){if(null!=e&&"function"!=typeof e)throw new Error("invalid callback: "+e);for(;++o<s;)if(n=(t=a[o]).type)r[n]=Bt(r[n],t.name,e);else if(null==e)for(n in r)r[n]=Bt(r[n],t.name,null);return this}for(;++o<s;)if((n=(t=a[o]).type)&&(n=Pt(r[n],t.name)))return n},copy:function(){var t={},e=this._;for(var n in e)t[n]=e[n].slice();return new Nt(t)},call:function(t,e){if((n=arguments.length-2)>0)for(var n,i,r=new Array(n),a=0;a<n;++a)r[a]=arguments[a+2];if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(a=0,n=(i=this._[t]).length;a<n;++a)i[a].value.apply(e,r)},apply:function(t,e,n){if(!this._.hasOwnProperty(t))throw new Error("unknown type: "+t);for(var i=this._[t],r=0,a=i.length;r<a;++r)i[r].value.apply(e,n)}};const Ft=Dt;var $t,jt,Rt=0,zt=0,qt=0,Ht=1e3,Zt=0,Ut=0,Yt=0,Gt="object"==typeof performance&&performance.now?performance:Date,Kt="object"==typeof window&&window.requestAnimationFrame?window.requestAnimationFrame.bind(window):function(t){setTimeout(t,17)};function Wt(){return Ut||(Kt(Xt),Ut=Gt.now()+Yt)}function Xt(){Ut=0}function Vt(){this._call=this._time=this._next=null}function Qt(t,e,n){var i=new Vt;return i.restart(t,e,n),i}function Jt(){Ut=(Zt=Gt.now())+Yt,Rt=zt=0;try{!function(){Wt(),++Rt;for(var t,e=$t;e;)(t=Ut-e._time)>=0&&e._call.call(void 0,t),e=e._next;--Rt}()}finally{Rt=0,function(){for(var t,e,n=$t,i=1/0;n;)n._call?(i>n._time&&(i=n._time),t=n,n=n._next):(e=n._next,n._next=null,n=t?t._next=e:$t=e);jt=t,ee(i)}(),Ut=0}}function te(){var t=Gt.now(),e=t-Zt;e>Ht&&(Yt-=e,Zt=t)}function ee(t){Rt||(zt&&(zt=clearTimeout(zt)),t-Ut>24?(t<1/0&&(zt=setTimeout(Jt,t-Gt.now()-Yt)),qt&&(qt=clearInterval(qt))):(qt||(Zt=Gt.now(),qt=setInterval(te,Ht)),Rt=1,Kt(Jt)))}function ne(t,e,n){var i=new Vt;return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}Vt.prototype=Qt.prototype={constructor:Vt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Wt():+n)+(null==e?0:+e),this._next||jt===this||(jt?jt._next=this:$t=this,jt=this),this._call=t,this._time=n,ee()},stop:function(){this._call&&(this._call=null,this._time=1/0,ee())}};var ie=Ft("start","end","cancel","interrupt"),re=[],ae=0,oe=3;function se(t,e,n,i,r,a){var o=t.__transition;if(o){if(n in o)return}else t.__transition={};!function(t,e,n){var i,r=t.__transition;function a(c){var u,l,h,f;if(1!==n.state)return s();for(u in r)if((f=r[u]).name===n.name){if(f.state===oe)return ne(a);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u<e&&(f.state=6,f.timer.stop(),f.on.call("cancel",t,t.__data__,f.index,f.group),delete r[u])}if(ne((function(){n.state===oe&&(n.state=4,n.timer.restart(o,n.delay,n.time),o(c))})),n.state=2,n.on.call("start",t,t.__data__,n.index,n.group),2===n.state){for(n.state=oe,i=new Array(h=n.tween.length),u=0,l=-1;u<h;++u)(f=n.tween[u].value.call(t,t.__data__,n.index,n.group))&&(i[++l]=f);i.length=l+1}}function o(e){for(var r=e<n.duration?n.ease.call(null,e/n.duration):(n.timer.restart(s),n.state=5,1),a=-1,o=i.length;++a<o;)i[a].call(t,r);5===n.state&&(n.on.call("end",t,t.__data__,n.index,n.group),s())}function s(){for(var i in n.state=6,n.timer.stop(),delete r[e],r)return;delete t.__transition}r[e]=n,n.timer=Qt((function(t){n.state=1,n.timer.restart(a,n.delay,n.time),n.delay<=t&&a(t-n.delay)}),0,n.time)}(t,n,{name:e,index:i,group:r,on:ie,tween:re,time:a.time,delay:a.delay,duration:a.duration,ease:a.ease,timer:null,state:ae})}function ce(t,e){var n=le(t,e);if(n.state>ae)throw new Error("too late; already scheduled");return n}function ue(t,e){var n=le(t,e);if(n.state>oe)throw new Error("too late; already running");return n}function le(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function he(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var fe,de=180/Math.PI,ge={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function pe(t,e,n,i,r,a){var o,s,c;return(o=Math.sqrt(t*t+e*e))&&(t/=o,e/=o),(c=t*n+e*i)&&(n-=t*c,i-=e*c),(s=Math.sqrt(n*n+i*i))&&(n/=s,i/=s,c/=s),t*i<e*n&&(t=-t,e=-e,c=-c,o=-o),{translateX:r,translateY:a,rotate:Math.atan2(e,t)*de,skewX:Math.atan(c)*de,scaleX:o,scaleY:s}}function be(t,e,n,i){function r(t){return t.length?t.pop()+" ":""}return function(a,o){var s=[],c=[];return a=t(a),o=t(o),function(t,i,r,a,o,s){if(t!==r||i!==a){var c=o.push("translate(",null,e,null,n);s.push({i:c-4,x:he(t,r)},{i:c-2,x:he(i,a)})}else(r||a)&&o.push("translate("+r+e+a+n)}(a.translateX,a.translateY,o.translateX,o.translateY,s,c),function(t,e,n,a){t!==e?(t-e>180?e+=360:e-t>180&&(t+=360),a.push({i:n.push(r(n)+"rotate(",null,i)-2,x:he(t,e)})):e&&n.push(r(n)+"rotate("+e+i)}(a.rotate,o.rotate,s,c),function(t,e,n,a){t!==e?a.push({i:n.push(r(n)+"skewX(",null,i)-2,x:he(t,e)}):e&&n.push(r(n)+"skewX("+e+i)}(a.skewX,o.skewX,s,c),function(t,e,n,i,a,o){if(t!==n||e!==i){var s=a.push(r(a)+"scale(",null,",",null,")");o.push({i:s-4,x:he(t,n)},{i:s-2,x:he(e,i)})}else 1===n&&1===i||a.push(r(a)+"scale("+n+","+i+")")}(a.scaleX,a.scaleY,o.scaleX,o.scaleY,s,c),a=o=null,function(t){for(var e,n=-1,i=c.length;++n<i;)s[(e=c[n]).i]=e.x(t);return s.join("")}}}var we=be((function(t){const e=new("function"==typeof DOMMatrix?DOMMatrix:WebKitCSSMatrix)(t+"");return e.isIdentity?ge:pe(e.a,e.b,e.c,e.d,e.e,e.f)}),"px, ","px)","deg)"),ye=be((function(t){return null==t?ge:(fe||(fe=document.createElementNS("http://www.w3.org/2000/svg","g")),fe.setAttribute("transform",t),(t=fe.transform.baseVal.consolidate())?pe((t=t.matrix).a,t.b,t.c,t.d,t.e,t.f):ge)}),", ",")",")");function me(t,e){var n,i;return function(){var r=ue(this,t),a=r.tween;if(a!==n)for(var o=0,s=(i=n=a).length;o<s;++o)if(i[o].name===e){(i=i.slice()).splice(o,1);break}r.tween=i}}function ve(t,e,n){var i,r;if("function"!=typeof n)throw new Error;return function(){var a=ue(this,t),o=a.tween;if(o!==i){r=(i=o).slice();for(var s={name:e,value:n},c=0,u=r.length;c<u;++c)if(r[c].name===e){r[c]=s;break}c===u&&r.push(s)}a.tween=r}}function xe(t,e,n){var i=t._id;return t.each((function(){var t=ue(this,i);(t.value||(t.value={}))[e]=n.apply(this,arguments)})),function(t){return le(t,i).value[e]}}function ke(t,e,n){t.prototype=e.prototype=n,n.constructor=t}function _e(t,e){var n=Object.create(t.prototype);for(var i in e)n[i]=e[i];return n}function Ee(){}var Te=.7,Ce=1/Te,Se="\\s*([+-]?\\d+)\\s*",Ae="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",Me="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",Ie=/^#([0-9a-f]{3,8})$/,Le=new RegExp(`^rgb\\(${Se},${Se},${Se}\\)$`),Oe=new RegExp(`^rgb\\(${Me},${Me},${Me}\\)$`),De=new RegExp(`^rgba\\(${Se},${Se},${Se},${Ae}\\)$`),Ne=new RegExp(`^rgba\\(${Me},${Me},${Me},${Ae}\\)$`),Pe=new RegExp(`^hsl\\(${Ae},${Me},${Me}\\)$`),Be=new RegExp(`^hsla\\(${Ae},${Me},${Me},${Ae}\\)$`),Fe={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function $e(){return this.rgb().formatHex()}function je(){return this.rgb().formatRgb()}function Re(t){var e,n;return t=(t+"").trim().toLowerCase(),(e=Ie.exec(t))?(n=e[1].length,e=parseInt(e[1],16),6===n?ze(e):3===n?new Ue(e>>8&15|e>>4&240,e>>4&15|240&e,(15&e)<<4|15&e,1):8===n?qe(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?qe(e>>12&15|e>>8&240,e>>8&15|e>>4&240,e>>4&15|240&e,((15&e)<<4|15&e)/255):null):(e=Le.exec(t))?new Ue(e[1],e[2],e[3],1):(e=Oe.exec(t))?new Ue(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=De.exec(t))?qe(e[1],e[2],e[3],e[4]):(e=Ne.exec(t))?qe(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=Pe.exec(t))?Ve(e[1],e[2]/100,e[3]/100,1):(e=Be.exec(t))?Ve(e[1],e[2]/100,e[3]/100,e[4]):Fe.hasOwnProperty(t)?ze(Fe[t]):"transparent"===t?new Ue(NaN,NaN,NaN,0):null}function ze(t){return new Ue(t>>16&255,t>>8&255,255&t,1)}function qe(t,e,n,i){return i<=0&&(t=e=n=NaN),new Ue(t,e,n,i)}function He(t){return t instanceof Ee||(t=Re(t)),t?new Ue((t=t.rgb()).r,t.g,t.b,t.opacity):new Ue}function Ze(t,e,n,i){return 1===arguments.length?He(t):new Ue(t,e,n,null==i?1:i)}function Ue(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function Ye(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}`}function Ge(){const t=Ke(this.opacity);return`${1===t?"rgb(":"rgba("}${We(this.r)}, ${We(this.g)}, ${We(this.b)}${1===t?")":`, ${t})`}`}function Ke(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function We(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Xe(t){return((t=We(t))<16?"0":"")+t.toString(16)}function Ve(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Je(t,e,n,i)}function Qe(t){if(t instanceof Je)return new Je(t.h,t.s,t.l,t.opacity);if(t instanceof Ee||(t=Re(t)),!t)return new Je;if(t instanceof Je)return t;var e=(t=t.rgb()).r/255,n=t.g/255,i=t.b/255,r=Math.min(e,n,i),a=Math.max(e,n,i),o=NaN,s=a-r,c=(a+r)/2;return s?(o=e===a?(n-i)/s+6*(n<i):n===a?(i-e)/s+2:(e-n)/s+4,s/=c<.5?a+r:2-a-r,o*=60):s=c>0&&c<1?0:o,new Je(o,s,c,t.opacity)}function Je(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function tn(t){return(t=(t||0)%360)<0?t+360:t}function en(t){return Math.max(0,Math.min(1,t||0))}function nn(t,e,n){return 255*(t<60?e+(n-e)*t/60:t<180?n:t<240?e+(n-e)*(240-t)/60:e)}function rn(t,e,n,i,r){var a=t*t,o=a*t;return((1-3*t+3*a-o)*e+(4-6*a+3*o)*n+(1+3*t+3*a-3*o)*i+o*r)/6}ke(Ee,Re,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:$e,formatHex:$e,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return Qe(this).formatHsl()},formatRgb:je,toString:je}),ke(Ue,Ze,_e(Ee,{brighter(t){return t=null==t?Ce:Math.pow(Ce,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?Te:Math.pow(Te,t),new Ue(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new Ue(We(this.r),We(this.g),We(this.b),Ke(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:Ye,formatHex:Ye,formatHex8:function(){return`#${Xe(this.r)}${Xe(this.g)}${Xe(this.b)}${Xe(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:Ge,toString:Ge})),ke(Je,(function(t,e,n,i){return 1===arguments.length?Qe(t):new Je(t,e,n,null==i?1:i)}),_e(Ee,{brighter(t){return t=null==t?Ce:Math.pow(Ce,t),new Je(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?Te:Math.pow(Te,t),new Je(this.h,this.s,this.l*t,this.opacity)},rgb(){var t=this.h%360+360*(this.h<0),e=isNaN(t)||isNaN(this.s)?0:this.s,n=this.l,i=n+(n<.5?n:1-n)*e,r=2*n-i;return new Ue(nn(t>=240?t-240:t+120,r,i),nn(t,r,i),nn(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Je(tn(this.h),en(this.s),en(this.l),Ke(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const t=Ke(this.opacity);return`${1===t?"hsl(":"hsla("}${tn(this.h)}, ${100*en(this.s)}%, ${100*en(this.l)}%${1===t?")":`, ${t})`}`}}));const an=t=>()=>t;function on(t,e){return function(n){return t+n*e}}function sn(t,e){var n=e-t;return n?on(t,n):an(isNaN(t)?e:t)}const cn=function t(e){var n=function(t){return 1==(t=+t)?sn:function(e,n){return n-e?function(t,e,n){return t=Math.pow(t,n),e=Math.pow(e,n)-t,n=1/n,function(i){return Math.pow(t+i*e,n)}}(e,n,t):an(isNaN(e)?n:e)}}(e);function i(t,e){var i=n((t=Ze(t)).r,(e=Ze(e)).r),r=n(t.g,e.g),a=n(t.b,e.b),o=sn(t.opacity,e.opacity);return function(e){return t.r=i(e),t.g=r(e),t.b=a(e),t.opacity=o(e),t+""}}return i.gamma=t,i}(1);function un(t){return function(e){var n,i,r=e.length,a=new Array(r),o=new Array(r),s=new Array(r);for(n=0;n<r;++n)i=Ze(e[n]),a[n]=i.r||0,o[n]=i.g||0,s[n]=i.b||0;return a=t(a),o=t(o),s=t(s),i.opacity=1,function(t){return i.r=a(t),i.g=o(t),i.b=s(t),i+""}}}un((function(t){var e=t.length-1;return function(n){var i=n<=0?n=0:n>=1?(n=1,e-1):Math.floor(n*e),r=t[i],a=t[i+1],o=i>0?t[i-1]:2*r-a,s=i<e-1?t[i+2]:2*a-r;return rn((n-i/e)*e,o,r,a,s)}})),un((function(t){var e=t.length;return function(n){var i=Math.floor(((n%=1)<0?++n:n)*e),r=t[(i+e-1)%e],a=t[i%e],o=t[(i+1)%e],s=t[(i+2)%e];return rn((n-i/e)*e,r,a,o,s)}}));var ln=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,hn=new RegExp(ln.source,"g");function fn(t,e){var n,i,r,a=ln.lastIndex=hn.lastIndex=0,o=-1,s=[],c=[];for(t+="",e+="";(n=ln.exec(t))&&(i=hn.exec(e));)(r=i.index)>a&&(r=e.slice(a,r),s[o]?s[o]+=r:s[++o]=r),(n=n[0])===(i=i[0])?s[o]?s[o]+=i:s[++o]=i:(s[++o]=null,c.push({i:o,x:he(n,i)})),a=hn.lastIndex;return a<e.length&&(r=e.slice(a),s[o]?s[o]+=r:s[++o]=r),s.length<2?c[0]?function(t){return function(e){return t(e)+""}}(c[0].x):function(t){return function(){return t}}(e):(e=c.length,function(t){for(var n,i=0;i<e;++i)s[(n=c[i]).i]=n.x(t);return s.join("")})}function dn(t,e){var n;return("number"==typeof e?he:e instanceof Re?cn:(n=Re(e))?(e=n,cn):fn)(t,e)}function gn(t){return function(){this.removeAttribute(t)}}function pn(t){return function(){this.removeAttributeNS(t.space,t.local)}}function bn(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttribute(t);return o===a?null:o===i?r:r=e(i=o,n)}}function wn(t,e,n){var i,r,a=n+"";return function(){var o=this.getAttributeNS(t.space,t.local);return o===a?null:o===i?r:r=e(i=o,n)}}function yn(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttribute(t))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttribute(t)}}function mn(t,e,n){var i,r,a;return function(){var o,s,c=n(this);if(null!=c)return(o=this.getAttributeNS(t.space,t.local))===(s=c+"")?null:o===i&&s===r?a:(r=s,a=e(i=o,c));this.removeAttributeNS(t.space,t.local)}}function vn(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&function(t,e){return function(n){this.setAttributeNS(t.space,t.local,e.call(this,n))}}(t,r)),n}return r._value=e,r}function xn(t,e){var n,i;function r(){var r=e.apply(this,arguments);return r!==i&&(n=(i=r)&&function(t,e){return function(n){this.setAttribute(t,e.call(this,n))}}(t,r)),n}return r._value=e,r}function kn(t,e){return function(){ce(this,t).delay=+e.apply(this,arguments)}}function _n(t,e){return e=+e,function(){ce(this,t).delay=e}}function En(t,e){return function(){ue(this,t).duration=+e.apply(this,arguments)}}function Tn(t,e){return e=+e,function(){ue(this,t).duration=e}}var Cn=Lt.prototype.constructor;function Sn(t){return function(){this.style.removeProperty(t)}}var An=0;function Mn(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function In(){return++An}var Ln=Lt.prototype;Mn.prototype=function(t){return Lt().transition(t)}.prototype={constructor:Mn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=v(t));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o<r;++o)for(var s,c,u=i[o],l=u.length,h=a[o]=new Array(l),f=0;f<l;++f)(s=u[f])&&(c=t.call(s,s.__data__,f,u))&&("__data__"in s&&(c.__data__=s.__data__),h[f]=c,se(h[f],e,n,f,h,le(s,n)));return new Mn(a,this._parents,e,n)},selectAll:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=_(t));for(var i=this._groups,r=i.length,a=[],o=[],s=0;s<r;++s)for(var c,u=i[s],l=u.length,h=0;h<l;++h)if(c=u[h]){for(var f,d=t.call(c,c.__data__,h,u),g=le(c,n),p=0,b=d.length;p<b;++p)(f=d[p])&&se(f,e,n,p,d,g);a.push(d),o.push(c)}return new Mn(a,o,e,n)},selectChild:Ln.selectChild,selectChildren:Ln.selectChildren,filter:function(t){"function"!=typeof t&&(t=E(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r<n;++r)for(var a,o=e[r],s=o.length,c=i[r]=[],u=0;u<s;++u)(a=o[u])&&t.call(a,a.__data__,u,o)&&c.push(a);return new Mn(i,this._parents,this._name,this._id)},merge:function(t){if(t._id!==this._id)throw new Error;for(var e=this._groups,n=t._groups,i=e.length,r=n.length,a=Math.min(i,r),o=new Array(i),s=0;s<a;++s)for(var c,u=e[s],l=n[s],h=u.length,f=o[s]=new Array(h),d=0;d<h;++d)(c=u[d]||l[d])&&(f[d]=c);for(;s<i;++s)o[s]=e[s];return new Mn(o,this._parents,this._name,this._id)},selection:function(){return new Cn(this._groups,this._parents)},transition:function(){for(var t=this._name,e=this._id,n=In(),i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)if(o=s[u]){var l=le(o,e);se(o,t,n,u,s,{time:l.time+l.delay+l.duration,delay:0,duration:l.duration,ease:l.ease})}return new Mn(i,this._parents,t,n)},call:Ln.call,nodes:Ln.nodes,node:Ln.node,size:Ln.size,empty:Ln.empty,each:Ln.each,on:function(t,e){var n=this._id;return arguments.length<2?le(this.node(),n).on.on(t):this.each(function(t,e,n){var i,r,a=function(t){return(t+"").trim().split(/^|\s+/).every((function(t){var e=t.indexOf(".");return e>=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?ce:ue;return function(){var o=a(this,t),s=o.on;s!==i&&(r=(i=s).copy()).on(e,n),o.on=r}}(n,t,e))},attr:function(t,e){var n=j(t),i="transform"===n?ye:dn;return this.attrTween(t,"function"==typeof e?(n.local?mn:yn)(n,i,xe(this,"attr."+t,e)):null==e?(n.local?pn:gn)(n):(n.local?wn:bn)(n,i,e))},attrTween:function(t,e){var n="attr."+t;if(arguments.length<2)return(n=this.tween(n))&&n._value;if(null==e)return this.tween(n,null);if("function"!=typeof e)throw new Error;var i=j(t);return this.tween(n,(i.local?vn:xn)(i,e))},style:function(t,e,n){var i="transform"==(t+="")?we:dn;return null==e?this.styleTween(t,function(t,e){var n,i,r;return function(){var a=X(this,t),o=(this.style.removeProperty(t),X(this,t));return a===o?null:a===n&&o===i?r:r=e(n=a,i=o)}}(t,i)).on("end.style."+t,Sn(t)):"function"==typeof e?this.styleTween(t,function(t,e,n){var i,r,a;return function(){var o=X(this,t),s=n(this),c=s+"";return null==s&&(this.style.removeProperty(t),c=s=X(this,t)),o===c?null:o===i&&c===r?a:(r=c,a=e(i=o,s))}}(t,i,xe(this,"style."+t,e))).each(function(t,e){var n,i,r,a,o="style."+e,s="end."+o;return function(){var c=ue(this,t),u=c.on,l=null==c.value[o]?a||(a=Sn(e)):void 0;u===n&&r===l||(i=(n=u).copy()).on(s,r=l),c.on=i}}(this._id,t)):this.styleTween(t,function(t,e,n){var i,r,a=n+"";return function(){var o=X(this,t);return o===a?null:o===i?r:r=e(i=o,n)}}(t,i,e),n).on("end.style."+t,null)},styleTween:function(t,e,n){var i="style."+(t+="");if(arguments.length<2)return(i=this.tween(i))&&i._value;if(null==e)return this.tween(i,null);if("function"!=typeof e)throw new Error;return this.tween(i,function(t,e,n){var i,r;function a(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&function(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}(t,a,n)),i}return a._value=e,a}(t,e,null==n?"":n))},text:function(t){return this.tween("text","function"==typeof t?function(t){return function(){var e=t(this);this.textContent=null==e?"":e}}(xe(this,"text",t)):function(t){return function(){this.textContent=t}}(null==t?"":t+""))},textTween:function(t){var e="text";if(arguments.length<1)return(e=this.tween(e))&&e._value;if(null==t)return this.tween(e,null);if("function"!=typeof t)throw new Error;return this.tween(e,function(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&function(t){return function(e){this.textContent=t.call(this,e)}}(i)),e}return i._value=t,i}(t))},remove:function(){return this.on("end.remove",function(t){return function(){var e=this.parentNode;for(var n in this.__transition)if(+n!==t)return;e&&e.removeChild(this)}}(this._id))},tween:function(t,e){var n=this._id;if(t+="",arguments.length<2){for(var i,r=le(this.node(),n).tween,a=0,o=r.length;a<o;++a)if((i=r[a]).name===t)return i.value;return null}return this.each((null==e?me:ve)(n,t,e))},delay:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?kn:_n)(e,t)):le(this.node(),e).delay},duration:function(t){var e=this._id;return arguments.length?this.each(("function"==typeof t?En:Tn)(e,t)):le(this.node(),e).duration},ease:function(t){var e=this._id;return arguments.length?this.each(function(t,e){if("function"!=typeof e)throw new Error;return function(){ue(this,t).ease=e}}(e,t)):le(this.node(),e).ease},easeVarying:function(t){if("function"!=typeof t)throw new Error;return this.each(function(t,e){return function(){var n=e.apply(this,arguments);if("function"!=typeof n)throw new Error;ue(this,t).ease=n}}(this._id,t))},end:function(){var t,e,n=this,i=n._id,r=n.size();return new Promise((function(a,o){var s={value:o},c={value:function(){0==--r&&a()}};n.each((function(){var n=ue(this,i),r=n.on;r!==t&&((e=(t=r).copy())._.cancel.push(s),e._.interrupt.push(s),e._.end.push(c)),n.on=e})),0===r&&a()}))},[Symbol.iterator]:Ln[Symbol.iterator]};var On={time:null,delay:0,duration:250,ease:function(t){return((t*=2)<=1?t*t*t:(t-=2)*t*t+2)/2}};function Dn(t,e){for(var n;!(n=t.__transition)||!(n=n[e]);)if(!(t=t.parentNode))throw new Error(`transition ${e} not found`);return n}Lt.prototype.interrupt=function(t){return this.each((function(){!function(t,e){var n,i,r,a=t.__transition,o=!0;if(a){for(r in e=null==e?null:e+"",a)(n=a[r]).name===e?(i=n.state>2&&n.state<5,n.state=6,n.timer.stop(),n.on.call(i?"interrupt":"cancel",t,t.__data__,n.index,n.group),delete a[r]):o=!1;o&&delete t.__transition}}(this,t)}))},Lt.prototype.transition=function(t){var e,n;t instanceof Mn?(e=t._id,t=t._name):(e=In(),(n=On).time=Wt(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,a=0;a<r;++a)for(var o,s=i[a],c=s.length,u=0;u<c;++u)(o=s[u])&&se(o,t,e,u,s,n||Dn(o,e));return new Mn(i,this._parents,t,e)};const{abs:Nn,max:Pn,min:Bn}=Math;function Fn(t){return{type:t}}function $n(t){if(!t.ok)throw new Error(t.status+" "+t.statusText);return t.text()}function jn(t){return(e,n)=>function(t,e){return fetch(t,e).then($n)}(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}["w","e"].map(Fn),["n","s"].map(Fn),["n","w","e","s","nw","ne","sw","se"].map(Fn),jn("application/xml"),jn("text/html");var Rn=jn("image/svg+xml");const zn=Math.PI/180,qn=180/Math.PI,Hn=.96422,Zn=1,Un=.82521,Yn=4/29,Gn=6/29,Kn=3*Gn*Gn,Wn=Gn*Gn*Gn;function Xn(t){if(t instanceof Vn)return new Vn(t.l,t.a,t.b,t.opacity);if(t instanceof ii)return ri(t);t instanceof Ue||(t=He(t));var e,n,i=ei(t.r),r=ei(t.g),a=ei(t.b),o=Qn((.2225045*i+.7168786*r+.0606169*a)/Zn);return i===r&&r===a?e=n=o:(e=Qn((.4360747*i+.3850649*r+.1430804*a)/Hn),n=Qn((.0139322*i+.0971045*r+.7141733*a)/Un)),new Vn(116*o-16,500*(e-o),200*(o-n),t.opacity)}function Vn(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}function Qn(t){return t>Wn?Math.pow(t,1/3):t/Kn+Yn}function Jn(t){return t>Gn?t*t*t:Kn*(t-Yn)}function ti(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function ei(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function ni(t,e,n,i){return 1===arguments.length?function(t){if(t instanceof ii)return new ii(t.h,t.c,t.l,t.opacity);if(t instanceof Vn||(t=Xn(t)),0===t.a&&0===t.b)return new ii(NaN,0<t.l&&t.l<100?0:NaN,t.l,t.opacity);var e=Math.atan2(t.b,t.a)*qn;return new ii(e<0?e+360:e,Math.sqrt(t.a*t.a+t.b*t.b),t.l,t.opacity)}(t):new ii(t,e,n,null==i?1:i)}function ii(t,e,n,i){this.h=+t,this.c=+e,this.l=+n,this.opacity=+i}function ri(t){if(isNaN(t.h))return new Vn(t.l,0,0,t.opacity);var e=t.h*zn;return new Vn(t.l,Math.cos(e)*t.c,Math.sin(e)*t.c,t.opacity)}function ai(t){return function(e,n){var i=t((e=ni(e)).h,(n=ni(n)).h),r=sn(e.c,n.c),a=sn(e.l,n.l),o=sn(e.opacity,n.opacity);return function(t){return e.h=i(t),e.c=r(t),e.l=a(t),e.opacity=o(t),e+""}}}ke(Vn,(function(t,e,n,i){return 1===arguments.length?Xn(t):new Vn(t,e,n,null==i?1:i)}),_e(Ee,{brighter(t){return new Vn(this.l+18*(null==t?1:t),this.a,this.b,this.opacity)},darker(t){return new Vn(this.l-18*(null==t?1:t),this.a,this.b,this.opacity)},rgb(){var t=(this.l+16)/116,e=isNaN(this.a)?t:t+this.a/500,n=isNaN(this.b)?t:t-this.b/200;return new Ue(ti(3.1338561*(e=Hn*Jn(e))-1.6168667*(t=Zn*Jn(t))-.4906146*(n=Un*Jn(n))),ti(-.9787684*e+1.9161415*t+.033454*n),ti(.0719453*e-.2289914*t+1.4052427*n),this.opacity)}})),ke(ii,ni,_e(Ee,{brighter(t){return new ii(this.h,this.c,this.l+18*(null==t?1:t),this.opacity)},darker(t){return new ii(this.h,this.c,this.l-18*(null==t?1:t),this.opacity)},rgb(){return ri(this).rgb()}}));const oi=ai((function(t,e){var n=e-t;return n?on(t,n>180||n<-180?n-360*Math.round(n/360):n):an(isNaN(t)?e:t)}));ai(sn);const si=Math.sqrt(50),ci=Math.sqrt(10),ui=Math.sqrt(2);function li(t,e,n){const i=(e-t)/Math.max(0,n),r=Math.floor(Math.log10(i)),a=i/Math.pow(10,r),o=a>=si?10:a>=ci?5:a>=ui?2:1;let s,c,u;return r<0?(u=Math.pow(10,-r)/o,s=Math.round(t*u),c=Math.round(e*u),s/u<t&&++s,c/u>e&&--c,u=-u):(u=Math.pow(10,r)*o,s=Math.round(t/u),c=Math.round(e/u),s*u<t&&++s,c*u>e&&--c),c<s&&.5<=n&&n<2?li(t,e,2*n):[s,c,u]}function hi(t,e,n){return li(t=+t,e=+e,n=+n)[2]}function fi(t,e,n){n=+n;const i=(e=+e)<(t=+t),r=i?hi(e,t,n):hi(t,e,n);return(i?-1:1)*(r<0?1/-r:r)}function di(t,e){return null==t||null==e?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function gi(t,e){return null==t||null==e?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function pi(t){let e,n,i;function r(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<0?r=e+1:a=e}while(r<a)}return r}return 2!==t.length?(e=di,n=(e,n)=>di(t(e),n),i=(e,n)=>t(e)-n):(e=t===di||t===gi?t:bi,n=t,i=t),{left:r,center:function(t,e,n=0,a=t.length){const o=r(t,e,n,a-1);return o>n&&i(t[o-1],e)>-i(t[o],e)?o-1:o},right:function(t,i,r=0,a=t.length){if(r<a){if(0!==e(i,i))return a;do{const e=r+a>>>1;n(t[e],i)<=0?r=e+1:a=e}while(r<a)}return r}}}function bi(){return 0}const wi=pi(di),yi=wi.right,mi=(wi.left,pi((function(t){return null===t?NaN:+t})).center,yi);function vi(t,e){var n,i=e?e.length:0,r=t?Math.min(i,t.length):0,a=new Array(r),o=new Array(i);for(n=0;n<r;++n)a[n]=Ei(t[n],e[n]);for(;n<i;++n)o[n]=e[n];return function(t){for(n=0;n<r;++n)o[n]=a[n](t);return o}}function xi(t,e){var n=new Date;return t=+t,e=+e,function(i){return n.setTime(t*(1-i)+e*i),n}}function ki(t,e){var n,i={},r={};for(n in null!==t&&"object"==typeof t||(t={}),null!==e&&"object"==typeof e||(e={}),e)n in t?i[n]=Ei(t[n],e[n]):r[n]=e[n];return function(t){for(n in i)r[n]=i[n](t);return r}}function _i(t,e){e||(e=[]);var n,i=t?Math.min(e.length,t.length):0,r=e.slice();return function(a){for(n=0;n<i;++n)r[n]=t[n]*(1-a)+e[n]*a;return r}}function Ei(t,e){var n,i,r=typeof e;return null==e||"boolean"===r?an(e):("number"===r?he:"string"===r?(n=Re(e))?(e=n,cn):fn:e instanceof Re?cn:e instanceof Date?xi:(i=e,!ArrayBuffer.isView(i)||i instanceof DataView?Array.isArray(e)?vi:"function"!=typeof e.valueOf&&"function"!=typeof e.toString||isNaN(e)?ki:he:_i))(t,e)}function Ti(t,e){return t=+t,e=+e,function(n){return Math.round(t*(1-n)+e*n)}}function Ci(t){return+t}var Si=[0,1];function Ai(t){return t}function Mi(t,e){return(e-=t=+t)?function(n){return(n-t)/e}:(n=isNaN(e)?NaN:.5,function(){return n});var n}function Ii(t,e,n){var i=t[0],r=t[1],a=e[0],o=e[1];return r<i?(i=Mi(r,i),a=n(o,a)):(i=Mi(i,r),a=n(a,o)),function(t){return a(i(t))}}function Li(t,e,n){var i=Math.min(t.length,e.length)-1,r=new Array(i),a=new Array(i),o=-1;for(t[i]<t[0]&&(t=t.slice().reverse(),e=e.slice().reverse());++o<i;)r[o]=Mi(t[o],t[o+1]),a[o]=n(e[o],e[o+1]);return function(e){var n=mi(t,e,1,i)-1;return a[n](r[n](e))}}function Oi(t,e){return e.domain(t.domain()).range(t.range()).interpolate(t.interpolate()).clamp(t.clamp()).unknown(t.unknown())}function Di(){return function(){var t,e,n,i,r,a,o=Si,s=Si,c=Ei,u=Ai;function l(){var t,e,n,c=Math.min(o.length,s.length);return u!==Ai&&(t=o[0],e=o[c-1],t>e&&(n=t,t=e,e=n),u=function(n){return Math.max(t,Math.min(e,n))}),i=c>2?Li:Ii,r=a=null,h}function h(e){return null==e||isNaN(e=+e)?n:(r||(r=i(o.map(t),s,c)))(t(u(e)))}return h.invert=function(n){return u(e((a||(a=i(s,o.map(t),he)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Ci),l()):o.slice()},h.range=function(t){return arguments.length?(s=Array.from(t),l()):s.slice()},h.rangeRound=function(t){return s=Array.from(t),c=Ti,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ai,l()):u!==Ai},h.interpolate=function(t){return arguments.length?(c=t,l()):c},h.unknown=function(t){return arguments.length?(n=t,h):n},function(n,i){return t=n,e=i,l()}}()(Ai,Ai)}function Ni(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var Pi,Bi=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Fi(t){if(!(e=Bi.exec(t)))throw new Error("invalid format: "+t);var e;return new $i({fill:e[1],align:e[2],sign:e[3],symbol:e[4],zero:e[5],width:e[6],comma:e[7],precision:e[8]&&e[8].slice(1),trim:e[9],type:e[10]})}function $i(t){this.fill=void 0===t.fill?" ":t.fill+"",this.align=void 0===t.align?">":t.align+"",this.sign=void 0===t.sign?"-":t.sign+"",this.symbol=void 0===t.symbol?"":t.symbol+"",this.zero=!!t.zero,this.width=void 0===t.width?void 0:+t.width,this.comma=!!t.comma,this.precision=void 0===t.precision?void 0:+t.precision,this.trim=!!t.trim,this.type=void 0===t.type?"":t.type+""}function ji(t,e){if((n=(t=e?t.toExponential(e-1):t.toExponential()).indexOf("e"))<0)return null;var n,i=t.slice(0,n);return[i.length>1?i[0]+i.slice(2):i,+t.slice(n+1)]}function Ri(t){return(t=ji(Math.abs(t)))?t[1]:NaN}function zi(t,e){var n=ji(t,e);if(!n)return t+"";var i=n[0],r=n[1];return r<0?"0."+new Array(-r).join("0")+i:i.length>r+1?i.slice(0,r+1)+"."+i.slice(r+1):i+new Array(r-i.length+2).join("0")}Fi.prototype=$i.prototype,$i.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const qi={"%":(t,e)=>(100*t).toFixed(e),b:t=>Math.round(t).toString(2),c:t=>t+"",d:function(t){return Math.abs(t=Math.round(t))>=1e21?t.toLocaleString("en").replace(/,/g,""):t.toString(10)},e:(t,e)=>t.toExponential(e),f:(t,e)=>t.toFixed(e),g:(t,e)=>t.toPrecision(e),o:t=>Math.round(t).toString(8),p:(t,e)=>zi(100*t,e),r:zi,s:function(t,e){var n=ji(t,e);if(!n)return t+"";var i=n[0],r=n[1],a=r-(Pi=3*Math.max(-8,Math.min(8,Math.floor(r/3))))+1,o=i.length;return a===o?i:a>o?i+new Array(a-o+1).join("0"):a>0?i.slice(0,a)+"."+i.slice(a):"0."+new Array(1-a).join("0")+ji(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Hi(t){return t}var Zi,Ui,Yi,Gi=Array.prototype.map,Ki=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function Wi(t){var e=t.domain;return t.ticks=function(t){var n=e();return function(t,e,n){if(!((n=+n)>0))return[];if((t=+t)==(e=+e))return[t];const i=e<t,[r,a,o]=i?li(e,t,n):li(t,e,n);if(!(a>=r))return[];const s=a-r+1,c=new Array(s);if(i)if(o<0)for(let t=0;t<s;++t)c[t]=(a-t)/-o;else for(let t=0;t<s;++t)c[t]=(a-t)*o;else if(o<0)for(let t=0;t<s;++t)c[t]=(r+t)/-o;else for(let t=0;t<s;++t)c[t]=(r+t)*o;return c}(n[0],n[n.length-1],null==t?10:t)},t.tickFormat=function(t,n){var i=e();return function(t,e,n,i){var r,a=fi(t,e,n);switch((i=Fi(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Ri(e)/3)))-Ri(Math.abs(t)))}(a,o))||(i.precision=r),Yi(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Ri(e)-Ri(t))+1}(a,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-Ri(Math.abs(t)))}(a))||(i.precision=r-2*("%"===i.type))}return Ui(i)}(i[0],i[i.length-1],null==t?10:t,n)},t.nice=function(n){null==n&&(n=10);var i,r,a=e(),o=0,s=a.length-1,c=a[o],u=a[s],l=10;for(u<c&&(r=c,c=u,u=r,r=o,o=s,s=r);l-- >0;){if((r=hi(c,u,n))===i)return a[o]=c,a[s]=u,e(a);if(r>0)c=Math.floor(c/r)*r,u=Math.ceil(u/r)*r;else{if(!(r<0))break;c=Math.ceil(c*r)/r,u=Math.floor(u*r)/r}i=r}return t},t}function Xi(){var t=Di();return t.copy=function(){return Oi(t,Xi())},Ni.apply(t,arguments),Wi(t)}Zi=function(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?Hi:(e=Gi.call(t.grouping,Number),n=t.thousands+"",function(t,i){for(var r=t.length,a=[],o=0,s=e[0],c=0;r>0&&s>0&&(c+s+1>i&&(s=Math.max(1,i-c)),a.push(t.substring(r-=s,r+s)),!((c+=s+1)>i));)s=e[o=(o+1)%e.length];return a.reverse().join(n)}),r=void 0===t.currency?"":t.currency[0]+"",a=void 0===t.currency?"":t.currency[1]+"",o=void 0===t.decimal?".":t.decimal+"",s=void 0===t.numerals?Hi:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(Gi.call(t.numerals,String)),c=void 0===t.percent?"%":t.percent+"",u=void 0===t.minus?"":t.minus+"",l=void 0===t.nan?"NaN":t.nan+"";function h(t){var e=(t=Fi(t)).fill,n=t.align,h=t.sign,f=t.symbol,d=t.zero,g=t.width,p=t.comma,b=t.precision,w=t.trim,y=t.type;"n"===y?(p=!0,y="g"):qi[y]||(void 0===b&&(b=12),w=!0,y="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var m="$"===f?r:"#"===f&&/[boxX]/.test(y)?"0"+y.toLowerCase():"",v="$"===f?a:/[%p]/.test(y)?c:"",x=qi[y],k=/[defgprs%]/.test(y);function _(t){var r,a,c,f=m,_=v;if("c"===y)_=x(t)+_,t="";else{var E=(t=+t)<0||1/t<0;if(t=isNaN(t)?l:x(Math.abs(t),b),w&&(t=function(t){t:for(var e,n=t.length,i=1,r=-1;i<n;++i)switch(t[i]){case".":r=e=i;break;case"0":0===r&&(r=i),e=i;break;default:if(!+t[i])break t;r>0&&(r=0)}return r>0?t.slice(0,r)+t.slice(e+1):t}(t)),E&&0==+t&&"+"!==h&&(E=!1),f=(E?"("===h?h:u:"-"===h||"("===h?"":h)+f,_=("s"===y?Ki[8+Pi/3]:"")+_+(E&&"("===h?")":""),k)for(r=-1,a=t.length;++r<a;)if(48>(c=t.charCodeAt(r))||c>57){_=(46===c?o+t.slice(r+1):t.slice(r))+_,t=t.slice(0,r);break}}p&&!d&&(t=i(t,1/0));var T=f.length+t.length+_.length,C=T<g?new Array(g-T+1).join(e):"";switch(p&&d&&(t=i(C+t,C.length?g-_.length:1/0),C=""),n){case"<":t=f+t+_+C;break;case"=":t=f+C+t+_;break;case"^":t=C.slice(0,T=C.length>>1)+f+t+_+C.slice(T);break;default:t=C+f+t+_}return s(t)}return b=void 0===b?6:/[gprs]/.test(y)?Math.max(1,Math.min(21,b)):Math.max(0,Math.min(20,b)),_.toString=function(){return t+""},_}return{format:h,formatPrefix:function(t,e){var n=h(((t=Fi(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Ri(e)/3))),r=Math.pow(10,-i),a=Ki[8+i/3];return function(t){return n(r*t)+a}}}}({thousands:",",grouping:[3],currency:["$",""]}),Ui=Zi.format,Yi=Zi.formatPrefix;class Vi extends Map{constructor(t,e=Ji){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:e}}),null!=t)for(const[e,n]of t)this.set(e,n)}get(t){return super.get(Qi(this,t))}has(t){return super.has(Qi(this,t))}set(t,e){return super.set(function({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}(this,t),e)}delete(t){return super.delete(function({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}(this,t))}}function Qi({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function Ji(t){return null!==t&&"object"==typeof t?t.valueOf():t}const tr=Symbol("implicit");function er(){var t=new Vi,e=[],n=[],i=tr;function r(r){let a=t.get(r);if(void 0===a){if(i!==tr)return i;t.set(r,a=e.push(r)-1)}return n[a%n.length]}return r.domain=function(n){if(!arguments.length)return e.slice();e=[],t=new Vi;for(const i of n)t.has(i)||t.set(i,e.push(i)-1);return r},r.range=function(t){return arguments.length?(n=Array.from(t),r):n.slice()},r.unknown=function(t){return arguments.length?(i=t,r):i},r.copy=function(){return er(e,n).unknown(i)},Ni.apply(r,arguments),r}const nr=1e3,ir=6e4,rr=36e5,ar=864e5,or=6048e5,sr=31536e6,cr=new Date,ur=new Date;function lr(t,e,n,i){function r(e){return t(e=0===arguments.length?new Date:new Date(+e)),e}return r.floor=e=>(t(e=new Date(+e)),e),r.ceil=n=>(t(n=new Date(n-1)),e(n,1),t(n),n),r.round=t=>{const e=r(t),n=r.ceil(t);return t-e<n-t?e:n},r.offset=(t,n)=>(e(t=new Date(+t),null==n?1:Math.floor(n)),t),r.range=(n,i,a)=>{const o=[];if(n=r.ceil(n),a=null==a?1:Math.floor(a),!(n<i&&a>0))return o;let s;do{o.push(s=new Date(+n)),e(n,a),t(n)}while(s<n&&n<i);return o},r.filter=n=>lr((e=>{if(e>=e)for(;t(e),!n(e);)e.setTime(e-1)}),((t,i)=>{if(t>=t)if(i<0)for(;++i<=0;)for(;e(t,-1),!n(t););else for(;--i>=0;)for(;e(t,1),!n(t););})),n&&(r.count=(e,i)=>(cr.setTime(+e),ur.setTime(+i),t(cr),t(ur),Math.floor(n(cr,ur))),r.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?r.filter(i?e=>i(e)%t==0:e=>r.count(0,e)%t==0):r:null)),r}const hr=lr((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));hr.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?lr((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):hr:null),hr.range;const fr=lr((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*nr)}),((t,e)=>(e-t)/nr),(t=>t.getUTCSeconds())),dr=(fr.range,lr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*nr)}),((t,e)=>{t.setTime(+t+e*ir)}),((t,e)=>(e-t)/ir),(t=>t.getMinutes()))),gr=(dr.range,lr((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*ir)}),((t,e)=>(e-t)/ir),(t=>t.getUTCMinutes()))),pr=(gr.range,lr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*nr-t.getMinutes()*ir)}),((t,e)=>{t.setTime(+t+e*rr)}),((t,e)=>(e-t)/rr),(t=>t.getHours()))),br=(pr.range,lr((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*rr)}),((t,e)=>(e-t)/rr),(t=>t.getUTCHours()))),wr=(br.range,lr((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ir)/ar),(t=>t.getDate()-1))),yr=(wr.range,lr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/ar),(t=>t.getUTCDate()-1))),mr=(yr.range,lr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/ar),(t=>Math.floor(t/ar))));function vr(t){return lr((e=>{e.setDate(e.getDate()-(e.getDay()+7-t)%7),e.setHours(0,0,0,0)}),((t,e)=>{t.setDate(t.getDate()+7*e)}),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*ir)/or))}mr.range;const xr=vr(0),kr=vr(1),_r=vr(2),Er=vr(3),Tr=vr(4),Cr=vr(5),Sr=vr(6);function Ar(t){return lr((e=>{e.setUTCDate(e.getUTCDate()-(e.getUTCDay()+7-t)%7),e.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+7*e)}),((t,e)=>(e-t)/or))}xr.range,kr.range,_r.range,Er.range,Tr.range,Cr.range,Sr.range;const Mr=Ar(0),Ir=Ar(1),Lr=Ar(2),Or=Ar(3),Dr=Ar(4),Nr=Ar(5),Pr=Ar(6),Br=(Mr.range,Ir.range,Lr.range,Or.range,Dr.range,Nr.range,Pr.range,lr((t=>{t.setDate(1),t.setHours(0,0,0,0)}),((t,e)=>{t.setMonth(t.getMonth()+e)}),((t,e)=>e.getMonth()-t.getMonth()+12*(e.getFullYear()-t.getFullYear())),(t=>t.getMonth()))),Fr=(Br.range,lr((t=>{t.setUTCDate(1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCMonth(t.getUTCMonth()+e)}),((t,e)=>e.getUTCMonth()-t.getUTCMonth()+12*(e.getUTCFullYear()-t.getUTCFullYear())),(t=>t.getUTCMonth()))),$r=(Fr.range,lr((t=>{t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,e)=>{t.setFullYear(t.getFullYear()+e)}),((t,e)=>e.getFullYear()-t.getFullYear()),(t=>t.getFullYear())));$r.every=t=>isFinite(t=Math.floor(t))&&t>0?lr((e=>{e.setFullYear(Math.floor(e.getFullYear()/t)*t),e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,n)=>{e.setFullYear(e.getFullYear()+n*t)})):null,$r.range;const jr=lr((t=>{t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCFullYear(t.getUTCFullYear()+e)}),((t,e)=>e.getUTCFullYear()-t.getUTCFullYear()),(t=>t.getUTCFullYear()));function Rr(t,e,n,i,r,a){const o=[[fr,1,nr],[fr,5,5e3],[fr,15,15e3],[fr,30,3e4],[a,1,ir],[a,5,3e5],[a,15,9e5],[a,30,18e5],[r,1,rr],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,ar],[i,2,1728e5],[n,1,or],[e,1,2592e6],[e,3,7776e6],[t,1,sr]];function s(e,n,i){const r=Math.abs(n-e)/i,a=pi((([,,t])=>t)).right(o,r);if(a===o.length)return t.every(fi(e/sr,n/sr,i));if(0===a)return hr.every(Math.max(fi(e,n,i),1));const[s,c]=o[r/o[a-1][2]<o[a][2]/r?a-1:a];return s.every(c)}return[function(t,e,n){const i=e<t;i&&([t,e]=[e,t]);const r=n&&"function"==typeof n.range?n:s(t,e,n),a=r?r.range(t,+e+1):[];return i?a.reverse():a},s]}jr.every=t=>isFinite(t=Math.floor(t))&&t>0?lr((e=>{e.setUTCFullYear(Math.floor(e.getUTCFullYear()/t)*t),e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,n)=>{e.setUTCFullYear(e.getUTCFullYear()+n*t)})):null,jr.range;const[zr,qr]=Rr(jr,Fr,Mr,mr,br,gr),[Hr,Zr]=Rr($r,Br,xr,wr,pr,dr);function Ur(t){if(0<=t.y&&t.y<100){var e=new Date(-1,t.m,t.d,t.H,t.M,t.S,t.L);return e.setFullYear(t.y),e}return new Date(t.y,t.m,t.d,t.H,t.M,t.S,t.L)}function Yr(t){if(0<=t.y&&t.y<100){var e=new Date(Date.UTC(-1,t.m,t.d,t.H,t.M,t.S,t.L));return e.setUTCFullYear(t.y),e}return new Date(Date.UTC(t.y,t.m,t.d,t.H,t.M,t.S,t.L))}function Gr(t,e,n){return{y:t,m:e,d:n,H:0,M:0,S:0,L:0}}var Kr,Wr,Xr={"-":"",_:" ",0:"0"},Vr=/^\s*\d+/,Qr=/^%/,Jr=/[\\^$*+?|[\]().{}]/g;function ta(t,e,n){var i=t<0?"-":"",r=(i?-t:t)+"",a=r.length;return i+(a<n?new Array(n-a+1).join(e)+r:r)}function ea(t){return t.replace(Jr,"\\$&")}function na(t){return new RegExp("^(?:"+t.map(ea).join("|")+")","i")}function ia(t){return new Map(t.map(((t,e)=>[t.toLowerCase(),e])))}function ra(t,e,n){var i=Vr.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function aa(t,e,n){var i=Vr.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function oa(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function sa(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function ca(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function ua(t,e,n){var i=Vr.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function la(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function ha(t,e,n){var i=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(e.slice(n,n+6));return i?(t.Z=i[1]?0:-(i[2]+(i[3]||"00")),n+i[0].length):-1}function fa(t,e,n){var i=Vr.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function da(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function ga(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function pa(t,e,n){var i=Vr.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function ba(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function wa(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function ya(t,e,n){var i=Vr.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function ma(t,e,n){var i=Vr.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function va(t,e,n){var i=Vr.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function xa(t,e,n){var i=Qr.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function ka(t,e,n){var i=Vr.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function _a(t,e,n){var i=Vr.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function Ea(t,e){return ta(t.getDate(),e,2)}function Ta(t,e){return ta(t.getHours(),e,2)}function Ca(t,e){return ta(t.getHours()%12||12,e,2)}function Sa(t,e){return ta(1+wr.count($r(t),t),e,3)}function Aa(t,e){return ta(t.getMilliseconds(),e,3)}function Ma(t,e){return Aa(t,e)+"000"}function Ia(t,e){return ta(t.getMonth()+1,e,2)}function La(t,e){return ta(t.getMinutes(),e,2)}function Oa(t,e){return ta(t.getSeconds(),e,2)}function Da(t){var e=t.getDay();return 0===e?7:e}function Na(t,e){return ta(xr.count($r(t)-1,t),e,2)}function Pa(t){var e=t.getDay();return e>=4||0===e?Tr(t):Tr.ceil(t)}function Ba(t,e){return t=Pa(t),ta(Tr.count($r(t),t)+(4===$r(t).getDay()),e,2)}function Fa(t){return t.getDay()}function $a(t,e){return ta(kr.count($r(t)-1,t),e,2)}function ja(t,e){return ta(t.getFullYear()%100,e,2)}function Ra(t,e){return ta((t=Pa(t)).getFullYear()%100,e,2)}function za(t,e){return ta(t.getFullYear()%1e4,e,4)}function qa(t,e){var n=t.getDay();return ta((t=n>=4||0===n?Tr(t):Tr.ceil(t)).getFullYear()%1e4,e,4)}function Ha(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+ta(e/60|0,"0",2)+ta(e%60,"0",2)}function Za(t,e){return ta(t.getUTCDate(),e,2)}function Ua(t,e){return ta(t.getUTCHours(),e,2)}function Ya(t,e){return ta(t.getUTCHours()%12||12,e,2)}function Ga(t,e){return ta(1+yr.count(jr(t),t),e,3)}function Ka(t,e){return ta(t.getUTCMilliseconds(),e,3)}function Wa(t,e){return Ka(t,e)+"000"}function Xa(t,e){return ta(t.getUTCMonth()+1,e,2)}function Va(t,e){return ta(t.getUTCMinutes(),e,2)}function Qa(t,e){return ta(t.getUTCSeconds(),e,2)}function Ja(t){var e=t.getUTCDay();return 0===e?7:e}function to(t,e){return ta(Mr.count(jr(t)-1,t),e,2)}function eo(t){var e=t.getUTCDay();return e>=4||0===e?Dr(t):Dr.ceil(t)}function no(t,e){return t=eo(t),ta(Dr.count(jr(t),t)+(4===jr(t).getUTCDay()),e,2)}function io(t){return t.getUTCDay()}function ro(t,e){return ta(Ir.count(jr(t)-1,t),e,2)}function ao(t,e){return ta(t.getUTCFullYear()%100,e,2)}function oo(t,e){return ta((t=eo(t)).getUTCFullYear()%100,e,2)}function so(t,e){return ta(t.getUTCFullYear()%1e4,e,4)}function co(t,e){var n=t.getUTCDay();return ta((t=n>=4||0===n?Dr(t):Dr.ceil(t)).getUTCFullYear()%1e4,e,4)}function uo(){return"+0000"}function lo(){return"%"}function ho(t){return+t}function fo(t){return Math.floor(+t/1e3)}function go(t){return new Date(t)}function po(t){return t instanceof Date?+t:+new Date(+t)}function bo(t,e,n,i,r,a,o,s,c,u){var l=Di(),h=l.invert,f=l.domain,d=u(".%L"),g=u(":%S"),p=u("%I:%M"),b=u("%I %p"),w=u("%a %d"),y=u("%b %d"),m=u("%B"),v=u("%Y");function x(t){return(c(t)<t?d:s(t)<t?g:o(t)<t?p:a(t)<t?b:i(t)<t?r(t)<t?w:y:n(t)<t?m:v)(t)}return l.invert=function(t){return new Date(h(t))},l.domain=function(t){return arguments.length?f(Array.from(t,po)):f().map(go)},l.ticks=function(e){var n=f();return t(n[0],n[n.length-1],null==e?10:e)},l.tickFormat=function(t,e){return null==e?x:u(e)},l.nice=function(t){var n=f();return t&&"function"==typeof t.range||(t=e(n[0],n[n.length-1],null==t?10:t)),t?f(function(t,e){var n,i=0,r=(t=t.slice()).length-1,a=t[i],o=t[r];return o<a&&(n=i,i=r,r=n,n=a,a=o,o=n),t[i]=e.floor(a),t[r]=e.ceil(o),t}(n,t)):l},l.copy=function(){return Oi(l,bo(t,e,n,i,r,a,o,s,c,u))},l}function wo(){return Ni.apply(bo(Hr,Zr,$r,Br,xr,wr,pr,dr,fr,Wr).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)}Kr=function(t){var e=t.dateTime,n=t.date,i=t.time,r=t.periods,a=t.days,o=t.shortDays,s=t.months,c=t.shortMonths,u=na(r),l=ia(r),h=na(a),f=ia(a),d=na(o),g=ia(o),p=na(s),b=ia(s),w=na(c),y=ia(c),m={a:function(t){return o[t.getDay()]},A:function(t){return a[t.getDay()]},b:function(t){return c[t.getMonth()]},B:function(t){return s[t.getMonth()]},c:null,d:Ea,e:Ea,f:Ma,g:Ra,G:qa,H:Ta,I:Ca,j:Sa,L:Aa,m:Ia,M:La,p:function(t){return r[+(t.getHours()>=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:ho,s:fo,S:Oa,u:Da,U:Na,V:Ba,w:Fa,W:$a,x:null,X:null,y:ja,Y:za,Z:Ha,"%":lo},v={a:function(t){return o[t.getUTCDay()]},A:function(t){return a[t.getUTCDay()]},b:function(t){return c[t.getUTCMonth()]},B:function(t){return s[t.getUTCMonth()]},c:null,d:Za,e:Za,f:Wa,g:oo,G:co,H:Ua,I:Ya,j:Ga,L:Ka,m:Xa,M:Va,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:ho,s:fo,S:Qa,u:Ja,U:to,V:no,w:io,W:ro,x:null,X:null,y:ao,Y:so,Z:uo,"%":lo},x={a:function(t,e,n){var i=d.exec(e.slice(n));return i?(t.w=g.get(i[0].toLowerCase()),n+i[0].length):-1},A:function(t,e,n){var i=h.exec(e.slice(n));return i?(t.w=f.get(i[0].toLowerCase()),n+i[0].length):-1},b:function(t,e,n){var i=w.exec(e.slice(n));return i?(t.m=y.get(i[0].toLowerCase()),n+i[0].length):-1},B:function(t,e,n){var i=p.exec(e.slice(n));return i?(t.m=b.get(i[0].toLowerCase()),n+i[0].length):-1},c:function(t,n,i){return E(t,e,n,i)},d:ga,e:ga,f:va,g:la,G:ua,H:ba,I:ba,j:pa,L:ma,m:da,M:wa,p:function(t,e,n){var i=u.exec(e.slice(n));return i?(t.p=l.get(i[0].toLowerCase()),n+i[0].length):-1},q:fa,Q:ka,s:_a,S:ya,u:aa,U:oa,V:sa,w:ra,W:ca,x:function(t,e,i){return E(t,n,e,i)},X:function(t,e,n){return E(t,i,e,n)},y:la,Y:ua,Z:ha,"%":xa};function k(t,e){return function(n){var i,r,a,o=[],s=-1,c=0,u=t.length;for(n instanceof Date||(n=new Date(+n));++s<u;)37===t.charCodeAt(s)&&(o.push(t.slice(c,s)),null!=(r=Xr[i=t.charAt(++s)])?i=t.charAt(++s):r="e"===i?" ":"0",(a=e[i])&&(i=a(n,r)),o.push(i),c=s+1);return o.push(t.slice(c,s)),o.join("")}}function _(t,e){return function(n){var i,r,a=Gr(1900,void 0,1);if(E(a,t,n+="",0)!=n.length)return null;if("Q"in a)return new Date(a.Q);if("s"in a)return new Date(1e3*a.s+("L"in a?a.L:0));if(e&&!("Z"in a)&&(a.Z=0),"p"in a&&(a.H=a.H%12+12*a.p),void 0===a.m&&(a.m="q"in a?a.q:0),"V"in a){if(a.V<1||a.V>53)return null;"w"in a||(a.w=1),"Z"in a?(r=(i=Yr(Gr(a.y,0,1))).getUTCDay(),i=r>4||0===r?Ir.ceil(i):Ir(i),i=yr.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(r=(i=Ur(Gr(a.y,0,1))).getDay(),i=r>4||0===r?kr.ceil(i):kr(i),i=wr.offset(i,7*(a.V-1)),a.y=i.getFullYear(),a.m=i.getMonth(),a.d=i.getDate()+(a.w+6)%7)}else("W"in a||"U"in a)&&("w"in a||(a.w="u"in a?a.u%7:"W"in a?1:0),r="Z"in a?Yr(Gr(a.y,0,1)).getUTCDay():Ur(Gr(a.y,0,1)).getDay(),a.m=0,a.d="W"in a?(a.w+6)%7+7*a.W-(r+5)%7:a.w+7*a.U-(r+6)%7);return"Z"in a?(a.H+=a.Z/100|0,a.M+=a.Z%100,Yr(a)):Ur(a)}}function E(t,e,n,i){for(var r,a,o=0,s=e.length,c=n.length;o<s;){if(i>=c)return-1;if(37===(r=e.charCodeAt(o++))){if(r=e.charAt(o++),!(a=x[r in Xr?e.charAt(o++):r])||(i=a(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return m.x=k(n,m),m.X=k(i,m),m.c=k(e,m),v.x=k(n,v),v.X=k(i,v),v.c=k(e,v),{format:function(t){var e=k(t+="",m);return e.toString=function(){return t},e},parse:function(t){var e=_(t+="",!1);return e.toString=function(){return t},e},utcFormat:function(t){var e=k(t+="",v);return e.toString=function(){return t},e},utcParse:function(t){var e=_(t+="",!0);return e.toString=function(){return t},e}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Wr=Kr.format,Kr.parse,Kr.utcFormat,Kr.utcParse;const yo=function(t){for(var e=new Array(10),n=0;n<10;)e[n]="#"+t.slice(6*n,6*++n);return e}("4e79a7f28e2ce1575976b7b259a14fedc949af7aa1ff9da79c755fbab0ab");function mo(t){return"string"==typeof t?new Mt([[document.querySelector(t)]],[document.documentElement]):new Mt([[t]],At)}function vo(t){return"string"==typeof t?new Mt([document.querySelectorAll(t)],[document.documentElement]):new Mt([x(t)],At)}function xo(t){return function(){return t}}const ko=Math.abs,_o=Math.atan2,Eo=Math.cos,To=Math.max,Co=Math.min,So=Math.sin,Ao=Math.sqrt,Mo=1e-12,Io=Math.PI,Lo=Io/2,Oo=2*Io;function Do(t){return t>=1?Lo:t<=-1?-Lo:Math.asin(t)}const No=Math.PI,Po=2*No,Bo=1e-6,Fo=Po-Bo;function $o(t){this._+=t[0];for(let e=1,n=t.length;e<n;++e)this._+=arguments[e]+t[e]}class jo{constructor(t){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==t?$o:function(t){let e=Math.floor(t);if(!(e>=0))throw new Error(`invalid digits: ${t}`);if(e>15)return $o;const n=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;e<i;++e)this._+=Math.round(arguments[e]*n)/n+t[e]}}(t)}moveTo(t,e){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(t,e){this._append`L${this._x1=+t},${this._y1=+e}`}quadraticCurveTo(t,e,n,i){this._append`Q${+t},${+e},${this._x1=+n},${this._y1=+i}`}bezierCurveTo(t,e,n,i,r,a){this._append`C${+t},${+e},${+n},${+i},${this._x1=+r},${this._y1=+a}`}arcTo(t,e,n,i,r){if(t=+t,e=+e,n=+n,i=+i,(r=+r)<0)throw new Error(`negative radius: ${r}`);let a=this._x1,o=this._y1,s=n-t,c=i-e,u=a-t,l=o-e,h=u*u+l*l;if(null===this._x1)this._append`M${this._x1=t},${this._y1=e}`;else if(h>Bo)if(Math.abs(l*s-c*u)>Bo&&r){let f=n-a,d=i-o,g=s*s+c*c,p=f*f+d*d,b=Math.sqrt(g),w=Math.sqrt(h),y=r*Math.tan((No-Math.acos((g+h-p)/(2*b*w)))/2),m=y/w,v=y/b;Math.abs(m-1)>Bo&&this._append`L${t+m*u},${e+m*l}`,this._append`A${r},${r},0,0,${+(l*f>u*d)},${this._x1=t+v*s},${this._y1=e+v*c}`}else this._append`L${this._x1=t},${this._y1=e}`}arc(t,e,n,i,r,a){if(t=+t,e=+e,a=!!a,(n=+n)<0)throw new Error(`negative radius: ${n}`);let o=n*Math.cos(i),s=n*Math.sin(i),c=t+o,u=e+s,l=1^a,h=a?i-r:r-i;null===this._x1?this._append`M${c},${u}`:(Math.abs(this._x1-c)>Bo||Math.abs(this._y1-u)>Bo)&&this._append`L${c},${u}`,n&&(h<0&&(h=h%Po+Po),h>Fo?this._append`A${n},${n},0,1,${l},${t-o},${e-s}A${n},${n},0,1,${l},${this._x1=c},${this._y1=u}`:h>Bo&&this._append`A${n},${n},0,${+(h>=No)},${l},${this._x1=t+n*Math.cos(r)},${this._y1=e+n*Math.sin(r)}`)}rect(t,e,n,i){this._append`M${this._x0=this._x1=+t},${this._y0=this._y1=+e}h${n=+n}v${+i}h${-n}Z`}toString(){return this._}}function Ro(t){let e=3;return t.digits=function(n){if(!arguments.length)return e;if(null==n)e=null;else{const t=Math.floor(n);if(!(t>=0))throw new RangeError(`invalid digits: ${n}`);e=t}return t},()=>new jo(e)}function zo(t){return t.innerRadius}function qo(t){return t.outerRadius}function Ho(t){return t.startAngle}function Zo(t){return t.endAngle}function Uo(t){return t&&t.padAngle}function Yo(t,e,n,i,r,a,o){var s=t-n,c=e-i,u=(o?a:-a)/Ao(s*s+c*c),l=u*c,h=-u*s,f=t+l,d=e+h,g=n+l,p=i+h,b=(f+g)/2,w=(d+p)/2,y=g-f,m=p-d,v=y*y+m*m,x=r-a,k=f*p-g*d,_=(m<0?-1:1)*Ao(To(0,x*x*v-k*k)),E=(k*m-y*_)/v,T=(-k*y-m*_)/v,C=(k*m+y*_)/v,S=(-k*y+m*_)/v,A=E-b,M=T-w,I=C-b,L=S-w;return A*A+M*M>I*I+L*L&&(E=C,T=S),{cx:E,cy:T,x01:-l,y01:-h,x11:E*(r/x-1),y11:T*(r/x-1)}}function Go(){var t=zo,e=qo,n=xo(0),i=null,r=Ho,a=Zo,o=Uo,s=null,c=Ro(u);function u(){var u,l,h,f=+t.apply(this,arguments),d=+e.apply(this,arguments),g=r.apply(this,arguments)-Lo,p=a.apply(this,arguments)-Lo,b=ko(p-g),w=p>g;if(s||(s=u=c()),d<f&&(l=d,d=f,f=l),d>Mo)if(b>Oo-Mo)s.moveTo(d*Eo(g),d*So(g)),s.arc(0,0,d,g,p,!w),f>Mo&&(s.moveTo(f*Eo(p),f*So(p)),s.arc(0,0,f,p,g,w));else{var y,m,v=g,x=p,k=g,_=p,E=b,T=b,C=o.apply(this,arguments)/2,S=C>Mo&&(i?+i.apply(this,arguments):Ao(f*f+d*d)),A=Co(ko(d-f)/2,+n.apply(this,arguments)),M=A,I=A;if(S>Mo){var L=Do(S/f*So(C)),O=Do(S/d*So(C));(E-=2*L)>Mo?(k+=L*=w?1:-1,_-=L):(E=0,k=_=(g+p)/2),(T-=2*O)>Mo?(v+=O*=w?1:-1,x-=O):(T=0,v=x=(g+p)/2)}var D=d*Eo(v),N=d*So(v),P=f*Eo(_),B=f*So(_);if(A>Mo){var F,$=d*Eo(x),j=d*So(x),R=f*Eo(k),z=f*So(k);if(b<Io)if(F=function(t,e,n,i,r,a,o,s){var c=n-t,u=i-e,l=o-r,h=s-a,f=h*c-l*u;if(!(f*f<Mo))return[t+(f=(l*(e-a)-h*(t-r))/f)*c,e+f*u]}(D,N,R,z,$,j,P,B)){var q=D-F[0],H=N-F[1],Z=$-F[0],U=j-F[1],Y=1/So(((h=(q*Z+H*U)/(Ao(q*q+H*H)*Ao(Z*Z+U*U)))>1?0:h<-1?Io:Math.acos(h))/2),G=Ao(F[0]*F[0]+F[1]*F[1]);M=Co(A,(f-G)/(Y-1)),I=Co(A,(d-G)/(Y+1))}else M=I=0}T>Mo?I>Mo?(y=Yo(R,z,D,N,d,I,w),m=Yo($,j,P,B,d,I,w),s.moveTo(y.cx+y.x01,y.cy+y.y01),I<A?s.arc(y.cx,y.cy,I,_o(y.y01,y.x01),_o(m.y01,m.x01),!w):(s.arc(y.cx,y.cy,I,_o(y.y01,y.x01),_o(y.y11,y.x11),!w),s.arc(0,0,d,_o(y.cy+y.y11,y.cx+y.x11),_o(m.cy+m.y11,m.cx+m.x11),!w),s.arc(m.cx,m.cy,I,_o(m.y11,m.x11),_o(m.y01,m.x01),!w))):(s.moveTo(D,N),s.arc(0,0,d,v,x,!w)):s.moveTo(D,N),f>Mo&&E>Mo?M>Mo?(y=Yo(P,B,$,j,f,-M,w),m=Yo(D,N,R,z,f,-M,w),s.lineTo(y.cx+y.x01,y.cy+y.y01),M<A?s.arc(y.cx,y.cy,M,_o(y.y01,y.x01),_o(m.y01,m.x01),!w):(s.arc(y.cx,y.cy,M,_o(y.y01,y.x01),_o(y.y11,y.x11),!w),s.arc(0,0,f,_o(y.cy+y.y11,y.cx+y.x11),_o(m.cy+m.y11,m.cx+m.x11),w),s.arc(m.cx,m.cy,M,_o(m.y11,m.x11),_o(m.y01,m.x01),!w))):s.arc(0,0,f,_,k,w):s.lineTo(P,B)}else s.moveTo(0,0);if(s.closePath(),u)return s=null,u+""||null}return u.centroid=function(){var n=(+t.apply(this,arguments)+ +e.apply(this,arguments))/2,i=(+r.apply(this,arguments)+ +a.apply(this,arguments))/2-Io/2;return[Eo(i)*n,So(i)*n]},u.innerRadius=function(e){return arguments.length?(t="function"==typeof e?e:xo(+e),u):t},u.outerRadius=function(t){return arguments.length?(e="function"==typeof t?t:xo(+t),u):e},u.cornerRadius=function(t){return arguments.length?(n="function"==typeof t?t:xo(+t),u):n},u.padRadius=function(t){return arguments.length?(i=null==t?null:"function"==typeof t?t:xo(+t),u):i},u.startAngle=function(t){return arguments.length?(r="function"==typeof t?t:xo(+t),u):r},u.endAngle=function(t){return arguments.length?(a="function"==typeof t?t:xo(+t),u):a},u.padAngle=function(t){return arguments.length?(o="function"==typeof t?t:xo(+t),u):o},u.context=function(t){return arguments.length?(s=null==t?null:t,u):s},u}function Ko(t){return"object"==typeof t&&"length"in t?t:Array.from(t)}function Wo(t){this._context=t}function Xo(t){return new Wo(t)}function Vo(t){return t[0]}function Qo(t){return t[1]}function Jo(t,e){var n=xo(!0),i=null,r=Xo,a=null,o=Ro(s);function s(s){var c,u,l,h=(s=Ko(s)).length,f=!1;for(null==i&&(a=r(l=o())),c=0;c<=h;++c)!(c<h&&n(u=s[c],c,s))===f&&((f=!f)?a.lineStart():a.lineEnd()),f&&a.point(+t(u,c,s),+e(u,c,s));if(l)return a=null,l+""||null}return t="function"==typeof t?t:void 0===t?Vo:xo(t),e="function"==typeof e?e:void 0===e?Qo:xo(e),s.x=function(e){return arguments.length?(t="function"==typeof e?e:xo(+e),s):t},s.y=function(t){return arguments.length?(e="function"==typeof t?t:xo(+t),s):e},s.defined=function(t){return arguments.length?(n="function"==typeof t?t:xo(!!t),s):n},s.curve=function(t){return arguments.length?(r=t,null!=i&&(a=r(i)),s):r},s.context=function(t){return arguments.length?(null==t?i=a=null:a=r(i=t),s):i},s}function ts(t,e){return e<t?-1:e>t?1:e>=t?0:NaN}function es(t){return t}function ns(){var t=es,e=ts,n=null,i=xo(0),r=xo(Oo),a=xo(0);function o(o){var s,c,u,l,h,f=(o=Ko(o)).length,d=0,g=new Array(f),p=new Array(f),b=+i.apply(this,arguments),w=Math.min(Oo,Math.max(-Oo,r.apply(this,arguments)-b)),y=Math.min(Math.abs(w)/f,a.apply(this,arguments)),m=y*(w<0?-1:1);for(s=0;s<f;++s)(h=p[g[s]=s]=+t(o[s],s,o))>0&&(d+=h);for(null!=e?g.sort((function(t,n){return e(p[t],p[n])})):null!=n&&g.sort((function(t,e){return n(o[t],o[e])})),s=0,u=d?(w-f*m)/d:0;s<f;++s,b=l)c=g[s],l=b+((h=p[c])>0?h*u:0)+m,p[c]={data:o[c],index:s,value:h,startAngle:b,endAngle:l,padAngle:y};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:xo(+e),o):t},o.sortValues=function(t){return arguments.length?(e=t,n=null,o):e},o.sort=function(t){return arguments.length?(n=t,e=null,o):n},o.startAngle=function(t){return arguments.length?(i="function"==typeof t?t:xo(+t),o):i},o.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:xo(+t),o):r},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:xo(+t),o):a},o}function is(){}function rs(t,e,n){t._context.bezierCurveTo((2*t._x0+t._x1)/3,(2*t._y0+t._y1)/3,(t._x0+2*t._x1)/3,(t._y0+2*t._y1)/3,(t._x0+4*t._x1+e)/6,(t._y0+4*t._y1+n)/6)}function as(t){this._context=t}function os(t){return new as(t)}function ss(t){this._context=t}function cs(t){return new ss(t)}function us(t){this._context=t}function ls(t){return new us(t)}jo.prototype,Array.prototype.slice,Wo.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._context.lineTo(t,e)}}},as.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:rs(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ss.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x2=t,this._y2=e;break;case 1:this._point=2,this._x3=t,this._y3=e;break;case 2:this._point=3,this._x4=t,this._y4=e,this._context.moveTo((this._x0+4*this._x1+t)/6,(this._y0+4*this._y1+e)/6);break;default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},us.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+t)/6,i=(this._y0+4*this._y1+e)/6;this._line?this._context.lineTo(n,i):this._context.moveTo(n,i);break;case 3:this._point=4;default:rs(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class hs{constructor(t,e){this._context=t,this._x=e}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+t)/2,this._y0,this._x0,e,t,e):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+e)/2,t,this._y0,t,e)}this._x0=t,this._y0=e}}function fs(t){return new hs(t,!0)}function ds(t){return new hs(t,!1)}function gs(t,e){this._basis=new as(t),this._beta=e}gs.prototype={lineStart:function(){this._x=[],this._y=[],this._basis.lineStart()},lineEnd:function(){var t=this._x,e=this._y,n=t.length-1;if(n>0)for(var i,r=t[0],a=e[0],o=t[n]-r,s=e[n]-a,c=-1;++c<=n;)i=c/n,this._basis.point(this._beta*t[c]+(1-this._beta)*(r+i*o),this._beta*e[c]+(1-this._beta)*(a+i*s));this._x=this._y=null,this._basis.lineEnd()},point:function(t,e){this._x.push(+t),this._y.push(+e)}};const ps=function t(e){function n(t){return 1===e?new as(t):new gs(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function bs(t,e,n){t._context.bezierCurveTo(t._x1+t._k*(t._x2-t._x0),t._y1+t._k*(t._y2-t._y0),t._x2+t._k*(t._x1-e),t._y2+t._k*(t._y1-n),t._x2,t._y2)}function ws(t,e){this._context=t,this._k=(1-e)/6}ws.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:bs(this,this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2,this._x1=t,this._y1=e;break;case 2:this._point=3;default:bs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ys=function t(e){function n(t){return new ws(t,e)}return n.tension=function(e){return t(+e)},n}(0);function ms(t,e){this._context=t,this._k=(1-e)/6}ms.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:bs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const vs=function t(e){function n(t){return new ms(t,e)}return n.tension=function(e){return t(+e)},n}(0);function xs(t,e){this._context=t,this._k=(1-e)/6}xs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:bs(this,t,e)}this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const ks=function t(e){function n(t){return new xs(t,e)}return n.tension=function(e){return t(+e)},n}(0);function _s(t,e,n){var i=t._x1,r=t._y1,a=t._x2,o=t._y2;if(t._l01_a>Mo){var s=2*t._l01_2a+3*t._l01_a*t._l12_a+t._l12_2a,c=3*t._l01_a*(t._l01_a+t._l12_a);i=(i*s-t._x0*t._l12_2a+t._x2*t._l01_2a)/c,r=(r*s-t._y0*t._l12_2a+t._y2*t._l01_2a)/c}if(t._l23_a>Mo){var u=2*t._l23_2a+3*t._l23_a*t._l12_a+t._l12_2a,l=3*t._l23_a*(t._l23_a+t._l12_a);a=(a*u+t._x1*t._l23_2a-e*t._l12_2a)/l,o=(o*u+t._y1*t._l23_2a-n*t._l12_2a)/l}t._context.bezierCurveTo(i,r,a,o,t._x2,t._y2)}function Es(t,e){this._context=t,this._alpha=e}Es.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x2,this._y2);break;case 3:this.point(this._x2,this._y2)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3;default:_s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ts=function t(e){function n(t){return e?new Es(t,e):new ws(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Cs(t,e){this._context=t,this._alpha=e}Cs.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._x5=this._y0=this._y1=this._y2=this._y3=this._y4=this._y5=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x3,this._y3),this._context.closePath();break;case 2:this._context.lineTo(this._x3,this._y3),this._context.closePath();break;case 3:this.point(this._x3,this._y3),this.point(this._x4,this._y4),this.point(this._x5,this._y5)}},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1,this._x3=t,this._y3=e;break;case 1:this._point=2,this._context.moveTo(this._x4=t,this._y4=e);break;case 2:this._point=3,this._x5=t,this._y5=e;break;default:_s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ss=function t(e){function n(t){return e?new Cs(t,e):new ms(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function As(t,e){this._context=t,this._alpha=e}As.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._x2=this._y0=this._y1=this._y2=NaN,this._l01_a=this._l12_a=this._l23_a=this._l01_2a=this._l12_2a=this._l23_2a=this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){if(t=+t,e=+e,this._point){var n=this._x2-t,i=this._y2-e;this._l23_a=Math.sqrt(this._l23_2a=Math.pow(n*n+i*i,this._alpha))}switch(this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3,this._line?this._context.lineTo(this._x2,this._y2):this._context.moveTo(this._x2,this._y2);break;case 3:this._point=4;default:_s(this,t,e)}this._l01_a=this._l12_a,this._l12_a=this._l23_a,this._l01_2a=this._l12_2a,this._l12_2a=this._l23_2a,this._x0=this._x1,this._x1=this._x2,this._x2=t,this._y0=this._y1,this._y1=this._y2,this._y2=e}};const Ms=function t(e){function n(t){return e?new As(t,e):new xs(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Is(t){this._context=t}function Ls(t){return new Is(t)}function Os(t){return t<0?-1:1}function Ds(t,e,n){var i=t._x1-t._x0,r=e-t._x1,a=(t._y1-t._y0)/(i||r<0&&-0),o=(n-t._y1)/(r||i<0&&-0),s=(a*r+o*i)/(i+r);return(Os(a)+Os(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Ns(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ps(t,e,n){var i=t._x0,r=t._y0,a=t._x1,o=t._y1,s=(a-i)/3;t._context.bezierCurveTo(i+s,r+s*e,a-s,o-s*n,a,o)}function Bs(t){this._context=t}function Fs(t){this._context=new $s(t)}function $s(t){this._context=t}function js(t){return new Bs(t)}function Rs(t){return new Fs(t)}function zs(t){this._context=t}function qs(t){var e,n,i=t.length-1,r=new Array(i),a=new Array(i),o=new Array(i);for(r[0]=0,a[0]=2,o[0]=t[0]+2*t[1],e=1;e<i-1;++e)r[e]=1,a[e]=4,o[e]=4*t[e]+2*t[e+1];for(r[i-1]=2,a[i-1]=7,o[i-1]=8*t[i-1]+t[i],e=1;e<i;++e)n=r[e]/a[e-1],a[e]-=n,o[e]-=n*o[e-1];for(r[i-1]=o[i-1]/a[i-1],e=i-2;e>=0;--e)r[e]=(o[e]-r[e+1])/a[e];for(a[i-1]=(t[i]+r[i-1])/2,e=0;e<i-1;++e)a[e]=2*t[e+1]-r[e+1];return[r,a]}function Hs(t){return new zs(t)}function Zs(t,e){this._context=t,this._t=e}function Us(t){return new Zs(t,.5)}function Ys(t){return new Zs(t,0)}function Gs(t){return new Zs(t,1)}function Ks(t,e,n){this.k=t,this.x=e,this.y=n}Is.prototype={areaStart:is,areaEnd:is,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(t,e){t=+t,e=+e,this._point?this._context.lineTo(t,e):(this._point=1,this._context.moveTo(t,e))}},Bs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:Ps(this,this._t0,Ns(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(t,e){var n=NaN;if(e=+e,(t=+t)!==this._x1||e!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;break;case 2:this._point=3,Ps(this,Ns(this,n=Ds(this,t,e)),n);break;default:Ps(this,this._t0,n=Ds(this,t,e))}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e,this._t0=n}}},(Fs.prototype=Object.create(Bs.prototype)).point=function(t,e){Bs.prototype.point.call(this,e,t)},$s.prototype={moveTo:function(t,e){this._context.moveTo(e,t)},closePath:function(){this._context.closePath()},lineTo:function(t,e){this._context.lineTo(e,t)},bezierCurveTo:function(t,e,n,i,r,a){this._context.bezierCurveTo(e,t,i,n,a,r)}},zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var t=this._x,e=this._y,n=t.length;if(n)if(this._line?this._context.lineTo(t[0],e[0]):this._context.moveTo(t[0],e[0]),2===n)this._context.lineTo(t[1],e[1]);else for(var i=qs(t),r=qs(e),a=0,o=1;o<n;++a,++o)this._context.bezierCurveTo(i[0][a],r[0][a],i[1][a],r[1][a],t[o],e[o]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(t,e){this._x.push(+t),this._y.push(+e)}},Zs.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(t,e){switch(t=+t,e=+e,this._point){case 0:this._point=1,this._line?this._context.lineTo(t,e):this._context.moveTo(t,e);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,e),this._context.lineTo(t,e);else{var n=this._x*(1-this._t)+t*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,e)}}this._x=t,this._y=e}},Ks.prototype={constructor:Ks,scale:function(t){return 1===t?this:new Ks(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new Ks(this.k,this.x+this.k*t,this.y+this.k*e)},apply:function(t){return[t[0]*this.k+this.x,t[1]*this.k+this.y]},applyX:function(t){return t*this.k+this.x},applyY:function(t){return t*this.k+this.y},invert:function(t){return[(t[0]-this.x)/this.k,(t[1]-this.y)/this.k]},invertX:function(t){return(t-this.x)/this.k},invertY:function(t){return(t-this.y)/this.k},rescaleX:function(t){return t.copy().domain(t.range().map(this.invertX,this).map(t.invert,t))},rescaleY:function(t){return t.copy().domain(t.range().map(this.invertY,this).map(t.invert,t))},toString:function(){return"translate("+this.x+","+this.y+") scale("+this.k+")"}},new Ks(1,0,0),Ks.prototype},3349:(t,e,n)=>{"use strict";n.d(e,{a:()=>r});var i=n(6225);function r(t,e){var n=t.append("foreignObject").attr("width","100000"),r=n.append("xhtml:div");r.attr("xmlns","http://www.w3.org/1999/xhtml");var a=e.label;switch(typeof a){case"function":r.insert(a);break;case"object":r.insert((function(){return a}));break;default:r.html(a)}i.bg(r,e.labelStyle),r.style("display","inline-block"),r.style("white-space","nowrap");var o=r.node().getBoundingClientRect();return n.attr("width",o.width).attr("height",o.height),n}},6225:(t,e,n)=>{"use strict";n.d(e,{$p:()=>l,O1:()=>o,WR:()=>h,bF:()=>a,bg:()=>u});var i=n(7514),r=n(3234);function a(t,e){return!!t.children(e).length}function o(t){return c(t.v)+":"+c(t.w)+":"+c(t.name)}var s=/:/g;function c(t){return t?String(t).replace(s,"\\:"):""}function u(t,e){e&&t.attr("style",e)}function l(t,e,n){e&&t.attr("class",e).attr("class",n+" "+t.attr("class"))}function h(t,e){var n=e.graph();if(i.Z(n)){var a=n.transition;if(r.Z(a))return a(t)}return t}},3771:(t,e,n)=>{"use strict";n.d(e,{bK:()=>pe});var i=n(870),r=n(6749),a=n(3402),o=n(2002),s=n(7961),c=n(3836),u=n(6446),l=n(5625);class h{constructor(){var t={};t._next=t._prev=t,this._sentinel=t}dequeue(){var t=this._sentinel,e=t._prev;if(e!==t)return f(e),e}enqueue(t){var e=this._sentinel;t._prev&&t._next&&f(t),t._next=e._next,e._next._prev=t,e._next=t,t._prev=e}toString(){for(var t=[],e=this._sentinel,n=e._prev;n!==e;)t.push(JSON.stringify(n,d)),n=n._prev;return"["+t.join(", ")+"]"}}function f(t){t._prev._next=t._next,t._next._prev=t._prev,delete t._next,delete t._prev}function d(t,e){if("_next"!==t&&"_prev"!==t)return e}var g=o.Z(1);function p(t,e,n,r,a){var o=a?[]:void 0;return i.Z(t.inEdges(r.v),(function(i){var r=t.edge(i),s=t.node(i.v);a&&o.push({v:i.v,w:i.w}),s.out-=r,b(e,n,s)})),i.Z(t.outEdges(r.v),(function(i){var r=t.edge(i),a=i.w,o=t.node(a);o.in-=r,b(e,n,o)})),t.removeNode(r.v),o}function b(t,e,n){n.out?n.in?t[n.out-n.in+e].enqueue(n):t[t.length-1].enqueue(n):t[0].enqueue(n)}function w(t){var e="greedy"===t.graph().acyclicer?function(t,e){if(t.nodeCount()<=1)return[];var n=function(t,e){var n=new l.k,r=0,a=0;i.Z(t.nodes(),(function(t){n.setNode(t,{v:t,in:0,out:0})})),i.Z(t.edges(),(function(t){var i=n.edge(t.v,t.w)||0,o=e(t),s=i+o;n.setEdge(t.v,t.w,s),a=Math.max(a,n.node(t.v).out+=o),r=Math.max(r,n.node(t.w).in+=o)}));var o=u.Z(a+r+3).map((function(){return new h})),s=r+1;return i.Z(n.nodes(),(function(t){b(o,s,n.node(t))})),{graph:n,buckets:o,zeroIdx:s}}(t,e||g),r=function(t,e,n){for(var i,r=[],a=e[e.length-1],o=e[0];t.nodeCount();){for(;i=o.dequeue();)p(t,e,n,i);for(;i=a.dequeue();)p(t,e,n,i);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue()){r=r.concat(p(t,e,n,i,!0));break}}return r}(n.graph,n.buckets,n.zeroIdx);return s.Z(c.Z(r,(function(e){return t.outEdges(e.v,e.w)})))}(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},r={};return i.Z(t.nodes(),(function o(s){a.Z(r,s)||(r[s]=!0,n[s]=!0,i.Z(t.outEdges(s),(function(t){a.Z(n,t.w)?e.push(t):o(t.w)})),delete n[s])})),e}(t);i.Z(e,(function(e){var n=t.edge(e);t.removeEdge(e),n.forwardName=e.name,n.reversed=!0,t.setEdge(e.w,e.v,n,r.Z("rev"))}))}var y=n(6841),m=n(3032),v=n(3688),x=n(2714);const k=function(t,e,n){for(var i=-1,r=t.length;++i<r;){var a=t[i],o=e(a);if(null!=o&&(void 0===s?o==o&&!(0,x.Z)(o):n(o,s)))var s=o,c=a}return c},_=function(t,e){return t>e};var E=n(9203);const T=function(t){return t&&t.length?k(t,E.Z,_):void 0},C=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0};var S=n(4752),A=n(2693),M=n(7058);const I=function(t,e){var n={};return e=(0,M.Z)(e,3),(0,A.Z)(t,(function(t,i,r){(0,S.Z)(n,i,e(t,i,r))})),n};var L=n(9360);const O=function(t,e){return t<e},D=function(t){return t&&t.length?k(t,E.Z,O):void 0};var N=n(6092);const P=function(){return N.Z.Date.now()};function B(t,e,n,i){var a;do{a=r.Z(i)}while(t.hasNode(a));return n.dummy=e,t.setNode(a,n),a}function F(t){var e=new l.k({multigraph:t.isMultigraph()}).setGraph(t.graph());return i.Z(t.nodes(),(function(n){t.children(n).length||e.setNode(n,t.node(n))})),i.Z(t.edges(),(function(n){e.setEdge(n,t.edge(n))})),e}function $(t,e){var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;if(!o&&!s)throw new Error("Not possible to find intersection inside of the rectangle");return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=u*o/s,i=u):(o<0&&(c=-c),n=c,i=c*s/o),{x:r+n,y:a+i}}function j(t){var e=c.Z(u.Z(z(t)+1),(function(){return[]}));return i.Z(t.nodes(),(function(n){var i=t.node(n),r=i.rank;L.Z(r)||(e[r][i.order]=n)})),e}function R(t,e,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),B(t,"border",r,e)}function z(t){return T(c.Z(t.nodes(),(function(e){var n=t.node(e).rank;if(!L.Z(n))return n})))}function q(t,e){var n=P();try{return e()}finally{console.log(t+" time: "+(P()-n)+"ms")}}function H(t,e){return e()}function Z(t,e,n,i,r,a){var o={width:0,height:0,rank:a,borderType:e},s=r[e][a-1],c=B(t,"border",o,n);r[e][a]=c,t.setParent(c,i),s&&t.setEdge(s,c,{weight:1})}function U(t){i.Z(t.nodes(),(function(e){Y(t.node(e))})),i.Z(t.edges(),(function(e){Y(t.edge(e))}))}function Y(t){var e=t.width;t.width=t.height,t.height=e}function G(t){t.y=-t.y}function K(t){var e=t.x;t.x=t.y,t.y=e}const W=function(t,e){return t&&t.length?k(t,(0,M.Z)(e,2),O):void 0};function X(t){var e={};i.Z(t.sources(),(function n(i){var r=t.node(i);if(a.Z(e,i))return r.rank;e[i]=!0;var o=D(c.Z(t.outEdges(i),(function(e){return n(e.w)-t.edge(e).minlen})));return o!==Number.POSITIVE_INFINITY&&null!=o||(o=0),r.rank=o}))}function V(t,e){return t.node(e.w).rank-t.node(e.v).rank-t.edge(e).minlen}function Q(t){var e,n,i=new l.k({directed:!1}),r=t.nodes()[0],a=t.nodeCount();for(i.setNode(r,{});J(i,t)<a;)e=tt(i,t),n=i.hasNode(e.v)?V(t,e):-V(t,e),et(i,t,n);return i}function J(t,e){return i.Z(t.nodes(),(function n(r){i.Z(e.nodeEdges(r),(function(i){var a=i.v,o=r===a?i.w:a;t.hasNode(o)||V(e,i)||(t.setNode(o,{}),t.setEdge(r,o,{}),n(o))}))})),t.nodeCount()}function tt(t,e){return W(e.edges(),(function(n){if(t.hasNode(n.v)!==t.hasNode(n.w))return V(e,n)}))}function et(t,e,n){i.Z(t.nodes(),(function(t){e.node(t).rank+=n}))}var nt=n(585),it=n(7179);var rt=n(1692),at=n(6770);var ot=Math.max;const st=(ct=function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r,a,o,s=null==n?0:(r=n,a=(0,at.Z)(r),o=a%1,a==a?o?a-o:a:0);return s<0&&(s=ot(i+s,0)),(0,rt.Z)(t,(0,M.Z)(e,3),s)},function(t,e,n){var i=Object(t);if(!(0,nt.Z)(t)){var r=(0,M.Z)(e,3);t=(0,it.Z)(t),e=function(t){return r(i[t],t,i)}}var a=ct(t,e,n);return a>-1?i[r?t[a]:a]:void 0});var ct,ut=n(2489);o.Z(1),o.Z(1),n(8448),n(6155),n(3243);var lt=n(7771);n(8533),(0,n(4193).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var ht="\\ud800-\\udfff",ft="["+ht+"]",dt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",gt="\\ud83c[\\udffb-\\udfff]",pt="[^"+ht+"]",bt="(?:\\ud83c[\\udde6-\\uddff]){2}",wt="[\\ud800-\\udbff][\\udc00-\\udfff]",yt="(?:"+dt+"|"+gt+")?",mt="[\\ufe0e\\ufe0f]?",vt=mt+yt+"(?:\\u200d(?:"+[pt,bt,wt].join("|")+")"+mt+yt+")*",xt="(?:"+[pt+dt+"?",dt,bt,wt,ft].join("|")+")";function kt(t,e,n){lt.Z(e)||(e=[e]);var r=(t.isDirected()?t.successors:t.neighbors).bind(t),a=[],o={};return i.Z(e,(function(e){if(!t.hasNode(e))throw new Error("Graph does not have node: "+e);_t(t,e,"post"===n,o,r,a)})),a}function _t(t,e,n,r,o,s){a.Z(r,e)||(r[e]=!0,n||s.push(e),i.Z(o(e),(function(e){_t(t,e,n,r,o,s)})),n&&s.push(e))}function Et(t){t=function(t){var e=(new l.k).setGraph(t.graph());return i.Z(t.nodes(),(function(n){e.setNode(n,t.node(n))})),i.Z(t.edges(),(function(n){var i=e.edge(n.v,n.w)||{weight:0,minlen:1},r=t.edge(n);e.setEdge(n.v,n.w,{weight:i.weight+r.weight,minlen:Math.max(i.minlen,r.minlen)})})),e}(t),X(t);var e,n=Q(t);for(St(n),Tt(n,t);e=Mt(n);)Lt(n,t,e,It(n,t,e))}function Tt(t,e){var n=function(t,e){return kt(t,e,"post")}(t,t.nodes());n=n.slice(0,n.length-1),i.Z(n,(function(n){!function(t,e,n){var i=t.node(n).parent;t.edge(n,i).cutvalue=Ct(t,e,n)}(t,e,n)}))}function Ct(t,e,n){var r=t.node(n).parent,a=!0,o=e.edge(n,r),s=0;return o||(a=!1,o=e.edge(r,n)),s=o.weight,i.Z(e.nodeEdges(n),(function(i){var o,c,u=i.v===n,l=u?i.w:i.v;if(l!==r){var h=u===a,f=e.edge(i).weight;if(s+=h?f:-f,o=n,c=l,t.hasEdge(o,c)){var d=t.edge(n,l).cutvalue;s+=h?-d:d}}})),s}function St(t,e){arguments.length<2&&(e=t.nodes()[0]),At(t,{},1,e)}function At(t,e,n,r,o){var s=n,c=t.node(r);return e[r]=!0,i.Z(t.neighbors(r),(function(i){a.Z(e,i)||(n=At(t,e,n,i,r))})),c.low=s,c.lim=n++,o?c.parent=o:delete c.parent,n}function Mt(t){return st(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function It(t,e,n){var i=n.v,r=n.w;e.hasEdge(i,r)||(i=n.w,r=n.v);var a=t.node(i),o=t.node(r),s=a,c=!1;a.lim>o.lim&&(s=o,c=!0);var u=ut.Z(e.edges(),(function(e){return c===Ot(0,t.node(e.v),s)&&c!==Ot(0,t.node(e.w),s)}));return W(u,(function(t){return V(e,t)}))}function Lt(t,e,n,r){var a=n.v,o=n.w;t.removeEdge(a,o),t.setEdge(r.v,r.w,{}),St(t),Tt(t,e),function(t,e){var n=st(t.nodes(),(function(t){return!e.node(t).parent})),r=function(t,e){return kt(t,e,"pre")}(t,n);r=r.slice(1),i.Z(r,(function(n){var i=t.node(n).parent,r=e.edge(n,i),a=!1;r||(r=e.edge(i,n),a=!0),e.node(n).rank=e.node(i).rank+(a?r.minlen:-r.minlen)}))}(t,e)}function Ot(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function Dt(t){switch(t.graph().ranker){case"network-simplex":default:!function(t){Et(t)}(t);break;case"tight-tree":!function(t){X(t),Q(t)}(t);break;case"longest-path":Nt(t)}}RegExp(gt+"(?="+gt+")|"+xt+vt,"g"),new Error,n(5351),Et.initLowLimValues=St,Et.initCutValues=Tt,Et.calcCutValue=Ct,Et.leaveEdge=Mt,Et.enterEdge=It,Et.exchangeEdges=Lt;var Nt=X;var Pt=n(4657),Bt=n(4283);function Ft(t){var e=B(t,"root",{},"_root"),n=function(t){var e={};function n(r,a){var o=t.children(r);o&&o.length&&i.Z(o,(function(t){n(t,a+1)})),e[r]=a}return i.Z(t.children(),(function(t){n(t,1)})),e}(t),r=T(Pt.Z(n))-1,a=2*r+1;t.graph().nestingRoot=e,i.Z(t.edges(),(function(e){t.edge(e).minlen*=a}));var o=function(t){return Bt.Z(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;i.Z(t.children(),(function(i){$t(t,e,a,o,r,n,i)})),t.graph().nodeRankFactor=a}function $t(t,e,n,r,a,o,s){var c=t.children(s);if(c.length){var u=R(t,"_bt"),l=R(t,"_bb"),h=t.node(s);t.setParent(u,s),h.borderTop=u,t.setParent(l,s),h.borderBottom=l,i.Z(c,(function(i){$t(t,e,n,r,a,o,i);var c=t.node(i),h=c.borderTop?c.borderTop:i,f=c.borderBottom?c.borderBottom:i,d=c.borderTop?r:2*r,g=h!==f?1:a-o[s]+1;t.setEdge(u,h,{weight:d,minlen:g,nestingEdge:!0}),t.setEdge(f,l,{weight:d,minlen:g,nestingEdge:!0})})),t.parent(s)||t.setEdge(e,u,{weight:0,minlen:a+o[s]})}else s!==e&&t.setEdge(e,s,{weight:0,minlen:n})}var jt=n(9103);const Rt=function(t){return(0,jt.Z)(t,5)};var zt=n(2954);const qt=function(t,e){return function(t,e,n){for(var i=-1,r=t.length,a=e.length,o={};++i<r;){var s=i<a?e[i]:void 0;n(o,t[i],s)}return o}(t||[],e||[],zt.Z)};var Ht=n(5140),Zt=n(7679),Ut=n(3317),Yt=n(1018);var Gt=n(1162);const Kt=function(t,e){if(t!==e){var n=void 0!==t,i=null===t,r=t==t,a=(0,x.Z)(t),o=void 0!==e,s=null===e,c=e==e,u=(0,x.Z)(e);if(!s&&!u&&!a&&t>e||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t<e||u&&n&&r&&!i&&!a||s&&n&&r||!o&&r||!c)return-1}return 0},Wt=function(t,e,n){e=e.length?(0,Zt.Z)(e,(function(t){return(0,lt.Z)(t)?function(e){return(0,Ut.Z)(e,1===t.length?t[0]:t)}:t})):[E.Z];var i=-1;return e=(0,Zt.Z)(e,(0,Gt.Z)(M.Z)),function(t,e){var n=t.length;for(t.sort(e);n--;)t[n]=t[n].value;return t}((0,Yt.Z)(t,(function(t,n,r){return{criteria:(0,Zt.Z)(e,(function(e){return e(t)})),index:++i,value:t}})),(function(t,e){return function(t,e,n){for(var i=-1,r=t.criteria,a=e.criteria,o=r.length,s=n.length;++i<o;){var c=Kt(r[i],a[i]);if(c)return i>=s?c:c*("desc"==n[i]?-1:1)}return t.index-e.index}(t,e,n)}))};var Xt=n(9581),Vt=n(439);const Qt=(0,Xt.Z)((function(t,e){if(null==t)return[];var n=e.length;return n>1&&(0,Vt.Z)(t,e[0],e[1])?e=[]:n>2&&(0,Vt.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Wt(t,(0,Ht.Z)(e,1),[])}));function Jt(t,e){for(var n=0,i=1;i<e.length;++i)n+=te(t,e[i-1],e[i]);return n}function te(t,e,n){for(var r=qt(n,c.Z(n,(function(t,e){return e}))),a=s.Z(c.Z(e,(function(e){return Qt(c.Z(t.outEdges(e),(function(e){return{pos:r[e.w],weight:t.edge(e).weight}})),"pos")}))),o=1;o<n.length;)o<<=1;var u=2*o-1;o-=1;var l=c.Z(new Array(u),(function(){return 0})),h=0;return i.Z(a.forEach((function(t){var e=t.pos+o;l[e]+=t.weight;for(var n=0;e>0;)e%2&&(n+=l[e+1]),l[e=e-1>>1]+=t.weight;h+=t.weight*n}))),h}function ee(t,e){var n,r=function(t,e){var n={lhs:[],rhs:[]};return i.Z(t,(function(t){var e;e=t,a.Z(e,"barycenter")?n.lhs.push(t):n.rhs.push(t)})),n}(t),o=r.lhs,c=Qt(r.rhs,(function(t){return-t.i})),u=[],l=0,h=0,f=0;o.sort((n=!!e,function(t,e){return t.barycenter<e.barycenter?-1:t.barycenter>e.barycenter?1:n?e.i-t.i:t.i-e.i})),f=ne(u,c,f),i.Z(o,(function(t){f+=t.vs.length,u.push(t.vs),l+=t.barycenter*t.weight,h+=t.weight,f=ne(u,c,f)}));var d={vs:s.Z(u)};return h&&(d.barycenter=l/h,d.weight=h),d}function ne(t,e,n){for(var i;e.length&&(i=C(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}function ie(t,e,n,r){var o=t.children(e),u=t.node(e),l=u?u.borderLeft:void 0,h=u?u.borderRight:void 0,f={};l&&(o=ut.Z(o,(function(t){return t!==l&&t!==h})));var d=function(t,e){return c.Z(e,(function(e){var n=t.inEdges(e);if(n.length){var i=Bt.Z(n,(function(e,n){var i=t.edge(n),r=t.node(n.v);return{sum:e.sum+i.weight*r.order,weight:e.weight+i.weight}}),{sum:0,weight:0});return{v:e,barycenter:i.sum/i.weight,weight:i.weight}}return{v:e}}))}(t,o);i.Z(d,(function(e){if(t.children(e.v).length){var i=ie(t,e.v,n,r);f[e.v]=i,a.Z(i,"barycenter")&&(o=e,s=i,L.Z(o.barycenter)?(o.barycenter=s.barycenter,o.weight=s.weight):(o.barycenter=(o.barycenter*o.weight+s.barycenter*s.weight)/(o.weight+s.weight),o.weight+=s.weight))}var o,s}));var g=function(t,e){var n={};return i.Z(t,(function(t,e){var i=n[t.v]={indegree:0,in:[],out:[],vs:[t.v],i:e};L.Z(t.barycenter)||(i.barycenter=t.barycenter,i.weight=t.weight)})),i.Z(e.edges(),(function(t){var e=n[t.v],i=n[t.w];L.Z(e)||L.Z(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){var n,i,r,a;e.merged||(L.Z(e.barycenter)||L.Z(t.barycenter)||e.barycenter>=t.barycenter)&&(i=e,r=0,a=0,(n=t).weight&&(r+=n.barycenter*n.weight,a+=n.weight),i.weight&&(r+=i.barycenter*i.weight,a+=i.weight),n.vs=i.vs.concat(n.vs),n.barycenter=r/a,n.weight=a,n.i=Math.min(i.i,n.i),i.merged=!0)}}function r(e){return function(n){n.in.push(e),0==--n.indegree&&t.push(n)}}for(;t.length;){var a=t.pop();e.push(a),i.Z(a.in.reverse(),n(a)),i.Z(a.out,r(a))}return c.Z(ut.Z(e,(function(t){return!t.merged})),(function(t){return m.Z(t,["vs","i","barycenter","weight"])}))}(ut.Z(n,(function(t){return!t.indegree})))}(d,n);!function(t,e){i.Z(t,(function(t){t.vs=s.Z(t.vs.map((function(t){return e[t]?e[t].vs:t})))}))}(g,f);var p=ee(g,r);if(l&&(p.vs=s.Z([l,p.vs,h]),t.predecessors(l).length)){var b=t.node(t.predecessors(l)[0]),w=t.node(t.predecessors(h)[0]);a.Z(p,"barycenter")||(p.barycenter=0,p.weight=0),p.barycenter=(p.barycenter*p.weight+b.order+w.order)/(p.weight+2),p.weight+=2}return p}function re(t,e,n){return c.Z(e,(function(e){return function(t,e,n){var o=function(t){for(var e;t.hasNode(e=r.Z("_root")););return e}(t),s=new l.k({compound:!0}).setGraph({root:o}).setDefaultNodeLabel((function(e){return t.node(e)}));return i.Z(t.nodes(),(function(r){var c=t.node(r),u=t.parent(r);(c.rank===e||c.minRank<=e&&e<=c.maxRank)&&(s.setNode(r),s.setParent(r,u||o),i.Z(t[n](r),(function(e){var n=e.v===r?e.w:e.v,i=s.edge(n,r),a=L.Z(i)?0:i.weight;s.setEdge(n,r,{weight:t.edge(e).weight+a})})),a.Z(c,"minRank")&&s.setNode(r,{borderLeft:c.borderLeft[e],borderRight:c.borderRight[e]}))})),s}(t,e,n)}))}function ae(t,e){var n=new l.k;i.Z(t,(function(t){var r=t.graph().root,a=ie(t,r,n,e);i.Z(a.vs,(function(e,n){t.node(e).order=n})),function(t,e,n){var r,a={};i.Z(n,(function(n){for(var i,o,s=t.parent(n);s;){if((i=t.parent(s))?(o=a[i],a[i]=s):(o=r,r=s),o&&o!==s)return void e.setEdge(o,s);s=i}}))}(t,n,a.vs)}))}function oe(t,e){i.Z(e,(function(e){i.Z(e,(function(e,n){t.node(e).order=n}))}))}var se=n(8882);const ce=function(t,e){return t&&(0,A.Z)(t,(0,se.Z)(e))};var ue=n(5381),le=n(7590);const he=function(t,e){return null==t?t:(0,ue.Z)(t,(0,se.Z)(e),le.Z)};function fe(t,e,n){if(e>n){var i=e;e=n,n=i}var r=t[e];r||(t[e]=r={}),r[n]=!0}function de(t,e,n){if(e>n){var i=e;e=n,n=i}return a.Z(t[e],n)}function ge(t){var e,n=j(t),r=y.Z(function(t,e){var n={};return Bt.Z(e,(function(e,r){var a=0,o=0,s=e.length,c=C(r);return i.Z(r,(function(e,u){var l=function(t,e){if(t.node(e).dummy)return st(t.predecessors(e),(function(e){return t.node(e).dummy}))}(t,e),h=l?t.node(l).order:s;(l||e===c)&&(i.Z(r.slice(o,u+1),(function(e){i.Z(t.predecessors(e),(function(i){var r=t.node(i),o=r.order;!(o<a||h<o)||r.dummy&&t.node(e).dummy||fe(n,i,e)}))})),o=u+1,a=h)})),r})),n}(t,n),function(t,e){var n={};function r(e,r,a,o,s){var c;i.Z(u.Z(r,a),(function(r){c=e[r],t.node(c).dummy&&i.Z(t.predecessors(c),(function(e){var i=t.node(e);i.dummy&&(i.order<o||i.order>s)&&fe(n,e,c)}))}))}return Bt.Z(e,(function(e,n){var a,o=-1,s=0;return i.Z(n,(function(i,c){if("border"===t.node(i).dummy){var u=t.predecessors(i);u.length&&(a=t.node(u[0]).order,r(n,s,c,o,a),s=c,o=a)}r(n,s,n.length,a,e.length)})),n})),n}(t,n)),o={};i.Z(["u","d"],(function(s){e="u"===s?n:Pt.Z(n).reverse(),i.Z(["l","r"],(function(n){"r"===n&&(e=c.Z(e,(function(t){return Pt.Z(t).reverse()})));var u=("u"===s?t.predecessors:t.successors).bind(t),h=function(t,e,n,r){var a={},o={},s={};return i.Z(e,(function(t){i.Z(t,(function(t,e){a[t]=t,o[t]=t,s[t]=e}))})),i.Z(e,(function(t){var e=-1;i.Z(t,(function(t){var i=r(t);if(i.length){i=Qt(i,(function(t){return s[t]}));for(var c=(i.length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var h=i[u];o[t]===t&&e<s[h]&&!de(n,t,h)&&(o[h]=t,o[t]=a[t]=a[h],e=s[h])}}}))})),{root:a,align:o}}(0,e,r,u),f=function(t,e,n,r,o){var s={},c=function(t,e,n,r){var o=new l.k,s=t.graph(),c=function(t,e,n){return function(i,r,o){var s,c=i.node(r),u=i.node(o),l=0;if(l+=c.width/2,a.Z(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=-c.width/2;break;case"r":s=c.width/2}if(s&&(l+=n?s:-s),s=0,l+=(c.dummy?e:t)/2,l+=(u.dummy?e:t)/2,l+=u.width/2,a.Z(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=u.width/2;break;case"r":s=-u.width/2}return s&&(l+=n?s:-s),s=0,l}}(s.nodesep,s.edgesep,r);return i.Z(e,(function(e){var r;i.Z(e,(function(e){var i=n[e];if(o.setNode(i),r){var a=n[r],s=o.edge(a,i);o.setEdge(a,i,Math.max(c(t,e,r),s||0))}r=e}))})),o}(t,e,n,o),u=o?"borderLeft":"borderRight";function h(t,e){for(var n=c.nodes(),i=n.pop(),r={};i;)r[i]?t(i):(r[i]=!0,n.push(i),n=n.concat(e(i))),i=n.pop()}return h((function(t){s[t]=c.inEdges(t).reduce((function(t,e){return Math.max(t,s[e.v]+c.edge(e))}),0)}),c.predecessors.bind(c)),h((function(e){var n=c.outEdges(e).reduce((function(t,e){return Math.min(t,s[e.w]-c.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);n!==Number.POSITIVE_INFINITY&&i.borderType!==u&&(s[e]=Math.max(s[e],n))}),c.successors.bind(c)),i.Z(r,(function(t){s[t]=s[n[t]]})),s}(t,e,h.root,h.align,"r"===n);"r"===n&&(f=I(f,(function(t){return-t}))),o[s+n]=f}))}));var s=function(t,e){return W(Pt.Z(e),(function(e){var n=Number.NEGATIVE_INFINITY,i=Number.POSITIVE_INFINITY;return he(e,(function(e,r){var a=function(t,e){return t.node(e).width}(t,r)/2;n=Math.max(e+a,n),i=Math.min(e-a,i)})),n-i}))}(t,o);return function(t,e){var n=Pt.Z(e),r=D(n),a=T(n);i.Z(["u","d"],(function(n){i.Z(["l","r"],(function(i){var o,s=n+i,c=t[s];if(c!==e){var u=Pt.Z(c);(o="l"===i?r-D(u):a-T(u))&&(t[s]=I(c,(function(t){return t+o})))}}))}))}(o,s),function(t,e){return I(t.ul,(function(n,i){if(e)return t[e.toLowerCase()][i];var r=Qt(c.Z(t,i));return(r[1]+r[2])/2}))}(o,t.graph().align)}function pe(t,e){var n=e&&e.debugTiming?q:H;n("layout",(function(){var e=n(" buildLayoutGraph",(function(){return function(t){var e=new l.k({multigraph:!0,compound:!0}),n=Te(t.graph());return e.setGraph(y.Z({},we,Ee(n,be),m.Z(n,ye))),i.Z(t.nodes(),(function(n){var i=Te(t.node(n));e.setNode(n,v.Z(Ee(i,me),ve)),e.setParent(n,t.parent(n))})),i.Z(t.edges(),(function(n){var i=Te(t.edge(n));e.setEdge(n,y.Z({},ke,Ee(i,xe),m.Z(i,_e)))})),e}(t)}));n(" runLayout",(function(){!function(t,e){e(" makeSpaceForEdgeLabels",(function(){!function(t){var e=t.graph();e.ranksep/=2,i.Z(t.edges(),(function(n){var i=t.edge(n);i.minlen*=2,"c"!==i.labelpos.toLowerCase()&&("TB"===e.rankdir||"BT"===e.rankdir?i.width+=i.labeloffset:i.height+=i.labeloffset)}))}(t)})),e(" removeSelfEdges",(function(){!function(t){i.Z(t.edges(),(function(e){if(e.v===e.w){var n=t.node(e.v);n.selfEdges||(n.selfEdges=[]),n.selfEdges.push({e,label:t.edge(e)}),t.removeEdge(e)}}))}(t)})),e(" acyclic",(function(){w(t)})),e(" nestingGraph.run",(function(){Ft(t)})),e(" rank",(function(){Dt(F(t))})),e(" injectEdgeLabelProxies",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(n.width&&n.height){var i=t.node(e.v),r={rank:(t.node(e.w).rank-i.rank)/2+i.rank,e};B(t,"edge-proxy",r,"_ep")}}))}(t)})),e(" removeEmptyRanks",(function(){!function(t){var e=D(c.Z(t.nodes(),(function(e){return t.node(e).rank}))),n=[];i.Z(t.nodes(),(function(i){var r=t.node(i).rank-e;n[r]||(n[r]=[]),n[r].push(i)}));var r=0,a=t.graph().nodeRankFactor;i.Z(n,(function(e,n){L.Z(e)&&n%a!=0?--r:r&&i.Z(e,(function(e){t.node(e).rank+=r}))}))}(t)})),e(" nestingGraph.cleanup",(function(){!function(t){var e=t.graph();t.removeNode(e.nestingRoot),delete e.nestingRoot,i.Z(t.edges(),(function(e){t.edge(e).nestingEdge&&t.removeEdge(e)}))}(t)})),e(" normalizeRanks",(function(){!function(t){var e=D(c.Z(t.nodes(),(function(e){return t.node(e).rank})));i.Z(t.nodes(),(function(n){var i=t.node(n);a.Z(i,"rank")&&(i.rank-=e)}))}(t)})),e(" assignRankMinMax",(function(){!function(t){var e=0;i.Z(t.nodes(),(function(n){var i=t.node(n);i.borderTop&&(i.minRank=t.node(i.borderTop).rank,i.maxRank=t.node(i.borderBottom).rank,e=T(e,i.maxRank))})),t.graph().maxRank=e}(t)})),e(" removeEdgeLabelProxies",(function(){!function(t){i.Z(t.nodes(),(function(e){var n=t.node(e);"edge-proxy"===n.dummy&&(t.edge(n.e).labelRank=n.rank,t.removeNode(e))}))}(t)})),e(" normalize.run",(function(){!function(t){t.graph().dummyChains=[],i.Z(t.edges(),(function(e){!function(t,e){var n,i,r,a=e.v,o=t.node(a).rank,s=e.w,c=t.node(s).rank,u=e.name,l=t.edge(e),h=l.labelRank;if(c!==o+1){for(t.removeEdge(e),r=0,++o;o<c;++r,++o)l.points=[],n=B(t,"edge",i={width:0,height:0,edgeLabel:l,edgeObj:e,rank:o},"_d"),o===h&&(i.width=l.width,i.height=l.height,i.dummy="edge-label",i.labelpos=l.labelpos),t.setEdge(a,n,{weight:l.weight},u),0===r&&t.graph().dummyChains.push(n),a=n;t.setEdge(a,s,{weight:l.weight},u)}}(t,e)}))}(t)})),e(" parentDummyChains",(function(){!function(t){var e=function(t){var e={},n=0;return i.Z(t.children(),(function r(a){var o=n;i.Z(t.children(a),r),e[a]={low:o,lim:n++}})),e}(t);i.Z(t.graph().dummyChains,(function(n){for(var i=t.node(n),r=i.edgeObj,a=function(t,e,n,i){var r,a,o=[],s=[],c=Math.min(e[n].low,e[i].low),u=Math.max(e[n].lim,e[i].lim);r=n;do{r=t.parent(r),o.push(r)}while(r&&(e[r].low>c||u>e[r].lim));for(a=r,r=i;(r=t.parent(r))!==a;)s.push(r);return{path:o.concat(s.reverse()),lca:a}}(t,e,r.v,r.w),o=a.path,s=a.lca,c=0,u=o[c],l=!0;n!==r.w;){if(i=t.node(n),l){for(;(u=o[c])!==s&&t.node(u).maxRank<i.rank;)c++;u===s&&(l=!1)}if(!l){for(;c<o.length-1&&t.node(u=o[c+1]).minRank<=i.rank;)c++;u=o[c]}t.setParent(n,u),n=t.successors(n)[0]}}))}(t)})),e(" addBorderSegments",(function(){!function(t){i.Z(t.children(),(function e(n){var r=t.children(n),o=t.node(n);if(r.length&&i.Z(r,e),a.Z(o,"minRank")){o.borderLeft=[],o.borderRight=[];for(var s=o.minRank,c=o.maxRank+1;s<c;++s)Z(t,"borderLeft","_bl",n,o,s),Z(t,"borderRight","_br",n,o,s)}}))}(t)})),e(" order",(function(){!function(t){var e=z(t),n=re(t,u.Z(1,e+1),"inEdges"),r=re(t,u.Z(e-1,-1,-1),"outEdges"),o=function(t){var e={},n=ut.Z(t.nodes(),(function(e){return!t.children(e).length})),r=T(c.Z(n,(function(e){return t.node(e).rank}))),o=c.Z(u.Z(r+1),(function(){return[]})),s=Qt(n,(function(e){return t.node(e).rank}));return i.Z(s,(function n(r){if(!a.Z(e,r)){e[r]=!0;var s=t.node(r);o[s.rank].push(r),i.Z(t.successors(r),n)}})),o}(t);oe(t,o);for(var s,l=Number.POSITIVE_INFINITY,h=0,f=0;f<4;++h,++f){ae(h%2?n:r,h%4>=2);var d=Jt(t,o=j(t));d<l&&(f=0,s=Rt(o),l=d)}oe(t,s)}(t)})),e(" insertSelfEdges",(function(){!function(t){var e=j(t);i.Z(e,(function(e){var n=0;i.Z(e,(function(e,r){var a=t.node(e);a.order=r+n,i.Z(a.selfEdges,(function(e){B(t,"selfedge",{width:e.label.width,height:e.label.height,rank:a.rank,order:r+ ++n,e:e.e,label:e.label},"_se")})),delete a.selfEdges}))}))}(t)})),e(" adjustCoordinateSystem",(function(){!function(t){var e=t.graph().rankdir.toLowerCase();"lr"!==e&&"rl"!==e||U(t)}(t)})),e(" position",(function(){!function(t){(function(t){var e=j(t),n=t.graph().ranksep,r=0;i.Z(e,(function(e){var a=T(c.Z(e,(function(e){return t.node(e).height})));i.Z(e,(function(e){t.node(e).y=r+a/2})),r+=a+n}))})(t=F(t)),ce(ge(t),(function(e,n){t.node(n).x=e}))}(t)})),e(" positionSelfEdges",(function(){!function(t){i.Z(t.nodes(),(function(e){var n=t.node(e);if("selfedge"===n.dummy){var i=t.node(n.e.v),r=i.x+i.width/2,a=i.y,o=n.x-r,s=i.height/2;t.setEdge(n.e,n.label),t.removeNode(e),n.label.points=[{x:r+2*o/3,y:a-s},{x:r+5*o/6,y:a-s},{x:r+o,y:a},{x:r+5*o/6,y:a+s},{x:r+2*o/3,y:a+s}],n.label.x=n.x,n.label.y=n.y}}))}(t)})),e(" removeBorderNodes",(function(){!function(t){i.Z(t.nodes(),(function(e){if(t.children(e).length){var n=t.node(e),i=t.node(n.borderTop),r=t.node(n.borderBottom),a=t.node(C(n.borderLeft)),o=t.node(C(n.borderRight));n.width=Math.abs(o.x-a.x),n.height=Math.abs(r.y-i.y),n.x=a.x+n.width/2,n.y=i.y+n.height/2}})),i.Z(t.nodes(),(function(e){"border"===t.node(e).dummy&&t.removeNode(e)}))}(t)})),e(" normalize.undo",(function(){!function(t){i.Z(t.graph().dummyChains,(function(e){var n,i=t.node(e),r=i.edgeLabel;for(t.setEdge(i.edgeObj,r);i.dummy;)n=t.successors(e)[0],t.removeNode(e),r.points.push({x:i.x,y:i.y}),"edge-label"===i.dummy&&(r.x=i.x,r.y=i.y,r.width=i.width,r.height=i.height),e=n,i=t.node(e)}))}(t)})),e(" fixupEdgeLabelCoords",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(a.Z(n,"x"))switch("l"!==n.labelpos&&"r"!==n.labelpos||(n.width-=n.labeloffset),n.labelpos){case"l":n.x-=n.width/2+n.labeloffset;break;case"r":n.x+=n.width/2+n.labeloffset}}))}(t)})),e(" undoCoordinateSystem",(function(){!function(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){i.Z(t.nodes(),(function(e){G(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,G),a.Z(n,"y")&&G(n)}))}(t),"lr"!==e&&"rl"!==e||(function(t){i.Z(t.nodes(),(function(e){K(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,K),a.Z(n,"x")&&K(n)}))}(t),U(t))}(t)})),e(" translateGraph",(function(){!function(t){var e=Number.POSITIVE_INFINITY,n=0,r=Number.POSITIVE_INFINITY,o=0,s=t.graph(),c=s.marginx||0,u=s.marginy||0;function l(t){var i=t.x,a=t.y,s=t.width,c=t.height;e=Math.min(e,i-s/2),n=Math.max(n,i+s/2),r=Math.min(r,a-c/2),o=Math.max(o,a+c/2)}i.Z(t.nodes(),(function(e){l(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);a.Z(n,"x")&&l(n)})),e-=c,r-=u,i.Z(t.nodes(),(function(n){var i=t.node(n);i.x-=e,i.y-=r})),i.Z(t.edges(),(function(n){var o=t.edge(n);i.Z(o.points,(function(t){t.x-=e,t.y-=r})),a.Z(o,"x")&&(o.x-=e),a.Z(o,"y")&&(o.y-=r)})),s.width=n-e+c,s.height=o-r+u}(t)})),e(" assignNodeIntersects",(function(){!function(t){i.Z(t.edges(),(function(e){var n,i,r=t.edge(e),a=t.node(e.v),o=t.node(e.w);r.points?(n=r.points[0],i=r.points[r.points.length-1]):(r.points=[],n=o,i=a),r.points.unshift($(a,n)),r.points.push($(o,i))}))}(t)})),e(" reversePoints",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);n.reversed&&n.points.reverse()}))}(t)})),e(" acyclic.undo",(function(){!function(t){i.Z(t.edges(),(function(e){var n=t.edge(e);if(n.reversed){t.removeEdge(e);var i=n.forwardName;delete n.reversed,delete n.forwardName,t.setEdge(e.w,e.v,n,i)}}))}(t)}))}(e,n)})),n(" updateInputGraph",(function(){!function(t,e){i.Z(t.nodes(),(function(n){var i=t.node(n),r=e.node(n);i&&(i.x=r.x,i.y=r.y,e.children(n).length&&(i.width=r.width,i.height=r.height))})),i.Z(t.edges(),(function(n){var i=t.edge(n),r=e.edge(n);i.points=r.points,a.Z(r,"x")&&(i.x=r.x,i.y=r.y)})),t.graph().width=e.graph().width,t.graph().height=e.graph().height}(t,e)}))}))}var be=["nodesep","edgesep","ranksep","marginx","marginy"],we={ranksep:50,edgesep:20,nodesep:50,rankdir:"tb"},ye=["acyclicer","ranker","rankdir","align"],me=["width","height"],ve={width:0,height:0},xe=["minlen","weight","width","height","labeloffset"],ke={minlen:1,weight:1,width:0,height:0,labeloffset:10,labelpos:"r"},_e=["labelpos"];function Ee(t,e){return I(m.Z(t,e),Number)}function Te(t){var e={};return i.Z(t,(function(t,n){e[n.toLowerCase()]=t})),e}},5351:(t,e,n)=>{"use strict";n.d(e,{k:()=>I});var i=n(3402),r=n(2002),a=n(3234),o=n(7179),s=n(2489),c=n(9697),u=n(870),l=n(9360),h=n(5140),f=n(9581),d=n(5084),g=n(1692);const p=function(t){return t!=t},b=function(t,e){return!(null==t||!t.length)&&function(t,e,n){return e==e?function(t,e,n){for(var i=n-1,r=t.length;++i<r;)if(t[i]===e)return i;return-1}(t,e,n):(0,g.Z)(t,p,n)}(t,e,0)>-1},w=function(t,e,n){for(var i=-1,r=null==t?0:t.length;++i<r;)if(n(e,t[i]))return!0;return!1};var y=n(9548),m=n(3203);var v=n(6545),x=m.Z&&1/(0,v.Z)(new m.Z([,-0]))[1]==1/0?function(t){return new m.Z(t)}:function(){};const k=x;var _=n(836);const E=(0,f.Z)((function(t){return function(t,e,n){var i=-1,r=b,a=t.length,o=!0,s=[],c=s;if(n)o=!1,r=w;else if(a>=200){var u=e?null:k(t);if(u)return(0,v.Z)(u);o=!1,r=y.Z,c=new d.Z}else c=e?[]:s;t:for(;++i<a;){var l=t[i],h=e?e(l):l;if(l=n||0!==l?l:0,o&&h==h){for(var f=c.length;f--;)if(c[f]===h)continue t;e&&c.push(h),s.push(l)}else r(c,h,n)||(c!==s&&c.push(h),s.push(l))}return s}((0,h.Z)(t,1,_.Z,!0))}));var T=n(4657),C=n(4283),S="\0",A="\0",M="";class I{constructor(t={}){this._isDirected=!i.Z(t,"directed")||t.directed,this._isMultigraph=!!i.Z(t,"multigraph")&&t.multigraph,this._isCompound=!!i.Z(t,"compound")&&t.compound,this._label=void 0,this._defaultNodeLabelFn=r.Z(void 0),this._defaultEdgeLabelFn=r.Z(void 0),this._nodes={},this._isCompound&&(this._parent={},this._children={},this._children[A]={}),this._in={},this._preds={},this._out={},this._sucs={},this._edgeObjs={},this._edgeLabels={}}isDirected(){return this._isDirected}isMultigraph(){return this._isMultigraph}isCompound(){return this._isCompound}setGraph(t){return this._label=t,this}graph(){return this._label}setDefaultNodeLabel(t){return a.Z(t)||(t=r.Z(t)),this._defaultNodeLabelFn=t,this}nodeCount(){return this._nodeCount}nodes(){return o.Z(this._nodes)}sources(){var t=this;return s.Z(this.nodes(),(function(e){return c.Z(t._in[e])}))}sinks(){var t=this;return s.Z(this.nodes(),(function(e){return c.Z(t._out[e])}))}setNodes(t,e){var n=arguments,i=this;return u.Z(t,(function(t){n.length>1?i.setNode(t,e):i.setNode(t)})),this}setNode(t,e){return i.Z(this._nodes,t)?(arguments.length>1&&(this._nodes[t]=e),this):(this._nodes[t]=arguments.length>1?e:this._defaultNodeLabelFn(t),this._isCompound&&(this._parent[t]=A,this._children[t]={},this._children[A][t]=!0),this._in[t]={},this._preds[t]={},this._out[t]={},this._sucs[t]={},++this._nodeCount,this)}node(t){return this._nodes[t]}hasNode(t){return i.Z(this._nodes,t)}removeNode(t){var e=this;if(i.Z(this._nodes,t)){var n=function(t){e.removeEdge(e._edgeObjs[t])};delete this._nodes[t],this._isCompound&&(this._removeFromParentsChildList(t),delete this._parent[t],u.Z(this.children(t),(function(t){e.setParent(t)})),delete this._children[t]),u.Z(o.Z(this._in[t]),n),delete this._in[t],delete this._preds[t],u.Z(o.Z(this._out[t]),n),delete this._out[t],delete this._sucs[t],--this._nodeCount}return this}setParent(t,e){if(!this._isCompound)throw new Error("Cannot set parent in a non-compound graph");if(l.Z(e))e=A;else{for(var n=e+="";!l.Z(n);n=this.parent(n))if(n===t)throw new Error("Setting "+e+" as parent of "+t+" would create a cycle");this.setNode(e)}return this.setNode(t),this._removeFromParentsChildList(t),this._parent[t]=e,this._children[e][t]=!0,this}_removeFromParentsChildList(t){delete this._children[this._parent[t]][t]}parent(t){if(this._isCompound){var e=this._parent[t];if(e!==A)return e}}children(t){if(l.Z(t)&&(t=A),this._isCompound){var e=this._children[t];if(e)return o.Z(e)}else{if(t===A)return this.nodes();if(this.hasNode(t))return[]}}predecessors(t){var e=this._preds[t];if(e)return o.Z(e)}successors(t){var e=this._sucs[t];if(e)return o.Z(e)}neighbors(t){var e=this.predecessors(t);if(e)return E(e,this.successors(t))}isLeaf(t){return 0===(this.isDirected()?this.successors(t):this.neighbors(t)).length}filterNodes(t){var e=new this.constructor({directed:this._isDirected,multigraph:this._isMultigraph,compound:this._isCompound});e.setGraph(this.graph());var n=this;u.Z(this._nodes,(function(n,i){t(i)&&e.setNode(i,n)})),u.Z(this._edgeObjs,(function(t){e.hasNode(t.v)&&e.hasNode(t.w)&&e.setEdge(t,n.edge(t))}));var i={};function r(t){var a=n.parent(t);return void 0===a||e.hasNode(a)?(i[t]=a,a):a in i?i[a]:r(a)}return this._isCompound&&u.Z(e.nodes(),(function(t){e.setParent(t,r(t))})),e}setDefaultEdgeLabel(t){return a.Z(t)||(t=r.Z(t)),this._defaultEdgeLabelFn=t,this}edgeCount(){return this._edgeCount}edges(){return T.Z(this._edgeObjs)}setPath(t,e){var n=this,i=arguments;return C.Z(t,(function(t,r){return i.length>1?n.setEdge(t,r,e):n.setEdge(t,r),r})),this}setEdge(){var t,e,n,r,a=!1,o=arguments[0];"object"==typeof o&&null!==o&&"v"in o?(t=o.v,e=o.w,n=o.name,2===arguments.length&&(r=arguments[1],a=!0)):(t=o,e=arguments[1],n=arguments[3],arguments.length>2&&(r=arguments[2],a=!0)),t=""+t,e=""+e,l.Z(n)||(n=""+n);var s=D(this._isDirected,t,e,n);if(i.Z(this._edgeLabels,s))return a&&(this._edgeLabels[s]=r),this;if(!l.Z(n)&&!this._isMultigraph)throw new Error("Cannot set a named edge when isMultigraph = false");this.setNode(t),this.setNode(e),this._edgeLabels[s]=a?r:this._defaultEdgeLabelFn(t,e,n);var c=function(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}var s={v:r,w:a};return i&&(s.name=i),s}(this._isDirected,t,e,n);return t=c.v,e=c.w,Object.freeze(c),this._edgeObjs[s]=c,L(this._preds[e],t),L(this._sucs[t],e),this._in[e][s]=c,this._out[t][s]=c,this._edgeCount++,this}edge(t,e,n){var i=1===arguments.length?N(this._isDirected,arguments[0]):D(this._isDirected,t,e,n);return this._edgeLabels[i]}hasEdge(t,e,n){var r=1===arguments.length?N(this._isDirected,arguments[0]):D(this._isDirected,t,e,n);return i.Z(this._edgeLabels,r)}removeEdge(t,e,n){var i=1===arguments.length?N(this._isDirected,arguments[0]):D(this._isDirected,t,e,n),r=this._edgeObjs[i];return r&&(t=r.v,e=r.w,delete this._edgeLabels[i],delete this._edgeObjs[i],O(this._preds[e],t),O(this._sucs[t],e),delete this._in[e][i],delete this._out[t][i],this._edgeCount--),this}inEdges(t,e){var n=this._in[t];if(n){var i=T.Z(n);return e?s.Z(i,(function(t){return t.v===e})):i}}outEdges(t,e){var n=this._out[t];if(n){var i=T.Z(n);return e?s.Z(i,(function(t){return t.w===e})):i}}nodeEdges(t,e){var n=this.inEdges(t,e);if(n)return n.concat(this.outEdges(t,e))}}function L(t,e){t[e]?t[e]++:t[e]=1}function O(t,e){--t[e]||delete t[e]}function D(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}return r+M+a+M+(l.Z(i)?S:i)}function N(t,e){return D(t,e.v,e.w,e.name)}I.prototype._nodeCount=0,I.prototype._edgeCount=0},5625:(t,e,n)=>{"use strict";n.d(e,{k:()=>i.k});var i=n(5351)},9368:(t,e,n)=>{"use strict";n.d(e,{c:()=>s});var i=n(9360),r=n(9103);const a=function(t){return(0,r.Z)(t,4)};var o=n(3836);function s(t){var e={options:{directed:t.isDirected(),multigraph:t.isMultigraph(),compound:t.isCompound()},nodes:c(t),edges:u(t)};return i.Z(t.graph())||(e.value=a(t.graph())),e}function c(t){return o.Z(t.nodes(),(function(e){var n=t.node(e),r=t.parent(e),a={v:e};return i.Z(n)||(a.value=n),i.Z(r)||(a.parent=r),a}))}function u(t){return o.Z(t.edges(),(function(e){var n=t.edge(e),r={v:e.v,w:e.w};return i.Z(e.name)||(r.name=e.name),i.Z(n)||(r.value=n),r}))}n(5351)},4549:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(5971),r=n(2142);const a=class{constructor(){this.type=r.w.ALL}get(){return this.type}set(t){if(this.type&&this.type!==t)throw new Error("Cannot change both RGB and HSL channels at the same time");this.type=t}reset(){this.type=r.w.ALL}is(t){return this.type===t}},o=new class{constructor(t,e){this.color=e,this.changed=!1,this.data=t,this.type=new a}set(t,e){return this.color=e,this.changed=!1,this.data=t,this.type.type=r.w.ALL,this}_ensureHSL(){const t=this.data,{h:e,s:n,l:r}=t;void 0===e&&(t.h=i.Z.channel.rgb2hsl(t,"h")),void 0===n&&(t.s=i.Z.channel.rgb2hsl(t,"s")),void 0===r&&(t.l=i.Z.channel.rgb2hsl(t,"l"))}_ensureRGB(){const t=this.data,{r:e,g:n,b:r}=t;void 0===e&&(t.r=i.Z.channel.hsl2rgb(t,"r")),void 0===n&&(t.g=i.Z.channel.hsl2rgb(t,"g")),void 0===r&&(t.b=i.Z.channel.hsl2rgb(t,"b"))}get r(){const t=this.data,e=t.r;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"r")):e}get g(){const t=this.data,e=t.g;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"g")):e}get b(){const t=this.data,e=t.b;return this.type.is(r.w.HSL)||void 0===e?(this._ensureHSL(),i.Z.channel.hsl2rgb(t,"b")):e}get h(){const t=this.data,e=t.h;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"h")):e}get s(){const t=this.data,e=t.s;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"s")):e}get l(){const t=this.data,e=t.l;return this.type.is(r.w.RGB)||void 0===e?(this._ensureRGB(),i.Z.channel.rgb2hsl(t,"l")):e}get a(){return this.data.a}set r(t){this.type.set(r.w.RGB),this.changed=!0,this.data.r=t}set g(t){this.type.set(r.w.RGB),this.changed=!0,this.data.g=t}set b(t){this.type.set(r.w.RGB),this.changed=!0,this.data.b=t}set h(t){this.type.set(r.w.HSL),this.changed=!0,this.data.h=t}set s(t){this.type.set(r.w.HSL),this.changed=!0,this.data.s=t}set l(t){this.type.set(r.w.HSL),this.changed=!0,this.data.l=t}set a(t){this.changed=!0,this.data.a=t}}({r:0,g:0,b:0,a:0},"transparent")},1767:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(4549),r=n(2142);const a={re:/^#((?:[a-f0-9]{2}){2,4}|[a-f0-9]{3})$/i,parse:t=>{if(35!==t.charCodeAt(0))return;const e=t.match(a.re);if(!e)return;const n=e[1],r=parseInt(n,16),o=n.length,s=o%4==0,c=o>4,u=c?1:17,l=c?8:4,h=s?0:-1,f=c?255:15;return i.Z.set({r:(r>>l*(h+3)&f)*u,g:(r>>l*(h+2)&f)*u,b:(r>>l*(h+1)&f)*u,a:s?(r&f)*u/255:1},t)},stringify:t=>{const{r:e,g:n,b:i,a}=t;return a<1?`#${r.Q[Math.round(e)]}${r.Q[Math.round(n)]}${r.Q[Math.round(i)]}${r.Q[Math.round(255*a)]}`:`#${r.Q[Math.round(e)]}${r.Q[Math.round(n)]}${r.Q[Math.round(i)]}`}},o=a;var s=n(5971);const c={re:/^hsla?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(?:deg|grad|rad|turn)?)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?%)(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e-?\d+)?(%)?))?\s*?\)$/i,hueRe:/^(.+?)(deg|grad|rad|turn)$/i,_hue2deg:t=>{const e=t.match(c.hueRe);if(e){const[,t,n]=e;switch(n){case"grad":return s.Z.channel.clamp.h(.9*parseFloat(t));case"rad":return s.Z.channel.clamp.h(180*parseFloat(t)/Math.PI);case"turn":return s.Z.channel.clamp.h(360*parseFloat(t))}}return s.Z.channel.clamp.h(parseFloat(t))},parse:t=>{const e=t.charCodeAt(0);if(104!==e&&72!==e)return;const n=t.match(c.re);if(!n)return;const[,r,a,o,u,l]=n;return i.Z.set({h:c._hue2deg(r),s:s.Z.channel.clamp.s(parseFloat(a)),l:s.Z.channel.clamp.l(parseFloat(o)),a:u?s.Z.channel.clamp.a(l?parseFloat(u)/100:parseFloat(u)):1},t)},stringify:t=>{const{h:e,s:n,l:i,a:r}=t;return r<1?`hsla(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}%, ${s.Z.lang.round(i)}%, ${r})`:`hsl(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}%, ${s.Z.lang.round(i)}%)`}},u=c,l={colors:{aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyanaqua:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkgrey:"#a9a9a9",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkslategrey:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dimgrey:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",grey:"#808080",honeydew:"#f0fff0",hotpink:"#ff69b4",indianred:"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgray:"#d3d3d3",lightgreen:"#90ee90",lightgrey:"#d3d3d3",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightslategrey:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370db",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#db7093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",rebeccapurple:"#663399",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",slategrey:"#708090",snow:"#fffafa",springgreen:"#00ff7f",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",transparent:"#00000000",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},parse:t=>{t=t.toLowerCase();const e=l.colors[t];if(e)return o.parse(e)},stringify:t=>{const e=o.stringify(t);for(const t in l.colors)if(l.colors[t]===e)return t}},h=l,f={re:/^rgba?\(\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))\s*?(?:,|\s)\s*?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?))(?:\s*?(?:,|\/)\s*?\+?(-?(?:\d+(?:\.\d+)?|(?:\.\d+))(?:e\d+)?(%?)))?\s*?\)$/i,parse:t=>{const e=t.charCodeAt(0);if(114!==e&&82!==e)return;const n=t.match(f.re);if(!n)return;const[,r,a,o,c,u,l,h,d]=n;return i.Z.set({r:s.Z.channel.clamp.r(a?2.55*parseFloat(r):parseFloat(r)),g:s.Z.channel.clamp.g(c?2.55*parseFloat(o):parseFloat(o)),b:s.Z.channel.clamp.b(l?2.55*parseFloat(u):parseFloat(u)),a:h?s.Z.channel.clamp.a(d?parseFloat(h)/100:parseFloat(h)):1},t)},stringify:t=>{const{r:e,g:n,b:i,a:r}=t;return r<1?`rgba(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}, ${s.Z.lang.round(i)}, ${s.Z.lang.round(r)})`:`rgb(${s.Z.lang.round(e)}, ${s.Z.lang.round(n)}, ${s.Z.lang.round(i)})`}},d=f,g={format:{keyword:l,hex:o,rgb:f,rgba:f,hsl:c,hsla:c},parse:t=>{if("string"!=typeof t)return t;const e=o.parse(t)||d.parse(t)||u.parse(t)||h.parse(t);if(e)return e;throw new Error(`Unsupported color format: "${t}"`)},stringify:t=>!t.changed&&t.color?t.color:t.type.is(r.w.HSL)||void 0===t.data.r?u.stringify(t):t.a<1||!Number.isInteger(t.r)||!Number.isInteger(t.g)||!Number.isInteger(t.b)?d.stringify(t):o.stringify(t)},p=g},2142:(t,e,n)=>{"use strict";n.d(e,{Q:()=>r,w:()=>a});var i=n(5971);const r={};for(let t=0;t<=255;t++)r[t]=i.Z.unit.dec2hex(t);const a={ALL:0,RGB:1,HSL:2}},6174:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(5971),r=n(1767);const a=(t,e,n)=>{const a=r.Z.parse(t),o=a[e],s=i.Z.channel.clamp[e](o+n);return o!==s&&(a[e]=s),r.Z.stringify(a)}},3438:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(5971),r=n(1767);const a=(t,e)=>{const n=r.Z.parse(t);for(const t in e)n[t]=i.Z.channel.clamp[t](e[t]);return r.Z.stringify(n)}},7201:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(6174);const r=(t,e)=>(0,i.Z)(t,"l",-e)},6500:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(5971),r=n(1767);const a=t=>(t=>{const{r:e,g:n,b:a}=r.Z.parse(t),o=.2126*i.Z.channel.toLinear(e)+.7152*i.Z.channel.toLinear(n)+.0722*i.Z.channel.toLinear(a);return i.Z.lang.round(o)})(t)>=.5,o=t=>!a(t)},2281:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(6174);const r=(t,e)=>(0,i.Z)(t,"l",e)},1117:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(5971),r=n(4549),a=n(1767),o=n(3438);const s=(t,e,n=0,s=1)=>{if("number"!=typeof t)return(0,o.Z)(t,{a:e});const c=r.Z.set({r:i.Z.channel.clamp.r(t),g:i.Z.channel.clamp.g(e),b:i.Z.channel.clamp.b(n),a:i.Z.channel.clamp.a(s)});return a.Z.stringify(c)}},5971:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});const i={min:{r:0,g:0,b:0,s:0,l:0,a:0},max:{r:255,g:255,b:255,h:360,s:100,l:100,a:1},clamp:{r:t=>t>=255?255:t<0?0:t,g:t=>t>=255?255:t<0?0:t,b:t=>t>=255?255:t<0?0:t,h:t=>t%360,s:t=>t>=100?100:t<0?0:t,l:t=>t>=100?100:t<0?0:t,a:t=>t>=1?1:t<0?0:t},toLinear:t=>{const e=t/255;return t>.03928?Math.pow((e+.055)/1.055,2.4):e/12.92},hue2rgb:(t,e,n)=>(n<0&&(n+=1),n>1&&(n-=1),n<1/6?t+6*(e-t)*n:n<.5?e:n<2/3?t+(e-t)*(2/3-n)*6:t),hsl2rgb:({h:t,s:e,l:n},r)=>{if(!e)return 2.55*n;t/=360,e/=100;const a=(n/=100)<.5?n*(1+e):n+e-n*e,o=2*n-a;switch(r){case"r":return 255*i.hue2rgb(o,a,t+1/3);case"g":return 255*i.hue2rgb(o,a,t);case"b":return 255*i.hue2rgb(o,a,t-1/3)}},rgb2hsl:({r:t,g:e,b:n},i)=>{t/=255,e/=255,n/=255;const r=Math.max(t,e,n),a=Math.min(t,e,n),o=(r+a)/2;if("l"===i)return 100*o;if(r===a)return 0;const s=r-a;if("s"===i)return 100*(o>.5?s/(2-r-a):s/(r+a));switch(r){case t:return 60*((e-n)/s+(e<n?6:0));case e:return 60*((n-t)/s+2);case n:return 60*((t-e)/s+4);default:return-1}}},r={channel:i,lang:{clamp:(t,e,n)=>e>n?Math.min(e,Math.max(n,t)):Math.min(n,Math.max(e,t)),round:t=>Math.round(1e10*t)/1e10},unit:{dec2hex:t=>{const e=Math.round(t).toString(16);return e.length>1?e:`0${e}`}}}},2536:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(9651);const r=function(t,e){for(var n=t.length;n--;)if((0,i.Z)(t[n][0],e))return n;return-1};var a=Array.prototype.splice;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=[],this.size=0},o.prototype.delete=function(t){var e=this.__data__,n=r(e,t);return!(n<0||(n==e.length-1?e.pop():a.call(e,n,1),--this.size,0))},o.prototype.get=function(t){var e=this.__data__,n=r(e,t);return n<0?void 0:e[n][1]},o.prototype.has=function(t){return r(this.__data__,t)>-1},o.prototype.set=function(t,e){var n=this.__data__,i=r(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};const s=o},6183:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2119),r=n(6092);const a=(0,i.Z)(r.Z,"Map")},520:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});const i=(0,n(2119).Z)(Object,"create");var r=Object.prototype.hasOwnProperty;var a=Object.prototype.hasOwnProperty;function o(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}o.prototype.clear=function(){this.__data__=i?i(null):{},this.size=0},o.prototype.delete=function(t){var e=this.has(t)&&delete this.__data__[t];return this.size-=e?1:0,e},o.prototype.get=function(t){var e=this.__data__;if(i){var n=e[t];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(e,t)?e[t]:void 0},o.prototype.has=function(t){var e=this.__data__;return i?void 0!==e[t]:a.call(e,t)},o.prototype.set=function(t,e){var n=this.__data__;return this.size+=this.has(t)?0:1,n[t]=i&&void 0===e?"__lodash_hash_undefined__":e,this};const s=o;var c=n(2536),u=n(6183);const l=function(t,e){var n,i,r=t.__data__;return("string"==(i=typeof(n=e))||"number"==i||"symbol"==i||"boolean"==i?"__proto__"!==n:null===n)?r["string"==typeof e?"string":"hash"]:r.map};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e<n;){var i=t[e];this.set(i[0],i[1])}}h.prototype.clear=function(){this.size=0,this.__data__={hash:new s,map:new(u.Z||c.Z),string:new s}},h.prototype.delete=function(t){var e=l(this,t).delete(t);return this.size-=e?1:0,e},h.prototype.get=function(t){return l(this,t).get(t)},h.prototype.has=function(t){return l(this,t).has(t)},h.prototype.set=function(t,e){var n=l(this,t),i=n.size;return n.set(t,e),this.size+=n.size==i?0:1,this};const f=h},3203:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2119),r=n(6092);const a=(0,i.Z)(r.Z,"Set")},5084:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(520);function r(t){var e=-1,n=null==t?0:t.length;for(this.__data__=new i.Z;++e<n;)this.add(t[e])}r.prototype.add=r.prototype.push=function(t){return this.__data__.set(t,"__lodash_hash_undefined__"),this},r.prototype.has=function(t){return this.__data__.has(t)};const a=r},5365:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(2536);var r=n(6183),a=n(520);function o(t){var e=this.__data__=new i.Z(t);this.size=e.size}o.prototype.clear=function(){this.__data__=new i.Z,this.size=0},o.prototype.delete=function(t){var e=this.__data__,n=e.delete(t);return this.size=e.size,n},o.prototype.get=function(t){return this.__data__.get(t)},o.prototype.has=function(t){return this.__data__.has(t)},o.prototype.set=function(t,e){var n=this.__data__;if(n instanceof i.Z){var o=n.__data__;if(!r.Z||o.length<199)return o.push([t,e]),this.size=++n.size,this;n=this.__data__=new a.Z(o)}return n.set(t,e),this.size=n.size,this};const s=o},7685:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(6092).Z.Symbol},4073:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=n(6092).Z.Uint8Array},6579:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i&&!1!==e(t[n],n,t););return t}},8774:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){for(var n=-1,i=null==t?0:t.length,r=0,a=[];++n<i;){var o=t[n];e(o,n,t)&&(a[r++]=o)}return a}},9001:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(4732),r=n(7771),a=n(6706),o=n(6009),s=n(7212),c=Object.prototype.hasOwnProperty;const u=function(t,e){var n=(0,r.Z)(t),u=!n&&(0,i.Z)(t),l=!n&&!u&&(0,a.Z)(t),h=!n&&!u&&!l&&(0,s.Z)(t),f=n||u||l||h,d=f?function(t,e){for(var n=-1,i=Array(t);++n<t;)i[n]=e(n);return i}(t.length,String):[],g=d.length;for(var p in t)!e&&!c.call(t,p)||f&&("length"==p||l&&("offset"==p||"parent"==p)||h&&("buffer"==p||"byteLength"==p||"byteOffset"==p)||(0,o.Z)(p,g))||d.push(p);return d}},7679:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){for(var n=-1,i=null==t?0:t.length,r=Array(i);++n<i;)r[n]=e(t[n],n,t);return r}},8694:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){for(var n=-1,i=e.length,r=t.length;++n<i;)t[r+n]=e[n];return t}},2954:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(4752),r=n(9651),a=Object.prototype.hasOwnProperty;const o=function(t,e,n){var o=t[e];a.call(t,e)&&(0,r.Z)(o,n)&&(void 0!==n||e in t)||(0,i.Z)(t,e,n)}},4752:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(7904);const r=function(t,e,n){"__proto__"==e&&i.Z?(0,i.Z)(t,e,{configurable:!0,enumerable:!0,value:n,writable:!0}):t[e]=n}},9103:(t,e,n)=>{"use strict";n.d(e,{Z:()=>H});var i=n(5365),r=n(6579),a=n(2954),o=n(1899),s=n(7179);var c=n(7590);var u=n(1050),l=n(7215),h=n(5695);var f=n(8694),d=n(2513),g=n(532);const p=Object.getOwnPropertySymbols?function(t){for(var e=[];t;)(0,f.Z)(e,(0,h.Z)(t)),t=(0,d.Z)(t);return e}:g.Z;var b=n(1808),w=n(3327);const y=function(t){return(0,w.Z)(t,c.Z,p)};var m=n(6155),v=Object.prototype.hasOwnProperty;var x=n(1884);var k=/\w*$/;var _=n(7685),E=_.Z?_.Z.prototype:void 0,T=E?E.valueOf:void 0;var C=n(2701);const S=function(t,e,n){var i,r,a,o=t.constructor;switch(e){case"[object ArrayBuffer]":return(0,x.Z)(t);case"[object Boolean]":case"[object Date]":return new o(+t);case"[object DataView]":return function(t,e){var n=e?(0,x.Z)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.byteLength)}(t,n);case"[object Float32Array]":case"[object Float64Array]":case"[object Int8Array]":case"[object Int16Array]":case"[object Int32Array]":case"[object Uint8Array]":case"[object Uint8ClampedArray]":case"[object Uint16Array]":case"[object Uint32Array]":return(0,C.Z)(t,n);case"[object Map]":case"[object Set]":return new o;case"[object Number]":case"[object String]":return new o(t);case"[object RegExp]":return(a=new(r=t).constructor(r.source,k.exec(r))).lastIndex=r.lastIndex,a;case"[object Symbol]":return i=t,T?Object(T.call(i)):{}}};var A=n(5418),M=n(7771),I=n(6706),L=n(8533);var O=n(1162),D=n(8351),N=D.Z&&D.Z.isMap;const P=N?(0,O.Z)(N):function(t){return(0,L.Z)(t)&&"[object Map]"==(0,m.Z)(t)};var B=n(7226);var F=D.Z&&D.Z.isSet;const $=F?(0,O.Z)(F):function(t){return(0,L.Z)(t)&&"[object Set]"==(0,m.Z)(t)};var j="[object Arguments]",R="[object Function]",z="[object Object]",q={};q[j]=q["[object Array]"]=q["[object ArrayBuffer]"]=q["[object DataView]"]=q["[object Boolean]"]=q["[object Date]"]=q["[object Float32Array]"]=q["[object Float64Array]"]=q["[object Int8Array]"]=q["[object Int16Array]"]=q["[object Int32Array]"]=q["[object Map]"]=q["[object Number]"]=q[z]=q["[object RegExp]"]=q["[object Set]"]=q["[object String]"]=q["[object Symbol]"]=q["[object Uint8Array]"]=q["[object Uint8ClampedArray]"]=q["[object Uint16Array]"]=q["[object Uint32Array]"]=!0,q["[object Error]"]=q[R]=q["[object WeakMap]"]=!1;const H=function t(e,n,f,d,g,w){var x,k=1&n,_=2&n,E=4&n;if(f&&(x=g?f(e,d,g,w):f(e)),void 0!==x)return x;if(!(0,B.Z)(e))return e;var T=(0,M.Z)(e);if(T){if(x=function(t){var e=t.length,n=new t.constructor(e);return e&&"string"==typeof t[0]&&v.call(t,"index")&&(n.index=t.index,n.input=t.input),n}(e),!k)return(0,l.Z)(e,x)}else{var C=(0,m.Z)(e),L=C==R||"[object GeneratorFunction]"==C;if((0,I.Z)(e))return(0,u.Z)(e,k);if(C==z||C==j||L&&!g){if(x=_||L?{}:(0,A.Z)(e),!k)return _?function(t,e){return(0,o.Z)(t,p(t),e)}(e,function(t,e){return t&&(0,o.Z)(e,(0,c.Z)(e),t)}(x,e)):function(t,e){return(0,o.Z)(t,(0,h.Z)(t),e)}(e,function(t,e){return t&&(0,o.Z)(e,(0,s.Z)(e),t)}(x,e))}else{if(!q[C])return g?e:{};x=S(e,C,k)}}w||(w=new i.Z);var O=w.get(e);if(O)return O;w.set(e,x),$(e)?e.forEach((function(i){x.add(t(i,n,f,i,e,w))})):P(e)&&e.forEach((function(i,r){x.set(r,t(i,n,f,r,e,w))}));var D=E?_?y:b.Z:_?c.Z:s.Z,N=T?void 0:D(e);return(0,r.Z)(N||e,(function(i,r){N&&(i=e[r=i]),(0,a.Z)(x,r,t(i,n,f,r,e,w))})),x}},8640:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2693),r=n(585);const a=(o=i.Z,function(t,e){if(null==t)return t;if(!(0,r.Z)(t))return o(t,e);for(var n=t.length,i=-1,a=Object(t);++i<n&&!1!==e(a[i],i,a););return t});var o},1692:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e,n,i){for(var r=t.length,a=n+(i?1:-1);i?a--:++a<r;)if(e(t[a],a,t))return a;return-1}},5140:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(8694),r=n(7685),a=n(4732),o=n(7771),s=r.Z?r.Z.isConcatSpreadable:void 0;const c=function(t){return(0,o.Z)(t)||(0,a.Z)(t)||!!(s&&t&&t[s])},u=function t(e,n,r,a,o){var s=-1,u=e.length;for(r||(r=c),o||(o=[]);++s<u;){var l=e[s];n>0&&r(l)?n>1?t(l,n-1,r,a,o):(0,i.Z)(o,l):a||(o[o.length]=l)}return o}},5381:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e,n){for(var i=-1,r=Object(t),a=n(t),o=a.length;o--;){var s=a[++i];if(!1===e(r[s],s,r))break}return t}},2693:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(5381),r=n(7179);const a=function(t,e){return t&&(0,i.Z)(t,e,r.Z)}},3317:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(1036),r=n(2656);const a=function(t,e){for(var n=0,a=(e=(0,i.Z)(e,t)).length;null!=t&&n<a;)t=t[(0,r.Z)(e[n++])];return n&&n==a?t:void 0}},3327:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(8694),r=n(7771);const a=function(t,e,n){var a=e(t);return(0,r.Z)(t)?a:(0,i.Z)(a,n(t))}},3243:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(7685),r=Object.prototype,a=r.hasOwnProperty,o=r.toString,s=i.Z?i.Z.toStringTag:void 0;var c=Object.prototype.toString;var u=i.Z?i.Z.toStringTag:void 0;const l=function(t){return null==t?void 0===t?"[object Undefined]":"[object Null]":u&&u in Object(t)?function(t){var e=a.call(t,s),n=t[s];try{t[s]=void 0;var i=!0}catch(t){}var r=o.call(t);return i&&(e?t[s]=n:delete t[s]),r}(t):function(t){return c.call(t)}(t)}},7058:(t,e,n)=>{"use strict";n.d(e,{Z:()=>z});var i=n(5365),r=n(5084);const a=function(t,e){for(var n=-1,i=null==t?0:t.length;++n<i;)if(e(t[n],n,t))return!0;return!1};var o=n(9548);const s=function(t,e,n,i,s,c){var u=1&n,l=t.length,h=e.length;if(l!=h&&!(u&&h>l))return!1;var f=c.get(t),d=c.get(e);if(f&&d)return f==e&&d==t;var g=-1,p=!0,b=2&n?new r.Z:void 0;for(c.set(t,e),c.set(e,t);++g<l;){var w=t[g],y=e[g];if(i)var m=u?i(y,w,g,e,t,c):i(w,y,g,t,e,c);if(void 0!==m){if(m)continue;p=!1;break}if(b){if(!a(e,(function(t,e){if(!(0,o.Z)(b,e)&&(w===t||s(w,t,n,i,c)))return b.push(e)}))){p=!1;break}}else if(w!==y&&!s(w,y,n,i,c)){p=!1;break}}return c.delete(t),c.delete(e),p};var c=n(7685),u=n(4073),l=n(9651);const h=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t,i){n[++e]=[i,t]})),n};var f=n(6545),d=c.Z?c.Z.prototype:void 0,g=d?d.valueOf:void 0;var p=n(1808),b=Object.prototype.hasOwnProperty;var w=n(6155),y=n(7771),m=n(6706),v=n(7212),x="[object Arguments]",k="[object Array]",_="[object Object]",E=Object.prototype.hasOwnProperty;const T=function(t,e,n,r,a,o){var c=(0,y.Z)(t),d=(0,y.Z)(e),T=c?k:(0,w.Z)(t),C=d?k:(0,w.Z)(e),S=(T=T==x?_:T)==_,A=(C=C==x?_:C)==_,M=T==C;if(M&&(0,m.Z)(t)){if(!(0,m.Z)(e))return!1;c=!0,S=!1}if(M&&!S)return o||(o=new i.Z),c||(0,v.Z)(t)?s(t,e,n,r,a,o):function(t,e,n,i,r,a,o){switch(n){case"[object DataView]":if(t.byteLength!=e.byteLength||t.byteOffset!=e.byteOffset)return!1;t=t.buffer,e=e.buffer;case"[object ArrayBuffer]":return!(t.byteLength!=e.byteLength||!a(new u.Z(t),new u.Z(e)));case"[object Boolean]":case"[object Date]":case"[object Number]":return(0,l.Z)(+t,+e);case"[object Error]":return t.name==e.name&&t.message==e.message;case"[object RegExp]":case"[object String]":return t==e+"";case"[object Map]":var c=h;case"[object Set]":var d=1&i;if(c||(c=f.Z),t.size!=e.size&&!d)return!1;var p=o.get(t);if(p)return p==e;i|=2,o.set(t,e);var b=s(c(t),c(e),i,r,a,o);return o.delete(t),b;case"[object Symbol]":if(g)return g.call(t)==g.call(e)}return!1}(t,e,T,n,r,a,o);if(!(1&n)){var I=S&&E.call(t,"__wrapped__"),L=A&&E.call(e,"__wrapped__");if(I||L){var O=I?t.value():t,D=L?e.value():e;return o||(o=new i.Z),a(O,D,n,r,o)}}return!!M&&(o||(o=new i.Z),function(t,e,n,i,r,a){var o=1&n,s=(0,p.Z)(t),c=s.length;if(c!=(0,p.Z)(e).length&&!o)return!1;for(var u=c;u--;){var l=s[u];if(!(o?l in e:b.call(e,l)))return!1}var h=a.get(t),f=a.get(e);if(h&&f)return h==e&&f==t;var d=!0;a.set(t,e),a.set(e,t);for(var g=o;++u<c;){var w=t[l=s[u]],y=e[l];if(i)var m=o?i(y,w,l,e,t,a):i(w,y,l,t,e,a);if(!(void 0===m?w===y||r(w,y,n,i,a):m)){d=!1;break}g||(g="constructor"==l)}if(d&&!g){var v=t.constructor,x=e.constructor;v==x||!("constructor"in t)||!("constructor"in e)||"function"==typeof v&&v instanceof v&&"function"==typeof x&&x instanceof x||(d=!1)}return a.delete(t),a.delete(e),d}(t,e,n,r,a,o))};var C=n(8533);const S=function t(e,n,i,r,a){return e===n||(null==e||null==n||!(0,C.Z)(e)&&!(0,C.Z)(n)?e!=e&&n!=n:T(e,n,i,r,t,a))};var A=n(7226);const M=function(t){return t==t&&!(0,A.Z)(t)};var I=n(7179);const L=function(t,e){return function(n){return null!=n&&n[t]===e&&(void 0!==e||t in Object(n))}},O=function(t){var e=function(t){for(var e=(0,I.Z)(t),n=e.length;n--;){var i=e[n],r=t[i];e[n]=[i,r,M(r)]}return e}(t);return 1==e.length&&e[0][2]?L(e[0][0],e[0][1]):function(n){return n===t||function(t,e,n,r){var a=n.length,o=a,s=!r;if(null==t)return!o;for(t=Object(t);a--;){var c=n[a];if(s&&c[2]?c[1]!==t[c[0]]:!(c[0]in t))return!1}for(;++a<o;){var u=(c=n[a])[0],l=t[u],h=c[1];if(s&&c[2]){if(void 0===l&&!(u in t))return!1}else{var f=new i.Z;if(r)var d=r(l,h,u,t,e,f);if(!(void 0===d?S(h,l,3,r,f):d))return!1}}return!0}(n,t,e)}};var D=n(3317);var N=n(1910),P=n(9365),B=n(2656);const F=function(t,e){return(0,P.Z)(t)&&M(e)?L((0,B.Z)(t),e):function(n){var i=function(t,e,n){var i=null==t?void 0:(0,D.Z)(t,e);return void 0===i?n:i}(n,t);return void 0===i&&i===e?(0,N.Z)(n,t):S(e,i,3)}};var $=n(9203),j=n(4193);const R=function(t){return(0,P.Z)(t)?(0,j.Z)((0,B.Z)(t)):function(t){return function(e){return(0,D.Z)(e,t)}}(t)},z=function(t){return"function"==typeof t?t:null==t?$.Z:"object"==typeof t?(0,y.Z)(t)?F(t[0],t[1]):O(t):R(t)}},8448:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(2764);const r=(0,n(1851).Z)(Object.keys,Object);var a=Object.prototype.hasOwnProperty;const o=function(t){if(!(0,i.Z)(t))return r(t);var e=[];for(var n in Object(t))a.call(t,n)&&"constructor"!=n&&e.push(n);return e}},1018:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(8640),r=n(585);const a=function(t,e){var n=-1,a=(0,r.Z)(t)?Array(t.length):[];return(0,i.Z)(t,(function(t,i,r){a[++n]=e(t,i,r)})),a}},4193:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return function(e){return null==e?void 0:e[t]}}},9581:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(9203),r=n(3948),a=n(3626);const o=function(t,e){return(0,a.Z)((0,r.Z)(t,e,i.Z),t+"")}},1162:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return function(e){return t(e)}}},9548:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){return t.has(e)}},8882:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(9203);const r=function(t){return"function"==typeof t?t:i.Z}},1036:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=n(7771),r=n(9365),a=n(2454),o=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,s=/\\(\\)?/g;const c=(u=(0,a.Z)((function(t){var e=[];return 46===t.charCodeAt(0)&&e.push(""),t.replace(o,(function(t,n,i,r){e.push(i?r.replace(s,"$1"):n||t)})),e}),(function(t){return 500===l.size&&l.clear(),t})),l=u.cache,u);var u,l,h=n(2402);const f=function(t,e){return(0,i.Z)(t)?t:(0,r.Z)(t,e)?[t]:c((0,h.Z)(t))}},1884:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(4073);const r=function(t){var e=new t.constructor(t.byteLength);return new i.Z(e).set(new i.Z(t)),e}},1050:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(6092),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===r?i.Z.Buffer:void 0,s=o?o.allocUnsafe:void 0;const c=function(t,e){if(e)return t.slice();var n=t.length,i=s?s(n):new t.constructor(n);return t.copy(i),i}},2701:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(1884);const r=function(t,e){var n=e?(0,i.Z)(t.buffer):t.buffer;return new t.constructor(n,t.byteOffset,t.length)}},7215:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){var n=-1,i=t.length;for(e||(e=Array(i));++n<i;)e[n]=t[n];return e}},1899:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2954),r=n(4752);const a=function(t,e,n,a){var o=!n;n||(n={});for(var s=-1,c=e.length;++s<c;){var u=e[s],l=a?a(n[u],t[u],u,n,t):void 0;void 0===l&&(l=t[u]),o?(0,r.Z)(n,u,l):(0,i.Z)(n,u,l)}return n}},7904:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(2119);const r=function(){try{var t=(0,i.Z)(Object,"defineProperty");return t({},"",{}),t}catch(t){}}()},3413:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i="object"==typeof global&&global&&global.Object===Object&&global},1808:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(3327),r=n(5695),a=n(7179);const o=function(t){return(0,i.Z)(t,a.Z,r.Z)}},2119:(t,e,n)=>{"use strict";n.d(e,{Z:()=>b});var i=n(3234);const r=n(6092).Z["__core-js_shared__"];var a,o=(a=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+a:"";var s=n(7226),c=n(19),u=/^\[object .+?Constructor\]$/,l=Function.prototype,h=Object.prototype,f=l.toString,d=h.hasOwnProperty,g=RegExp("^"+f.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const p=function(t){return!(!(0,s.Z)(t)||(e=t,o&&o in e))&&((0,i.Z)(t)?g:u).test((0,c.Z)(t));var e},b=function(t,e){var n=function(t,e){return null==t?void 0:t[e]}(t,e);return p(n)?n:void 0}},2513:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=(0,n(1851).Z)(Object.getPrototypeOf,Object)},5695:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(8774),r=n(532),a=Object.prototype.propertyIsEnumerable,o=Object.getOwnPropertySymbols;const s=o?function(t){return null==t?[]:(t=Object(t),(0,i.Z)(o(t),(function(e){return a.call(t,e)})))}:r.Z},6155:(t,e,n)=>{"use strict";n.d(e,{Z:()=>_});var i=n(2119),r=n(6092);const a=(0,i.Z)(r.Z,"DataView");var o=n(6183);const s=(0,i.Z)(r.Z,"Promise");var c=n(3203);const u=(0,i.Z)(r.Z,"WeakMap");var l=n(3243),h=n(19),f="[object Map]",d="[object Promise]",g="[object Set]",p="[object WeakMap]",b="[object DataView]",w=(0,h.Z)(a),y=(0,h.Z)(o.Z),m=(0,h.Z)(s),v=(0,h.Z)(c.Z),x=(0,h.Z)(u),k=l.Z;(a&&k(new a(new ArrayBuffer(1)))!=b||o.Z&&k(new o.Z)!=f||s&&k(s.resolve())!=d||c.Z&&k(new c.Z)!=g||u&&k(new u)!=p)&&(k=function(t){var e=(0,l.Z)(t),n="[object Object]"==e?t.constructor:void 0,i=n?(0,h.Z)(n):"";if(i)switch(i){case w:return b;case y:return f;case m:return d;case v:return g;case x:return p}return e});const _=k},5196:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(1036),r=n(4732),a=n(7771),o=n(6009),s=n(1656),c=n(2656);const u=function(t,e,n){for(var u=-1,l=(e=(0,i.Z)(e,t)).length,h=!1;++u<l;){var f=(0,c.Z)(e[u]);if(!(h=null!=t&&n(t,f)))break;t=t[f]}return h||++u!=l?h:!!(l=null==t?0:t.length)&&(0,s.Z)(l)&&(0,o.Z)(f,l)&&((0,a.Z)(t)||(0,r.Z)(t))}},5418:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(7226),r=Object.create;const a=function(){function t(){}return function(e){if(!(0,i.Z)(e))return{};if(r)return r(e);t.prototype=e;var n=new t;return t.prototype=void 0,n}}();var o=n(2513),s=n(2764);const c=function(t){return"function"!=typeof t.constructor||(0,s.Z)(t)?{}:a((0,o.Z)(t))}},6009:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=/^(?:0|[1-9]\d*)$/;const r=function(t,e){var n=typeof t;return!!(e=null==e?9007199254740991:e)&&("number"==n||"symbol"!=n&&i.test(t))&&t>-1&&t%1==0&&t<e}},439:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(9651),r=n(585),a=n(6009),o=n(7226);const s=function(t,e,n){if(!(0,o.Z)(n))return!1;var s=typeof e;return!!("number"==s?(0,r.Z)(n)&&(0,a.Z)(e,n.length):"string"==s&&e in n)&&(0,i.Z)(n[e],t)}},9365:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(7771),r=n(2714),a=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,o=/^\w*$/;const s=function(t,e){if((0,i.Z)(t))return!1;var n=typeof t;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=t&&!(0,r.Z)(t))||o.test(t)||!a.test(t)||null!=e&&t in Object(e)}},2764:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=Object.prototype;const r=function(t){var e=t&&t.constructor;return t===("function"==typeof e&&e.prototype||i)}},8351:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(3413),r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===r&&i.Z.process;const s=function(){try{return a&&a.require&&a.require("util").types||o&&o.binding&&o.binding("util")}catch(t){}}()},1851:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){return function(n){return t(e(n))}}},3948:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=Math.max;const r=function(t,e,n){return e=i(void 0===e?t.length-1:e,0),function(){for(var r=arguments,a=-1,o=i(r.length-e,0),s=Array(o);++a<o;)s[a]=r[e+a];a=-1;for(var c=Array(e+1);++a<e;)c[a]=r[a];return c[e]=n(s),function(t,e,n){switch(n.length){case 0:return t.call(e);case 1:return t.call(e,n[0]);case 2:return t.call(e,n[0],n[1]);case 3:return t.call(e,n[0],n[1],n[2])}return t.apply(e,n)}(t,this,c)}}},6092:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(3413),r="object"==typeof self&&self&&self.Object===Object&&self;const a=i.Z||r||Function("return this")()},6545:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){var e=-1,n=Array(t.size);return t.forEach((function(t){n[++e]=t})),n}},3626:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(2002),r=n(7904),a=n(9203);const o=r.Z?function(t,e){return(0,r.Z)(t,"toString",{configurable:!0,enumerable:!1,value:(0,i.Z)(e),writable:!0})}:a.Z;var s=Date.now;const c=(u=o,l=0,h=0,function(){var t=s(),e=16-(t-h);if(h=t,e>0){if(++l>=800)return arguments[0]}else l=0;return u.apply(void 0,arguments)});var u,l,h},2656:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(2714);const r=function(t){if("string"==typeof t||(0,i.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-1/0?"-0":e}},19:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=Function.prototype.toString;const r=function(t){if(null!=t){try{return i.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2002:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return function(){return t}}},3688:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(9581),r=n(9651),a=n(439),o=n(7590),s=Object.prototype,c=s.hasOwnProperty;const u=(0,i.Z)((function(t,e){t=Object(t);var n=-1,i=e.length,u=i>2?e[2]:void 0;for(u&&(0,a.Z)(e[0],e[1],u)&&(i=1);++n<i;)for(var l=e[n],h=(0,o.Z)(l),f=-1,d=h.length;++f<d;){var g=h[f],p=t[g];(void 0===p||(0,r.Z)(p,s[g])&&!c.call(t,g))&&(t[g]=l[g])}return t}))},9651:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){return t===e||t!=t&&e!=e}},2489:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});var i=n(8774),r=n(8640);const a=function(t,e){var n=[];return(0,r.Z)(t,(function(t,i,r){e(t,i,r)&&n.push(t)})),n};var o=n(7058),s=n(7771);const c=function(t,e){return((0,s.Z)(t)?i.Z:a)(t,(0,o.Z)(e,3))}},7961:(t,e,n)=>{"use strict";n.d(e,{Z:()=>r});var i=n(5140);const r=function(t){return null!=t&&t.length?(0,i.Z)(t,1):[]}},870:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(6579),r=n(8640),a=n(8882),o=n(7771);const s=function(t,e){return((0,o.Z)(t)?i.Z:r.Z)(t,(0,a.Z)(e))}},3402:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=Object.prototype.hasOwnProperty;const r=function(t,e){return null!=t&&i.call(t,e)};var a=n(5196);const o=function(t,e){return null!=t&&(0,a.Z)(t,e,r)}},1910:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});const i=function(t,e){return null!=t&&e in Object(t)};var r=n(5196);const a=function(t,e){return null!=t&&(0,r.Z)(t,e,i)}},9203:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return t}},4732:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(3243),r=n(8533);const a=function(t){return(0,r.Z)(t)&&"[object Arguments]"==(0,i.Z)(t)};var o=Object.prototype,s=o.hasOwnProperty,c=o.propertyIsEnumerable;const u=a(function(){return arguments}())?a:function(t){return(0,r.Z)(t)&&s.call(t,"callee")&&!c.call(t,"callee")}},7771:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=Array.isArray},585:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(3234),r=n(1656);const a=function(t){return null!=t&&(0,r.Z)(t.length)&&!(0,i.Z)(t)}},836:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(585),r=n(8533);const a=function(t){return(0,r.Z)(t)&&(0,i.Z)(t)}},6706:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(6092);var r="object"==typeof exports&&exports&&!exports.nodeType&&exports,a=r&&"object"==typeof module&&module&&!module.nodeType&&module,o=a&&a.exports===r?i.Z.Buffer:void 0;const s=(o?o.isBuffer:void 0)||function(){return!1}},9697:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=n(8448),r=n(6155),a=n(4732),o=n(7771),s=n(585),c=n(6706),u=n(2764),l=n(7212),h=Object.prototype.hasOwnProperty;const f=function(t){if(null==t)return!0;if((0,s.Z)(t)&&((0,o.Z)(t)||"string"==typeof t||"function"==typeof t.splice||(0,c.Z)(t)||(0,l.Z)(t)||(0,a.Z)(t)))return!t.length;var e=(0,r.Z)(t);if("[object Map]"==e||"[object Set]"==e)return!t.size;if((0,u.Z)(t))return!(0,i.Z)(t).length;for(var n in t)if(h.call(t,n))return!1;return!0}},3234:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(3243),r=n(7226);const a=function(t){if(!(0,r.Z)(t))return!1;var e=(0,i.Z)(t);return"[object Function]"==e||"[object GeneratorFunction]"==e||"[object AsyncFunction]"==e||"[object Proxy]"==e}},1656:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return"number"==typeof t&&t>-1&&t%1==0&&t<=9007199254740991}},7226:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},8533:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return null!=t&&"object"==typeof t}},7514:(t,e,n)=>{"use strict";n.d(e,{Z:()=>h});var i=n(3243),r=n(2513),a=n(8533),o=Function.prototype,s=Object.prototype,c=o.toString,u=s.hasOwnProperty,l=c.call(Object);const h=function(t){if(!(0,a.Z)(t)||"[object Object]"!=(0,i.Z)(t))return!1;var e=(0,r.Z)(t);if(null===e)return!0;var n=u.call(e,"constructor")&&e.constructor;return"function"==typeof n&&n instanceof n&&c.call(n)==l}},2714:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(3243),r=n(8533);const a=function(t){return"symbol"==typeof t||(0,r.Z)(t)&&"[object Symbol]"==(0,i.Z)(t)}},7212:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(3243),r=n(1656),a=n(8533),o={};o["[object Float32Array]"]=o["[object Float64Array]"]=o["[object Int8Array]"]=o["[object Int16Array]"]=o["[object Int32Array]"]=o["[object Uint8Array]"]=o["[object Uint8ClampedArray]"]=o["[object Uint16Array]"]=o["[object Uint32Array]"]=!0,o["[object Arguments]"]=o["[object Array]"]=o["[object ArrayBuffer]"]=o["[object Boolean]"]=o["[object DataView]"]=o["[object Date]"]=o["[object Error]"]=o["[object Function]"]=o["[object Map]"]=o["[object Number]"]=o["[object Object]"]=o["[object RegExp]"]=o["[object Set]"]=o["[object String]"]=o["[object WeakMap]"]=!1;var s=n(1162),c=n(8351),u=c.Z&&c.Z.isTypedArray;const l=u?(0,s.Z)(u):function(t){return(0,a.Z)(t)&&(0,r.Z)(t.length)&&!!o[(0,i.Z)(t)]}},9360:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(t){return void 0===t}},7179:(t,e,n)=>{"use strict";n.d(e,{Z:()=>o});var i=n(9001),r=n(8448),a=n(585);const o=function(t){return(0,a.Z)(t)?(0,i.Z)(t):(0,r.Z)(t)}},7590:(t,e,n)=>{"use strict";n.d(e,{Z:()=>u});var i=n(9001),r=n(7226),a=n(2764);var o=Object.prototype.hasOwnProperty;const s=function(t){if(!(0,r.Z)(t))return function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e}(t);var e=(0,a.Z)(t),n=[];for(var i in t)("constructor"!=i||!e&&o.call(t,i))&&n.push(i);return n};var c=n(585);const u=function(t){return(0,c.Z)(t)?(0,i.Z)(t,!0):s(t)}},3836:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=n(7679),r=n(7058),a=n(1018),o=n(7771);const s=function(t,e){return((0,o.Z)(t)?i.Z:a.Z)(t,(0,r.Z)(e,3))}},2454:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(520);function r(t,e){if("function"!=typeof t||null!=e&&"function"!=typeof e)throw new TypeError("Expected a function");var n=function(){var i=arguments,r=e?e.apply(this,i):i[0],a=n.cache;if(a.has(r))return a.get(r);var o=t.apply(this,i);return n.cache=a.set(r,o)||a,o};return n.cache=new(r.Cache||i.Z),n}r.Cache=i.Z;const a=r},6841:(t,e,n)=>{"use strict";n.d(e,{Z:()=>S});var i=n(5365),r=n(4752),a=n(9651);const o=function(t,e,n){(void 0!==n&&!(0,a.Z)(t[e],n)||void 0===n&&!(e in t))&&(0,r.Z)(t,e,n)};var s=n(5381),c=n(1050),u=n(2701),l=n(7215),h=n(5418),f=n(4732),d=n(7771),g=n(836),p=n(6706),b=n(3234),w=n(7226),y=n(7514),m=n(7212);const v=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]};var x=n(1899),k=n(7590);const _=function(t,e,n,i,r,a,s){var _,E=v(t,n),T=v(e,n),C=s.get(T);if(C)o(t,n,C);else{var S=a?a(E,T,n+"",t,e,s):void 0,A=void 0===S;if(A){var M=(0,d.Z)(T),I=!M&&(0,p.Z)(T),L=!M&&!I&&(0,m.Z)(T);S=T,M||I||L?(0,d.Z)(E)?S=E:(0,g.Z)(E)?S=(0,l.Z)(E):I?(A=!1,S=(0,c.Z)(T,!0)):L?(A=!1,S=(0,u.Z)(T,!0)):S=[]:(0,y.Z)(T)||(0,f.Z)(T)?(S=E,(0,f.Z)(E)?(_=E,S=(0,x.Z)(_,(0,k.Z)(_))):(0,w.Z)(E)&&!(0,b.Z)(E)||(S=(0,h.Z)(T))):A=!1}A&&(s.set(T,S),r(S,T,i,a,s),s.delete(T)),o(t,n,S)}},E=function t(e,n,r,a,c){e!==n&&(0,s.Z)(n,(function(s,u){if(c||(c=new i.Z),(0,w.Z)(s))_(e,n,u,r,t,a,c);else{var l=a?a(v(e,u),s,u+"",e,n,c):void 0;void 0===l&&(l=s),o(e,u,l)}}),k.Z)};var T=n(9581),C=n(439);const S=(A=function(t,e,n){E(t,e,n)},(0,T.Z)((function(t,e){var n=-1,i=e.length,r=i>1?e[i-1]:void 0,a=i>2?e[2]:void 0;for(r=A.length>3&&"function"==typeof r?(i--,r):void 0,a&&(0,C.Z)(e[0],e[1],a)&&(r=i<3?void 0:r,i=1),t=Object(t);++n<i;){var o=e[n];o&&A(t,o,n)}return t})));var A},3032:(t,e,n)=>{"use strict";n.d(e,{Z:()=>p});var i=n(3317),r=n(2954),a=n(1036),o=n(6009),s=n(7226),c=n(2656);const u=function(t,e,n,i){if(!(0,s.Z)(t))return t;for(var u=-1,l=(e=(0,a.Z)(e,t)).length,h=l-1,f=t;null!=f&&++u<l;){var d=(0,c.Z)(e[u]),g=n;if("__proto__"===d||"constructor"===d||"prototype"===d)return t;if(u!=h){var p=f[d];void 0===(g=i?i(p,d,f):void 0)&&(g=(0,s.Z)(p)?p:(0,o.Z)(e[u+1])?[]:{})}(0,r.Z)(f,d,g),f=f[d]}return t};var l=n(1910);const h=function(t,e){return function(t,e,n){for(var r=-1,o=e.length,s={};++r<o;){var c=e[r],l=(0,i.Z)(t,c);n(l,c)&&u(s,(0,a.Z)(c,t),l)}return s}(t,e,(function(e,n){return(0,l.Z)(t,n)}))};var f=n(7961),d=n(3948),g=n(3626);const p=(b=function(t,e){return null==t?{}:h(t,e)},(0,g.Z)((0,d.Z)(b,void 0,f.Z),b+""));var b},6446:(t,e,n)=>{"use strict";n.d(e,{Z:()=>s});var i=Math.ceil,r=Math.max;var a=n(439),o=n(6770);const s=function(t,e,n){return n&&"number"!=typeof n&&(0,a.Z)(t,e,n)&&(e=n=void 0),t=(0,o.Z)(t),void 0===e?(e=t,t=0):e=(0,o.Z)(e),function(t,e,n,a){for(var o=-1,s=r(i((e-t)/(n||1)),0),c=Array(s);s--;)c[a?s:++o]=t,t+=n;return c}(t,e,n=void 0===n?t<e?1:-1:(0,o.Z)(n),void 0)}},4283:(t,e,n)=>{"use strict";n.d(e,{Z:()=>c});const i=function(t,e,n,i){var r=-1,a=null==t?0:t.length;for(i&&a&&(n=t[++r]);++r<a;)n=e(n,t[r],r,t);return n};var r=n(8640),a=n(7058);const o=function(t,e,n,i,r){return r(t,(function(t,r,a){n=i?(i=!1,t):e(n,t,r,a)})),n};var s=n(7771);const c=function(t,e,n){var c=(0,s.Z)(t)?i:o,u=arguments.length<3;return c(t,(0,a.Z)(e,4),n,u,r.Z)}},532:(t,e,n)=>{"use strict";n.d(e,{Z:()=>i});const i=function(){return[]}},6770:(t,e,n)=>{"use strict";n.d(e,{Z:()=>f});var i=/\s/;var r=/^\s+/;const a=function(t){return t?t.slice(0,function(t){for(var e=t.length;e--&&i.test(t.charAt(e)););return e}(t)+1).replace(r,""):t};var o=n(7226),s=n(2714),c=/^[-+]0x[0-9a-f]+$/i,u=/^0b[01]+$/i,l=/^0o[0-7]+$/i,h=parseInt;const f=function(t){return t?Infinity===(t=function(t){if("number"==typeof t)return t;if((0,s.Z)(t))return NaN;if((0,o.Z)(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=(0,o.Z)(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=a(t);var n=u.test(t);return n||l.test(t)?h(t.slice(2),n?2:8):c.test(t)?NaN:+t}(t))||t===-1/0?17976931348623157e292*(t<0?-1:1):t==t?t:0:0===t?t:0}},2402:(t,e,n)=>{"use strict";n.d(e,{Z:()=>l});var i=n(7685),r=n(7679),a=n(7771),o=n(2714),s=i.Z?i.Z.prototype:void 0,c=s?s.toString:void 0;const u=function t(e){if("string"==typeof e)return e;if((0,a.Z)(e))return(0,r.Z)(e,t)+"";if((0,o.Z)(e))return c?c.call(e):"";var n=e+"";return"0"==n&&1/e==-1/0?"-0":n},l=function(t){return null==t?"":u(t)}},6749:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(2402),r=0;const a=function(t){var e=++r;return(0,i.Z)(t)+e}},4657:(t,e,n)=>{"use strict";n.d(e,{Z:()=>a});var i=n(7679);var r=n(7179);const a=function(t){return null==t?[]:function(t,e){return(0,i.Z)(e,(function(e){return t[e]}))}(t,(0,r.Z)(t))}},425:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>Z});var i=n(8454),r=n(7274),a=n(3463),o=n(7967),s=(n(7484),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,24],n=[1,25],i=[1,26],r=[1,27],a=[1,28],o=[1,63],s=[1,64],u=[1,65],l=[1,66],h=[1,67],f=[1,68],d=[1,69],g=[1,29],p=[1,30],b=[1,31],w=[1,32],y=[1,33],m=[1,34],v=[1,35],x=[1,36],k=[1,37],_=[1,38],E=[1,39],T=[1,40],C=[1,41],S=[1,42],A=[1,43],M=[1,44],I=[1,45],L=[1,46],O=[1,47],D=[1,48],N=[1,50],P=[1,51],B=[1,52],F=[1,53],$=[1,54],j=[1,55],R=[1,56],z=[1,57],q=[1,58],H=[1,59],Z=[1,60],U=[14,42],Y=[14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],G=[12,14,34,36,37,38,39,40,41,42,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],K=[1,82],W=[1,83],X=[1,84],V=[1,85],Q=[12,14,42],J=[12,14,33,42],tt=[12,14,33,42,76,77,79,80],et=[12,33],nt=[34,36,37,38,39,40,41,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74],it={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,direction:5,direction_tb:6,direction_bt:7,direction_rl:8,direction_lr:9,graphConfig:10,C4_CONTEXT:11,NEWLINE:12,statements:13,EOF:14,C4_CONTAINER:15,C4_COMPONENT:16,C4_DYNAMIC:17,C4_DEPLOYMENT:18,otherStatements:19,diagramStatements:20,otherStatement:21,title:22,accDescription:23,acc_title:24,acc_title_value:25,acc_descr:26,acc_descr_value:27,acc_descr_multiline_value:28,boundaryStatement:29,boundaryStartStatement:30,boundaryStopStatement:31,boundaryStart:32,LBRACE:33,ENTERPRISE_BOUNDARY:34,attributes:35,SYSTEM_BOUNDARY:36,BOUNDARY:37,CONTAINER_BOUNDARY:38,NODE:39,NODE_L:40,NODE_R:41,RBRACE:42,diagramStatement:43,PERSON:44,PERSON_EXT:45,SYSTEM:46,SYSTEM_DB:47,SYSTEM_QUEUE:48,SYSTEM_EXT:49,SYSTEM_EXT_DB:50,SYSTEM_EXT_QUEUE:51,CONTAINER:52,CONTAINER_DB:53,CONTAINER_QUEUE:54,CONTAINER_EXT:55,CONTAINER_EXT_DB:56,CONTAINER_EXT_QUEUE:57,COMPONENT:58,COMPONENT_DB:59,COMPONENT_QUEUE:60,COMPONENT_EXT:61,COMPONENT_EXT_DB:62,COMPONENT_EXT_QUEUE:63,REL:64,BIREL:65,REL_U:66,REL_D:67,REL_L:68,REL_R:69,REL_B:70,REL_INDEX:71,UPDATE_EL_STYLE:72,UPDATE_REL_STYLE:73,UPDATE_LAYOUT_CONFIG:74,attribute:75,STR:76,STR_KEY:77,STR_VALUE:78,ATTRIBUTE:79,ATTRIBUTE_EMPTY:80,$accept:0,$end:1},terminals_:{2:"error",6:"direction_tb",7:"direction_bt",8:"direction_rl",9:"direction_lr",11:"C4_CONTEXT",12:"NEWLINE",14:"EOF",15:"C4_CONTAINER",16:"C4_COMPONENT",17:"C4_DYNAMIC",18:"C4_DEPLOYMENT",22:"title",23:"accDescription",24:"acc_title",25:"acc_title_value",26:"acc_descr",27:"acc_descr_value",28:"acc_descr_multiline_value",33:"LBRACE",34:"ENTERPRISE_BOUNDARY",36:"SYSTEM_BOUNDARY",37:"BOUNDARY",38:"CONTAINER_BOUNDARY",39:"NODE",40:"NODE_L",41:"NODE_R",42:"RBRACE",44:"PERSON",45:"PERSON_EXT",46:"SYSTEM",47:"SYSTEM_DB",48:"SYSTEM_QUEUE",49:"SYSTEM_EXT",50:"SYSTEM_EXT_DB",51:"SYSTEM_EXT_QUEUE",52:"CONTAINER",53:"CONTAINER_DB",54:"CONTAINER_QUEUE",55:"CONTAINER_EXT",56:"CONTAINER_EXT_DB",57:"CONTAINER_EXT_QUEUE",58:"COMPONENT",59:"COMPONENT_DB",60:"COMPONENT_QUEUE",61:"COMPONENT_EXT",62:"COMPONENT_EXT_DB",63:"COMPONENT_EXT_QUEUE",64:"REL",65:"BIREL",66:"REL_U",67:"REL_D",68:"REL_L",69:"REL_R",70:"REL_B",71:"REL_INDEX",72:"UPDATE_EL_STYLE",73:"UPDATE_REL_STYLE",74:"UPDATE_LAYOUT_CONFIG",76:"STR",77:"STR_KEY",78:"STR_VALUE",79:"ATTRIBUTE",80:"ATTRIBUTE_EMPTY"},productions_:[0,[3,1],[3,1],[5,1],[5,1],[5,1],[5,1],[4,1],[10,4],[10,4],[10,4],[10,4],[10,4],[13,1],[13,1],[13,2],[19,1],[19,2],[19,3],[21,1],[21,1],[21,2],[21,2],[21,1],[29,3],[30,3],[30,3],[30,4],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[32,2],[31,1],[20,1],[20,2],[20,3],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,1],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[43,2],[35,1],[35,2],[75,1],[75,2],[75,1],[75,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:i.setDirection("TB");break;case 4:i.setDirection("BT");break;case 5:i.setDirection("RL");break;case 6:i.setDirection("LR");break;case 8:case 9:case 10:case 11:case 12:i.setC4Type(a[s-3]);break;case 19:i.setTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 20:i.setAccDescription(a[s].substring(15)),this.$=a[s].substring(15);break;case 21:this.$=a[s].trim(),i.setTitle(this.$);break;case 22:case 23:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 28:case 29:a[s].splice(2,0,"ENTERPRISE"),i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 30:i.addPersonOrSystemBoundary(...a[s]),this.$=a[s];break;case 31:a[s].splice(2,0,"CONTAINER"),i.addContainerBoundary(...a[s]),this.$=a[s];break;case 32:i.addDeploymentNode("node",...a[s]),this.$=a[s];break;case 33:i.addDeploymentNode("nodeL",...a[s]),this.$=a[s];break;case 34:i.addDeploymentNode("nodeR",...a[s]),this.$=a[s];break;case 35:i.popBoundaryParseStack();break;case 39:i.addPersonOrSystem("person",...a[s]),this.$=a[s];break;case 40:i.addPersonOrSystem("external_person",...a[s]),this.$=a[s];break;case 41:i.addPersonOrSystem("system",...a[s]),this.$=a[s];break;case 42:i.addPersonOrSystem("system_db",...a[s]),this.$=a[s];break;case 43:i.addPersonOrSystem("system_queue",...a[s]),this.$=a[s];break;case 44:i.addPersonOrSystem("external_system",...a[s]),this.$=a[s];break;case 45:i.addPersonOrSystem("external_system_db",...a[s]),this.$=a[s];break;case 46:i.addPersonOrSystem("external_system_queue",...a[s]),this.$=a[s];break;case 47:i.addContainer("container",...a[s]),this.$=a[s];break;case 48:i.addContainer("container_db",...a[s]),this.$=a[s];break;case 49:i.addContainer("container_queue",...a[s]),this.$=a[s];break;case 50:i.addContainer("external_container",...a[s]),this.$=a[s];break;case 51:i.addContainer("external_container_db",...a[s]),this.$=a[s];break;case 52:i.addContainer("external_container_queue",...a[s]),this.$=a[s];break;case 53:i.addComponent("component",...a[s]),this.$=a[s];break;case 54:i.addComponent("component_db",...a[s]),this.$=a[s];break;case 55:i.addComponent("component_queue",...a[s]),this.$=a[s];break;case 56:i.addComponent("external_component",...a[s]),this.$=a[s];break;case 57:i.addComponent("external_component_db",...a[s]),this.$=a[s];break;case 58:i.addComponent("external_component_queue",...a[s]),this.$=a[s];break;case 60:i.addRel("rel",...a[s]),this.$=a[s];break;case 61:i.addRel("birel",...a[s]),this.$=a[s];break;case 62:i.addRel("rel_u",...a[s]),this.$=a[s];break;case 63:i.addRel("rel_d",...a[s]),this.$=a[s];break;case 64:i.addRel("rel_l",...a[s]),this.$=a[s];break;case 65:i.addRel("rel_r",...a[s]),this.$=a[s];break;case 66:i.addRel("rel_b",...a[s]),this.$=a[s];break;case 67:a[s].splice(0,1),i.addRel("rel",...a[s]),this.$=a[s];break;case 68:i.updateElStyle("update_el_style",...a[s]),this.$=a[s];break;case 69:i.updateRelStyle("update_rel_style",...a[s]),this.$=a[s];break;case 70:i.updateLayoutConfig("update_layout_config",...a[s]),this.$=a[s];break;case 71:this.$=[a[s]];break;case 72:a[s].unshift(a[s-1]),this.$=a[s];break;case 73:case 75:this.$=a[s].trim();break;case 74:let t={};t[a[s-1].trim()]=a[s].trim(),this.$=t;break;case 76:this.$=""}},table:[{3:1,4:2,5:3,6:[1,5],7:[1,6],8:[1,7],9:[1,8],10:4,11:[1,9],15:[1,10],16:[1,11],17:[1,12],18:[1,13]},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,7]},{1:[2,3]},{1:[2,4]},{1:[2,5]},{1:[2,6]},{12:[1,14]},{12:[1,15]},{12:[1,16]},{12:[1,17]},{12:[1,18]},{13:19,19:20,20:21,21:22,22:e,23:n,24:i,26:r,28:a,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{13:70,19:20,20:21,21:22,22:e,23:n,24:i,26:r,28:a,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{13:71,19:20,20:21,21:22,22:e,23:n,24:i,26:r,28:a,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{13:72,19:20,20:21,21:22,22:e,23:n,24:i,26:r,28:a,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{13:73,19:20,20:21,21:22,22:e,23:n,24:i,26:r,28:a,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{14:[1,74]},t(U,[2,13],{43:23,29:49,30:61,32:62,20:75,34:o,36:s,37:u,38:l,39:h,40:f,41:d,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z}),t(U,[2,14]),t(Y,[2,16],{12:[1,76]}),t(U,[2,36],{12:[1,77]}),t(G,[2,19]),t(G,[2,20]),{25:[1,78]},{27:[1,79]},t(G,[2,23]),{35:80,75:81,76:K,77:W,79:X,80:V},{35:86,75:81,76:K,77:W,79:X,80:V},{35:87,75:81,76:K,77:W,79:X,80:V},{35:88,75:81,76:K,77:W,79:X,80:V},{35:89,75:81,76:K,77:W,79:X,80:V},{35:90,75:81,76:K,77:W,79:X,80:V},{35:91,75:81,76:K,77:W,79:X,80:V},{35:92,75:81,76:K,77:W,79:X,80:V},{35:93,75:81,76:K,77:W,79:X,80:V},{35:94,75:81,76:K,77:W,79:X,80:V},{35:95,75:81,76:K,77:W,79:X,80:V},{35:96,75:81,76:K,77:W,79:X,80:V},{35:97,75:81,76:K,77:W,79:X,80:V},{35:98,75:81,76:K,77:W,79:X,80:V},{35:99,75:81,76:K,77:W,79:X,80:V},{35:100,75:81,76:K,77:W,79:X,80:V},{35:101,75:81,76:K,77:W,79:X,80:V},{35:102,75:81,76:K,77:W,79:X,80:V},{35:103,75:81,76:K,77:W,79:X,80:V},{35:104,75:81,76:K,77:W,79:X,80:V},t(Q,[2,59]),{35:105,75:81,76:K,77:W,79:X,80:V},{35:106,75:81,76:K,77:W,79:X,80:V},{35:107,75:81,76:K,77:W,79:X,80:V},{35:108,75:81,76:K,77:W,79:X,80:V},{35:109,75:81,76:K,77:W,79:X,80:V},{35:110,75:81,76:K,77:W,79:X,80:V},{35:111,75:81,76:K,77:W,79:X,80:V},{35:112,75:81,76:K,77:W,79:X,80:V},{35:113,75:81,76:K,77:W,79:X,80:V},{35:114,75:81,76:K,77:W,79:X,80:V},{35:115,75:81,76:K,77:W,79:X,80:V},{20:116,29:49,30:61,32:62,34:o,36:s,37:u,38:l,39:h,40:f,41:d,43:23,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z},{12:[1,118],33:[1,117]},{35:119,75:81,76:K,77:W,79:X,80:V},{35:120,75:81,76:K,77:W,79:X,80:V},{35:121,75:81,76:K,77:W,79:X,80:V},{35:122,75:81,76:K,77:W,79:X,80:V},{35:123,75:81,76:K,77:W,79:X,80:V},{35:124,75:81,76:K,77:W,79:X,80:V},{35:125,75:81,76:K,77:W,79:X,80:V},{14:[1,126]},{14:[1,127]},{14:[1,128]},{14:[1,129]},{1:[2,8]},t(U,[2,15]),t(Y,[2,17],{21:22,19:130,22:e,23:n,24:i,26:r,28:a}),t(U,[2,37],{19:20,20:21,21:22,43:23,29:49,30:61,32:62,13:131,22:e,23:n,24:i,26:r,28:a,34:o,36:s,37:u,38:l,39:h,40:f,41:d,44:g,45:p,46:b,47:w,48:y,49:m,50:v,51:x,52:k,53:_,54:E,55:T,56:C,57:S,58:A,59:M,60:I,61:L,62:O,63:D,64:N,65:P,66:B,67:F,68:$,69:j,70:R,71:z,72:q,73:H,74:Z}),t(G,[2,21]),t(G,[2,22]),t(Q,[2,39]),t(J,[2,71],{75:81,35:132,76:K,77:W,79:X,80:V}),t(tt,[2,73]),{78:[1,133]},t(tt,[2,75]),t(tt,[2,76]),t(Q,[2,40]),t(Q,[2,41]),t(Q,[2,42]),t(Q,[2,43]),t(Q,[2,44]),t(Q,[2,45]),t(Q,[2,46]),t(Q,[2,47]),t(Q,[2,48]),t(Q,[2,49]),t(Q,[2,50]),t(Q,[2,51]),t(Q,[2,52]),t(Q,[2,53]),t(Q,[2,54]),t(Q,[2,55]),t(Q,[2,56]),t(Q,[2,57]),t(Q,[2,58]),t(Q,[2,60]),t(Q,[2,61]),t(Q,[2,62]),t(Q,[2,63]),t(Q,[2,64]),t(Q,[2,65]),t(Q,[2,66]),t(Q,[2,67]),t(Q,[2,68]),t(Q,[2,69]),t(Q,[2,70]),{31:134,42:[1,135]},{12:[1,136]},{33:[1,137]},t(et,[2,28]),t(et,[2,29]),t(et,[2,30]),t(et,[2,31]),t(et,[2,32]),t(et,[2,33]),t(et,[2,34]),{1:[2,9]},{1:[2,10]},{1:[2,11]},{1:[2,12]},t(Y,[2,18]),t(U,[2,38]),t(J,[2,72]),t(tt,[2,74]),t(Q,[2,24]),t(Q,[2,35]),t(nt,[2,25]),t(nt,[2,26],{12:[1,138]}),t(nt,[2,27])],defaultActions:{2:[2,1],3:[2,2],4:[2,7],5:[2,3],6:[2,4],7:[2,5],8:[2,6],74:[2,8],126:[2,9],127:[2,10],128:[2,11],129:[2,12]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},rt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return 6;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 22;case 5:return 23;case 6:return this.begin("acc_title"),24;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),26;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 73:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 16:case 70:break;case 14:c;break;case 15:return 12;case 17:return 11;case 18:return 15;case 19:return 16;case 20:return 17;case 21:return 18;case 22:return this.begin("person_ext"),45;case 23:return this.begin("person"),44;case 24:return this.begin("system_ext_queue"),51;case 25:return this.begin("system_ext_db"),50;case 26:return this.begin("system_ext"),49;case 27:return this.begin("system_queue"),48;case 28:return this.begin("system_db"),47;case 29:return this.begin("system"),46;case 30:return this.begin("boundary"),37;case 31:return this.begin("enterprise_boundary"),34;case 32:return this.begin("system_boundary"),36;case 33:return this.begin("container_ext_queue"),57;case 34:return this.begin("container_ext_db"),56;case 35:return this.begin("container_ext"),55;case 36:return this.begin("container_queue"),54;case 37:return this.begin("container_db"),53;case 38:return this.begin("container"),52;case 39:return this.begin("container_boundary"),38;case 40:return this.begin("component_ext_queue"),63;case 41:return this.begin("component_ext_db"),62;case 42:return this.begin("component_ext"),61;case 43:return this.begin("component_queue"),60;case 44:return this.begin("component_db"),59;case 45:return this.begin("component"),58;case 46:case 47:return this.begin("node"),39;case 48:return this.begin("node_l"),40;case 49:return this.begin("node_r"),41;case 50:return this.begin("rel"),64;case 51:return this.begin("birel"),65;case 52:case 53:return this.begin("rel_u"),66;case 54:case 55:return this.begin("rel_d"),67;case 56:case 57:return this.begin("rel_l"),68;case 58:case 59:return this.begin("rel_r"),69;case 60:return this.begin("rel_b"),70;case 61:return this.begin("rel_index"),71;case 62:return this.begin("update_el_style"),72;case 63:return this.begin("update_rel_style"),73;case 64:return this.begin("update_layout_config"),74;case 65:return"EOF_IN_STRUCT";case 66:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 67:this.begin("attribute");break;case 68:case 79:this.popState(),this.popState();break;case 69:case 71:return 80;case 72:this.begin("string");break;case 74:case 80:return"STR";case 75:this.begin("string_kv");break;case 76:return this.begin("string_kv_key"),"STR_KEY";case 77:this.popState(),this.begin("string_kv_value");break;case 78:return"STR_VALUE";case 81:return"LBRACE";case 82:return"RBRACE";case 83:return"SPACE";case 84:return"EOL";case 85:return 14}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:title\s[^#\n;]+)/,/^(?:accDescription\s[^#\n;]+)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:C4Context\b)/,/^(?:C4Container\b)/,/^(?:C4Component\b)/,/^(?:C4Dynamic\b)/,/^(?:C4Deployment\b)/,/^(?:Person_Ext\b)/,/^(?:Person\b)/,/^(?:SystemQueue_Ext\b)/,/^(?:SystemDb_Ext\b)/,/^(?:System_Ext\b)/,/^(?:SystemQueue\b)/,/^(?:SystemDb\b)/,/^(?:System\b)/,/^(?:Boundary\b)/,/^(?:Enterprise_Boundary\b)/,/^(?:System_Boundary\b)/,/^(?:ContainerQueue_Ext\b)/,/^(?:ContainerDb_Ext\b)/,/^(?:Container_Ext\b)/,/^(?:ContainerQueue\b)/,/^(?:ContainerDb\b)/,/^(?:Container\b)/,/^(?:Container_Boundary\b)/,/^(?:ComponentQueue_Ext\b)/,/^(?:ComponentDb_Ext\b)/,/^(?:Component_Ext\b)/,/^(?:ComponentQueue\b)/,/^(?:ComponentDb\b)/,/^(?:Component\b)/,/^(?:Deployment_Node\b)/,/^(?:Node\b)/,/^(?:Node_L\b)/,/^(?:Node_R\b)/,/^(?:Rel\b)/,/^(?:BiRel\b)/,/^(?:Rel_Up\b)/,/^(?:Rel_U\b)/,/^(?:Rel_Down\b)/,/^(?:Rel_D\b)/,/^(?:Rel_Left\b)/,/^(?:Rel_L\b)/,/^(?:Rel_Right\b)/,/^(?:Rel_R\b)/,/^(?:Rel_Back\b)/,/^(?:RelIndex\b)/,/^(?:UpdateElementStyle\b)/,/^(?:UpdateRelStyle\b)/,/^(?:UpdateLayoutConfig\b)/,/^(?:$)/,/^(?:[(][ ]*[,])/,/^(?:[(])/,/^(?:[)])/,/^(?:,,)/,/^(?:,)/,/^(?:[ ]*["]["])/,/^(?:[ ]*["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:[ ]*[\$])/,/^(?:[^=]*)/,/^(?:[=][ ]*["])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:[^,]+)/,/^(?:\{)/,/^(?:\})/,/^(?:[\s]+)/,/^(?:[\n\r]+)/,/^(?:$)/],conditions:{acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},string_kv_value:{rules:[78,79],inclusive:!1},string_kv_key:{rules:[77],inclusive:!1},string_kv:{rules:[76],inclusive:!1},string:{rules:[73,74],inclusive:!1},attribute:{rules:[68,69,70,71,72,75,80],inclusive:!1},update_layout_config:{rules:[65,66,67,68],inclusive:!1},update_rel_style:{rules:[65,66,67,68],inclusive:!1},update_el_style:{rules:[65,66,67,68],inclusive:!1},rel_b:{rules:[65,66,67,68],inclusive:!1},rel_r:{rules:[65,66,67,68],inclusive:!1},rel_l:{rules:[65,66,67,68],inclusive:!1},rel_d:{rules:[65,66,67,68],inclusive:!1},rel_u:{rules:[65,66,67,68],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[65,66,67,68],inclusive:!1},node_r:{rules:[65,66,67,68],inclusive:!1},node_l:{rules:[65,66,67,68],inclusive:!1},node:{rules:[65,66,67,68],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[65,66,67,68],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[65,66,67,68],inclusive:!1},component_ext:{rules:[65,66,67,68],inclusive:!1},component_queue:{rules:[65,66,67,68],inclusive:!1},component_db:{rules:[65,66,67,68],inclusive:!1},component:{rules:[65,66,67,68],inclusive:!1},container_boundary:{rules:[65,66,67,68],inclusive:!1},container_ext_queue:{rules:[65,66,67,68],inclusive:!1},container_ext_db:{rules:[65,66,67,68],inclusive:!1},container_ext:{rules:[65,66,67,68],inclusive:!1},container_queue:{rules:[65,66,67,68],inclusive:!1},container_db:{rules:[65,66,67,68],inclusive:!1},container:{rules:[65,66,67,68],inclusive:!1},birel:{rules:[65,66,67,68],inclusive:!1},system_boundary:{rules:[65,66,67,68],inclusive:!1},enterprise_boundary:{rules:[65,66,67,68],inclusive:!1},boundary:{rules:[65,66,67,68],inclusive:!1},system_ext_queue:{rules:[65,66,67,68],inclusive:!1},system_ext_db:{rules:[65,66,67,68],inclusive:!1},system_ext:{rules:[65,66,67,68],inclusive:!1},system_queue:{rules:[65,66,67,68],inclusive:!1},system_db:{rules:[65,66,67,68],inclusive:!1},system:{rules:[65,66,67,68],inclusive:!1},person_ext:{rules:[65,66,67,68],inclusive:!1},person:{rules:[65,66,67,68],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,81,82,83,84,85],inclusive:!0}}};function at(){this.yy={}}return it.lexer=rt,at.prototype=it,it.Parser=at,new at}());s.parser=s;const u=s;let l=[],h=[""],f="global",d="",g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],p=[],b="",w=!1,y=4,m=2;var v;const x=function(t){return null==t?l:l.filter((e=>e.parentBoundary===t))},k=function(){return w},_={addPersonOrSystem:function(t,e,n,i,r,a,o){if(null===e||null===n)return;let s={};const c=l.find((t=>t.alias===e));if(c&&e===c.alias?s=c:(s.alias=e,l.push(s)),s.label=null==n?{text:""}:{text:n},null==i)s.descr={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]={text:e}}else s.descr={text:i};if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.sprite=r;if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=e}else s.tags=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=e}else s.link=o;s.typeC4Shape={text:t},s.parentBoundary=f,s.wrap=k()},addPersonOrSystemBoundary:function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=g.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,g.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"system"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=f,a.wrap=k(),d=f,f=t,h.push(d)},addContainer:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=l.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,l.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=k(),c.typeC4Shape={text:t},c.parentBoundary=f},addContainerBoundary:function(t,e,n,i,r){if(null===t||null===e)return;let a={};const o=g.find((e=>e.alias===t));if(o&&t===o.alias?a=o:(a.alias=t,g.push(a)),a.label=null==e?{text:""}:{text:e},null==n)a.type={text:"container"};else if("object"==typeof n){let[t,e]=Object.entries(n)[0];a[t]={text:e}}else a.type={text:n};if("object"==typeof i){let[t,e]=Object.entries(i)[0];a[t]=e}else a.tags=i;if("object"==typeof r){let[t,e]=Object.entries(r)[0];a[t]=e}else a.link=r;a.parentBoundary=f,a.wrap=k(),d=f,f=t,h.push(d)},addComponent:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=l.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,l.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.techn={text:""};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.techn={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof a){let[t,e]=Object.entries(a)[0];c[t]=e}else c.sprite=a;if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.wrap=k(),c.typeC4Shape={text:t},c.parentBoundary=f},addDeploymentNode:function(t,e,n,i,r,a,o,s){if(null===e||null===n)return;let c={};const u=g.find((t=>t.alias===e));if(u&&e===u.alias?c=u:(c.alias=e,g.push(c)),c.label=null==n?{text:""}:{text:n},null==i)c.type={text:"node"};else if("object"==typeof i){let[t,e]=Object.entries(i)[0];c[t]={text:e}}else c.type={text:i};if(null==r)c.descr={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];c[t]={text:e}}else c.descr={text:r};if("object"==typeof o){let[t,e]=Object.entries(o)[0];c[t]=e}else c.tags=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];c[t]=e}else c.link=s;c.nodeType=t,c.parentBoundary=f,c.wrap=k(),d=f,f=e,h.push(d)},popBoundaryParseStack:function(){f=d,h.pop(),d=h.pop(),h.push(d)},addRel:function(t,e,n,i,r,a,o,s,c){if(null==t||null==e||null==n||null==i)return;let u={};const l=p.find((t=>t.from===e&&t.to===n));if(l?u=l:p.push(u),u.type=t,u.from=e,u.to=n,u.label={text:i},null==r)u.techn={text:""};else if("object"==typeof r){let[t,e]=Object.entries(r)[0];u[t]={text:e}}else u.techn={text:r};if(null==a)u.descr={text:""};else if("object"==typeof a){let[t,e]=Object.entries(a)[0];u[t]={text:e}}else u.descr={text:a};if("object"==typeof o){let[t,e]=Object.entries(o)[0];u[t]=e}else u.sprite=o;if("object"==typeof s){let[t,e]=Object.entries(s)[0];u[t]=e}else u.tags=s;if("object"==typeof c){let[t,e]=Object.entries(c)[0];u[t]=e}else u.link=c;u.wrap=k()},updateElStyle:function(t,e,n,i,r,a,o,s,c,u,h){let f=l.find((t=>t.alias===e));if(void 0!==f||(f=g.find((t=>t.alias===e)),void 0!==f)){if(null!=n)if("object"==typeof n){let[t,e]=Object.entries(n)[0];f[t]=e}else f.bgColor=n;if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];f[t]=e}else f.fontColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];f[t]=e}else f.borderColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];f[t]=e}else f.shadowing=a;if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];f[t]=e}else f.shape=o;if(null!=s)if("object"==typeof s){let[t,e]=Object.entries(s)[0];f[t]=e}else f.sprite=s;if(null!=c)if("object"==typeof c){let[t,e]=Object.entries(c)[0];f[t]=e}else f.techn=c;if(null!=u)if("object"==typeof u){let[t,e]=Object.entries(u)[0];f[t]=e}else f.legendText=u;if(null!=h)if("object"==typeof h){let[t,e]=Object.entries(h)[0];f[t]=e}else f.legendSprite=h}},updateRelStyle:function(t,e,n,i,r,a,o){const s=p.find((t=>t.from===e&&t.to===n));if(void 0!==s){if(null!=i)if("object"==typeof i){let[t,e]=Object.entries(i)[0];s[t]=e}else s.textColor=i;if(null!=r)if("object"==typeof r){let[t,e]=Object.entries(r)[0];s[t]=e}else s.lineColor=r;if(null!=a)if("object"==typeof a){let[t,e]=Object.entries(a)[0];s[t]=parseInt(e)}else s.offsetX=parseInt(a);if(null!=o)if("object"==typeof o){let[t,e]=Object.entries(o)[0];s[t]=parseInt(e)}else s.offsetY=parseInt(o)}},updateLayoutConfig:function(t,e,n){let i=y,r=m;if("object"==typeof e){const t=Object.values(e)[0];i=parseInt(t)}else i=parseInt(e);if("object"==typeof n){const t=Object.values(n)[0];r=parseInt(t)}else r=parseInt(n);i>=1&&(y=i),r>=1&&(m=r)},autoWrap:k,setWrap:function(t){w=t},getC4ShapeArray:x,getC4Shape:function(t){return l.find((e=>e.alias===t))},getC4ShapeKeys:function(t){return Object.keys(x(t))},getBoundarys:function(t){return null==t?g:g.filter((e=>e.parentBoundary===t))},getCurrentBoundaryParse:function(){return f},getParentBoundaryParse:function(){return d},getRels:function(){return p},getTitle:function(){return b},getC4Type:function(){return v},getC4ShapeInRow:function(){return y},getC4BoundaryInRow:function(){return m},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,getConfig:()=>(0,i.c)().c4,clear:function(){l=[],g=[{alias:"global",label:{text:"global"},type:{text:"global"},tags:null,link:null,parentBoundary:""}],d="",f="global",h=[""],p=[],h=[""],b="",w=!1,y=4,m=2},LINETYPE:{SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25},ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},setTitle:function(t){let e=(0,i.d)(t,(0,i.c)());b=e},setC4Type:function(t){let e=(0,i.d)(t,(0,i.c)());v=e}},E=function(t,e){return(0,a.d)(t,e)},T=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,a,o,s,c,u){const{fontSize:l,fontFamily:h,fontWeight:f}=u,d=t.split(i.e.lineBreakRegex);for(let t=0;t<d.length;t++){const i=t*l-l*(d.length-1)/2,s=e.append("text").attr("x",n+o/2).attr("y",a).style("text-anchor","middle").attr("dominant-baseline","middle").style("font-size",l).style("font-weight",f).style("font-family",h);s.append("tspan").attr("dy",i).text(d[t]).attr("alignment-baseline","mathematical"),r(s,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,o,0,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),C=function(t,e,n){var i;let r=e.bgColor?e.bgColor:n[e.typeC4Shape.text+"_bg_color"],s=e.borderColor?e.borderColor:n[e.typeC4Shape.text+"_border_color"],c=e.fontColor?e.fontColor:"#FFFFFF",u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";switch(e.typeC4Shape.text){case"person":u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";break;case"external_person":u="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII="}const l=t.append("g");l.attr("class","person-man");const h=(0,a.g)();switch(e.typeC4Shape.text){case"person":case"external_person":case"system":case"external_system":case"container":case"external_container":case"component":case"external_component":h.x=e.x,h.y=e.y,h.fill=r,h.width=e.width,h.height=e.height,h.stroke=s,h.rx=2.5,h.ry=2.5,h.attrs={"stroke-width":.5},E(l,h);break;case"system_db":case"external_system_db":case"container_db":case"external_container_db":case"component_db":case"external_component_db":l.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2).replaceAll("height",e.height)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("half",e.width/2));break;case"system_queue":case"external_system_queue":case"container_queue":case"external_container_queue":case"component_queue":case"external_component_queue":l.append("path").attr("fill",r).attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx",e.x).replaceAll("starty",e.y).replaceAll("width",e.width).replaceAll("half",e.height/2)),l.append("path").attr("fill","none").attr("stroke-width","0.5").attr("stroke",s).attr("d","Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx",e.x+e.width).replaceAll("starty",e.y).replaceAll("half",e.height/2))}let f=(d=n,g=e.typeC4Shape.text,{fontFamily:d[g+"FontFamily"],fontSize:d[g+"FontSize"],fontWeight:d[g+"FontWeight"]});var d,g;switch(l.append("text").attr("fill",c).attr("font-family",f.fontFamily).attr("font-size",f.fontSize-2).attr("font-style","italic").attr("lengthAdjust","spacing").attr("textLength",e.typeC4Shape.width).attr("x",e.x+e.width/2-e.typeC4Shape.width/2).attr("y",e.y+e.typeC4Shape.Y).text("<<"+e.typeC4Shape.text+">>"),e.typeC4Shape.text){case"person":case"external_person":!function(t,e,n,i,r,a){const s=t.append("image");s.attr("width",e),s.attr("height",n),s.attr("x",i),s.attr("y",r);let c=a.startsWith("data:image/png;base64")?a:(0,o.Nm)(a);s.attr("xlink:href",c)}(l,48,48,e.x+e.width/2-24,e.y+e.image.Y,u)}let p=n[e.typeC4Shape.text+"Font"]();return p.fontWeight="bold",p.fontSize=p.fontSize+2,p.fontColor=c,T(n)(e.label.text,l,e.x,e.y+e.label.Y,e.width,e.height,{fill:c},p),p=n[e.typeC4Shape.text+"Font"](),p.fontColor=c,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?T(n)(e.techn.text,l,e.x,e.y+e.techn.Y,e.width,e.height,{fill:c,"font-style":"italic"},p):e.type&&""!==e.type.text&&T(n)(e.type.text,l,e.x,e.y+e.type.Y,e.width,e.height,{fill:c,"font-style":"italic"},p),e.descr&&""!==e.descr.text&&(p=n.personFont(),p.fontColor=c,T(n)(e.descr.text,l,e.x,e.y+e.descr.Y,e.width,e.height,{fill:c},p)),e.height};let S=0,A=0,M=4,I=2;s.yy=_;let L={};class O{constructor(t){this.name="",this.data={},this.data.startx=void 0,this.data.stopx=void 0,this.data.starty=void 0,this.data.stopy=void 0,this.data.widthLimit=void 0,this.nextData={},this.nextData.startx=void 0,this.nextData.stopx=void 0,this.nextData.starty=void 0,this.nextData.stopy=void 0,this.nextData.cnt=0,D(t.db.getConfig())}setData(t,e,n,i){this.nextData.startx=this.data.startx=t,this.nextData.stopx=this.data.stopx=e,this.nextData.starty=this.data.starty=n,this.nextData.stopy=this.data.stopy=i}updateVal(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])}insert(t){this.nextData.cnt=this.nextData.cnt+1;let e=this.nextData.startx===this.nextData.stopx?this.nextData.stopx+t.margin:this.nextData.stopx+2*t.margin,n=e+t.width,i=this.nextData.starty+2*t.margin,r=i+t.height;(e>=this.data.widthLimit||n>=this.data.widthLimit||this.nextData.cnt>M)&&(e=this.nextData.startx+t.margin+L.nextLinePaddingX,i=this.nextData.stopy+2*t.margin,this.nextData.stopx=n=e+t.width,this.nextData.starty=this.nextData.stopy,this.nextData.stopy=r=i+t.height,this.nextData.cnt=1),t.x=e,t.y=i,this.updateVal(this.data,"startx",e,Math.min),this.updateVal(this.data,"starty",i,Math.min),this.updateVal(this.data,"stopx",n,Math.max),this.updateVal(this.data,"stopy",r,Math.max),this.updateVal(this.nextData,"startx",e,Math.min),this.updateVal(this.nextData,"starty",i,Math.min),this.updateVal(this.nextData,"stopx",n,Math.max),this.updateVal(this.nextData,"stopy",r,Math.max)}init(t){this.name="",this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,widthLimit:void 0},this.nextData={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0,cnt:0},D(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const D=function(t){(0,i.f)(L,t),t.fontFamily&&(L.personFontFamily=L.systemFontFamily=L.messageFontFamily=t.fontFamily),t.fontSize&&(L.personFontSize=L.systemFontSize=L.messageFontSize=t.fontSize),t.fontWeight&&(L.personFontWeight=L.systemFontWeight=L.messageFontWeight=t.fontWeight)},N=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),P=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function B(t,e,n,r,a){if(!e[t].width)if(n)e[t].text=(0,i.w)(e[t].text,a,r),e[t].textLines=e[t].text.split(i.e.lineBreakRegex).length,e[t].width=a,e[t].height=(0,i.j)(e[t].text,r);else{let n=e[t].text.split(i.e.lineBreakRegex);e[t].textLines=n.length;let a=0;e[t].height=0,e[t].width=0;for(const o of n)e[t].width=Math.max((0,i.h)(o,r),e[t].width),a=(0,i.j)(o,r),e[t].height=e[t].height+a}}const F=function(t,e,n){e.x=n.data.startx,e.y=n.data.starty,e.width=n.data.stopx-n.data.startx,e.height=n.data.stopy-n.data.starty,e.label.y=L.c4ShapeMargin-35;let r=e.wrap&&L.wrap,a=P(L);a.fontSize=a.fontSize+2,a.fontWeight="bold",B("label",e,r,a,(0,i.h)(e.label.text,a)),function(t,e,n){const i=t.append("g");let r=e.bgColor?e.bgColor:"none",a=e.borderColor?e.borderColor:"#444444",o=e.fontColor?e.fontColor:"black",s={"stroke-width":1,"stroke-dasharray":"7.0,7.0"};e.nodeType&&(s={"stroke-width":1});let c={x:e.x,y:e.y,fill:r,stroke:a,width:e.width,height:e.height,rx:2.5,ry:2.5,attrs:s};E(i,c);let u=n.boundaryFont();u.fontWeight="bold",u.fontSize=u.fontSize+2,u.fontColor=o,T(n)(e.label.text,i,e.x,e.y+e.label.Y,e.width,e.height,{fill:"#444444"},u),e.type&&""!==e.type.text&&(u=n.boundaryFont(),u.fontColor=o,T(n)(e.type.text,i,e.x,e.y+e.type.Y,e.width,e.height,{fill:"#444444"},u)),e.descr&&""!==e.descr.text&&(u=n.boundaryFont(),u.fontSize=u.fontSize-2,u.fontColor=o,T(n)(e.descr.text,i,e.x,e.y+e.descr.Y,e.width,e.height,{fill:"#444444"},u))}(t,e,L)},$=function(t,e,n,r){let a=0;for(const o of r){a=0;const r=n[o];let s=N(L,r.typeC4Shape.text);switch(s.fontSize=s.fontSize-2,r.typeC4Shape.width=(0,i.h)("«"+r.typeC4Shape.text+"»",s),r.typeC4Shape.height=s.fontSize+2,r.typeC4Shape.Y=L.c4ShapePadding,a=r.typeC4Shape.Y+r.typeC4Shape.height-4,r.image={width:0,height:0,Y:0},r.typeC4Shape.text){case"person":case"external_person":r.image.width=48,r.image.height=48,r.image.Y=a,a=r.image.Y+r.image.height}r.sprite&&(r.image.width=48,r.image.height=48,r.image.Y=a,a=r.image.Y+r.image.height);let c=r.wrap&&L.wrap,u=L.width-2*L.c4ShapePadding,l=N(L,r.typeC4Shape.text);l.fontSize=l.fontSize+2,l.fontWeight="bold",B("label",r,c,l,u),r.label.Y=a+8,a=r.label.Y+r.label.height,r.type&&""!==r.type.text?(r.type.text="["+r.type.text+"]",B("type",r,c,N(L,r.typeC4Shape.text),u),r.type.Y=a+5,a=r.type.Y+r.type.height):r.techn&&""!==r.techn.text&&(r.techn.text="["+r.techn.text+"]",B("techn",r,c,N(L,r.techn.text),u),r.techn.Y=a+5,a=r.techn.Y+r.techn.height);let h=a,f=r.label.width;r.descr&&""!==r.descr.text&&(B("descr",r,c,N(L,r.typeC4Shape.text),u),r.descr.Y=a+20,a=r.descr.Y+r.descr.height,f=Math.max(r.label.width,r.descr.width),h=a-5*r.descr.textLines),f+=L.c4ShapePadding,r.width=Math.max(r.width||L.width,f,L.width),r.height=Math.max(r.height||L.height,h,L.height),r.margin=r.margin||L.c4ShapeMargin,t.insert(r),C(e,r,L)}t.bumpLastMargin(L.c4ShapeMargin)};class j{constructor(t,e){this.x=t,this.y=e}}let R=function(t,e){let n=t.x,i=t.y,r=e.x,a=e.y,o=n+t.width/2,s=i+t.height/2,c=Math.abs(n-r),u=Math.abs(i-a),l=u/c,h=t.height/t.width,f=null;return i==a&&n<r?f=new j(n+t.width,s):i==a&&n>r?f=new j(n,s):n==r&&i<a?f=new j(o,i+t.height):n==r&&i>a&&(f=new j(o,i)),n>r&&i<a?f=h>=l?new j(n,s+l*t.width/2):new j(o-c/u*t.height/2,i+t.height):n<r&&i<a?f=h>=l?new j(n+t.width,s+l*t.width/2):new j(o+c/u*t.height/2,i+t.height):n<r&&i>a?f=h>=l?new j(n+t.width,s-l*t.width/2):new j(o+t.height/2*c/u,i):n>r&&i>a&&(f=h>=l?new j(n,s-t.width/2*l):new j(o-t.height/2*c/u,i)),f},z=function(t,e){let n={x:0,y:0};n.x=e.x+e.width/2,n.y=e.y+e.height/2;let i=R(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:R(e,n)}};function q(t,e,n,i,r){let a=new O(r);a.data.widthLimit=n.data.widthLimit/Math.min(I,i.length);for(let[o,s]of i.entries()){let i=0;s.image={width:0,height:0,Y:0},s.sprite&&(s.image.width=48,s.image.height=48,s.image.Y=i,i=s.image.Y+s.image.height);let c=s.wrap&&L.wrap,u=P(L);if(u.fontSize=u.fontSize+2,u.fontWeight="bold",B("label",s,c,u,a.data.widthLimit),s.label.Y=i+8,i=s.label.Y+s.label.height,s.type&&""!==s.type.text&&(s.type.text="["+s.type.text+"]",B("type",s,c,P(L),a.data.widthLimit),s.type.Y=i+5,i=s.type.Y+s.type.height),s.descr&&""!==s.descr.text){let t=P(L);t.fontSize=t.fontSize-2,B("descr",s,c,t,a.data.widthLimit),s.descr.Y=i+20,i=s.descr.Y+s.descr.height}if(0==o||o%I==0){let t=n.data.startx+L.diagramMarginX,e=n.data.stopy+L.diagramMarginY+i;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+L.diagramMarginX:a.data.startx,e=a.data.starty;a.setData(t,t,e,e)}a.name=s.alias;let l=r.db.getC4ShapeArray(s.alias),h=r.db.getC4ShapeKeys(s.alias);h.length>0&&$(a,t,l,h),e=s.alias;let f=r.db.getBoundarys(e);f.length>0&&q(t,e,a,f,r),"global"!==s.alias&&F(t,s,a),n.data.stopy=Math.max(a.data.stopy+L.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+L.c4ShapeMargin,n.data.stopx),S=Math.max(S,n.data.stopx),A=Math.max(A,n.data.stopy)}}const H={drawPersonOrSystemArray:$,drawBoundary:F,setConf:D,draw:function(t,e,n,a){L=(0,i.c)().c4;const o=(0,i.c)().securityLevel;let s;"sandbox"===o&&(s=(0,r.Ys)("#i"+e));const c="sandbox"===o?(0,r.Ys)(s.nodes()[0].contentDocument.body):(0,r.Ys)("body");let u=a.db;a.db.setWrap(L.wrap),M=u.getC4ShapeInRow(),I=u.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(L,null,2)}`);const l="sandbox"===o?c.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`);l.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z"),function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")}(l),function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")}(l);let h=new O(a);h.setData(L.diagramMarginX,L.diagramMarginX,L.diagramMarginY,L.diagramMarginY),h.data.widthLimit=screen.availWidth,S=L.diagramMarginX,A=L.diagramMarginY;const f=a.db.getTitle();q(l,"",h,a.db.getBoundarys(""),a),function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")}(l),function(t){t.append("defs").append("marker").attr("id","arrowend").attr("refX",1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 10 0 L 0 5 L 10 10 z")}(l),function(t){const e=t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",16).attr("refY",4);e.append("path").attr("fill","black").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 9,2 V 6 L16,4 Z"),e.append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1px").attr("d","M 0,1 L 6,7 M 6,1 L 0,7")}(l),function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",18).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")}(l),function(t,e,n,r){let a=0;for(let t of e){a+=1;let e=t.wrap&&L.wrap,s={fontFamily:(o=L).messageFontFamily,fontSize:o.messageFontSize,fontWeight:o.messageFontWeight};"C4Dynamic"===r.db.getC4Type()&&(t.label.text=a+": "+t.label.text);let c=(0,i.h)(t.label.text,s);B("label",t,e,s,c),t.techn&&""!==t.techn.text&&(c=(0,i.h)(t.techn.text,s),B("techn",t,e,s,c)),t.descr&&""!==t.descr.text&&(c=(0,i.h)(t.descr.text,s),B("descr",t,e,s,c));let u=n(t.from),l=n(t.to),h=z(u,l);t.startPoint=h.startPoint,t.endPoint=h.endPoint}var o;((t,e,n)=>{const i=t.append("g");let r=0;for(let t of e){let e=t.textColor?t.textColor:"#444444",a=t.lineColor?t.lineColor:"#444444",o=t.offsetX?parseInt(t.offsetX):0,s=t.offsetY?parseInt(t.offsetY):0,c="";if(0===r){let e=i.append("line");e.attr("x1",t.startPoint.x),e.attr("y1",t.startPoint.y),e.attr("x2",t.endPoint.x),e.attr("y2",t.endPoint.y),e.attr("stroke-width","1"),e.attr("stroke",a),e.style("fill","none"),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)"),r=-1}else{let e=i.append("path");e.attr("fill","none").attr("stroke-width","1").attr("stroke",a).attr("d","Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx",t.startPoint.x).replaceAll("starty",t.startPoint.y).replaceAll("controlx",t.startPoint.x+(t.endPoint.x-t.startPoint.x)/2-(t.endPoint.x-t.startPoint.x)/4).replaceAll("controly",t.startPoint.y+(t.endPoint.y-t.startPoint.y)/2).replaceAll("stopx",t.endPoint.x).replaceAll("stopy",t.endPoint.y)),"rel_b"!==t.type&&e.attr("marker-end","url("+c+"#arrowhead)"),"birel"!==t.type&&"rel_b"!==t.type||e.attr("marker-start","url("+c+"#arrowend)")}let u=n.messageFont();T(n)(t.label.text,i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+s,t.label.width,t.label.height,{fill:e},u),t.techn&&""!==t.techn.text&&(u=n.messageFont(),T(n)("["+t.techn.text+"]",i,Math.min(t.startPoint.x,t.endPoint.x)+Math.abs(t.endPoint.x-t.startPoint.x)/2+o,Math.min(t.startPoint.y,t.endPoint.y)+Math.abs(t.endPoint.y-t.startPoint.y)/2+n.messageFontSize+5+s,Math.max(t.label.width,t.techn.width),t.techn.height,{fill:e,"font-style":"italic"},u))}})(t,e,L)}(l,a.db.getRels(),a.db.getC4Shape,a),h.data.stopx=S,h.data.stopy=A;const d=h.data;let g=d.stopy-d.starty+2*L.diagramMarginY;const p=d.stopx-d.startx+2*L.diagramMarginX;f&&l.append("text").text(f).attr("x",(d.stopx-d.startx)/2-4*L.diagramMarginX).attr("y",d.starty+L.diagramMarginY),(0,i.i)(l,g,p,L.useMaxWidth);const b=f?60:0;l.attr("viewBox",d.startx-L.diagramMarginX+" -"+(L.diagramMarginY+b)+" "+p+" "+(g+b)),i.l.debug("models:",d)}},Z={parser:u,db:_,renderer:H,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:({c4:t,wrap:e})=>{H.setConf(t),_.setWrap(e)}}},5411:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>g});var i=n(6281),r=n(7274),a=n(3771),o=n(5625),s=n(8454);n(7484),n(7967),n(7856);let c=0;const u=function(t,e,n,i){const{displayText:r,cssStyle:a}=e.getDisplayDetails(),o=t.append("tspan").attr("x",i.padding).text(r);""!==a&&o.attr("style",e.cssStyle),n||o.attr("dy",i.textHeight)},l=function(t,e,n,i){s.l.debug("Rendering class ",e,n);const r=e.id,a={id:r,label:e.id,width:0,height:0},o=t.append("g").attr("id",i.db.lookUpDomId(r)).attr("class","classGroup");let c;c=e.link?o.append("svg:a").attr("xlink:href",e.link).attr("target",e.linkTarget).append("text").attr("y",n.textHeight+n.padding).attr("x",0):o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);let l=!0;e.annotations.forEach((function(t){const e=c.append("tspan").text("«"+t+"»");l||e.attr("dy",n.textHeight),l=!1}));let h=function(t){let e=t.id;return t.type&&(e+="<"+(0,s.v)(t.type)+">"),e}(e);const f=c.append("tspan").text(h).attr("class","title");l||f.attr("dy",n.textHeight);const d=c.node().getBBox().height;let g,p,b;if(e.members.length>0){g=o.append("line").attr("x1",0).attr("y1",n.padding+d+n.dividerMargin/2).attr("y2",n.padding+d+n.dividerMargin/2);const t=o.append("text").attr("x",n.padding).attr("y",d+n.dividerMargin+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.members.forEach((function(e){u(t,e,l,n),l=!1})),p=t.node().getBBox()}if(e.methods.length>0){b=o.append("line").attr("x1",0).attr("y1",n.padding+d+n.dividerMargin+p.height).attr("y2",n.padding+d+n.dividerMargin+p.height);const t=o.append("text").attr("x",n.padding).attr("y",d+2*n.dividerMargin+p.height+n.textHeight).attr("fill","white").attr("class","classText");l=!0,e.methods.forEach((function(e){u(t,e,l,n),l=!1}))}const w=o.node().getBBox();var y=" ";e.cssClasses.length>0&&(y+=e.cssClasses.join(" "));const m=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",w.width+2*n.padding).attr("height",w.height+n.padding+.5*n.dividerMargin).attr("class",y).node().getBBox().width;return c.node().childNodes.forEach((function(t){t.setAttribute("x",(m-t.getBBox().width)/2)})),e.tooltip&&c.insert("title").text(e.tooltip),g&&g.attr("x2",m),b&&b.attr("x2",m),a.width=m,a.height=w.height+n.padding+.5*n.dividerMargin,a};let h={};const f=function(t){const e=Object.entries(h).find((e=>e[1].label===t));if(e)return e[0]},d={draw:function(t,e,n,i){const u=(0,s.c)().class;h={},s.l.info("Rendering diagram "+t);const d=(0,s.c)().securityLevel;let g;"sandbox"===d&&(g=(0,r.Ys)("#i"+e));const p="sandbox"===d?(0,r.Ys)(g.nodes()[0].contentDocument.body):(0,r.Ys)("body"),b=p.select(`[id='${e}']`);var w;(w=b).append("defs").append("marker").attr("id","extensionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),w.append("defs").append("marker").attr("id","extensionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z"),w.append("defs").append("marker").attr("id","compositionStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),w.append("defs").append("marker").attr("id","compositionEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),w.append("defs").append("marker").attr("id","aggregationStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),w.append("defs").append("marker").attr("id","aggregationEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),w.append("defs").append("marker").attr("id","dependencyStart").attr("class","extension").attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),w.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z");const y=new o.k({multigraph:!0});y.setGraph({isMultiGraph:!0}),y.setDefaultEdgeLabel((function(){return{}}));const m=i.db.getClasses(),v=Object.keys(m);for(const t of v){const e=m[t],n=l(b,e,u,i);h[n.id]=n,y.setNode(n.id,n),s.l.info("Org height: "+n.height)}i.db.getRelations().forEach((function(t){s.l.info("tjoho"+f(t.id1)+f(t.id2)+JSON.stringify(t)),y.setEdge(f(t.id1),f(t.id2),{relation:t},t.title||"DEFAULT")})),i.db.getNotes().forEach((function(t){s.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=function(t,e,n,i){s.l.debug("Rendering note ",e,n);const r=e.id,a={id:r,text:e.text,width:0,height:0},o=t.append("g").attr("id",r).attr("class","classGroup");let c=o.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const u=JSON.parse(`"${e.text}"`).split("\n");u.forEach((function(t){s.l.debug(`Adding line: ${t}`),c.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const l=o.node().getBBox(),h=o.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",l.width+2*n.padding).attr("height",l.height+u.length*n.textHeight+n.padding+.5*n.dividerMargin).node().getBBox().width;return c.node().childNodes.forEach((function(t){t.setAttribute("x",(h-t.getBBox().width)/2)})),a.width=h,a.height=l.height+u.length*n.textHeight+n.padding+.5*n.dividerMargin,a}(b,t,u);h[e.id]=e,y.setNode(e.id,e),t.class&&t.class in m&&y.setEdge(t.id,f(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,a.bK)(y),y.nodes().forEach((function(t){void 0!==t&&void 0!==y.node(t)&&(s.l.debug("Node "+t+": "+JSON.stringify(y.node(t))),p.select("#"+(i.db.lookUpDomId(t)||t)).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y-y.node(t).height/2)+" )"))})),y.edges().forEach((function(t){void 0!==t&&void 0!==y.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),function(t,e,n,i,a){const o=function(t){switch(t){case a.db.relationType.AGGREGATION:return"aggregation";case a.db.relationType.EXTENSION:return"extension";case a.db.relationType.COMPOSITION:return"composition";case a.db.relationType.DEPENDENCY:return"dependency";case a.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const u=e.points,l=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),h=t.append("path").attr("d",l(u)).attr("id","edge"+c).attr("class","relation");let f,d,g="";i.arrowMarkerAbsolute&&(g=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,g=g.replace(/\(/g,"\\("),g=g.replace(/\)/g,"\\)")),1==n.relation.lineType&&h.attr("class","relation dashed-line"),10==n.relation.lineType&&h.attr("class","relation dotted-line"),"none"!==n.relation.type1&&h.attr("marker-start","url("+g+"#"+o(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&h.attr("marker-end","url("+g+"#"+o(n.relation.type2)+"End)");const p=e.points.length;let b,w,y,m,v=s.u.calcLabelPosition(e.points);if(f=v.x,d=v.y,p%2!=0&&p>1){let t=s.u.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),i=s.u.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[p-1]);s.l.debug("cardinality_1_point "+JSON.stringify(t)),s.l.debug("cardinality_2_point "+JSON.stringify(i)),b=t.x,w=t.y,y=i.x,m=i.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),r=e.append("text").attr("class","label").attr("x",f).attr("y",d).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=r;const a=r.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",a.x-i.padding/2).attr("y",a.y-i.padding/2).attr("width",a.width+i.padding).attr("height",a.height+i.padding)}s.l.info("Rendering relation "+JSON.stringify(n)),void 0!==n.relationTitle1&&"none"!==n.relationTitle1&&t.append("g").attr("class","cardinality").append("text").attr("class","type1").attr("x",b).attr("y",w).attr("fill","black").attr("font-size","6").text(n.relationTitle1),void 0!==n.relationTitle2&&"none"!==n.relationTitle2&&t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",y).attr("y",m).attr("fill","black").attr("font-size","6").text(n.relationTitle2),c++}(b,y.edge(t),y.edge(t).relation,u,i))}));const x=b.node().getBBox(),k=x.width+40,_=x.height+40;(0,s.i)(b,_,k,u.useMaxWidth);const E=`${x.x-20} ${x.y-20} ${k} ${_}`;s.l.debug(`viewBox ${E}`),b.attr("viewBox",E)}},g={parser:i.p,db:i.d,renderer:d,styles:i.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},8031:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>d});var i=n(6281),r=n(7274),a=n(5625),o=n(8454),s=n(7644);n(7484),n(7967),n(7856),n(3771),n(9368);const c=t=>o.e.sanitizeText(t,(0,o.c)());let u={dividerMargin:10,padding:5,textHeight:10,curve:void 0};const l=function(t,e,n,i,r){const a=Object.keys(t);o.l.info("keys:",a),o.l.info(t),a.filter((e=>t[e].parent==r)).forEach((function(n){var a,s;const u=t[n],l=u.cssClasses.join(" "),h=u.label??u.id,f={labelStyle:"",shape:"class_box",labelText:c(h),classData:u,rx:0,ry:0,class:l,style:"",id:u.id,domId:u.domId,tooltip:i.db.getTooltip(u.id,r)||"",haveCallback:u.haveCallback,link:u.link,width:"group"===u.type?500:void 0,type:u.type,padding:(null==(a=(0,o.c)().flowchart)?void 0:a.padding)??(null==(s=(0,o.c)().class)?void 0:s.padding)};e.setNode(u.id,f),r&&e.setParent(u.id,r),o.l.info("setNode",f)}))};function h(t){let e;switch(t){case 0:e="aggregation";break;case 1:e="extension";break;case 2:e="composition";break;case 3:e="dependency";break;case 4:e="lollipop";break;default:e="none"}return e}const f={setConf:function(t){u={...u,...t}},draw:async function(t,e,n,i){o.l.info("Drawing class - ",e);const f=(0,o.c)().flowchart??(0,o.c)().class,d=(0,o.c)().securityLevel;o.l.info("config:",f);const g=(null==f?void 0:f.nodeSpacing)??50,p=(null==f?void 0:f.rankSpacing)??50,b=new a.k({multigraph:!0,compound:!0}).setGraph({rankdir:i.db.getDirection(),nodesep:g,ranksep:p,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}})),w=i.db.getNamespaces(),y=i.db.getClasses(),m=i.db.getRelations(),v=i.db.getNotes();let x;o.l.info(m),function(t,e,n,i){const r=Object.keys(t);o.l.info("keys:",r),o.l.info(t),r.forEach((function(n){var r,a;const s=t[n],u={shape:"rect",id:s.id,domId:s.domId,labelText:c(s.id),labelStyle:"",style:"fill: none; stroke: black",padding:(null==(r=(0,o.c)().flowchart)?void 0:r.padding)??(null==(a=(0,o.c)().class)?void 0:a.padding)};e.setNode(s.id,u),l(s.classes,e,0,i,s.id),o.l.info("setNode",u)}))}(w,b,0,i),l(y,b,0,i),function(t,e){const n=(0,o.c)().flowchart;let i=0;t.forEach((function(t){var a;i++;const s={classes:"relation",pattern:1==t.relation.lineType?"dashed":"solid",id:"id"+i,arrowhead:"arrow_open"===t.type?"none":"normal",startLabelRight:"none"===t.relationTitle1?"":t.relationTitle1,endLabelLeft:"none"===t.relationTitle2?"":t.relationTitle2,arrowTypeStart:h(t.relation.type1),arrowTypeEnd:h(t.relation.type2),style:"fill:none",labelStyle:"",curve:(0,o.n)(null==n?void 0:n.curve,r.c_6)};if(o.l.info(s,t),void 0!==t.style){const e=(0,o.k)(t.style);s.style=e.style,s.labelStyle=e.labelStyle}t.text=t.title,void 0===t.text?void 0!==t.style&&(s.arrowheadStyle="fill: #333"):(s.arrowheadStyle="fill: #333",s.labelpos="c",(null==(a=(0,o.c)().flowchart)?void 0:a.htmlLabels)??(0,o.c)().htmlLabels?(s.labelType="html",s.label='<span class="edgeLabel">'+t.text+"</span>"):(s.labelType="text",s.label=t.text.replace(o.e.lineBreakRegex,"\n"),void 0===t.style&&(s.style=s.style||"stroke: #333; stroke-width: 1.5px;fill:none"),s.labelStyle=s.labelStyle.replace("color:","fill:"))),e.setEdge(t.id1,t.id2,s,i)}))}(m,b),function(t,e,n,i){o.l.info(t),t.forEach((function(t,a){var s,l;const h=t,f=h.text,d={labelStyle:"",shape:"note",labelText:c(f),noteData:h,rx:0,ry:0,class:"",style:"",id:h.id,domId:h.id,tooltip:"",type:"note",padding:(null==(s=(0,o.c)().flowchart)?void 0:s.padding)??(null==(l=(0,o.c)().class)?void 0:l.padding)};if(e.setNode(h.id,d),o.l.info("setNode",d),!h.class||!(h.class in i))return;const g=n+a,p={id:`edgeNote${g}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,o.n)(u.curve,r.c_6)};e.setEdge(h.id,h.class,p,g)}))}(v,b,m.length+1,y),"sandbox"===d&&(x=(0,r.Ys)("#i"+e));const k="sandbox"===d?(0,r.Ys)(x.nodes()[0].contentDocument.body):(0,r.Ys)("body"),_=k.select(`[id="${e}"]`),E=k.select("#"+e+" g");if(await(0,s.r)(E,b,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),o.u.insertTitle(_,"classTitleText",(null==f?void 0:f.titleTopMargin)??5,i.db.getDiagramTitle()),(0,o.o)(b,_,null==f?void 0:f.diagramPadding,null==f?void 0:f.useMaxWidth),!(null==f?void 0:f.htmlLabels)){const t="sandbox"===d?x.nodes()[0].contentDocument:document,n=t.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of n){const n=e.getBBox(),i=t.createElementNS("http://www.w3.org/2000/svg","rect");i.setAttribute("rx",0),i.setAttribute("ry",0),i.setAttribute("width",n.width),i.setAttribute("height",n.height),e.insertBefore(i,e.firstChild)}}}},d={parser:i.p,db:i.d,renderer:f,styles:i.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},4027:(t,e,n)=>{"use strict";n.d(e,{c:()=>ae});var i={};n.r(i),n.d(i,{attentionMarkers:()=>Nt,contentInitial:()=>At,disable:()=>Pt,document:()=>St,flow:()=>It,flowInitial:()=>Mt,insideSpan:()=>Dt,string:()=>Lt,text:()=>Ot});var r=n(8454);const a={};function o(t,e,n){if(function(t){return Boolean(t&&"object"==typeof t)}(t)){if("value"in t)return"html"!==t.type||n?t.value:"";if(e&&"alt"in t&&t.alt)return t.alt;if("children"in t)return s(t.children,e,n)}return Array.isArray(t)?s(t,e,n):""}function s(t,e,n){const i=[];let r=-1;for(;++r<t.length;)i[r]=o(t[r],e,n);return i.join("")}function c(t,e,n,i){const r=t.length;let a,o=0;if(e=e<0?-e>r?0:r+e:e>r?r:e,n=n>0?n:0,i.length<1e4)a=Array.from(i),a.unshift(e,n),t.splice(...a);else for(n&&t.splice(e,n);o<i.length;)a=i.slice(o,o+1e4),a.unshift(e,0),t.splice(...a),o+=1e4,e+=1e4}function u(t,e){return t.length>0?(c(t,t.length,0,e),t):e}const l={}.hasOwnProperty;function h(t,e){let n;for(n in e){const i=(l.call(t,n)?t[n]:void 0)||(t[n]={}),r=e[n];let a;if(r)for(a in r){l.call(i,a)||(i[a]=[]);const t=r[a];f(i[a],Array.isArray(t)?t:t?[t]:[])}}}function f(t,e){let n=-1;const i=[];for(;++n<e.length;)("after"===e[n].add?t:i).push(e[n]);c(t,0,0,i)}const d=T(/[A-Za-z]/),g=T(/[\dA-Za-z]/),p=T(/[#-'*+\--9=?A-Z^-~]/);function b(t){return null!==t&&(t<32||127===t)}const w=T(/\d/),y=T(/[\dA-Fa-f]/),m=T(/[!-/:-@[-`{-~]/);function v(t){return null!==t&&t<-2}function x(t){return null!==t&&(t<0||32===t)}function k(t){return-2===t||-1===t||32===t}const _=T(/[!-\/:-@\[-`\{-~\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1B7D\u1B7E\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]/),E=T(/\s/);function T(t){return function(e){return null!==e&&t.test(String.fromCharCode(e))}}function C(t,e,n,i){const r=i?i-1:Number.POSITIVE_INFINITY;let a=0;return function(i){return k(i)?(t.enter(n),o(i)):e(i)};function o(i){return k(i)&&a++<r?(t.consume(i),o):(t.exit(n),e(i))}}const S={tokenize:function(t){const e=t.attempt(this.parser.constructs.contentInitial,(function(n){if(null!==n)return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),C(t,e,"linePrefix");t.consume(n)}),(function(e){return t.enter("paragraph"),i(e)}));let n;return e;function i(e){const i=t.enter("chunkText",{contentType:"text",previous:n});return n&&(n.next=i),n=i,r(e)}function r(e){return null===e?(t.exit("chunkText"),t.exit("paragraph"),void t.consume(e)):v(e)?(t.consume(e),t.exit("chunkText"),i):(t.consume(e),r)}}},A={tokenize:function(t){const e=this,n=[];let i,r,a,o=0;return s;function s(i){if(o<n.length){const r=n[o];return e.containerState=r[1],t.attempt(r[0].continuation,u,l)(i)}return l(i)}function u(t){if(o++,e.containerState._closeFlow){e.containerState._closeFlow=void 0,i&&m();const n=e.events.length;let r,a=n;for(;a--;)if("exit"===e.events[a][0]&&"chunkFlow"===e.events[a][1].type){r=e.events[a][1].end;break}y(o);let s=n;for(;s<e.events.length;)e.events[s][1].end=Object.assign({},r),s++;return c(e.events,a+1,0,e.events.slice(n)),e.events.length=s,l(t)}return s(t)}function l(r){if(o===n.length){if(!i)return d(r);if(i.currentConstruct&&i.currentConstruct.concrete)return p(r);e.interrupt=Boolean(i.currentConstruct&&!i._gfmTableDynamicInterruptHack)}return e.containerState={},t.check(M,h,f)(r)}function h(t){return i&&m(),y(o),d(t)}function f(t){return e.parser.lazy[e.now().line]=o!==n.length,a=e.now().offset,p(t)}function d(n){return e.containerState={},t.attempt(M,g,p)(n)}function g(t){return o++,n.push([e.currentConstruct,e.containerState]),d(t)}function p(n){return null===n?(i&&m(),y(0),void t.consume(n)):(i=i||e.parser.flow(e.now()),t.enter("chunkFlow",{contentType:"flow",previous:r,_tokenizer:i}),b(n))}function b(n){return null===n?(w(t.exit("chunkFlow"),!0),y(0),void t.consume(n)):v(n)?(t.consume(n),w(t.exit("chunkFlow")),o=0,e.interrupt=void 0,s):(t.consume(n),b)}function w(t,n){const s=e.sliceStream(t);if(n&&s.push(null),t.previous=r,r&&(r.next=t),r=t,i.defineSkip(t.start),i.write(s),e.parser.lazy[t.start.line]){let t=i.events.length;for(;t--;)if(i.events[t][1].start.offset<a&&(!i.events[t][1].end||i.events[t][1].end.offset>a))return;const n=e.events.length;let r,s,u=n;for(;u--;)if("exit"===e.events[u][0]&&"chunkFlow"===e.events[u][1].type){if(r){s=e.events[u][1].end;break}r=!0}for(y(o),t=n;t<e.events.length;)e.events[t][1].end=Object.assign({},s),t++;c(e.events,u+1,0,e.events.slice(n)),e.events.length=t}}function y(i){let r=n.length;for(;r-- >i;){const i=n[r];e.containerState=i[1],i[0].exit.call(e,t)}n.length=i}function m(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}},M={tokenize:function(t,e,n){return C(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}},I={tokenize:function(t,e,n){return function(e){return k(e)?C(t,i,"linePrefix")(e):i(e)};function i(t){return null===t||v(t)?e(t):n(t)}},partial:!0};function L(t){const e={};let n,i,r,a,o,s,u,l=-1;for(;++l<t.length;){for(;l in e;)l=e[l];if(n=t[l],l&&"chunkFlow"===n[1].type&&"listItemPrefix"===t[l-1][1].type&&(s=n[1]._tokenizer.events,r=0,r<s.length&&"lineEndingBlank"===s[r][1].type&&(r+=2),r<s.length&&"content"===s[r][1].type))for(;++r<s.length&&"content"!==s[r][1].type;)"chunkText"===s[r][1].type&&(s[r][1]._isInFirstContentOfListItem=!0,r++);if("enter"===n[0])n[1].contentType&&(Object.assign(e,O(t,l)),l=e[l],u=!0);else if(n[1]._container){for(r=l,i=void 0;r--&&(a=t[r],"lineEnding"===a[1].type||"lineEndingBlank"===a[1].type);)"enter"===a[0]&&(i&&(t[i][1].type="lineEndingBlank"),a[1].type="lineEnding",i=r);i&&(n[1].end=Object.assign({},t[i][1].start),o=t.slice(i,l),o.unshift(n),c(t,i,l-i+1,o))}}return!u}function O(t,e){const n=t[e][1],i=t[e][2];let r=e-1;const a=[],o=n._tokenizer||i.parser[n.contentType](n.start),s=o.events,u=[],l={};let h,f,d=-1,g=n,p=0,b=0;const w=[b];for(;g;){for(;t[++r][1]!==g;);a.push(r),g._tokenizer||(h=i.sliceStream(g),g.next||h.push(null),f&&o.defineSkip(g.start),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=!0),o.write(h),g._isInFirstContentOfListItem&&(o._gfmTasklistFirstContentOfListItem=void 0)),f=g,g=g.next}for(g=n;++d<s.length;)"exit"===s[d][0]&&"enter"===s[d-1][0]&&s[d][1].type===s[d-1][1].type&&s[d][1].start.line!==s[d][1].end.line&&(b=d+1,w.push(b),g._tokenizer=void 0,g.previous=void 0,g=g.next);for(o.events=[],g?(g._tokenizer=void 0,g.previous=void 0):w.pop(),d=w.length;d--;){const e=s.slice(w[d],w[d+1]),n=a.pop();u.unshift([n,n+e.length-1]),c(t,n,2,e)}for(d=-1;++d<u.length;)l[p+u[d][0]]=p+u[d][1],p+=u[d][1]-u[d][0]-1;return l}const D={tokenize:function(t,e){let n;return function(e){return t.enter("content"),n=t.enter("chunkContent",{contentType:"content"}),i(e)};function i(e){return null===e?r(e):v(e)?t.check(N,a,r)(e):(t.consume(e),i)}function r(n){return t.exit("chunkContent"),t.exit("content"),e(n)}function a(e){return t.consume(e),t.exit("chunkContent"),n.next=t.enter("chunkContent",{contentType:"content",previous:n}),n=n.next,i}},resolve:function(t){return L(t),t}},N={tokenize:function(t,e,n){const i=this;return function(e){return t.exit("chunkContent"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),C(t,r,"linePrefix")};function r(r){if(null===r||v(r))return n(r);const a=i.events[i.events.length-1];return!i.parser.constructs.disable.null.includes("codeIndented")&&a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?e(r):t.interrupt(i.parser.constructs.flow,n,e)(r)}},partial:!0},P={tokenize:function(t){const e=this,n=t.attempt(I,(function(i){if(null!==i)return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n;t.consume(i)}),t.attempt(this.parser.constructs.flowInitial,i,C(t,t.attempt(this.parser.constructs.flow,i,t.attempt(D,i)),"linePrefix")));return n;function i(i){if(null!==i)return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),e.currentConstruct=void 0,n;t.consume(i)}}},B={resolveAll:R()},F=j("string"),$=j("text");function j(t){return{tokenize:function(e){const n=this,i=this.parser.constructs[t],r=e.attempt(i,a,o);return a;function a(t){return c(t)?r(t):o(t)}function o(t){if(null!==t)return e.enter("data"),e.consume(t),s;e.consume(t)}function s(t){return c(t)?(e.exit("data"),r(t)):(e.consume(t),s)}function c(t){if(null===t)return!0;const e=i[t];let r=-1;if(e)for(;++r<e.length;){const t=e[r];if(!t.previous||t.previous.call(n,n.previous))return!0}return!1}},resolveAll:R("text"===t?z:void 0)}}function R(t){return function(e,n){let i,r=-1;for(;++r<=e.length;)void 0===i?e[r]&&"data"===e[r][1].type&&(i=r,r++):e[r]&&"data"===e[r][1].type||(r!==i+2&&(e[i][1].end=e[r-1][1].end,e.splice(i+2,r-i-2),r=i+2),i=void 0);return t?t(e,n):e}}function z(t,e){let n=0;for(;++n<=t.length;)if((n===t.length||"lineEnding"===t[n][1].type)&&"data"===t[n-1][1].type){const i=t[n-1][1],r=e.sliceStream(i);let a,o=r.length,s=-1,c=0;for(;o--;){const t=r[o];if("string"==typeof t){for(s=t.length;32===t.charCodeAt(s-1);)c++,s--;if(s)break;s=-1}else if(-2===t)a=!0,c++;else if(-1!==t){o++;break}}if(c){const r={type:n===t.length||a||c<2?"lineSuffix":"hardBreakTrailing",start:{line:i.end.line,column:i.end.column-c,offset:i.end.offset-c,_index:i.start._index+o,_bufferIndex:o?s:i.start._bufferIndex+s},end:Object.assign({},i.end)};i.end=Object.assign({},r.start),i.start.offset===i.end.offset?Object.assign(i,r):(t.splice(n,0,["enter",r,e],["exit",r,e]),n+=2)}n++}return t}function q(t,e,n){const i=[];let r=-1;for(;++r<t.length;){const a=t[r].resolveAll;a&&!i.includes(a)&&(e=a(e,n),i.push(a))}return e}function H(t,e,n){let i=Object.assign(n?Object.assign({},n):{line:1,column:1,offset:0},{_index:0,_bufferIndex:-1});const r={},a=[];let o=[],s=[],l=!0;const h={consume:function(t){v(t)?(i.line++,i.column=1,i.offset+=-3===t?2:1,k()):-1!==t&&(i.column++,i.offset++),i._bufferIndex<0?i._index++:(i._bufferIndex++,i._bufferIndex===o[i._index].length&&(i._bufferIndex=-1,i._index++)),f.previous=t,l=!0},enter:function(t,e){const n=e||{};return n.type=t,n.start=b(),f.events.push(["enter",n,f]),s.push(n),n},exit:function(t){const e=s.pop();return e.end=b(),f.events.push(["exit",e,f]),e},attempt:m((function(t,e){x(t,e.from)})),check:m(y),interrupt:m(y,{interrupt:!0})},f={previous:null,code:null,containerState:{},events:[],parser:t,sliceStream:p,sliceSerialize:function(t,e){return function(t,e){let n=-1;const i=[];let r;for(;++n<t.length;){const a=t[n];let o;if("string"==typeof a)o=a;else switch(a){case-5:o="\r";break;case-4:o="\n";break;case-3:o="\r\n";break;case-2:o=e?" ":"\t";break;case-1:if(!e&&r)continue;o=" ";break;default:o=String.fromCharCode(a)}r=-2===a,i.push(o)}return i.join("")}(p(t),e)},now:b,defineSkip:function(t){r[t.line]=t.column,k()},write:function(t){return o=u(o,t),function(){let t;for(;i._index<o.length;){const e=o[i._index];if("string"==typeof e)for(t=i._index,i._bufferIndex<0&&(i._bufferIndex=0);i._index===t&&i._bufferIndex<e.length;)w(e.charCodeAt(i._bufferIndex));else w(e)}}(),null!==o[o.length-1]?[]:(x(e,0),f.events=q(a,f.events,f),f.events)}};let d,g=e.tokenize.call(f,h);return e.resolveAll&&a.push(e),f;function p(t){return function(t,e){const n=e.start._index,i=e.start._bufferIndex,r=e.end._index,a=e.end._bufferIndex;let o;if(n===r)o=[t[n].slice(i,a)];else{if(o=t.slice(n,r),i>-1){const t=o[0];"string"==typeof t?o[0]=t.slice(i):o.shift()}a>0&&o.push(t[r].slice(0,a))}return o}(o,t)}function b(){const{line:t,column:e,offset:n,_index:r,_bufferIndex:a}=i;return{line:t,column:e,offset:n,_index:r,_bufferIndex:a}}function w(t){l=void 0,d=t,g=g(t)}function y(t,e){e.restore()}function m(t,e){return function(n,r,a){let o,c,u,d;return Array.isArray(n)?p(n):"tokenize"in n?p([n]):(g=n,function(t){const e=null!==t&&g[t],n=null!==t&&g.null;return p([...Array.isArray(e)?e:e?[e]:[],...Array.isArray(n)?n:n?[n]:[]])(t)});var g;function p(t){return o=t,c=0,0===t.length?a:w(t[c])}function w(t){return function(n){return d=function(){const t=b(),e=f.previous,n=f.currentConstruct,r=f.events.length,a=Array.from(s);return{restore:function(){i=t,f.previous=e,f.currentConstruct=n,f.events.length=r,s=a,k()},from:r}}(),u=t,t.partial||(f.currentConstruct=t),t.name&&f.parser.constructs.disable.null.includes(t.name)?m():t.tokenize.call(e?Object.assign(Object.create(f),e):f,h,y,m)(n)}}function y(e){return l=!0,t(u,d),r}function m(t){return l=!0,d.restore(),++c<o.length?w(o[c]):a}}}function x(t,e){t.resolveAll&&!a.includes(t)&&a.push(t),t.resolve&&c(f.events,e,f.events.length-e,t.resolve(f.events.slice(e),f)),t.resolveTo&&(f.events=t.resolveTo(f.events,f))}function k(){i.line in r&&i.column<2&&(i.column=r[i.line],i.offset+=r[i.line]-1)}}const Z={name:"thematicBreak",tokenize:function(t,e,n){let i,r=0;return function(e){return t.enter("thematicBreak"),function(t){return i=t,a(t)}(e)};function a(a){return a===i?(t.enter("thematicBreakSequence"),o(a)):r>=3&&(null===a||v(a))?(t.exit("thematicBreak"),e(a)):n(a)}function o(e){return e===i?(t.consume(e),r++,o):(t.exit("thematicBreakSequence"),k(e)?C(t,a,"whitespace")(e):a(e))}}},U={name:"list",tokenize:function(t,e,n){const i=this,r=i.events[i.events.length-1];let a=r&&"linePrefix"===r[1].type?r[2].sliceSerialize(r[1],!0).length:0,o=0;return function(e){const r=i.containerState.type||(42===e||43===e||45===e?"listUnordered":"listOrdered");if("listUnordered"===r?!i.containerState.marker||e===i.containerState.marker:w(e)){if(i.containerState.type||(i.containerState.type=r,t.enter(r,{_container:!0})),"listUnordered"===r)return t.enter("listItemPrefix"),42===e||45===e?t.check(Z,n,c)(e):c(e);if(!i.interrupt||49===e)return t.enter("listItemPrefix"),t.enter("listItemValue"),s(e)}return n(e)};function s(e){return w(e)&&++o<10?(t.consume(e),s):(!i.interrupt||o<2)&&(i.containerState.marker?e===i.containerState.marker:41===e||46===e)?(t.exit("listItemValue"),c(e)):n(e)}function c(e){return t.enter("listItemMarker"),t.consume(e),t.exit("listItemMarker"),i.containerState.marker=i.containerState.marker||e,t.check(I,i.interrupt?n:u,t.attempt(Y,h,l))}function u(t){return i.containerState.initialBlankLine=!0,a++,h(t)}function l(e){return k(e)?(t.enter("listItemPrefixWhitespace"),t.consume(e),t.exit("listItemPrefixWhitespace"),h):n(e)}function h(n){return i.containerState.size=a+i.sliceSerialize(t.exit("listItemPrefix"),!0).length,e(n)}},continuation:{tokenize:function(t,e,n){const i=this;return i.containerState._closeFlow=void 0,t.check(I,(function(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,C(t,e,"listItemIndent",i.containerState.size+1)(n)}),(function(n){return i.containerState.furtherBlankLines||!k(n)?(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,r(n)):(i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(G,e,r)(n))}));function r(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,C(t,t.attempt(U,e,n),"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(r)}}},exit:function(t){t.exit(this.containerState.type)}},Y={tokenize:function(t,e,n){const i=this;return C(t,(function(t){const r=i.events[i.events.length-1];return!k(t)&&r&&"listItemPrefixWhitespace"===r[1].type?e(t):n(t)}),"listItemPrefixWhitespace",i.parser.constructs.disable.null.includes("codeIndented")?void 0:5)},partial:!0},G={tokenize:function(t,e,n){const i=this;return C(t,(function(t){const r=i.events[i.events.length-1];return r&&"listItemIndent"===r[1].type&&r[2].sliceSerialize(r[1],!0).length===i.containerState.size?e(t):n(t)}),"listItemIndent",i.containerState.size+1)},partial:!0},K={name:"blockQuote",tokenize:function(t,e,n){const i=this;return function(e){if(62===e){const n=i.containerState;return n.open||(t.enter("blockQuote",{_container:!0}),n.open=!0),t.enter("blockQuotePrefix"),t.enter("blockQuoteMarker"),t.consume(e),t.exit("blockQuoteMarker"),r}return n(e)};function r(n){return k(n)?(t.enter("blockQuotePrefixWhitespace"),t.consume(n),t.exit("blockQuotePrefixWhitespace"),t.exit("blockQuotePrefix"),e):(t.exit("blockQuotePrefix"),e(n))}},continuation:{tokenize:function(t,e,n){const i=this;return function(e){return k(e)?C(t,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):r(e)};function r(i){return t.attempt(K,e,n)(i)}}},exit:function(t){t.exit("blockQuote")}};function W(t,e,n,i,r,a,o,s,c){const u=c||Number.POSITIVE_INFINITY;let l=0;return function(e){return 60===e?(t.enter(i),t.enter(r),t.enter(a),t.consume(e),t.exit(a),h):null===e||32===e||41===e||b(e)?n(e):(t.enter(i),t.enter(o),t.enter(s),t.enter("chunkString",{contentType:"string"}),g(e))};function h(n){return 62===n?(t.enter(a),t.consume(n),t.exit(a),t.exit(r),t.exit(i),e):(t.enter(s),t.enter("chunkString",{contentType:"string"}),f(n))}function f(e){return 62===e?(t.exit("chunkString"),t.exit(s),h(e)):null===e||60===e||v(e)?n(e):(t.consume(e),92===e?d:f)}function d(e){return 60===e||62===e||92===e?(t.consume(e),f):f(e)}function g(r){return l||null!==r&&41!==r&&!x(r)?l<u&&40===r?(t.consume(r),l++,g):41===r?(t.consume(r),l--,g):null===r||32===r||40===r||b(r)?n(r):(t.consume(r),92===r?p:g):(t.exit("chunkString"),t.exit(s),t.exit(o),t.exit(i),e(r))}function p(e){return 40===e||41===e||92===e?(t.consume(e),g):g(e)}}function X(t,e,n,i,r,a){const o=this;let s,c=0;return function(e){return t.enter(i),t.enter(r),t.consume(e),t.exit(r),t.enter(a),u};function u(h){return c>999||null===h||91===h||93===h&&!s||94===h&&!c&&"_hiddenFootnoteSupport"in o.parser.constructs?n(h):93===h?(t.exit(a),t.enter(r),t.consume(h),t.exit(r),t.exit(i),e):v(h)?(t.enter("lineEnding"),t.consume(h),t.exit("lineEnding"),u):(t.enter("chunkString",{contentType:"string"}),l(h))}function l(e){return null===e||91===e||93===e||v(e)||c++>999?(t.exit("chunkString"),u(e)):(t.consume(e),s||(s=!k(e)),92===e?h:l)}function h(e){return 91===e||92===e||93===e?(t.consume(e),c++,l):l(e)}}function V(t,e,n,i,r,a){let o;return function(e){return 34===e||39===e||40===e?(t.enter(i),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,s):n(e)};function s(n){return n===o?(t.enter(r),t.consume(n),t.exit(r),t.exit(i),e):(t.enter(a),c(n))}function c(e){return e===o?(t.exit(a),s(o)):null===e?n(e):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),C(t,c,"linePrefix")):(t.enter("chunkString",{contentType:"string"}),u(e))}function u(e){return e===o||null===e||v(e)?(t.exit("chunkString"),c(e)):(t.consume(e),92===e?l:u)}function l(e){return e===o||92===e?(t.consume(e),u):u(e)}}function Q(t,e){let n;return function i(r){return v(r)?(t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),n=!0,i):k(r)?C(t,i,n?"linePrefix":"lineSuffix")(r):e(r)}}function J(t){return t.replace(/[\t\n\r ]+/g," ").replace(/^ | $/g,"").toLowerCase().toUpperCase()}const tt={name:"definition",tokenize:function(t,e,n){const i=this;let r;return function(e){return t.enter("definition"),function(e){return X.call(i,t,a,n,"definitionLabel","definitionLabelMarker","definitionLabelString")(e)}(e)};function a(e){return r=J(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)),58===e?(t.enter("definitionMarker"),t.consume(e),t.exit("definitionMarker"),o):n(e)}function o(e){return x(e)?Q(t,s)(e):s(e)}function s(e){return W(t,c,n,"definitionDestination","definitionDestinationLiteral","definitionDestinationLiteralMarker","definitionDestinationRaw","definitionDestinationString")(e)}function c(e){return t.attempt(et,u,u)(e)}function u(e){return k(e)?C(t,l,"whitespace")(e):l(e)}function l(a){return null===a||v(a)?(t.exit("definition"),i.parser.defined.push(r),e(a)):n(a)}}},et={tokenize:function(t,e,n){return function(e){return x(e)?Q(t,i)(e):n(e)};function i(e){return V(t,r,n,"definitionTitle","definitionTitleMarker","definitionTitleString")(e)}function r(e){return k(e)?C(t,a,"whitespace")(e):a(e)}function a(t){return null===t||v(t)?e(t):n(t)}},partial:!0},nt={name:"codeIndented",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("codeIndented"),C(t,r,"linePrefix",5)(e)};function r(t){const e=i.events[i.events.length-1];return e&&"linePrefix"===e[1].type&&e[2].sliceSerialize(e[1],!0).length>=4?a(t):n(t)}function a(e){return null===e?s(e):v(e)?t.attempt(it,a,s)(e):(t.enter("codeFlowValue"),o(e))}function o(e){return null===e||v(e)?(t.exit("codeFlowValue"),a(e)):(t.consume(e),o)}function s(n){return t.exit("codeIndented"),e(n)}}},it={tokenize:function(t,e,n){const i=this;return r;function r(e){return i.parser.lazy[i.now().line]?n(e):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):C(t,a,"linePrefix",5)(e)}function a(t){const a=i.events[i.events.length-1];return a&&"linePrefix"===a[1].type&&a[2].sliceSerialize(a[1],!0).length>=4?e(t):v(t)?r(t):n(t)}},partial:!0},rt={name:"headingAtx",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("atxHeading"),function(e){return t.enter("atxHeadingSequence"),r(e)}(e)};function r(e){return 35===e&&i++<6?(t.consume(e),r):null===e||x(e)?(t.exit("atxHeadingSequence"),a(e)):n(e)}function a(n){return 35===n?(t.enter("atxHeadingSequence"),o(n)):null===n||v(n)?(t.exit("atxHeading"),e(n)):k(n)?C(t,a,"whitespace")(n):(t.enter("atxHeadingText"),s(n))}function o(e){return 35===e?(t.consume(e),o):(t.exit("atxHeadingSequence"),a(e))}function s(e){return null===e||35===e||x(e)?(t.exit("atxHeadingText"),a(e)):(t.consume(e),s)}},resolve:function(t,e){let n,i,r=t.length-2,a=3;return"whitespace"===t[a][1].type&&(a+=2),r-2>a&&"whitespace"===t[r][1].type&&(r-=2),"atxHeadingSequence"===t[r][1].type&&(a===r-1||r-4>a&&"whitespace"===t[r-2][1].type)&&(r-=a+1===r?2:4),r>a&&(n={type:"atxHeadingText",start:t[a][1].start,end:t[r][1].end},i={type:"chunkText",start:t[a][1].start,end:t[r][1].end,contentType:"text"},c(t,a,r-a+1,[["enter",n,e],["enter",i,e],["exit",i,e],["exit",n,e]])),t}},at={name:"setextUnderline",tokenize:function(t,e,n){const i=this;let r;return function(e){let o,s=i.events.length;for(;s--;)if("lineEnding"!==i.events[s][1].type&&"linePrefix"!==i.events[s][1].type&&"content"!==i.events[s][1].type){o="paragraph"===i.events[s][1].type;break}return i.parser.lazy[i.now().line]||!i.interrupt&&!o?n(e):(t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),a(e)}(e))};function a(e){return e===r?(t.consume(e),a):(t.exit("setextHeadingLineSequence"),k(e)?C(t,o,"lineSuffix")(e):o(e))}function o(i){return null===i||v(i)?(t.exit("setextHeadingLine"),e(i)):n(i)}},resolveTo:function(t,e){let n,i,r,a=t.length;for(;a--;)if("enter"===t[a][0]){if("content"===t[a][1].type){n=a;break}"paragraph"===t[a][1].type&&(i=a)}else"content"===t[a][1].type&&t.splice(a,1),r||"definition"!==t[a][1].type||(r=a);const o={type:"setextHeading",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)};return t[i][1].type="setextHeadingText",r?(t.splice(i,0,["enter",o,e]),t.splice(r+1,0,["exit",t[n][1],e]),t[n][1].end=Object.assign({},t[r][1].end)):t[n][1]=o,t.push(["exit",o,e]),t}},ot=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],st=["pre","script","style","textarea"],ct={name:"htmlFlow",tokenize:function(t,e,n){const i=this;let r,a,o,s,c;return function(e){return function(e){return t.enter("htmlFlow"),t.enter("htmlFlowData"),t.consume(e),u}(e)};function u(s){return 33===s?(t.consume(s),l):47===s?(t.consume(s),a=!0,p):63===s?(t.consume(s),r=3,i.interrupt?e:j):d(s)?(t.consume(s),o=String.fromCharCode(s),b):n(s)}function l(a){return 45===a?(t.consume(a),r=2,h):91===a?(t.consume(a),r=5,s=0,f):d(a)?(t.consume(a),r=4,i.interrupt?e:j):n(a)}function h(r){return 45===r?(t.consume(r),i.interrupt?e:j):n(r)}function f(r){return r==="CDATA[".charCodeAt(s++)?(t.consume(r),6===s?i.interrupt?e:L:f):n(r)}function p(e){return d(e)?(t.consume(e),o=String.fromCharCode(e),b):n(e)}function b(s){if(null===s||47===s||62===s||x(s)){const c=47===s,u=o.toLowerCase();return c||a||!st.includes(u)?ot.includes(o.toLowerCase())?(r=6,c?(t.consume(s),w):i.interrupt?e(s):L(s)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(s):a?y(s):m(s)):(r=1,i.interrupt?e(s):L(s))}return 45===s||g(s)?(t.consume(s),o+=String.fromCharCode(s),b):n(s)}function w(r){return 62===r?(t.consume(r),i.interrupt?e:L):n(r)}function y(e){return k(e)?(t.consume(e),y):M(e)}function m(e){return 47===e?(t.consume(e),M):58===e||95===e||d(e)?(t.consume(e),_):k(e)?(t.consume(e),m):M(e)}function _(e){return 45===e||46===e||58===e||95===e||g(e)?(t.consume(e),_):E(e)}function E(e){return 61===e?(t.consume(e),T):k(e)?(t.consume(e),E):m(e)}function T(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,C):k(e)?(t.consume(e),T):S(e)}function C(e){return e===c?(t.consume(e),c=null,A):null===e||v(e)?n(e):(t.consume(e),C)}function S(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||x(e)?E(e):(t.consume(e),S)}function A(t){return 47===t||62===t||k(t)?m(t):n(t)}function M(e){return 62===e?(t.consume(e),I):n(e)}function I(e){return null===e||v(e)?L(e):k(e)?(t.consume(e),I):n(e)}function L(e){return 45===e&&2===r?(t.consume(e),P):60===e&&1===r?(t.consume(e),B):62===e&&4===r?(t.consume(e),R):63===e&&3===r?(t.consume(e),j):93===e&&5===r?(t.consume(e),$):!v(e)||6!==r&&7!==r?null===e||v(e)?(t.exit("htmlFlowData"),O(e)):(t.consume(e),L):(t.exit("htmlFlowData"),t.check(ut,z,O)(e))}function O(e){return t.check(lt,D,z)(e)}function D(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),N}function N(e){return null===e||v(e)?O(e):(t.enter("htmlFlowData"),L(e))}function P(e){return 45===e?(t.consume(e),j):L(e)}function B(e){return 47===e?(t.consume(e),o="",F):L(e)}function F(e){if(62===e){const n=o.toLowerCase();return st.includes(n)?(t.consume(e),R):L(e)}return d(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),F):L(e)}function $(e){return 93===e?(t.consume(e),j):L(e)}function j(e){return 62===e?(t.consume(e),R):45===e&&2===r?(t.consume(e),j):L(e)}function R(e){return null===e||v(e)?(t.exit("htmlFlowData"),z(e)):(t.consume(e),R)}function z(n){return t.exit("htmlFlow"),e(n)}},resolveTo:function(t){let e=t.length;for(;e--&&("enter"!==t[e][0]||"htmlFlow"!==t[e][1].type););return e>1&&"linePrefix"===t[e-2][1].type&&(t[e][1].start=t[e-2][1].start,t[e+1][1].start=t[e-2][1].start,t.splice(e-2,2)),t},concrete:!0},ut={tokenize:function(t,e,n){return function(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(I,e,n)}},partial:!0},lt={tokenize:function(t,e,n){const i=this;return function(e){return v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r):n(e)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}},partial:!0},ht={tokenize:function(t,e,n){const i=this;return function(e){return null===e?n(e):(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}},partial:!0},ft={name:"codeFenced",tokenize:function(t,e,n){const i=this,r={tokenize:function(t,e,n){let r=0;return function(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),o};function o(e){return t.enter("codeFencedFence"),k(e)?C(t,c,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):c(e)}function c(e){return e===a?(t.enter("codeFencedFenceSequence"),u(e)):n(e)}function u(e){return e===a?(r++,t.consume(e),u):r>=s?(t.exit("codeFencedFenceSequence"),k(e)?C(t,l,"whitespace")(e):l(e)):n(e)}function l(i){return null===i||v(i)?(t.exit("codeFencedFence"),e(i)):n(i)}},partial:!0};let a,o=0,s=0;return function(e){return function(e){const n=i.events[i.events.length-1];return o=n&&"linePrefix"===n[1].type?n[2].sliceSerialize(n[1],!0).length:0,a=e,t.enter("codeFenced"),t.enter("codeFencedFence"),t.enter("codeFencedFenceSequence"),c(e)}(e)};function c(e){return e===a?(s++,t.consume(e),c):s<3?n(e):(t.exit("codeFencedFenceSequence"),k(e)?C(t,u,"whitespace")(e):u(e))}function u(n){return null===n||v(n)?(t.exit("codeFencedFence"),i.interrupt?e(n):t.check(ht,d,y)(n)):(t.enter("codeFencedFenceInfo"),t.enter("chunkString",{contentType:"string"}),l(n))}function l(e){return null===e||v(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),u(e)):k(e)?(t.exit("chunkString"),t.exit("codeFencedFenceInfo"),C(t,h,"whitespace")(e)):96===e&&e===a?n(e):(t.consume(e),l)}function h(e){return null===e||v(e)?u(e):(t.enter("codeFencedFenceMeta"),t.enter("chunkString",{contentType:"string"}),f(e))}function f(e){return null===e||v(e)?(t.exit("chunkString"),t.exit("codeFencedFenceMeta"),u(e)):96===e&&e===a?n(e):(t.consume(e),f)}function d(e){return t.attempt(r,y,g)(e)}function g(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p}function p(e){return o>0&&k(e)?C(t,b,"linePrefix",o+1)(e):b(e)}function b(e){return null===e||v(e)?t.check(ht,d,y)(e):(t.enter("codeFlowValue"),w(e))}function w(e){return null===e||v(e)?(t.exit("codeFlowValue"),b(e)):(t.consume(e),w)}function y(n){return t.exit("codeFenced"),e(n)}},concrete:!0},dt=document.createElement("i");function gt(t){const e="&"+t+";";dt.innerHTML=e;const n=dt.textContent;return(59!==n.charCodeAt(n.length-1)||"semi"===t)&&n!==e&&n}const pt={name:"characterReference",tokenize:function(t,e,n){const i=this;let r,a,o=0;return function(e){return t.enter("characterReference"),t.enter("characterReferenceMarker"),t.consume(e),t.exit("characterReferenceMarker"),s};function s(e){return 35===e?(t.enter("characterReferenceMarkerNumeric"),t.consume(e),t.exit("characterReferenceMarkerNumeric"),c):(t.enter("characterReferenceValue"),r=31,a=g,u(e))}function c(e){return 88===e||120===e?(t.enter("characterReferenceMarkerHexadecimal"),t.consume(e),t.exit("characterReferenceMarkerHexadecimal"),t.enter("characterReferenceValue"),r=6,a=y,u):(t.enter("characterReferenceValue"),r=7,a=w,u(e))}function u(s){if(59===s&&o){const r=t.exit("characterReferenceValue");return a!==g||gt(i.sliceSerialize(r))?(t.enter("characterReferenceMarker"),t.consume(s),t.exit("characterReferenceMarker"),t.exit("characterReference"),e):n(s)}return a(s)&&o++<r?(t.consume(s),u):n(s)}}},bt={name:"characterEscape",tokenize:function(t,e,n){return function(e){return t.enter("characterEscape"),t.enter("escapeMarker"),t.consume(e),t.exit("escapeMarker"),i};function i(i){return m(i)?(t.enter("characterEscapeValue"),t.consume(i),t.exit("characterEscapeValue"),t.exit("characterEscape"),e):n(i)}}},wt={name:"lineEnding",tokenize:function(t,e){return function(n){return t.enter("lineEnding"),t.consume(n),t.exit("lineEnding"),C(t,e,"linePrefix")}}},yt={name:"labelEnd",tokenize:function(t,e,n){const i=this;let r,a,o=i.events.length;for(;o--;)if(("labelImage"===i.events[o][1].type||"labelLink"===i.events[o][1].type)&&!i.events[o][1]._balanced){r=i.events[o][1];break}return function(e){return r?r._inactive?l(e):(a=i.parser.defined.includes(J(i.sliceSerialize({start:r.end,end:i.now()}))),t.enter("labelEnd"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelEnd"),s):n(e)};function s(e){return 40===e?t.attempt(mt,u,a?u:l)(e):91===e?t.attempt(vt,u,a?c:l)(e):a?u(e):l(e)}function c(e){return t.attempt(xt,u,l)(e)}function u(t){return e(t)}function l(t){return r._balanced=!0,n(t)}},resolveTo:function(t,e){let n,i,r,a,o=t.length,s=0;for(;o--;)if(n=t[o][1],i){if("link"===n.type||"labelLink"===n.type&&n._inactive)break;"enter"===t[o][0]&&"labelLink"===n.type&&(n._inactive=!0)}else if(r){if("enter"===t[o][0]&&("labelImage"===n.type||"labelLink"===n.type)&&!n._balanced&&(i=o,"labelLink"!==n.type)){s=2;break}}else"labelEnd"===n.type&&(r=o);const l={type:"labelLink"===t[i][1].type?"link":"image",start:Object.assign({},t[i][1].start),end:Object.assign({},t[t.length-1][1].end)},h={type:"label",start:Object.assign({},t[i][1].start),end:Object.assign({},t[r][1].end)},f={type:"labelText",start:Object.assign({},t[i+s+2][1].end),end:Object.assign({},t[r-2][1].start)};return a=[["enter",l,e],["enter",h,e]],a=u(a,t.slice(i+1,i+s+3)),a=u(a,[["enter",f,e]]),a=u(a,q(e.parser.constructs.insideSpan.null,t.slice(i+s+4,r-3),e)),a=u(a,[["exit",f,e],t[r-2],t[r-1],["exit",h,e]]),a=u(a,t.slice(r+1)),a=u(a,[["exit",l,e]]),c(t,i,t.length,a),t},resolveAll:function(t){let e=-1;for(;++e<t.length;){const n=t[e][1];"labelImage"!==n.type&&"labelLink"!==n.type&&"labelEnd"!==n.type||(t.splice(e+1,"labelImage"===n.type?4:2),n.type="data",e++)}return t}},mt={tokenize:function(t,e,n){return function(e){return t.enter("resource"),t.enter("resourceMarker"),t.consume(e),t.exit("resourceMarker"),i};function i(e){return x(e)?Q(t,r)(e):r(e)}function r(e){return 41===e?u(e):W(t,a,o,"resourceDestination","resourceDestinationLiteral","resourceDestinationLiteralMarker","resourceDestinationRaw","resourceDestinationString",32)(e)}function a(e){return x(e)?Q(t,s)(e):u(e)}function o(t){return n(t)}function s(e){return 34===e||39===e||40===e?V(t,c,n,"resourceTitle","resourceTitleMarker","resourceTitleString")(e):u(e)}function c(e){return x(e)?Q(t,u)(e):u(e)}function u(i){return 41===i?(t.enter("resourceMarker"),t.consume(i),t.exit("resourceMarker"),t.exit("resource"),e):n(i)}}},vt={tokenize:function(t,e,n){const i=this;return function(e){return X.call(i,t,r,a,"reference","referenceMarker","referenceString")(e)};function r(t){return i.parser.defined.includes(J(i.sliceSerialize(i.events[i.events.length-1][1]).slice(1,-1)))?e(t):n(t)}function a(t){return n(t)}}},xt={tokenize:function(t,e,n){return function(e){return t.enter("reference"),t.enter("referenceMarker"),t.consume(e),t.exit("referenceMarker"),i};function i(i){return 93===i?(t.enter("referenceMarker"),t.consume(i),t.exit("referenceMarker"),t.exit("reference"),e):n(i)}}};function kt(t){return null===t||x(t)||E(t)?1:_(t)?2:void 0}const _t={name:"attention",tokenize:function(t,e){const n=this.parser.constructs.attentionMarkers.null,i=this.previous,r=kt(i);let a;return function(e){return a=e,t.enter("attentionSequence"),o(e)};function o(s){if(s===a)return t.consume(s),o;const c=t.exit("attentionSequence"),u=kt(s),l=!u||2===u&&r||n.includes(s),h=!r||2===r&&u||n.includes(i);return c._open=Boolean(42===a?l:l&&(r||!h)),c._close=Boolean(42===a?h:h&&(u||!l)),e(s)}},resolveAll:function(t,e){let n,i,r,a,o,s,l,h,f=-1;for(;++f<t.length;)if("enter"===t[f][0]&&"attentionSequence"===t[f][1].type&&t[f][1]._close)for(n=f;n--;)if("exit"===t[n][0]&&"attentionSequence"===t[n][1].type&&t[n][1]._open&&e.sliceSerialize(t[n][1]).charCodeAt(0)===e.sliceSerialize(t[f][1]).charCodeAt(0)){if((t[n][1]._close||t[f][1]._open)&&(t[f][1].end.offset-t[f][1].start.offset)%3&&!((t[n][1].end.offset-t[n][1].start.offset+t[f][1].end.offset-t[f][1].start.offset)%3))continue;s=t[n][1].end.offset-t[n][1].start.offset>1&&t[f][1].end.offset-t[f][1].start.offset>1?2:1;const d=Object.assign({},t[n][1].end),g=Object.assign({},t[f][1].start);Et(d,-s),Et(g,s),a={type:s>1?"strongSequence":"emphasisSequence",start:d,end:Object.assign({},t[n][1].end)},o={type:s>1?"strongSequence":"emphasisSequence",start:Object.assign({},t[f][1].start),end:g},r={type:s>1?"strongText":"emphasisText",start:Object.assign({},t[n][1].end),end:Object.assign({},t[f][1].start)},i={type:s>1?"strong":"emphasis",start:Object.assign({},a.start),end:Object.assign({},o.end)},t[n][1].end=Object.assign({},a.start),t[f][1].start=Object.assign({},o.end),l=[],t[n][1].end.offset-t[n][1].start.offset&&(l=u(l,[["enter",t[n][1],e],["exit",t[n][1],e]])),l=u(l,[["enter",i,e],["enter",a,e],["exit",a,e],["enter",r,e]]),l=u(l,q(e.parser.constructs.insideSpan.null,t.slice(n+1,f),e)),l=u(l,[["exit",r,e],["enter",o,e],["exit",o,e],["exit",i,e]]),t[f][1].end.offset-t[f][1].start.offset?(h=2,l=u(l,[["enter",t[f][1],e],["exit",t[f][1],e]])):h=0,c(t,n-1,f-n+3,l),f=n+l.length-h-2;break}for(f=-1;++f<t.length;)"attentionSequence"===t[f][1].type&&(t[f][1].type="data");return t}};function Et(t,e){t.column+=e,t.offset+=e,t._bufferIndex+=e}const Tt={name:"htmlText",tokenize:function(t,e,n){const i=this;let r,a,o;return function(e){return t.enter("htmlText"),t.enter("htmlTextData"),t.consume(e),s};function s(e){return 33===e?(t.consume(e),c):47===e?(t.consume(e),T):63===e?(t.consume(e),_):d(e)?(t.consume(e),M):n(e)}function c(e){return 45===e?(t.consume(e),u):91===e?(t.consume(e),a=0,p):d(e)?(t.consume(e),m):n(e)}function u(e){return 45===e?(t.consume(e),f):n(e)}function l(e){return null===e?n(e):45===e?(t.consume(e),h):v(e)?(o=l,$(e)):(t.consume(e),l)}function h(e){return 45===e?(t.consume(e),f):l(e)}function f(t){return 62===t?F(t):45===t?h(t):l(t)}function p(e){return e==="CDATA[".charCodeAt(a++)?(t.consume(e),6===a?b:p):n(e)}function b(e){return null===e?n(e):93===e?(t.consume(e),w):v(e)?(o=b,$(e)):(t.consume(e),b)}function w(e){return 93===e?(t.consume(e),y):b(e)}function y(e){return 62===e?F(e):93===e?(t.consume(e),y):b(e)}function m(e){return null===e||62===e?F(e):v(e)?(o=m,$(e)):(t.consume(e),m)}function _(e){return null===e?n(e):63===e?(t.consume(e),E):v(e)?(o=_,$(e)):(t.consume(e),_)}function E(t){return 62===t?F(t):_(t)}function T(e){return d(e)?(t.consume(e),S):n(e)}function S(e){return 45===e||g(e)?(t.consume(e),S):A(e)}function A(e){return v(e)?(o=A,$(e)):k(e)?(t.consume(e),A):F(e)}function M(e){return 45===e||g(e)?(t.consume(e),M):47===e||62===e||x(e)?I(e):n(e)}function I(e){return 47===e?(t.consume(e),F):58===e||95===e||d(e)?(t.consume(e),L):v(e)?(o=I,$(e)):k(e)?(t.consume(e),I):F(e)}function L(e){return 45===e||46===e||58===e||95===e||g(e)?(t.consume(e),L):O(e)}function O(e){return 61===e?(t.consume(e),D):v(e)?(o=O,$(e)):k(e)?(t.consume(e),O):I(e)}function D(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),r=e,N):v(e)?(o=D,$(e)):k(e)?(t.consume(e),D):(t.consume(e),P)}function N(e){return e===r?(t.consume(e),r=void 0,B):null===e?n(e):v(e)?(o=N,$(e)):(t.consume(e),N)}function P(e){return null===e||34===e||39===e||60===e||61===e||96===e?n(e):47===e||62===e||x(e)?I(e):(t.consume(e),P)}function B(t){return 47===t||62===t||x(t)?I(t):n(t)}function F(i){return 62===i?(t.consume(i),t.exit("htmlTextData"),t.exit("htmlText"),e):n(i)}function $(e){return t.exit("htmlTextData"),t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),j}function j(e){return k(e)?C(t,R,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):R(e)}function R(e){return t.enter("htmlTextData"),o(e)}}},Ct={name:"codeText",tokenize:function(t,e,n){let i,r,a=0;return function(e){return t.enter("codeText"),t.enter("codeTextSequence"),o(e)};function o(e){return 96===e?(t.consume(e),a++,o):(t.exit("codeTextSequence"),s(e))}function s(e){return null===e?n(e):32===e?(t.enter("space"),t.consume(e),t.exit("space"),s):96===e?(r=t.enter("codeTextSequence"),i=0,u(e)):v(e)?(t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),s):(t.enter("codeTextData"),c(e))}function c(e){return null===e||32===e||96===e||v(e)?(t.exit("codeTextData"),s(e)):(t.consume(e),c)}function u(n){return 96===n?(t.consume(n),i++,u):i===a?(t.exit("codeTextSequence"),t.exit("codeText"),e(n)):(r.type="codeTextData",c(n))}},resolve:function(t){let e,n,i=t.length-4,r=3;if(!("lineEnding"!==t[r][1].type&&"space"!==t[r][1].type||"lineEnding"!==t[i][1].type&&"space"!==t[i][1].type))for(e=r;++e<i;)if("codeTextData"===t[e][1].type){t[r][1].type="codeTextPadding",t[i][1].type="codeTextPadding",r+=2,i-=2;break}for(e=r-1,i++;++e<=i;)void 0===n?e!==i&&"lineEnding"!==t[e][1].type&&(n=e):e!==i&&"lineEnding"!==t[e][1].type||(t[n][1].type="codeTextData",e!==n+2&&(t[n][1].end=t[e-1][1].end,t.splice(n+2,e-n-2),i-=e-n-2,e=n+2),n=void 0);return t},previous:function(t){return 96!==t||"characterEscape"===this.events[this.events.length-1][1].type}},St={42:U,43:U,45:U,48:U,49:U,50:U,51:U,52:U,53:U,54:U,55:U,56:U,57:U,62:K},At={91:tt},Mt={[-2]:nt,[-1]:nt,32:nt},It={35:rt,42:Z,45:[at,Z],60:ct,61:at,95:Z,96:ft,126:ft},Lt={38:pt,92:bt},Ot={[-5]:wt,[-4]:wt,[-3]:wt,33:{name:"labelStartImage",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelImage"),t.enter("labelImageMarker"),t.consume(e),t.exit("labelImageMarker"),r};function r(e){return 91===e?(t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelImage"),a):n(e)}function a(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}},resolveAll:yt.resolveAll},38:pt,42:_t,60:[{name:"autolink",tokenize:function(t,e,n){let i=0;return function(e){return t.enter("autolink"),t.enter("autolinkMarker"),t.consume(e),t.exit("autolinkMarker"),t.enter("autolinkProtocol"),r};function r(e){return d(e)?(t.consume(e),a):c(e)}function a(t){return 43===t||45===t||46===t||g(t)?(i=1,o(t)):c(t)}function o(e){return 58===e?(t.consume(e),i=0,s):(43===e||45===e||46===e||g(e))&&i++<32?(t.consume(e),o):(i=0,c(e))}function s(i){return 62===i?(t.exit("autolinkProtocol"),t.enter("autolinkMarker"),t.consume(i),t.exit("autolinkMarker"),t.exit("autolink"),e):null===i||32===i||60===i||b(i)?n(i):(t.consume(i),s)}function c(e){return 64===e?(t.consume(e),u):p(e)?(t.consume(e),c):n(e)}function u(t){return g(t)?l(t):n(t)}function l(n){return 46===n?(t.consume(n),i=0,u):62===n?(t.exit("autolinkProtocol").type="autolinkEmail",t.enter("autolinkMarker"),t.consume(n),t.exit("autolinkMarker"),t.exit("autolink"),e):h(n)}function h(e){if((45===e||g(e))&&i++<63){const n=45===e?h:l;return t.consume(e),n}return n(e)}}},Tt],91:{name:"labelStartLink",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("labelLink"),t.enter("labelMarker"),t.consume(e),t.exit("labelMarker"),t.exit("labelLink"),r};function r(t){return 94===t&&"_hiddenFootnoteSupport"in i.parser.constructs?n(t):e(t)}},resolveAll:yt.resolveAll},92:[{name:"hardBreakEscape",tokenize:function(t,e,n){return function(e){return t.enter("hardBreakEscape"),t.consume(e),i};function i(i){return v(i)?(t.exit("hardBreakEscape"),e(i)):n(i)}}},bt],93:yt,95:_t,96:Ct},Dt={null:[_t,B]},Nt={null:[42,95]},Pt={null:[]};const Bt=/[\0\t\n\r]/g;function Ft(t,e){const n=Number.parseInt(t,e);return n<9||11===n||n>13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"<22>":String.fromCharCode(n)}const $t=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function jt(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Ft(n.slice(e?2:1),e?16:10)}return gt(n)||t}function Rt(t){return t&&"object"==typeof t?"position"in t||"type"in t?qt(t.position):"start"in t||"end"in t?qt(t):"line"in t||"column"in t?zt(t):"":""}function zt(t){return Ht(t&&t.line)+":"+Ht(t&&t.column)}function qt(t){return zt(t&&t.start)+"-"+zt(t&&t.end)}function Ht(t){return t&&"number"==typeof t?t:1}const Zt={}.hasOwnProperty,Ut=function(t,e,n){return"string"!=typeof e&&(n=e,e=void 0),function(t){const e={transforms:[],canContainEols:["emphasis","fragment","heading","paragraph","strong"],enter:{autolink:c(k),autolinkProtocol:g,autolinkEmail:g,atxHeading:c(m),blockQuote:c((function(){return{type:"blockquote",children:[]}})),characterEscape:g,characterReference:g,codeFenced:c(y),codeFencedFenceInfo:u,codeFencedFenceMeta:u,codeIndented:c(y,u),codeText:c((function(){return{type:"inlineCode",value:""}}),u),codeTextData:g,data:g,codeFlowValue:g,definition:c((function(){return{type:"definition",identifier:"",label:null,title:null,url:""}})),definitionDestinationString:u,definitionLabelString:u,definitionTitleString:u,emphasis:c((function(){return{type:"emphasis",children:[]}})),hardBreakEscape:c(v),hardBreakTrailing:c(v),htmlFlow:c(x,u),htmlFlowData:g,htmlText:c(x,u),htmlTextData:g,image:c((function(){return{type:"image",title:null,url:"",alt:null}})),label:u,link:c(k),listItem:c((function(t){return{type:"listItem",spread:t._spread,checked:null,children:[]}})),listItemValue:function(t){s("expectingFirstListItemValue")&&(this.stack[this.stack.length-2].start=Number.parseInt(this.sliceSerialize(t),10),r("expectingFirstListItemValue"))},listOrdered:c(_,(function(){r("expectingFirstListItemValue",!0)})),listUnordered:c(_),paragraph:c((function(){return{type:"paragraph",children:[]}})),reference:function(){r("referenceType","collapsed")},referenceString:u,resourceDestinationString:u,resourceTitleString:u,setextHeading:c(m),strong:c((function(){return{type:"strong",children:[]}})),thematicBreak:c((function(){return{type:"thematicBreak"}}))},exit:{atxHeading:h(),atxHeadingSequence:function(t){const e=this.stack[this.stack.length-1];if(!e.depth){const n=this.sliceSerialize(t).length;e.depth=n}},autolink:h(),autolinkEmail:function(t){p.call(this,t),this.stack[this.stack.length-1].url="mailto:"+this.sliceSerialize(t)},autolinkProtocol:function(t){p.call(this,t),this.stack[this.stack.length-1].url=this.sliceSerialize(t)},blockQuote:h(),characterEscapeValue:p,characterReferenceMarkerHexadecimal:w,characterReferenceMarkerNumeric:w,characterReferenceValue:function(t){const e=this.sliceSerialize(t),n=s("characterReferenceType");let i;n?(i=Ft(e,"characterReferenceMarkerNumeric"===n?10:16),r("characterReferenceType")):i=gt(e);const a=this.stack.pop();a.value+=i,a.position.end=Yt(t.end)},codeFenced:h((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/^(\r?\n|\r)|(\r?\n|\r)$/g,""),r("flowCodeInside")})),codeFencedFence:function(){s("flowCodeInside")||(this.buffer(),r("flowCodeInside",!0))},codeFencedFenceInfo:function(){const t=this.resume();this.stack[this.stack.length-1].lang=t},codeFencedFenceMeta:function(){const t=this.resume();this.stack[this.stack.length-1].meta=t},codeFlowValue:p,codeIndented:h((function(){const t=this.resume();this.stack[this.stack.length-1].value=t.replace(/(\r?\n|\r)$/g,"")})),codeText:h((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),codeTextData:p,data:p,definition:h(),definitionDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},definitionLabelString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=J(this.sliceSerialize(t)).toLowerCase()},definitionTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},emphasis:h(),hardBreakEscape:h(b),hardBreakTrailing:h(b),htmlFlow:h((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlFlowData:p,htmlText:h((function(){const t=this.resume();this.stack[this.stack.length-1].value=t})),htmlTextData:p,image:h((function(){const t=this.stack[this.stack.length-1];if(s("inReference")){const e=s("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;r("referenceType")})),label:function(){const t=this.stack[this.stack.length-1],e=this.resume(),n=this.stack[this.stack.length-1];if(r("inReference",!0),"link"===n.type){const e=t.children;n.children=e}else n.alt=e},labelText:function(t){const e=this.sliceSerialize(t),n=this.stack[this.stack.length-2];n.label=function(t){return t.replace($t,jt)}(e),n.identifier=J(e).toLowerCase()},lineEnding:function(t){const n=this.stack[this.stack.length-1];if(s("atHardBreak"))return n.children[n.children.length-1].position.end=Yt(t.end),void r("atHardBreak");!s("setextHeadingSlurpLineEnding")&&e.canContainEols.includes(n.type)&&(g.call(this,t),p.call(this,t))},link:h((function(){const t=this.stack[this.stack.length-1];if(s("inReference")){const e=s("referenceType")||"shortcut";t.type+="Reference",t.referenceType=e,delete t.url,delete t.title}else delete t.identifier,delete t.label;r("referenceType")})),listItem:h(),listOrdered:h(),listUnordered:h(),paragraph:h(),referenceString:function(t){const e=this.resume(),n=this.stack[this.stack.length-1];n.label=e,n.identifier=J(this.sliceSerialize(t)).toLowerCase(),r("referenceType","full")},resourceDestinationString:function(){const t=this.resume();this.stack[this.stack.length-1].url=t},resourceTitleString:function(){const t=this.resume();this.stack[this.stack.length-1].title=t},resource:function(){r("inReference")},setextHeading:h((function(){r("setextHeadingSlurpLineEnding")})),setextHeadingLineSequence:function(t){this.stack[this.stack.length-1].depth=61===this.sliceSerialize(t).charCodeAt(0)?1:2},setextHeadingText:function(){r("setextHeadingSlurpLineEnding",!0)},strong:h(),thematicBreak:h()}};Gt(e,(t||{}).mdastExtensions||[]);const n={};return function(t){let n={type:"root",children:[]};const a={stack:[n],tokenStack:[],config:e,enter:l,exit:f,buffer:u,resume:d,setData:r,getData:s},o=[];let c=-1;for(;++c<t.length;)"listOrdered"!==t[c][1].type&&"listUnordered"!==t[c][1].type||("enter"===t[c][0]?o.push(c):c=i(t,o.pop(),c));for(c=-1;++c<t.length;){const n=e[t[c][0]];Zt.call(n,t[c][1].type)&&n[t[c][1].type].call(Object.assign({sliceSerialize:t[c][2].sliceSerialize},a),t[c][1])}if(a.tokenStack.length>0){const t=a.tokenStack[a.tokenStack.length-1];(t[1]||Wt).call(a,void 0,t[0])}for(n.position={start:Yt(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Yt(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},c=-1;++c<e.transforms.length;)n=e.transforms[c](n)||n;return n};function i(t,e,n){let i,r,a,o,s=e-1,c=-1,u=!1;for(;++s<=n;){const e=t[s];if("listUnordered"===e[1].type||"listOrdered"===e[1].type||"blockQuote"===e[1].type?("enter"===e[0]?c++:c--,o=void 0):"lineEndingBlank"===e[1].type?"enter"===e[0]&&(!i||o||c||a||(a=s),o=void 0):"linePrefix"===e[1].type||"listItemValue"===e[1].type||"listItemMarker"===e[1].type||"listItemPrefix"===e[1].type||"listItemPrefixWhitespace"===e[1].type||(o=void 0),!c&&"enter"===e[0]&&"listItemPrefix"===e[1].type||-1===c&&"exit"===e[0]&&("listUnordered"===e[1].type||"listOrdered"===e[1].type)){if(i){let o=s;for(r=void 0;o--;){const e=t[o];if("lineEnding"===e[1].type||"lineEndingBlank"===e[1].type){if("exit"===e[0])continue;r&&(t[r][1].type="lineEndingBlank",u=!0),e[1].type="lineEnding",r=o}else if("linePrefix"!==e[1].type&&"blockQuotePrefix"!==e[1].type&&"blockQuotePrefixWhitespace"!==e[1].type&&"blockQuoteMarker"!==e[1].type&&"listItemIndent"!==e[1].type)break}a&&(!r||a<r)&&(i._spread=!0),i.end=Object.assign({},r?t[r][1].start:e[1].end),t.splice(r||s,0,["exit",i,e[2]]),s++,n++}"listItemPrefix"===e[1].type&&(i={type:"listItem",_spread:!1,start:Object.assign({},e[1].start),end:void 0},t.splice(s,0,["enter",i,e[2]]),s++,n++,a=void 0,o=!0)}}return t[e][1]._spread=u,n}function r(t,e){n[t]=e}function s(t){return n[t]}function c(t,e){return function(n){l.call(this,t(n),n),e&&e.call(this,n)}}function u(){this.stack.push({type:"fragment",children:[]})}function l(t,e,n){return this.stack[this.stack.length-1].children.push(t),this.stack.push(t),this.tokenStack.push([e,n]),t.position={start:Yt(e.start)},t}function h(t){return function(e){t&&t.call(this,e),f.call(this,e)}}function f(t,e){const n=this.stack.pop(),i=this.tokenStack.pop();if(!i)throw new Error("Cannot close `"+t.type+"` ("+Rt({start:t.start,end:t.end})+"): its not open");return i[0].type!==t.type&&(e?e.call(this,t,i[0]):(i[1]||Wt).call(this,t,i[0])),n.position.end=Yt(t.end),n}function d(){return function(t,e){return o(t,"boolean"!=typeof a.includeImageAlt||a.includeImageAlt,"boolean"!=typeof a.includeHtml||a.includeHtml)}(this.stack.pop())}function g(t){const e=this.stack[this.stack.length-1];let n=e.children[e.children.length-1];n&&"text"===n.type||(n={type:"text",value:""},n.position={start:Yt(t.start)},e.children.push(n)),this.stack.push(n)}function p(t){const e=this.stack.pop();e.value+=this.sliceSerialize(t),e.position.end=Yt(t.end)}function b(){r("atHardBreak",!0)}function w(t){r("characterReferenceType",t.type)}function y(){return{type:"code",lang:null,meta:null,value:""}}function m(){return{type:"heading",depth:void 0,children:[]}}function v(){return{type:"break"}}function x(){return{type:"html",value:""}}function k(){return{type:"link",title:null,url:"",children:[]}}function _(t){return{type:"list",ordered:"listOrdered"===t.type,start:null,spread:t._spread,children:[]}}}(n)(function(t){for(;!L(t););return t}(function(t){const e=function(t){const e={};let n=-1;for(;++n<t.length;)h(e,t[n]);return e}([i,...(t||{}).extensions||[]]),n={defined:[],lazy:{},constructs:e,content:r(S),document:r(A),flow:r(P),string:r(F),text:r($)};return n;function r(t){return function(e){return H(n,t,e)}}}(n).document().write(function(){let t,e=1,n="",i=!0;return function(r,a,o){const s=[];let c,u,l,h,f;for(r=n+r.toString(a),l=0,n="",i&&(65279===r.charCodeAt(0)&&l++,i=void 0);l<r.length;){if(Bt.lastIndex=l,c=Bt.exec(r),h=c&&void 0!==c.index?c.index:r.length,f=r.charCodeAt(h),!c){n=r.slice(l);break}if(10===f&&l===h&&t)s.push(-3),t=void 0;else switch(t&&(s.push(-5),t=void 0),l<h&&(s.push(r.slice(l,h)),e+=h-l),f){case 0:s.push(65533),e++;break;case 9:for(u=4*Math.ceil(e/4),s.push(-2);e++<u;)s.push(-1);break;case 10:s.push(-4),e=1;break;default:t=!0,e=1}l=h+1}return o&&(t&&s.push(-5),n&&s.push(n),s.push(null)),s}}()(t,e,!0))))};function Yt(t){return{line:t.line,column:t.column,offset:t.offset}}function Gt(t,e){let n=-1;for(;++n<e.length;){const i=e[n];Array.isArray(i)?Gt(t,i):Kt(t,i)}}function Kt(t,e){let n;for(n in e)if(Zt.call(e,n))if("canContainEols"===n){const i=e[n];i&&t[n].push(...i)}else if("transforms"===n){const i=e[n];i&&t[n].push(...i)}else if("enter"===n||"exit"===n){const i=e[n];i&&Object.assign(t[n],i)}}function Wt(t,e){throw t?new Error("Cannot close `"+t.type+"` ("+Rt({start:t.start,end:t.end})+"): a different token (`"+e.type+"`, "+Rt({start:e.start,end:e.end})+") is open"):new Error("Cannot close document, a token (`"+e.type+"`, "+Rt({start:e.start,end:e.end})+") is still open")}var Xt=n(8464);function Vt(t){const e=function(t){const e=t.replace(/\n{2,}/g,"\n");return(0,Xt.Z)(e)}(t),{children:n}=Ut(e),i=[[]];let r=0;function a(t,e="normal"){"text"===t.type?t.value.split("\n").forEach(((t,n)=>{0!==n&&(r++,i.push([])),t.split(" ").forEach((t=>{t&&i[r].push({content:t,type:e})}))})):"strong"!==t.type&&"emphasis"!==t.type||t.children.forEach((e=>{a(e,t.type)}))}return n.forEach((t=>{"paragraph"===t.type&&t.children.forEach((t=>{a(t)}))})),i}function Qt(t,e){var n;return Jt(t,[],(n=e.content,Intl.Segmenter?[...(new Intl.Segmenter).segment(n)].map((t=>t.segment)):[...n]),e.type)}function Jt(t,e,n,i){if(0===n.length)return[{content:e.join(""),type:i},{content:"",type:i}];const[r,...a]=n,o=[...e,r];return t([{content:o.join(""),type:i}])?Jt(t,o,a,i):(0===e.length&&r&&(e.push(r),n.shift()),[{content:e.join(""),type:i},{content:n.join(""),type:i}])}function te(t,e){if(t.some((({content:t})=>t.includes("\n"))))throw new Error("splitLineToFitWidth does not support newlines in the line");return ee(t,e)}function ee(t,e,n=[],i=[]){if(0===t.length)return i.length>0&&n.push(i),n.length>0?n:[];let r="";" "===t[0].content&&(r=" ",t.shift());const a=t.shift()??{content:" ",type:"normal"},o=[...i];if(""!==r&&o.push({content:r,type:"normal"}),o.push(a),e(o))return ee(t,e,n,o);if(i.length>0)n.push(i),t.unshift(a);else if(a.content){const[i,r]=Qt(e,a);n.push([i]),r.content&&t.unshift(r)}return ee(t,e,n)}function ne(t,e,n){return t.append("tspan").attr("class","text-outer-tspan").attr("x",0).attr("y",e*n-.1+"em").attr("dy",n+"em")}function ie(t,e,n){const i=t.append("text"),r=ne(i,1,e);re(r,n);const a=r.node().getComputedTextLength();return i.remove(),a}function re(t,e){t.text(""),e.forEach(((e,n)=>{const i=t.append("tspan").attr("font-style","emphasis"===e.type?"italic":"normal").attr("class","text-inner-tspan").attr("font-weight","strong"===e.type?"bold":"normal");0===n?i.text(e.content):i.text(" "+e.content)}))}const ae=(t,e="",{style:n="",isTitle:i=!1,classes:a="",useHtmlLabels:o=!0,isNode:s=!0,width:c=200,addSvgBackground:u=!1}={})=>{if(r.l.info("createText",e,n,i,a,o,s,u),o){const i=function(t){const{children:e}=Ut(t);return e.map((function t(e){return"text"===e.type?e.value.replace(/\n/g,"<br/>"):"strong"===e.type?`<strong>${e.children.map(t).join("")}</strong>`:"emphasis"===e.type?`<em>${e.children.map(t).join("")}</em>`:"paragraph"===e.type?`<p>${e.children.map(t).join("")}</p>`:`Unsupported markdown: ${e.type}`})).join("")}(e),o=function(t,e,n,i,r=!1){const a=t.append("foreignObject"),o=a.append("xhtml:div"),s=e.label,c=e.isNode?"nodeLabel":"edgeLabel";var u,l;o.html(`\n <span class="${c} ${i}" `+(e.labelStyle?'style="'+e.labelStyle+'"':"")+">"+s+"</span>"),u=o,(l=e.labelStyle)&&u.attr("style",l),o.style("display","table-cell"),o.style("white-space","nowrap"),o.style("max-width",n+"px"),o.attr("xmlns","http://www.w3.org/1999/xhtml"),r&&o.attr("class","labelBkg");let h=o.node().getBoundingClientRect();return h.width===n&&(o.style("display","table"),o.style("white-space","break-spaces"),o.style("width",n+"px"),h=o.node().getBoundingClientRect()),a.style("width",h.width),a.style("height",h.height),a.node()}(t,{isNode:s,label:(0,r.J)(i).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:n.replace("fill:","color:")},c,a,u);return o}{const n=function(t,e,n,i=!1){const r=e.append("g"),a=r.insert("rect").attr("class","background"),o=r.append("text").attr("y","-10.1");let s=0;for(const e of n){const n=e=>ie(r,1.1,e)<=t,i=n(e)?[e]:te(e,n);for(const t of i)re(ne(o,s,1.1),t),s++}if(i){const t=o.node().getBBox(),e=2;return a.attr("x",-e).attr("y",-e).attr("width",t.width+2*e).attr("height",t.height+2*e),r.node()}return o.node()}(c,t,Vt(e),u);return n}}},580:(t,e,n)=>{"use strict";n.d(e,{a:()=>s,b:()=>C,c:()=>c,d:()=>N,e:()=>E,f:()=>P,g:()=>j,h:()=>F,i:()=>p,j:()=>L,l:()=>u,p:()=>S,s:()=>T,u:()=>l});var i=n(8454),r=n(7274),a=n(4027);const o={extension:(t,e,n)=>{i.l.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",n+"_"+e+"-extensionStart").attr("class","marker extension "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 1,7 L18,13 V 1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-extensionEnd").attr("class","marker extension "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 1,1 V 13 L18,7 Z")},composition:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-compositionStart").attr("class","marker composition "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-compositionEnd").attr("class","marker composition "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},aggregation:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-aggregationStart").attr("class","marker aggregation "+e).attr("refX",18).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-aggregationEnd").attr("class","marker aggregation "+e).attr("refX",1).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z")},dependency:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-dependencyStart").attr("class","marker dependency "+e).attr("refX",6).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 5,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",n+"_"+e+"-dependencyEnd").attr("class","marker dependency "+e).attr("refX",13).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},lollipop:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",13).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6),t.append("defs").append("marker").attr("id",n+"_"+e+"-lollipopEnd").attr("class","marker lollipop "+e).attr("refX",1).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","transparent").attr("cx",7).attr("cy",7).attr("r",6)},point:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",6).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",4.5).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 5 L 10 10 L 10 0 z").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},circle:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-circleEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",11).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-circleStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",-1).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("circle").attr("cx","5").attr("cy","5").attr("r","5").attr("class","arrowMarkerPath").style("stroke-width",1).style("stroke-dasharray","1,0")},cross:(t,e,n)=>{t.append("marker").attr("id",n+"_"+e+"-crossEnd").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",12).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0"),t.append("marker").attr("id",n+"_"+e+"-crossStart").attr("class","marker cross "+e).attr("viewBox","0 0 11 11").attr("refX",-1).attr("refY",5.2).attr("markerUnits","userSpaceOnUse").attr("markerWidth",11).attr("markerHeight",11).attr("orient","auto").append("path").attr("d","M 1,1 l 9,9 M 10,1 l -9,9").attr("class","arrowMarkerPath").style("stroke-width",2).style("stroke-dasharray","1,0")},barb:(t,e,n)=>{t.append("defs").append("marker").attr("id",n+"_"+e+"-barbEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",14).attr("markerUnits","strokeWidth").attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z")}},s=(t,e,n,i)=>{e.forEach((e=>{o[e](t,n,i)}))},c=(t,e,n,a)=>{let o=t||"";if("object"==typeof o&&(o=o[0]),(0,i.m)((0,i.c)().flowchart.htmlLabels)){return o=o.replace(/\\n|\n/g,"<br />"),i.l.info("vertexText"+o),function(t){const e=(0,r.Ys)(document.createElementNS("http://www.w3.org/2000/svg","foreignObject")),n=e.append("xhtml:div"),i=t.label,a=t.isNode?"nodeLabel":"edgeLabel";var o;return n.html('<span class="'+a+'" '+(t.labelStyle?'style="'+t.labelStyle+'"':"")+">"+i+"</span>"),(o=t.labelStyle)&&n.attr("style",o),n.style("display","inline-block"),n.style("white-space","nowrap"),n.attr("xmlns","http://www.w3.org/1999/xhtml"),e.node()}({isNode:a,label:(0,i.J)(o).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`)),labelStyle:e.replace("fill:","color:")})}{const t=document.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",e.replace("color:","fill:"));let i=[];i="string"==typeof o?o.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(o)?o:[];for(const e of i){const i=document.createElementNS("http://www.w3.org/2000/svg","tspan");i.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),i.setAttribute("dy","1em"),i.setAttribute("x","0"),n?i.setAttribute("class","title-row"):i.setAttribute("class","row"),i.textContent=e.trim(),t.appendChild(i)}return t}},u=async(t,e,n,o)=>{let s;const u=e.useHtmlLabels||(0,i.m)((0,i.c)().flowchart.htmlLabels);s=n||"node default";const l=t.insert("g").attr("class",s).attr("id",e.domId||e.id),h=l.insert("g").attr("class","label").attr("style",e.labelStyle);let f;f=void 0===e.labelText?"":"string"==typeof e.labelText?e.labelText:e.labelText[0];const d=h.node();let g;g="markdown"===e.labelType?(0,a.c)(h,(0,i.d)((0,i.J)(f),(0,i.c)()),{useHtmlLabels:u,width:e.width||(0,i.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):d.appendChild(c((0,i.d)((0,i.J)(f),(0,i.c)()),e.labelStyle,!1,o));let p=g.getBBox();const b=e.padding/2;if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=g.children[0],e=(0,r.Ys)(g),n=t.getElementsByTagName("img");if(n){const t=""===f.replace(/<img[^>]*>/g,"").trim();await Promise.all([...n].map((e=>new Promise((n=>{function r(){if(e.style.display="flex",e.style.flexDirection="column",t){const t=(0,i.c)().fontSize?(0,i.c)().fontSize:window.getComputedStyle(document.body).fontSize,n=5;e.style.width=parseInt(t,10)*n+"px"}else e.style.width="100%";n(e)}setTimeout((()=>{e.complete&&r()})),e.addEventListener("error",r),e.addEventListener("load",r)})))))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}return u?h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"):h.attr("transform","translate(0, "+-p.height/2+")"),e.centerLabel&&h.attr("transform","translate("+-p.width/2+", "+-p.height/2+")"),h.insert("rect",":first-child"),{shapeSvg:l,bbox:p,halfPadding:b,label:h}},l=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function h(t,e,n,i){return t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("class","label-container").attr("transform","translate("+-e/2+","+n/2+")")}function f(t,e,n,i){var r=t.x,a=t.y,o=r-i.x,s=a-i.y,c=Math.sqrt(e*e*s*s+n*n*o*o),u=Math.abs(e*n*o/c);i.x<r&&(u=-u);var l=Math.abs(e*n*s/c);return i.y<a&&(l=-l),{x:r+u,y:a+l}}function d(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,p,b,w;if(r=e.y-t.y,o=t.x-e.x,c=e.x*t.y-t.x*e.y,f=r*n.x+o*n.y+c,d=r*i.x+o*i.y+c,!(0!==f&&0!==d&&g(f,d)||(a=i.y-n.y,s=n.x-i.x,u=i.x*n.y-n.x*i.y,l=a*t.x+s*t.y+u,h=a*e.x+s*e.y+u,0!==l&&0!==h&&g(l,h)||0==(p=r*s-a*o))))return b=Math.abs(p/2),{x:(w=o*u-s*c)<0?(w-b)/p:(w+b)/p,y:(w=a*c-r*u)<0?(w-b)/p:(w+b)/p}}function g(t,e){return t*e>0}const p=(t,e)=>{var n,i,r=t.x,a=t.y,o=e.x-r,s=e.y-a,c=t.width/2,u=t.height/2;return Math.abs(s)*c>Math.abs(o)*u?(s<0&&(u=-u),n=0===s?0:u*o/s,i=u):(o<0&&(c=-c),n=c,i=0===o?0:c*s/o),{x:r+n,y:a+i}},b={node:function(t,e){return t.intersect(e)},circle:function(t,e,n){return f(t,e,e,n)},ellipse:f,polygon:function(t,e,n){var i=t.x,r=t.y,a=[],o=Number.POSITIVE_INFINITY,s=Number.POSITIVE_INFINITY;"function"==typeof e.forEach?e.forEach((function(t){o=Math.min(o,t.x),s=Math.min(s,t.y)})):(o=Math.min(o,e.x),s=Math.min(s,e.y));for(var c=i-t.width/2-o,u=r-t.height/2-s,l=0;l<e.length;l++){var h=e[l],f=e[l<e.length-1?l+1:0],g=d(t,n,{x:c+h.x,y:u+h.y},{x:c+f.x,y:u+f.y});g&&a.push(g)}return a.length?(a.length>1&&a.sort((function(t,e){var i=t.x-n.x,r=t.y-n.y,a=Math.sqrt(i*i+r*r),o=e.x-n.x,s=e.y-n.y,c=Math.sqrt(o*o+s*s);return a<c?-1:a===c?0:1})),a[0]):t},rect:p},w=t=>t?" "+t:"",y=(t,e)=>`${e||"node default"}${w(t.classes)} ${w(t.class)}`,m=async(t,e)=>{const{shapeSvg:n,bbox:r}=await u(t,e,y(e,void 0),!0),a=r.width+e.padding+(r.height+e.padding),o=[{x:a/2,y:0},{x:a,y:-a/2},{x:a/2,y:-a},{x:0,y:-a/2}];i.l.info("Question main (Circle)");const s=h(n,a,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return i.l.warn("Intersect called"),b.polygon(e,o,t)},n};function v(t,e,n,r){const a=[],o=t=>{a.push(t,0)},s=t=>{a.push(0,t)};e.includes("t")?(i.l.debug("add top border"),o(n)):s(n),e.includes("r")?(i.l.debug("add right border"),o(r)):s(r),e.includes("b")?(i.l.debug("add bottom border"),o(n)):s(n),e.includes("l")?(i.l.debug("add left border"),o(r)):s(r),t.attr("stroke-dasharray",a.join(" "))}const x=(t,e,n)=>{const i=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);let r=70,a=10;"LR"===n&&(r=10,a=70);const o=i.append("rect").attr("x",-1*r/2).attr("y",-1*a/2).attr("width",r).attr("height",a).attr("class","fork-join");return l(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return b.rect(e,t)},i},k={rhombus:m,question:m,rect:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await u(t,e,"node "+e.classes+" "+e.class,!0),o=n.insert("rect",":first-child"),s=r.width+e.padding,c=r.height+e.padding;if(o.attr("class","basic label-container").attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-a).attr("y",-r.height/2-a).attr("width",s).attr("height",c),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(v(o,e.props.borders,s,c),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return l(e,o),e.intersect=function(t){return b.rect(e,t)},n},labelRect:async(t,e)=>{const{shapeSvg:n}=await u(t,e,"label",!0);i.l.trace("Classes = ",e.class);const r=n.insert("rect",":first-child");if(r.attr("width",0).attr("height",0),n.attr("class","label edgeLabel"),e.props){const t=new Set(Object.keys(e.props));e.props.borders&&(v(r,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return l(e,r),e.intersect=function(t){return b.rect(e,t)},n},rectWithTitle:(t,e)=>{let n;n=e.classes?"node "+e.classes:"node default";const a=t.insert("g").attr("class",n).attr("id",e.domId||e.id),o=a.insert("rect",":first-child"),s=a.insert("line"),u=a.insert("g").attr("class","label"),h=e.labelText.flat?e.labelText.flat():e.labelText;let f="";f="object"==typeof h?h[0]:h,i.l.info("Label text abc79",f,h,"object"==typeof h);const d=u.node().appendChild(c(f,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=d.children[0],e=(0,r.Ys)(d);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}i.l.info("Text 2",h);const p=h.slice(1,h.length);let w=d.getBBox();const y=u.node().appendChild(c(p.join?p.join("<br/>"):p,e.labelStyle,!0,!0));if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=y.children[0],e=(0,r.Ys)(y);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const m=e.padding/2;return(0,r.Ys)(y).attr("transform","translate( "+(g.width>w.width?0:(w.width-g.width)/2)+", "+(w.height+m+5)+")"),(0,r.Ys)(d).attr("transform","translate( "+(g.width<w.width?0:-(w.width-g.width)/2)+", 0)"),g=u.node().getBBox(),u.attr("transform","translate("+-g.width/2+", "+(-g.height/2-m+3)+")"),o.attr("class","outer title-state").attr("x",-g.width/2-m).attr("y",-g.height/2-m).attr("width",g.width+e.padding).attr("height",g.height+e.padding),s.attr("class","divider").attr("x1",-g.width/2-m).attr("x2",g.width/2+m).attr("y1",-g.height/2-m+w.height+m).attr("y2",-g.height/2-m+w.height+m),l(e,o),e.intersect=function(t){return b.rect(e,t)},a},choice:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id);return n.insert("polygon",":first-child").attr("points",[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}].map((function(t){return t.x+","+t.y})).join(" ")).attr("class","state-start").attr("r",7).attr("width",28).attr("height",28),e.width=28,e.height=28,e.intersect=function(t){return b.circle(e,14,t)},n},circle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await u(t,e,y(e,void 0),!0),o=n.insert("circle",":first-child");return o.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),i.l.info("Circle main"),l(e,o),e.intersect=function(t){return i.l.info("Circle intersect",e,r.width/2+a,t),b.circle(e,r.width/2+a,t)},n},doublecircle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await u(t,e,y(e,void 0),!0),o=n.insert("g",":first-child"),s=o.insert("circle"),c=o.insert("circle");return o.attr("class",e.class),s.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a+5).attr("width",r.width+e.padding+10).attr("height",r.height+e.padding+10),c.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("r",r.width/2+a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),i.l.info("DoubleCircle main"),l(e,s),e.intersect=function(t){return i.l.info("DoubleCircle intersect",e,r.width/2+a+5,t),b.circle(e,r.width/2+a+5,t)},n},stadium:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.height+e.padding,a=i.width+r/4+e.padding,o=n.insert("rect",":first-child").attr("style",e.style).attr("rx",r/2).attr("ry",r/2).attr("x",-a/2).attr("y",-r/2).attr("width",a).attr("height",r);return l(e,o),e.intersect=function(t){return b.rect(e,t)},n},hexagon:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.height+e.padding,a=r/4,o=i.width+2*a+e.padding,s=[{x:a,y:0},{x:o-a,y:0},{x:o,y:-r/2},{x:o-a,y:-r},{x:a,y:-r},{x:0,y:-r/2}],c=h(n,o,r,s);return c.attr("style",e.style),l(e,c),e.intersect=function(t){return b.polygon(e,s,t)},n},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-a/2,y:0},{x:r,y:0},{x:r,y:-a},{x:-a/2,y:-a},{x:0,y:-a/2}];return h(n,r,a,o).attr("style",e.style),e.width=r+a,e.height=a,e.intersect=function(t){return b.polygon(e,o,t)},n},lean_right:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:a/6,y:-a}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},lean_left:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:2*a/6,y:0},{x:r+a/6,y:0},{x:r-2*a/6,y:-a},{x:-a/6,y:-a}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:-2*a/6,y:0},{x:r+2*a/6,y:0},{x:r-a/6,y:-a},{x:a/6,y:-a}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},inv_trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:a/6,y:0},{x:r-a/6,y:0},{x:r+2*a/6,y:-a},{x:-2*a/6,y:-a}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r+a/2,y:0},{x:r,y:-a/2},{x:r+a/2,y:-a},{x:0,y:-a}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},cylinder:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=r/2,o=a/(2.5+r/50),s=i.height+o+e.padding,c="M 0,"+o+" a "+a+","+o+" 0,0,0 "+r+" 0 a "+a+","+o+" 0,0,0 "+-r+" 0 l 0,"+s+" a "+a+","+o+" 0,0,0 "+r+" 0 l 0,"+-s,h=n.attr("label-offset-y",o).insert("path",":first-child").attr("style",e.style).attr("d",c).attr("transform","translate("+-r/2+","+-(s/2+o)+")");return l(e,h),e.intersect=function(t){const n=b.rect(e,t),i=n.x-e.x;if(0!=a&&(Math.abs(i)<e.width/2||Math.abs(i)==e.width/2&&Math.abs(n.y-e.y)>e.height/2-o)){let r=o*o*(1-i*i/(a*a));0!=r&&(r=Math.sqrt(r)),r=o-r,t.y-e.y>0&&(r=-r),n.y+=r}return n},n},start:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child");return i.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),l(e,i),e.intersect=function(t){return b.circle(e,7,t)},n},end:(t,e)=>{const n=t.insert("g").attr("class","node default").attr("id",e.domId||e.id),i=n.insert("circle",":first-child"),r=n.insert("circle",":first-child");return r.attr("class","state-start").attr("r",7).attr("width",14).attr("height",14),i.attr("class","state-end").attr("r",5).attr("width",10).attr("height",10),l(e,r),e.intersect=function(t){return b.circle(e,7,t)},n},note:async(t,e)=>{e.useHtmlLabels||(0,i.c)().flowchart.htmlLabels||(e.centerLabel=!0);const{shapeSvg:n,bbox:r,halfPadding:a}=await u(t,e,"node "+e.classes,!0);i.l.info("Classes = ",e.classes);const o=n.insert("rect",":first-child");return o.attr("rx",e.rx).attr("ry",e.ry).attr("x",-r.width/2-a).attr("y",-r.height/2-a).attr("width",r.width+e.padding).attr("height",r.height+e.padding),l(e,o),e.intersect=function(t){return b.rect(e,t)},n},subroutine:async(t,e)=>{const{shapeSvg:n,bbox:i}=await u(t,e,y(e,void 0),!0),r=i.width+e.padding,a=i.height+e.padding,o=[{x:0,y:0},{x:r,y:0},{x:r,y:-a},{x:0,y:-a},{x:0,y:0},{x:-8,y:0},{x:r+8,y:0},{x:r+8,y:-a},{x:-8,y:-a},{x:-8,y:0}],s=h(n,r,a,o);return s.attr("style",e.style),l(e,s),e.intersect=function(t){return b.polygon(e,o,t)},n},fork:x,join:x,class_box:(t,e)=>{const n=e.padding/2;let a;a=e.classes?"node "+e.classes:"node default";const o=t.insert("g").attr("class",a).attr("id",e.domId||e.id),s=o.insert("rect",":first-child"),u=o.insert("line"),h=o.insert("line");let f=0,d=4;const g=o.insert("g").attr("class","label");let p=0;const w=e.classData.annotations&&e.classData.annotations[0],y=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",m=g.node().appendChild(c(y,e.labelStyle,!0,!0));let v=m.getBBox();if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=m.children[0],e=(0,r.Ys)(m);v=t.getBoundingClientRect(),e.attr("width",v.width),e.attr("height",v.height)}e.classData.annotations[0]&&(d+=v.height+4,f+=v.width);let x=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,i.c)().flowchart.htmlLabels?x+="&lt;"+e.classData.type+"&gt;":x+="<"+e.classData.type+">");const k=g.node().appendChild(c(x,e.labelStyle,!0,!0));(0,r.Ys)(k).attr("class","classTitle");let _=k.getBBox();if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=k.children[0],e=(0,r.Ys)(k);_=t.getBoundingClientRect(),e.attr("width",_.width),e.attr("height",_.height)}d+=_.height+4,_.width>f&&(f=_.width);const E=[];e.classData.members.forEach((t=>{const n=t.getDisplayDetails();let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const o=g.node().appendChild(c(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=o.getBBox();if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=o.children[0],e=(0,r.Ys)(o);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>f&&(f=s.width),d+=s.height+4,E.push(o)})),d+=8;const T=[];if(e.classData.methods.forEach((t=>{const n=t.getDisplayDetails();let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(/</g,"&lt;").replace(/>/g,"&gt;"));const o=g.node().appendChild(c(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let s=o.getBBox();if((0,i.m)((0,i.c)().flowchart.htmlLabels)){const t=o.children[0],e=(0,r.Ys)(o);s=t.getBoundingClientRect(),e.attr("width",s.width),e.attr("height",s.height)}s.width>f&&(f=s.width),d+=s.height+4,T.push(o)})),d+=8,w){let t=(f-v.width)/2;(0,r.Ys)(m).attr("transform","translate( "+(-1*f/2+t)+", "+-1*d/2+")"),p=v.height+4}let C=(f-_.width)/2;return(0,r.Ys)(k).attr("transform","translate( "+(-1*f/2+C)+", "+(-1*d/2+p)+")"),p+=_.height+4,u.attr("class","divider").attr("x1",-f/2-n).attr("x2",f/2+n).attr("y1",-d/2-n+8+p).attr("y2",-d/2-n+8+p),p+=8,E.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-f/2+", "+(-1*d/2+p+4)+")");const e=null==t?void 0:t.getBBox();p+=((null==e?void 0:e.height)??0)+4})),p+=8,h.attr("class","divider").attr("x1",-f/2-n).attr("x2",f/2+n).attr("y1",-d/2-n+8+p).attr("y2",-d/2-n+8+p),p+=8,T.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-f/2+", "+(-1*d/2+p)+")");const e=null==t?void 0:t.getBBox();p+=((null==e?void 0:e.height)??0)+4})),s.attr("class","outer title-state").attr("x",-f/2-n).attr("y",-d/2-n).attr("width",f+e.padding).attr("height",d+e.padding),l(e,s),e.intersect=function(t){return b.rect(e,t)},o}};let _={};const E=async(t,e,n)=>{let r,a;if(e.link){let o;"sandbox"===(0,i.c)().securityLevel?o="_top":e.linkTarget&&(o=e.linkTarget||"_blank"),r=t.insert("svg:a").attr("xlink:href",e.link).attr("target",o),a=await k[e.shape](r,e,n)}else a=await k[e.shape](t,e,n),r=a;return e.tooltip&&a.attr("title",e.tooltip),e.class&&a.attr("class","node default "+e.class),_[e.id]=r,e.haveCallback&&_[e.id].attr("class",_[e.id].attr("class")+" clickable"),r},T=(t,e)=>{_[e.id]=t},C=()=>{_={}},S=t=>{const e=_[t.id];i.l.trace("Transforming node",t.diff,t,"translate("+(t.x-t.width/2-5)+", "+t.width/2+")");const n=t.diff||0;return t.clusterNode?e.attr("transform","translate("+(t.x+n-t.width/2)+", "+(t.y-t.height/2-8)+")"):e.attr("transform","translate("+t.x+", "+t.y+")"),n},A={aggregation:18,extension:18,composition:18,dependency:6,lollipop:13.5,arrow_point:5.3};function M(t,e){t=I(t),e=I(e);const[n,i]=[t.x,t.y],[r,a]=[e.x,e.y],o=r-n,s=a-i;return{angle:Math.atan(s/o),deltaX:o,deltaY:s}}const I=t=>Array.isArray(t)?{x:t[0],y:t[1]}:t,L=t=>({x:function(e,n,i){let r=0;if(0===n&&Object.hasOwn(A,t.arrowTypeStart)){const{angle:e,deltaX:n}=M(i[0],i[1]);r=A[t.arrowTypeStart]*Math.cos(e)*(n>=0?1:-1)}else if(n===i.length-1&&Object.hasOwn(A,t.arrowTypeEnd)){const{angle:e,deltaX:n}=M(i[i.length-1],i[i.length-2]);r=A[t.arrowTypeEnd]*Math.cos(e)*(n>=0?1:-1)}return I(e).x+r},y:function(e,n,i){let r=0;if(0===n&&Object.hasOwn(A,t.arrowTypeStart)){const{angle:e,deltaY:n}=M(i[0],i[1]);r=A[t.arrowTypeStart]*Math.abs(Math.sin(e))*(n>=0?1:-1)}else if(n===i.length-1&&Object.hasOwn(A,t.arrowTypeEnd)){const{angle:e,deltaY:n}=M(i[i.length-1],i[i.length-2]);r=A[t.arrowTypeEnd]*Math.abs(Math.sin(e))*(n>=0?1:-1)}return I(e).y+r}});let O={},D={};const N=()=>{O={},D={}},P=(t,e)=>{const n=(0,i.m)((0,i.c)().flowchart.htmlLabels),o="markdown"===e.labelType?(0,a.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0}):c(e.label,e.labelStyle);i.l.info("abc82",e,e.labelType);const s=t.insert("g").attr("class","edgeLabel"),u=s.insert("g").attr("class","label");u.node().appendChild(o);let l,h=o.getBBox();if(n){const t=o.children[0],e=(0,r.Ys)(o);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}if(u.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),O[e.id]=s,e.width=h.width,e.height=h.height,e.startLabelLeft){const n=c(e.startLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),D[e.id]||(D[e.id]={}),D[e.id].startLeft=i,B(l,e.startLabelLeft)}if(e.startLabelRight){const n=c(e.startLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=i.node().appendChild(n),r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),D[e.id]||(D[e.id]={}),D[e.id].startRight=i,B(l,e.startLabelRight)}if(e.endLabelLeft){const n=c(e.endLabelLeft,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),i.node().appendChild(n),D[e.id]||(D[e.id]={}),D[e.id].endLeft=i,B(l,e.endLabelLeft)}if(e.endLabelRight){const n=c(e.endLabelRight,e.labelStyle),i=t.insert("g").attr("class","edgeTerminals"),r=i.insert("g").attr("class","inner");l=r.node().appendChild(n);const a=n.getBBox();r.attr("transform","translate("+-a.width/2+", "+-a.height/2+")"),i.node().appendChild(n),D[e.id]||(D[e.id]={}),D[e.id].endRight=i,B(l,e.endLabelRight)}return o};function B(t,e){(0,i.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const F=(t,e)=>{i.l.info("Moving label abc78 ",t.id,t.label,O[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const r=O[t.id];let a=t.x,o=t.y;if(n){const r=i.u.calcLabelPosition(n);i.l.info("Moving label "+t.label+" from (",a,",",o,") to (",r.x,",",r.y,") abc78"),e.updatedPath&&(a=r.x,o=r.y)}r.attr("transform","translate("+a+", "+o+")")}if(t.startLabelLeft){const e=D[t.id].startLeft;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_left",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.startLabelRight){const e=D[t.id].startRight;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeStart?10:0,"start_right",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.endLabelLeft){const e=D[t.id].endLeft;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_left",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}if(t.endLabelRight){const e=D[t.id].endRight;let r=t.x,a=t.y;if(n){const e=i.u.calcTerminalLabelPosition(t.arrowTypeEnd?10:0,"end_right",n);r=e.x,a=e.y}e.attr("transform","translate("+r+", "+a+")")}},$=(t,e)=>{i.l.warn("abc88 cutPathAtIntersect",t,e);let n=[],r=t[0],a=!1;return t.forEach((t=>{if(i.l.info("abc88 checking point",t,e),((t,e)=>{const n=t.x,i=t.y,r=Math.abs(e.x-n),a=Math.abs(e.y-i),o=t.width/2,s=t.height/2;return r>=o||a>=s})(e,t)||a)i.l.warn("abc88 outside",t,r),r=t,a||n.push(t);else{const o=((t,e,n)=>{i.l.warn(`intersection calc abc89:\n outsidePoint: ${JSON.stringify(e)}\n insidePoint : ${JSON.stringify(n)}\n node : x:${t.x} y:${t.y} w:${t.width} h:${t.height}`);const r=t.x,a=t.y,o=Math.abs(r-n.x),s=t.width/2;let c=n.x<e.x?s-o:s+o;const u=t.height/2,l=Math.abs(e.y-n.y),h=Math.abs(e.x-n.x);if(Math.abs(a-e.y)*s>Math.abs(r-e.x)*u){let t=n.y<e.y?e.y-u-a:a-u-e.y;c=h*t/l;const r={x:n.x<e.x?n.x+c:n.x-h+c,y:n.y<e.y?n.y+l-t:n.y-l+t};return 0===c&&(r.x=e.x,r.y=e.y),0===h&&(r.x=e.x),0===l&&(r.y=e.y),i.l.warn(`abc89 topp/bott calc, Q ${l}, q ${t}, R ${h}, r ${c}`,r),r}{c=n.x<e.x?e.x-s-r:r-s-e.x;let t=l*c/h,a=n.x<e.x?n.x+h-c:n.x-h+c,o=n.y<e.y?n.y+t:n.y-t;return i.l.warn(`sides calc abc89, Q ${l}, q ${t}, R ${h}, r ${c}`,{_x:a,_y:o}),0===c&&(a=e.x,o=e.y),0===h&&(a=e.x),0===l&&(o=e.y),{x:a,y:o}}})(e,r,t);i.l.warn("abc88 inside",t,r,o),i.l.warn("abc88 intersection",o);let s=!1;n.forEach((t=>{s=s||t.x===o.x&&t.y===o.y})),n.some((t=>t.x===o.x&&t.y===o.y))?i.l.warn("abc88 no intersect",o,n):n.push(o),a=!0}})),i.l.warn("abc88 returning points",n),n},j=function(t,e,n,a,o,s,c){let u=n.points,l=!1;const h=s.node(e.v);var f=s.node(e.w);i.l.info("abc88 InsertEdge: ",n),f.intersect&&h.intersect&&(u=u.slice(1,n.points.length-1),u.unshift(h.intersect(u[0])),i.l.info("Last point",u[u.length-1],f,f.intersect(u[u.length-1])),u.push(f.intersect(u[u.length-1]))),n.toCluster&&(i.l.info("to cluster abc88",a[n.toCluster]),u=$(n.points,a[n.toCluster].node),l=!0),n.fromCluster&&(i.l.info("from cluster abc88",a[n.fromCluster]),u=$(u.reverse(),a[n.fromCluster].node).reverse(),l=!0);const d=u.filter((t=>!Number.isNaN(t.y)));let g=r.$0Z;!n.curve||"graph"!==o&&"flowchart"!==o||(g=n.curve);const{x:p,y:b}=L(n),w=(0,r.jvg)().x(p).y(b).curve(g);let y;switch(n.thickness){case"normal":y="edge-thickness-normal";break;case"thick":case"invisible":y="edge-thickness-thick";break;default:y=""}switch(n.pattern){case"solid":y+=" edge-pattern-solid";break;case"dotted":y+=" edge-pattern-dotted";break;case"dashed":y+=" edge-pattern-dashed"}const m=t.append("path").attr("d",w(d)).attr("id",n.id).attr("class"," "+y+(n.classes?" "+n.classes:"")).attr("style",n.style);let v="";switch(((0,i.c)().flowchart.arrowMarkerAbsolute||(0,i.c)().state.arrowMarkerAbsolute)&&(v=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,v=v.replace(/\(/g,"\\("),v=v.replace(/\)/g,"\\)")),i.l.info("arrowTypeStart",n.arrowTypeStart),i.l.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-crossStart)");break;case"arrow_point":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-pointStart)");break;case"arrow_barb":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-barbStart)");break;case"arrow_circle":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-circleStart)");break;case"aggregation":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-aggregationStart)");break;case"extension":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-extensionStart)");break;case"composition":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-compositionStart)");break;case"dependency":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-dependencyStart)");break;case"lollipop":m.attr("marker-start","url("+v+"#"+c+"_"+o+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-crossEnd)");break;case"arrow_point":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-pointEnd)");break;case"arrow_barb":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-barbEnd)");break;case"arrow_circle":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-circleEnd)");break;case"aggregation":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-aggregationEnd)");break;case"extension":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-extensionEnd)");break;case"composition":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-compositionEnd)");break;case"dependency":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-dependencyEnd)");break;case"lollipop":m.attr("marker-end","url("+v+"#"+c+"_"+o+"-lollipopEnd)")}let x={};return l&&(x.updatedPath=u),x.originalPath=n.points,x}},3305:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>A});var i=n(8454),r=n(5625),a=n(7274),o=n(3771);const s=[];for(let t=0;t<256;++t)s.push((t+256).toString(16).slice(1));const c=/^(?:[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}|00000000-0000-0000-0000-000000000000)$/i,u=function(t){if(!function(t){return"string"==typeof t&&c.test(t)}(t))throw TypeError("Invalid UUID");let e;const n=new Uint8Array(16);return n[0]=(e=parseInt(t.slice(0,8),16))>>>24,n[1]=e>>>16&255,n[2]=e>>>8&255,n[3]=255&e,n[4]=(e=parseInt(t.slice(9,13),16))>>>8,n[5]=255&e,n[6]=(e=parseInt(t.slice(14,18),16))>>>8,n[7]=255&e,n[8]=(e=parseInt(t.slice(19,23),16))>>>8,n[9]=255&e,n[10]=(e=parseInt(t.slice(24,36),16))/1099511627776&255,n[11]=e/4294967296&255,n[12]=e>>>24&255,n[13]=e>>>16&255,n[14]=e>>>8&255,n[15]=255&e,n};function l(t,e,n,i){switch(t){case 0:return e&n^~e&i;case 1:case 3:return e^n^i;case 2:return e&n^e&i^n&i}}function h(t,e){return t<<e|t>>>32-e}const f=function(t,e,n){function i(t,e,n,i){var r;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n<t.length;++n)e.push(t.charCodeAt(n));return e}(t)),"string"==typeof e&&(e=u(e)),16!==(null===(r=e)||void 0===r?void 0:r.length))throw TypeError("Namespace must be array-like (16 iterable integer values, 0-255)");let a=new Uint8Array(16+t.length);if(a.set(e),a.set(t,e.length),a=function(t){const e=[1518500249,1859775393,2400959708,3395469782],n=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof t){const e=unescape(encodeURIComponent(t));t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n))}else Array.isArray(t)||(t=Array.prototype.slice.call(t));t.push(128);const i=t.length/4+2,r=Math.ceil(i/16),a=new Array(r);for(let e=0;e<r;++e){const n=new Uint32Array(16);for(let i=0;i<16;++i)n[i]=t[64*e+4*i]<<24|t[64*e+4*i+1]<<16|t[64*e+4*i+2]<<8|t[64*e+4*i+3];a[e]=n}a[r-1][14]=8*(t.length-1)/Math.pow(2,32),a[r-1][14]=Math.floor(a[r-1][14]),a[r-1][15]=8*(t.length-1)&4294967295;for(let t=0;t<r;++t){const i=new Uint32Array(80);for(let e=0;e<16;++e)i[e]=a[t][e];for(let t=16;t<80;++t)i[t]=h(i[t-3]^i[t-8]^i[t-14]^i[t-16],1);let r=n[0],o=n[1],s=n[2],c=n[3],u=n[4];for(let t=0;t<80;++t){const n=Math.floor(t/20),a=h(r,5)+l(n,o,s,c)+u+e[n]+i[t]>>>0;u=c,c=s,s=h(o,30)>>>0,o=r,r=a}n[0]=n[0]+r>>>0,n[1]=n[1]+o>>>0,n[2]=n[2]+s>>>0,n[3]=n[3]+c>>>0,n[4]=n[4]+u>>>0}return[n[0]>>24&255,n[0]>>16&255,n[0]>>8&255,255&n[0],n[1]>>24&255,n[1]>>16&255,n[1]>>8&255,255&n[1],n[2]>>24&255,n[2]>>16&255,n[2]>>8&255,255&n[2],n[3]>>24&255,n[3]>>16&255,n[3]>>8&255,255&n[3],n[4]>>24&255,n[4]>>16&255,n[4]>>8&255,255&n[4]]}(a),a[6]=15&a[6]|80,a[8]=63&a[8]|128,n){i=i||0;for(let t=0;t<16;++t)n[i+t]=a[t];return n}return function(t,e=0){return s[t[e+0]]+s[t[e+1]]+s[t[e+2]]+s[t[e+3]]+"-"+s[t[e+4]]+s[t[e+5]]+"-"+s[t[e+6]]+s[t[e+7]]+"-"+s[t[e+8]]+s[t[e+9]]+"-"+s[t[e+10]]+s[t[e+11]]+s[t[e+12]]+s[t[e+13]]+s[t[e+14]]+s[t[e+15]]}(a)}try{i.name="v5"}catch(t){}return i.DNS="6ba7b810-9dad-11d1-80b4-00c04fd430c8",i.URL="6ba7b811-9dad-11d1-80b4-00c04fd430c8",i}();n(7484),n(7967),n(7856);var d=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,20,22,24,26,27,28],n=[1,10],i=[1,11],r=[1,12],a=[1,13],o=[1,14],s=[1,15],c=[1,21],u=[1,22],l=[1,23],h=[1,24],f=[1,25],d=[6,8,10,13,15,18,19,20,22,24,26,27,28,41,42,43,44,45],g=[1,34],p=[27,28,46,47],b=[41,42,43,44,45],w=[17,34],y=[1,54],m=[1,53],v=[17,34,36,38],x={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,entityName:11,relSpec:12,":":13,role:14,BLOCK_START:15,attributes:16,BLOCK_STOP:17,SQS:18,SQE:19,title:20,title_value:21,acc_title:22,acc_title_value:23,acc_descr:24,acc_descr_value:25,acc_descr_multiline_value:26,ALPHANUM:27,ENTITY_NAME:28,attribute:29,attributeType:30,attributeName:31,attributeKeyTypeList:32,attributeComment:33,ATTRIBUTE_WORD:34,attributeKeyType:35,COMMA:36,ATTRIBUTE_KEY:37,COMMENT:38,cardinality:39,relType:40,ZERO_OR_ONE:41,ZERO_OR_MORE:42,ONE_OR_MORE:43,ONLY_ONE:44,MD_PARENT:45,NON_IDENTIFYING:46,IDENTIFYING:47,WORD:48,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",8:"SPACE",10:"NEWLINE",13:":",15:"BLOCK_START",17:"BLOCK_STOP",18:"SQS",19:"SQE",20:"title",21:"title_value",22:"acc_title",23:"acc_title_value",24:"acc_descr",25:"acc_descr_value",26:"acc_descr_multiline_value",27:"ALPHANUM",28:"ENTITY_NAME",34:"ATTRIBUTE_WORD",36:"COMMA",37:"ATTRIBUTE_KEY",38:"COMMENT",41:"ZERO_OR_ONE",42:"ZERO_OR_MORE",43:"ONE_OR_MORE",44:"ONLY_ONE",45:"MD_PARENT",46:"NON_IDENTIFYING",47:"IDENTIFYING",48:"WORD"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,5],[9,4],[9,3],[9,1],[9,7],[9,6],[9,4],[9,2],[9,2],[9,2],[9,1],[11,1],[11,1],[16,1],[16,2],[29,2],[29,3],[29,3],[29,4],[30,1],[31,1],[32,1],[32,3],[35,1],[33,1],[12,3],[39,1],[39,1],[39,1],[39,1],[39,1],[40,1],[40,1],[14,1],[14,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:break;case 2:case 6:case 7:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:case 19:case 43:case 27:case 28:case 31:this.$=a[s];break;case 8:i.addEntity(a[s-4]),i.addEntity(a[s-2]),i.addRelationship(a[s-4],a[s],a[s-2],a[s-3]);break;case 9:i.addEntity(a[s-3]),i.addAttributes(a[s-3],a[s-1]);break;case 10:i.addEntity(a[s-2]);break;case 11:i.addEntity(a[s]);break;case 12:i.addEntity(a[s-6],a[s-4]),i.addAttributes(a[s-6],a[s-1]);break;case 13:i.addEntity(a[s-5],a[s-3]);break;case 14:i.addEntity(a[s-3],a[s-1]);break;case 15:case 16:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 20:case 41:case 42:case 32:this.$=a[s].replace(/"/g,"");break;case 21:case 29:this.$=[a[s]];break;case 22:a[s].push(a[s-1]),this.$=a[s];break;case 23:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 24:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 26:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 30:a[s-2].push(a[s]),this.$=a[s-2];break;case 33:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 34:this.$=i.Cardinality.ZERO_OR_ONE;break;case 35:this.$=i.Cardinality.ZERO_OR_MORE;break;case 36:this.$=i.Cardinality.ONE_OR_MORE;break;case 37:this.$=i.Cardinality.ONLY_ONE;break;case 38:this.$=i.Cardinality.MD_PARENT;break;case 39:this.$=i.Identification.NON_IDENTIFYING;break;case 40:this.$=i.Identification.IDENTIFYING}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:9,20:n,22:i,24:r,26:a,27:o,28:s},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:16,11:9,20:n,22:i,24:r,26:a,27:o,28:s},t(e,[2,5]),t(e,[2,6]),t(e,[2,11],{12:17,39:20,15:[1,18],18:[1,19],41:c,42:u,43:l,44:h,45:f}),{21:[1,26]},{23:[1,27]},{25:[1,28]},t(e,[2,18]),t(d,[2,19]),t(d,[2,20]),t(e,[2,4]),{11:29,27:o,28:s},{16:30,17:[1,31],29:32,30:33,34:g},{11:35,27:o,28:s},{40:36,46:[1,37],47:[1,38]},t(p,[2,34]),t(p,[2,35]),t(p,[2,36]),t(p,[2,37]),t(p,[2,38]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),{13:[1,39]},{17:[1,40]},t(e,[2,10]),{16:41,17:[2,21],29:32,30:33,34:g},{31:42,34:[1,43]},{34:[2,27]},{19:[1,44]},{39:45,41:c,42:u,43:l,44:h,45:f},t(b,[2,39]),t(b,[2,40]),{14:46,27:[1,49],28:[1,48],48:[1,47]},t(e,[2,9]),{17:[2,22]},t(w,[2,23],{32:50,33:51,35:52,37:y,38:m}),t([17,34,37,38],[2,28]),t(e,[2,14],{15:[1,55]}),t([27,28],[2,33]),t(e,[2,8]),t(e,[2,41]),t(e,[2,42]),t(e,[2,43]),t(w,[2,24],{33:56,36:[1,57],38:m}),t(w,[2,25]),t(v,[2,29]),t(w,[2,32]),t(v,[2,31]),{16:58,17:[1,59],29:32,30:33,34:g},t(w,[2,26]),{35:60,37:y},{17:[1,61]},t(e,[2,13]),t(v,[2,30]),t(e,[2,12])],defaultActions:{34:[2,27],41:[2,22]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},k={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("acc_title"),22;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),24;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 10;case 8:case 15:case 20:break;case 9:return 8;case 10:return 28;case 11:return 48;case 12:return 4;case 13:return this.begin("block"),15;case 14:return 36;case 16:return 37;case 17:case 18:return 34;case 19:return 38;case 21:return this.popState(),17;case 22:case 54:return e.yytext[0];case 23:return 18;case 24:return 19;case 25:case 29:case 30:case 43:return 41;case 26:case 27:case 28:case 36:case 38:case 45:return 43;case 31:case 32:case 33:case 34:case 35:case 37:case 44:return 42;case 39:case 40:case 41:case 42:return 44;case 46:return 45;case 47:case 50:case 51:case 52:return 46;case 48:case 49:return 47;case 53:return 27;case 55:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:[\s]+)/i,/^(?:"[^"%\r\n\v\b\\]+")/i,/^(?:"[^"]*")/i,/^(?:erDiagram\b)/i,/^(?:\{)/i,/^(?:,)/i,/^(?:\s+)/i,/^(?:\b((?:PK)|(?:FK)|(?:UK))\b)/i,/^(?:(.*?)[~](.*?)*[~])/i,/^(?:[\*A-Za-z_][A-Za-z0-9\-_\[\]\(\)]*)/i,/^(?:"[^"]*")/i,/^(?:[\n]+)/i,/^(?:\})/i,/^(?:.)/i,/^(?:\[)/i,/^(?:\])/i,/^(?:one or zero\b)/i,/^(?:one or more\b)/i,/^(?:one or many\b)/i,/^(?:1\+)/i,/^(?:\|o\b)/i,/^(?:zero or one\b)/i,/^(?:zero or more\b)/i,/^(?:zero or many\b)/i,/^(?:0\+)/i,/^(?:\}o\b)/i,/^(?:many\(0\))/i,/^(?:many\(1\))/i,/^(?:many\b)/i,/^(?:\}\|)/i,/^(?:one\b)/i,/^(?:only one\b)/i,/^(?:1\b)/i,/^(?:\|\|)/i,/^(?:o\|)/i,/^(?:o\{)/i,/^(?:\|\{)/i,/^(?:\s*u\b)/i,/^(?:\.\.)/i,/^(?:--)/i,/^(?:to\b)/i,/^(?:optionally to\b)/i,/^(?:\.-)/i,/^(?:-\.)/i,/^(?:[A-Za-z_][A-Za-z0-9\-_]*)/i,/^(?:.)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},block:{rules:[14,15,16,17,18,19,20,21,22],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}();d.parser=d;const g=d;let p={},b=[];const w=function(t,e=void 0){return void 0===p[t]?(p[t]={attributes:[],alias:e},i.l.info("Added new entity :",t)):p[t]&&!p[t].alias&&e&&(p[t].alias=e,i.l.info(`Add alias '${e}' to entity '${t}'`)),p[t]},y={Cardinality:{ZERO_OR_ONE:"ZERO_OR_ONE",ZERO_OR_MORE:"ZERO_OR_MORE",ONE_OR_MORE:"ONE_OR_MORE",ONLY_ONE:"ONLY_ONE",MD_PARENT:"MD_PARENT"},Identification:{NON_IDENTIFYING:"NON_IDENTIFYING",IDENTIFYING:"IDENTIFYING"},getConfig:()=>(0,i.c)().er,addEntity:w,addAttributes:function(t,e){let n,r=w(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),i.l.debug("Added attribute ",e[n].attributeName)},getEntities:()=>p,addRelationship:function(t,e,n,r){let a={entityA:t,roleA:e,entityB:n,relSpec:r};b.push(a),i.l.debug("Added new relationship :",a)},getRelationships:()=>b,clear:function(){p={},b=[],(0,i.t)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.q,getDiagramTitle:i.r},m={ONLY_ONE_START:"ONLY_ONE_START",ONLY_ONE_END:"ONLY_ONE_END",ZERO_OR_ONE_START:"ZERO_OR_ONE_START",ZERO_OR_ONE_END:"ZERO_OR_ONE_END",ONE_OR_MORE_START:"ONE_OR_MORE_START",ONE_OR_MORE_END:"ONE_OR_MORE_END",ZERO_OR_MORE_START:"ZERO_OR_MORE_START",ZERO_OR_MORE_END:"ZERO_OR_MORE_END",MD_PARENT_END:"MD_PARENT_END",MD_PARENT_START:"MD_PARENT_START"},v=m,x=/[^\dA-Za-z](\W)*/g;let k={},_=new Map;const E=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let T=0;const C="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function S(t=""){return t.length>0?`${t}-`:""}const A={parser:g,db:y,renderer:{setConf:function(t){const e=Object.keys(t);for(const n of e)k[n]=t[n]},draw:function(t,e,n,s){k=(0,i.c)().er,i.l.info("Drawing ER diagram");const c=(0,i.c)().securityLevel;let u;"sandbox"===c&&(u=(0,a.Ys)("#i"+e));const l=("sandbox"===c?(0,a.Ys)(u.nodes()[0].contentDocument.body):(0,a.Ys)("body")).select(`[id='${e}']`);let h;(function(t,e){let n;t.append("defs").append("marker").attr("id",m.MD_PARENT_START).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",m.MD_PARENT_END).attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L1,7 L9,1 Z"),t.append("defs").append("marker").attr("id",m.ONLY_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18 M15,0 L15,18"),t.append("defs").append("marker").attr("id",m.ONLY_ONE_END).attr("refX",18).attr("refY",9).attr("markerWidth",18).attr("markerHeight",18).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,0 L3,18 M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",m.ZERO_OR_ONE_START).attr("refX",0).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",21).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M9,0 L9,18"),n=t.append("defs").append("marker").attr("id",m.ZERO_OR_ONE_END).attr("refX",30).attr("refY",9).attr("markerWidth",30).attr("markerHeight",18).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",9).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,0 L21,18"),t.append("defs").append("marker").attr("id",m.ONE_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q 18,0 36,18 Q 18,36 0,18 M42,9 L42,27"),t.append("defs").append("marker").attr("id",m.ONE_OR_MORE_END).attr("refX",27).attr("refY",18).attr("markerWidth",45).attr("markerHeight",36).attr("orient","auto").append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M3,9 L3,27 M9,18 Q27,0 45,18 Q27,36 9,18"),n=t.append("defs").append("marker").attr("id",m.ZERO_OR_MORE_START).attr("refX",18).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",48).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M0,18 Q18,0 36,18 Q18,36 0,18"),n=t.append("defs").append("marker").attr("id",m.ZERO_OR_MORE_END).attr("refX",39).attr("refY",18).attr("markerWidth",57).attr("markerHeight",36).attr("orient","auto"),n.append("circle").attr("stroke",e.stroke).attr("fill","white").attr("cx",9).attr("cy",18).attr("r",6),n.append("path").attr("stroke",e.stroke).attr("fill","none").attr("d","M21,18 Q39,0 57,18 Q39,36 21,18")})(l,k),h=new r.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:k.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const d=function(t,e,n){let r;return Object.keys(e).forEach((function(a){const o=function(t="",e=""){const n=t.replace(x,"");return`${S(e)}${S(n)}${f(t,C)}`}(a,"entity");_.set(a,o);const s=t.append("g").attr("id",o);r=void 0===r?o:r;const c="text-"+o,u=s.append("text").classed("er entityLabel",!0).attr("id",c).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e[a].alias??a),{width:l,height:h}=((t,e,n)=>{const r=k.entityPadding/3,a=k.entityPadding/3,o=.85*k.fontSize,s=e.node().getBBox(),c=[];let u=!1,l=!1,h=0,f=0,d=0,g=0,p=s.height+2*r,b=1;n.forEach((t=>{void 0!==t.attributeKeyTypeList&&t.attributeKeyTypeList.length>0&&(u=!0),void 0!==t.attributeComment&&(l=!0)})),n.forEach((n=>{const a=`${e.node().id}-attr-${b}`;let s=0;const w=(0,i.v)(n.attributeType),y=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-type`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",o+"px").text(w),m=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-name`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",o+"px").text(n.attributeName),v={};v.tn=y,v.nn=m;const x=y.node().getBBox(),k=m.node().getBBox();if(h=Math.max(h,x.width),f=Math.max(f,k.width),s=Math.max(x.height,k.height),u){const e=void 0!==n.attributeKeyTypeList?n.attributeKeyTypeList.join(","):"",r=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-key`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",o+"px").text(e);v.kn=r;const c=r.node().getBBox();d=Math.max(d,c.width),s=Math.max(s,c.height)}if(l){const e=t.append("text").classed("er entityLabel",!0).attr("id",`${a}-comment`).attr("x",0).attr("y",0).style("dominant-baseline","middle").style("text-anchor","left").style("font-family",(0,i.c)().fontFamily).style("font-size",o+"px").text(n.attributeComment||"");v.cn=e;const r=e.node().getBBox();g=Math.max(g,r.width),s=Math.max(s,r.height)}v.height=s,c.push(v),p+=s+2*r,b+=1}));let w=4;u&&(w+=2),l&&(w+=2);const y=h+f+d+g,m={width:Math.max(k.minEntityWidth,Math.max(s.width+2*k.entityPadding,y+a*w)),height:n.length>0?p:Math.max(k.minEntityHeight,s.height+2*k.entityPadding)};if(n.length>0){const n=Math.max(0,(m.width-y-a*w)/(w/2));e.attr("transform","translate("+m.width/2+","+(r+s.height/2)+")");let i=s.height+2*r,o="attributeBoxOdd";c.forEach((e=>{const s=i+r+e.height/2;e.tn.attr("transform","translate("+a+","+s+")");const c=t.insert("rect","#"+e.tn.node().id).classed(`er ${o}`,!0).attr("x",0).attr("y",i).attr("width",h+2*a+n).attr("height",e.height+2*r),p=parseFloat(c.attr("x"))+parseFloat(c.attr("width"));e.nn.attr("transform","translate("+(p+a)+","+s+")");const b=t.insert("rect","#"+e.nn.node().id).classed(`er ${o}`,!0).attr("x",p).attr("y",i).attr("width",f+2*a+n).attr("height",e.height+2*r);let w=parseFloat(b.attr("x"))+parseFloat(b.attr("width"));if(u){e.kn.attr("transform","translate("+(w+a)+","+s+")");const c=t.insert("rect","#"+e.kn.node().id).classed(`er ${o}`,!0).attr("x",w).attr("y",i).attr("width",d+2*a+n).attr("height",e.height+2*r);w=parseFloat(c.attr("x"))+parseFloat(c.attr("width"))}l&&(e.cn.attr("transform","translate("+(w+a)+","+s+")"),t.insert("rect","#"+e.cn.node().id).classed(`er ${o}`,"true").attr("x",w).attr("y",i).attr("width",g+2*a+n).attr("height",e.height+2*r)),i+=e.height+2*r,o="attributeBoxOdd"===o?"attributeBoxEven":"attributeBoxOdd"}))}else m.height=Math.max(k.minEntityHeight,p),e.attr("transform","translate("+m.width/2+","+m.height/2+")");return m})(s,u,e[a].attributes),d=s.insert("rect","#"+c).classed("er entityBox",!0).attr("x",0).attr("y",0).attr("width",l).attr("height",h).node().getBBox();n.setNode(o,{width:d.width,height:d.height,shape:"rect",id:o})})),r}(l,s.db.getEntities(),h),g=function(t,e){return t.forEach((function(t){e.setEdge(_.get(t.entityA),_.get(t.entityB),{relationship:t},E(t))})),t}(s.db.getRelationships(),h);var p,b;(0,o.bK)(h),p=l,(b=h).nodes().forEach((function(t){void 0!==t&&void 0!==b.node(t)&&p.select("#"+t).attr("transform","translate("+(b.node(t).x-b.node(t).width/2)+","+(b.node(t).y-b.node(t).height/2)+" )")})),g.forEach((function(t){!function(t,e,n,r,o){T++;const s=n.edge(_.get(e.entityA),_.get(e.entityB),E(e)),c=(0,a.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(a.$0Z),u=t.insert("path","#"+r).classed("er relationshipLine",!0).attr("d",c(s.points)).style("stroke",k.stroke).style("fill","none");e.relSpec.relType===o.db.Identification.NON_IDENTIFYING&&u.attr("stroke-dasharray","8,8");let l="";switch(k.arrowMarkerAbsolute&&(l=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,l=l.replace(/\(/g,"\\("),l=l.replace(/\)/g,"\\)")),e.relSpec.cardA){case o.db.Cardinality.ZERO_OR_ONE:u.attr("marker-end","url("+l+"#"+v.ZERO_OR_ONE_END+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-end","url("+l+"#"+v.ZERO_OR_MORE_END+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-end","url("+l+"#"+v.ONE_OR_MORE_END+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-end","url("+l+"#"+v.ONLY_ONE_END+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-end","url("+l+"#"+v.MD_PARENT_END+")")}switch(e.relSpec.cardB){case o.db.Cardinality.ZERO_OR_ONE:u.attr("marker-start","url("+l+"#"+v.ZERO_OR_ONE_START+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-start","url("+l+"#"+v.ZERO_OR_MORE_START+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-start","url("+l+"#"+v.ONE_OR_MORE_START+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-start","url("+l+"#"+v.ONLY_ONE_START+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-start","url("+l+"#"+v.MD_PARENT_START+")")}const h=u.node().getTotalLength(),f=u.node().getPointAtLength(.5*h),d="rel"+T,g=t.append("text").classed("er relationshipLabel",!0).attr("id",d).attr("x",f.x).attr("y",f.y).style("text-anchor","middle").style("dominant-baseline","middle").style("font-family",(0,i.c)().fontFamily).style("font-size",k.fontSize+"px").text(e.roleA).node().getBBox();t.insert("rect","#"+d).classed("er relationshipLabelBox",!0).attr("x",f.x-g.width/2).attr("y",f.y-g.height/2).attr("width",g.width).attr("height",g.height)}(l,t,h,d,s)}));const w=k.diagramPadding;i.u.insertTitle(l,"entityTitleText",k.titleTopMargin,s.db.getDiagramTitle());const y=l.node().getBBox(),A=y.width+2*w,M=y.height+2*w;(0,i.i)(l,M,A,k.useMaxWidth),l.attr("viewBox",`${y.x-w} ${y.y-w} ${A} ${M}`)}},styles:t=>`\n .entityBox {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxOdd {\n fill: ${t.attributeBackgroundColorOdd};\n stroke: ${t.nodeBorder};\n }\n\n .attributeBoxEven {\n fill: ${t.attributeBackgroundColorEven};\n stroke: ${t.nodeBorder};\n }\n\n .relationshipLabelBox {\n fill: ${t.tertiaryColor};\n opacity: 0.7;\n background-color: ${t.tertiaryColor};\n rect {\n opacity: 0.5;\n }\n }\n\n .relationshipLine {\n stroke: ${t.lineColor};\n }\n\n .entityTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n } \n #MD_PARENT_START {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n #MD_PARENT_END {\n fill: #f5f5f5 !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n }\n \n`}},6320:(t,e,n)=>{"use strict";n.d(e,{d:()=>nt,f:()=>et,p:()=>o});var i=n(7274),r=n(8454),a=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,3],i=[1,5],r=[1,8,9,10,11,27,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],a=[2,2],o=[1,13],s=[1,14],c=[1,15],u=[1,16],l=[1,23],h=[1,25],f=[1,26],d=[1,27],g=[1,49],p=[1,48],b=[1,29],w=[1,30],y=[1,31],m=[1,32],v=[1,33],x=[1,44],k=[1,46],_=[1,42],E=[1,47],T=[1,43],C=[1,50],S=[1,45],A=[1,51],M=[1,52],I=[1,34],L=[1,35],O=[1,36],D=[1,37],N=[1,57],P=[1,8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],B=[1,61],F=[1,60],$=[1,62],j=[8,9,11,73,75],R=[1,88],z=[1,93],q=[1,92],H=[1,89],Z=[1,85],U=[1,91],Y=[1,87],G=[1,94],K=[1,90],W=[1,95],X=[1,86],V=[8,9,10,11,73,75],Q=[8,9,10,11,44,73,75],J=[8,9,10,11,29,42,44,46,48,50,52,54,56,58,61,63,65,66,68,73,75,86,99,102,103,106,108,111,112,113],tt=[8,9,11,42,58,73,75,86,99,102,103,106,108,111,112,113],et=[42,58,86,99,102,103,106,108,111,112,113],nt=[1,121],it=[1,120],rt=[1,128],at=[1,142],ot=[1,143],st=[1,144],ct=[1,145],ut=[1,130],lt=[1,132],ht=[1,136],ft=[1,137],dt=[1,138],gt=[1,139],pt=[1,140],bt=[1,141],wt=[1,146],yt=[1,147],mt=[1,126],vt=[1,127],xt=[1,134],kt=[1,129],_t=[1,133],Et=[1,131],Tt=[8,9,10,11,27,32,34,36,38,42,58,81,82,83,84,85,86,99,102,103,106,108,111,112,113,118,119,120,121],Ct=[1,149],St=[8,9,11],At=[8,9,10,11,14,42,58,86,102,103,106,108,111,112,113],Mt=[1,169],It=[1,165],Lt=[1,166],Ot=[1,170],Dt=[1,167],Nt=[1,168],Pt=[75,113,116],Bt=[8,9,10,11,12,14,27,29,32,42,58,73,81,82,83,84,85,86,87,102,106,108,111,112,113],Ft=[10,103],$t=[31,47,49,51,53,55,60,62,64,65,67,69,113,114,115],jt=[1,235],Rt=[1,233],zt=[1,237],qt=[1,231],Ht=[1,232],Zt=[1,234],Ut=[1,236],Yt=[1,238],Gt=[1,255],Kt=[8,9,11,103],Wt=[8,9,10,11,58,81,102,103,106,107,108,109],Xt={trace:function(){},yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeperator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,verticeStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,link:39,node:40,styledVertex:41,AMP:42,vertex:43,STYLE_SEPARATOR:44,idString:45,DOUBLECIRCLESTART:46,DOUBLECIRCLEEND:47,PS:48,PE:49,"(-":50,"-)":51,STADIUMSTART:52,STADIUMEND:53,SUBROUTINESTART:54,SUBROUTINEEND:55,VERTEX_WITH_PROPS_START:56,"NODE_STRING[field]":57,COLON:58,"NODE_STRING[value]":59,PIPE:60,CYLINDERSTART:61,CYLINDEREND:62,DIAMOND_START:63,DIAMOND_STOP:64,TAGEND:65,TRAPSTART:66,TRAPEND:67,INVTRAPSTART:68,INVTRAPEND:69,linkStatement:70,arrowText:71,TESTSTR:72,START_LINK:73,edgeText:74,LINK:75,edgeTextToken:76,STR:77,MD_STR:78,textToken:79,keywords:80,STYLE:81,LINKSTYLE:82,CLASSDEF:83,CLASS:84,CLICK:85,DOWN:86,UP:87,textNoTagsToken:88,stylesOpt:89,"idString[vertex]":90,"idString[class]":91,CALLBACKNAME:92,CALLBACKARGS:93,HREF:94,LINK_TARGET:95,"STR[link]":96,"STR[tooltip]":97,alphaNum:98,DEFAULT:99,numList:100,INTERPOLATE:101,NUM:102,COMMA:103,style:104,styleComponent:105,NODE_STRING:106,UNIT:107,BRKT:108,PCT:109,idStringToken:110,MINUS:111,MULT:112,UNICODE_TEXT:113,TEXT:114,TAGSTART:115,EDGE_TEXT:116,alphaNumToken:117,direction_tb:118,direction_bt:119,direction_rl:120,direction_lr:121,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",42:"AMP",44:"STYLE_SEPARATOR",46:"DOUBLECIRCLESTART",47:"DOUBLECIRCLEEND",48:"PS",49:"PE",50:"(-",51:"-)",52:"STADIUMSTART",53:"STADIUMEND",54:"SUBROUTINESTART",55:"SUBROUTINEEND",56:"VERTEX_WITH_PROPS_START",57:"NODE_STRING[field]",58:"COLON",59:"NODE_STRING[value]",60:"PIPE",61:"CYLINDERSTART",62:"CYLINDEREND",63:"DIAMOND_START",64:"DIAMOND_STOP",65:"TAGEND",66:"TRAPSTART",67:"TRAPEND",68:"INVTRAPSTART",69:"INVTRAPEND",72:"TESTSTR",73:"START_LINK",75:"LINK",77:"STR",78:"MD_STR",81:"STYLE",82:"LINKSTYLE",83:"CLASSDEF",84:"CLASS",85:"CLICK",86:"DOWN",87:"UP",90:"idString[vertex]",91:"idString[class]",92:"CALLBACKNAME",93:"CALLBACKARGS",94:"HREF",95:"LINK_TARGET",96:"STR[link]",97:"STR[tooltip]",99:"DEFAULT",101:"INTERPOLATE",102:"NUM",103:"COMMA",106:"NODE_STRING",107:"UNIT",108:"BRKT",109:"PCT",111:"MINUS",112:"MULT",113:"UNICODE_TEXT",114:"TEXT",115:"TAGSTART",116:"EDGE_TEXT",118:"direction_tb",119:"direction_bt",120:"direction_rl",121:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[20,3],[20,4],[20,2],[20,1],[40,1],[40,5],[41,1],[41,3],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,8],[43,4],[43,4],[43,4],[43,6],[43,4],[43,4],[43,4],[43,4],[43,4],[43,1],[39,2],[39,3],[39,3],[39,1],[39,3],[74,1],[74,2],[74,1],[74,1],[70,1],[71,3],[30,1],[30,2],[30,1],[30,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[80,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[100,1],[100,3],[89,1],[89,3],[104,1],[104,2],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[105,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[110,1],[79,1],[79,1],[79,1],[79,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[88,1],[76,1],[76,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[45,1],[45,2],[98,1],[98,2],[33,1],[33,1],[33,1],[33,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 176:case 49:case 71:case 174:this.$=a[s];break;case 11:i.setDirection("TB"),this.$="TB";break;case 12:i.setDirection(a[s-1]),this.$=a[s-1];break;case 27:this.$=a[s-1].nodes;break;case 33:this.$=i.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 34:this.$=i.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 35:this.$=i.addSubGraph(void 0,a[s-1],void 0);break;case 37:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 43:i.addLink(a[s-2].stmt,a[s],a[s-1]),this.$={stmt:a[s],nodes:a[s].concat(a[s-2].nodes)};break;case 44:i.addLink(a[s-3].stmt,a[s-1],a[s-2]),this.$={stmt:a[s-1],nodes:a[s-1].concat(a[s-3].nodes)};break;case 45:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 46:this.$={stmt:a[s],nodes:a[s]};break;case 47:case 121:case 123:this.$=[a[s]];break;case 48:this.$=a[s-4].concat(a[s]);break;case 50:this.$=a[s-2],i.setClass(a[s-2],a[s]);break;case 51:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"square");break;case 52:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"doublecircle");break;case 53:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"circle");break;case 54:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"ellipse");break;case 55:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"stadium");break;case 56:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"subroutine");break;case 57:this.$=a[s-7],i.addVertex(a[s-7],a[s-1],"rect",void 0,void 0,void 0,Object.fromEntries([[a[s-5],a[s-3]]]));break;case 58:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"cylinder");break;case 59:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"round");break;case 60:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"diamond");break;case 61:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"hexagon");break;case 62:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"odd");break;case 63:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"trapezoid");break;case 64:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 65:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_right");break;case 66:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_left");break;case 67:this.$=a[s],i.addVertex(a[s]);break;case 68:a[s-1].text=a[s],this.$=a[s-1];break;case 69:case 70:a[s-2].text=a[s-1],this.$=a[s-2];break;case 72:var c=i.destructLink(a[s],a[s-2]);this.$={type:c.type,stroke:c.stroke,length:c.length,text:a[s-1]};break;case 73:case 79:case 94:case 96:this.$={text:a[s],type:"text"};break;case 74:case 80:case 95:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 75:case 81:this.$={text:a[s],type:"string"};break;case 76:case 82:case 97:this.$={text:a[s],type:"markdown"};break;case 77:c=i.destructLink(a[s]),this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 78:this.$=a[s-1];break;case 98:this.$=a[s-4],i.addClass(a[s-2],a[s]);break;case 99:this.$=a[s-4],i.setClass(a[s-2],a[s]);break;case 100:case 108:this.$=a[s-1],i.setClickEvent(a[s-1],a[s]);break;case 101:case 109:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 102:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 103:this.$=a[s-4],i.setClickEvent(a[s-4],a[s-3],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 104:this.$=a[s-2],i.setLink(a[s-2],a[s]);break;case 105:this.$=a[s-4],i.setLink(a[s-4],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 106:this.$=a[s-4],i.setLink(a[s-4],a[s-2],a[s]);break;case 107:this.$=a[s-6],i.setLink(a[s-6],a[s-4],a[s]),i.setTooltip(a[s-6],a[s-2]);break;case 110:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 111:this.$=a[s-3],i.setLink(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 112:this.$=a[s-3],i.setLink(a[s-3],a[s-2],a[s]);break;case 113:this.$=a[s-5],i.setLink(a[s-5],a[s-4],a[s]),i.setTooltip(a[s-5],a[s-2]);break;case 114:this.$=a[s-4],i.addVertex(a[s-2],void 0,void 0,a[s]);break;case 115:this.$=a[s-4],i.updateLink([a[s-2]],a[s]);break;case 116:this.$=a[s-4],i.updateLink(a[s-2],a[s]);break;case 117:this.$=a[s-8],i.updateLinkInterpolate([a[s-6]],a[s-2]),i.updateLink([a[s-6]],a[s]);break;case 118:this.$=a[s-8],i.updateLinkInterpolate(a[s-6],a[s-2]),i.updateLink(a[s-6],a[s]);break;case 119:this.$=a[s-6],i.updateLinkInterpolate([a[s-4]],a[s]);break;case 120:this.$=a[s-6],i.updateLinkInterpolate(a[s-4],a[s]);break;case 122:case 124:a[s-2].push(a[s]),this.$=a[s-2];break;case 126:this.$=a[s-1]+a[s];break;case 175:case 177:this.$=a[s-1]+""+a[s];break;case 178:this.$={stmt:"dir",value:"TB"};break;case 179:this.$={stmt:"dir",value:"BT"};break;case 180:this.$={stmt:"dir",value:"RL"};break;case 181:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,9:e,10:n,12:i},{1:[3]},t(r,a,{5:6}),{4:7,9:e,10:n,12:i},{4:8,9:e,10:n,12:i},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:o,9:s,10:c,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:l,33:24,34:h,36:f,38:d,40:28,41:38,42:g,43:39,45:40,58:p,81:b,82:w,83:y,84:m,85:v,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M,118:I,119:L,120:O,121:D},t(r,[2,9]),t(r,[2,10]),t(r,[2,11]),{8:[1,54],9:[1,55],10:N,15:53,18:56},t(P,[2,3]),t(P,[2,4]),t(P,[2,5]),t(P,[2,6]),t(P,[2,7]),t(P,[2,8]),{8:B,9:F,11:$,21:58,39:59,70:63,73:[1,64],75:[1,65]},{8:B,9:F,11:$,21:66},{8:B,9:F,11:$,21:67},{8:B,9:F,11:$,21:68},{8:B,9:F,11:$,21:69},{8:B,9:F,11:$,21:70},{8:B,9:F,10:[1,71],11:$,21:72},t(P,[2,36]),{35:[1,73]},{37:[1,74]},t(P,[2,39]),t(j,[2,46],{18:75,10:N}),{10:[1,76]},{10:[1,77]},{10:[1,78]},{10:[1,79]},{14:R,42:z,58:q,77:[1,83],86:H,92:[1,80],94:[1,81],98:82,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X,117:84},t(P,[2,178]),t(P,[2,179]),t(P,[2,180]),t(P,[2,181]),t(V,[2,47]),t(V,[2,49],{44:[1,96]}),t(Q,[2,67],{110:109,29:[1,97],42:g,46:[1,98],48:[1,99],50:[1,100],52:[1,101],54:[1,102],56:[1,103],58:p,61:[1,104],63:[1,105],65:[1,106],66:[1,107],68:[1,108],86:x,99:k,102:_,103:E,106:T,108:C,111:S,112:A,113:M}),t(J,[2,174]),t(J,[2,135]),t(J,[2,136]),t(J,[2,137]),t(J,[2,138]),t(J,[2,139]),t(J,[2,140]),t(J,[2,141]),t(J,[2,142]),t(J,[2,143]),t(J,[2,144]),t(J,[2,145]),t(r,[2,12]),t(r,[2,18]),t(r,[2,19]),{9:[1,110]},t(tt,[2,26],{18:111,10:N}),t(P,[2,27]),{40:112,41:38,42:g,43:39,45:40,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},t(P,[2,40]),t(P,[2,41]),t(P,[2,42]),t(et,[2,71],{71:113,60:[1,115],72:[1,114]}),{74:116,76:117,77:[1,118],78:[1,119],113:nt,116:it},t([42,58,60,72,86,99,102,103,106,108,111,112,113],[2,77]),t(P,[2,28]),t(P,[2,29]),t(P,[2,30]),t(P,[2,31]),t(P,[2,32]),{10:rt,12:at,14:ot,27:st,28:122,32:ct,42:ut,58:lt,73:ht,77:[1,124],78:[1,125],80:135,81:ft,82:dt,83:gt,84:pt,85:bt,86:wt,87:yt,88:123,102:mt,106:vt,108:xt,111:kt,112:_t,113:Et},t(Tt,a,{5:148}),t(P,[2,37]),t(P,[2,38]),t(j,[2,45],{42:Ct}),{42:g,45:150,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},{99:[1,151],100:152,102:[1,153]},{42:g,45:154,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},{42:g,45:155,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},t(St,[2,100],{10:[1,156],93:[1,157]}),{77:[1,158]},t(St,[2,108],{117:160,10:[1,159],14:R,42:z,58:q,86:H,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X}),t(St,[2,110],{10:[1,161]}),t(At,[2,176]),t(At,[2,163]),t(At,[2,164]),t(At,[2,165]),t(At,[2,166]),t(At,[2,167]),t(At,[2,168]),t(At,[2,169]),t(At,[2,170]),t(At,[2,171]),t(At,[2,172]),t(At,[2,173]),{42:g,45:162,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},{30:163,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:171,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:173,48:[1,172],65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:174,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:175,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:176,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{106:[1,177]},{30:178,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:179,63:[1,180],65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:181,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:182,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{30:183,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},t(J,[2,175]),t(r,[2,20]),t(tt,[2,25]),t(j,[2,43],{18:184,10:N}),t(et,[2,68],{10:[1,185]}),{10:[1,186]},{30:187,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{75:[1,188],76:189,113:nt,116:it},t(Pt,[2,73]),t(Pt,[2,75]),t(Pt,[2,76]),t(Pt,[2,161]),t(Pt,[2,162]),{8:B,9:F,10:rt,11:$,12:at,14:ot,21:191,27:st,29:[1,190],32:ct,42:ut,58:lt,73:ht,80:135,81:ft,82:dt,83:gt,84:pt,85:bt,86:wt,87:yt,88:192,102:mt,106:vt,108:xt,111:kt,112:_t,113:Et},t(Bt,[2,94]),t(Bt,[2,96]),t(Bt,[2,97]),t(Bt,[2,150]),t(Bt,[2,151]),t(Bt,[2,152]),t(Bt,[2,153]),t(Bt,[2,154]),t(Bt,[2,155]),t(Bt,[2,156]),t(Bt,[2,157]),t(Bt,[2,158]),t(Bt,[2,159]),t(Bt,[2,160]),t(Bt,[2,83]),t(Bt,[2,84]),t(Bt,[2,85]),t(Bt,[2,86]),t(Bt,[2,87]),t(Bt,[2,88]),t(Bt,[2,89]),t(Bt,[2,90]),t(Bt,[2,91]),t(Bt,[2,92]),t(Bt,[2,93]),{6:11,7:12,8:o,9:s,10:c,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,193],33:24,34:h,36:f,38:d,40:28,41:38,42:g,43:39,45:40,58:p,81:b,82:w,83:y,84:m,85:v,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M,118:I,119:L,120:O,121:D},{10:N,18:194},{10:[1,195],42:g,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:109,111:S,112:A,113:M},{10:[1,196]},{10:[1,197],103:[1,198]},t(Ft,[2,121]),{10:[1,199],42:g,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:109,111:S,112:A,113:M},{10:[1,200],42:g,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:109,111:S,112:A,113:M},{77:[1,201]},t(St,[2,102],{10:[1,202]}),t(St,[2,104],{10:[1,203]}),{77:[1,204]},t(At,[2,177]),{77:[1,205],95:[1,206]},t(V,[2,50],{110:109,42:g,58:p,86:x,99:k,102:_,103:E,106:T,108:C,111:S,112:A,113:M}),{31:[1,207],65:Mt,79:208,113:Ot,114:Dt,115:Nt},t($t,[2,79]),t($t,[2,81]),t($t,[2,82]),t($t,[2,146]),t($t,[2,147]),t($t,[2,148]),t($t,[2,149]),{47:[1,209],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{30:210,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{49:[1,211],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{51:[1,212],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{53:[1,213],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{55:[1,214],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{58:[1,215]},{62:[1,216],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{64:[1,217],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{30:218,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},{31:[1,219],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{65:Mt,67:[1,220],69:[1,221],79:208,113:Ot,114:Dt,115:Nt},{65:Mt,67:[1,223],69:[1,222],79:208,113:Ot,114:Dt,115:Nt},t(j,[2,44],{42:Ct}),t(et,[2,70]),t(et,[2,69]),{60:[1,224],65:Mt,79:208,113:Ot,114:Dt,115:Nt},t(et,[2,72]),t(Pt,[2,74]),{30:225,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},t(Tt,a,{5:226}),t(Bt,[2,95]),t(P,[2,35]),{41:227,42:g,43:39,45:40,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},{10:jt,58:Rt,81:zt,89:228,102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},{10:jt,58:Rt,81:zt,89:239,101:[1,240],102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},{10:jt,58:Rt,81:zt,89:241,101:[1,242],102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},{102:[1,243]},{10:jt,58:Rt,81:zt,89:244,102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},{42:g,45:245,58:p,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M},t(St,[2,101]),{77:[1,246]},{77:[1,247],95:[1,248]},t(St,[2,109]),t(St,[2,111],{10:[1,249]}),t(St,[2,112]),t(Q,[2,51]),t($t,[2,80]),t(Q,[2,52]),{49:[1,250],65:Mt,79:208,113:Ot,114:Dt,115:Nt},t(Q,[2,59]),t(Q,[2,54]),t(Q,[2,55]),t(Q,[2,56]),{106:[1,251]},t(Q,[2,58]),t(Q,[2,60]),{64:[1,252],65:Mt,79:208,113:Ot,114:Dt,115:Nt},t(Q,[2,62]),t(Q,[2,63]),t(Q,[2,65]),t(Q,[2,64]),t(Q,[2,66]),t([10,42,58,86,99,102,103,106,108,111,112,113],[2,78]),{31:[1,253],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{6:11,7:12,8:o,9:s,10:c,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,254],33:24,34:h,36:f,38:d,40:28,41:38,42:g,43:39,45:40,58:p,81:b,82:w,83:y,84:m,85:v,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M,118:I,119:L,120:O,121:D},t(V,[2,48]),t(St,[2,114],{103:Gt}),t(Kt,[2,123],{105:256,10:jt,58:Rt,81:zt,102:qt,106:Ht,107:Zt,108:Ut,109:Yt}),t(Wt,[2,125]),t(Wt,[2,127]),t(Wt,[2,128]),t(Wt,[2,129]),t(Wt,[2,130]),t(Wt,[2,131]),t(Wt,[2,132]),t(Wt,[2,133]),t(Wt,[2,134]),t(St,[2,115],{103:Gt}),{10:[1,257]},t(St,[2,116],{103:Gt}),{10:[1,258]},t(Ft,[2,122]),t(St,[2,98],{103:Gt}),t(St,[2,99],{110:109,42:g,58:p,86:x,99:k,102:_,103:E,106:T,108:C,111:S,112:A,113:M}),t(St,[2,103]),t(St,[2,105],{10:[1,259]}),t(St,[2,106]),{95:[1,260]},{49:[1,261]},{60:[1,262]},{64:[1,263]},{8:B,9:F,11:$,21:264},t(P,[2,34]),{10:jt,58:Rt,81:zt,102:qt,104:265,105:230,106:Ht,107:Zt,108:Ut,109:Yt},t(Wt,[2,126]),{14:R,42:z,58:q,86:H,98:266,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X,117:84},{14:R,42:z,58:q,86:H,98:267,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X,117:84},{95:[1,268]},t(St,[2,113]),t(Q,[2,53]),{30:269,65:Mt,77:It,78:Lt,79:164,113:Ot,114:Dt,115:Nt},t(Q,[2,61]),t(Tt,a,{5:270}),t(Kt,[2,124],{105:256,10:jt,58:Rt,81:zt,102:qt,106:Ht,107:Zt,108:Ut,109:Yt}),t(St,[2,119],{117:160,10:[1,271],14:R,42:z,58:q,86:H,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X}),t(St,[2,120],{117:160,10:[1,272],14:R,42:z,58:q,86:H,102:Z,103:U,106:Y,108:G,111:K,112:W,113:X}),t(St,[2,107]),{31:[1,273],65:Mt,79:208,113:Ot,114:Dt,115:Nt},{6:11,7:12,8:o,9:s,10:c,11:u,20:17,22:18,23:19,24:20,25:21,26:22,27:l,32:[1,274],33:24,34:h,36:f,38:d,40:28,41:38,42:g,43:39,45:40,58:p,81:b,82:w,83:y,84:m,85:v,86:x,99:k,102:_,103:E,106:T,108:C,110:41,111:S,112:A,113:M,118:I,119:L,120:O,121:D},{10:jt,58:Rt,81:zt,89:275,102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},{10:jt,58:Rt,81:zt,89:276,102:qt,104:229,105:230,106:Ht,107:Zt,108:Ut,109:Yt},t(Q,[2,57]),t(P,[2,33]),t(St,[2,117],{103:Gt}),t(St,[2,118],{103:Gt})],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},Vt={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 8:case 11:case 14:case 17:case 27:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:this.begin("callbackname");break;case 9:this.popState(),this.begin("callbackargs");break;case 10:return 92;case 12:return 93;case 13:return"MD_STR";case 15:this.begin("md_string");break;case 16:return"STR";case 18:this.pushState("string");break;case 19:return 81;case 20:return 99;case 21:return 82;case 22:return 101;case 23:return 83;case 24:return 84;case 25:return 94;case 26:this.begin("click");break;case 28:return 85;case 29:case 30:case 31:return t.lex.firstGraph()&&this.begin("dir"),12;case 32:return 27;case 33:return 32;case 34:case 35:case 36:case 37:return 95;case 38:return this.popState(),13;case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 48:return this.popState(),14;case 49:return 118;case 50:return 119;case 51:return 120;case 52:return 121;case 53:return 102;case 54:case 95:return 108;case 55:return 44;case 56:return 58;case 57:case 96:return 42;case 58:return 8;case 59:return 103;case 60:case 94:return 112;case 61:case 64:case 67:return this.popState(),75;case 62:return this.pushState("edgeText"),73;case 63:case 66:case 69:return 116;case 65:return this.pushState("thickEdgeText"),73;case 68:return this.pushState("dottedEdgeText"),73;case 70:return 75;case 71:return this.popState(),51;case 72:case 108:return"TEXT";case 73:return this.pushState("ellipseText"),50;case 74:return this.popState(),53;case 75:return this.pushState("text"),52;case 76:return this.popState(),55;case 77:return this.pushState("text"),54;case 78:return 56;case 79:return this.pushState("text"),65;case 80:return this.popState(),62;case 81:return this.pushState("text"),61;case 82:return this.popState(),47;case 83:return this.pushState("text"),46;case 84:return this.popState(),67;case 85:return this.popState(),69;case 86:return 114;case 87:return this.pushState("trapText"),66;case 88:return this.pushState("trapText"),68;case 89:return 115;case 90:return 65;case 91:return 87;case 92:return"SEP";case 93:return 86;case 97:return 106;case 98:return 111;case 99:return 113;case 100:return this.popState(),60;case 101:return this.pushState("text"),60;case 102:return this.popState(),49;case 103:return this.pushState("text"),48;case 104:return this.popState(),31;case 105:return this.pushState("text"),29;case 106:return this.popState(),64;case 107:return this.pushState("text"),63;case 109:return"QUOTE";case 110:return 9;case 111:return 10;case 112:return 11}},rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|(?!\)+))/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{callbackargs:{rules:[11,12,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},callbackname:{rules:[8,9,10,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},href:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},click:{rules:[15,18,27,28,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dottedEdgeText:{rules:[15,18,67,69,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},thickEdgeText:{rules:[15,18,64,66,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},edgeText:{rules:[15,18,61,63,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},trapText:{rules:[15,18,70,73,75,77,81,83,84,85,86,87,88,101,103,105,107],inclusive:!1},ellipseText:{rules:[15,18,70,71,72,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},text:{rules:[15,18,70,73,74,75,76,77,80,81,82,83,87,88,100,101,102,103,104,105,106,107,108],inclusive:!1},vertex:{rules:[15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},dir:{rules:[15,18,38,39,40,41,42,43,44,45,46,47,48,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr_multiline:{rules:[5,6,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_descr:{rules:[3,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},acc_title:{rules:[1,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},md_string:{rules:[13,14,15,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},string:{rules:[15,16,17,18,70,73,75,77,81,83,87,88,101,103,105,107],inclusive:!1},INITIAL:{rules:[0,2,4,7,15,18,19,20,21,22,23,24,25,26,29,30,31,32,33,34,35,36,37,49,50,51,52,53,54,55,56,57,58,59,60,61,62,64,65,67,68,70,73,75,77,78,79,81,83,87,88,89,90,91,92,93,94,95,96,97,98,99,101,103,105,107,109,110,111,112],inclusive:!0}}};function Qt(){this.yy={}}return Xt.lexer=Vt,Qt.prototype=Xt,Xt.Parser=Qt,new Qt}();a.parser=a;const o=a;let s,c,u=0,l=(0,r.c)(),h={},f=[],d={},g=[],p={},b={},w=0,y=!0,m=[];const v=t=>r.e.sanitizeText(t,l),x=function(t){const e=Object.keys(h);for(const n of e)if(h[n].id===t)return h[n].domId;return t},k=function(t,e,n,i,a,o,s={}){let c,f=t;void 0!==f&&0!==f.trim().length&&(void 0===h[f]&&(h[f]={id:f,labelType:"text",domId:"flowchart-"+f+"-"+u,styles:[],classes:[]}),u++,void 0!==e?(l=(0,r.c)(),c=v(e.text.trim()),h[f].labelType=e.type,'"'===c[0]&&'"'===c[c.length-1]&&(c=c.substring(1,c.length-1)),h[f].text=c):void 0===h[f].text&&(h[f].text=t),void 0!==n&&(h[f].type=n),null!=i&&i.forEach((function(t){h[f].styles.push(t)})),null!=a&&a.forEach((function(t){h[f].classes.push(t)})),void 0!==o&&(h[f].dir=o),void 0===h[f].props?h[f].props=s:void 0!==s&&Object.assign(h[f].props,s))},_=function(t,e,n){const i={start:t,end:e,type:void 0,text:"",labelType:"text"};r.l.info("abc78 Got edge...",i);const a=n.text;void 0!==a&&(i.text=v(a.text.trim()),'"'===i.text[0]&&'"'===i.text[i.text.length-1]&&(i.text=i.text.substring(1,i.text.length-1)),i.labelType=a.type),void 0!==n&&(i.type=n.type,i.stroke=n.stroke,i.length=n.length),f.push(i)},E=function(t,e,n){let i,a;for(r.l.info("addLink (abc78)",t,e,n),i=0;i<t.length;i++)for(a=0;a<e.length;a++)_(t[i],e[a],n)},T=function(t,e){t.forEach((function(t){"default"===t?f.defaultInterpolate=e:f[t].interpolate=e}))},C=function(t,e){t.forEach((function(t){"default"===t?f.defaultStyle=e:(-1===r.u.isSubstringInArray("fill",e)&&e.push("fill:none"),f[t].style=e)}))},S=function(t,e){t.split(",").forEach((function(t){void 0===d[t]&&(d[t]={id:t,styles:[],textStyles:[]}),null!=e&&e.forEach((function(e){if(e.match("color")){const n=e.replace("fill","bgFill").replace("color","fill");d[t].textStyles.push(n)}d[t].styles.push(e)}))}))},A=function(t){s=t,s.match(/.*</)&&(s="RL"),s.match(/.*\^/)&&(s="BT"),s.match(/.*>/)&&(s="LR"),s.match(/.*v/)&&(s="TB"),"TD"===s&&(s="TB")},M=function(t,e){t.split(",").forEach((function(t){let n=t;void 0!==h[n]&&h[n].classes.push(e),void 0!==p[n]&&p[n].classes.push(e)}))},I=function(t,e,n){t.split(",").forEach((function(t){void 0!==h[t]&&(h[t].link=r.u.formatUrl(e,l),h[t].linkTarget=n)})),M(t,"clickable")},L=function(t){if(b.hasOwnProperty(t))return b[t]},O=function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){let i=x(t);if("loose"!==(0,r.c)().securityLevel)return;if(void 0===e)return;let a=[];if("string"==typeof n){a=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<a.length;t++){let e=a[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),a[t]=e}}0===a.length&&a.push(t),void 0!==h[t]&&(h[t].haveCallback=!0,m.push((function(){const t=document.querySelector(`[id="${i}"]`);null!==t&&t.addEventListener("click",(function(){r.u.runFunc(e,...a)}),!1)})))}(t,e,n)})),M(t,"clickable")},D=function(t){m.forEach((function(e){e(t)}))},N=function(){return s.trim()},P=function(){return h},B=function(){return f},F=function(){return d},$=function(t){let e=(0,i.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,i.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,i.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,i.Ys)(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/&lt;br\/&gt;/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,i.Ys)(this).classed("hover",!1)}))};m.push($);const j=function(t="gen-1"){h={},d={},f=[],m=[$],g=[],p={},w=0,b={},y=!0,c=t,(0,r.t)()},R=t=>{c=t||"gen-2"},z=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},q=function(t,e,n){let i=t.text.trim(),a=n.text;t===n&&n.text.match(/\s/)&&(i=void 0);let o=[];const{nodeList:s,dir:u}=function(t){const e={boolean:{},number:{},string:{}},n=[];let i;return{nodeList:t.filter((function(t){const r=typeof t;return t.stmt&&"dir"===t.stmt?(i=t.value,!1):""!==t.trim()&&(r in e?!e[r].hasOwnProperty(t)&&(e[r][t]=!0):!n.includes(t)&&n.push(t))})),dir:i}}(o.concat.apply(o,e));if(o=s,"gen-1"===c)for(let t=0;t<o.length;t++)o[t]=x(o[t]);i=i||"subGraph"+w,a=a||"",a=v(a),w+=1;const l={id:i,nodes:o,title:a.trim(),classes:[],dir:u,labelType:n.type};return r.l.info("Adding",l.id,l.nodes,l.dir),l.nodes=J(l,g).nodes,g.push(l),p[i]=l,i},H=function(t){for(const[e,n]of g.entries())if(n.id===t)return e;return-1};let Z=-1;const U=[],Y=function(t,e){const n=g[e].nodes;if(Z+=1,Z>2e3)return;if(U[Z]=e,g[e].id===t)return{result:!0,count:0};let i=0,r=1;for(;i<n.length;){const e=H(n[i]);if(e>=0){const n=Y(t,e);if(n.result)return{result:!0,count:r+n.count};r+=n.count}i+=1}return{result:!1,count:r}},G=function(t){return U[t]},K=function(){Z=-1,g.length>0&&Y("none",g.length-1)},W=function(){return g},X=()=>!!y&&(y=!1,!0),V=(t,e)=>{const n=(t=>{const e=t.trim();let n=e.slice(0,-1),i="arrow_open";switch(e.slice(-1)){case"x":i="arrow_cross","x"===e[0]&&(i="double_"+i,n=n.slice(1));break;case">":i="arrow_point","<"===e[0]&&(i="double_"+i,n=n.slice(1));break;case"o":i="arrow_circle","o"===e[0]&&(i="double_"+i,n=n.slice(1))}let r="normal",a=n.length-1;"="===n[0]&&(r="thick"),"~"===n[0]&&(r="invisible");let o=((t,e)=>{const n=e.length;let i=0;for(let t=0;t<n;++t)"."===e[t]&&++i;return i})(0,n);return o&&(r="dotted",a=o),{type:i,stroke:r,length:a}})(t);let i;if(e){if(i=(t=>{let e=t.trim(),n="arrow_open";switch(e[0]){case"<":n="arrow_point",e=e.slice(1);break;case"x":n="arrow_cross",e=e.slice(1);break;case"o":n="arrow_circle",e=e.slice(1)}let i="normal";return e.includes("=")&&(i="thick"),e.includes(".")&&(i="dotted"),{type:n,stroke:i}})(e),i.stroke!==n.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===i.type)i.type=n.type;else{if(i.type!==n.type)return{type:"INVALID",stroke:"INVALID"};i.type="double_"+i.type}return"double_arrow"===i.type&&(i.type="double_arrow_point"),i.length=n.length,i}return n},Q=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},J=(t,e)=>{const n=[];return t.nodes.forEach(((i,r)=>{Q(e,i)||n.push(t.nodes[r])})),{nodes:n}},tt={firstGraph:X},et={defaultConfig:()=>r.I.flowchart,setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,addVertex:k,lookUpDomId:x,addLink:E,updateLinkInterpolate:T,updateLink:C,addClass:S,setDirection:A,setClass:M,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(b["gen-1"===c?x(t):t]=v(e))}))},getTooltip:L,setClickEvent:O,setLink:I,bindFunctions:D,getDirection:N,getVertices:P,getEdges:B,getClasses:F,clear:j,setGen:R,defaultStyle:z,addSubGraph:q,getDepthFirstPos:G,indexNodes:K,getSubGraphs:W,destructLink:V,lex:tt,exists:Q,makeUniq:J,setDiagramTitle:r.q,getDiagramTitle:r.r},nt=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:E,addSingleLink:_,addSubGraph:q,addVertex:k,bindFunctions:D,clear:j,default:et,defaultStyle:z,destructLink:V,firstGraph:X,getClasses:F,getDepthFirstPos:G,getDirection:N,getEdges:B,getSubGraphs:W,getTooltip:L,getVertices:P,indexNodes:K,lex:tt,lookUpDomId:x,setClass:M,setClickEvent:O,setDirection:A,setGen:R,setLink:I,updateLink:C,updateLinkInterpolate:T},Symbol.toStringTag,{value:"Module"}))},1869:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>s});var i=n(6320),r=(n(5625),n(7274));n(8454),n(3402),n(3688),n(870),n(3771),n(6225),n(3349),n(6749),n(6446),n(3032),r.c_6;var a=n(1192);n(7484),n(7967),n(7856),n(9368);const o={},s={parser:i.p,db:i.f,renderer:a.f,styles:a.a,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,function(t){const e=Object.keys(t);for(const n of e)o[n]=t[n]}(t.flowchart),i.f.clear(),i.f.setGen("gen-1")}}},4626:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>o});var i=n(6320),r=n(1192),a=n(8454);n(7274),n(5625),n(3771),n(9368),n(7484),n(7967),n(7856);const o={parser:i.p,db:i.f,renderer:r.f,styles:r.a,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,(0,a.p)({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),r.f.setConf(t.flowchart),i.f.clear(),i.f.setGen("gen-2")}}},3366:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>y});var i=n(6320),r=n(7274),a=n(580),o=n(8454),s=n(7295);n(7484),n(7967),n(7856);const c=new s;let u={};const l={};let h={};const f=(t,e,n)=>{const i={TB:{in:{north:"north"},out:{south:"west",west:"east",east:"south"}},LR:{in:{west:"west"},out:{east:"south",south:"north",north:"east"}},RL:{in:{east:"east"},out:{west:"north",north:"south",south:"west"}},BT:{in:{south:"south"},out:{north:"east",east:"west",west:"north"}}};return i.TD=i.TB,o.l.info("abc88",n,e,t),i[n][e][t]},d=(t,e,n)=>{if(o.l.info("getNextPort abc88",{node:t,edgeDirection:e,graphDirection:n}),!u[t])switch(n){case"TB":case"TD":u[t]={inPosition:"north",outPosition:"south"};break;case"BT":u[t]={inPosition:"south",outPosition:"north"};break;case"RL":u[t]={inPosition:"east",outPosition:"west"};break;case"LR":u[t]={inPosition:"west",outPosition:"east"}}const i="in"===e?u[t].inPosition:u[t].outPosition;return"in"===e?u[t].inPosition=f(u[t].inPosition,e,n):u[t].outPosition=f(u[t].outPosition,e,n),i},g=function(t,e,n,i,o,s){const c=function(t,e,n){const i=((t,e,n)=>{const{parentById:i}=n,r=new Set;let a=t;for(;a;){if(r.add(a),a===e)return a;a=i[a]}for(a=e;a;){if(r.has(a))return a;a=i[a]}return"root"})(t,e,n);if(void 0===i||"root"===i)return{x:0,y:0};const r=h[i].offset;return{x:r.posX,y:r.posY}}(e.sourceId,e.targetId,o),u=e.sections[0].startPoint,l=e.sections[0].endPoint,f=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+c.x,t.y+c.y])),d=[[u.x+c.x,u.y+c.y],...f,[l.x+c.x,l.y+c.y]],{x:g,y:p}=(0,a.j)(e.edgeData),b=(0,r.jvg)().x(g).y(p).curve(r.c_6),w=t.insert("path").attr("d",b(d)).attr("class","path "+n.classes).attr("fill","none"),y=t.insert("g").attr("class","edgeLabel"),m=(0,r.Ys)(y.node().appendChild(e.labelEl)),v=m.node().firstChild.getBoundingClientRect();m.attr("width",v.width),m.attr("height",v.height),y.attr("transform",`translate(${e.labels[0].x+c.x}, ${e.labels[0].y+c.y})`),function(t,e,n,i,r){let a="";switch(i&&(a=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,a=a.replace(/\(/g,"\\("),a=a.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+a+"#"+r+"_"+n+"-lollipopStart)")}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+a+"#"+r+"_"+n+"-lollipopEnd)")}}(w,n,i.type,i.arrowMarkerAbsolute,s)},p=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(h[e])})),p(t.children,e)}))},b=(t,e,n,i,r,a,s)=>{n.forEach((function(n){if(n)if(h[n.id].offset={posX:n.x+t,posY:n.y+e,x:t,y:e,depth:s,width:n.width,height:n.height},"group"===n.type){const i=r.insert("g").attr("class","subgraph");i.insert("rect").attr("class","subgraph subgraph-lvl-"+s%5+" node").attr("x",n.x+t).attr("y",n.y+e).attr("width",n.width).attr("height",n.height);const a=i.insert("g").attr("class","label"),c=(0,o.c)().flowchart.htmlLabels?n.labelData.width/2:0;a.attr("transform",`translate(${n.labels[0].x+t+n.x+c}, ${n.labels[0].y+e+n.y+3})`),a.node().appendChild(n.labelData.labelNode),o.l.info("Id (UGH)= ",n.type,n.labels)}else o.l.info("Id (UGH)= ",n.id),n.el.attr("transform",`translate(${n.x+t+n.width/2}, ${n.y+e+n.height/2})`)})),n.forEach((function(n){n&&"group"===n.type&&b(t+n.x,e+n.y,n.children,i,r,a,s+1)}))},w={getClasses:function(t,e){return o.l.info("Extracting classes"),e.db.getClasses()},draw:async function(t,e,n,i){var s;h={},u={};const f=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let w={id:"root",layoutOptions:{"elk.hierarchyHandling":"INCLUDE_CHILDREN","org.eclipse.elk.padding":"[top=100, left=100, bottom=110, right=110]","elk.layered.spacing.edgeNodeBetweenLayers":"30","elk.direction":"DOWN"},children:[],edges:[]};switch(o.l.info("Drawing flowchart using v3 renderer",c),i.db.getDirection()){case"BT":w.layoutOptions["elk.direction"]="UP";break;case"TB":w.layoutOptions["elk.direction"]="DOWN";break;case"LR":w.layoutOptions["elk.direction"]="RIGHT";break;case"RL":w.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:y,flowchart:m}=(0,o.c)();let v;"sandbox"===y&&(v=(0,r.Ys)("#i"+e));const x="sandbox"===y?(0,r.Ys)(v.nodes()[0].contentDocument.body):(0,r.Ys)("body"),k="sandbox"===y?v.nodes()[0].contentDocument:document,_=x.select(`[id="${e}"]`);(0,a.a)(_,["point","circle","cross"],i.type,e);const E=i.db.getVertices();let T;const C=i.db.getSubGraphs();o.l.info("Subgraphs - ",C);for(let t=C.length-1;t>=0;t--)T=C[t],i.db.addVertex(T.id,{text:T.title,type:T.labelType},"group",void 0,T.classes,T.dir);const S=_.insert("g").attr("class","subgraphs"),A=function(t){const e={parentById:{},childrenById:{}},n=t.getSubGraphs();return o.l.info("Subgraphs - ",n),n.forEach((function(t){t.nodes.forEach((function(n){e.parentById[n]=t.id,void 0===e.childrenById[t.id]&&(e.childrenById[t.id]=[]),e.childrenById[t.id].push(n)}))})),n.forEach((function(t){t.id,void 0!==e.parentById[t.id]&&e.parentById[t.id]})),e}(i.db);w=await async function(t,e,n,i,r,s,c){const u=n.select(`[id="${e}"]`).insert("g").attr("class","nodes"),l=Object.keys(t);return await Promise.all(l.map((async function(e){const n=t[e];let c="default";n.classes.length>0&&(c=n.classes.join(" ")),c+=" flowchart-label";const l=(0,o.k)(n.styles);let f=void 0!==n.text?n.text:n.id;const d={width:0,height:0},g=[{id:n.id+"-west",layoutOptions:{"port.side":"WEST"}},{id:n.id+"-east",layoutOptions:{"port.side":"EAST"}},{id:n.id+"-south",layoutOptions:{"port.side":"SOUTH"}},{id:n.id+"-north",layoutOptions:{"port.side":"NORTH"}}];let p=0,b="",w={};switch(n.type){case"round":p=5,b="rect";break;case"square":case"group":default:b="rect";break;case"diamond":b="question",w={portConstraints:"FIXED_SIDE"};break;case"hexagon":b="hexagon";break;case"odd":case"odd_right":b="rect_left_inv_arrow";break;case"lean_right":b="lean_right";break;case"lean_left":b="lean_left";break;case"trapezoid":b="trapezoid";break;case"inv_trapezoid":b="inv_trapezoid";break;case"circle":b="circle";break;case"ellipse":b="ellipse";break;case"stadium":b="stadium";break;case"subroutine":b="subroutine";break;case"cylinder":b="cylinder";break;case"doublecircle":b="doublecircle"}const y={labelStyle:l.labelStyle,shape:b,labelText:f,labelType:n.labelType,rx:p,ry:p,class:c,style:l.style,id:n.id,link:n.link,linkTarget:n.linkTarget,tooltip:r.db.getTooltip(n.id)||"",domId:r.db.lookUpDomId(n.id),haveCallback:n.haveCallback,width:"group"===n.type?500:void 0,dir:n.dir,type:n.type,props:n.props,padding:(0,o.c)().flowchart.padding};let m,v;if("group"!==y.type)v=await(0,a.e)(u,y,n.dir),m=v.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:t,bbox:e}=await(0,a.l)(u,y,void 0,!0);d.width=e.width,d.wrappingWidth=(0,o.c)().flowchart.wrappingWidth,d.height=e.height,d.labelNode=t.node(),y.labelData=d}const x={id:n.id,ports:"diamond"===n.type?g:[],layoutOptions:w,labelText:f,labelData:d,domId:r.db.lookUpDomId(n.id),width:null==m?void 0:m.width,height:null==m?void 0:m.height,type:n.type,el:v,parent:s.parentById[n.id]};h[y.id]=x}))),c}(E,e,x,k,i,A,w);const M=_.insert("g").attr("class","edges edgePath"),I=i.db.getEdges();w=function(t,e,n,i){o.l.info("abc78 edges = ",t);const s=i.insert("g").attr("class","edgeLabels");let c,u,f={},g=e.db.getDirection();if(void 0!==t.defaultStyle){const e=(0,o.k)(t.defaultStyle);c=e.style,u=e.labelStyle}return t.forEach((function(e){const i="L-"+e.start+"-"+e.end;void 0===f[i]?(f[i]=0,o.l.info("abc78 new entry",i,f[i])):(f[i]++,o.l.info("abc78 new entry",i,f[i]));let p=i+"-"+f[i];o.l.info("abc78 new link id to be used is",i,p,f[i]);const b="LS-"+e.start,w="LE-"+e.end,y={style:"",labelStyle:""};switch(y.minlen=e.length||1,"arrow_open"===e.type?y.arrowhead="none":y.arrowhead="normal",y.arrowTypeStart="arrow_open",y.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":y.arrowTypeStart="arrow_cross";case"arrow_cross":y.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":y.arrowTypeStart="arrow_point";case"arrow_point":y.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":y.arrowTypeStart="arrow_circle";case"arrow_circle":y.arrowTypeEnd="arrow_circle"}let m="",v="";switch(e.stroke){case"normal":m="fill:none;",void 0!==c&&(m=c),void 0!==u&&(v=u),y.thickness="normal",y.pattern="solid";break;case"dotted":y.thickness="normal",y.pattern="dotted",y.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":y.thickness="thick",y.pattern="solid",y.style="stroke-width: 3.5px;fill:none;"}if(void 0!==e.style){const t=(0,o.k)(e.style);m=t.style,v=t.labelStyle}y.style=y.style+=m,y.labelStyle=y.labelStyle+=v,void 0!==e.interpolate?y.curve=(0,o.n)(e.interpolate,r.c_6):void 0!==t.defaultInterpolate?y.curve=(0,o.n)(t.defaultInterpolate,r.c_6):y.curve=(0,o.n)(l.curve,r.c_6),void 0===e.text?void 0!==e.style&&(y.arrowheadStyle="fill: #333"):(y.arrowheadStyle="fill: #333",y.labelpos="c"),y.labelType=e.labelType,y.label=e.text.replace(o.e.lineBreakRegex,"\n"),void 0===e.style&&(y.style=y.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),y.labelStyle=y.labelStyle.replace("color:","fill:"),y.id=p,y.classes="flowchart-link "+b+" "+w;const x=(0,a.f)(s,y),{source:k,target:_,sourceId:E,targetId:T}=((t,e)=>{let n=t.start,i=t.end;const r=n,a=i,o=h[n],s=h[i];return o&&s?("diamond"===o.type&&(n=`${n}-${d(n,"out",e)}`),"diamond"===s.type&&(i=`${i}-${d(i,"in",e)}`),{source:n,target:i,sourceId:r,targetId:a}):{source:n,target:i}})(e,g);o.l.debug("abc78 source and target",k,_),n.edges.push({id:"e"+e.start+e.end,sources:[k],targets:[_],sourceId:E,targetId:T,labelEl:x,labels:[{width:y.width,height:y.height,orgWidth:y.width,orgHeight:y.height,text:y.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:y})})),n}(I,i,w,_),Object.keys(h).forEach((t=>{const e=h[t];e.parent||w.children.push(e),void 0!==A.childrenById[t]&&(e.labels=[{text:e.labelText,layoutOptions:{"nodeLabels.placement":"[H_CENTER, V_TOP, INSIDE]"},width:e.labelData.width,height:e.labelData.height}],delete e.x,delete e.y,delete e.width,delete e.height)})),p(w.children,A),o.l.info("after layout",JSON.stringify(w,null,2));const L=await c.layout(w);b(0,0,L.children,_,S,i,0),o.l.info("after layout",L),null==(s=L.edges)||s.map((t=>{g(M,t,t.edgeData,i,A,e)})),(0,o.o)({},_,m.diagramPadding,m.useMaxWidth),f.remove()}},y={db:i.d,renderer:w,parser:i.p,styles:t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span {\n color: ${t.titleColor};\n }\n\n .label text,span {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.85;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n .subgraph {\n stroke-width:2;\n rx:3;\n }\n // .subgraph-lvl-1 {\n // fill:#ccc;\n // // stroke:black;\n // }\n\n .flowchart-label text {\n text-anchor: middle;\n }\n\n ${(t=>{let e="";for(let n=0;n<5;n++)e+=`\n .subgraph-lvl-${n} {\n fill: ${t[`surface${n}`]};\n stroke: ${t[`surfacePeer${n}`]};\n }\n `;return e})(t)}\n`}},1554:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>X});var i=n(7967),r=n(7484),a=n(9542),o=n(285),s=n(8734),c=n(8454),u=n(7274),l=(n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,30,32,33,35,37],n=[1,25],i=[1,26],r=[1,27],a=[1,28],o=[1,29],s=[1,30],c=[1,31],u=[1,9],l=[1,10],h=[1,11],f=[1,12],d=[1,13],g=[1,14],p=[1,15],b=[1,16],w=[1,18],y=[1,19],m=[1,20],v=[1,21],x=[1,22],k=[1,24],_=[1,32],E={trace:function(){},yy:{},symbols_:{error:2,start:3,gantt:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NL:10,weekday:11,weekday_monday:12,weekday_tuesday:13,weekday_wednesday:14,weekday_thursday:15,weekday_friday:16,weekday_saturday:17,weekday_sunday:18,dateFormat:19,inclusiveEndDates:20,topAxis:21,axisFormat:22,tickInterval:23,excludes:24,includes:25,todayMarker:26,title:27,acc_title:28,acc_title_value:29,acc_descr:30,acc_descr_value:31,acc_descr_multiline_value:32,section:33,clickStatement:34,taskTxt:35,taskData:36,click:37,callbackname:38,callbackargs:39,href:40,clickStatementDebug:41,$accept:0,$end:1},terminals_:{2:"error",4:"gantt",6:"EOF",8:"SPACE",10:"NL",12:"weekday_monday",13:"weekday_tuesday",14:"weekday_wednesday",15:"weekday_thursday",16:"weekday_friday",17:"weekday_saturday",18:"weekday_sunday",19:"dateFormat",20:"inclusiveEndDates",21:"topAxis",22:"axisFormat",23:"tickInterval",24:"excludes",25:"includes",26:"todayMarker",27:"title",28:"acc_title",29:"acc_title_value",30:"acc_descr",31:"acc_descr_value",32:"acc_descr_multiline_value",33:"section",35:"taskTxt",36:"taskData",37:"click",38:"callbackname",39:"callbackargs",40:"href"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[11,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,2],[34,2],[34,3],[34,3],[34,4],[34,3],[34,4],[34,2],[41,2],[41,3],[41,3],[41,4],[41,3],[41,4],[41,2]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 2:case 6:case 7:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 8:i.setWeekday("monday");break;case 9:i.setWeekday("tuesday");break;case 10:i.setWeekday("wednesday");break;case 11:i.setWeekday("thursday");break;case 12:i.setWeekday("friday");break;case 13:i.setWeekday("saturday");break;case 14:i.setWeekday("sunday");break;case 15:i.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 16:i.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 17:i.TopAxis(),this.$=a[s].substr(8);break;case 18:i.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 19:i.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 20:i.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 21:i.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 22:i.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 24:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 25:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 26:case 27:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 28:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 30:i.addTask(a[s-1],a[s]),this.$="task";break;case 31:this.$=a[s-1],i.setClickEvent(a[s-1],a[s],null);break;case 32:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 33:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],null),i.setLink(a[s-2],a[s]);break;case 34:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setLink(a[s-3],a[s]);break;case 35:this.$=a[s-2],i.setClickEvent(a[s-2],a[s],null),i.setLink(a[s-2],a[s-1]);break;case 36:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-1],a[s]),i.setLink(a[s-3],a[s-2]);break;case 37:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 38:case 44:this.$=a[s-1]+" "+a[s];break;case 39:case 40:case 42:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:case 43:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:17,12:n,13:i,14:r,15:a,16:o,17:s,18:c,19:u,20:l,21:h,22:f,23:d,24:g,25:p,26:b,27:w,28:y,30:m,32:v,33:x,34:23,35:k,37:_},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:33,11:17,12:n,13:i,14:r,15:a,16:o,17:s,18:c,19:u,20:l,21:h,22:f,23:d,24:g,25:p,26:b,27:w,28:y,30:m,32:v,33:x,34:23,35:k,37:_},t(e,[2,5]),t(e,[2,6]),t(e,[2,15]),t(e,[2,16]),t(e,[2,17]),t(e,[2,18]),t(e,[2,19]),t(e,[2,20]),t(e,[2,21]),t(e,[2,22]),t(e,[2,23]),t(e,[2,24]),{29:[1,34]},{31:[1,35]},t(e,[2,27]),t(e,[2,28]),t(e,[2,29]),{36:[1,36]},t(e,[2,8]),t(e,[2,9]),t(e,[2,10]),t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),{38:[1,37],40:[1,38]},t(e,[2,4]),t(e,[2,25]),t(e,[2,26]),t(e,[2,30]),t(e,[2,31],{39:[1,39],40:[1,40]}),t(e,[2,37],{38:[1,41]}),t(e,[2,32],{40:[1,42]}),t(e,[2,33]),t(e,[2,35],{39:[1,43]}),t(e,[2,34]),t(e,[2,36])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},T={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("open_directive"),"open_directive";case 1:return this.begin("acc_title"),28;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),30;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 16:case 19:case 22:case 25:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:case 9:case 10:case 12:case 13:case 14:break;case 11:return 10;case 15:this.begin("href");break;case 17:return 40;case 18:this.begin("callbackname");break;case 20:this.popState(),this.begin("callbackargs");break;case 21:return 38;case 23:return 39;case 24:this.begin("click");break;case 26:return 37;case 27:return 4;case 28:return 19;case 29:return 20;case 30:return 21;case 31:return 22;case 32:return 23;case 33:return 25;case 34:return 24;case 35:return 26;case 36:return 12;case 37:return 13;case 38:return 14;case 39:return 15;case 40:return 16;case 41:return 17;case 42:return 18;case 43:return"date";case 44:return 27;case 45:return"accDescription";case 46:return 33;case 47:return 35;case 48:return 36;case 49:return":";case 50:return 6;case 51:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%(?!\{)*[^\n]*)/i,/^(?:[^\}]%%*[^\n]*)/i,/^(?:%%*[^\n]*[\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:href[\s]+["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:call[\s]+)/i,/^(?:\([\s]*\))/i,/^(?:\()/i,/^(?:[^(]*)/i,/^(?:\))/i,/^(?:[^)]*)/i,/^(?:click[\s]+)/i,/^(?:[\s\n])/i,/^(?:[^\s\n]*)/i,/^(?:gantt\b)/i,/^(?:dateFormat\s[^#\n;]+)/i,/^(?:inclusiveEndDates\b)/i,/^(?:topAxis\b)/i,/^(?:axisFormat\s[^#\n;]+)/i,/^(?:tickInterval\s[^#\n;]+)/i,/^(?:includes\s[^#\n;]+)/i,/^(?:excludes\s[^#\n;]+)/i,/^(?:todayMarker\s[^\n;]+)/i,/^(?:weekday\s+monday\b)/i,/^(?:weekday\s+tuesday\b)/i,/^(?:weekday\s+wednesday\b)/i,/^(?:weekday\s+thursday\b)/i,/^(?:weekday\s+friday\b)/i,/^(?:weekday\s+saturday\b)/i,/^(?:weekday\s+sunday\b)/i,/^(?:\d\d\d\d-\d\d-\d\d\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accDescription\s[^#\n;]+)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},callbackargs:{rules:[22,23],inclusive:!1},callbackname:{rules:[19,20,21],inclusive:!1},href:{rules:[16,17],inclusive:!1},click:{rules:[25,26],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,18,24,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],inclusive:!0}}};function C(){this.yy={}}return E.lexer=T,C.prototype=E,E.Parser=C,new C}());l.parser=l;const h=l;r.extend(a),r.extend(o),r.extend(s);let f,d="",g="",p="",b=[],w=[],y={},m=[],v=[],x="",k="";const _=["active","done","crit","milestone"];let E=[],T=!1,C=!1,S="sunday",A=0;const M=function(t,e,n,i){return!i.includes(t.format(e.trim()))&&(!!(t.isoWeekday()>=6&&n.includes("weekends"))||!!n.includes(t.format("dddd").toLowerCase())||n.includes(t.format(e.trim())))},I=function(t,e,n,i){if(!n.length||t.manualEndTime)return;let a,o;a=t.startTime instanceof Date?r(t.startTime):r(t.startTime,e,!0),a=a.add(1,"d"),o=t.endTime instanceof Date?r(t.endTime):r(t.endTime,e,!0);const[s,c]=L(a,o,e,n,i);t.endTime=s.toDate(),t.renderEndTime=c},L=function(t,e,n,i,r){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=M(t,n,i,r),a&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,o]},O=function(t,e,n){n=n.trim();const i=/^after\s+([\d\w- ]+)/.exec(n.trim());if(null!==i){let t=null;if(i[1].split(" ").forEach((function(e){let n=z(e);void 0!==n&&(t?n.endTime>t.endTime&&(t=n):t=n)})),t)return t.endTime;{const t=new Date;return t.setHours(0,0,0,0),t}}let a=r(n,e.trim(),!0);if(a.isValid())return a.toDate();{c.l.debug("Invalid date:"+n),c.l.debug("With date format:"+e.trim());const t=new Date(n);if(void 0===t||isNaN(t.getTime())||t.getFullYear()<-1e4||t.getFullYear()>1e4)throw new Error("Invalid date:"+n);return t}},D=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},N=function(t,e,n,i=!1){n=n.trim();let a=r(n,e.trim(),!0);if(a.isValid())return i&&(a=a.add(1,"d")),a.toDate();let o=r(t);const[s,c]=D(n);if(!Number.isNaN(s)){const t=o.add(s,c);t.isValid()&&(o=t)}return o.toDate()};let P=0;const B=function(t){return void 0===t?(P+=1,"task"+P):t};let F,$,j=[];const R={},z=function(t){const e=R[t];return j[e]},q=function(){const t=function(t){const e=j[t];let n="";switch(j[t].raw.startTime.type){case"prevTaskEnd":{const t=z(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=O(0,d,j[t].raw.startTime.startData),n&&(j[t].startTime=n)}return j[t].startTime&&(j[t].endTime=N(j[t].startTime,d,j[t].raw.endTime.data,T),j[t].endTime&&(j[t].processed=!0,j[t].manualEndTime=r(j[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),I(j[t],d,w,b))),j[t].processed};let e=!0;for(const[n,i]of j.entries())t(n),e=e&&i.processed;return e},H=function(t,e){t.split(",").forEach((function(t){let n=z(t);void 0!==n&&n.classes.push(e)}))},Z=function(t,e){E.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){e()}))}),(function(){const n=document.querySelector(`[id="${t}-text"]`);null!==n&&n.addEventListener("click",(function(){e()}))}))},U={getConfig:()=>(0,c.c)().gantt,clear:function(){m=[],v=[],x="",E=[],P=0,F=void 0,$=void 0,j=[],d="",g="",k="",f=void 0,p="",b=[],w=[],T=!1,C=!1,A=0,y={},(0,c.t)(),S="sunday"},setDateFormat:function(t){d=t},getDateFormat:function(){return d},enableInclusiveEndDates:function(){T=!0},endDatesAreInclusive:function(){return T},enableTopAxis:function(){C=!0},topAxisEnabled:function(){return C},setAxisFormat:function(t){g=t},getAxisFormat:function(){return g},setTickInterval:function(t){f=t},getTickInterval:function(){return f},setTodayMarker:function(t){p=t},getTodayMarker:function(){return p},setAccTitle:c.s,getAccTitle:c.g,setDiagramTitle:c.q,getDiagramTitle:c.r,setDisplayMode:function(t){k=t},getDisplayMode:function(){return k},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){x=t,m.push(t)},getSections:function(){return m},getTasks:function(){let t=q(),e=0;for(;!t&&e<10;)t=q(),e++;return v=j,v},addTask:function(t,e){const n={section:x,type:x,processed:!1,manualEndTime:!1,renderEndTime:null,raw:{data:e},task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),r={};Y(i,r,_);for(let t=0;t<i.length;t++)i[t]=i[t].trim();switch(i.length){case 1:r.id=B(),r.startTime={type:"prevTaskEnd",id:t},r.endTime={data:i[0]};break;case 2:r.id=B(),r.startTime={type:"getStartDate",startData:i[0]},r.endTime={data:i[1]};break;case 3:r.id=B(i[0]),r.startTime={type:"getStartDate",startData:i[1]},r.endTime={data:i[2]}}return r}($,e);n.raw.startTime=i.startTime,n.raw.endTime=i.endTime,n.id=i.id,n.prevTaskId=$,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,n.order=A,A++;const r=j.push(n);$=n.id,R[n.id]=r-1},findTaskById:z,addTaskOrg:function(t,e){const n={section:x,type:x,description:t,task:t,classes:[]},i=function(t,e){let n;n=":"===e.substr(0,1)?e.substr(1,e.length):e;const i=n.split(","),a={};Y(i,a,_);for(let t=0;t<i.length;t++)i[t]=i[t].trim();let o="";switch(i.length){case 1:a.id=B(),a.startTime=t.endTime,o=i[0];break;case 2:a.id=B(),a.startTime=O(0,d,i[0]),o=i[1];break;case 3:a.id=B(i[0]),a.startTime=O(0,d,i[1]),o=i[2]}return o&&(a.endTime=N(a.startTime,d,o,T),a.manualEndTime=r(o,"YYYY-MM-DD",!0).isValid(),I(a,d,w,b)),a}(F,e);n.startTime=i.startTime,n.endTime=i.endTime,n.id=i.id,n.active=i.active,n.done=i.done,n.crit=i.crit,n.milestone=i.milestone,F=n,v.push(n)},setIncludes:function(t){b=t.toLowerCase().split(/[\s,]+/)},getIncludes:function(){return b},setExcludes:function(t){w=t.toLowerCase().split(/[\s,]+/)},getExcludes:function(){return w},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){if("loose"!==(0,c.c)().securityLevel)return;if(void 0===e)return;let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),void 0!==z(t)&&Z(t,(()=>{c.u.runFunc(e,...i)}))}(t,e,n)})),H(t,"clickable")},setLink:function(t,e){let n=e;"loose"!==(0,c.c)().securityLevel&&(n=(0,i.Nm)(e)),t.split(",").forEach((function(t){void 0!==z(t)&&(Z(t,(()=>{window.open(n,"_self")})),y[t]=n)})),H(t,"clickable")},getLinks:function(){return y},bindFunctions:function(t){E.forEach((function(e){e(t)}))},parseDuration:D,isInvalidDate:M,setWeekday:function(t){S=t},getWeekday:function(){return S}};function Y(t,e,n){let i=!0;for(;i;)i=!1,n.forEach((function(n){const r=new RegExp("^\\s*"+n+"\\s*$");t[0].match(r)&&(e[n]=!0,t.shift(1),i=!0)}))}const G={monday:u.Ox9,tuesday:u.YDX,wednesday:u.EFj,thursday:u.Igq,friday:u.y2j,saturday:u.LqH,sunday:u.Zyz},K=(t,e)=>{let n=[...t].map((()=>-1/0)),i=[...t].sort(((t,e)=>t.startTime-e.startTime||t.order-e.order)),r=0;for(const t of i)for(let i=0;i<n.length;i++)if(t.startTime>=n[i]){n[i]=t.endTime,t.order=i+e,i>r&&(r=i);break}return r};let W;const X={parser:h,db:U,renderer:{setConf:function(){c.l.debug("Something is calling, setConf, remove the call")},draw:function(t,e,n,i){const a=(0,c.c)().gantt,o=(0,c.c)().securityLevel;let s;"sandbox"===o&&(s=(0,u.Ys)("#i"+e));const l="sandbox"===o?(0,u.Ys)(s.nodes()[0].contentDocument.body):(0,u.Ys)("body"),h="sandbox"===o?s.nodes()[0].contentDocument:document,f=h.getElementById(e);W=f.parentElement.offsetWidth,void 0===W&&(W=1200),void 0!==a.useWidth&&(W=a.useWidth);const d=i.db.getTasks();let g=[];for(const t of d)g.push(t.type);g=function(t){const e={},n=[];for(let i=0,r=t.length;i<r;++i)Object.prototype.hasOwnProperty.call(e,t[i])||(e[t[i]]=!0,n.push(t[i]));return n}(g);const p={};let b=2*a.topPadding;if("compact"===i.db.getDisplayMode()||"compact"===a.displayMode){const t={};for(const e of d)void 0===t[e.section]?t[e.section]=[e]:t[e.section].push(e);let e=0;for(const n of Object.keys(t)){const i=K(t[n],e)+1;e+=i,b+=i*(a.barHeight+a.barGap),p[n]=i}}else{b+=d.length*(a.barHeight+a.barGap);for(const t of g)p[t]=d.filter((e=>e.type===t)).length}f.setAttribute("viewBox","0 0 "+W+" "+b);const w=l.select(`[id="${e}"]`),y=(0,u.Xf)().domain([(0,u.VV$)(d,(function(t){return t.startTime})),(0,u.Fp7)(d,(function(t){return t.endTime}))]).rangeRound([0,W-a.leftPadding-a.rightPadding]);d.sort((function(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:n<i&&(r=-1),r})),function(t,n,o){const s=a.barHeight,l=s+a.barGap,f=a.topPadding,d=a.leftPadding;(0,u.BYU)().domain([0,g.length]).range(["#00B9FA","#F95002"]).interpolate(u.JHv),function(t,e,n,o,s,u,l,h){if(0===l.length&&0===h.length)return;let f,d;for(const{startTime:t,endTime:e}of u)(void 0===f||t<f)&&(f=t),(void 0===d||e>d)&&(d=e);if(!f||!d)return;if(r(d).diff(r(f),"year")>5)return void c.l.warn("The difference between the min and max time is more than 5 years. This will cause performance issues. Skipping drawing exclude days.");const g=i.db.getDateFormat(),p=[];let b=null,m=r(f);for(;m.valueOf()<=d;)i.db.isInvalidDate(m,g,l,h)?b?b.end=m:b={start:m,end:m}:b&&(p.push(b),b=null),m=m.add(1,"d");w.append("g").selectAll("rect").data(p).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return y(t.start)+n})).attr("y",a.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return y(e)-y(t.start)})).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",(function(e,i){return(y(e.start)+n+.5*(y(e.end)-y(e.start))).toString()+"px "+(i*t+.5*s).toString()+"px"})).attr("class","exclude-range")}(l,f,d,0,o,t,i.db.getExcludes(),i.db.getIncludes()),function(t,e,n,r){let o=(0,u.LLu)(y).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,u.i$Z)(i.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));const s=/^([1-9]\d*)(millisecond|second|minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||a.tickInterval);if(null!==s){const t=s[1],e=s[2],n=i.db.getWeekday()||a.weekday;switch(e){case"millisecond":o.ticks(u.U8T.every(t));break;case"second":o.ticks(u.S1K.every(t));break;case"minute":o.ticks(u.Z_i.every(t));break;case"hour":o.ticks(u.WQD.every(t));break;case"day":o.ticks(u.rr1.every(t));break;case"week":o.ticks(G[n].every(t));break;case"month":o.ticks(u.F0B.every(t))}}if(w.append("g").attr("class","grid").attr("transform","translate("+t+", "+(r-50)+")").call(o).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10).attr("dy","1em"),i.db.topAxisEnabled()||a.topAxis){let n=(0,u.F5q)(y).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,u.i$Z)(i.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));if(null!==s){const t=s[1],e=s[2],r=i.db.getWeekday()||a.weekday;switch(e){case"millisecond":n.ticks(u.U8T.every(t));break;case"second":n.ticks(u.S1K.every(t));break;case"minute":n.ticks(u.Z_i.every(t));break;case"hour":n.ticks(u.WQD.every(t));break;case"day":n.ticks(u.rr1.every(t));break;case"week":n.ticks(G[r].every(t));break;case"month":n.ticks(u.F0B.every(t))}}w.append("g").attr("class","grid").attr("transform","translate("+t+", "+e+")").call(n).selectAll("text").style("text-anchor","middle").attr("fill","#000").attr("stroke","none").attr("font-size",10)}}(d,f,0,o),function(t,n,r,o,s,l,h){const f=[...new Set(t.map((t=>t.order)))].map((e=>t.find((t=>t.order===e))));w.append("g").selectAll("rect").data(f).enter().append("rect").attr("x",0).attr("y",(function(t,e){return t.order*n+r-2})).attr("width",(function(){return h-a.rightPadding/2})).attr("height",n).attr("class",(function(t){for(const[e,n]of g.entries())if(t.type===n)return"section section"+e%a.numberSectionStyles;return"section section0"}));const d=w.append("g").selectAll("rect").data(t).enter(),p=i.db.getLinks();if(d.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?y(t.startTime)+o+.5*(y(t.endTime)-y(t.startTime))-.5*s:y(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+r})).attr("width",(function(t){return t.milestone?s:y(t.renderEndTime||t.endTime)-y(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(y(t.startTime)+o+.5*(y(t.endTime)-y(t.startTime))).toString()+"px "+(e*n+r+.5*s).toString()+"px"})).attr("class",(function(t){let e="";t.classes.length>0&&(e=t.classes.join(" "));let n=0;for(const[e,i]of g.entries())t.type===i&&(n=e%a.numberSectionStyles);let i="";return t.active?t.crit?i+=" activeCrit":i=" active":t.done?i=t.crit?" doneCrit":" done":t.crit&&(i+=" crit"),0===i.length&&(i=" task"),t.milestone&&(i=" milestone "+i),i+=n,i+=" "+e,"task"+i})),d.append("text").attr("id",(function(t){return t.id+"-text"})).text((function(t){return t.task})).attr("font-size",a.fontSize).attr("x",(function(t){let e=y(t.startTime),n=y(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(y(t.endTime)-y(t.startTime))-.5*s),t.milestone&&(n=e+s);const i=this.getBBox().width;return i>n-e?n+i+1.5*a.leftPadding>h?e+o-5:n+o+5:(n-e)/2+e+o})).attr("y",(function(t,e){return t.order*n+a.barHeight/2+(a.fontSize/2-2)+r})).attr("text-height",s).attr("class",(function(t){const e=y(t.startTime);let n=y(t.endTime);t.milestone&&(n=e+s);const i=this.getBBox().width;let r="";t.classes.length>0&&(r=t.classes.join(" "));let o=0;for(const[e,n]of g.entries())t.type===n&&(o=e%a.numberSectionStyles);let c="";return t.active&&(c=t.crit?"activeCritText"+o:"activeText"+o),t.done?c=t.crit?c+" doneCritText"+o:c+" doneText"+o:t.crit&&(c=c+" critText"+o),t.milestone&&(c+=" milestoneText"),i>n-e?n+i+1.5*a.leftPadding>h?r+" taskTextOutsideLeft taskTextOutside"+o+" "+c:r+" taskTextOutsideRight taskTextOutside"+o+" "+c+" width-"+i:r+" taskText taskText"+o+" "+c+" width-"+i})),"sandbox"===(0,c.c)().securityLevel){let t;t=(0,u.Ys)("#i"+e);const n=t.nodes()[0].contentDocument;d.filter((function(t){return void 0!==p[t.id]})).each((function(t){var e=n.querySelector("#"+t.id),i=n.querySelector("#"+t.id+"-text");const r=e.parentNode;var a=n.createElement("a");a.setAttribute("xlink:href",p[t.id]),a.setAttribute("target","_top"),r.appendChild(a),a.appendChild(e),a.appendChild(i)}))}}(t,l,f,d,s,0,n),function(t,e){let n=0;const i=Object.keys(p).map((t=>[t,p[t]]));w.append("g").selectAll("text").data(i).enter().append((function(t){const e=t[0].split(c.e.lineBreakRegex),n=-(e.length-1)/2,i=h.createElementNS("http://www.w3.org/2000/svg","text");i.setAttribute("dy",n+"em");for(const[t,n]of e.entries()){const e=h.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttribute("alignment-baseline","central"),e.setAttribute("x","10"),t>0&&e.setAttribute("dy","1em"),e.textContent=n,i.appendChild(e)}return i})).attr("x",10).attr("y",(function(r,a){if(!(a>0))return r[1]*t/2+e;for(let o=0;o<a;o++)return n+=i[a-1][1],r[1]*t/2+n*t+e})).attr("font-size",a.sectionFontSize).attr("class",(function(t){for(const[e,n]of g.entries())if(t[0]===n)return"sectionTitle sectionTitle"+e%a.numberSectionStyles;return"sectionTitle"}))}(l,f),function(t,e,n,r){const o=i.db.getTodayMarker();if("off"===o)return;const s=w.append("g").attr("class","today"),c=new Date,u=s.append("line");u.attr("x1",y(c)+t).attr("x2",y(c)+t).attr("y1",a.titleTopMargin).attr("y2",r-a.titleTopMargin).attr("class","today"),""!==o&&u.attr("style",o.replace(/,/g,";"))}(d,0,0,o)}(d,W,b),(0,c.i)(w,b,W,a.useMaxWidth),w.append("text").text(i.db.getDiagramTitle()).attr("x",W/2).attr("y",a.titleTopMargin).attr("class","titleText")}},styles:t=>`\n .mermaid-main-font {\n font-family: "trebuchet ms", verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n .exclude-range {\n fill: ${t.excludeBkgColor};\n }\n\n .section {\n stroke: none;\n opacity: 0.2;\n }\n\n .section0 {\n fill: ${t.sectionBkgColor};\n }\n\n .section2 {\n fill: ${t.sectionBkgColor2};\n }\n\n .section1,\n .section3 {\n fill: ${t.altSectionBkgColor};\n opacity: 0.2;\n }\n\n .sectionTitle0 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle1 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle2 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle3 {\n fill: ${t.titleColor};\n }\n\n .sectionTitle {\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n // text-height: 14px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n\n /* Grid and axis */\n\n .grid .tick {\n stroke: ${t.gridColor};\n opacity: 0.8;\n shape-rendering: crispEdges;\n text {\n font-family: ${t.fontFamily};\n fill: ${t.textColor};\n }\n }\n\n .grid path {\n stroke-width: 0;\n }\n\n\n /* Today line */\n\n .today {\n fill: none;\n stroke: ${t.todayLineColor};\n stroke-width: 2px;\n }\n\n\n /* Task styling */\n\n /* Default task */\n\n .task {\n stroke-width: 2;\n }\n\n .taskText {\n text-anchor: middle;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n\n // .taskText:not([font-size]) {\n // font-size: ${t.ganttFontSize};\n // }\n\n .taskTextOutsideRight {\n fill: ${t.taskTextDarkColor};\n text-anchor: start;\n // font-size: ${t.ganttFontSize};\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n\n }\n\n .taskTextOutsideLeft {\n fill: ${t.taskTextDarkColor};\n text-anchor: end;\n // font-size: ${t.ganttFontSize};\n }\n\n /* Special case clickable */\n .task.clickable {\n cursor: pointer;\n }\n .taskText.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideLeft.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n .taskTextOutsideRight.clickable {\n cursor: pointer;\n fill: ${t.taskTextClickableColor} !important;\n font-weight: bold;\n }\n\n /* Specific task settings for the sections*/\n\n .taskText0,\n .taskText1,\n .taskText2,\n .taskText3 {\n fill: ${t.taskTextColor};\n }\n\n .task0,\n .task1,\n .task2,\n .task3 {\n fill: ${t.taskBkgColor};\n stroke: ${t.taskBorderColor};\n }\n\n .taskTextOutside0,\n .taskTextOutside2\n {\n fill: ${t.taskTextOutsideColor};\n }\n\n .taskTextOutside1,\n .taskTextOutside3 {\n fill: ${t.taskTextOutsideColor};\n }\n\n\n /* Active task */\n\n .active0,\n .active1,\n .active2,\n .active3 {\n fill: ${t.activeTaskBkgColor};\n stroke: ${t.activeTaskBorderColor};\n }\n\n .activeText0,\n .activeText1,\n .activeText2,\n .activeText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Completed task */\n\n .done0,\n .done1,\n .done2,\n .done3 {\n stroke: ${t.doneTaskBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneText0,\n .doneText1,\n .doneText2,\n .doneText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n\n /* Tasks on the critical line */\n\n .crit0,\n .crit1,\n .crit2,\n .crit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.critBkgColor};\n stroke-width: 2;\n }\n\n .activeCrit0,\n .activeCrit1,\n .activeCrit2,\n .activeCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.activeTaskBkgColor};\n stroke-width: 2;\n }\n\n .doneCrit0,\n .doneCrit1,\n .doneCrit2,\n .doneCrit3 {\n stroke: ${t.critBorderColor};\n fill: ${t.doneTaskBkgColor};\n stroke-width: 2;\n cursor: pointer;\n shape-rendering: crispEdges;\n }\n\n .milestone {\n transform: rotate(45deg) scale(0.8,0.8);\n }\n\n .milestoneText {\n font-style: italic;\n }\n .doneCritText0,\n .doneCritText1,\n .doneCritText2,\n .doneCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .activeCritText0,\n .activeCritText1,\n .activeCritText2,\n .activeCritText3 {\n fill: ${t.taskTextDarkColor} !important;\n }\n\n .titleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor} ;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n`}},5086:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>D});var i=n(8454),r=n(7274),a=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,6],i=[1,4],r=[1,5],a=[2,5],o=[1,12],s=[5,7,13,19,21,23,24,26,28,31,36,39,46],c=[7,13,19,21,23,24,26,28,31,36,39],u=[7,12,13,19,21,23,24,26,28,31,36,39],l=[7,13,46],h=[1,42],f=[1,41],d=[7,13,29,32,34,37,46],g=[1,55],p=[1,56],b=[1,57],w=[7,13,32,34,41,46],y={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,GG:5,document:6,EOF:7,":":8,DIR:9,options:10,body:11,OPT:12,NL:13,line:14,statement:15,commitStatement:16,mergeStatement:17,cherryPickStatement:18,acc_title:19,acc_title_value:20,acc_descr:21,acc_descr_value:22,acc_descr_multiline_value:23,section:24,branchStatement:25,CHECKOUT:26,ref:27,BRANCH:28,ORDER:29,NUM:30,CHERRY_PICK:31,COMMIT_ID:32,STR:33,COMMIT_TAG:34,EMPTYSTR:35,MERGE:36,COMMIT_TYPE:37,commitType:38,COMMIT:39,commit_arg:40,COMMIT_MSG:41,NORMAL:42,REVERSE:43,HIGHLIGHT:44,ID:45,";":46,$accept:0,$end:1},terminals_:{2:"error",5:"GG",7:"EOF",8:":",9:"DIR",12:"OPT",13:"NL",19:"acc_title",20:"acc_title_value",21:"acc_descr",22:"acc_descr_value",23:"acc_descr_multiline_value",24:"section",26:"CHECKOUT",28:"BRANCH",29:"ORDER",30:"NUM",31:"CHERRY_PICK",32:"COMMIT_ID",33:"STR",34:"COMMIT_TAG",35:"EMPTYSTR",36:"MERGE",37:"COMMIT_TYPE",39:"COMMIT",41:"COMMIT_MSG",42:"NORMAL",43:"REVERSE",44:"HIGHLIGHT",45:"ID",46:";"},productions_:[0,[3,2],[3,3],[3,4],[3,5],[6,0],[6,2],[10,2],[10,1],[11,0],[11,2],[14,2],[14,1],[15,1],[15,1],[15,1],[15,2],[15,2],[15,1],[15,1],[15,1],[15,2],[25,2],[25,4],[18,3],[18,5],[18,5],[18,5],[18,5],[17,2],[17,4],[17,4],[17,4],[17,6],[17,6],[17,6],[17,6],[17,6],[17,6],[17,8],[17,8],[17,8],[17,8],[17,8],[17,8],[16,2],[16,3],[16,3],[16,5],[16,5],[16,3],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,3],[16,5],[16,5],[16,5],[16,5],[16,5],[16,5],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,7],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[16,9],[40,0],[40,1],[38,1],[38,1],[38,1],[27,1],[27,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:return a[s];case 3:return a[s-1];case 4:return i.setDirection(a[s-3]),a[s-1];case 6:i.setOptions(a[s-1]),this.$=a[s];break;case 7:a[s-1]+=a[s],this.$=a[s-1];break;case 9:this.$=[];break;case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 11:this.$=a[s-1];break;case 16:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 17:case 18:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 19:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 21:i.checkout(a[s]);break;case 22:i.branch(a[s]);break;case 23:i.branch(a[s-2],a[s]);break;case 24:i.cherryPick(a[s],"",void 0);break;case 25:i.cherryPick(a[s-2],"",a[s]);break;case 26:case 28:i.cherryPick(a[s-2],"","");break;case 27:i.cherryPick(a[s],"",a[s-2]);break;case 29:i.merge(a[s],"","","");break;case 30:i.merge(a[s-2],a[s],"","");break;case 31:i.merge(a[s-2],"",a[s],"");break;case 32:i.merge(a[s-2],"","",a[s]);break;case 33:i.merge(a[s-4],a[s],"",a[s-2]);break;case 34:i.merge(a[s-4],"",a[s],a[s-2]);break;case 35:i.merge(a[s-4],"",a[s-2],a[s]);break;case 36:i.merge(a[s-4],a[s-2],a[s],"");break;case 37:i.merge(a[s-4],a[s-2],"",a[s]);break;case 38:i.merge(a[s-4],a[s],a[s-2],"");break;case 39:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 40:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 41:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 42:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 43:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 44:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 45:i.commit(a[s]);break;case 46:i.commit("","",i.commitType.NORMAL,a[s]);break;case 47:i.commit("","",a[s],"");break;case 48:i.commit("","",a[s],a[s-2]);break;case 49:i.commit("","",a[s-2],a[s]);break;case 50:i.commit("",a[s],i.commitType.NORMAL,"");break;case 51:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 52:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 53:i.commit("",a[s-2],a[s],"");break;case 54:i.commit("",a[s],a[s-2],"");break;case 55:i.commit("",a[s-4],a[s-2],a[s]);break;case 56:i.commit("",a[s-4],a[s],a[s-2]);break;case 57:i.commit("",a[s-2],a[s-4],a[s]);break;case 58:i.commit("",a[s],a[s-4],a[s-2]);break;case 59:i.commit("",a[s],a[s-2],a[s-4]);break;case 60:i.commit("",a[s-2],a[s],a[s-4]);break;case 61:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 62:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 63:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 64:i.commit(a[s-2],"",a[s],"");break;case 65:i.commit(a[s],"",a[s-2],"");break;case 66:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 67:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-4],"",a[s-2],a[s]);break;case 69:i.commit(a[s-4],"",a[s],a[s-2]);break;case 70:i.commit(a[s-2],"",a[s-4],a[s]);break;case 71:i.commit(a[s],"",a[s-4],a[s-2]);break;case 72:i.commit(a[s],"",a[s-2],a[s-4]);break;case 73:i.commit(a[s-2],"",a[s],a[s-4]);break;case 74:i.commit(a[s-4],a[s],a[s-2],"");break;case 75:i.commit(a[s-4],a[s-2],a[s],"");break;case 76:i.commit(a[s-2],a[s],a[s-4],"");break;case 77:i.commit(a[s],a[s-2],a[s-4],"");break;case 78:i.commit(a[s],a[s-4],a[s-2],"");break;case 79:i.commit(a[s-2],a[s-4],a[s],"");break;case 80:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 81:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 82:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 83:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 85:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 86:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 88:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 89:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 90:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 91:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 92:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 93:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 94:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 95:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 96:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 97:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 98:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 99:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 100:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 101:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 102:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 103:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 104:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 105:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 106:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 107:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 108:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 109:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 110:this.$="";break;case 111:this.$=a[s];break;case 112:this.$=i.commitType.NORMAL;break;case 113:this.$=i.commitType.REVERSE;break;case 114:this.$=i.commitType.HIGHLIGHT}},table:[{3:1,4:2,5:e,7:n,13:i,46:r},{1:[3]},{3:7,4:2,5:e,7:n,13:i,46:r},{6:8,7:a,8:[1,9],9:[1,10],10:11,13:o},t(s,[2,117]),t(s,[2,118]),t(s,[2,119]),{1:[2,1]},{7:[1,13]},{6:14,7:a,10:11,13:o},{8:[1,15]},t(c,[2,9],{11:16,12:[1,17]}),t(u,[2,8]),{1:[2,2]},{7:[1,18]},{6:19,7:a,10:11,13:o},{7:[2,6],13:[1,22],14:20,15:21,16:23,17:24,18:25,19:[1,26],21:[1,27],23:[1,28],24:[1,29],25:30,26:[1,31],28:[1,35],31:[1,34],36:[1,33],39:[1,32]},t(u,[2,7]),{1:[2,3]},{7:[1,36]},t(c,[2,10]),{4:37,7:n,13:i,46:r},t(c,[2,12]),t(l,[2,13]),t(l,[2,14]),t(l,[2,15]),{20:[1,38]},{22:[1,39]},t(l,[2,18]),t(l,[2,19]),t(l,[2,20]),{27:40,33:h,45:f},t(l,[2,110],{40:43,32:[1,46],33:[1,48],34:[1,44],37:[1,45],41:[1,47]}),{27:49,33:h,45:f},{32:[1,50],34:[1,51]},{27:52,33:h,45:f},{1:[2,4]},t(c,[2,11]),t(l,[2,16]),t(l,[2,17]),t(l,[2,21]),t(d,[2,115]),t(d,[2,116]),t(l,[2,45]),{33:[1,53]},{38:54,42:g,43:p,44:b},{33:[1,58]},{33:[1,59]},t(l,[2,111]),t(l,[2,29],{32:[1,60],34:[1,62],37:[1,61]}),{33:[1,63]},{33:[1,64],35:[1,65]},t(l,[2,22],{29:[1,66]}),t(l,[2,46],{32:[1,68],37:[1,67],41:[1,69]}),t(l,[2,47],{32:[1,71],34:[1,70],41:[1,72]}),t(w,[2,112]),t(w,[2,113]),t(w,[2,114]),t(l,[2,50],{34:[1,73],37:[1,74],41:[1,75]}),t(l,[2,61],{32:[1,78],34:[1,76],37:[1,77]}),{33:[1,79]},{38:80,42:g,43:p,44:b},{33:[1,81]},t(l,[2,24],{34:[1,82]}),{32:[1,83]},{32:[1,84]},{30:[1,85]},{38:86,42:g,43:p,44:b},{33:[1,87]},{33:[1,88]},{33:[1,89]},{33:[1,90]},{33:[1,91]},{33:[1,92]},{38:93,42:g,43:p,44:b},{33:[1,94]},{33:[1,95]},{38:96,42:g,43:p,44:b},{33:[1,97]},t(l,[2,30],{34:[1,99],37:[1,98]}),t(l,[2,31],{32:[1,101],34:[1,100]}),t(l,[2,32],{32:[1,102],37:[1,103]}),{33:[1,104],35:[1,105]},{33:[1,106]},{33:[1,107]},t(l,[2,23]),t(l,[2,48],{32:[1,108],41:[1,109]}),t(l,[2,52],{37:[1,110],41:[1,111]}),t(l,[2,62],{32:[1,113],37:[1,112]}),t(l,[2,49],{32:[1,114],41:[1,115]}),t(l,[2,54],{34:[1,116],41:[1,117]}),t(l,[2,65],{32:[1,119],34:[1,118]}),t(l,[2,51],{37:[1,120],41:[1,121]}),t(l,[2,53],{34:[1,122],41:[1,123]}),t(l,[2,66],{34:[1,125],37:[1,124]}),t(l,[2,63],{32:[1,127],37:[1,126]}),t(l,[2,64],{32:[1,129],34:[1,128]}),t(l,[2,67],{34:[1,131],37:[1,130]}),{38:132,42:g,43:p,44:b},{33:[1,133]},{33:[1,134]},{33:[1,135]},{33:[1,136]},{38:137,42:g,43:p,44:b},t(l,[2,25]),t(l,[2,26]),t(l,[2,27]),t(l,[2,28]),{33:[1,138]},{33:[1,139]},{38:140,42:g,43:p,44:b},{33:[1,141]},{38:142,42:g,43:p,44:b},{33:[1,143]},{33:[1,144]},{33:[1,145]},{33:[1,146]},{33:[1,147]},{33:[1,148]},{33:[1,149]},{38:150,42:g,43:p,44:b},{33:[1,151]},{33:[1,152]},{33:[1,153]},{38:154,42:g,43:p,44:b},{33:[1,155]},{38:156,42:g,43:p,44:b},{33:[1,157]},{33:[1,158]},{33:[1,159]},{38:160,42:g,43:p,44:b},{33:[1,161]},t(l,[2,36],{34:[1,162]}),t(l,[2,37],{37:[1,163]}),t(l,[2,35],{32:[1,164]}),t(l,[2,38],{34:[1,165]}),t(l,[2,33],{37:[1,166]}),t(l,[2,34],{32:[1,167]}),t(l,[2,59],{41:[1,168]}),t(l,[2,72],{32:[1,169]}),t(l,[2,60],{41:[1,170]}),t(l,[2,83],{37:[1,171]}),t(l,[2,73],{32:[1,172]}),t(l,[2,82],{37:[1,173]}),t(l,[2,58],{41:[1,174]}),t(l,[2,71],{32:[1,175]}),t(l,[2,57],{41:[1,176]}),t(l,[2,77],{34:[1,177]}),t(l,[2,70],{32:[1,178]}),t(l,[2,76],{34:[1,179]}),t(l,[2,56],{41:[1,180]}),t(l,[2,84],{37:[1,181]}),t(l,[2,55],{41:[1,182]}),t(l,[2,78],{34:[1,183]}),t(l,[2,79],{34:[1,184]}),t(l,[2,85],{37:[1,185]}),t(l,[2,69],{32:[1,186]}),t(l,[2,80],{37:[1,187]}),t(l,[2,68],{32:[1,188]}),t(l,[2,74],{34:[1,189]}),t(l,[2,75],{34:[1,190]}),t(l,[2,81],{37:[1,191]}),{33:[1,192]},{38:193,42:g,43:p,44:b},{33:[1,194]},{33:[1,195]},{38:196,42:g,43:p,44:b},{33:[1,197]},{33:[1,198]},{33:[1,199]},{33:[1,200]},{38:201,42:g,43:p,44:b},{33:[1,202]},{38:203,42:g,43:p,44:b},{33:[1,204]},{33:[1,205]},{33:[1,206]},{33:[1,207]},{33:[1,208]},{33:[1,209]},{33:[1,210]},{38:211,42:g,43:p,44:b},{33:[1,212]},{33:[1,213]},{33:[1,214]},{38:215,42:g,43:p,44:b},{33:[1,216]},{38:217,42:g,43:p,44:b},{33:[1,218]},{33:[1,219]},{33:[1,220]},{38:221,42:g,43:p,44:b},t(l,[2,39]),t(l,[2,41]),t(l,[2,40]),t(l,[2,42]),t(l,[2,44]),t(l,[2,43]),t(l,[2,100]),t(l,[2,101]),t(l,[2,98]),t(l,[2,99]),t(l,[2,103]),t(l,[2,102]),t(l,[2,107]),t(l,[2,106]),t(l,[2,105]),t(l,[2,104]),t(l,[2,109]),t(l,[2,108]),t(l,[2,97]),t(l,[2,96]),t(l,[2,95]),t(l,[2,94]),t(l,[2,92]),t(l,[2,93]),t(l,[2,91]),t(l,[2,90]),t(l,[2,89]),t(l,[2,88]),t(l,[2,86]),t(l,[2,87])],defaultActions:{7:[2,1],13:[2,2],18:[2,3],36:[2,4]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},m={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return this.begin("acc_title"),19;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),21;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 29:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return 13;case 8:case 9:break;case 10:return 5;case 11:return 39;case 12:return 32;case 13:return 37;case 14:return 41;case 15:return 42;case 16:return 43;case 17:return 44;case 18:return 34;case 19:return 28;case 20:return 29;case 21:return 36;case 22:return 31;case 23:return 26;case 24:case 25:return 9;case 26:return 8;case 27:return"CARET";case 28:this.begin("options");break;case 30:return 12;case 31:return 35;case 32:this.begin("string");break;case 34:return 33;case 35:return 30;case 36:return 45;case 37:return 7}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:gitGraph\b)/i,/^(?:commit(?=\s|$))/i,/^(?:id:)/i,/^(?:type:)/i,/^(?:msg:)/i,/^(?:NORMAL\b)/i,/^(?:REVERSE\b)/i,/^(?:HIGHLIGHT\b)/i,/^(?:tag:)/i,/^(?:branch(?=\s|$))/i,/^(?:order:)/i,/^(?:merge(?=\s|$))/i,/^(?:cherry-pick(?=\s|$))/i,/^(?:checkout(?=\s|$))/i,/^(?:LR\b)/i,/^(?:TB\b)/i,/^(?::)/i,/^(?:\^)/i,/^(?:options\r?\n)/i,/^(?:[ \r\n\t]+end\b)/i,/^(?:[\s\S]+(?=[ \r\n\t]+end))/i,/^(?:["]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[0-9]+(?=\s|$))/i,/^(?:\w([-\./\w]*[-\w])?)/i,/^(?:$)/i,/^(?:\s+)/i],conditions:{acc_descr_multiline:{rules:[5,6],inclusive:!1},acc_descr:{rules:[3],inclusive:!1},acc_title:{rules:[1],inclusive:!1},options:{rules:[29,30],inclusive:!1},string:{rules:[33,34],inclusive:!1},INITIAL:{rules:[0,2,4,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,31,32,35,36,37,38],inclusive:!0}}};function v(){this.yy={}}return y.lexer=m,v.prototype=y,y.Parser=v,new v}());a.parser=a;const o=a;let s=(0,i.c)().gitGraph.mainBranchName,c=(0,i.c)().gitGraph.mainBranchOrder,u={},l=null,h={};h[s]={name:s,order:c};let f={};f[s]=l;let d=s,g="LR",p=0;function b(){return(0,i.x)({length:7})}let w={};const y=function(t){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0===f[t]){let e=new Error('Trying to checkout branch which is not yet created. (Help try using "branch '+t+'")');throw e.hash={text:"checkout "+t,token:"checkout "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"branch '+t+'"']},e}{d=t;const e=f[d];l=u[e]}};function m(t,e,n){const i=t.indexOf(e);-1===i?t.push(n):t.splice(i,1,n)}function v(t){const e=t.reduce(((t,e)=>t.seq>e.seq?t:e),t[0]);let n="";t.forEach((function(t){n+=t===e?"\t*":"\t|"}));const r=[n,e.id,e.seq];for(let t in f)f[t]===e.id&&r.push(t);if(i.l.debug(r.join(" ")),e.parents&&2==e.parents.length){const n=u[e.parents[0]];m(t,e,n),t.push(u[e.parents[1]])}else{if(0==e.parents.length)return;{const n=u[e.parents];m(t,e,n)}}v(t=function(t,e){const n=Object.create(null);return t.reduce(((t,e)=>{const i=(t=>t.id)(e);return n[i]||(n[i]=!0,t.push(e)),t}),[])}(t))}const x=function(){const t=Object.keys(u).map((function(t){return u[t]}));return t.forEach((function(t){i.l.debug(t.id)})),t.sort(((t,e)=>t.seq-e.seq)),t},k={NORMAL:0,REVERSE:1,HIGHLIGHT:2,MERGE:3,CHERRY_PICK:4},_={getConfig:()=>(0,i.c)().gitGraph,setDirection:function(t){g=t},setOptions:function(t){i.l.debug("options str",t),t=(t=t&&t.trim())||"{}";try{w=JSON.parse(t)}catch(t){i.l.error("error while parsing gitGraph options",t.message)}},getOptions:function(){return w},commit:function(t,e,n,r){i.l.debug("Entering commit:",t,e,n,r),e=i.e.sanitizeText(e,(0,i.c)()),t=i.e.sanitizeText(t,(0,i.c)()),r=i.e.sanitizeText(r,(0,i.c)());const a={id:e||p+"-"+b(),message:t,seq:p++,type:n||k.NORMAL,tag:r||"",parents:null==l?[]:[l.id],branch:d};l=a,u[a.id]=a,f[d]=a.id,i.l.debug("in pushCommit "+a.id)},branch:function(t,e){if(t=i.e.sanitizeText(t,(0,i.c)()),void 0!==f[t]){let e=new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout '+t+'")');throw e.hash={text:"branch "+t,token:"branch "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+t+'"']},e}f[t]=null!=l?l.id:null,h[t]={name:t,order:e?parseInt(e,10):null},y(t),i.l.debug("in createBranch")},merge:function(t,e,n,r){t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)());const a=u[f[d]],o=u[f[t]];if(d===t){let e=new Error('Incorrect usage of "merge". Cannot merge a branch to itself');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(void 0===a||!a){let e=new Error('Incorrect usage of "merge". Current branch ('+d+")has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["commit"]},e}if(void 0===f[t]){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") does not exist");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch "+t]},e}if(void 0===o||!o){let e=new Error('Incorrect usage of "merge". Branch to be merged ('+t+") has no commits");throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"commit"']},e}if(a===o){let e=new Error('Incorrect usage of "merge". Both branches have same head');throw e.hash={text:"merge "+t,token:"merge "+t,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["branch abc"]},e}if(e&&void 0!==u[e]){let i=new Error('Incorrect usage of "merge". Commit with id:'+e+" already exists, use different custom Id");throw i.hash={text:"merge "+t+e+n+r,token:"merge "+t+e+n+r,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["merge "+t+" "+e+"_UNIQUE "+n+" "+r]},i}const s={id:e||p+"-"+b(),message:"merged branch "+t+" into "+d,seq:p++,parents:[null==l?null:l.id,f[t]],branch:d,type:k.MERGE,customType:n,customId:!!e,tag:r||""};l=s,u[s.id]=s,f[d]=s.id,i.l.debug(f),i.l.debug("in mergeBranch")},cherryPick:function(t,e,n){if(i.l.debug("Entering cherryPick:",t,e,n),t=i.e.sanitizeText(t,(0,i.c)()),e=i.e.sanitizeText(e,(0,i.c)()),n=i.e.sanitizeText(n,(0,i.c)()),!t||void 0===u[t]){let n=new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}let r=u[t],a=r.branch;if(r.type===k.MERGE){let n=new Error('Incorrect usage of "cherryPick". Source commit should not be a merge commit');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}if(!e||void 0===u[e]){if(a===d){let n=new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const o=u[f[d]];if(void 0===o||!o){let n=new Error('Incorrect usage of "cherry-pick". Current branch ('+d+")has no commits");throw n.hash={text:"cherryPick "+t+" "+e,token:"cherryPick "+t+" "+e,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["cherry-pick abc"]},n}const s={id:p+"-"+b(),message:"cherry-picked "+r+" into "+d,seq:p++,parents:[null==l?null:l.id,r.id],branch:d,type:k.CHERRY_PICK,tag:n??"cherry-pick:"+r.id};l=s,u[s.id]=s,f[d]=s.id,i.l.debug(f),i.l.debug("in cherryPick")}},checkout:y,prettyPrint:function(){i.l.debug(u),v([x()[0]])},clear:function(){u={},l=null;let t=(0,i.c)().gitGraph.mainBranchName,e=(0,i.c)().gitGraph.mainBranchOrder;f={},f[t]=null,h={},h[t]={name:t,order:e},d=t,p=0,(0,i.t)()},getBranchesAsObjArray:function(){return Object.values(h).map(((t,e)=>null!==t.order?t:{...t,order:parseFloat(`0.${e}`,10)})).sort(((t,e)=>t.order-e.order)).map((({name:t})=>({name:t})))},getBranches:function(){return f},getCommits:function(){return u},getCommitsArray:x,getCurrentBranch:function(){return d},getDirection:function(){return g},getHead:function(){return l},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,setDiagramTitle:i.q,getDiagramTitle:i.r,commitType:k};let E={};let T={},C={},S=[],A=0,M="LR";const I=t=>{const e=document.createElementNS("http://www.w3.org/2000/svg","text");let n=[];n="string"==typeof t?t.split(/\\n|\n|<br\s*\/?>/gi):Array.isArray(t)?t:[];for(const t of n){const n=document.createElementNS("http://www.w3.org/2000/svg","tspan");n.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),n.setAttribute("dy","1em"),n.setAttribute("x","0"),n.setAttribute("class","row"),n.textContent=t.trim(),e.appendChild(n)}return e},L=(t,e,n)=>{const r=(0,i.y)().gitGraph,a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels");let s=0;"TB"===M&&(s=30),Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const i=e[t],c="TB"===M?s+10:T[i.branch].pos,u="TB"===M?T[i.branch].pos:s+10;if(n){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case 0:default:t="commit-normal";break;case 1:t="commit-reverse";break;case 2:t="commit-highlight";break;case 3:t="commit-merge";break;case 4:t="commit-cherry-pick"}if(2===e){const e=a.append("rect");e.attr("x",u-10),e.attr("y",c-10),e.attr("height",20),e.attr("width",20),e.attr("class",`commit ${i.id} commit-highlight${T[i.branch].index%8} ${t}-outer`),a.append("rect").attr("x",u-6).attr("y",c-6).attr("height",12).attr("width",12).attr("class",`commit ${i.id} commit${T[i.branch].index%8} ${t}-inner`)}else if(4===e)a.append("circle").attr("cx",u).attr("cy",c).attr("r",10).attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",u-3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("circle").attr("cx",u+3).attr("cy",c+2).attr("r",2.75).attr("fill","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",u+3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`),a.append("line").attr("x1",u-3).attr("y1",c+1).attr("x2",u).attr("y2",c-5).attr("stroke","#fff").attr("class",`commit ${i.id} ${t}`);else{const n=a.append("circle");if(n.attr("cx",u),n.attr("cy",c),n.attr("r",3===i.type?9:10),n.attr("class",`commit ${i.id} commit${T[i.branch].index%8}`),3===e){const e=a.append("circle");e.attr("cx",u),e.attr("cy",c),e.attr("r",6),e.attr("class",`commit ${t} ${i.id} commit${T[i.branch].index%8}`)}1===e&&a.append("path").attr("d",`M ${u-5},${c-5}L${u+5},${c+5}M${u-5},${c+5}L${u+5},${c-5}`).attr("class",`commit ${t} ${i.id} commit${T[i.branch].index%8}`)}}if(C[i.id]="TB"===M?{x:u,y:s+10}:{x:s+10,y:c},n){const t=4,e=2;if(4!==i.type&&(i.customId&&3===i.type||3!==i.type)&&r.showCommitLabel){const n=o.append("g"),a=n.insert("rect").attr("class","commit-label-bkg"),l=n.append("text").attr("x",s).attr("y",c+25).attr("class","commit-label").text(i.id);let h=l.node().getBBox();if(a.attr("x",s+10-h.width/2-e).attr("y",c+13.5).attr("width",h.width+2*e).attr("height",h.height+2*e),"TB"===M&&(a.attr("x",u-(h.width+4*t+5)).attr("y",c-12),l.attr("x",u-(h.width+4*t)).attr("y",c+h.height-12)),"TB"!==M&&l.attr("x",s+10-h.width/2),r.rotateCommitLabel)if("TB"===M)l.attr("transform","rotate(-45, "+u+", "+c+")"),a.attr("transform","rotate(-45, "+u+", "+c+")");else{let t=-7.5-(h.width+10)/25*9.5,e=10+h.width/25*8.5;n.attr("transform","translate("+t+", "+e+") rotate(-45, "+s+", "+c+")")}}if(i.tag){const n=o.insert("polygon"),r=o.append("circle"),a=o.append("text").attr("y",c-16).attr("class","tag-label").text(i.tag);let l=a.node().getBBox();a.attr("x",s+10-l.width/2);const h=l.height/2,f=c-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${s-l.width/2-t/2},${f+e}\n ${s-l.width/2-t/2},${f-e}\n ${s+10-l.width/2-t},${f-h-e}\n ${s+10+l.width/2+t},${f-h-e}\n ${s+10+l.width/2+t},${f+h+e}\n ${s+10-l.width/2-t},${f+h+e}`),r.attr("cx",s-l.width/2+t/2).attr("cy",f).attr("r",1.5).attr("class","tag-hole"),"TB"===M&&(n.attr("class","tag-label-bkg").attr("points",`\n ${u},${s+e}\n ${u},${s-e}\n ${u+10},${s-h-e}\n ${u+10+l.width+t},${s-h-e}\n ${u+10+l.width+t},${s+h+e}\n ${u+10},${s+h+e}`).attr("transform","translate(12,12) rotate(45, "+u+","+s+")"),r.attr("cx",u+t/2).attr("cy",s).attr("transform","translate(12,12) rotate(45, "+u+","+s+")"),a.attr("x",u+5).attr("y",s+3).attr("transform","translate(14,14) rotate(45, "+u+","+s+")"))}}s+=50,s>A&&(A=s)}))},O=(t,e,n=0)=>{const i=t+Math.abs(t-e)/2;if(n>5)return i;if(S.every((t=>Math.abs(t-i)>=10)))return S.push(i),i;const r=Math.abs(t-e);return O(t,e-r/5,n+1)},D={parser:o,db:_,renderer:{draw:function(t,e,n,a){T={},C={},E={},A=0,S=[],M="LR";const o=(0,i.y)(),s=o.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,n),E=a.db.getCommits();const c=a.db.getBranchesAsObjArray();M=a.db.getDirection();const u=(0,r.Ys)(`[id="${e}"]`);let l=0;c.forEach(((t,e)=>{const n=I(t.name),i=u.append("g"),r=i.insert("g").attr("class","branchLabel"),a=r.insert("g").attr("class","label branch-label");a.node().appendChild(n);let o=n.getBBox();T[t.name]={pos:l,index:e},l+=50+(s.rotateCommitLabel?40:0)+("TB"===M?o.width/2:0),a.remove(),r.remove(),i.remove()})),L(u,E,!1),s.showBranches&&((t,e)=>{const n=(0,i.y)().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=T[t.name].pos,o=r.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",A),o.attr("y2",a),o.attr("class","branch branch"+i),"TB"===M&&(o.attr("y1",30),o.attr("x1",a),o.attr("y2",A),o.attr("x2",a)),S.push(a);let s=t.name;const c=I(s),u=r.insert("rect"),l=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);l.node().appendChild(c);let h=c.getBBox();u.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-h.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-h.height/2+8).attr("width",h.width+18).attr("height",h.height+4),l.attr("transform","translate("+(-h.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-h.height/2-1)+")"),"TB"===M&&(u.attr("x",a-h.width/2-10).attr("y",0),l.attr("transform","translate("+(a-h.width/2-5)+", 0)")),"TB"!==M&&u.attr("transform","translate(-19, "+(a-h.height/2)+")")}))})(u,c),((t,e)=>{const n=t.append("g").attr("class","commit-arrows");Object.keys(e).forEach((t=>{const i=e[t];i.parents&&i.parents.length>0&&i.parents.forEach((t=>{((t,e,n,i)=>{const r=C[e.id],a=C[n.id],o=((t,e,n)=>Object.keys(n).filter((i=>n[i].branch===e.branch&&n[i].seq>t.seq&&n[i].seq<e.seq)).length>0)(e,n,i);let s,c="",u="",l=0,h=0,f=T[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",l=10,h=10,f=T[n.branch].index;const t=r.y<a.y?O(r.y,a.y):O(a.y,r.y),e=r.x<a.x?O(r.x,a.x):O(a.x,r.x);s="TB"===M?r.x<a.x?`M ${r.x} ${r.y} L ${e-l} ${r.y} ${u} ${e} ${r.y+h} L ${e} ${a.y-l} ${c} ${e+h} ${a.y} L ${a.x} ${a.y}`:`M ${r.x} ${r.y} L ${e+l} ${r.y} ${c} ${e} ${r.y+h} L ${e} ${a.y-l} ${u} ${e-h} ${a.y} L ${a.x} ${a.y}`:r.y<a.y?`M ${r.x} ${r.y} L ${r.x} ${t-l} ${c} ${r.x+h} ${t} L ${a.x-l} ${t} ${u} ${a.x} ${t+h} L ${a.x} ${a.y}`:`M ${r.x} ${r.y} L ${r.x} ${t+l} ${u} ${r.x+h} ${t} L ${a.x-l} ${t} ${c} ${a.x} ${t-h} L ${a.x} ${a.y}`}else"TB"===M?(r.x<a.x&&(c="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",l=20,h=20,f=T[n.branch].index,s=`M ${r.x} ${r.y} L ${a.x-l} ${r.y} ${u} ${a.x} ${r.y+h} L ${a.x} ${a.y}`),r.x>a.x&&(c="A 20 20, 0, 0, 0,",u="A 20 20, 0, 0, 1,",l=20,h=20,f=T[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${u} ${r.x-h} ${a.y} L ${a.x} ${a.y}`),r.x===a.x&&(f=T[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x+l} ${r.y} ${c} ${r.x+h} ${a.y+l} L ${a.x} ${a.y}`)):(r.y<a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=T[n.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`),r.y>a.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=T[e.branch].index,s=`M ${r.x} ${r.y} L ${a.x-l} ${r.y} ${c} ${a.x} ${r.y-h} L ${a.x} ${a.y}`),r.y===a.y&&(f=T[e.branch].index,s=`M ${r.x} ${r.y} L ${r.x} ${a.y-l} ${c} ${r.x+h} ${a.y} L ${a.x} ${a.y}`));t.append("path").attr("d",s).attr("class","arrow arrow"+f%8)})(n,e[t],i,e)}))}))})(u,E),L(u,E,!0),i.u.insertTitle(u,"gitTitleText",s.titleTopMargin,a.db.getDiagramTitle()),(0,i.z)(void 0,u,s.diagramPadding,s.useMaxWidth??o.useMaxWidth)}},styles:t=>`\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ${[0,1,2,3,4,5,6,7].map((e=>`\n .branch-label${e} { fill: ${t["gitBranchLabel"+e]}; }\n .commit${e} { stroke: ${t["git"+e]}; fill: ${t["git"+e]}; }\n .commit-highlight${e} { stroke: ${t["gitInv"+e]}; fill: ${t["gitInv"+e]}; }\n .label${e} { fill: ${t["git"+e]}; }\n .arrow${e} { stroke: ${t["git"+e]}; }\n `)).join("\n")}\n\n .branch {\n stroke-width: 1;\n stroke: ${t.lineColor};\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelColor};}\n .commit-label-bkg { font-size: ${t.commitLabelFontSize}; fill: ${t.commitLabelBackground}; opacity: 0.5; }\n .tag-label { font-size: ${t.tagLabelFontSize}; fill: ${t.tagLabelColor};}\n .tag-label-bkg { fill: ${t.tagLabelBackground}; stroke: ${t.tagLabelBorder}; }\n .tag-hole { fill: ${t.textColor}; }\n\n .commit-merge {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n .commit-reverse {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ${t.primaryColor};\n fill: ${t.primaryColor};\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`}},7644:(t,e,n)=>{"use strict";n.d(e,{r:()=>_});var i=n(3771),r=n(9368),a=n(580),o=n(8454),s=n(5625),c=n(4027),u=n(7274);let l={},h={},f={};const d=(t,e)=>(o.l.trace("In isDecendant",e," ",t," = ",h[e].includes(t)),!!h[e].includes(t)),g=(t,e,n,i)=>{o.l.warn("Copying children of ",t,"root",i,"data",e.node(t),i);const r=e.children(t)||[];t!==i&&r.push(t),o.l.warn("Copying (nodes) clusterId",t,"nodes",r),r.forEach((r=>{if(e.children(r).length>0)g(r,e,n,i);else{const a=e.node(r);o.l.info("cp ",r," to ",i," with parent ",t),n.setNode(r,a),i!==e.parent(r)&&(o.l.warn("Setting parent",r,e.parent(r)),n.setParent(r,e.parent(r))),t!==i&&r!==t?(o.l.debug("Setting parent",r,t),n.setParent(r,t)):(o.l.info("In copy ",t,"root",i,"data",e.node(t),i),o.l.debug("Not Setting parent for node=",r,"cluster!==rootId",t!==i,"node!==clusterId",r!==t));const s=e.edges(r);o.l.debug("Copying Edges",s),s.forEach((r=>{o.l.info("Edge",r);const a=e.edge(r.v,r.w,r.name);o.l.info("Edge data",a,i);try{((t,e)=>(o.l.info("Decendants of ",e," is ",h[e]),o.l.info("Edge is ",t),t.v!==e&&t.w!==e&&(h[e]?h[e].includes(t.v)||d(t.v,e)||d(t.w,e)||h[e].includes(t.w):(o.l.debug("Tilt, ",e,",not in decendants"),!1))))(r,i)?(o.l.info("Copying as ",r.v,r.w,a,r.name),n.setEdge(r.v,r.w,a,r.name),o.l.info("newGraph edges ",n.edges(),n.edge(n.edges()[0]))):o.l.info("Skipping copy of edge ",r.v,"--\x3e",r.w," rootId: ",i," clusterId:",t)}catch(t){o.l.error(t)}}))}o.l.debug("Removing node",r),e.removeNode(r)}))},p=(t,e)=>{const n=e.children(t);let i=[...n];for(const r of n)f[r]=t,i=[...i,...p(r,e)];return i},b=(t,e)=>{o.l.trace("Searching",t);const n=e.children(t);if(o.l.trace("Searching children of id ",t,n),n.length<1)return o.l.trace("This is a valid node",t),t;for(const i of n){const n=b(i,e);if(n)return o.l.trace("Found replacement for",t," => ",n),n}},w=t=>l[t]&&l[t].externalConnections&&l[t]?l[t].id:t,y=(t,e)=>{if(o.l.warn("extractor - ",e,r.c(t),t.children("D")),e>10)return void o.l.error("Bailing out");let n=t.nodes(),i=!1;for(const e of n){const n=t.children(e);i=i||n.length>0}if(i){o.l.debug("Nodes = ",n,e);for(const i of n)if(o.l.debug("Extracting node",i,l,l[i]&&!l[i].externalConnections,!t.parent(i),t.node(i),t.children("D")," Depth ",e),l[i])if(!l[i].externalConnections&&t.children(i)&&t.children(i).length>0){o.l.warn("Cluster without external connections, without a parent and with children",i,e);let n="TB"===t.graph().rankdir?"LR":"TB";l[i]&&l[i].clusterData&&l[i].clusterData.dir&&(n=l[i].clusterData.dir,o.l.warn("Fixing dir",l[i].clusterData.dir,n));const a=new s.k({multigraph:!0,compound:!0}).setGraph({rankdir:n,nodesep:50,ranksep:50,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));o.l.warn("Old graph before copy",r.c(t)),g(i,t,a,i),t.setNode(i,{clusterNode:!0,id:i,clusterData:l[i].clusterData,labelText:l[i].labelText,graph:a}),o.l.warn("New graph after copy node: (",i,")",r.c(a)),o.l.debug("Old graph after copy",r.c(t))}else o.l.warn("Cluster ** ",i," **not meeting the criteria !externalConnections:",!l[i].externalConnections," no parent: ",!t.parent(i)," children ",t.children(i)&&t.children(i).length>0,t.children("D"),e),o.l.debug(l);else o.l.debug("Not a cluster",i,e);n=t.nodes(),o.l.warn("New list of nodes",n);for(const i of n){const n=t.node(i);o.l.warn(" Now next level",i,n),n.clusterNode&&y(n.graph,e+1)}}else o.l.debug("Done, no node has children",t.nodes())},m=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const i=t.children(e),r=m(t,i);n=[...n,...r]})),n},v={rect:(t,e)=>{o.l.info("Creating subgraph rect for ",e.id,e);const n=t.insert("g").attr("class","cluster"+(e.class?" "+e.class:"")).attr("id",e.id),i=n.insert("rect",":first-child"),r=(0,o.m)((0,o.c)().flowchart.htmlLabels),s=n.insert("g").attr("class","cluster-label"),l="markdown"===e.labelType?(0,c.c)(s,e.labelText,{style:e.labelStyle,useHtmlLabels:r}):s.node().appendChild((0,a.c)(e.labelText,e.labelStyle,void 0,!0));let h=l.getBBox();if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const t=l.children[0],e=(0,u.Ys)(l);h=t.getBoundingClientRect(),e.attr("width",h.width),e.attr("height",h.height)}const f=0*e.padding,d=f/2,g=e.width<=h.width+f?h.width+f:e.width;e.width<=h.width+f?e.diff=(h.width-e.width)/2-e.padding/2:e.diff=-e.padding/2,o.l.trace("Data ",e,JSON.stringify(e)),i.attr("style",e.style).attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-g/2).attr("y",e.y-e.height/2-d).attr("width",g).attr("height",e.height+f),r?s.attr("transform","translate("+(e.x-h.width/2)+", "+(e.y-e.height/2)+")"):s.attr("transform","translate("+e.x+", "+(e.y-e.height/2)+")");const p=i.node().getBBox();return e.width=p.width,e.height=p.height,e.intersect=function(t){return(0,a.i)(e,t)},n},roundedWithTitle:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=n.insert("g").attr("class","cluster-label"),s=n.append("rect"),c=r.node().appendChild((0,a.c)(e.labelText,e.labelStyle,void 0,!0));let l=c.getBBox();if((0,o.m)((0,o.c)().flowchart.htmlLabels)){const t=c.children[0],e=(0,u.Ys)(c);l=t.getBoundingClientRect(),e.attr("width",l.width),e.attr("height",l.height)}l=c.getBBox();const h=0*e.padding,f=h/2,d=e.width<=l.width+e.padding?l.width+e.padding:e.width;e.width<=l.width+e.padding?e.diff=(l.width+0*e.padding-e.width)/2:e.diff=-e.padding/2,i.attr("class","outer").attr("x",e.x-d/2-f).attr("y",e.y-e.height/2-f).attr("width",d+h).attr("height",e.height+h),s.attr("class","inner").attr("x",e.x-d/2-f).attr("y",e.y-e.height/2-f+l.height-1).attr("width",d+h).attr("height",e.height+h-l.height-3),r.attr("transform","translate("+(e.x-l.width/2)+", "+(e.y-e.height/2-e.padding/3+((0,o.m)((0,o.c)().flowchart.htmlLabels)?5:3))+")");const g=i.node().getBBox();return e.height=g.height,e.intersect=function(t){return(0,a.i)(e,t)},n},noteGroup:(t,e)=>{const n=t.insert("g").attr("class","note-cluster").attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,o=r/2;i.attr("rx",e.rx).attr("ry",e.ry).attr("x",e.x-e.width/2-o).attr("y",e.y-e.height/2-o).attr("width",e.width+r).attr("height",e.height+r).attr("fill","none");const s=i.node().getBBox();return e.width=s.width,e.height=s.height,e.intersect=function(t){return(0,a.i)(e,t)},n},divider:(t,e)=>{const n=t.insert("g").attr("class",e.classes).attr("id",e.id),i=n.insert("rect",":first-child"),r=0*e.padding,o=r/2;i.attr("class","divider").attr("x",e.x-e.width/2-o).attr("y",e.y-e.height/2).attr("width",e.width+r).attr("height",e.height+r);const s=i.node().getBBox();return e.width=s.width,e.height=s.height,e.diff=-e.padding/2,e.intersect=function(t){return(0,a.i)(e,t)},n}};let x={};const k=async(t,e,n,s,c)=>{o.l.info("Graph in recursive render: XXX",r.c(e),c);const u=e.graph().rankdir;o.l.trace("Dir in recursive render - dir:",u);const h=t.insert("g").attr("class","root");e.nodes()?o.l.info("Recursive render XXX",e.nodes()):o.l.info("No nodes found for",e),e.edges().length>0&&o.l.trace("Recursive edges",e.edge(e.edges()[0]));const f=h.insert("g").attr("class","clusters"),d=h.insert("g").attr("class","edgePaths"),g=h.insert("g").attr("class","edgeLabels"),p=h.insert("g").attr("class","nodes");await Promise.all(e.nodes().map((async function(t){const i=e.node(t);if(void 0!==c){const n=JSON.parse(JSON.stringify(c.clusterData));o.l.info("Setting data for cluster XXX (",t,") ",n,c),e.setNode(c.id,n),e.parent(t)||(o.l.trace("Setting parent",t,c.id),e.setParent(t,c.id,n))}if(o.l.info("(Insert) Node XXX"+t+": "+JSON.stringify(e.node(t))),i&&i.clusterNode){o.l.info("Cluster identified",t,i.width,e.node(t));const r=await k(p,i.graph,n,s,e.node(t)),c=r.elem;(0,a.u)(i,c),i.diff=r.diff||0,o.l.info("Node bounds (abc123)",t,i,i.width,i.x,i.y),(0,a.s)(c,i),o.l.warn("Recursive render complete ",c,i)}else e.children(t).length>0?(o.l.info("Cluster - the non recursive path XXX",t,i.id,i,e),o.l.info(b(i.id,e)),l[i.id]={id:b(i.id,e),node:i}):(o.l.info("Node - the non recursive path",t,i.id,i),await(0,a.e)(p,e.node(t),u))}))),e.edges().forEach((function(t){const n=e.edge(t.v,t.w,t.name);o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t)),o.l.info("Edge "+t.v+" -> "+t.w+": ",t," ",JSON.stringify(e.edge(t))),o.l.info("Fix",l,"ids:",t.v,t.w,"Translateing: ",l[t.v],l[t.w]),(0,a.f)(g,n)})),e.edges().forEach((function(t){o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(t))})),o.l.info("#############################################"),o.l.info("### Layout ###"),o.l.info("#############################################"),o.l.info(e),(0,i.bK)(e),o.l.info("Graph after layout:",r.c(e));let w=0;return(t=>m(t,t.children()))(e).forEach((function(t){const n=e.node(t);o.l.info("Position "+t+": "+JSON.stringify(e.node(t))),o.l.info("Position "+t+": ("+n.x,","+n.y,") width: ",n.width," height: ",n.height),n&&n.clusterNode?(0,a.p)(n):e.children(t).length>0?(((t,e)=>{o.l.trace("Inserting cluster");const n=e.shape||"rect";x[e.id]=v[n](t,e)})(f,n),l[n.id].node=n):(0,a.p)(n)})),e.edges().forEach((function(t){const i=e.edge(t);o.l.info("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(i),i);const r=(0,a.g)(d,t,i,l,n,e,s);(0,a.h)(i,r)})),e.nodes().forEach((function(t){const n=e.node(t);o.l.info(t,n.type,n.diff),"group"===n.type&&(w=n.diff)})),{elem:h,diff:w}},_=async(t,e,n,i,s)=>{(0,a.a)(t,n,i,s),(0,a.b)(),(0,a.d)(),x={},h={},f={},l={},o.l.warn("Graph at first:",JSON.stringify(r.c(e))),((t,e)=>{t?(o.l.debug("Opting in, graph "),t.nodes().forEach((function(e){t.children(e).length>0&&(o.l.warn("Cluster identified",e," Replacement id in edges: ",b(e,t)),h[e]=p(e,t),l[e]={id:b(e,t),clusterData:t.node(e)})})),t.nodes().forEach((function(e){const n=t.children(e),i=t.edges();n.length>0?(o.l.debug("Cluster identified",e,h),i.forEach((t=>{t.v!==e&&t.w!==e&&d(t.v,e)^d(t.w,e)&&(o.l.warn("Edge: ",t," leaves cluster ",e),o.l.warn("Decendants of XXX ",e,": ",h[e]),l[e].externalConnections=!0)}))):o.l.debug("Not a cluster ",e,h)})),t.edges().forEach((function(e){const n=t.edge(e);o.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(e)),o.l.warn("Edge "+e.v+" -> "+e.w+": "+JSON.stringify(t.edge(e)));let i=e.v,r=e.w;if(o.l.warn("Fix XXX",l,"ids:",e.v,e.w,"Translating: ",l[e.v]," --- ",l[e.w]),l[e.v]&&l[e.w]&&l[e.v]===l[e.w]){o.l.warn("Fixing and trixing link to self - removing XXX",e.v,e.w,e.name),o.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=w(e.v),r=w(e.w),t.removeEdge(e.v,e.w,e.name);const a=e.w+"---"+e.v;t.setNode(a,{domId:a,id:a,labelStyle:"",labelText:n.label,padding:0,shape:"labelRect",style:""});const s=structuredClone(n),c=structuredClone(n);s.label="",s.arrowTypeEnd="none",c.label="",s.fromCluster=e.v,c.toCluster=e.v,t.setEdge(i,a,s,e.name+"-cyclic-special"),t.setEdge(a,r,c,e.name+"-cyclic-special")}else(l[e.v]||l[e.w])&&(o.l.warn("Fixing and trixing - removing XXX",e.v,e.w,e.name),i=w(e.v),r=w(e.w),t.removeEdge(e.v,e.w,e.name),i!==e.v&&(n.fromCluster=e.v),r!==e.w&&(n.toCluster=e.w),o.l.warn("Fix Replacing with XXX",i,r,e.name),t.setEdge(i,r,n,e.name))})),o.l.warn("Adjusted Graph",r.c(t)),y(t,0),o.l.trace(l)):o.l.debug("Opting out, no graph ")})(e),o.l.warn("Graph after:",JSON.stringify(r.c(e))),await k(t,e,i,s)}},684:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>o});var i=n(8454),r=(n(7484),n(7967),n(7274),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,9,10],n={trace:function(){},yy:{},symbols_:{error:2,start:3,info:4,document:5,EOF:6,line:7,statement:8,NL:9,showInfo:10,$accept:0,$end:1},terminals_:{2:"error",4:"info",6:"EOF",9:"NL",10:"showInfo"},productions_:[0,[3,3],[5,0],[5,2],[7,1],[7,1],[8,1]],performAction:function(t,e,n,i,r,a,o){switch(a.length,r){case 1:return i;case 4:break;case 6:i.setInfo(!0)}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:6,9:[1,7],10:[1,8]},{1:[2,1]},t(e,[2,3]),t(e,[2,4]),t(e,[2,5]),t(e,[2,6])],defaultActions:{4:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},i={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return 4;case 1:return 9;case 2:return"space";case 3:return 10;case 4:return 6;case 5:return"TXT"}},rules:[/^(?:info\b)/i,/^(?:[\s\n\r]+)/i,/^(?:[\s]+)/i,/^(?:showInfo\b)/i,/^(?:$)/i,/^(?:.)/i],conditions:{INITIAL:{rules:[0,1,2,3,4,5],inclusive:!0}}};function r(){this.yy={}}return n.lexer=i,r.prototype=n,n.Parser=r,new r}());r.parser=r;let a=false;const o={parser:r,db:{clear:()=>{a=false},setInfo:t=>{a=t},getInfo:()=>a},renderer:{draw:(t,e,n)=>{i.l.debug("rendering info diagram\n"+t);const r=(0,i.A)(e);(0,i.i)(r,100,400,!0),r.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size",32).style("text-anchor","middle").text(`v${n}`)}}}},8764:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>M});var i=n(8454),r=n(7274),a=n(3463),o=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,18],n=[1,9],i=[1,10],r=[1,11],a=[1,12],o=[1,13],s=[1,14],c={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,taskName:18,taskData:19,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",18:"taskName",19:"taskData"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,2]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 2:case 6:case 7:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 8:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 12:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 13:i.addTask(a[s-1],a[s]),this.$="task"}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:r,16:a,17:o,18:s},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:15,11:n,12:i,14:r,16:a,17:o,18:s},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,16]},{15:[1,17]},t(e,[2,11]),t(e,[2,12]),{19:[1,18]},t(e,[2,4]),t(e,[2,9]),t(e,[2,10]),t(e,[2,13])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},u={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 18;case 16:return 19;case 17:return":";case 18:return 6;case 19:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:journey\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?::[^#\n;]+)/i,/^(?::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18,19],inclusive:!0}}};function l(){this.yy={}}return c.lexer=u,l.prototype=c,c.Parser=l,new l}());o.parser=o;const s=o;let c="";const u=[],l=[],h=[],f=function(){let t=!0;for(const[e,n]of h.entries())h[e].processed,t=t&&n.processed;return t},d={getConfig:()=>(0,i.c)().journey,clear:function(){u.length=0,l.length=0,c="",h.length=0,(0,i.t)()},setDiagramTitle:i.q,getDiagramTitle:i.r,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:function(t){c=t,u.push(t)},getSections:function(){return u},getTasks:function(){let t=f(),e=0;for(;!t&&e<100;)t=f(),e++;return l.push(...h),l},addTask:function(t,e){const n=e.substr(1).split(":");let i=0,r=[];1===n.length?(i=Number(n[0]),r=[]):(i=Number(n[0]),r=n[1].split(","));const a=r.map((t=>t.trim())),o={section:c,type:c,people:a,task:t,score:i};h.push(o)},addTaskOrg:function(t){const e={section:c,type:c,description:t,task:t,classes:[]};l.push(e)},getActors:function(){return function(){const t=[];return l.forEach((e=>{e.people&&t.push(...e.people)})),[...new Set(t)].sort()}()}},g=function(t,e){return(0,a.d)(t,e)},p=function(t,e){const n=t.append("circle");return n.attr("cx",e.cx),n.attr("cy",e.cy),n.attr("class","actor-"+e.pos),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("r",e.r),void 0!==n.class&&n.attr("class",n.class),void 0!==e.title&&n.append("title").text(e.title),n};let b=-1;const w=function(){function t(t,e,n,r,a,o,s,c){i(e.append("text").attr("x",n+a/2).attr("y",r+o/2+5).style("font-color",c).style("text-anchor","middle").text(t),s)}function e(t,e,n,r,a,o,s,c,u){const{taskFontSize:l,taskFontFamily:h}=c,f=t.split(/<br\s*\/?>/gi);for(let t=0;t<f.length;t++){const c=t*l-l*(f.length-1)/2,d=e.append("text").attr("x",n+a/2).attr("y",r).attr("fill",u).style("text-anchor","middle").style("font-size",l).style("font-family",h);d.append("tspan").attr("x",n+a/2).attr("dy",c).text(f[t]),d.attr("y",r+o/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),i(d,s)}}function n(t,n,r,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",r).attr("y",a).attr("width",o).attr("height",s).attr("position","fixed").append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").attr("class","label").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,r,a,o,s,c,u),i(h,c)}function i(t,e){for(const n in e)n in e&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),y=p,m=function(t,e,n){const i=t.append("g"),r=(0,a.g)();r.x=e.x,r.y=e.y,r.fill=e.fill,r.width=n.width*e.taskCount+n.diagramMarginX*(e.taskCount-1),r.height=n.height,r.class="journey-section section-type-"+e.num,r.rx=3,r.ry=3,g(i,r),w(n)(e.text,i,r.x,r.y,r.width,r.height,{class:"journey-section section-type-"+e.num},n,e.colour)},v=function(t,e){return(0,a.f)(t,e)},x=function(t,e,n){const i=e.x+n.width/2,o=t.append("g");b++,o.append("line").attr("id","task"+b).attr("x1",i).attr("y1",e.y).attr("x2",i).attr("y2",450).attr("class","task-line").attr("stroke-width","1px").attr("stroke-dasharray","4 2").attr("stroke","#666"),function(t,e){t.append("circle").attr("cx",e.cx).attr("cy",e.cy).attr("class","face").attr("r",15).attr("stroke-width",2).attr("overflow","visible");const n=t.append("g");n.append("circle").attr("cx",e.cx-5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),n.append("circle").attr("cx",e.cx+5).attr("cy",e.cy-5).attr("r",1.5).attr("stroke-width",2).attr("fill","#666").attr("stroke","#666"),e.score>3?function(t){const n=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(n):e.score<3?function(t){const n=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(15/2.2);t.append("path").attr("class","mouth").attr("d",n).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(n):n.append("line").attr("class","mouth").attr("stroke",2).attr("x1",e.cx-5).attr("y1",e.cy+7).attr("x2",e.cx+5).attr("y2",e.cy+7).attr("class","mouth").attr("stroke-width","1px").attr("stroke","#666")}(o,{cx:i,cy:300+30*(5-e.score),score:e.score});const s=(0,a.g)();s.x=e.x,s.y=e.y,s.fill=e.fill,s.width=n.width,s.height=n.height,s.class="task task-type-"+e.num,s.rx=3,s.ry=3,g(o,s);let c=e.x+14;e.people.forEach((t=>{const n=e.actors[t].color,i={cx:c,cy:e.y,r:7,fill:n,stroke:"#000",title:t,pos:e.actors[t].position};p(o,i),c+=10})),w(n)(e.task,o,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},k={},_=(0,i.c)().journey,E=_.leftMargin,T={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],init:function(){this.sequenceItems=[],this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,r){const a=(0,i.c)().journey,o=this;let s=0;this.sequenceItems.forEach((function(i){s++;const c=o.sequenceItems.length-s+1;o.updateVal(i,"starty",e-c*a.boxMargin,Math.min),o.updateVal(i,"stopy",r+c*a.boxMargin,Math.max),o.updateVal(T.data,"startx",t-c*a.boxMargin,Math.min),o.updateVal(T.data,"stopx",n+c*a.boxMargin,Math.max),o.updateVal(i,"startx",t-c*a.boxMargin,Math.min),o.updateVal(i,"stopx",n+c*a.boxMargin,Math.max),o.updateVal(T.data,"starty",e-c*a.boxMargin,Math.min),o.updateVal(T.data,"stopy",r+c*a.boxMargin,Math.max)}))},insert:function(t,e,n,i){const r=Math.min(t,n),a=Math.max(t,n),o=Math.min(e,i),s=Math.max(e,i);this.updateVal(T.data,"startx",r,Math.min),this.updateVal(T.data,"starty",o,Math.min),this.updateVal(T.data,"stopx",a,Math.max),this.updateVal(T.data,"stopy",s,Math.max),this.updateBounds(r,o,a,s)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=this.verticalPos},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return this.data}},C=_.sectionFills,S=_.sectionColours,A={setConf:function(t){Object.keys(t).forEach((function(e){_[e]=t[e]}))},draw:function(t,e,n,a){const o=(0,i.c)().journey,s=(0,i.c)().securityLevel;let c;"sandbox"===s&&(c=(0,r.Ys)("#i"+e));const u="sandbox"===s?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body");T.init();const l=u.select("#"+e);l.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const h=a.db.getTasks(),f=a.db.getDiagramTitle(),d=a.db.getActors();for(const t in k)delete k[t];let g=0;d.forEach((t=>{k[t]={color:o.actorColours[g%o.actorColours.length],position:g},g++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(k).forEach((i=>{const r=k[i].color,a={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:k[i].position};y(t,a);const o={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};v(t,o),n+=20}))}(l),T.insert(0,0,E,50*Object.keys(k).length),function(t,e,n){const r=(0,i.c)().journey;let a="";const o=n+(2*r.height+r.diagramMarginY);let s=0,c="#CCC",u="black",l=0;for(const[n,i]of e.entries()){if(a!==i.section){c=C[s%C.length],l=s%C.length,u=S[s%S.length];let o=0;const h=i.section;for(let t=n;t<e.length&&e[t].section==h;t++)o+=1;const f={x:n*r.taskMargin+n*r.width+E,y:50,text:i.section,fill:c,num:l,colour:u,taskCount:o};m(t,f,r),a=i.section,s++}const h=i.people.reduce(((t,e)=>(k[e]&&(t[e]=k[e]),t)),{});i.x=n*r.taskMargin+n*r.width+E,i.y=o,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=u,i.fill=c,i.num=l,i.actors=h,x(t,i,r),T.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}}(l,h,0);const p=T.getBounds();f&&l.append("text").text(f).attr("x",E).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const b=p.stopy-p.starty+2*o.diagramMarginY,w=E+p.stopx+2*o.diagramMarginX;(0,i.i)(l,b,w,o.useMaxWidth),l.append("line").attr("x1",E).attr("y1",4*o.height).attr("x2",w-E-4).attr("y2",4*o.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const _=f?70:0;l.attr("viewBox",`${p.startx} -25 ${w} ${b+_}`),l.attr("preserveAspectRatio","xMinYMin meet"),l.attr("height",b+_+25)}},M={parser:s,db:d,renderer:A,styles:t=>`.label {\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n color: ${t.textColor};\n }\n .mouth {\n stroke: #666;\n }\n\n line {\n stroke: ${t.textColor}\n }\n\n .legend {\n fill: ${t.textColor};\n }\n\n .label text {\n fill: #333;\n }\n .label {\n color: ${t.textColor}\n }\n\n .face {\n ${t.faceColor?`fill: ${t.faceColor}`:"fill: #FFF8DC"};\n stroke: #999;\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 1.5px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n }\n text-align: center;\n }\n\n .cluster rect {\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .task-type-0, .section-type-0 {\n ${t.fillType0?`fill: ${t.fillType0}`:""};\n }\n .task-type-1, .section-type-1 {\n ${t.fillType0?`fill: ${t.fillType1}`:""};\n }\n .task-type-2, .section-type-2 {\n ${t.fillType0?`fill: ${t.fillType2}`:""};\n }\n .task-type-3, .section-type-3 {\n ${t.fillType0?`fill: ${t.fillType3}`:""};\n }\n .task-type-4, .section-type-4 {\n ${t.fillType0?`fill: ${t.fillType4}`:""};\n }\n .task-type-5, .section-type-5 {\n ${t.fillType0?`fill: ${t.fillType5}`:""};\n }\n .task-type-6, .section-type-6 {\n ${t.fillType0?`fill: ${t.fillType6}`:""};\n }\n .task-type-7, .section-type-7 {\n ${t.fillType0?`fill: ${t.fillType7}`:""};\n }\n\n .actor-0 {\n ${t.actor0?`fill: ${t.actor0}`:""};\n }\n .actor-1 {\n ${t.actor1?`fill: ${t.actor1}`:""};\n }\n .actor-2 {\n ${t.actor2?`fill: ${t.actor2}`:""};\n }\n .actor-3 {\n ${t.actor3?`fill: ${t.actor3}`:""};\n }\n .actor-4 {\n ${t.actor4?`fill: ${t.actor4}`:""};\n }\n .actor-5 {\n ${t.actor5?`fill: ${t.actor5}`:""};\n }\n`,init:t=>{A.setConf(t.journey),d.clear()}}},8454:(t,e,n)=>{"use strict";n.d(e,{A:()=>on,B:()=>Dt,C:()=>de,D:()=>fe,E:()=>Tt,F:()=>Gn,G:()=>ne,H:()=>st,I:()=>be,J:()=>Mr,K:()=>On,L:()=>Zr,Z:()=>Yt,a:()=>Mn,b:()=>An,c:()=>Ee,d:()=>lt,e:()=>yt,f:()=>Ut,g:()=>Sn,h:()=>ce,i:()=>sn,j:()=>se,k:()=>te,l:()=>rt,m:()=>dt,n:()=>Xt,o:()=>cn,p:()=>_e,q:()=>In,r:()=>Ln,s:()=>Cn,t:()=>Tn,u:()=>ge,v:()=>gt,w:()=>ae,x:()=>ie,y:()=>Pn,z:()=>Fn});var i=n(8464),r=n(7484),a=n(7967),o=n(7274),s=n(7856),c=n(1767),u=n(3438);const l=(t,e)=>{const n=c.Z.parse(t),i={};for(const t in e)e[t]&&(i[t]=n[t]+e[t]);return(0,u.Z)(t,i)};var h=n(1117);const f=(t,e=100)=>{const n=c.Z.parse(t);return n.r=255-n.r,n.g=255-n.g,n.b=255-n.b,((t,e,n=50)=>{const{r:i,g:r,b:a,a:o}=c.Z.parse(t),{r:s,g:u,b:l,a:f}=c.Z.parse(e),d=n/100,g=2*d-1,p=o-f,b=((g*p==-1?g:(g+p)/(1+g*p))+1)/2,w=1-b,y=i*b+s*w,m=r*b+u*w,v=a*b+l*w,x=o*d+f*(1-d);return(0,h.Z)(y,m,v,x)})(n,t,e)};var d=n(7201),g=n(2281),p=n(6500),b=n(2454),w=n(6841),y="comm",m="rule",v="decl",x=Math.abs,k=String.fromCharCode;function _(t){return t.trim()}function E(t,e,n){return t.replace(e,n)}function T(t,e){return t.indexOf(e)}function C(t,e){return 0|t.charCodeAt(e)}function S(t,e,n){return t.slice(e,n)}function A(t){return t.length}function M(t,e){return e.push(t),t}function I(t,e){for(var n="",i=0;i<t.length;i++)n+=e(t[i],i,t,e)||"";return n}function L(t,e,n,i){switch(t.type){case"@layer":if(t.children.length)break;case"@import":case v:return t.return=t.return||t.value;case y:return"";case"@keyframes":return t.return=t.value+"{"+I(t.children,i)+"}";case m:if(!A(t.value=t.props.join(",")))return""}return A(n=I(t.children,i))?t.return=t.value+"{"+n+"}":""}Object.assign;var O=1,D=1,N=0,P=0,B=0,F="";function $(t,e,n,i,r,a,o,s){return{value:t,root:e,parent:n,type:i,props:r,children:a,line:O,column:D,length:o,return:"",siblings:s}}function j(){return B=P>0?C(F,--P):0,D--,10===B&&(D=1,O--),B}function R(){return B=P<N?C(F,P++):0,D++,10===B&&(D=1,O++),B}function z(){return C(F,P)}function q(){return P}function H(t,e){return S(F,t,e)}function Z(t){switch(t){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function U(t){return _(H(P-1,K(91===t?t+2:40===t?t+1:t)))}function Y(t){for(;(B=z())&&B<33;)R();return Z(t)>2||Z(B)>3?"":" "}function G(t,e){for(;--e&&R()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return H(t,q()+(e<6&&32==z()&&32==R()))}function K(t){for(;R();)switch(B){case t:return P;case 34:case 39:34!==t&&39!==t&&K(B);break;case 40:41===t&&K(t);break;case 92:R()}return P}function W(t,e){for(;R()&&t+B!==57&&(t+B!==84||47!==z()););return"/*"+H(e,P-1)+"*"+k(47===t?t:R())}function X(t){for(;!Z(z());)R();return H(t,P)}function V(t){return function(t){return F="",t}(Q("",null,null,null,[""],t=function(t){return O=D=1,N=A(F=t),P=0,[]}(t),0,[0],t))}function Q(t,e,n,i,r,a,o,s,c){for(var u=0,l=0,h=o,f=0,d=0,g=0,p=1,b=1,w=1,y=0,m="",v=r,x=a,_=i,S=m;b;)switch(g=y,y=R()){case 40:if(108!=g&&58==C(S,h-1)){-1!=T(S+=E(U(y),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:S+=U(y);break;case 9:case 10:case 13:case 32:S+=Y(g);break;case 92:S+=G(q()-1,7);continue;case 47:switch(z()){case 42:case 47:M(tt(W(R(),q()),e,n,c),c);break;default:S+="/"}break;case 123*p:s[u++]=A(S)*w;case 125*p:case 59:case 0:switch(y){case 0:case 125:b=0;case 59+l:-1==w&&(S=E(S,/\f/g,"")),d>0&&A(S)-h&&M(d>32?et(S+";",i,n,h-1,c):et(E(S," ","")+";",i,n,h-2,c),c);break;case 59:S+=";";default:if(M(_=J(S,e,n,u,l,r,s,m,v=[],x=[],h,a),a),123===y)if(0===l)Q(S,e,_,_,v,a,h,s,x);else switch(99===f&&110===C(S,3)?100:f){case 100:case 108:case 109:case 115:Q(t,_,_,i&&M(J(t,_,_,0,0,r,s,m,r,v=[],h,x),x),r,x,h,s,i?v:x);break;default:Q(S,_,_,_,[""],x,0,s,x)}}u=l=d=0,p=w=1,m=S="",h=o;break;case 58:h=1+A(S),d=g;default:if(p<1)if(123==y)--p;else if(125==y&&0==p++&&125==j())continue;switch(S+=k(y),y*p){case 38:w=l>0?1:(S+="\f",-1);break;case 44:s[u++]=(A(S)-1)*w,w=1;break;case 64:45===z()&&(S+=U(R())),f=z(),l=h=A(m=S+=X(q())),y++;break;case 45:45===g&&2==A(S)&&(p=0)}}return a}function J(t,e,n,i,r,a,o,s,c,u,l,h){for(var f=r-1,d=0===r?a:[""],g=function(t){return t.length}(d),p=0,b=0,w=0;p<i;++p)for(var y=0,v=S(t,f+1,f=x(b=o[p])),k=t;y<g;++y)(k=_(b>0?d[y]+" "+v:E(v,/&\f/g,d[y])))&&(c[w++]=k);return $(t,e,n,0===r?m:s,c,u,l,h)}function tt(t,e,n,i){return $(t,e,n,y,k(B),S(t,2,-2),0,i)}function et(t,e,n,i,r){return $(t,e,n,v,S(t,0,i),S(t,i+1,-1),i,r)}var nt=n(9697);const it={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},rt={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},at=function(t="fatal"){let e=it.fatal;"string"==typeof t?(t=t.toLowerCase())in it&&(e=it[t]):"number"==typeof t&&(e=t),rt.trace=()=>{},rt.debug=()=>{},rt.info=()=>{},rt.warn=()=>{},rt.error=()=>{},rt.fatal=()=>{},e<=it.fatal&&(rt.fatal=console.error?console.error.bind(console,ot("FATAL"),"color: orange"):console.log.bind(console,"",ot("FATAL"))),e<=it.error&&(rt.error=console.error?console.error.bind(console,ot("ERROR"),"color: orange"):console.log.bind(console,"",ot("ERROR"))),e<=it.warn&&(rt.warn=console.warn?console.warn.bind(console,ot("WARN"),"color: orange"):console.log.bind(console,"",ot("WARN"))),e<=it.info&&(rt.info=console.info?console.info.bind(console,ot("INFO"),"color: lightblue"):console.log.bind(console,"",ot("INFO"))),e<=it.debug&&(rt.debug=console.debug?console.debug.bind(console,ot("DEBUG"),"color: lightgreen"):console.log.bind(console,"",ot("DEBUG"))),e<=it.trace&&(rt.trace=console.debug?console.debug.bind(console,ot("TRACE"),"color: lightgreen"):console.log.bind(console,"",ot("TRACE")))},ot=t=>`%c${r().format("ss.SSS")} : ${t} : `,st=/<br\s*\/?>/gi,ct=t=>s.sanitize(t),ut=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=ct(t):"loose"!==n&&(t=(t=(t=ft(t)).replace(/</g,"&lt;").replace(/>/g,"&gt;")).replace(/=/g,"&equals;"),t=ht(t))}return t},lt=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ut(t,e),e.dompurifyConfig).toString():s.sanitize(ut(t,e),{FORBID_TAGS:["style"]}).toString():t,ht=t=>t.replace(/#br#/g,"<br/>"),ft=t=>t.replace(st,"#br#"),dt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),gt=function(t){const e=t.split(/(,)/),n=[];for(let t=0;t<e.length;t++){let i=e[t];if(","===i&&t>0&&t+1<e.length){const r=e[t-1],a=e[t+1];bt(r,a)&&(i=r+","+a,t++,n.pop())}n.push(wt(i))}return n.join("")},pt=(t,e)=>Math.max(0,t.split(e).length-1),bt=(t,e)=>{const n=pt(t,"~"),i=pt(e,"~");return 1===n&&1===i},wt=t=>{const e=pt(t,"~");let n=!1;if(e<=1)return t;e%2!=0&&t.startsWith("~")&&(t=t.substring(1),n=!0);const i=[...t];let r=i.indexOf("~"),a=i.lastIndexOf("~");for(;-1!==r&&-1!==a&&r!==a;)i[r]="<",i[a]=">",r=i.indexOf("~"),a=i.lastIndexOf("~");return n&&i.unshift("~"),i.join("")},yt={getRows:t=>t?ft(t).replace(/\\n/g,"#br#").split("#br#"):[""],sanitizeText:lt,sanitizeTextOrArray:(t,e)=>"string"==typeof t?lt(t,e):t.flat().map((t=>lt(t,e))),hasBreaks:t=>st.test(t),splitBreaks:t=>t.split(st),lineBreakRegex:st,removeScript:ct,getUrl:t=>{let e="";return t&&(e=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,e=e.replaceAll(/\(/g,"\\("),e=e.replaceAll(/\)/g,"\\)")),e},evaluate:dt,getMax:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.max(...e)},getMin:function(...t){const e=t.filter((t=>!isNaN(t)));return Math.min(...e)}},mt=(t,e)=>l(t,e?{s:-40,l:10}:{s:-40,l:-10}),vt="#ffffff",xt="#f2f2f2";let kt=class{constructor(){this.background="#f4f4f4",this.primaryColor="#fff4dd",this.noteBkgColor="#fff5ad",this.noteTextColor="#333",this.THEME_COLOR_LIMIT=12,this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px"}updateColors(){if(this.primaryTextColor=this.primaryTextColor||(this.darkMode?"#eee":"#333"),this.secondaryColor=this.secondaryColor||l(this.primaryColor,{h:-120}),this.tertiaryColor=this.tertiaryColor||l(this.primaryColor,{h:180,l:5}),this.primaryBorderColor=this.primaryBorderColor||mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=this.secondaryBorderColor||mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=this.tertiaryBorderColor||mt(this.tertiaryColor,this.darkMode),this.noteBorderColor=this.noteBorderColor||mt(this.noteBkgColor,this.darkMode),this.noteBkgColor=this.noteBkgColor||"#fff5ad",this.noteTextColor=this.noteTextColor||"#333",this.secondaryTextColor=this.secondaryTextColor||f(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||f(this.tertiaryColor),this.lineColor=this.lineColor||f(this.background),this.arrowheadColor=this.arrowheadColor||f(this.background),this.textColor=this.textColor||this.primaryTextColor,this.border2=this.border2||this.tertiaryBorderColor,this.nodeBkg=this.nodeBkg||this.primaryColor,this.mainBkg=this.mainBkg||this.primaryColor,this.nodeBorder=this.nodeBorder||this.primaryBorderColor,this.clusterBkg=this.clusterBkg||this.tertiaryColor,this.clusterBorder=this.clusterBorder||this.tertiaryBorderColor,this.defaultLinkColor=this.defaultLinkColor||this.lineColor,this.titleColor=this.titleColor||this.tertiaryTextColor,this.edgeLabelBackground=this.edgeLabelBackground||(this.darkMode?(0,d.Z)(this.secondaryColor,30):this.secondaryColor),this.nodeTextColor=this.nodeTextColor||this.primaryTextColor,this.actorBorder=this.actorBorder||this.primaryBorderColor,this.actorBkg=this.actorBkg||this.mainBkg,this.actorTextColor=this.actorTextColor||this.primaryTextColor,this.actorLineColor=this.actorLineColor||"grey",this.labelBoxBkgColor=this.labelBoxBkgColor||this.actorBkg,this.signalColor=this.signalColor||this.textColor,this.signalTextColor=this.signalTextColor||this.textColor,this.labelBoxBorderColor=this.labelBoxBorderColor||this.actorBorder,this.labelTextColor=this.labelTextColor||this.actorTextColor,this.loopTextColor=this.loopTextColor||this.actorTextColor,this.activationBorderColor=this.activationBorderColor||(0,d.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||f(this.lineColor),this.sectionBkgColor=this.sectionBkgColor||this.tertiaryColor,this.altSectionBkgColor=this.altSectionBkgColor||"white",this.sectionBkgColor=this.sectionBkgColor||this.secondaryColor,this.sectionBkgColor2=this.sectionBkgColor2||this.primaryColor,this.excludeBkgColor=this.excludeBkgColor||"#eeeeee",this.taskBorderColor=this.taskBorderColor||this.primaryBorderColor,this.taskBkgColor=this.taskBkgColor||this.primaryColor,this.activeTaskBorderColor=this.activeTaskBorderColor||this.primaryColor,this.activeTaskBkgColor=this.activeTaskBkgColor||(0,g.Z)(this.primaryColor,23),this.gridColor=this.gridColor||"lightgrey",this.doneTaskBkgColor=this.doneTaskBkgColor||"lightgrey",this.doneTaskBorderColor=this.doneTaskBorderColor||"grey",this.critBorderColor=this.critBorderColor||"#ff8888",this.critBkgColor=this.critBkgColor||"red",this.todayLineColor=this.todayLineColor||"red",this.taskTextColor=this.taskTextColor||this.textColor,this.taskTextOutsideColor=this.taskTextOutsideColor||this.textColor,this.taskTextLightColor=this.taskTextLightColor||this.textColor,this.taskTextColor=this.taskTextColor||this.primaryTextColor,this.taskTextDarkColor=this.taskTextDarkColor||this.textColor,this.taskTextClickableColor=this.taskTextClickableColor||"#003163",this.personBorder=this.personBorder||this.primaryBorderColor,this.personBkg=this.personBkg||this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||this.tertiaryColor,this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.specialStateColor=this.lineColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210,l:150}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.darkMode)for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.Z)(this["cScale"+t],75);else for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||f(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.Z)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;const t=this.darkMode?-4:-1;for(let e=0;e<5;e++)this["surface"+e]=this["surface"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(5+3*e)}),this["surfacePeer"+e]=this["surfacePeer"+e]||l(this.mainBkg,{h:180,s:-15,l:t*(8+3*e)});this.classText=this.classText||this.textColor,this.fillType0=this.fillType0||this.primaryColor,this.fillType1=this.fillType1||this.secondaryColor,this.fillType2=this.fillType2||l(this.primaryColor,{h:64}),this.fillType3=this.fillType3||l(this.secondaryColor,{h:64}),this.fillType4=this.fillType4||l(this.primaryColor,{h:-64}),this.fillType5=this.fillType5||l(this.secondaryColor,{h:-64}),this.fillType6=this.fillType6||l(this.primaryColor,{h:128}),this.fillType7=this.fillType7||l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-10}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-10}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-20}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-20}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-10}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.Z)(this.quadrant1Fill)?(0,g.Z)(this.quadrant1Fill):(0,d.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.Z)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)):(this.git0=(0,d.Z)(this.git0,25),this.git1=(0,d.Z)(this.git1,25),this.git2=(0,d.Z)(this.git2,25),this.git3=(0,d.Z)(this.git3,25),this.git4=(0,d.Z)(this.git4,25),this.git5=(0,d.Z)(this.git5,25),this.git6=(0,d.Z)(this.git6,25),this.git7=(0,d.Z)(this.git7,25)),this.gitInv0=this.gitInv0||f(this.git0),this.gitInv1=this.gitInv1||f(this.git1),this.gitInv2=this.gitInv2||f(this.git2),this.gitInv3=this.gitInv3||f(this.git3),this.gitInv4=this.gitInv4||f(this.git4),this.gitInv5=this.gitInv5||f(this.git5),this.gitInv6=this.gitInv6||f(this.git6),this.gitInv7=this.gitInv7||f(this.git7),this.branchLabelColor=this.branchLabelColor||(this.darkMode?"black":this.labelTextColor),this.gitBranchLabel0=this.gitBranchLabel0||this.branchLabelColor,this.gitBranchLabel1=this.gitBranchLabel1||this.branchLabelColor,this.gitBranchLabel2=this.gitBranchLabel2||this.branchLabelColor,this.gitBranchLabel3=this.gitBranchLabel3||this.branchLabelColor,this.gitBranchLabel4=this.gitBranchLabel4||this.branchLabelColor,this.gitBranchLabel5=this.gitBranchLabel5||this.branchLabelColor,this.gitBranchLabel6=this.gitBranchLabel6||this.branchLabelColor,this.gitBranchLabel7=this.gitBranchLabel7||this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||vt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},_t=class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,g.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=f(this.background),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,g.Z)(f("#323D47"),10),this.lineColor="calculated",this.border1="#81B1DB",this.border2=(0,h.Z)(255,255,255,.25),this.arrowheadColor="calculated",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#181818",this.textColor="#ccc",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#F9FFFE",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="calculated",this.activationBkgColor="calculated",this.sequenceNumberColor="black",this.sectionBkgColor=(0,d.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,d.Z)(this.sectionBkgColor,10),this.taskBorderColor=(0,h.Z)(255,255,255,70),this.taskBkgColor="calculated",this.taskTextColor="calculated",this.taskTextLightColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor=(0,h.Z)(255,255,255,50),this.activeTaskBkgColor="#81B1DB",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="grey",this.critBorderColor="#E83737",this.critBkgColor="#E83737",this.taskTextDarkColor="calculated",this.todayLineColor="#DB5757",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="calculated",this.errorBkgColor="#a44141",this.errorTextColor="#ddd"}updateColors(){this.secondBkg=(0,g.Z)(this.mainBkg,16),this.lineColor=this.mainContrastColor,this.arrowheadColor=this.mainContrastColor,this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.edgeLabelBackground=(0,g.Z)(this.labelBackground,25),this.actorBorder=this.border1,this.actorBkg=this.mainBkg,this.actorTextColor=this.mainContrastColor,this.actorLineColor=this.mainContrastColor,this.signalColor=this.mainContrastColor,this.signalTextColor=this.mainContrastColor,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.mainContrastColor,this.loopTextColor=this.mainContrastColor,this.noteBorderColor=this.secondaryBorderColor,this.noteBkgColor=this.secondBkg,this.noteTextColor=this.secondaryTextColor,this.activationBorderColor=this.border1,this.activationBkgColor=this.secondBkg,this.altSectionBkgColor=this.background,this.taskBkgColor=(0,g.Z)(this.mainBkg,23),this.taskTextColor=this.darkTextColor,this.taskTextLightColor=this.mainContrastColor,this.taskTextOutsideColor=this.taskTextLightColor,this.gridColor=this.mainContrastColor,this.doneTaskBkgColor=this.mainContrastColor,this.taskTextDarkColor=this.darkTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#555",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#f4f4f4",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.cScale1=this.cScale1||"#0b0000",this.cScale2=this.cScale2||"#4d1037",this.cScale3=this.cScale3||"#3f5258",this.cScale4=this.cScale4||"#4f2f1b",this.cScale5=this.cScale5||"#6e0a0a",this.cScale6=this.cScale6||"#3b0048",this.cScale7=this.cScale7||"#995a01",this.cScale8=this.cScale8||"#154706",this.cScale9=this.cScale9||"#161722",this.cScale10=this.cScale10||"#00296f",this.cScale11=this.cScale11||"#01629c",this.cScale12=this.cScale12||"#010029",this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||f(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],10);for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(4*t-10)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(4*t-7)});this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.Z)(this.quadrant1Fill)?(0,g.Z)(this.quadrant1Fill):(0,d.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.classText=this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||(this.darkMode?(0,d.Z)(this.secondaryColor,30):this.secondaryColor),this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,g.Z)(this.secondaryColor,20),this.git1=(0,g.Z)(this.pie2||this.secondaryColor,20),this.git2=(0,g.Z)(this.pie3||this.tertiaryColor,20),this.git3=(0,g.Z)(this.pie4||l(this.primaryColor,{h:-30}),20),this.git4=(0,g.Z)(this.pie5||l(this.primaryColor,{h:-60}),20),this.git5=(0,g.Z)(this.pie6||l(this.primaryColor,{h:-90}),10),this.git6=(0,g.Z)(this.pie7||l(this.primaryColor,{h:60}),10),this.git7=(0,g.Z)(this.pie8||l(this.primaryColor,{h:120}),20),this.gitInv0=this.gitInv0||f(this.git0),this.gitInv1=this.gitInv1||f(this.git1),this.gitInv2=this.gitInv2||f(this.git2),this.gitInv3=this.gitInv3||f(this.git3),this.gitInv4=this.gitInv4||f(this.git4),this.gitInv5=this.gitInv5||f(this.git5),this.gitInv6=this.gitInv6||f(this.git6),this.gitInv7=this.gitInv7||f(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||(0,g.Z)(this.background,12),this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||(0,g.Z)(this.background,2)}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}},Et=class{constructor(){this.background="#f4f4f4",this.primaryColor="#ECECFF",this.secondaryColor=l(this.primaryColor,{h:120}),this.secondaryColor="#ffffde",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(this.background),this.background="white",this.mainBkg="#ECECFF",this.secondBkg="#ffffde",this.lineColor="#333333",this.border1="#9370DB",this.border2="#aaaa33",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.labelBackground="#e8e8e8",this.textColor="#333",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="calculated",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="calculated",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="calculated",this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor="calculated",this.taskTextOutsideColor=this.taskTextDarkColor,this.taskTextClickableColor="calculated",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBorderColor="calculated",this.critBkgColor="calculated",this.todayLineColor="calculated",this.sectionBkgColor=(0,h.Z)(102,102,255,.49),this.altSectionBkgColor="white",this.sectionBkgColor2="#fff400",this.taskBorderColor="#534fbc",this.taskBkgColor="#8a90dd",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="#534fbc",this.activeTaskBkgColor="#bfc7ff",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222",this.updateColors()}updateColors(){this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.Z)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,l:-(7+5*t)});if(this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor,"calculated"!==this.labelTextColor){this.cScaleLabel0=this.cScaleLabel0||f(this.labelTextColor),this.cScaleLabel3=this.cScaleLabel3||f(this.labelTextColor);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.labelTextColor}this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.textColor,this.edgeLabelBackground=this.labelBackground,this.actorBorder=(0,g.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.signalColor=this.textColor,this.signalTextColor=this.textColor,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.nodeBorder,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||l(this.tertiaryColor,{l:-40}),this.pie4=this.pie4||l(this.primaryColor,{l:-10}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{l:-20}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-20}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-40}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:-40}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-40}),this.pie11=this.pie11||l(this.primaryColor,{h:-90,l:-40}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-30}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.Z)(this.quadrant1Fill)?(0,g.Z)(this.quadrant1Fill):(0,d.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.labelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)):(this.git0=(0,d.Z)(this.git0,25),this.git1=(0,d.Z)(this.git1,25),this.git2=(0,d.Z)(this.git2,25),this.git3=(0,d.Z)(this.git3,25),this.git4=(0,d.Z)(this.git4,25),this.git5=(0,d.Z)(this.git5,25),this.git6=(0,d.Z)(this.git6,25),this.git7=(0,d.Z)(this.git7,25)),this.gitInv0=this.gitInv0||(0,d.Z)(f(this.git0),25),this.gitInv1=this.gitInv1||f(this.git1),this.gitInv2=this.gitInv2||f(this.git2),this.gitInv3=this.gitInv3||f(this.git3),this.gitInv4=this.gitInv4||f(this.git4),this.gitInv5=this.gitInv5||f(this.git5),this.gitInv6=this.gitInv6||f(this.git6),this.gitInv7=this.gitInv7||f(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||vt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};const Tt=t=>{const e=new Et;return e.calculate(t),e};let Ct=class{constructor(){this.background="#f4f4f4",this.primaryColor="#cde498",this.secondaryColor="#cdffb2",this.background="white",this.mainBkg="#cde498",this.secondBkg="#cdffb2",this.lineColor="green",this.border1="#13540c",this.border2="#6eaa49",this.arrowheadColor="green",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.tertiaryColor=(0,g.Z)("#cde498",10),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.primaryColor),this.lineColor=f(this.background),this.textColor=f(this.background),this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="#333",this.edgeLabelBackground="#e8e8e8",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="black",this.actorLineColor="grey",this.signalColor="#333",this.signalTextColor="#333",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="#326932",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="#fff5ad",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="#6eaa49",this.altSectionBkgColor="white",this.sectionBkgColor2="#6eaa49",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="#487e3a",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="black",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="lightgrey",this.doneTaskBkgColor="lightgrey",this.doneTaskBorderColor="grey",this.critBorderColor="#ff8888",this.critBkgColor="red",this.todayLineColor="red",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.actorBorder=(0,d.Z)(this.mainBkg,20),this.actorBkg=this.mainBkg,this.labelBoxBkgColor=this.actorBkg,this.labelTextColor=this.actorTextColor,this.loopTextColor=this.actorTextColor,this.noteBorderColor=this.border2,this.noteTextColor=this.actorTextColor,this.cScale0=this.cScale0||this.primaryColor,this.cScale1=this.cScale1||this.secondaryColor,this.cScale2=this.cScale2||this.tertiaryColor,this.cScale3=this.cScale3||l(this.primaryColor,{h:30}),this.cScale4=this.cScale4||l(this.primaryColor,{h:60}),this.cScale5=this.cScale5||l(this.primaryColor,{h:90}),this.cScale6=this.cScale6||l(this.primaryColor,{h:120}),this.cScale7=this.cScale7||l(this.primaryColor,{h:150}),this.cScale8=this.cScale8||l(this.primaryColor,{h:210}),this.cScale9=this.cScale9||l(this.primaryColor,{h:270}),this.cScale10=this.cScale10||l(this.primaryColor,{h:300}),this.cScale11=this.cScale11||l(this.primaryColor,{h:330}),this.cScalePeer1=this.cScalePeer1||(0,d.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,d.Z)(this.tertiaryColor,40);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScale"+t]=(0,d.Z)(this["cScale"+t],10),this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.Z)(this["cScale"+t],25);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||l(this["cScale"+t],{h:180});this.scaleLabelColor="calculated"!==this.scaleLabelColor&&this.scaleLabelColor?this.scaleLabelColor:this.labelTextColor;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{h:30,s:-30,l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{h:30,s:-30,l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.taskBorderColor=this.border1,this.taskTextColor=this.taskTextLightColor,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.transitionColor=this.transitionColor||this.lineColor,this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f0f0f0",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.compositeBorder=this.compositeBorder||this.nodeBorder,this.innerEndBackground=this.primaryBorderColor,this.specialStateColor=this.lineColor,this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.transitionColor=this.transitionColor||this.lineColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128}),this.pie1=this.pie1||this.primaryColor,this.pie2=this.pie2||this.secondaryColor,this.pie3=this.pie3||this.tertiaryColor,this.pie4=this.pie4||l(this.primaryColor,{l:-30}),this.pie5=this.pie5||l(this.secondaryColor,{l:-30}),this.pie6=this.pie6||l(this.tertiaryColor,{h:40,l:-40}),this.pie7=this.pie7||l(this.primaryColor,{h:60,l:-10}),this.pie8=this.pie8||l(this.primaryColor,{h:-60,l:-10}),this.pie9=this.pie9||l(this.primaryColor,{h:120,l:0}),this.pie10=this.pie10||l(this.primaryColor,{h:60,l:-50}),this.pie11=this.pie11||l(this.primaryColor,{h:-60,l:-50}),this.pie12=this.pie12||l(this.primaryColor,{h:120,l:-50}),this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.Z)(this.quadrant1Fill)?(0,g.Z)(this.quadrant1Fill):(0,d.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=this.git0||this.primaryColor,this.git1=this.git1||this.secondaryColor,this.git2=this.git2||this.tertiaryColor,this.git3=this.git3||l(this.primaryColor,{h:-30}),this.git4=this.git4||l(this.primaryColor,{h:-60}),this.git5=this.git5||l(this.primaryColor,{h:-90}),this.git6=this.git6||l(this.primaryColor,{h:60}),this.git7=this.git7||l(this.primaryColor,{h:120}),this.darkMode?(this.git0=(0,g.Z)(this.git0,25),this.git1=(0,g.Z)(this.git1,25),this.git2=(0,g.Z)(this.git2,25),this.git3=(0,g.Z)(this.git3,25),this.git4=(0,g.Z)(this.git4,25),this.git5=(0,g.Z)(this.git5,25),this.git6=(0,g.Z)(this.git6,25),this.git7=(0,g.Z)(this.git7,25)):(this.git0=(0,d.Z)(this.git0,25),this.git1=(0,d.Z)(this.git1,25),this.git2=(0,d.Z)(this.git2,25),this.git3=(0,d.Z)(this.git3,25),this.git4=(0,d.Z)(this.git4,25),this.git5=(0,d.Z)(this.git5,25),this.git6=(0,d.Z)(this.git6,25),this.git7=(0,d.Z)(this.git7,25)),this.gitInv0=this.gitInv0||f(this.git0),this.gitInv1=this.gitInv1||f(this.git1),this.gitInv2=this.gitInv2||f(this.git2),this.gitInv3=this.gitInv3||f(this.git3),this.gitInv4=this.gitInv4||f(this.git4),this.gitInv5=this.gitInv5||f(this.git5),this.gitInv6=this.gitInv6||f(this.git6),this.gitInv7=this.gitInv7||f(this.git7),this.gitBranchLabel0=this.gitBranchLabel0||f(this.labelTextColor),this.gitBranchLabel1=this.gitBranchLabel1||this.labelTextColor,this.gitBranchLabel2=this.gitBranchLabel2||this.labelTextColor,this.gitBranchLabel3=this.gitBranchLabel3||f(this.labelTextColor),this.gitBranchLabel4=this.gitBranchLabel4||this.labelTextColor,this.gitBranchLabel5=this.gitBranchLabel5||this.labelTextColor,this.gitBranchLabel6=this.gitBranchLabel6||this.labelTextColor,this.gitBranchLabel7=this.gitBranchLabel7||this.labelTextColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||vt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};class St{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,g.Z)(this.contrast,55),this.background="#ffffff",this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=mt(this.primaryColor,this.darkMode),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=f(this.primaryColor),this.secondaryTextColor=f(this.secondaryColor),this.tertiaryTextColor=f(this.tertiaryColor),this.lineColor=f(this.background),this.textColor=f(this.background),this.mainBkg="#eee",this.secondBkg="calculated",this.lineColor="#666",this.border1="#999",this.border2="calculated",this.note="#ffa",this.text="#333",this.critical="#d42",this.done="#bbb",this.arrowheadColor="#333333",this.fontFamily='"trebuchet ms", verdana, arial, sans-serif',this.fontSize="16px",this.THEME_COLOR_LIMIT=12,this.nodeBkg="calculated",this.nodeBorder="calculated",this.clusterBkg="calculated",this.clusterBorder="calculated",this.defaultLinkColor="calculated",this.titleColor="calculated",this.edgeLabelBackground="white",this.actorBorder="calculated",this.actorBkg="calculated",this.actorTextColor="calculated",this.actorLineColor="calculated",this.signalColor="calculated",this.signalTextColor="calculated",this.labelBoxBkgColor="calculated",this.labelBoxBorderColor="calculated",this.labelTextColor="calculated",this.loopTextColor="calculated",this.noteBorderColor="calculated",this.noteBkgColor="calculated",this.noteTextColor="calculated",this.activationBorderColor="#666",this.activationBkgColor="#f4f4f4",this.sequenceNumberColor="white",this.sectionBkgColor="calculated",this.altSectionBkgColor="white",this.sectionBkgColor2="calculated",this.excludeBkgColor="#eeeeee",this.taskBorderColor="calculated",this.taskBkgColor="calculated",this.taskTextLightColor="white",this.taskTextColor="calculated",this.taskTextDarkColor="calculated",this.taskTextOutsideColor="calculated",this.taskTextClickableColor="#003163",this.activeTaskBorderColor="calculated",this.activeTaskBkgColor="calculated",this.gridColor="calculated",this.doneTaskBkgColor="calculated",this.doneTaskBorderColor="calculated",this.critBkgColor="calculated",this.critBorderColor="calculated",this.todayLineColor="calculated",this.personBorder=this.primaryBorderColor,this.personBkg=this.mainBkg,this.labelColor="black",this.errorBkgColor="#552222",this.errorTextColor="#552222"}updateColors(){this.secondBkg=(0,g.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,g.Z)(this.border1,23),this.actorBkg=this.mainBkg,this.actorTextColor=this.text,this.actorLineColor=this.lineColor,this.signalColor=this.text,this.signalTextColor=this.text,this.labelBoxBkgColor=this.actorBkg,this.labelBoxBorderColor=this.actorBorder,this.labelTextColor=this.text,this.loopTextColor=this.text,this.noteBorderColor="#999",this.noteBkgColor="#666",this.noteTextColor="#fff",this.cScale0=this.cScale0||"#555",this.cScale1=this.cScale1||"#F4F4F4",this.cScale2=this.cScale2||"#555",this.cScale3=this.cScale3||"#BBB",this.cScale4=this.cScale4||"#777",this.cScale5=this.cScale5||"#999",this.cScale6=this.cScale6||"#DDD",this.cScale7=this.cScale7||"#FFF",this.cScale8=this.cScale8||"#DDD",this.cScale9=this.cScale9||"#BBB",this.cScale10=this.cScale10||"#999",this.cScale11=this.cScale11||"#777";for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleInv"+t]=this["cScaleInv"+t]||f(this["cScale"+t]);for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this.darkMode?this["cScalePeer"+t]=this["cScalePeer"+t]||(0,g.Z)(this["cScale"+t],10):this["cScalePeer"+t]=this["cScalePeer"+t]||(0,d.Z)(this["cScale"+t],10);this.scaleLabelColor=this.scaleLabelColor||(this.darkMode?"black":this.labelTextColor),this.cScaleLabel0=this.cScaleLabel0||this.cScale1,this.cScaleLabel2=this.cScaleLabel2||this.cScale1;for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["cScaleLabel"+t]=this["cScaleLabel"+t]||this.scaleLabelColor;for(let t=0;t<5;t++)this["surface"+t]=this["surface"+t]||l(this.mainBkg,{l:-(5+5*t)}),this["surfacePeer"+t]=this["surfacePeer"+t]||l(this.mainBkg,{l:-(8+5*t)});this.nodeBkg=this.mainBkg,this.nodeBorder=this.border1,this.clusterBkg=this.secondBkg,this.clusterBorder=this.border2,this.defaultLinkColor=this.lineColor,this.titleColor=this.text,this.sectionBkgColor=(0,g.Z)(this.contrast,30),this.sectionBkgColor2=(0,g.Z)(this.contrast,30),this.taskBorderColor=(0,d.Z)(this.contrast,10),this.taskBkgColor=this.contrast,this.taskTextColor=this.taskTextLightColor,this.taskTextDarkColor=this.text,this.taskTextOutsideColor=this.taskTextDarkColor,this.activeTaskBorderColor=this.taskBorderColor,this.activeTaskBkgColor=this.mainBkg,this.gridColor=(0,g.Z)(this.border1,30),this.doneTaskBkgColor=this.done,this.doneTaskBorderColor=this.lineColor,this.critBkgColor=this.critical,this.critBorderColor=(0,d.Z)(this.critBkgColor,10),this.todayLineColor=this.critBkgColor,this.transitionColor=this.transitionColor||"#000",this.transitionLabelColor=this.transitionLabelColor||this.textColor,this.stateLabelColor=this.stateLabelColor||this.stateBkg||this.primaryTextColor,this.stateBkg=this.stateBkg||this.mainBkg,this.labelBackgroundColor=this.labelBackgroundColor||this.stateBkg,this.compositeBackground=this.compositeBackground||this.background||this.tertiaryColor,this.altBackground=this.altBackground||"#f4f4f4",this.compositeTitleBackground=this.compositeTitleBackground||this.mainBkg,this.stateBorder=this.stateBorder||"#000",this.innerEndBackground=this.primaryBorderColor,this.specialStateColor="#222",this.errorBkgColor=this.errorBkgColor||this.tertiaryColor,this.errorTextColor=this.errorTextColor||this.tertiaryTextColor,this.classText=this.primaryTextColor,this.fillType0=this.primaryColor,this.fillType1=this.secondaryColor,this.fillType2=l(this.primaryColor,{h:64}),this.fillType3=l(this.secondaryColor,{h:64}),this.fillType4=l(this.primaryColor,{h:-64}),this.fillType5=l(this.secondaryColor,{h:-64}),this.fillType6=l(this.primaryColor,{h:128}),this.fillType7=l(this.secondaryColor,{h:128});for(let t=0;t<this.THEME_COLOR_LIMIT;t++)this["pie"+t]=this["cScale"+t];this.pie12=this.pie0,this.pieTitleTextSize=this.pieTitleTextSize||"25px",this.pieTitleTextColor=this.pieTitleTextColor||this.taskTextDarkColor,this.pieSectionTextSize=this.pieSectionTextSize||"17px",this.pieSectionTextColor=this.pieSectionTextColor||this.textColor,this.pieLegendTextSize=this.pieLegendTextSize||"17px",this.pieLegendTextColor=this.pieLegendTextColor||this.taskTextDarkColor,this.pieStrokeColor=this.pieStrokeColor||"black",this.pieStrokeWidth=this.pieStrokeWidth||"2px",this.pieOuterStrokeWidth=this.pieOuterStrokeWidth||"2px",this.pieOuterStrokeColor=this.pieOuterStrokeColor||"black",this.pieOpacity=this.pieOpacity||"0.7",this.quadrant1Fill=this.quadrant1Fill||this.primaryColor,this.quadrant2Fill=this.quadrant2Fill||l(this.primaryColor,{r:5,g:5,b:5}),this.quadrant3Fill=this.quadrant3Fill||l(this.primaryColor,{r:10,g:10,b:10}),this.quadrant4Fill=this.quadrant4Fill||l(this.primaryColor,{r:15,g:15,b:15}),this.quadrant1TextFill=this.quadrant1TextFill||this.primaryTextColor,this.quadrant2TextFill=this.quadrant2TextFill||l(this.primaryTextColor,{r:-5,g:-5,b:-5}),this.quadrant3TextFill=this.quadrant3TextFill||l(this.primaryTextColor,{r:-10,g:-10,b:-10}),this.quadrant4TextFill=this.quadrant4TextFill||l(this.primaryTextColor,{r:-15,g:-15,b:-15}),this.quadrantPointFill=this.quadrantPointFill||(0,p.Z)(this.quadrant1Fill)?(0,g.Z)(this.quadrant1Fill):(0,d.Z)(this.quadrant1Fill),this.quadrantPointTextFill=this.quadrantPointTextFill||this.primaryTextColor,this.quadrantXAxisTextFill=this.quadrantXAxisTextFill||this.primaryTextColor,this.quadrantYAxisTextFill=this.quadrantYAxisTextFill||this.primaryTextColor,this.quadrantInternalBorderStrokeFill=this.quadrantInternalBorderStrokeFill||this.primaryBorderColor,this.quadrantExternalBorderStrokeFill=this.quadrantExternalBorderStrokeFill||this.primaryBorderColor,this.quadrantTitleFill=this.quadrantTitleFill||this.primaryTextColor,this.requirementBackground=this.requirementBackground||this.primaryColor,this.requirementBorderColor=this.requirementBorderColor||this.primaryBorderColor,this.requirementBorderSize=this.requirementBorderSize||"1",this.requirementTextColor=this.requirementTextColor||this.primaryTextColor,this.relationColor=this.relationColor||this.lineColor,this.relationLabelBackground=this.relationLabelBackground||this.edgeLabelBackground,this.relationLabelColor=this.relationLabelColor||this.actorTextColor,this.git0=(0,d.Z)(this.pie1,25)||this.primaryColor,this.git1=this.pie2||this.secondaryColor,this.git2=this.pie3||this.tertiaryColor,this.git3=this.pie4||l(this.primaryColor,{h:-30}),this.git4=this.pie5||l(this.primaryColor,{h:-60}),this.git5=this.pie6||l(this.primaryColor,{h:-90}),this.git6=this.pie7||l(this.primaryColor,{h:60}),this.git7=this.pie8||l(this.primaryColor,{h:120}),this.gitInv0=this.gitInv0||f(this.git0),this.gitInv1=this.gitInv1||f(this.git1),this.gitInv2=this.gitInv2||f(this.git2),this.gitInv3=this.gitInv3||f(this.git3),this.gitInv4=this.gitInv4||f(this.git4),this.gitInv5=this.gitInv5||f(this.git5),this.gitInv6=this.gitInv6||f(this.git6),this.gitInv7=this.gitInv7||f(this.git7),this.branchLabelColor=this.branchLabelColor||this.labelTextColor,this.gitBranchLabel0=this.branchLabelColor,this.gitBranchLabel1="white",this.gitBranchLabel2=this.branchLabelColor,this.gitBranchLabel3="white",this.gitBranchLabel4=this.branchLabelColor,this.gitBranchLabel5=this.branchLabelColor,this.gitBranchLabel6=this.branchLabelColor,this.gitBranchLabel7=this.branchLabelColor,this.tagLabelColor=this.tagLabelColor||this.primaryTextColor,this.tagLabelBackground=this.tagLabelBackground||this.primaryColor,this.tagLabelBorder=this.tagBorder||this.primaryBorderColor,this.tagLabelFontSize=this.tagLabelFontSize||"10px",this.commitLabelColor=this.commitLabelColor||this.secondaryTextColor,this.commitLabelBackground=this.commitLabelBackground||this.secondaryColor,this.commitLabelFontSize=this.commitLabelFontSize||"10px",this.attributeBackgroundColorOdd=this.attributeBackgroundColorOdd||vt,this.attributeBackgroundColorEven=this.attributeBackgroundColorEven||xt}calculate(t){if("object"!=typeof t)return void this.updateColors();const e=Object.keys(t);e.forEach((e=>{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}}const At={base:{getThemeVariables:t=>{const e=new kt;return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new _t;return e.calculate(t),e}},default:{getThemeVariables:Tt},forest:{getThemeVariables:t=>{const e=new Ct;return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new St;return e.calculate(t),e}}},Mt={flowchart:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{useMaxWidth:!0,hideUnusedParticipants:!1,activationWidth:10,diagramMarginX:50,diagramMarginY:10,actorMargin:50,width:150,height:65,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",mirrorActors:!0,forceMenus:!1,bottomMarginAdj:1,rightAngles:!1,showSequenceNumbers:!1,actorFontSize:14,actorFontFamily:'"Open Sans", sans-serif',actorFontWeight:400,noteFontSize:14,noteFontFamily:'"trebuchet ms", verdana, arial, sans-serif',noteFontWeight:400,noteAlign:"center",messageFontSize:16,messageFontFamily:'"trebuchet ms", verdana, arial, sans-serif',messageFontWeight:400,wrap:!1,wrapPadding:10,labelBoxWidth:50,labelBoxHeight:20},gantt:{useMaxWidth:!0,titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,axisFormat:"%Y-%m-%d",topAxis:!1,displayMode:"",weekday:"sunday"},journey:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"]},class:{useMaxWidth:!0,titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,defaultRenderer:"dagre-wrapper",htmlLabels:!1},state:{useMaxWidth:!0,titleTopMargin:25,dividerMargin:10,sizeUnit:5,padding:8,textHeight:10,titleShift:-15,noteMargin:10,forkWidth:70,forkHeight:7,miniPadding:2,fontSizeFactor:5.02,fontSize:24,labelHeight:16,edgeLengthFactor:"20",compositTitleSize:35,radius:5,defaultRenderer:"dagre-wrapper"},er:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12},pie:{useMaxWidth:!0,textPosition:.75},quadrantChart:{useMaxWidth:!0,chartWidth:500,chartHeight:500,titleFontSize:20,titlePadding:10,quadrantPadding:5,xAxisLabelPadding:5,yAxisLabelPadding:5,xAxisLabelFontSize:16,yAxisLabelFontSize:16,quadrantLabelFontSize:16,quadrantTextTopPadding:5,pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,xAxisPosition:"top",yAxisPosition:"left",quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2},requirement:{useMaxWidth:!0,rect_fill:"#f9f9f9",text_color:"#333",rect_border_size:"0.5px",rect_border_color:"#bbb",rect_min_width:200,rect_min_height:200,fontSize:14,rect_padding:10,line_height:20},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},timeline:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,rightAngles:!1,taskFontSize:14,taskFontFamily:'"Open Sans", sans-serif',taskMargin:50,activationWidth:10,textPlacement:"fo",actorColours:["#8FBC8F","#7CFC00","#00FFFF","#20B2AA","#B0E0E6","#FFFFE0"],sectionFills:["#191970","#8B008B","#4B0082","#2F4F4F","#800000","#8B4513","#00008B"],sectionColours:["#fff"],disableMulticolor:!1},gitGraph:{useMaxWidth:!0,titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0,arrowMarkerAbsolute:!1},c4:{useMaxWidth:!0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,c4ShapeInRow:4,nextLinePaddingX:0,c4BoundaryInRow:2,personFontSize:14,personFontFamily:'"Open Sans", sans-serif',personFontWeight:"normal",external_personFontSize:14,external_personFontFamily:'"Open Sans", sans-serif',external_personFontWeight:"normal",systemFontSize:14,systemFontFamily:'"Open Sans", sans-serif',systemFontWeight:"normal",external_systemFontSize:14,external_systemFontFamily:'"Open Sans", sans-serif',external_systemFontWeight:"normal",system_dbFontSize:14,system_dbFontFamily:'"Open Sans", sans-serif',system_dbFontWeight:"normal",external_system_dbFontSize:14,external_system_dbFontFamily:'"Open Sans", sans-serif',external_system_dbFontWeight:"normal",system_queueFontSize:14,system_queueFontFamily:'"Open Sans", sans-serif',system_queueFontWeight:"normal",external_system_queueFontSize:14,external_system_queueFontFamily:'"Open Sans", sans-serif',external_system_queueFontWeight:"normal",boundaryFontSize:14,boundaryFontFamily:'"Open Sans", sans-serif',boundaryFontWeight:"normal",messageFontSize:12,messageFontFamily:'"Open Sans", sans-serif',messageFontWeight:"normal",containerFontSize:14,containerFontFamily:'"Open Sans", sans-serif',containerFontWeight:"normal",external_containerFontSize:14,external_containerFontFamily:'"Open Sans", sans-serif',external_containerFontWeight:"normal",container_dbFontSize:14,container_dbFontFamily:'"Open Sans", sans-serif',container_dbFontWeight:"normal",external_container_dbFontSize:14,external_container_dbFontFamily:'"Open Sans", sans-serif',external_container_dbFontWeight:"normal",container_queueFontSize:14,container_queueFontFamily:'"Open Sans", sans-serif',container_queueFontWeight:"normal",external_container_queueFontSize:14,external_container_queueFontFamily:'"Open Sans", sans-serif',external_container_queueFontWeight:"normal",componentFontSize:14,componentFontFamily:'"Open Sans", sans-serif',componentFontWeight:"normal",external_componentFontSize:14,external_componentFontFamily:'"Open Sans", sans-serif',external_componentFontWeight:"normal",component_dbFontSize:14,component_dbFontFamily:'"Open Sans", sans-serif',component_dbFontWeight:"normal",external_component_dbFontSize:14,external_component_dbFontFamily:'"Open Sans", sans-serif',external_component_dbFontWeight:"normal",component_queueFontSize:14,component_queueFontFamily:'"Open Sans", sans-serif',component_queueFontWeight:"normal",external_component_queueFontSize:14,external_component_queueFontFamily:'"Open Sans", sans-serif',external_component_queueFontWeight:"normal",wrap:!0,wrapPadding:10,person_bg_color:"#08427B",person_border_color:"#073B6F",external_person_bg_color:"#686868",external_person_border_color:"#8A8A8A",system_bg_color:"#1168BD",system_border_color:"#3C7FC0",system_db_bg_color:"#1168BD",system_db_border_color:"#3C7FC0",system_queue_bg_color:"#1168BD",system_queue_border_color:"#3C7FC0",external_system_bg_color:"#999999",external_system_border_color:"#8A8A8A",external_system_db_bg_color:"#999999",external_system_db_border_color:"#8A8A8A",external_system_queue_bg_color:"#999999",external_system_queue_border_color:"#8A8A8A",container_bg_color:"#438DD5",container_border_color:"#3C7FC0",container_db_bg_color:"#438DD5",container_db_border_color:"#3C7FC0",container_queue_bg_color:"#438DD5",container_queue_border_color:"#3C7FC0",external_container_bg_color:"#B3B3B3",external_container_border_color:"#A6A6A6",external_container_db_bg_color:"#B3B3B3",external_container_db_border_color:"#A6A6A6",external_container_queue_bg_color:"#B3B3B3",external_container_queue_border_color:"#A6A6A6",component_bg_color:"#85BBF0",component_border_color:"#78A8D8",component_db_bg_color:"#85BBF0",component_db_border_color:"#78A8D8",component_queue_bg_color:"#85BBF0",component_queue_border_color:"#78A8D8",external_component_bg_color:"#CCCCCC",external_component_border_color:"#BFBFBF",external_component_db_bg_color:"#CCCCCC",external_component_db_border_color:"#BFBFBF",external_component_queue_bg_color:"#CCCCCC",external_component_queue_border_color:"#BFBFBF"},sankey:{useMaxWidth:!0,width:600,height:400,linkColor:"gradient",nodeAlignment:"justify",showValues:!0,prefix:"",suffix:""},theme:"default",maxTextSize:5e4,darkMode:!1,fontFamily:'"trebuchet ms", verdana, arial, sans-serif;',logLevel:5,securityLevel:"strict",startOnLoad:!0,arrowMarkerAbsolute:!1,secure:["secure","securityLevel","startOnLoad","maxTextSize"],deterministicIds:!1,fontSize:16},It={...Mt,deterministicIDSeed:void 0,themeCSS:void 0,themeVariables:At.default.getThemeVariables(),sequence:{...Mt.sequence,messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}},noteFont:function(){return{fontFamily:this.noteFontFamily,fontSize:this.noteFontSize,fontWeight:this.noteFontWeight}},actorFont:function(){return{fontFamily:this.actorFontFamily,fontSize:this.actorFontSize,fontWeight:this.actorFontWeight}}},gantt:{...Mt.gantt,tickInterval:void 0,useWidth:void 0},c4:{...Mt.c4,useWidth:void 0,personFont:function(){return{fontFamily:this.personFontFamily,fontSize:this.personFontSize,fontWeight:this.personFontWeight}},external_personFont:function(){return{fontFamily:this.external_personFontFamily,fontSize:this.external_personFontSize,fontWeight:this.external_personFontWeight}},systemFont:function(){return{fontFamily:this.systemFontFamily,fontSize:this.systemFontSize,fontWeight:this.systemFontWeight}},external_systemFont:function(){return{fontFamily:this.external_systemFontFamily,fontSize:this.external_systemFontSize,fontWeight:this.external_systemFontWeight}},system_dbFont:function(){return{fontFamily:this.system_dbFontFamily,fontSize:this.system_dbFontSize,fontWeight:this.system_dbFontWeight}},external_system_dbFont:function(){return{fontFamily:this.external_system_dbFontFamily,fontSize:this.external_system_dbFontSize,fontWeight:this.external_system_dbFontWeight}},system_queueFont:function(){return{fontFamily:this.system_queueFontFamily,fontSize:this.system_queueFontSize,fontWeight:this.system_queueFontWeight}},external_system_queueFont:function(){return{fontFamily:this.external_system_queueFontFamily,fontSize:this.external_system_queueFontSize,fontWeight:this.external_system_queueFontWeight}},containerFont:function(){return{fontFamily:this.containerFontFamily,fontSize:this.containerFontSize,fontWeight:this.containerFontWeight}},external_containerFont:function(){return{fontFamily:this.external_containerFontFamily,fontSize:this.external_containerFontSize,fontWeight:this.external_containerFontWeight}},container_dbFont:function(){return{fontFamily:this.container_dbFontFamily,fontSize:this.container_dbFontSize,fontWeight:this.container_dbFontWeight}},external_container_dbFont:function(){return{fontFamily:this.external_container_dbFontFamily,fontSize:this.external_container_dbFontSize,fontWeight:this.external_container_dbFontWeight}},container_queueFont:function(){return{fontFamily:this.container_queueFontFamily,fontSize:this.container_queueFontSize,fontWeight:this.container_queueFontWeight}},external_container_queueFont:function(){return{fontFamily:this.external_container_queueFontFamily,fontSize:this.external_container_queueFontSize,fontWeight:this.external_container_queueFontWeight}},componentFont:function(){return{fontFamily:this.componentFontFamily,fontSize:this.componentFontSize,fontWeight:this.componentFontWeight}},external_componentFont:function(){return{fontFamily:this.external_componentFontFamily,fontSize:this.external_componentFontSize,fontWeight:this.external_componentFontWeight}},component_dbFont:function(){return{fontFamily:this.component_dbFontFamily,fontSize:this.component_dbFontSize,fontWeight:this.component_dbFontWeight}},external_component_dbFont:function(){return{fontFamily:this.external_component_dbFontFamily,fontSize:this.external_component_dbFontSize,fontWeight:this.external_component_dbFontWeight}},component_queueFont:function(){return{fontFamily:this.component_queueFontFamily,fontSize:this.component_queueFontSize,fontWeight:this.component_queueFontWeight}},external_component_queueFont:function(){return{fontFamily:this.external_component_queueFontFamily,fontSize:this.external_component_queueFontSize,fontWeight:this.external_component_queueFontWeight}},boundaryFont:function(){return{fontFamily:this.boundaryFontFamily,fontSize:this.boundaryFontSize,fontWeight:this.boundaryFontWeight}},messageFont:function(){return{fontFamily:this.messageFontFamily,fontSize:this.messageFontSize,fontWeight:this.messageFontWeight}}},pie:{...Mt.pie,useWidth:984},requirement:{...Mt.requirement,useWidth:void 0},gitGraph:{...Mt.gitGraph,useMaxWidth:!1},sankey:{...Mt.sankey,useMaxWidth:!1}},Lt=(t,e="")=>Object.keys(t).reduce(((n,i)=>Array.isArray(t[i])?n:"object"==typeof t[i]&&null!==t[i]?[...n,e+i,...Lt(t[i],"")]:[...n,e+i]),[]),Ot=new Set(Lt(It,"")),Dt=It,Nt=t=>{if(rt.debug("sanitizeDirective called with",t),"object"==typeof t&&null!=t)if(Array.isArray(t))t.forEach((t=>Nt(t)));else{for(const e of Object.keys(t)){if(rt.debug("Checking key",e),e.startsWith("__")||e.includes("proto")||e.includes("constr")||!Ot.has(e)||null==t[e]){rt.debug("sanitize deleting key: ",e),delete t[e];continue}if("object"==typeof t[e]){rt.debug("sanitizing object",e),Nt(t[e]);continue}const n=["themeCSS","fontFamily","altFontFamily"];for(const i of n)e.includes(i)&&(rt.debug("sanitizing css option",e),t[e]=Pt(t[e]))}if(t.themeVariables)for(const e of Object.keys(t.themeVariables)){const n=t.themeVariables[e];(null==n?void 0:n.match)&&!n.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[e]="")}rt.debug("After sanitization",t)}},Pt=t=>{let e=0,n=0;for(const i of t){if(e<n)return"{ /* ERROR: Unbalanced CSS */ }";"{"===i?e++:"}"===i&&n++}return e!==n?"{ /* ERROR: Unbalanced CSS */ }":t},Bt=/^-{3}\s*[\n\r](.*?)[\n\r]-{3}\s*[\n\r]+/s,Ft=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,$t=/\s*%%.*\n/gm;class jt extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Rt={},zt=function(t,e){t=t.replace(Bt,"").replace(Ft,"").replace($t,"\n");for(const[n,{detector:i}]of Object.entries(Rt))if(i(t,e))return n;throw new jt(`No diagram type detected matching given configuration for text: ${t}`)},qt=(...t)=>{for(const{id:e,detector:n,loader:i}of t)Ht(e,n,i)},Ht=(t,e,n)=>{Rt[t]?rt.error(`Detector with key ${t} already exists`):Rt[t]={detector:e,loader:n},rt.debug(`Detector with key ${t} added${n?" with loader":""}`)},Zt=(t,e,{depth:n=2,clobber:i=!1}={})=>{const r={depth:n,clobber:i};return Array.isArray(e)&&!Array.isArray(t)?(e.forEach((e=>Zt(t,e,r))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||n<=0?null!=t&&"object"==typeof t&&"object"==typeof e?Object.assign(t,e):e:(void 0!==e&&"object"==typeof t&&"object"==typeof e&&Object.keys(e).forEach((r=>{"object"!=typeof e[r]||void 0!==t[r]&&"object"!=typeof t[r]?(i||"object"!=typeof t[r]&&"object"!=typeof e[r])&&(t[r]=e[r]):(void 0===t[r]&&(t[r]=Array.isArray(e[r])?[]:{}),t[r]=Zt(t[r],e[r],{depth:n-1,clobber:i}))})),t)},Ut=Zt,Yt="",Gt={curveBasis:o.$0Z,curveBasisClosed:o.Dts,curveBasisOpen:o.WQY,curveBumpX:o.qpX,curveBumpY:o.u93,curveBundle:o.tFB,curveCardinalClosed:o.OvA,curveCardinalOpen:o.dCK,curveCardinal:o.YY7,curveCatmullRomClosed:o.fGX,curveCatmullRomOpen:o.$m7,curveCatmullRom:o.zgE,curveLinear:o.c_6,curveLinearClosed:o.fxm,curveMonotoneX:o.FdL,curveMonotoneY:o.ak_,curveNatural:o.SxZ,curveStep:o.eA_,curveStepAfter:o.jsv,curveStepBefore:o.iJ},Kt=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Wt=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${Kt.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(n,"").replace(/'/gm,'"'),rt.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const r=[];for(;null!==(i=Ft.exec(t));)if(i.index===Ft.lastIndex&&Ft.lastIndex++,i&&!e||e&&i[1]&&i[1].match(e)||e&&i[2]&&i[2].match(e)){const t=i[1]?i[1]:i[2],e=i[3]?i[3].trim():i[4]?JSON.parse(i[4].trim()):null;r.push({type:t,args:e})}return 0===r.length?{type:t,args:null}:1===r.length?r[0]:r}catch(n){return rt.error(`ERROR: ${n.message} - Unable to parse directive type: '${e}' based on the text: '${t}'`),{type:void 0,args:null}}};function Xt(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Gt[n]??e}function Vt(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}const Qt=(t,e=2)=>{const n=Math.pow(10,e);return Math.round(t*n)/n},Jt=(t,e)=>{let n,i=e;for(const e of t){if(n){const t=Vt(e,n);if(t<i)i-=t;else{const r=i/t;if(r<=0)return n;if(r>=1)return{x:e.x,y:e.y};if(r>0&&r<1)return{x:Qt((1-r)*n.x+r*e.x,5),y:Qt((1-r)*n.y+r*e.y,5)}}}n=e}throw new Error("Could not find a suitable point for the given distance")};function te(t){let e="",n="";for(const i of t)void 0!==i&&(i.startsWith("color:")||i.startsWith("text-align:")?n=n+i+";":e=e+i+";");return{style:e,labelStyle:n}}let ee=0;const ne=()=>(ee++,"id-"+Math.random().toString(36).substr(2,12)+"-"+ee),ie=t=>function(t){let e="";for(let n=0;n<t;n++)e+="0123456789abcdef".charAt(Math.floor(16*Math.random()));return e}(t.length),re=function(t,e){const n=e.text.replace(yt.lineBreakRegex," "),[,i]=fe(e.fontSize),r=t.append("text");r.attr("x",e.x),r.attr("y",e.y),r.style("text-anchor",e.anchor),r.style("font-family",e.fontFamily),r.style("font-size",i),r.style("font-weight",e.fontWeight),r.attr("fill",e.fill),void 0!==e.class&&r.attr("class",e.class);const a=r.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.attr("fill",e.fill),a.text(n),r},ae=(0,b.Z)(((t,e,n)=>{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"<br/>"},n),yt.lineBreakRegex.test(t))return t;const i=t.split(" "),r=[];let a="";return i.forEach(((t,o)=>{const s=ce(`${t} `,n),c=ce(a,n);if(s>e){const{hyphenatedStrings:i,remainingWord:o}=oe(t,e,"-",n);r.push(a,...i),a=o}else c+s>=e?(r.push(a),a=t):a=[a,t].filter(Boolean).join(" ");o+1===i.length&&r.push(a)})),r.filter((t=>""!==t)).join(n.joinWith)}),((t,e,n)=>`${t}${e}${n.fontSize}${n.fontWeight}${n.fontFamily}${n.joinWith}`)),oe=(0,b.Z)(((t,e,n="-",i)=>{i=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:0},i);const r=[...t],a=[];let o="";return r.forEach(((t,s)=>{const c=`${o}${t}`;if(ce(c,i)>=e){const t=s+1,e=r.length===t,i=`${c}${n}`;a.push(e?c:i),o=""}else o=c})),{hyphenatedStrings:a,remainingWord:o}}),((t,e,n="-",i)=>`${t}${e}${n}${i.fontSize}${i.fontWeight}${i.fontFamily}`));function se(t,e){return ue(t,e).height}function ce(t,e){return ue(t,e).width}const ue=(0,b.Z)(((t,e)=>{const{fontSize:n=12,fontFamily:i="Arial",fontWeight:r=400}=e;if(!t)return{width:0,height:0};const[,a]=fe(n),s=["sans-serif",i],c=t.split(yt.lineBreakRegex),u=[],l=(0,o.Ys)("body");if(!l.remove)return{width:0,height:0,lineHeight:0};const h=l.append("svg");for(const t of s){let e=0;const n={width:0,height:0,lineHeight:0};for(const i of c){const o={x:0,y:0,fill:void 0,anchor:"start",style:"#666",width:100,height:100,textMargin:0,rx:0,ry:0,valign:void 0,text:""};o.text=i||Yt;const s=re(h,o).style("font-size",a).style("font-weight",r).style("font-family",t),c=(s._groups||s)[0][0].getBBox();if(0===c.width&&0===c.height)throw new Error("svg element not in render tree");n.width=Math.round(Math.max(n.width,c.width)),e=Math.round(c.height),n.height+=e,n.lineHeight=Math.round(Math.max(n.lineHeight,e))}u.push(n)}return h.remove(),u[isNaN(u[1].height)||isNaN(u[1].width)||isNaN(u[1].lineHeight)||u[0].height>u[1].height&&u[0].width>u[1].width&&u[0].lineHeight>u[1].lineHeight?0:1]}),((t,e)=>`${t}${e.fontSize}${e.fontWeight}${e.fontFamily}`));let le;function he(t){return"str"in t}const fe=t=>{if("number"==typeof t)return[t,t+"px"];const e=parseInt(t??"",10);return Number.isNaN(e)?[void 0,void 0]:t===String(e)?[e,t+"px"]:[e,t]};function de(t,e){return(0,w.Z)({},t,e)}const ge={assignWithDepth:Ut,wrapLabel:ae,calculateTextHeight:se,calculateTextWidth:ce,calculateTextDimensions:ue,cleanAndMerge:de,detectInit:function(t,e){const n=Wt(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const t=n.map((t=>t.args));Nt(t),i=Ut(i,[...t])}else i=n.args;if(!i)return;let r=zt(t,e);const a="config";return void 0!==i[a]&&("flowchart-v2"===r&&(r="flowchart"),i[r]=i[a],delete i[a]),i},detectDirective:Wt,isSubstringInArray:function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1},interpolateToCurve:Xt,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;return t.forEach((t=>{n+=Vt(t,e),e=t})),Jt(t,n/2)}(t)},calcCardinalityPosition:(t,e,n)=>{rt.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());const i=Jt(e,25),r=t?10:5,a=Math.atan2(e[0].y-i.y,e[0].x-i.x),o={x:0,y:0};return o.x=Math.sin(a)*r+(e[0].x+i.x)/2,o.y=-Math.cos(a)*r+(e[0].y+i.y)/2,o},calcTerminalLabelPosition:function(t,e,n){const i=structuredClone(n);rt.info("our points",i),"start_left"!==e&&"start_right"!==e&&i.reverse();const r=Jt(i,25+t),a=10+.5*t,o=Math.atan2(i[0].y-r.y,i[0].x-r.x),s={x:0,y:0};return"start_left"===e?(s.x=Math.sin(o+Math.PI)*a+(i[0].x+r.x)/2,s.y=-Math.cos(o+Math.PI)*a+(i[0].y+r.y)/2):"end_right"===e?(s.x=Math.sin(o-Math.PI)*a+(i[0].x+r.x)/2-5,s.y=-Math.cos(o-Math.PI)*a+(i[0].y+r.y)/2-5):"end_left"===e?(s.x=Math.sin(o)*a+(i[0].x+r.x)/2-5,s.y=-Math.cos(o)*a+(i[0].y+r.y)/2-5):(s.x=Math.sin(o)*a+(i[0].x+r.x)/2,s.y=-Math.cos(o)*a+(i[0].y+r.y)/2),s},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?(0,a.Nm)(n):n},getStylesFromArray:te,generateId:ne,random:ie,runFunc:(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let a=window;for(let e=0;e<i;e++)if(a=a[n[e]],!a)return void rt.error(`Function name: ${t} not found in window`);a[r](...e)},entityDecode:function(t){return le=le||document.createElement("div"),t=escape(t).replace(/%26/g,"&").replace(/%23/g,"#").replace(/%3B/g,";"),le.innerHTML=t,unescape(le.textContent)},insertTitle:(t,e,n,i)=>{var r;if(!i)return;const a=null==(r=t.node())?void 0:r.getBBox();a&&t.append("text").text(i).attr("x",a.x+a.width/2).attr("y",-n).attr("class",e)},parseFontSize:fe,InitIDGenerator:class{constructor(t=!1,e){this.count=0,this.count=e?e.length:0,this.next=t?()=>this.count++:()=>Date.now()}}},pe="10.5.0",be=Object.freeze(Dt);let we,ye=Ut({},be),me=[],ve=Ut({},be);const xe=(t,e)=>{let n=Ut({},t),i={};for(const t of e)Te(t),i=Ut(i,t);if(n=Ut(n,i),i.theme&&i.theme in At){const t=Ut({},we),e=Ut(t.themeVariables||{},i.themeVariables);n.theme&&n.theme in At&&(n.themeVariables=At[n.theme].getThemeVariables(e))}return ve=n,Me(ve),ve},ke=()=>Ut({},ye),_e=t=>(Me(t),Ut(ve,t),Ee()),Ee=()=>Ut({},ve),Te=t=>{t&&(["secure",...ye.secure??[]].forEach((e=>{Object.hasOwn(t,e)&&(rt.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{e.startsWith("__")&&delete t[e]})),Object.keys(t).forEach((e=>{"string"==typeof t[e]&&(t[e].includes("<")||t[e].includes(">")||t[e].includes("url(data:"))&&delete t[e],"object"==typeof t[e]&&Te(t[e])})))},Ce=(t=ye)=>{me=[],xe(t,me)},Se={LAZY_LOAD_DEPRECATED:"The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead."},Ae={},Me=t=>{var e;t&&(t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(Ae[e="LAZY_LOAD_DEPRECATED"]||(rt.warn(Se[e]),Ae[e]=!0))},Ie={id:"c4",detector:t=>/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,425));return{id:"c4",diagram:t}}},Le="flowchart",Oe={id:Le,detector:(t,e)=>{var n,i;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&/^\s*graph/.test(t)},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,1869));return{id:Le,diagram:t}}},De="flowchart-v2",Ne={id:De,detector:(t,e)=>{var n,i,r;return"dagre-d3"!==(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer)&&"elk"!==(null==(i=null==e?void 0:e.flowchart)?void 0:i.defaultRenderer)&&(!(!/^\s*graph/.test(t)||"dagre-wrapper"!==(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer))||/^\s*flowchart/.test(t))},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,4626));return{id:De,diagram:t}}},Pe={id:"er",detector:t=>/^\s*erDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,3305));return{id:"er",diagram:t}}},Be="gitGraph",Fe={id:Be,detector:t=>/^\s*gitGraph/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,5086));return{id:Be,diagram:t}}},$e="gantt",je={id:$e,detector:t=>/^\s*gantt/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,1554));return{id:$e,diagram:t}}},Re="info",ze={id:Re,detector:t=>/^\s*info/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,684));return{id:Re,diagram:t}}},qe={id:"pie",detector:t=>/^\s*pie/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,7875));return{id:"pie",diagram:t}}},He="quadrantChart",Ze={id:He,detector:t=>/^\s*quadrantChart/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,2069));return{id:He,diagram:t}}},Ue="requirement",Ye={id:Ue,detector:t=>/^\s*requirement(Diagram)?/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,8841));return{id:Ue,diagram:t}}},Ge="sequence",Ke={id:Ge,detector:t=>/^\s*sequenceDiagram/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,9770));return{id:Ge,diagram:t}}},We="class",Xe={id:We,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&/^\s*classDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,5411));return{id:We,diagram:t}}},Ve="classDiagram",Qe={id:Ve,detector:(t,e)=>{var n;return!(!/^\s*classDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer))||/^\s*classDiagram-v2/.test(t)},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,8031));return{id:Ve,diagram:t}}},Je="state",tn={id:Je,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&/^\s*stateDiagram/.test(t)},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,4206));return{id:Je,diagram:t}}},en="stateDiagram",nn={id:en,detector:(t,e)=>{var n;return!!/^\s*stateDiagram-v2/.test(t)||!(!/^\s*stateDiagram/.test(t)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,4284));return{id:en,diagram:t}}},rn="journey",an={id:rn,detector:t=>/^\s*journey/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,8764));return{id:rn,diagram:t}}},on=t=>{var e;const{securityLevel:n}=Ee();let i=(0,o.Ys)("body");if("sandbox"===n){const n=(null==(e=(0,o.Ys)(`#i${t}`).node())?void 0:e.contentDocument)??document;i=(0,o.Ys)(n.body)}return i.select(`#${t}`)},sn=function(t,e,n,i){const r=function(t,e,n){let i=new Map;return n?(i.set("width","100%"),i.set("style",`max-width: ${e}px;`)):(i.set("height",t),i.set("width",e)),i}(e,n,i);!function(t,e){for(let n of e)t.attr(n[0],n[1])}(t,r)},cn=function(t,e,n,i){const r=e.node().getBBox(),a=r.width,o=r.height;rt.info(`SVG bounds: ${a}x${o}`,r);let s=0,c=0;rt.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,rt.info(`Calculated bounds: ${s}x${c}`),sn(e,c,s,i);const u=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",u)},un={draw:(t,e,n)=>{rt.debug("renering svg for syntax error\n");const i=on(e);i.attr("viewBox","0 0 2412 512"),sn(i,100,512,!0);const r=i.append("g");r.append("path").attr("class","error-icon").attr("d","m411.313,123.313c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32-9.375,9.375-20.688-20.688c-12.484-12.5-32.766-12.5-45.25,0l-16,16c-1.261,1.261-2.304,2.648-3.31,4.051-21.739-8.561-45.324-13.426-70.065-13.426-105.867,0-192,86.133-192,192s86.133,192 192,192 192-86.133 192-192c0-24.741-4.864-48.327-13.426-70.065 1.402-1.007 2.79-2.049 4.051-3.31l16-16c12.5-12.492 12.5-32.758 0-45.25l-20.688-20.688 9.375-9.375 32.001-31.999zm-219.313,100.687c-52.938,0-96,43.063-96,96 0,8.836-7.164,16-16,16s-16-7.164-16-16c0-70.578 57.422-128 128-128 8.836,0 16,7.164 16,16s-7.164,16-16,16z"),r.append("path").attr("class","error-icon").attr("d","m459.02,148.98c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l16,16c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16.001-16z"),r.append("path").attr("class","error-icon").attr("d","m340.395,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688 6.25-6.25 6.25-16.375 0-22.625l-16-16c-6.25-6.25-16.375-6.25-22.625,0s-6.25,16.375 0,22.625l15.999,16z"),r.append("path").attr("class","error-icon").attr("d","m400,64c8.844,0 16-7.164 16-16v-32c0-8.836-7.156-16-16-16-8.844,0-16,7.164-16,16v32c0,8.836 7.156,16 16,16z"),r.append("path").attr("class","error-icon").attr("d","m496,96.586h-32c-8.844,0-16,7.164-16,16 0,8.836 7.156,16 16,16h32c8.844,0 16-7.164 16-16 0-8.836-7.156-16-16-16z"),r.append("path").attr("class","error-icon").attr("d","m436.98,75.605c3.125,3.125 7.219,4.688 11.313,4.688 4.094,0 8.188-1.563 11.313-4.688l32-32c6.25-6.25 6.25-16.375 0-22.625s-16.375-6.25-22.625,0l-32,32c-6.251,6.25-6.251,16.375-0.001,22.625z"),r.append("text").attr("class","error-text").attr("x",1440).attr("y",250).attr("font-size","150px").style("text-anchor","middle").text("Syntax error in text"),r.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text(`mermaid version ${n}`)}},ln=un,hn={db:{},renderer:un,parser:{parser:{yy:{}},parse:()=>{}}},fn="flowchart-elk",dn={id:fn,detector:(t,e)=>{var n;return!!(/^\s*flowchart-elk/.test(t)||/^\s*flowchart|graph/.test(t)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,3366));return{id:fn,diagram:t}}},gn="timeline",pn={id:gn,detector:t=>/^\s*timeline/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,6086));return{id:gn,diagram:t}}},bn="mindmap",wn={id:bn,detector:t=>/^\s*mindmap/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,7254));return{id:bn,diagram:t}}},yn="sankey",mn={id:yn,detector:t=>/^\s*sankey-beta/.test(t),loader:async()=>{const{diagram:t}=await Promise.resolve().then(n.bind(n,1791));return{id:yn,diagram:t}}},vn={};let xn="",kn="",_n="";const En=t=>lt(t,Ee()),Tn=()=>{xn="",_n="",kn=""},Cn=t=>{xn=En(t).replace(/^\s+/g,"")},Sn=()=>xn,An=t=>{_n=En(t).replace(/\n\s+/g,"\n")},Mn=()=>_n,In=t=>{kn=En(t)},Ln=()=>kn,On=Object.freeze(Object.defineProperty({__proto__:null,clear:Tn,getAccDescription:Mn,getAccTitle:Sn,getDiagramTitle:Ln,setAccDescription:An,setAccTitle:Cn,setDiagramTitle:In},Symbol.toStringTag,{value:"Module"})),Dn=rt,Nn=at,Pn=Ee,Bn=t=>lt(t,Pn()),Fn=cn,$n={},jn=(t,e,n)=>{var i,r,a;if($n[t])throw new Error(`Diagram ${t} already registered.`);$n[t]=e,n&&Ht(t,n),r=t,void 0!==(a=e.styles)&&(vn[r]=a),null==(i=e.injectUtils)||i.call(e,Dn,Nn,Pn,Bn,Fn,On,(()=>{}))},Rn=t=>{if(t in $n)return $n[t];throw new zn(t)};class zn extends Error{constructor(t){super(`Diagram ${t} not found.`)}}let qn=!1;const Hn=()=>{qn||(qn=!0,jn("error",hn,(t=>"error"===t.toLowerCase().trim())),jn("---",{db:{clear:()=>{}},styles:{},renderer:{draw:()=>{}},parser:{parser:{yy:{}},parse:()=>{throw new Error("Diagrams beginning with --- are not valid. If you were trying to use a YAML front-matter, please ensure that you've correctly opened and closed the YAML front-matter with un-indented `---` blocks")}},init:()=>null},(t=>t.toLowerCase().trimStart().startsWith("---"))),qt(Ie,Qe,Xe,Pe,je,ze,qe,Ye,Ke,dn,Ne,Oe,wn,pn,Fe,nn,tn,an,Ze,mn))};class Zn{constructor(t,e={}){this.text=t,this.metadata=e,this.type="graph",this.text+="\n";const n=Ee();try{this.type=zt(t,n)}catch(t){this.type="error",this.detectError=t}const i=Rn(this.type);rt.debug("Type "+this.type),this.db=i.db,this.renderer=i.renderer,this.parser=i.parser,this.parser.parser.yy=this.db,this.init=i.init,this.parse()}parse(){var t,e,n,i,r;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t);const a=Ee();null==(n=this.init)||n.call(this,a),this.metadata.title&&(null==(r=(i=this.db).setDiagramTitle)||r.call(i,this.metadata.title)),this.parser.parse(this.text)}async render(t,e){await this.renderer.draw(this.text,t,e,this)}getParser(){return this.parser}getType(){return this.type}}const Un=async(t,e={})=>{const n=zt(t,Ee());try{Rn(n)}catch(t){const e=Rt[n].loader;if(!e)throw new jt(`Diagram ${n} not found.`);const{id:i,diagram:r}=await e();jn(i,r)}return new Zn(t,e)};let Yn=[];const Gn=t=>{Yn.push(t)},Kn=t=>t.replace(/^\s*%%(?!{)[^\n]+\n?/gm,"").trimStart();function Wn(t){return null==t}var Xn={isNothing:Wn,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:Wn(t)?[]:[t]},repeat:function(t,e){var n,i="";for(n=0;n<e;n+=1)i+=t;return i},isNegativeZero:function(t){return 0===t&&Number.NEGATIVE_INFINITY===1/t},extend:function(t,e){var n,i,r,a;if(e)for(n=0,i=(a=Object.keys(e)).length;n<i;n+=1)t[r=a[n]]=e[r];return t}};function Vn(t,e){var n="",i=t.reason||"(unknown reason)";return t.mark?(t.mark.name&&(n+='in "'+t.mark.name+'" '),n+="("+(t.mark.line+1)+":"+(t.mark.column+1)+")",!e&&t.mark.snippet&&(n+="\n\n"+t.mark.snippet),i+" "+n):i}function Qn(t,e){Error.call(this),this.name="YAMLException",this.reason=t,this.mark=e,this.message=Vn(this,!1),Error.captureStackTrace?Error.captureStackTrace(this,this.constructor):this.stack=(new Error).stack||""}Qn.prototype=Object.create(Error.prototype),Qn.prototype.constructor=Qn,Qn.prototype.toString=function(t){return this.name+": "+Vn(this,t)};var Jn=Qn;function ti(t,e,n,i,r){var a="",o="",s=Math.floor(r/2)-1;return i-e>s&&(e=i-s+(a=" ... ").length),n-i>s&&(n=i+s-(o=" ...").length),{str:a+t.slice(e,n).replace(/\t/g,"→")+o,pos:i-e+a.length}}function ei(t,e){return Xn.repeat(" ",e-t.length)+t}var ni=function(t,e){if(e=Object.create(e||null),!t.buffer)return null;e.maxLength||(e.maxLength=79),"number"!=typeof e.indent&&(e.indent=1),"number"!=typeof e.linesBefore&&(e.linesBefore=3),"number"!=typeof e.linesAfter&&(e.linesAfter=2);for(var n,i=/\r?\n|\r|\0/g,r=[0],a=[],o=-1;n=i.exec(t.buffer);)a.push(n.index),r.push(n.index+n[0].length),t.position<=n.index&&o<0&&(o=r.length-2);o<0&&(o=r.length-1);var s,c,u="",l=Math.min(t.line+e.linesAfter,a.length).toString().length,h=e.maxLength-(e.indent+l+3);for(s=1;s<=e.linesBefore&&!(o-s<0);s++)c=ti(t.buffer,r[o-s],a[o-s],t.position-(r[o]-r[o-s]),h),u=Xn.repeat(" ",e.indent)+ei((t.line-s+1).toString(),l)+" | "+c.str+"\n"+u;for(c=ti(t.buffer,r[o],a[o],t.position,h),u+=Xn.repeat(" ",e.indent)+ei((t.line+1).toString(),l)+" | "+c.str+"\n",u+=Xn.repeat("-",e.indent+l+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=ti(t.buffer,r[o+s],a[o+s],t.position-(r[o]-r[o+s]),h),u+=Xn.repeat(" ",e.indent)+ei((t.line+s+1).toString(),l)+" | "+c.str+"\n";return u.replace(/\n$/,"")},ii=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],ri=["scalar","sequence","mapping"],ai=function(t,e){var n,i;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===ii.indexOf(e))throw new Jn('Unknown option "'+e+'" is met in definition of "'+t+'" YAML type.')})),this.options=e,this.tag=t,this.kind=e.kind||null,this.resolve=e.resolve||function(){return!0},this.construct=e.construct||function(t){return t},this.instanceOf=e.instanceOf||null,this.predicate=e.predicate||null,this.represent=e.represent||null,this.representName=e.representName||null,this.defaultStyle=e.defaultStyle||null,this.multi=e.multi||!1,this.styleAliases=(n=e.styleAliases||null,i={},null!==n&&Object.keys(n).forEach((function(t){n[t].forEach((function(e){i[String(e)]=t}))})),i),-1===ri.indexOf(this.kind))throw new Jn('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function oi(t,e){var n=[];return t[e].forEach((function(t){var e=n.length;n.forEach((function(n,i){n.tag===t.tag&&n.kind===t.kind&&n.multi===t.multi&&(e=i)})),n[e]=t})),n}function si(t){return this.extend(t)}si.prototype.extend=function(t){var e=[],n=[];if(t instanceof ai)n.push(t);else if(Array.isArray(t))n=n.concat(t);else{if(!t||!Array.isArray(t.implicit)&&!Array.isArray(t.explicit))throw new Jn("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");t.implicit&&(e=e.concat(t.implicit)),t.explicit&&(n=n.concat(t.explicit))}e.forEach((function(t){if(!(t instanceof ai))throw new Jn("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Jn("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");if(t.multi)throw new Jn("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.")})),n.forEach((function(t){if(!(t instanceof ai))throw new Jn("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create(si.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=oi(i,"implicit"),i.compiledExplicit=oi(i,"explicit"),i.compiledTypeMap=function(){var t,e,n={scalar:{},sequence:{},mapping:{},fallback:{},multi:{scalar:[],sequence:[],mapping:[],fallback:[]}};function i(t){t.multi?(n.multi[t.kind].push(t),n.multi.fallback.push(t)):n[t.kind][t.tag]=n.fallback[t.tag]=t}for(t=0,e=arguments.length;t<e;t+=1)arguments[t].forEach(i);return n}(i.compiledImplicit,i.compiledExplicit),i};var ci=new si({explicit:[new ai("tag:yaml.org,2002:str",{kind:"scalar",construct:function(t){return null!==t?t:""}}),new ai("tag:yaml.org,2002:seq",{kind:"sequence",construct:function(t){return null!==t?t:[]}}),new ai("tag:yaml.org,2002:map",{kind:"mapping",construct:function(t){return null!==t?t:{}}})]}),ui=new ai("tag:yaml.org,2002:null",{kind:"scalar",resolve:function(t){if(null===t)return!0;var e=t.length;return 1===e&&"~"===t||4===e&&("null"===t||"Null"===t||"NULL"===t)},construct:function(){return null},predicate:function(t){return null===t},represent:{canonical:function(){return"~"},lowercase:function(){return"null"},uppercase:function(){return"NULL"},camelcase:function(){return"Null"},empty:function(){return""}},defaultStyle:"lowercase"}),li=new ai("tag:yaml.org,2002:bool",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e=t.length;return 4===e&&("true"===t||"True"===t||"TRUE"===t)||5===e&&("false"===t||"False"===t||"FALSE"===t)},construct:function(t){return"true"===t||"True"===t||"TRUE"===t},predicate:function(t){return"[object Boolean]"===Object.prototype.toString.call(t)},represent:{lowercase:function(t){return t?"true":"false"},uppercase:function(t){return t?"TRUE":"FALSE"},camelcase:function(t){return t?"True":"False"}},defaultStyle:"lowercase"});function hi(t){return 48<=t&&t<=57||65<=t&&t<=70||97<=t&&t<=102}function fi(t){return 48<=t&&t<=55}function di(t){return 48<=t&&t<=57}var gi=new ai("tag:yaml.org,2002:int",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n=t.length,i=0,r=!1;if(!n)return!1;if("-"!==(e=t[i])&&"+"!==e||(e=t[++i]),"0"===e){if(i+1===n)return!0;if("b"===(e=t[++i])){for(i++;i<n;i++)if("_"!==(e=t[i])){if("0"!==e&&"1"!==e)return!1;r=!0}return r&&"_"!==e}if("x"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!hi(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}if("o"===e){for(i++;i<n;i++)if("_"!==(e=t[i])){if(!fi(t.charCodeAt(i)))return!1;r=!0}return r&&"_"!==e}}if("_"===e)return!1;for(;i<n;i++)if("_"!==(e=t[i])){if(!di(t.charCodeAt(i)))return!1;r=!0}return!(!r||"_"===e)},construct:function(t){var e,n=t,i=1;if(-1!==n.indexOf("_")&&(n=n.replace(/_/g,"")),"-"!==(e=n[0])&&"+"!==e||("-"===e&&(i=-1),e=(n=n.slice(1))[0]),"0"===n)return 0;if("0"===e){if("b"===n[1])return i*parseInt(n.slice(2),2);if("x"===n[1])return i*parseInt(n.slice(2),16);if("o"===n[1])return i*parseInt(n.slice(2),8)}return i*parseInt(n,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&t%1==0&&!Xn.isNegativeZero(t)},represent:{binary:function(t){return t>=0?"0b"+t.toString(2):"-0b"+t.toString(2).slice(1)},octal:function(t){return t>=0?"0o"+t.toString(8):"-0o"+t.toString(8).slice(1)},decimal:function(t){return t.toString(10)},hexadecimal:function(t){return t>=0?"0x"+t.toString(16).toUpperCase():"-0x"+t.toString(16).toUpperCase().slice(1)}},defaultStyle:"decimal",styleAliases:{binary:[2,"bin"],octal:[8,"oct"],decimal:[10,"dec"],hexadecimal:[16,"hex"]}}),pi=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$"),bi=/^[-+]?[0-9]+e/,wi=new ai("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!pi.test(t)||"_"===t[t.length-1])},construct:function(t){var e,n;return n="-"===(e=t.replace(/_/g,"").toLowerCase())[0]?-1:1,"+-".indexOf(e[0])>=0&&(e=e.slice(1)),".inf"===e?1===n?Number.POSITIVE_INFINITY:Number.NEGATIVE_INFINITY:".nan"===e?NaN:n*parseFloat(e,10)},predicate:function(t){return"[object Number]"===Object.prototype.toString.call(t)&&(t%1!=0||Xn.isNegativeZero(t))},represent:function(t,e){var n;if(isNaN(t))switch(e){case"lowercase":return".nan";case"uppercase":return".NAN";case"camelcase":return".NaN"}else if(Number.POSITIVE_INFINITY===t)switch(e){case"lowercase":return".inf";case"uppercase":return".INF";case"camelcase":return".Inf"}else if(Number.NEGATIVE_INFINITY===t)switch(e){case"lowercase":return"-.inf";case"uppercase":return"-.INF";case"camelcase":return"-.Inf"}else if(Xn.isNegativeZero(t))return"-0.0";return n=t.toString(10),bi.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),yi=ci.extend({implicit:[ui,li,gi,wi]}),mi=yi,vi=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),xi=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9]?)-([0-9][0-9]?)(?:[Tt]|[ \\t]+)([0-9][0-9]?):([0-9][0-9]):([0-9][0-9])(?:\\.([0-9]*))?(?:[ \\t]*(Z|([-+])([0-9][0-9]?)(?::([0-9][0-9]))?))?$"),ki=new ai("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==vi.exec(t)||null!==xi.exec(t))},construct:function(t){var e,n,i,r,a,o,s,c,u=0,l=null;if(null===(e=vi.exec(t))&&(e=xi.exec(t)),null===e)throw new Error("Date resolve error");if(n=+e[1],i=+e[2]-1,r=+e[3],!e[4])return new Date(Date.UTC(n,i,r));if(a=+e[4],o=+e[5],s=+e[6],e[7]){for(u=e[7].slice(0,3);u.length<3;)u+="0";u=+u}return e[9]&&(l=6e4*(60*+e[10]+ +(e[11]||0)),"-"===e[9]&&(l=-l)),c=new Date(Date.UTC(n,i,r,a,o,s,u)),l&&c.setTime(c.getTime()-l),c},instanceOf:Date,represent:function(t){return t.toISOString()}}),_i=new ai("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),Ei="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r",Ti=new ai("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,i=0,r=t.length,a=Ei;for(n=0;n<r;n++)if(!((e=a.indexOf(t.charAt(n)))>64)){if(e<0)return!1;i+=6}return i%8==0},construct:function(t){var e,n,i=t.replace(/[\r\n=]/g,""),r=i.length,a=Ei,o=0,s=[];for(e=0;e<r;e++)e%4==0&&e&&(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)),o=o<<6|a.indexOf(i.charAt(e));return 0==(n=r%4*6)?(s.push(o>>16&255),s.push(o>>8&255),s.push(255&o)):18===n?(s.push(o>>10&255),s.push(o>>2&255)):12===n&&s.push(o>>4&255),new Uint8Array(s)},predicate:function(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)},represent:function(t){var e,n,i="",r=0,a=t.length,o=Ei;for(e=0;e<a;e++)e%3==0&&e&&(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]),r=(r<<8)+t[e];return 0==(n=a%3)?(i+=o[r>>18&63],i+=o[r>>12&63],i+=o[r>>6&63],i+=o[63&r]):2===n?(i+=o[r>>10&63],i+=o[r>>4&63],i+=o[r<<2&63],i+=o[64]):1===n&&(i+=o[r>>2&63],i+=o[r<<4&63],i+=o[64],i+=o[64]),i}}),Ci=Object.prototype.hasOwnProperty,Si=Object.prototype.toString,Ai=new ai("tag:yaml.org,2002:omap",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,i,r,a,o=[],s=t;for(e=0,n=s.length;e<n;e+=1){if(i=s[e],a=!1,"[object Object]"!==Si.call(i))return!1;for(r in i)if(Ci.call(i,r)){if(a)return!1;a=!0}if(!a)return!1;if(-1!==o.indexOf(r))return!1;o.push(r)}return!0},construct:function(t){return null!==t?t:[]}}),Mi=Object.prototype.toString,Ii=new ai("tag:yaml.org,2002:pairs",{kind:"sequence",resolve:function(t){if(null===t)return!0;var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1){if(i=o[e],"[object Object]"!==Mi.call(i))return!1;if(1!==(r=Object.keys(i)).length)return!1;a[e]=[r[0],i[r[0]]]}return!0},construct:function(t){if(null===t)return[];var e,n,i,r,a,o=t;for(a=new Array(o.length),e=0,n=o.length;e<n;e+=1)i=o[e],r=Object.keys(i),a[e]=[r[0],i[r[0]]];return a}}),Li=Object.prototype.hasOwnProperty,Oi=new ai("tag:yaml.org,2002:set",{kind:"mapping",resolve:function(t){if(null===t)return!0;var e,n=t;for(e in n)if(Li.call(n,e)&&null!==n[e])return!1;return!0},construct:function(t){return null!==t?t:{}}}),Di=mi.extend({implicit:[ki,_i],explicit:[Ti,Ai,Ii,Oi]}),Ni=Object.prototype.hasOwnProperty,Pi=1,Bi=2,Fi=3,$i=4,ji=1,Ri=2,zi=3,qi=/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x84\x86-\x9F\uFFFE\uFFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,Hi=/[\x85\u2028\u2029]/,Zi=/[,\[\]\{\}]/,Ui=/^(?:!|!!|![a-z\-]+!)$/i,Yi=/^(?:!|[^,\[\]\{\}])(?:%[0-9a-f]{2}|[0-9a-z\-#;\/\?:@&=\+\$,_\.!~\*'\(\)\[\]])*$/i;function Gi(t){return Object.prototype.toString.call(t)}function Ki(t){return 10===t||13===t}function Wi(t){return 9===t||32===t}function Xi(t){return 9===t||32===t||10===t||13===t}function Vi(t){return 44===t||91===t||93===t||123===t||125===t}function Qi(t){var e;return 48<=t&&t<=57?t-48:97<=(e=32|t)&&e<=102?e-97+10:-1}function Ji(t){return 120===t?2:117===t?4:85===t?8:0}function tr(t){return 48<=t&&t<=57?t-48:-1}function er(t){return 48===t?"\0":97===t?"":98===t?"\b":116===t||9===t?"\t":110===t?"\n":118===t?"\v":102===t?"\f":114===t?"\r":101===t?"":32===t?" ":34===t?'"':47===t?"/":92===t?"\\":78===t?"…":95===t?" ":76===t?"\u2028":80===t?"\u2029":""}function nr(t){return t<=65535?String.fromCharCode(t):String.fromCharCode(55296+(t-65536>>10),56320+(t-65536&1023))}for(var ir=new Array(256),rr=new Array(256),ar=0;ar<256;ar++)ir[ar]=er(ar)?1:0,rr[ar]=er(ar);function or(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||Di,this.onWarning=e.onWarning||null,this.legacy=e.legacy||!1,this.json=e.json||!1,this.listener=e.listener||null,this.implicitTypes=this.schema.compiledImplicit,this.typeMap=this.schema.compiledTypeMap,this.length=t.length,this.position=0,this.line=0,this.lineStart=0,this.lineIndent=0,this.firstTabInLine=-1,this.documents=[]}function sr(t,e){var n={name:t.filename,buffer:t.input.slice(0,-1),position:t.position,line:t.line,column:t.position-t.lineStart};return n.snippet=ni(n),new Jn(e,n)}function cr(t,e){throw sr(t,e)}function ur(t,e){t.onWarning&&t.onWarning.call(null,sr(t,e))}var lr={YAML:function(t,e,n){var i,r,a;null!==t.version&&cr(t,"duplication of %YAML directive"),1!==n.length&&cr(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&cr(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),a=parseInt(i[2],10),1!==r&&cr(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&ur(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var i,r;2!==n.length&&cr(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],Ui.test(i)||cr(t,"ill-formed tag handle (first argument) of the TAG directive"),Ni.call(t.tagMap,i)&&cr(t,'there is a previously declared suffix for "'+i+'" tag handle'),Yi.test(r)||cr(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(e){cr(t,"tag prefix is malformed: "+r)}t.tagMap[i]=r}};function hr(t,e,n,i){var r,a,o,s;if(e<n){if(s=t.input.slice(e,n),i)for(r=0,a=s.length;r<a;r+=1)9===(o=s.charCodeAt(r))||32<=o&&o<=1114111||cr(t,"expected valid JSON character");else qi.test(s)&&cr(t,"the stream contains non-printable characters");t.result+=s}}function fr(t,e,n,i){var r,a,o,s;for(Xn.isObject(n)||cr(t,"cannot merge mappings; the provided source object is unacceptable"),o=0,s=(r=Object.keys(n)).length;o<s;o+=1)a=r[o],Ni.call(e,a)||(e[a]=n[a],i[a]=!0)}function dr(t,e,n,i,r,a,o,s,c){var u,l;if(Array.isArray(r))for(u=0,l=(r=Array.prototype.slice.call(r)).length;u<l;u+=1)Array.isArray(r[u])&&cr(t,"nested arrays are not supported inside keys"),"object"==typeof r&&"[object Object]"===Gi(r[u])&&(r[u]="[object Object]");if("object"==typeof r&&"[object Object]"===Gi(r)&&(r="[object Object]"),r=String(r),null===e&&(e={}),"tag:yaml.org,2002:merge"===i)if(Array.isArray(a))for(u=0,l=a.length;u<l;u+=1)fr(t,e,a[u],n);else fr(t,e,a,n);else t.json||Ni.call(n,r)||!Ni.call(e,r)||(t.line=o||t.line,t.lineStart=s||t.lineStart,t.position=c||t.position,cr(t,"duplicated mapping key")),"__proto__"===r?Object.defineProperty(e,r,{configurable:!0,enumerable:!0,writable:!0,value:a}):e[r]=a,delete n[r];return e}function gr(t){var e;10===(e=t.input.charCodeAt(t.position))?t.position++:13===e?(t.position++,10===t.input.charCodeAt(t.position)&&t.position++):cr(t,"a line break is expected"),t.line+=1,t.lineStart=t.position,t.firstTabInLine=-1}function pr(t,e,n){for(var i=0,r=t.input.charCodeAt(t.position);0!==r;){for(;Wi(r);)9===r&&-1===t.firstTabInLine&&(t.firstTabInLine=t.position),r=t.input.charCodeAt(++t.position);if(e&&35===r)do{r=t.input.charCodeAt(++t.position)}while(10!==r&&13!==r&&0!==r);if(!Ki(r))break;for(gr(t),r=t.input.charCodeAt(t.position),i++,t.lineIndent=0;32===r;)t.lineIndent++,r=t.input.charCodeAt(++t.position)}return-1!==n&&0!==i&&t.lineIndent<n&&ur(t,"deficient indentation"),i}function br(t){var e,n=t.position;return!(45!==(e=t.input.charCodeAt(n))&&46!==e||e!==t.input.charCodeAt(n+1)||e!==t.input.charCodeAt(n+2)||(n+=3,0!==(e=t.input.charCodeAt(n))&&!Xi(e)))}function wr(t,e){1===e?t.result+=" ":e>1&&(t.result+=Xn.repeat("\n",e-1))}function yr(t,e){var n,i,r=t.tag,a=t.anchor,o=[],s=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=o),i=t.input.charCodeAt(t.position);0!==i&&(-1!==t.firstTabInLine&&(t.position=t.firstTabInLine,cr(t,"tab characters must not be used in indentation")),45===i)&&Xi(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,pr(t,!0,-1)&&t.lineIndent<=e)o.push(null),i=t.input.charCodeAt(t.position);else if(n=t.line,xr(t,e,Fi,!1,!0),o.push(t.result),pr(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==i)cr(t,"bad indentation of a sequence entry");else if(t.lineIndent<e)break;return!!s&&(t.tag=r,t.anchor=a,t.kind="sequence",t.result=o,!0)}function mr(t){var e,n,i,r,a=!1,o=!1;if(33!==(r=t.input.charCodeAt(t.position)))return!1;if(null!==t.tag&&cr(t,"duplication of a tag property"),60===(r=t.input.charCodeAt(++t.position))?(a=!0,r=t.input.charCodeAt(++t.position)):33===r?(o=!0,n="!!",r=t.input.charCodeAt(++t.position)):n="!",e=t.position,a){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&62!==r);t.position<t.length?(i=t.input.slice(e,t.position),r=t.input.charCodeAt(++t.position)):cr(t,"unexpected end of the stream within a verbatim tag")}else{for(;0!==r&&!Xi(r);)33===r&&(o?cr(t,"tag suffix cannot contain exclamation marks"):(n=t.input.slice(e-1,t.position+1),Ui.test(n)||cr(t,"named tag handle cannot contain such characters"),o=!0,e=t.position+1)),r=t.input.charCodeAt(++t.position);i=t.input.slice(e,t.position),Zi.test(i)&&cr(t,"tag suffix cannot contain flow indicator characters")}i&&!Yi.test(i)&&cr(t,"tag name cannot contain such characters: "+i);try{i=decodeURIComponent(i)}catch(e){cr(t,"tag name is malformed: "+i)}return a?t.tag=i:Ni.call(t.tagMap,n)?t.tag=t.tagMap[n]+i:"!"===n?t.tag="!"+i:"!!"===n?t.tag="tag:yaml.org,2002:"+i:cr(t,'undeclared tag handle "'+n+'"'),!0}function vr(t){var e,n;if(38!==(n=t.input.charCodeAt(t.position)))return!1;for(null!==t.anchor&&cr(t,"duplication of an anchor property"),n=t.input.charCodeAt(++t.position),e=t.position;0!==n&&!Xi(n)&&!Vi(n);)n=t.input.charCodeAt(++t.position);return t.position===e&&cr(t,"name of an anchor node must contain at least one character"),t.anchor=t.input.slice(e,t.position),!0}function xr(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g=1,p=!1,b=!1;if(null!==t.listener&&t.listener("open",t),t.tag=null,t.anchor=null,t.kind=null,t.result=null,a=o=s=$i===n||Fi===n,i&&pr(t,!0,-1)&&(p=!0,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)),1===g)for(;mr(t)||vr(t);)pr(t,!0,-1)?(p=!0,s=a,t.lineIndent>e?g=1:t.lineIndent===e?g=0:t.lineIndent<e&&(g=-1)):s=!1;if(s&&(s=p||r),1!==g&&$i!==n||(f=Pi===n||Bi===n?e:e+1,d=t.position-t.lineStart,1===g?s&&(yr(t,d)||function(t,e,n){var i,r,a,o,s,c,u,l=t.tag,h=t.anchor,f={},d=Object.create(null),g=null,p=null,b=null,w=!1,y=!1;if(-1!==t.firstTabInLine)return!1;for(null!==t.anchor&&(t.anchorMap[t.anchor]=f),u=t.input.charCodeAt(t.position);0!==u;){if(w||-1===t.firstTabInLine||(t.position=t.firstTabInLine,cr(t,"tab characters must not be used in indentation")),i=t.input.charCodeAt(t.position+1),a=t.line,63!==u&&58!==u||!Xi(i)){if(o=t.line,s=t.lineStart,c=t.position,!xr(t,n,Bi,!1,!0))break;if(t.line===a){for(u=t.input.charCodeAt(t.position);Wi(u);)u=t.input.charCodeAt(++t.position);if(58===u)Xi(u=t.input.charCodeAt(++t.position))||cr(t,"a whitespace character is expected after the key-value separator within a block mapping"),w&&(dr(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!1,r=!1,g=t.tag,p=t.result;else{if(!y)return t.tag=l,t.anchor=h,!0;cr(t,"can not read an implicit mapping pair; a colon is missed")}}else{if(!y)return t.tag=l,t.anchor=h,!0;cr(t,"can not read a block mapping entry; a multiline key may not be an implicit key")}}else 63===u?(w&&(dr(t,f,d,g,p,null,o,s,c),g=p=b=null),y=!0,w=!0,r=!0):w?(w=!1,r=!0):cr(t,"incomplete explicit mapping pair; a key node is missed; or followed by a non-tabulated empty line"),t.position+=1,u=i;if((t.line===a||t.lineIndent>e)&&(w&&(o=t.line,s=t.lineStart,c=t.position),xr(t,e,$i,!0,r)&&(w?p=t.result:b=t.result),w||(dr(t,f,d,g,p,b,o,s,c),g=p=b=null),pr(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==u)cr(t,"bad indentation of a mapping entry");else if(t.lineIndent<e)break}return w&&dr(t,f,d,g,p,null,o,s,c),y&&(t.tag=l,t.anchor=h,t.kind="mapping",t.result=f),y}(t,d,f))||function(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g=!0,p=t.tag,b=t.anchor,w=Object.create(null);if(91===(d=t.input.charCodeAt(t.position)))o=93,u=!1,a=[];else{if(123!==d)return!1;o=125,u=!0,a={}}for(null!==t.anchor&&(t.anchorMap[t.anchor]=a),d=t.input.charCodeAt(++t.position);0!==d;){if(pr(t,!0,e),(d=t.input.charCodeAt(t.position))===o)return t.position++,t.tag=p,t.anchor=b,t.kind=u?"mapping":"sequence",t.result=a,!0;g?44===d&&cr(t,"expected the node content, but found ','"):cr(t,"missed comma between flow collection entries"),f=null,s=c=!1,63===d&&Xi(t.input.charCodeAt(t.position+1))&&(s=c=!0,t.position++,pr(t,!0,e)),n=t.line,i=t.lineStart,r=t.position,xr(t,e,Pi,!1,!0),h=t.tag,l=t.result,pr(t,!0,e),d=t.input.charCodeAt(t.position),!c&&t.line!==n||58!==d||(s=!0,d=t.input.charCodeAt(++t.position),pr(t,!0,e),xr(t,e,Pi,!1,!0),f=t.result),u?dr(t,a,w,h,l,f,n,i,r):s?a.push(dr(t,null,w,h,l,f,n,i,r)):a.push(l),pr(t,!0,e),44===(d=t.input.charCodeAt(t.position))?(g=!0,d=t.input.charCodeAt(++t.position)):g=!1}cr(t,"unexpected end of the stream within a flow collection")}(t,f)?b=!0:(o&&function(t,e){var n,i,r,a,o=ji,s=!1,c=!1,u=e,l=0,h=!1;if(124===(a=t.input.charCodeAt(t.position)))i=!1;else{if(62!==a)return!1;i=!0}for(t.kind="scalar",t.result="";0!==a;)if(43===(a=t.input.charCodeAt(++t.position))||45===a)ji===o?o=43===a?zi:Ri:cr(t,"repeat of a chomping mode identifier");else{if(!((r=tr(a))>=0))break;0===r?cr(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?cr(t,"repeat of an indentation width identifier"):(u=e+r-1,c=!0)}if(Wi(a)){do{a=t.input.charCodeAt(++t.position)}while(Wi(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!Ki(a)&&0!==a)}for(;0!==a;){for(gr(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!c||t.lineIndent<u)&&32===a;)t.lineIndent++,a=t.input.charCodeAt(++t.position);if(!c&&t.lineIndent>u&&(u=t.lineIndent),Ki(a))l++;else{if(t.lineIndent<u){o===zi?t.result+=Xn.repeat("\n",s?1+l:l):o===ji&&s&&(t.result+="\n");break}for(i?Wi(a)?(h=!0,t.result+=Xn.repeat("\n",s?1+l:l)):h?(h=!1,t.result+=Xn.repeat("\n",l+1)):0===l?s&&(t.result+=" "):t.result+=Xn.repeat("\n",l):t.result+=Xn.repeat("\n",s?1+l:l),s=!0,c=!0,l=0,n=t.position;!Ki(a)&&0!==a;)a=t.input.charCodeAt(++t.position);hr(t,n,t.position,!1)}}return!0}(t,f)||function(t,e){var n,i,r;if(39!==(n=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,i=r=t.position;0!==(n=t.input.charCodeAt(t.position));)if(39===n){if(hr(t,i,t.position,!0),39!==(n=t.input.charCodeAt(++t.position)))return!0;i=t.position,t.position++,r=t.position}else Ki(n)?(hr(t,i,r,!0),wr(t,pr(t,!1,e)),i=r=t.position):t.position===t.lineStart&&br(t)?cr(t,"unexpected end of the document within a single quoted scalar"):(t.position++,r=t.position);cr(t,"unexpected end of the stream within a single quoted scalar")}(t,f)||function(t,e){var n,i,r,a,o,s;if(34!==(s=t.input.charCodeAt(t.position)))return!1;for(t.kind="scalar",t.result="",t.position++,n=i=t.position;0!==(s=t.input.charCodeAt(t.position));){if(34===s)return hr(t,n,t.position,!0),t.position++,!0;if(92===s){if(hr(t,n,t.position,!0),Ki(s=t.input.charCodeAt(++t.position)))pr(t,!1,e);else if(s<256&&ir[s])t.result+=rr[s],t.position++;else if((o=Ji(s))>0){for(r=o,a=0;r>0;r--)(o=Qi(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:cr(t,"expected hexadecimal character");t.result+=nr(a),t.position++}else cr(t,"unknown escape sequence");n=i=t.position}else Ki(s)?(hr(t,n,i,!0),wr(t,pr(t,!1,e)),n=i=t.position):t.position===t.lineStart&&br(t)?cr(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}cr(t,"unexpected end of the stream within a double quoted scalar")}(t,f)?b=!0:function(t){var e,n,i;if(42!==(i=t.input.charCodeAt(t.position)))return!1;for(i=t.input.charCodeAt(++t.position),e=t.position;0!==i&&!Xi(i)&&!Vi(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&cr(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),Ni.call(t.anchorMap,n)||cr(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],pr(t,!0,-1),!0}(t)?(b=!0,null===t.tag&&null===t.anchor||cr(t,"alias node should not have any properties")):function(t,e,n){var i,r,a,o,s,c,u,l,h=t.kind,f=t.result;if(Xi(l=t.input.charCodeAt(t.position))||Vi(l)||35===l||38===l||42===l||33===l||124===l||62===l||39===l||34===l||37===l||64===l||96===l)return!1;if((63===l||45===l)&&(Xi(i=t.input.charCodeAt(t.position+1))||n&&Vi(i)))return!1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;0!==l;){if(58===l){if(Xi(i=t.input.charCodeAt(t.position+1))||n&&Vi(i))break}else if(35===l){if(Xi(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&br(t)||n&&Vi(l))break;if(Ki(l)){if(s=t.line,c=t.lineStart,u=t.lineIndent,pr(t,!1,-1),t.lineIndent>=e){o=!0,l=t.input.charCodeAt(t.position);continue}t.position=a,t.line=s,t.lineStart=c,t.lineIndent=u;break}}o&&(hr(t,r,a,!1),wr(t,t.line-s),r=a=t.position,o=!1),Wi(l)||(a=t.position+1),l=t.input.charCodeAt(++t.position)}return hr(t,r,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,Pi===n)&&(b=!0,null===t.tag&&(t.tag="?")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===g&&(b=s&&yr(t,d))),null===t.tag)null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);else if("?"===t.tag){for(null!==t.result&&"scalar"!==t.kind&&cr(t,'unacceptable node kind for !<?> tag; it should be "scalar", not "'+t.kind+'"'),c=0,u=t.implicitTypes.length;c<u;c+=1)if((h=t.implicitTypes[c]).resolve(t.result)){t.result=h.construct(t.result),t.tag=h.tag,null!==t.anchor&&(t.anchorMap[t.anchor]=t.result);break}}else if("!"!==t.tag){if(Ni.call(t.typeMap[t.kind||"fallback"],t.tag))h=t.typeMap[t.kind||"fallback"][t.tag];else for(h=null,c=0,u=(l=t.typeMap.multi[t.kind||"fallback"]).length;c<u;c+=1)if(t.tag.slice(0,l[c].tag.length)===l[c].tag){h=l[c];break}h||cr(t,"unknown tag !<"+t.tag+">"),null!==t.result&&h.kind!==t.kind&&cr(t,"unacceptable node kind for !<"+t.tag+'> tag; it should be "'+h.kind+'", not "'+t.kind+'"'),h.resolve(t.result,t.tag)?(t.result=h.construct(t.result,t.tag),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):cr(t,"cannot resolve a node with !<"+t.tag+"> explicit tag")}return null!==t.listener&&t.listener("close",t),null!==t.tag||null!==t.anchor||b}function kr(t){var e,n,i,r,a=t.position,o=!1;for(t.version=null,t.checkLineBreaks=t.legacy,t.tagMap=Object.create(null),t.anchorMap=Object.create(null);0!==(r=t.input.charCodeAt(t.position))&&(pr(t,!0,-1),r=t.input.charCodeAt(t.position),!(t.lineIndent>0||37!==r));){for(o=!0,r=t.input.charCodeAt(++t.position),e=t.position;0!==r&&!Xi(r);)r=t.input.charCodeAt(++t.position);for(i=[],(n=t.input.slice(e,t.position)).length<1&&cr(t,"directive name must not be less than one character in length");0!==r;){for(;Wi(r);)r=t.input.charCodeAt(++t.position);if(35===r){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&!Ki(r));break}if(Ki(r))break;for(e=t.position;0!==r&&!Xi(r);)r=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==r&&gr(t),Ni.call(lr,n)?lr[n](t,n,i):ur(t,'unknown document directive "'+n+'"')}pr(t,!0,-1),0===t.lineIndent&&45===t.input.charCodeAt(t.position)&&45===t.input.charCodeAt(t.position+1)&&45===t.input.charCodeAt(t.position+2)?(t.position+=3,pr(t,!0,-1)):o&&cr(t,"directives end mark is expected"),xr(t,t.lineIndent-1,$i,!1,!0),pr(t,!0,-1),t.checkLineBreaks&&Hi.test(t.input.slice(a,t.position))&&ur(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&br(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,pr(t,!0,-1)):t.position<t.length-1&&cr(t,"end of the stream or a document separator is expected")}function _r(t,e){e=e||{},0!==(t=String(t)).length&&(10!==t.charCodeAt(t.length-1)&&13!==t.charCodeAt(t.length-1)&&(t+="\n"),65279===t.charCodeAt(0)&&(t=t.slice(1)));var n=new or(t,e),i=t.indexOf("\0");for(-1!==i&&(n.position=i,cr(n,"null byte is not allowed in input")),n.input+="\0";32===n.input.charCodeAt(n.position);)n.lineIndent+=1,n.position+=1;for(;n.position<n.length-1;)kr(n);return n.documents}var Er=yi,Tr=function(t,e){var n=_r(t,e);if(0!==n.length){if(1===n.length)return n[0];throw new Jn("expected a single document in the stream, but found more")}};const Cr=["foreignobject"],Sr=["dominant-baseline"];function Ar(t){const e=function(t){const e=(t=>t.replace(/\r\n?/g,"\n").replace(/<(\w+)([^>]*)>/g,((t,e,n)=>"<"+e+n.replace(/="([^"]*)"/g,"='$1'")+">")))(t),n=(t=>{const{text:e,metadata:n}=function(t){const e=t.match(Bt);if(!e)return{text:t,metadata:{}};let n=Tr(e[1],{schema:Er})??{};n="object"!=typeof n||Array.isArray(n)?{}:n;const i={};return n.displayMode&&(i.displayMode=n.displayMode.toString()),n.title&&(i.title=n.title.toString()),n.config&&(i.config=n.config),{text:t.slice(e[0].length),metadata:i}}(t),{displayMode:i,title:r,config:a={}}=n;return i&&(a.gantt||(a.gantt={}),a.gantt.displayMode=i),{title:r,config:a,text:e}})(e),i=(t=>{const e=ge.detectInit(t)??{},n=ge.detectDirective(t,"wrap");return Array.isArray(n)?e.wrap=n.some((({type:t})=>{})):"wrap"===(null==n?void 0:n.type)&&(e.wrap=!0),{text:(i=t,i.replace(Ft,"")),directive:e};var i})(n.text),r=de(n.config,i.directive);return{code:t=Kn(i.text),title:n.title,config:r}}(t);return Ce(),n=e.config??{},Nt(n),!n.fontFamily||n.themeVariables&&n.themeVariables.fontFamily||(n.themeVariables={fontFamily:n.fontFamily}),me.push(n),xe(ye,me),e;var n}const Mr=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},Ir=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,Lr=(t,e,n,i)=>{const r=((t,e={})=>{var n;let i="";if(void 0!==t.themeCSS&&(i+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(i+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(i+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,nt.Z)(e)){const r=t.htmlLabels||(null==(n=t.flowchart)?void 0:n.htmlLabels)?["> *","span"]:["rect","polygon","ellipse","circle","path"];for(const t in e){const n=e[t];(0,nt.Z)(n.styles)||r.forEach((t=>{i+=Ir(n.id,t,n.styles)})),(0,nt.Z)(n.textStyles)||(i+=Ir(n.id,"tspan",n.textStyles))}}return i})(t,n);return I(V(`${i}{${((t,e,n)=>{let i="";return t in vn&&vn[t]?i=vn[t](n):rt.warn(`No theme found for ${t}`),` & {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n fill: ${n.textColor}\n }\n\n /* Classes common for multiple diagrams */\n\n & .error-icon {\n fill: ${n.errorBkgColor};\n }\n & .error-text {\n fill: ${n.errorTextColor};\n stroke: ${n.errorTextColor};\n }\n\n & .edge-thickness-normal {\n stroke-width: 2px;\n }\n & .edge-thickness-thick {\n stroke-width: 3.5px\n }\n & .edge-pattern-solid {\n stroke-dasharray: 0;\n }\n\n & .edge-pattern-dashed{\n stroke-dasharray: 3;\n }\n .edge-pattern-dotted {\n stroke-dasharray: 2;\n }\n\n & .marker {\n fill: ${n.lineColor};\n stroke: ${n.lineColor};\n }\n & .marker.cross {\n stroke: ${n.lineColor};\n }\n\n & svg {\n font-family: ${n.fontFamily};\n font-size: ${n.fontSize};\n }\n\n ${i}\n\n ${e}\n`})(e,r,t.themeVariables)}}`),L)},Or=(t,e,n,i,r)=>{const a=t.append("div");a.attr("id",n),i&&a.attr("style",i);const o=a.append("svg").attr("id",e).attr("width","100%").attr("xmlns","http://www.w3.org/2000/svg");return r&&o.attr("xmlns:xlink",r),o.append("g"),t};function Dr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const Nr=Object.freeze({render:async function(t,e,n){var i,r,a,c,u,l;Hn();const h=Ar(e);e=h.code;const f=Ee();rt.debug(f),e.length>((null==f?void 0:f.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa");const d="#"+t,g="i"+t,p="#"+g,b="d"+t,w="#"+b;let y=(0,o.Ys)("body");const m="sandbox"===f.securityLevel,v="loose"===f.securityLevel,x=f.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),m){const t=Dr((0,o.Ys)(n),g);y=(0,o.Ys)(t.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=(0,o.Ys)(n);Or(y,t,b,`font-family: ${x}`,"http://www.w3.org/1999/xlink")}else{if(((t,e,n,i)=>{var r,a,o;null==(r=t.getElementById(e))||r.remove(),null==(a=t.getElementById(n))||a.remove(),null==(o=t.getElementById(i))||o.remove()})(document,t,b,g),m){const t=Dr((0,o.Ys)("body"),g);y=(0,o.Ys)(t.nodes()[0].contentDocument.body),y.node().style.margin=0}else y=(0,o.Ys)("body");Or(y,t,b)}let k,_;e=function(t){let e=t;return e=e.replace(/style.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/classDef.*:\S*#.*;/g,(function(t){return t.substring(0,t.length-1)})),e=e.replace(/#\w+;/g,(function(t){const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?"fl°°"+e+"¶ß":"fl°"+e+"¶ß"})),e}(e);try{k=await Un(e,{title:h.title})}catch(t){k=new Zn("error"),_=t}const E=y.select(w).node(),T=k.type,C=E.firstChild,S=C.firstChild,A=null==(r=(i=k.renderer).getClasses)?void 0:r.call(i,e,k),M=Lr(f,T,A,d),I=document.createElement("style");I.innerHTML=M,C.insertBefore(I,S);try{await k.renderer.draw(e,t,pe,k)}catch(n){throw ln.draw(e,t,pe),n}!function(t,e,n,i){(function(t,e){t.attr("role","graphics-document document"),""!==e&&t.attr("aria-roledescription",e)})(e,t),function(t,e,n,i){if(void 0!==t.insert){if(n){const e=`chart-desc-${i}`;t.attr("aria-describedby",e),t.insert("desc",":first-child").attr("id",e).text(n)}if(e){const n=`chart-title-${i}`;t.attr("aria-labelledby",n),t.insert("title",":first-child").attr("id",n).text(e)}}}(e,n,i,e.attr("id"))}(T,y.select(`${w} svg`),null==(c=(a=k.db).getAccTitle)?void 0:c.call(a),null==(l=(u=k.db).getAccDescription)?void 0:l.call(u)),y.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let L=y.select(w).node().innerHTML;if(rt.debug("config.arrowMarkerAbsolute",f.arrowMarkerAbsolute),L=((t="",e,n)=>{let i=t;return n||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=Mr(i),i=i.replace(/<br>/g,"<br/>"),i})(L,m,dt(f.arrowMarkerAbsolute)),m?L=((t="",e)=>{var n,i;return`<iframe style="width:100%;height:${(null==(i=null==(n=null==e?void 0:e.viewBox)?void 0:n.baseVal)?void 0:i.height)?e.viewBox.baseVal.height+"px":"100%"};border:0;margin:0;" src="data:text/html;base64,${btoa('<body style="margin:0">'+t+"</body>")}" sandbox="allow-top-navigation-by-user-activation allow-popups">\n The "iframe" tag is not supported by your browser.\n</iframe>`})(L,y.select(w+" svg").node()):v||(L=s.sanitize(L,{ADD_TAGS:Cr,ADD_ATTR:Sr})),Yn.forEach((t=>{t()})),Yn=[],_)throw _;const O=m?p:w,D=(0,o.Ys)(O).node();return D&&"remove"in D&&D.remove(),{svg:L,bindFunctions:k.db.bindFunctions}},parse:async function(t,e){Hn(),t=Ar(t).code;try{await Un(t)}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},getDiagramFromText:Un,initialize:function(t={}){var e;(null==t?void 0:t.fontFamily)&&!(null==(e=t.themeVariables)?void 0:e.fontFamily)&&(t.themeVariables||(t.themeVariables={}),t.themeVariables.fontFamily=t.fontFamily),we=Ut({},t),(null==t?void 0:t.theme)&&t.theme in At?t.themeVariables=At[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=At.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(i=t,ye=Ut({},be),ye=Ut(ye,i),i.theme&&At[i.theme]&&(ye.themeVariables=At[i.theme].getThemeVariables(i.themeVariables)),xe(ye,me),ye):ke();var i;at(n.logLevel),Hn()},getConfig:Ee,setConfig:_e,getSiteConfig:ke,updateSiteConfig:t=>(ye=Ut(ye,t),xe(ye,me),ye),reset:()=>{Ce()},globalReset:()=>{Ce(be)},defaultConfig:be});at(Ee().logLevel),Ce(Ee());const Pr=(t,e,n)=>{rt.warn(t),he(t)?(n&&n(t.str,t.hash),e.push({...t,message:t.str,error:t})):(n&&n(t),t instanceof Error&&e.push({str:t.message,message:t.message,hash:t.name,error:t}))},Br=async function(t={querySelector:".mermaid"}){try{await Fr(t)}catch(e){if(he(e)&&rt.error(e.str),Zr.parseError&&Zr.parseError(e),!t.suppressErrors)throw rt.error("Use the suppressErrors option to suppress these errors"),e}},Fr=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const r=Nr.getConfig();let a;if(rt.debug((t?"":"No ")+"Callback function found"),n)a=n;else{if(!e)throw new Error("Nodes and querySelector are both undefined");a=document.querySelectorAll(e)}rt.debug(`Found ${a.length} diagrams`),void 0!==(null==r?void 0:r.startOnLoad)&&(rt.debug("Start On Load: "+(null==r?void 0:r.startOnLoad)),Nr.updateSiteConfig({startOnLoad:null==r?void 0:r.startOnLoad}));const o=new ge.InitIDGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const e of Array.from(a)){if(rt.info("Rendering diagram: "+e.id),e.getAttribute("data-processed"))continue;e.setAttribute("data-processed","true");const n=`mermaid-${o.next()}`;s=e.innerHTML,s=(0,i.Z)(ge.entityDecode(s)).trim().replace(/<br\s*\/?>/gi,"<br/>");const r=ge.detectInit(s);r&&rt.debug("Detected early reinit: ",r);try{const{svg:i,bindFunctions:r}=await Hr(n,s,e);e.innerHTML=i,t&&await t(n),r&&r(e)}catch(t){Pr(t,c,Zr.parseError)}}if(c.length>0)throw c[0]},$r=function(t){Nr.initialize(t)},jr=function(){if(Zr.startOnLoad){const{startOnLoad:t}=Nr.getConfig();t&&Zr.run().catch((t=>rt.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",jr,!1);const Rr=[];let zr=!1;const qr=async()=>{if(!zr){for(zr=!0;Rr.length>0;){const t=Rr.shift();if(t)try{await t()}catch(t){rt.error("Error executing queue",t)}}zr=!1}},Hr=(t,e,n)=>new Promise(((i,r)=>{Rr.push((()=>new Promise(((a,o)=>{Nr.render(t,e,n).then((t=>{a(t),i(t)}),(t=>{var e;rt.error("Error parsing",t),null==(e=Zr.parseError)||e.call(Zr,t),o(t),r(t)}))})))),qr().catch(r)})),Zr={startOnLoad:!0,mermaidAPI:Nr,parse:async(t,e)=>new Promise(((n,i)=>{Rr.push((()=>new Promise(((r,a)=>{Nr.parse(t,e).then((t=>{r(t),n(t)}),(t=>{var e;rt.error("Error parsing",t),null==(e=Zr.parseError)||e.call(Zr,t),a(t),i(t)}))})))),qr().catch(i)})),render:Hr,init:async function(t,e,n){rt.warn("mermaid.init is deprecated. Please use run instead."),t&&$r(t);const i={postRenderCallback:n,querySelector:".mermaid"};"string"==typeof e?i.querySelector=e:e&&(e instanceof HTMLElement?i.nodes=[e]:i.nodes=e),await Br(i)},run:Br,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{qt(...t),!1===e&&await(async()=>{rt.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Rt).map((async([t,{detector:e,loader:n}])=>{if(n)try{Rn(t)}catch(i){try{const{diagram:t,id:i}=await n();jn(i,t,e)}catch(e){throw rt.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Rt[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){rt.error(`Failed to load ${t.length} external diagrams`);for(const e of t)rt.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:$r,parseError:void 0,contentLoaded:jr,setParseErrorHandler:function(t){Zr.parseError=t},detectType:zt}},7254:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>C});var i=n(8454),r=n(7274),a=n(4027),o=n(1377),s=n(4607),c=n(6500),u=n(2281),l=n(7201),h=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,4],n=[1,13],i=[1,12],r=[1,15],a=[1,16],o=[1,20],s=[1,19],c=[6,7,8],u=[1,26],l=[1,24],h=[1,25],f=[6,7,11],d=[1,6,13,15,16,19,22],g=[1,33],p=[1,34],b=[1,6,7,11,13,15,16,19,22],w={trace:function(){},yy:{},symbols_:{error:2,start:3,mindMap:4,spaceLines:5,SPACELINE:6,NL:7,MINDMAP:8,document:9,stop:10,EOF:11,statement:12,SPACELIST:13,node:14,ICON:15,CLASS:16,nodeWithId:17,nodeWithoutId:18,NODE_DSTART:19,NODE_DESCR:20,NODE_DEND:21,NODE_ID:22,$accept:0,$end:1},terminals_:{2:"error",6:"SPACELINE",7:"NL",8:"MINDMAP",11:"EOF",13:"SPACELIST",15:"ICON",16:"CLASS",19:"NODE_DSTART",20:"NODE_DESCR",21:"NODE_DEND",22:"NODE_ID"},productions_:[0,[3,1],[3,2],[5,1],[5,2],[5,2],[4,2],[4,3],[10,1],[10,1],[10,1],[10,2],[10,2],[9,3],[9,2],[12,2],[12,2],[12,2],[12,1],[12,1],[12,1],[12,1],[12,1],[14,1],[14,1],[18,3],[17,1],[17,4]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:case 7:return i;case 8:i.getLogger().trace("Stop NL ");break;case 9:i.getLogger().trace("Stop EOF ");break;case 11:i.getLogger().trace("Stop NL2 ");break;case 12:i.getLogger().trace("Stop EOF2 ");break;case 15:i.getLogger().info("Node: ",a[s].id),i.addNode(a[s-1].length,a[s].id,a[s].descr,a[s].type);break;case 16:i.getLogger().trace("Icon: ",a[s]),i.decorateNode({icon:a[s]});break;case 17:case 21:i.decorateNode({class:a[s]});break;case 18:i.getLogger().trace("SPACELIST");break;case 19:i.getLogger().trace("Node: ",a[s].id),i.addNode(0,a[s].id,a[s].descr,a[s].type);break;case 20:i.decorateNode({icon:a[s]});break;case 25:i.getLogger().trace("node found ..",a[s-2]),this.$={id:a[s-1],descr:a[s-1],type:i.getType(a[s-2],a[s])};break;case 26:this.$={id:a[s],descr:a[s],type:i.nodeType.DEFAULT};break;case 27:i.getLogger().trace("node found ..",a[s-3]),this.$={id:a[s-3],descr:a[s-1],type:i.getType(a[s-2],a[s])}}},table:[{3:1,4:2,5:3,6:[1,5],8:e},{1:[3]},{1:[2,1]},{4:6,6:[1,7],7:[1,8],8:e},{6:n,7:[1,10],9:9,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(c,[2,3]),{1:[2,2]},t(c,[2,4]),t(c,[2,5]),{1:[2,6],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:n,9:22,12:11,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},{6:u,7:l,10:23,11:h},t(f,[2,22],{17:17,18:18,14:27,15:[1,28],16:[1,29],19:o,22:s}),t(f,[2,18]),t(f,[2,19]),t(f,[2,20]),t(f,[2,21]),t(f,[2,23]),t(f,[2,24]),t(f,[2,26],{19:[1,30]}),{20:[1,31]},{6:u,7:l,10:32,11:h},{1:[2,7],6:n,12:21,13:i,14:14,15:r,16:a,17:17,18:18,19:o,22:s},t(d,[2,14],{7:g,11:p}),t(b,[2,8]),t(b,[2,9]),t(b,[2,10]),t(f,[2,15]),t(f,[2,16]),t(f,[2,17]),{20:[1,35]},{21:[1,36]},t(d,[2,13],{7:g,11:p}),t(b,[2,11]),t(b,[2,12]),{21:[1,37]},t(f,[2,25]),t(f,[2,27])],defaultActions:{2:[2,1],6:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},y={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return t.getLogger().trace("Found comment",e.yytext),6;case 1:return 8;case 2:this.begin("CLASS");break;case 3:return this.popState(),16;case 4:case 23:case 26:this.popState();break;case 5:t.getLogger().trace("Begin icon"),this.begin("ICON");break;case 6:return t.getLogger().trace("SPACELINE"),6;case 7:return 7;case 8:return 15;case 9:t.getLogger().trace("end icon"),this.popState();break;case 10:return t.getLogger().trace("Exploding node"),this.begin("NODE"),19;case 11:return t.getLogger().trace("Cloud"),this.begin("NODE"),19;case 12:return t.getLogger().trace("Explosion Bang"),this.begin("NODE"),19;case 13:return t.getLogger().trace("Cloud Bang"),this.begin("NODE"),19;case 14:case 15:case 16:case 17:return this.begin("NODE"),19;case 18:return 13;case 19:return 22;case 20:return 11;case 21:this.begin("NSTR2");break;case 22:return"NODE_DESCR";case 24:t.getLogger().trace("Starting NSTR"),this.begin("NSTR");break;case 25:return t.getLogger().trace("description:",e.yytext),"NODE_DESCR";case 27:return this.popState(),t.getLogger().trace("node end ))"),"NODE_DEND";case 28:return this.popState(),t.getLogger().trace("node end )"),"NODE_DEND";case 29:return this.popState(),t.getLogger().trace("node end ...",e.yytext),"NODE_DEND";case 30:case 33:case 34:return this.popState(),t.getLogger().trace("node end (("),"NODE_DEND";case 31:case 32:return this.popState(),t.getLogger().trace("node end (-"),"NODE_DEND";case 35:case 36:return t.getLogger().trace("Long description:",e.yytext),20}},rules:[/^(?:\s*%%.*)/i,/^(?:mindmap\b)/i,/^(?::::)/i,/^(?:.+)/i,/^(?:\n)/i,/^(?:::icon\()/i,/^(?:[\s]+[\n])/i,/^(?:[\n]+)/i,/^(?:[^\)]+)/i,/^(?:\))/i,/^(?:-\))/i,/^(?:\(-)/i,/^(?:\)\))/i,/^(?:\))/i,/^(?:\(\()/i,/^(?:\{\{)/i,/^(?:\()/i,/^(?:\[)/i,/^(?:[\s]+)/i,/^(?:[^\(\[\n\)\{\}]+)/i,/^(?:$)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:[^"]+)/i,/^(?:["])/i,/^(?:[\)]\))/i,/^(?:[\)])/i,/^(?:[\]])/i,/^(?:\}\})/i,/^(?:\(-)/i,/^(?:-\))/i,/^(?:\(\()/i,/^(?:\()/i,/^(?:[^\)\]\(\}]+)/i,/^(?:.+(?!\(\())/i],conditions:{CLASS:{rules:[3,4],inclusive:!1},ICON:{rules:[8,9],inclusive:!1},NSTR2:{rules:[22,23],inclusive:!1},NSTR:{rules:[25,26],inclusive:!1},NODE:{rules:[21,24,27,28,29,30,31,32,33,34,35,36],inclusive:!1},INITIAL:{rules:[0,1,2,5,6,7,10,11,12,13,14,15,16,17,18,19,20],inclusive:!0}}};function m(){this.yy={}}return w.lexer=y,m.prototype=w,w.Parser=m,new m}());h.parser=h;const f=h,d=t=>(0,i.d)(t,(0,i.c)());let g=[],p=0,b={};const w={DEFAULT:0,NO_BORDER:0,ROUNDED_RECT:1,RECT:2,CIRCLE:3,CLOUD:4,BANG:5,HEXAGON:6},y=(t,e)=>{b[t]=e},m=t=>{switch(t){case w.DEFAULT:return"no-border";case w.RECT:return"rect";case w.ROUNDED_RECT:return"rounded-rect";case w.CIRCLE:return"circle";case w.CLOUD:return"cloud";case w.BANG:return"bang";case w.HEXAGON:return"hexgon";default:return"no-border"}};let v;const x=t=>b[t],k=Object.freeze(Object.defineProperty({__proto__:null,addNode:(t,e,n,r)=>{i.l.info("addNode",t,e,n,r);const a=(0,i.c)(),o={id:p++,nodeId:d(e),level:t,descr:d(n),type:r,children:[],width:(0,i.c)().mindmap.maxNodeWidth};switch(o.type){case w.ROUNDED_RECT:case w.RECT:case w.HEXAGON:o.padding=2*a.mindmap.padding;break;default:o.padding=a.mindmap.padding}const s=function(t){for(let e=g.length-1;e>=0;e--)if(g[e].level<t)return g[e];return null}(t);if(s)s.children.push(o),g.push(o);else{if(0!==g.length){let t=new Error('There can be only one root. No parent could be found for ("'+o.descr+'")');throw t.hash={text:"branch "+name,token:"branch "+name,line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:['"checkout '+name+'"']},t}g.push(o)}},clear:()=>{g=[],p=0,b={}},decorateNode:t=>{const e=g[g.length-1];t&&t.icon&&(e.icon=d(t.icon)),t&&t.class&&(e.class=d(t.class))},getElementById:x,getLogger:()=>i.l,getMindmap:()=>g.length>0?g[0]:null,getNodeById:t=>g[t],getType:(t,e)=>{switch(i.l.debug("In get type",t,e),t){case"[":return w.RECT;case"(":return")"===e?w.ROUNDED_RECT:w.CLOUD;case"((":return w.CIRCLE;case")":return w.CLOUD;case"))":return w.BANG;case"{{":return w.HEXAGON;default:return w.DEFAULT}},nodeType:w,get parseError(){return v},sanitizeText:d,setElementForId:y,setErrorHandler:t=>{v=t},type2Str:m},Symbol.toStringTag,{value:"Module"}));function _(t,e,n,i){(function(t,e,n,i){const r=i.htmlLabels,o=n%11,s=t.append("g");e.section=o;let c="section-"+o;o<0&&(c+=" section-root"),s.attr("class",(e.class?e.class+" ":"")+"mindmap-node "+c);const u=s.append("g"),l=s.append("g"),h=e.descr.replace(/(<br\/*>)/g,"\n");(0,a.c)(l,h,{useHtmlLabels:r,width:e.width,classes:"mindmap-node-label"}),r||l.attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle");const f=l.node().getBBox(),d=i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;if(e.height=f.height+1.1*d*.5+e.padding,e.width=f.width+2*e.padding,e.icon)if(e.type===w.CIRCLE)e.height+=50,e.width+=50,s.append("foreignObject").attr("height","50px").attr("width",e.width).attr("style","text-align: center;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),l.attr("transform","translate("+e.width/2+", "+(e.height/2-1.5*e.padding)+")");else{e.width+=50;const t=e.height;e.height=Math.max(t,60);const n=Math.abs(e.height-t);s.append("foreignObject").attr("width","60px").attr("height",e.height).attr("style","text-align: center;margin-top:"+n/2+"px;").append("div").attr("class","icon-container").append("i").attr("class","node-icon-"+o+" "+e.icon),l.attr("transform","translate("+(25+e.width/2)+", "+(n/2+e.padding/2)+")")}else if(r){const t=(e.width-f.width)/2,n=(e.height-f.height)/2;l.attr("transform","translate("+t+", "+n+")")}else{const t=e.width/2,n=e.padding/2;l.attr("transform","translate("+t+", "+n+")")}switch(e.type){case w.DEFAULT:!function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(u,e,o);break;case w.ROUNDED_RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("height",e.height).attr("rx",e.padding).attr("ry",e.padding).attr("width",e.width)}(u,e);break;case w.RECT:!function(t,e){t.append("rect").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("height",e.height).attr("width",e.width)}(u,e);break;case w.CIRCLE:u.attr("transform","translate("+e.width/2+", "+ +e.height/2+")"),function(t,e){t.append("circle").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("r",e.width/2)}(u,e);break;case w.CLOUD:!function(t,e){const n=e.width,i=e.height,r=.15*n,a=.25*n,o=.35*n,s=.2*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("d",`M0 0 a${r},${r} 0 0,1 ${.25*n},${-1*n*.1}\n a${o},${o} 1 0,1 ${.4*n},${-1*n*.1}\n a${a},${a} 1 0,1 ${.35*n},${1*n*.2}\n\n a${r},${r} 1 0,1 ${.15*n},${1*i*.35}\n a${s},${s} 1 0,1 ${-1*n*.15},${1*i*.65}\n\n a${a},${r} 1 0,1 ${-1*n*.25},${.15*n}\n a${o},${o} 1 0,1 ${-1*n*.5},0\n a${r},${r} 1 0,1 ${-1*n*.25},${-1*n*.15}\n\n a${r},${r} 1 0,1 ${-1*n*.1},${-1*i*.35}\n a${s},${s} 1 0,1 ${.1*n},${-1*i*.65}\n\n H0 V0 Z`)}(u,e);break;case w.BANG:!function(t,e){const n=e.width,i=e.height,r=.15*n;t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+m(e.type)).attr("d",`M0 0 a${r},${r} 1 0,0 ${.25*n},${-1*i*.1}\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},0\n a${r},${r} 1 0,0 ${.25*n},${1*i*.1}\n\n a${r},${r} 1 0,0 ${.15*n},${1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${1*i*.34}\n a${r},${r} 1 0,0 ${-1*n*.15},${1*i*.33}\n\n a${r},${r} 1 0,0 ${-1*n*.25},${.15*i}\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},0\n a${r},${r} 1 0,0 ${-1*n*.25},${-1*i*.15}\n\n a${r},${r} 1 0,0 ${-1*n*.1},${-1*i*.33}\n a${.8*r},${.8*r} 1 0,0 0,${-1*i*.34}\n a${r},${r} 1 0,0 ${.1*n},${-1*i*.33}\n\n H0 V0 Z`)}(u,e);break;case w.HEXAGON:!function(t,e){const n=e.height,i=n/4,r=e.width-e.padding+2*i;!function(t,e,n,i,r){t.insert("polygon",":first-child").attr("points",i.map((function(t){return t.x+","+t.y})).join(" ")).attr("transform","translate("+(r.width-e)/2+", "+n+")")}(t,r,n,[{x:i,y:0},{x:r-i,y:0},{x:r,y:-n/2},{x:r-i,y:-n},{x:i,y:-n},{x:0,y:-n/2}],e)}(u,e)}y(e.id,s),e.height})(t,e,n,i),e.children&&e.children.forEach(((e,r)=>{_(t,e,n<0?r:n,i)}))}function E(t,e,n,i){e.add({group:"nodes",data:{id:t.id,labelText:t.descr,height:t.height,width:t.width,level:i,nodeId:t.id,padding:t.padding,type:t.type},position:{x:t.x,y:t.y}}),t.children&&t.children.forEach((r=>{E(r,e,n,i+1),e.add({group:"edges",data:{id:`${t.id}_${r.id}`,source:t.id,target:r.id,depth:i,section:r.section}})}))}function T(t,e){return new Promise((n=>{const a=(0,r.Ys)("body").append("div").attr("id","cy").attr("style","display:none"),s=o({container:document.getElementById("cy"),style:[{selector:"edge",style:{"curve-style":"bezier"}}]});a.remove(),E(t,s,e,0),s.nodes().forEach((function(t){t.layoutDimensions=()=>{const e=t.data();return{w:e.width,h:e.height}}})),s.layout({name:"cose-bilkent",quality:"proof",styleEnabled:!1,animate:!1}).run(),s.ready((t=>{i.l.info("Ready",t),n(s)}))}))}o.use(s);const C={db:k,renderer:{draw:async(t,e,n,a)=>{const o=(0,i.c)();o.htmlLabels=!1,i.l.debug("Rendering mindmap diagram\n"+t,a.parser);const s=(0,i.c)().securityLevel;let c;"sandbox"===s&&(c=(0,r.Ys)("#i"+e));const u=("sandbox"===s?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);u.append("g");const l=a.db.getMindmap(),h=u.append("g");h.attr("class","mindmap-edges");const f=u.append("g");f.attr("class","mindmap-nodes"),_(f,l,-1,o);const d=await T(l,o);!function(t,e){e.edges().map(((e,n)=>{const r=e.data();if(e[0]._private.bodyBounds){const a=e[0]._private.rscratch;i.l.trace("Edge: ",n,r),t.insert("path").attr("d",`M ${a.startX},${a.startY} L ${a.midX},${a.midY} L${a.endX},${a.endY} `).attr("class","edge section-edge-"+r.section+" edge-depth-"+r.depth)}}))}(h,d),function(t){t.nodes().map(((t,e)=>{const n=t.data();n.x=t.position().x,n.y=t.position().y,function(t){const e=x(t.id),n=t.x||0,i=t.y||0;e.attr("transform","translate("+n+","+i+")")}(n);const r=x(n.nodeId);i.l.info("Id:",e,"Position: (",t.position().x,", ",t.position().y,")",n),r.attr("transform",`translate(${t.position().x-n.width/2}, ${t.position().y-n.height/2})`),r.attr("attr",`apa-${e})`)}))}(d),(0,i.o)(void 0,u,o.mindmap.padding,o.mindmap.useMaxWidth)}},parser:f,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,c.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,u.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,l.Z)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} polygon, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle, .section-root polygon {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .mindmap-node-label {\n dy: 1em;\n alignment-baseline: middle;\n text-anchor: middle;\n dominant-baseline: middle;\n text-align: center;\n }\n`}},7875:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>f});var i=n(8454),r=n(7274),a=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,4],i=[1,5],r=[1,6],a=[1,10,12,14,16,18,19,20,21,22],o=[2,4],s=[1,5,10,12,14,16,18,19,20,21,22],c=[20,21,22],u=[2,7],l=[1,12],h=[1,13],f=[1,14],d=[1,15],g=[1,16],p=[1,17],b={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,PIE:5,document:6,showData:7,line:8,statement:9,txt:10,value:11,title:12,title_value:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,section:19,NEWLINE:20,";":21,EOF:22,$accept:0,$end:1},terminals_:{2:"error",5:"PIE",7:"showData",10:"txt",11:"value",12:"title",13:"title_value",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"section",20:"NEWLINE",21:";",22:"EOF"},productions_:[0,[3,2],[3,2],[3,3],[6,0],[6,2],[8,2],[9,0],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[4,1],[4,1],[4,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:i.setShowData(!0);break;case 6:this.$=a[s-1];break;case 8:i.addSection(a[s-1],i.cleanupValue(a[s]));break;case 9:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 10:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 11:case 12:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 13:i.addSection(a[s].substr(8)),this.$=a[s].substr(8)}},table:[{3:1,4:2,5:e,20:n,21:i,22:r},{1:[3]},{3:7,4:2,5:e,20:n,21:i,22:r},t(a,o,{6:8,7:[1,9]}),t(s,[2,14]),t(s,[2,15]),t(s,[2,16]),{1:[2,1]},t(c,u,{8:10,9:11,1:[2,2],10:l,12:h,14:f,16:d,18:g,19:p}),t(a,o,{6:18}),t(a,[2,5]),{4:19,20:n,21:i,22:r},{11:[1,20]},{13:[1,21]},{15:[1,22]},{17:[1,23]},t(c,[2,12]),t(c,[2,13]),t(c,u,{8:10,9:11,1:[2,3],10:l,12:h,14:f,16:d,18:g,19:p}),t(a,[2,6]),t(c,[2,8]),t(c,[2,9]),t(c,[2,10]),t(c,[2,11])],defaultActions:{7:[2,1]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},w={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 20;case 5:return this.begin("title"),12;case 6:return this.popState(),"title_value";case 7:return this.begin("acc_title"),14;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),16;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:case 15:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:this.begin("string");break;case 16:return"txt";case 17:return 5;case 18:return 7;case 19:return"value";case 20:return 22}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:[\s]+)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:pie\b)/i,/^(?:showData\b)/i,/^(?::[\s]*[\d]+(?:\.[\d]+)?)/i,/^(?:$)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},title:{rules:[6],inclusive:!1},string:{rules:[15,16],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,7,9,11,14,17,18,19,20],inclusive:!0}}};function y(){this.yy={}}return b.lexer=w,y.prototype=b,b.Parser=y,new y}());a.parser=a;const o=a,s=i.B.pie,c={};let u=c,l=false;const h=structuredClone(s),f={parser:o,db:{getConfig:()=>structuredClone(h),clear:()=>{u=structuredClone(c),l=false,(0,i.t)()},setDiagramTitle:i.q,getDiagramTitle:i.r,setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addSection:(t,e)=>{t=(0,i.d)(t,(0,i.c)()),void 0===u[t]&&(u[t]=e,i.l.debug(`added new section: ${t}, with value: ${e}`))},getSections:()=>u,cleanupValue:t=>(":"===t.substring(0,1)&&(t=t.substring(1).trim()),Number(t.trim())),setShowData:t=>{l=t},getShowData:()=>l},renderer:{draw:(t,e,n,a)=>{var o,s;i.l.debug("rendering pie chart\n"+t);const c=a.db,u=(0,i.c)(),l=(0,i.C)(c.getConfig(),u.pie),h=(null==(s=null==(o=document.getElementById(e))?void 0:o.parentElement)?void 0:s.offsetWidth)??l.useWidth,f=(0,i.A)(e);f.attr("viewBox",`0 0 ${h} 450`),(0,i.i)(f,450,h,l.useMaxWidth);const d=f.append("g");d.attr("transform","translate("+h/2+",225)");const{themeVariables:g}=u;let[p]=(0,i.D)(g.pieOuterStrokeWidth);p??(p=2);const b=l.textPosition,w=Math.min(h,450)/2-40,y=(0,r.Nb1)().innerRadius(0).outerRadius(w),m=(0,r.Nb1)().innerRadius(w*b).outerRadius(w*b);d.append("circle").attr("cx",0).attr("cy",0).attr("r",w+p/2).attr("class","pieOuterCircle");const v=c.getSections(),x=(t=>{const e=Object.entries(t).map((t=>({label:t[0],value:t[1]}))).sort(((t,e)=>e.value-t.value));return(0,r.ve8)().value((t=>t.value))(e)})(v),k=[g.pie1,g.pie2,g.pie3,g.pie4,g.pie5,g.pie6,g.pie7,g.pie8,g.pie9,g.pie10,g.pie11,g.pie12],_=(0,r.PKp)(k);d.selectAll("mySlices").data(x).enter().append("path").attr("d",y).attr("fill",(t=>_(t.data.label))).attr("class","pieCircle");let E=0;Object.keys(v).forEach((t=>{E+=v[t]})),d.selectAll("mySlices").data(x).enter().append("text").text((t=>(t.data.value/E*100).toFixed(0)+"%")).attr("transform",(t=>"translate("+m.centroid(t)+")")).style("text-anchor","middle").attr("class","slice"),d.append("text").text(c.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");const T=d.selectAll(".legend").data(_.domain()).enter().append("g").attr("class","legend").attr("transform",((t,e)=>"translate(216,"+(22*e-22*_.domain().length/2)+")"));T.append("rect").attr("width",18).attr("height",18).style("fill",_).style("stroke",_),T.data(x).append("text").attr("x",22).attr("y",14).text((t=>{const{label:e,value:n}=t.data;return c.getShowData()?`${e} [${n}]`:e}))}},styles:t=>`\n .pieCircle{\n stroke: ${t.pieStrokeColor};\n stroke-width : ${t.pieStrokeWidth};\n opacity : ${t.pieOpacity};\n }\n .pieOuterCircle{\n stroke: ${t.pieOuterStrokeColor};\n stroke-width: ${t.pieOuterStrokeWidth};\n fill: none;\n }\n .pieTitleText {\n text-anchor: middle;\n font-size: ${t.pieTitleTextSize};\n fill: ${t.pieTitleTextColor};\n font-family: ${t.fontFamily};\n }\n .slice {\n font-family: ${t.fontFamily};\n fill: ${t.pieSectionTextColor};\n font-size:${t.pieSectionTextSize};\n // fill: white;\n }\n .legend text {\n fill: ${t.pieLegendTextColor};\n font-family: ${t.fontFamily};\n font-size: ${t.pieLegendTextSize};\n }\n`}},2069:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>h});var i=n(8454),r=n(7274),a=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,4],i=[1,5],r=[1,6],a=[1,7],o=[1,5,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],s=[1,5,6,13,15,17,19,20,25,27,28,29,30,31,32,33,34,37,38,40,41,42,43,44,45,46,47,48,49,50],c=[32,33,34],u=[2,7],l=[1,13],h=[1,17],f=[1,18],d=[1,19],g=[1,20],p=[1,21],b=[1,22],w=[1,23],y=[1,24],m=[1,25],v=[1,26],x=[1,27],k=[1,30],_=[1,31],E=[1,32],T=[1,33],C=[1,34],S=[1,35],A=[1,36],M=[1,37],I=[1,38],L=[1,39],O=[1,40],D=[1,41],N=[1,42],P=[1,57],B=[1,58],F=[5,22,26,32,33,34,40,41,42,43,44,45,46,47,48,49,50,51],$={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,QUADRANT:6,document:7,line:8,statement:9,axisDetails:10,quadrantDetails:11,points:12,title:13,title_value:14,acc_title:15,acc_title_value:16,acc_descr:17,acc_descr_value:18,acc_descr_multiline_value:19,section:20,text:21,point_start:22,point_x:23,point_y:24,"X-AXIS":25,"AXIS-TEXT-DELIMITER":26,"Y-AXIS":27,QUADRANT_1:28,QUADRANT_2:29,QUADRANT_3:30,QUADRANT_4:31,NEWLINE:32,SEMI:33,EOF:34,alphaNumToken:35,textNoTagsToken:36,STR:37,MD_STR:38,alphaNum:39,PUNCTUATION:40,AMP:41,NUM:42,ALPHA:43,COMMA:44,PLUS:45,EQUALS:46,MULT:47,DOT:48,BRKT:49,UNDERSCORE:50,MINUS:51,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",6:"QUADRANT",13:"title",14:"title_value",15:"acc_title",16:"acc_title_value",17:"acc_descr",18:"acc_descr_value",19:"acc_descr_multiline_value",20:"section",22:"point_start",23:"point_x",24:"point_y",25:"X-AXIS",26:"AXIS-TEXT-DELIMITER",27:"Y-AXIS",28:"QUADRANT_1",29:"QUADRANT_2",30:"QUADRANT_3",31:"QUADRANT_4",32:"NEWLINE",33:"SEMI",34:"EOF",37:"STR",38:"MD_STR",40:"PUNCTUATION",41:"AMP",42:"NUM",43:"ALPHA",44:"COMMA",45:"PLUS",46:"EQUALS",47:"MULT",48:"DOT",49:"BRKT",50:"UNDERSCORE",51:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[9,0],[9,2],[9,1],[9,1],[9,1],[9,2],[9,2],[9,2],[9,1],[9,1],[12,4],[10,4],[10,3],[10,2],[10,4],[10,3],[10,2],[11,2],[11,2],[11,2],[11,2],[4,1],[4,1],[4,1],[21,1],[21,2],[21,1],[21,1],[39,1],[39,2],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[35,1],[36,1],[36,1],[36,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 12:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 13:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 14:case 15:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 16:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 17:i.addPoint(a[s-3],a[s-1],a[s]);break;case 18:i.setXAxisLeftText(a[s-2]),i.setXAxisRightText(a[s]);break;case 19:a[s-1].text+=" ⟶ ",i.setXAxisLeftText(a[s-1]);break;case 20:i.setXAxisLeftText(a[s]);break;case 21:i.setYAxisBottomText(a[s-2]),i.setYAxisTopText(a[s]);break;case 22:a[s-1].text+=" ⟶ ",i.setYAxisBottomText(a[s-1]);break;case 23:i.setYAxisBottomText(a[s]);break;case 24:i.setQuadrant1Text(a[s]);break;case 25:i.setQuadrant2Text(a[s]);break;case 26:i.setQuadrant3Text(a[s]);break;case 27:i.setQuadrant4Text(a[s]);break;case 31:case 33:this.$={text:a[s],type:"text"};break;case 32:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 34:this.$={text:a[s],type:"markdown"};break;case 35:this.$=a[s];break;case 36:this.$=a[s-1]+""+a[s]}},table:[{3:1,4:2,5:e,6:n,32:i,33:r,34:a},{1:[3]},{3:8,4:2,5:e,6:n,32:i,33:r,34:a},{3:9,4:2,5:e,6:n,32:i,33:r,34:a},t(o,[2,4],{7:10}),t(s,[2,28]),t(s,[2,29]),t(s,[2,30]),{1:[2,1]},{1:[2,2]},t(c,u,{8:11,9:12,10:14,11:15,12:16,21:28,35:29,1:[2,3],5:l,13:h,15:f,17:d,19:g,20:p,25:b,27:w,28:y,29:m,30:v,31:x,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N}),t(o,[2,5]),{4:43,32:i,33:r,34:a},t(c,u,{10:14,11:15,12:16,21:28,35:29,9:44,5:l,13:h,15:f,17:d,19:g,20:p,25:b,27:w,28:y,29:m,30:v,31:x,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N}),t(c,[2,9]),t(c,[2,10]),t(c,[2,11]),{14:[1,45]},{16:[1,46]},{18:[1,47]},t(c,[2,15]),t(c,[2,16]),{21:48,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{21:49,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{21:50,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{21:51,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{21:52,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{21:53,35:29,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N},{5:P,22:[1,54],35:56,36:55,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B},t(F,[2,31]),t(F,[2,33]),t(F,[2,34]),t(F,[2,37]),t(F,[2,38]),t(F,[2,39]),t(F,[2,40]),t(F,[2,41]),t(F,[2,42]),t(F,[2,43]),t(F,[2,44]),t(F,[2,45]),t(F,[2,46]),t(F,[2,47]),t(o,[2,6]),t(c,[2,8]),t(c,[2,12]),t(c,[2,13]),t(c,[2,14]),t(c,[2,20],{36:55,35:56,5:P,26:[1,59],40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,23],{36:55,35:56,5:P,26:[1,60],40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,24],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,25],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,26],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,27],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),{23:[1,61]},t(F,[2,32]),t(F,[2,48]),t(F,[2,49]),t(F,[2,50]),t(c,[2,19],{35:29,21:62,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N}),t(c,[2,22],{35:29,21:63,37:k,38:_,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N}),{24:[1,64]},t(c,[2,18],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,21],{36:55,35:56,5:P,40:E,41:T,42:C,43:S,44:A,45:M,46:I,47:L,48:O,49:D,50:N,51:B}),t(c,[2,17])],defaultActions:{8:[2,1],9:[2,2]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},j={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:break;case 2:return 32;case 4:return this.begin("title"),13;case 5:return this.popState(),"title_value";case 6:return this.begin("acc_title"),15;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),17;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 22:case 24:case 28:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 25;case 14:return 27;case 15:return 26;case 16:return 28;case 17:return 29;case 18:return 30;case 19:return 31;case 20:this.begin("md_string");break;case 21:return"MD_STR";case 23:this.begin("string");break;case 25:return"STR";case 26:return this.begin("point_start"),22;case 27:return this.begin("point_x"),23;case 29:this.popState(),this.begin("point_y");break;case 30:return this.popState(),24;case 31:return 6;case 32:return 43;case 33:return"COLON";case 34:return 45;case 35:return 44;case 36:case 37:return 46;case 38:return 47;case 39:return 49;case 40:return 50;case 41:return 48;case 42:return 41;case 43:return 51;case 44:return 42;case 45:return 5;case 46:return 33;case 47:return 40;case 48:return 34}},rules:[/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n\r]+)/i,/^(?:%%[^\n]*)/i,/^(?:title\b)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?: *x-axis *)/i,/^(?: *y-axis *)/i,/^(?: *--+> *)/i,/^(?: *quadrant-1 *)/i,/^(?: *quadrant-2 *)/i,/^(?: *quadrant-3 *)/i,/^(?: *quadrant-4 *)/i,/^(?:["][`])/i,/^(?:[^`"]+)/i,/^(?:[`]["])/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:\s*:\s*\[\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?:\s*\] *)/i,/^(?:\s*,\s*)/i,/^(?:(1)|(0(.\d+)?))/i,/^(?: *quadrantChart *)/i,/^(?:[A-Za-z]+)/i,/^(?::)/i,/^(?:\+)/i,/^(?:,)/i,/^(?:=)/i,/^(?:=)/i,/^(?:\*)/i,/^(?:#)/i,/^(?:[\_])/i,/^(?:\.)/i,/^(?:&)/i,/^(?:-)/i,/^(?:[0-9]+)/i,/^(?:\s)/i,/^(?:;)/i,/^(?:[!"#$%&'*+,-.`?\\_/])/i,/^(?:$)/i],conditions:{point_y:{rules:[30],inclusive:!1},point_x:{rules:[29],inclusive:!1},point_start:{rules:[27,28],inclusive:!1},acc_descr_multiline:{rules:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},title:{rules:[5],inclusive:!1},md_string:{rules:[21,22],inclusive:!1},string:{rules:[24,25],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,6,8,10,13,14,15,16,17,18,19,20,23,26,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function R(){this.yy={}}return $.lexer=j,R.prototype=$,$.Parser=R,new R}());a.parser=a;const o=a,s=(0,i.E)(),c=(0,i.c)();function u(t){return(0,i.d)(t.trim(),c)}const l=new class{constructor(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData()}getDefaultData(){return{titleText:"",quadrant1Text:"",quadrant2Text:"",quadrant3Text:"",quadrant4Text:"",xAxisLeftText:"",xAxisRightText:"",yAxisBottomText:"",yAxisTopText:"",points:[]}}getDefaultConfig(){var t,e,n,r,a,o,s,c,u,l,h,f,d,g,p,b,w,y;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=i.B.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(e=i.B.quadrantChart)?void 0:e.chartHeight)||500,titlePadding:(null==(n=i.B.quadrantChart)?void 0:n.titlePadding)||10,titleFontSize:(null==(r=i.B.quadrantChart)?void 0:r.titleFontSize)||20,quadrantPadding:(null==(a=i.B.quadrantChart)?void 0:a.quadrantPadding)||5,xAxisLabelPadding:(null==(o=i.B.quadrantChart)?void 0:o.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(s=i.B.quadrantChart)?void 0:s.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(c=i.B.quadrantChart)?void 0:c.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(u=i.B.quadrantChart)?void 0:u.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(l=i.B.quadrantChart)?void 0:l.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(h=i.B.quadrantChart)?void 0:h.quadrantTextTopPadding)||5,pointTextPadding:(null==(f=i.B.quadrantChart)?void 0:f.pointTextPadding)||5,pointLabelFontSize:(null==(d=i.B.quadrantChart)?void 0:d.pointLabelFontSize)||12,pointRadius:(null==(g=i.B.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(p=i.B.quadrantChart)?void 0:p.xAxisPosition)||"top",yAxisPosition:(null==(b=i.B.quadrantChart)?void 0:b.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(w=i.B.quadrantChart)?void 0:w.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(y=i.B.quadrantChart)?void 0:y.quadrantExternalBorderStrokeWidth)||2}}getDefaultThemeConfig(){return{quadrant1Fill:s.quadrant1Fill,quadrant2Fill:s.quadrant2Fill,quadrant3Fill:s.quadrant3Fill,quadrant4Fill:s.quadrant4Fill,quadrant1TextFill:s.quadrant1TextFill,quadrant2TextFill:s.quadrant2TextFill,quadrant3TextFill:s.quadrant3TextFill,quadrant4TextFill:s.quadrant4TextFill,quadrantPointFill:s.quadrantPointFill,quadrantPointTextFill:s.quadrantPointTextFill,quadrantXAxisTextFill:s.quadrantXAxisTextFill,quadrantYAxisTextFill:s.quadrantYAxisTextFill,quadrantTitleFill:s.quadrantTitleFill,quadrantInternalBorderStrokeFill:s.quadrantInternalBorderStrokeFill,quadrantExternalBorderStrokeFill:s.quadrantExternalBorderStrokeFill}}clear(){this.config=this.getDefaultConfig(),this.themeConfig=this.getDefaultThemeConfig(),this.data=this.getDefaultData(),i.l.info("clear called")}setData(t){this.data={...this.data,...t}}addPoints(t){this.data.points=[...t,...this.data.points]}setConfig(t){i.l.trace("setConfig called with: ",t),this.config={...this.config,...t}}setThemeConfig(t){i.l.trace("setThemeConfig called with: ",t),this.themeConfig={...this.themeConfig,...t}}calculateSpace(t,e,n,i){const r=2*this.config.xAxisLabelPadding+this.config.xAxisLabelFontSize,a={top:"top"===t&&e?r:0,bottom:"bottom"===t&&e?r:0},o=2*this.config.yAxisLabelPadding+this.config.yAxisLabelFontSize,s={left:"left"===this.config.yAxisPosition&&n?o:0,right:"right"===this.config.yAxisPosition&&n?o:0},c=this.config.titleFontSize+2*this.config.titlePadding,u={top:i?c:0},l=this.config.quadrantPadding+s.left,h=this.config.quadrantPadding+a.top+u.top,f=this.config.chartWidth-2*this.config.quadrantPadding-s.left-s.right,d=this.config.chartHeight-2*this.config.quadrantPadding-a.top-a.bottom-u.top;return{xAxisSpace:a,yAxisSpace:s,titleSpace:u,quadrantSpace:{quadrantLeft:l,quadrantTop:h,quadrantWidth:f,quadrantHalfWidth:f/2,quadrantHeight:d,quadrantHalfHeight:d/2}}}getAxisLabels(t,e,n,i){const{quadrantSpace:r,titleSpace:a}=i,{quadrantHalfHeight:o,quadrantHeight:s,quadrantLeft:c,quadrantHalfWidth:u,quadrantTop:l,quadrantWidth:h}=r,f=0===this.data.points.length,d=[];return this.data.xAxisLeftText&&e&&d.push({text:this.data.xAxisLeftText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+(f?u/2:0),y:"top"===t?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+l+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:0}),this.data.xAxisRightText&&e&&d.push({text:this.data.xAxisRightText,fill:this.themeConfig.quadrantXAxisTextFill,x:c+u+(f?u/2:0),y:"top"===t?this.config.xAxisLabelPadding+a.top:this.config.xAxisLabelPadding+l+s+this.config.quadrantPadding,fontSize:this.config.xAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:0}),this.data.yAxisBottomText&&n&&d.push({text:this.data.yAxisBottomText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+h+this.config.quadrantPadding,y:l+s-(f?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:-90}),this.data.yAxisTopText&&n&&d.push({text:this.data.yAxisTopText,fill:this.themeConfig.quadrantYAxisTextFill,x:"left"===this.config.yAxisPosition?this.config.yAxisLabelPadding:this.config.yAxisLabelPadding+c+h+this.config.quadrantPadding,y:l+o-(f?o/2:0),fontSize:this.config.yAxisLabelFontSize,verticalPos:f?"center":"left",horizontalPos:"top",rotation:-90}),d}getQuadrants(t){const{quadrantSpace:e}=t,{quadrantHalfHeight:n,quadrantLeft:i,quadrantHalfWidth:r,quadrantTop:a}=e,o=[{text:{text:this.data.quadrant1Text,fill:this.themeConfig.quadrant1TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+r,y:a,width:r,height:n,fill:this.themeConfig.quadrant1Fill},{text:{text:this.data.quadrant2Text,fill:this.themeConfig.quadrant2TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:a,width:r,height:n,fill:this.themeConfig.quadrant2Fill},{text:{text:this.data.quadrant3Text,fill:this.themeConfig.quadrant3TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i,y:a+n,width:r,height:n,fill:this.themeConfig.quadrant3Fill},{text:{text:this.data.quadrant4Text,fill:this.themeConfig.quadrant4TextFill,x:0,y:0,fontSize:this.config.quadrantLabelFontSize,verticalPos:"center",horizontalPos:"middle",rotation:0},x:i+r,y:a+n,width:r,height:n,fill:this.themeConfig.quadrant4Fill}];for(const t of o)t.text.x=t.x+t.width/2,0===this.data.points.length?(t.text.y=t.y+t.height/2,t.text.horizontalPos="middle"):(t.text.y=t.y+this.config.quadrantTextTopPadding,t.text.horizontalPos="top");return o}getQuadrantPoints(t){const{quadrantSpace:e}=t,{quadrantHeight:n,quadrantLeft:i,quadrantTop:a,quadrantWidth:o}=e,s=(0,r.BYU)().domain([0,1]).range([i,o+i]),c=(0,r.BYU)().domain([0,1]).range([n+a,a]);return this.data.points.map((t=>({x:s(t.x),y:c(t.y),fill:this.themeConfig.quadrantPointFill,radius:this.config.pointRadius,text:{text:t.text,fill:this.themeConfig.quadrantPointTextFill,x:s(t.x),y:c(t.y)+this.config.pointTextPadding,verticalPos:"center",horizontalPos:"top",fontSize:this.config.pointLabelFontSize,rotation:0}})))}getBorders(t){const e=this.config.quadrantExternalBorderStrokeWidth/2,{quadrantSpace:n}=t,{quadrantHalfHeight:i,quadrantHeight:r,quadrantLeft:a,quadrantHalfWidth:o,quadrantTop:s,quadrantWidth:c}=n;return[{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-e,y1:s,x2:a+c+e,y2:s},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a+c,y1:s+e,x2:a+c,y2:s+r-e},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a-e,y1:s+r,x2:a+c+e,y2:s+r},{strokeFill:this.themeConfig.quadrantExternalBorderStrokeFill,strokeWidth:this.config.quadrantExternalBorderStrokeWidth,x1:a,y1:s+e,x2:a,y2:s+r-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+o,y1:s+e,x2:a+o,y2:s+r-e},{strokeFill:this.themeConfig.quadrantInternalBorderStrokeFill,strokeWidth:this.config.quadrantInternalBorderStrokeWidth,x1:a+e,y1:s+i,x2:a+c-e,y2:s+i}]}getTitle(t){if(t)return{text:this.data.titleText,fill:this.themeConfig.quadrantTitleFill,fontSize:this.config.titleFontSize,horizontalPos:"top",verticalPos:"center",rotation:0,y:this.config.titlePadding,x:this.config.chartWidth/2}}build(){const t=this.config.showXAxis&&!(!this.data.xAxisLeftText&&!this.data.xAxisRightText),e=this.config.showYAxis&&!(!this.data.yAxisTopText&&!this.data.yAxisBottomText),n=this.config.showTitle&&!!this.data.titleText,i=this.data.points.length>0?"bottom":this.config.xAxisPosition,r=this.calculateSpace(i,t,e,n);return{points:this.getQuadrantPoints(r),quadrants:this.getQuadrants(r),axisLabels:this.getAxisLabels(i,t,e,r),borderLines:this.getBorders(r),title:this.getTitle(n)}}},h={parser:o,db:{setWidth:function(t){l.setConfig({chartWidth:t})},setHeight:function(t){l.setConfig({chartHeight:t})},setQuadrant1Text:function(t){l.setData({quadrant1Text:u(t.text)})},setQuadrant2Text:function(t){l.setData({quadrant2Text:u(t.text)})},setQuadrant3Text:function(t){l.setData({quadrant3Text:u(t.text)})},setQuadrant4Text:function(t){l.setData({quadrant4Text:u(t.text)})},setXAxisLeftText:function(t){l.setData({xAxisLeftText:u(t.text)})},setXAxisRightText:function(t){l.setData({xAxisRightText:u(t.text)})},setYAxisTopText:function(t){l.setData({yAxisTopText:u(t.text)})},setYAxisBottomText:function(t){l.setData({yAxisBottomText:u(t.text)})},addPoint:function(t,e,n){l.addPoints([{x:e,y:n,text:u(t.text)}])},getQuadrantData:function(){const t=(0,i.c)(),{themeVariables:e,quadrantChart:n}=t;return n&&l.setConfig(n),l.setThemeConfig({quadrant1Fill:e.quadrant1Fill,quadrant2Fill:e.quadrant2Fill,quadrant3Fill:e.quadrant3Fill,quadrant4Fill:e.quadrant4Fill,quadrant1TextFill:e.quadrant1TextFill,quadrant2TextFill:e.quadrant2TextFill,quadrant3TextFill:e.quadrant3TextFill,quadrant4TextFill:e.quadrant4TextFill,quadrantPointFill:e.quadrantPointFill,quadrantPointTextFill:e.quadrantPointTextFill,quadrantXAxisTextFill:e.quadrantXAxisTextFill,quadrantYAxisTextFill:e.quadrantYAxisTextFill,quadrantExternalBorderStrokeFill:e.quadrantExternalBorderStrokeFill,quadrantInternalBorderStrokeFill:e.quadrantInternalBorderStrokeFill,quadrantTitleFill:e.quadrantTitleFill}),l.setData({titleText:(0,i.r)()}),l.build()},clear:function(){l.clear(),(0,i.t)()},setAccTitle:i.s,getAccTitle:i.g,setDiagramTitle:i.q,getDiagramTitle:i.r,getAccDescription:i.a,setAccDescription:i.b},renderer:{draw:(t,e,n,a)=>{var o,s,c;function u(t){return"top"===t?"hanging":"middle"}function l(t){return"left"===t?"start":"middle"}function h(t){return`translate(${t.x}, ${t.y}) rotate(${t.rotation||0})`}const f=(0,i.c)();i.l.debug("Rendering quadrant chart\n"+t);const d=f.securityLevel;let g;"sandbox"===d&&(g=(0,r.Ys)("#i"+e));const p=("sandbox"===d?(0,r.Ys)(g.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id="${e}"]`),b=p.append("g").attr("class","main"),w=(null==(o=f.quadrantChart)?void 0:o.chartWidth)||500,y=(null==(s=f.quadrantChart)?void 0:s.chartHeight)||500;(0,i.i)(p,y,w,(null==(c=f.quadrantChart)?void 0:c.useMaxWidth)||!0),p.attr("viewBox","0 0 "+w+" "+y),a.db.setHeight(y),a.db.setWidth(w);const m=a.db.getQuadrantData(),v=b.append("g").attr("class","quadrants"),x=b.append("g").attr("class","border"),k=b.append("g").attr("class","data-points"),_=b.append("g").attr("class","labels"),E=b.append("g").attr("class","title");m.title&&E.append("text").attr("x",0).attr("y",0).attr("fill",m.title.fill).attr("font-size",m.title.fontSize).attr("dominant-baseline",u(m.title.horizontalPos)).attr("text-anchor",l(m.title.verticalPos)).attr("transform",h(m.title)).text(m.title.text),m.borderLines&&x.selectAll("line").data(m.borderLines).enter().append("line").attr("x1",(t=>t.x1)).attr("y1",(t=>t.y1)).attr("x2",(t=>t.x2)).attr("y2",(t=>t.y2)).style("stroke",(t=>t.strokeFill)).style("stroke-width",(t=>t.strokeWidth));const T=v.selectAll("g.quadrant").data(m.quadrants).enter().append("g").attr("class","quadrant");T.append("rect").attr("x",(t=>t.x)).attr("y",(t=>t.y)).attr("width",(t=>t.width)).attr("height",(t=>t.height)).attr("fill",(t=>t.fill)),T.append("text").attr("x",0).attr("y",0).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>u(t.text.horizontalPos))).attr("text-anchor",(t=>l(t.text.verticalPos))).attr("transform",(t=>h(t.text))).text((t=>t.text.text)),_.selectAll("g.label").data(m.axisLabels).enter().append("g").attr("class","label").append("text").attr("x",0).attr("y",0).text((t=>t.text)).attr("fill",(t=>t.fill)).attr("font-size",(t=>t.fontSize)).attr("dominant-baseline",(t=>u(t.horizontalPos))).attr("text-anchor",(t=>l(t.verticalPos))).attr("transform",(t=>h(t)));const C=k.selectAll("g.data-point").data(m.points).enter().append("g").attr("class","data-point");C.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),C.append("text").attr("x",0).attr("y",0).text((t=>t.text.text)).attr("fill",(t=>t.text.fill)).attr("font-size",(t=>t.text.fontSize)).attr("dominant-baseline",(t=>u(t.text.horizontalPos))).attr("text-anchor",(t=>l(t.text.verticalPos))).attr("transform",(t=>h(t.text)))}},styles:()=>""}},8841:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>_});var i=n(8454),r=n(7274),a=n(3771),o=n(5625),s=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,3],n=[1,4],i=[1,5],r=[1,6],a=[5,6,8,9,11,13,31,32,33,34,35,36,44,62,63],o=[1,18],s=[2,7],c=[1,22],u=[1,23],l=[1,24],h=[1,25],f=[1,26],d=[1,27],g=[1,20],p=[1,28],b=[1,29],w=[62,63],y=[5,8,9,11,13,31,32,33,34,35,36,44,51,53,62,63],m=[1,47],v=[1,48],x=[1,49],k=[1,50],_=[1,51],E=[1,52],T=[1,53],C=[53,54],S=[1,64],A=[1,60],M=[1,61],I=[1,62],L=[1,63],O=[1,65],D=[1,69],N=[1,70],P=[1,67],B=[1,68],F=[5,8,9,11,13,31,32,33,34,35,36,44,62,63],$={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,acc_title:9,acc_title_value:10,acc_descr:11,acc_descr_value:12,acc_descr_multiline_value:13,requirementDef:14,elementDef:15,relationshipDef:16,requirementType:17,requirementName:18,STRUCT_START:19,requirementBody:20,ID:21,COLONSEP:22,id:23,TEXT:24,text:25,RISK:26,riskLevel:27,VERIFYMTHD:28,verifyType:29,STRUCT_STOP:30,REQUIREMENT:31,FUNCTIONAL_REQUIREMENT:32,INTERFACE_REQUIREMENT:33,PERFORMANCE_REQUIREMENT:34,PHYSICAL_REQUIREMENT:35,DESIGN_CONSTRAINT:36,LOW_RISK:37,MED_RISK:38,HIGH_RISK:39,VERIFY_ANALYSIS:40,VERIFY_DEMONSTRATION:41,VERIFY_INSPECTION:42,VERIFY_TEST:43,ELEMENT:44,elementName:45,elementBody:46,TYPE:47,type:48,DOCREF:49,ref:50,END_ARROW_L:51,relationship:52,LINE:53,END_ARROW_R:54,CONTAINS:55,COPIES:56,DERIVES:57,SATISFIES:58,VERIFIES:59,REFINES:60,TRACES:61,unqString:62,qString:63,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",9:"acc_title",10:"acc_title_value",11:"acc_descr",12:"acc_descr_value",13:"acc_descr_multiline_value",19:"STRUCT_START",21:"ID",22:"COLONSEP",24:"TEXT",26:"RISK",28:"VERIFYMTHD",30:"STRUCT_STOP",31:"REQUIREMENT",32:"FUNCTIONAL_REQUIREMENT",33:"INTERFACE_REQUIREMENT",34:"PERFORMANCE_REQUIREMENT",35:"PHYSICAL_REQUIREMENT",36:"DESIGN_CONSTRAINT",37:"LOW_RISK",38:"MED_RISK",39:"HIGH_RISK",40:"VERIFY_ANALYSIS",41:"VERIFY_DEMONSTRATION",42:"VERIFY_INSPECTION",43:"VERIFY_TEST",44:"ELEMENT",47:"TYPE",49:"DOCREF",51:"END_ARROW_L",53:"LINE",54:"END_ARROW_R",55:"CONTAINS",56:"COPIES",57:"DERIVES",58:"SATISFIES",59:"VERIFIES",60:"REFINES",61:"TRACES",62:"unqString",63:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,2],[4,2],[4,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[14,5],[20,5],[20,5],[20,5],[20,5],[20,2],[20,1],[17,1],[17,1],[17,1],[17,1],[17,1],[17,1],[27,1],[27,1],[27,1],[29,1],[29,1],[29,1],[29,1],[15,5],[46,5],[46,5],[46,2],[46,1],[16,5],[16,5],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[52,1],[18,1],[18,1],[23,1],[23,1],[25,1],[25,1],[45,1],[45,1],[48,1],[48,1],[50,1],[50,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 5:case 6:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 7:this.$=[];break;case 13:i.addRequirement(a[s-3],a[s-4]);break;case 14:i.setNewReqId(a[s-2]);break;case 15:i.setNewReqText(a[s-2]);break;case 16:i.setNewReqRisk(a[s-2]);break;case 17:i.setNewReqVerifyMethod(a[s-2]);break;case 20:this.$=i.RequirementType.REQUIREMENT;break;case 21:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 22:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 23:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 24:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 25:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 26:this.$=i.RiskLevel.LOW_RISK;break;case 27:this.$=i.RiskLevel.MED_RISK;break;case 28:this.$=i.RiskLevel.HIGH_RISK;break;case 29:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 30:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 31:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 32:this.$=i.VerifyType.VERIFY_TEST;break;case 33:i.addElement(a[s-3]);break;case 34:i.setNewElementType(a[s-2]);break;case 35:i.setNewElementDocRef(a[s-2]);break;case 38:i.addRelationship(a[s-2],a[s],a[s-4]);break;case 39:i.addRelationship(a[s-2],a[s-4],a[s]);break;case 40:this.$=i.Relationships.CONTAINS;break;case 41:this.$=i.Relationships.COPIES;break;case 42:this.$=i.Relationships.DERIVES;break;case 43:this.$=i.Relationships.SATISFIES;break;case 44:this.$=i.Relationships.VERIFIES;break;case 45:this.$=i.Relationships.REFINES;break;case 46:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:n,11:i,13:r},{1:[3]},{3:8,4:2,5:[1,7],6:e,9:n,11:i,13:r},{5:[1,9]},{10:[1,10]},{12:[1,11]},t(a,[2,6]),{3:12,4:2,6:e,9:n,11:i,13:r},{1:[2,2]},{4:17,5:o,7:13,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},t(a,[2,4]),t(a,[2,5]),{1:[2,1]},{8:[1,30]},{4:17,5:o,7:31,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},{4:17,5:o,7:32,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},{4:17,5:o,7:33,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},{4:17,5:o,7:34,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},{4:17,5:o,7:35,8:s,9:n,11:i,13:r,14:14,15:15,16:16,17:19,23:21,31:c,32:u,33:l,34:h,35:f,36:d,44:g,62:p,63:b},{18:36,62:[1,37],63:[1,38]},{45:39,62:[1,40],63:[1,41]},{51:[1,42],53:[1,43]},t(w,[2,20]),t(w,[2,21]),t(w,[2,22]),t(w,[2,23]),t(w,[2,24]),t(w,[2,25]),t(y,[2,49]),t(y,[2,50]),{1:[2,3]},{8:[2,8]},{8:[2,9]},{8:[2,10]},{8:[2,11]},{8:[2,12]},{19:[1,44]},{19:[2,47]},{19:[2,48]},{19:[1,45]},{19:[2,53]},{19:[2,54]},{52:46,55:m,56:v,57:x,58:k,59:_,60:E,61:T},{52:54,55:m,56:v,57:x,58:k,59:_,60:E,61:T},{5:[1,55]},{5:[1,56]},{53:[1,57]},t(C,[2,40]),t(C,[2,41]),t(C,[2,42]),t(C,[2,43]),t(C,[2,44]),t(C,[2,45]),t(C,[2,46]),{54:[1,58]},{5:S,20:59,21:A,24:M,26:I,28:L,30:O},{5:D,30:N,46:66,47:P,49:B},{23:71,62:p,63:b},{23:72,62:p,63:b},t(F,[2,13]),{22:[1,73]},{22:[1,74]},{22:[1,75]},{22:[1,76]},{5:S,20:77,21:A,24:M,26:I,28:L,30:O},t(F,[2,19]),t(F,[2,33]),{22:[1,78]},{22:[1,79]},{5:D,30:N,46:80,47:P,49:B},t(F,[2,37]),t(F,[2,38]),t(F,[2,39]),{23:81,62:p,63:b},{25:82,62:[1,83],63:[1,84]},{27:85,37:[1,86],38:[1,87],39:[1,88]},{29:89,40:[1,90],41:[1,91],42:[1,92],43:[1,93]},t(F,[2,18]),{48:94,62:[1,95],63:[1,96]},{50:97,62:[1,98],63:[1,99]},t(F,[2,36]),{5:[1,100]},{5:[1,101]},{5:[2,51]},{5:[2,52]},{5:[1,102]},{5:[2,26]},{5:[2,27]},{5:[2,28]},{5:[1,103]},{5:[2,29]},{5:[2,30]},{5:[2,31]},{5:[2,32]},{5:[1,104]},{5:[2,55]},{5:[2,56]},{5:[1,105]},{5:[2,57]},{5:[2,58]},{5:S,20:106,21:A,24:M,26:I,28:L,30:O},{5:S,20:107,21:A,24:M,26:I,28:L,30:O},{5:S,20:108,21:A,24:M,26:I,28:L,30:O},{5:S,20:109,21:A,24:M,26:I,28:L,30:O},{5:D,30:N,46:110,47:P,49:B},{5:D,30:N,46:111,47:P,49:B},t(F,[2,14]),t(F,[2,15]),t(F,[2,16]),t(F,[2,17]),t(F,[2,34]),t(F,[2,35])],defaultActions:{8:[2,2],12:[2,1],30:[2,3],31:[2,8],32:[2,9],33:[2,10],34:[2,11],35:[2,12],37:[2,47],38:[2,48],40:[2,53],41:[2,54],83:[2,51],84:[2,52],86:[2,26],87:[2,27],88:[2,28],90:[2,29],91:[2,30],92:[2,31],93:[2,32],95:[2,55],96:[2,56],98:[2,57],99:[2,58]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},j={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return"title";case 1:return this.begin("acc_title"),9;case 2:return this.popState(),"acc_title_value";case 3:return this.begin("acc_descr"),11;case 4:return this.popState(),"acc_descr_value";case 5:this.begin("acc_descr_multiline");break;case 6:case 48:this.popState();break;case 7:return"acc_descr_multiline_value";case 8:return 5;case 9:case 10:case 11:break;case 12:return 8;case 13:return 6;case 14:return 19;case 15:return 30;case 16:return 22;case 17:return 21;case 18:return 24;case 19:return 26;case 20:return 28;case 21:return 31;case 22:return 32;case 23:return 33;case 24:return 34;case 25:return 35;case 26:return 36;case 27:return 37;case 28:return 38;case 29:return 39;case 30:return 40;case 31:return 41;case 32:return 42;case 33:return 43;case 34:return 44;case 35:return 55;case 36:return 56;case 37:return 57;case 38:return 58;case 39:return 59;case 40:return 60;case 41:return 61;case 42:return 47;case 43:return 49;case 44:return 51;case 45:return 54;case 46:return 53;case 47:this.begin("string");break;case 49:return"qString";case 50:return e.yytext=e.yytext.trim(),62}},rules:[/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:(\r?\n)+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:$)/i,/^(?:requirementDiagram\b)/i,/^(?:\{)/i,/^(?:\})/i,/^(?::)/i,/^(?:id\b)/i,/^(?:text\b)/i,/^(?:risk\b)/i,/^(?:verifyMethod\b)/i,/^(?:requirement\b)/i,/^(?:functionalRequirement\b)/i,/^(?:interfaceRequirement\b)/i,/^(?:performanceRequirement\b)/i,/^(?:physicalRequirement\b)/i,/^(?:designConstraint\b)/i,/^(?:low\b)/i,/^(?:medium\b)/i,/^(?:high\b)/i,/^(?:analysis\b)/i,/^(?:demonstration\b)/i,/^(?:inspection\b)/i,/^(?:test\b)/i,/^(?:element\b)/i,/^(?:contains\b)/i,/^(?:copies\b)/i,/^(?:derives\b)/i,/^(?:satisfies\b)/i,/^(?:verifies\b)/i,/^(?:refines\b)/i,/^(?:traces\b)/i,/^(?:type\b)/i,/^(?:docref\b)/i,/^(?:<-)/i,/^(?:->)/i,/^(?:-)/i,/^(?:["])/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[\w][^\r\n\{\<\>\-\=]*)/i],conditions:{acc_descr_multiline:{rules:[6,7],inclusive:!1},acc_descr:{rules:[4],inclusive:!1},acc_title:{rules:[2],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[48,49],inclusive:!1},INITIAL:{rules:[0,1,3,5,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,50],inclusive:!0}}};function R(){this.yy={}}return $.lexer=j,R.prototype=$,$.Parser=R,new R}());s.parser=s;const c=s;let u=[],l={},h={},f={},d={};const g={RequirementType:{REQUIREMENT:"Requirement",FUNCTIONAL_REQUIREMENT:"Functional Requirement",INTERFACE_REQUIREMENT:"Interface Requirement",PERFORMANCE_REQUIREMENT:"Performance Requirement",PHYSICAL_REQUIREMENT:"Physical Requirement",DESIGN_CONSTRAINT:"Design Constraint"},RiskLevel:{LOW_RISK:"Low",MED_RISK:"Medium",HIGH_RISK:"High"},VerifyType:{VERIFY_ANALYSIS:"Analysis",VERIFY_DEMONSTRATION:"Demonstration",VERIFY_INSPECTION:"Inspection",VERIFY_TEST:"Test"},Relationships:{CONTAINS:"contains",COPIES:"copies",DERIVES:"derives",SATISFIES:"satisfies",VERIFIES:"verifies",REFINES:"refines",TRACES:"traces"},getConfig:()=>(0,i.c)().req,addRequirement:(t,e)=>(void 0===h[t]&&(h[t]={name:t,type:e,id:l.id,text:l.text,risk:l.risk,verifyMethod:l.verifyMethod}),l={},h[t]),getRequirements:()=>h,setNewReqId:t=>{void 0!==l&&(l.id=t)},setNewReqText:t=>{void 0!==l&&(l.text=t)},setNewReqRisk:t=>{void 0!==l&&(l.risk=t)},setNewReqVerifyMethod:t=>{void 0!==l&&(l.verifyMethod=t)},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,addElement:t=>(void 0===d[t]&&(d[t]={name:t,type:f.type,docRef:f.docRef},i.l.info("Added new requirement: ",t)),f={},d[t]),getElements:()=>d,setNewElementType:t=>{void 0!==f&&(f.type=t)},setNewElementDocRef:t=>{void 0!==f&&(f.docRef=t)},addRelationship:(t,e,n)=>{u.push({type:t,src:e,dst:n})},getRelationships:()=>u,clear:()=>{u=[],l={},h={},f={},d={},(0,i.t)()}},p={CONTAINS:"contains",ARROW:"arrow"},b=p;let w={},y=0;const m=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",w.rect_min_width+"px").attr("height",w.rect_min_height+"px"),v=(t,e,n)=>{let i=w.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",i).attr("y",w.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?r.append("tspan").attr("text-anchor","middle").attr("x",w.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",w.rect_min_width/2).attr("dy",.75*w.line_height).text(t),a++}));let o=1.5*w.rect_padding+a*w.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",w.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:r,y:o}},x=(t,e,n,i)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",w.rect_padding).attr("y",i).attr("dominant-baseline","hanging"),a=0,o=[];return n.forEach((t=>{let e=t.length;for(;e>30&&a<3;){let n=t.substring(0,30);e=(t=t.substring(30,t.length)).length,o[o.length]=n,a++}if(3==a){let t=o[o.length-1];o[o.length-1]=t.substring(0,t.length-4)+"..."}else o[o.length]=t;a=0})),o.forEach((t=>{r.append("tspan").attr("x",w.rect_padding).attr("dy",w.line_height).text(t)})),r},k=t=>t.replace(/\s/g,"").replace(/\./g,"_"),_={parser:c,db:g,renderer:{draw:(t,e,n,s)=>{w=(0,i.c)().requirement;const c=w.securityLevel;let u;"sandbox"===c&&(u=(0,r.Ys)("#i"+e));const l=("sandbox"===c?(0,r.Ys)(u.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select(`[id='${e}']`);((t,e)=>{let n=t.append("defs").append("marker").attr("id",p.CONTAINS+"_line_ending").attr("refX",0).attr("refY",e.line_height/2).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("g");n.append("circle").attr("cx",e.line_height/2).attr("cy",e.line_height/2).attr("r",e.line_height/2).attr("fill","none"),n.append("line").attr("x1",0).attr("x2",e.line_height).attr("y1",e.line_height/2).attr("y2",e.line_height/2).attr("stroke-width",1),n.append("line").attr("y1",0).attr("y2",e.line_height).attr("x1",e.line_height/2).attr("x2",e.line_height/2).attr("stroke-width",1),t.append("defs").append("marker").attr("id",p.ARROW+"_line_ending").attr("refX",e.line_height).attr("refY",.5*e.line_height).attr("markerWidth",e.line_height).attr("markerHeight",e.line_height).attr("orient","auto").append("path").attr("d",`M0,0\n L${e.line_height},${e.line_height/2}\n M${e.line_height},${e.line_height/2}\n L0,${e.line_height}`).attr("stroke-width",1)})(l,w);const h=new o.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:w.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));let f=s.db.getRequirements(),d=s.db.getElements(),g=s.db.getRelationships();var _,E,T;_=f,E=h,T=l,Object.keys(_).forEach((t=>{let e=_[t];t=k(t),i.l.info("Added new requirement: ",t);const n=T.append("g").attr("id",t),r=m(n,"req-"+t);let a=v(n,t+"_title",[`<<${e.type}>>`,`${e.name}`]);x(n,t+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],a.y);const o=r.node().getBBox();E.setNode(t,{width:o.width,height:o.height,shape:"rect",id:t})})),((t,e,n)=>{Object.keys(t).forEach((i=>{let r=t[i];const a=k(i),o=n.append("g").attr("id",a),s="element-"+a,c=m(o,s);let u=v(o,s+"_title",["<<Element>>",`${i}`]);x(o,s+"_body",[`Type: ${r.type||"Not Specified"}`,`Doc Ref: ${r.docRef||"None"}`],u.y);const l=c.node().getBBox();e.setNode(a,{width:l.width,height:l.height,shape:"rect",id:a})}))})(d,h,l),((t,e)=>{t.forEach((function(t){let n=k(t.src),i=k(t.dst);e.setEdge(n,i,{relationship:t})}))})(g,h),(0,a.bK)(h),function(t,e){e.nodes().forEach((function(n){void 0!==n&&void 0!==e.node(n)&&(t.select("#"+n),t.select("#"+n).attr("transform","translate("+(e.node(n).x-e.node(n).width/2)+","+(e.node(n).y-e.node(n).height/2)+" )"))}))}(l,h),g.forEach((function(t){!function(t,e,n,a,o){const s=n.edge(k(e.src),k(e.dst)),c=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})),u=t.insert("path","#"+a).attr("class","er relationshipLine").attr("d",c(s.points)).attr("fill","none");e.type==o.db.Relationships.CONTAINS?u.attr("marker-start","url("+i.e.getUrl(w.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(u.attr("stroke-dasharray","10,7"),u.attr("marker-end","url("+i.e.getUrl(w.arrowMarkerAbsolute)+"#"+b.ARROW+"_line_ending)")),((t,e,n,i)=>{const r=e.node().getTotalLength(),a=e.node().getPointAtLength(.5*r),o="rel"+y;y++;const s=t.append("text").attr("class","req relationshipLabel").attr("id",o).attr("x",a.x).attr("y",a.y).attr("text-anchor","middle").attr("dominant-baseline","middle").text(i).node().getBBox();t.insert("rect","#"+o).attr("class","req reqLabelBox").attr("x",a.x-s.width/2).attr("y",a.y-s.height/2).attr("width",s.width).attr("height",s.height).attr("fill","white").attr("fill-opacity","85%")})(t,u,0,`<<${e.type}>>`)}(l,t,h,e,s)}));const C=w.rect_padding,S=l.node().getBBox(),A=S.width+2*C,M=S.height+2*C;(0,i.i)(l,M,A,w.useMaxWidth),l.attr("viewBox",`${S.x-C} ${S.y-C} ${A} ${M}`)}},styles:t=>`\n\n marker {\n fill: ${t.relationColor};\n stroke: ${t.relationColor};\n }\n\n marker.cross {\n stroke: ${t.lineColor};\n }\n\n svg {\n font-family: ${t.fontFamily};\n font-size: ${t.fontSize};\n }\n\n .reqBox {\n fill: ${t.requirementBackground};\n fill-opacity: 1.0;\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n \n .reqTitle, .reqLabel{\n fill: ${t.requirementTextColor};\n }\n .reqLabelBox {\n fill: ${t.relationLabelBackground};\n fill-opacity: 1.0;\n }\n\n .req-title-line {\n stroke: ${t.requirementBorderColor};\n stroke-width: ${t.requirementBorderSize};\n }\n .relationshipLine {\n stroke: ${t.relationColor};\n stroke-width: 1;\n }\n .relationshipLabel {\n fill: ${t.relationLabelColor};\n }\n\n`}},1791:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>X});var i=n(8454),r=n(7274);function a(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n>e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n>r||void 0===n&&r>=r)&&(n=r)}return n}function o(t){return t.target.depth}function s(t,e){return t.sourceLinks.length?t.depth:e-1}function c(t,e){let n=0;if(void 0===e)for(let e of t)(e=+e)&&(n+=e);else{let i=-1;for(let r of t)(r=+e(r,++i,t))&&(n+=r)}return n}function u(t,e){let n;if(void 0===e)for(const e of t)null!=e&&(n<e||void 0===n&&e>=e)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n<r||void 0===n&&r>=r)&&(n=r)}return n}function l(t){return function(){return t}}function h(t,e){return d(t.source,e.source)||t.index-e.index}function f(t,e){return d(t.target,e.target)||t.index-e.index}function d(t,e){return t.y0-e.y0}function g(t){return t.value}function p(t){return t.index}function b(t){return t.nodes}function w(t){return t.links}function y(t,e){const n=t.get(e);if(!n)throw new Error("missing: "+e);return n}function m({nodes:t}){for(const e of t){let t=e.y0,n=t;for(const n of e.sourceLinks)n.y0=t+n.width/2,t+=n.width;for(const t of e.targetLinks)t.y1=n+t.width/2,n+=t.width}}var v=Math.PI,x=2*v,k=1e-6,_=x-k;function E(){this._x0=this._y0=this._x1=this._y1=null,this._=""}function T(){return new E}E.prototype=T.prototype={constructor:E,moveTo:function(t,e){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)},closePath:function(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._+="Z")},lineTo:function(t,e){this._+="L"+(this._x1=+t)+","+(this._y1=+e)},quadraticCurveTo:function(t,e,n,i){this._+="Q"+ +t+","+ +e+","+(this._x1=+n)+","+(this._y1=+i)},bezierCurveTo:function(t,e,n,i,r,a){this._+="C"+ +t+","+ +e+","+ +n+","+ +i+","+(this._x1=+r)+","+(this._y1=+a)},arcTo:function(t,e,n,i,r){t=+t,e=+e,n=+n,i=+i,r=+r;var a=this._x1,o=this._y1,s=n-t,c=i-e,u=a-t,l=o-e,h=u*u+l*l;if(r<0)throw new Error("negative radius: "+r);if(null===this._x1)this._+="M"+(this._x1=t)+","+(this._y1=e);else if(h>k)if(Math.abs(l*s-c*u)>k&&r){var f=n-a,d=i-o,g=s*s+c*c,p=f*f+d*d,b=Math.sqrt(g),w=Math.sqrt(h),y=r*Math.tan((v-Math.acos((g+h-p)/(2*b*w)))/2),m=y/w,x=y/b;Math.abs(m-1)>k&&(this._+="L"+(t+m*u)+","+(e+m*l)),this._+="A"+r+","+r+",0,0,"+ +(l*f>u*d)+","+(this._x1=t+x*s)+","+(this._y1=e+x*c)}else this._+="L"+(this._x1=t)+","+(this._y1=e)},arc:function(t,e,n,i,r,a){t=+t,e=+e,a=!!a;var o=(n=+n)*Math.cos(i),s=n*Math.sin(i),c=t+o,u=e+s,l=1^a,h=a?i-r:r-i;if(n<0)throw new Error("negative radius: "+n);null===this._x1?this._+="M"+c+","+u:(Math.abs(this._x1-c)>k||Math.abs(this._y1-u)>k)&&(this._+="L"+c+","+u),n&&(h<0&&(h=h%x+x),h>_?this._+="A"+n+","+n+",0,1,"+l+","+(t-o)+","+(e-s)+"A"+n+","+n+",0,1,"+l+","+(this._x1=c)+","+(this._y1=u):h>k&&(this._+="A"+n+","+n+",0,"+ +(h>=v)+","+l+","+(this._x1=t+n*Math.cos(r))+","+(this._y1=e+n*Math.sin(r))))},rect:function(t,e,n,i){this._+="M"+(this._x0=this._x1=+t)+","+(this._y0=this._y1=+e)+"h"+ +n+"v"+ +i+"h"+-n+"Z"},toString:function(){return this._}};const C=T;var S=Array.prototype.slice;function A(t){return function(){return t}}function M(t){return t[0]}function I(t){return t[1]}function L(t){return t.source}function O(t){return t.target}function D(t,e,n,i,r){t.moveTo(e,n),t.bezierCurveTo(e=(e+i)/2,n,e,r,i,r)}function N(t){return[t.source.x1,t.y0]}function P(t){return[t.target.x0,t.y1]}function B(){return function(t){var e=L,n=O,i=M,r=I,a=null;function o(){var o,s=S.call(arguments),c=e.apply(this,s),u=n.apply(this,s);if(a||(a=o=C()),t(a,+i.apply(this,(s[0]=c,s)),+r.apply(this,s),+i.apply(this,(s[0]=u,s)),+r.apply(this,s)),o)return a=null,o+""||null}return o.source=function(t){return arguments.length?(e=t,o):e},o.target=function(t){return arguments.length?(n=t,o):n},o.x=function(t){return arguments.length?(i="function"==typeof t?t:A(+t),o):i},o.y=function(t){return arguments.length?(r="function"==typeof t?t:A(+t),o):r},o.context=function(t){return arguments.length?(a=null==t?null:t,o):a},o}(D).source(N).target(P)}n(7484),n(7967),n(7856);var F=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,9],n=[1,10],i=[1,5,10,12],r={trace:function(){},yy:{},symbols_:{error:2,start:3,SANKEY:4,NEWLINE:5,csv:6,opt_eof:7,record:8,csv_tail:9,EOF:10,"field[source]":11,COMMA:12,"field[target]":13,"field[value]":14,field:15,escaped:16,non_escaped:17,DQUOTE:18,ESCAPED_TEXT:19,NON_ESCAPED_TEXT:20,$accept:0,$end:1},terminals_:{2:"error",4:"SANKEY",5:"NEWLINE",10:"EOF",11:"field[source]",12:"COMMA",13:"field[target]",14:"field[value]",18:"DQUOTE",19:"ESCAPED_TEXT",20:"NON_ESCAPED_TEXT"},productions_:[0,[3,4],[6,2],[9,2],[9,0],[7,1],[7,0],[8,5],[15,1],[15,1],[16,3],[17,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 7:const t=i.findOrCreateNode(a[s-4].trim().replaceAll('""','"')),e=i.findOrCreateNode(a[s-2].trim().replaceAll('""','"')),n=parseFloat(a[s].trim());i.addLink(t,e,n);break;case 8:case 9:case 11:this.$=a[s];break;case 10:this.$=a[s-1]}},table:[{3:1,4:[1,2]},{1:[3]},{5:[1,3]},{6:4,8:5,15:6,16:7,17:8,18:e,20:n},{1:[2,6],7:11,10:[1,12]},t(n,[2,4],{9:13,5:[1,14]}),{12:[1,15]},t(i,[2,8]),t(i,[2,9]),{19:[1,16]},t(i,[2,11]),{1:[2,1]},{1:[2,5]},t(n,[2,2]),{6:17,8:5,15:6,16:7,17:8,18:e,20:n},{15:18,16:7,17:8,18:e,20:n},{18:[1,19]},t(n,[2,3]),{12:[1,20]},t(i,[2,10]),{15:21,16:7,17:8,18:e,20:n},t([1,5,10],[2,7])],defaultActions:{11:[2,1],12:[2,5]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},a={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{easy_keword_rules:!0},performAction:function(t,e,n,i){switch(n){case 0:return this.pushState("csv"),4;case 1:return 10;case 2:return 5;case 3:return 12;case 4:return this.pushState("escaped_text"),18;case 5:return 20;case 6:return this.popState("escaped_text"),18;case 7:return 19}},rules:[/^(?:sankey-beta\b)/,/^(?:$)/,/^(?:((\u000D\u000A)|(\u000A)))/,/^(?:(\u002C))/,/^(?:(\u0022))/,/^(?:([\u0020-\u0021\u0023-\u002B\u002D-\u007E])*)/,/^(?:(\u0022)(?!(\u0022)))/,/^(?:(([\u0020-\u0021\u0023-\u002B\u002D-\u007E])|(\u002C)|(\u000D)|(\u000A)|(\u0022)(\u0022))*)/],conditions:{csv:{rules:[1,2,3,4,5,6,7],inclusive:!1},escaped_text:{rules:[6,7],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7],inclusive:!0}}};function o(){this.yy={}}return r.lexer=a,o.prototype=r,r.Parser=o,new o}();F.parser=F;const $=F;let j=[],R=[],z={};class q{constructor(t,e,n=0){this.source=t,this.target=e,this.value=n}}class H{constructor(t){this.ID=t}}const Z={nodesMap:z,getConfig:()=>(0,i.c)().sankey,getNodes:()=>R,getLinks:()=>j,getGraph:()=>({nodes:R.map((t=>({id:t.ID}))),links:j.map((t=>({source:t.source.ID,target:t.target.ID,value:t.value})))}),addLink:(t,e,n)=>{j.push(new q(t,e,n))},findOrCreateNode:t=>(t=i.e.sanitizeText(t,(0,i.c)()),z[t]||(z[t]=new H(t),R.push(z[t])),z[t]),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,getDiagramTitle:i.r,setDiagramTitle:i.q,clear:()=>{j=[],R=[],z={},(0,i.t)()}},U=class{static next(t){return new U(t+ ++U.count)}constructor(t){this.id=t,this.href=`#${t}`}toString(){return"url("+this.href+")"}};let Y=U;Y.count=0;const G={left:function(t){return t.depth},right:function(t,e){return e-1-t.height},center:function(t){return t.targetLinks.length?t.depth:t.sourceLinks.length?a(t.sourceLinks,o)-1:0},justify:s},K={draw:function(t,e,n,o){const{securityLevel:v,sankey:x}=(0,i.c)(),k=i.I.sankey;let _;"sandbox"===v&&(_=(0,r.Ys)("#i"+e));const E="sandbox"===v?(0,r.Ys)(_.nodes()[0].contentDocument.body):(0,r.Ys)("body"),T="sandbox"===v?E.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),C=(null==x?void 0:x.width)??k.width,S=(null==x?void 0:x.height)??k.width,A=(null==x?void 0:x.useMaxWidth)??k.useMaxWidth,M=(null==x?void 0:x.nodeAlignment)??k.nodeAlignment,I=(null==x?void 0:x.prefix)??k.prefix,L=(null==x?void 0:x.suffix)??k.suffix,O=(null==x?void 0:x.showValues)??k.showValues;(0,i.i)(T,S,C,A);const D=o.db.getGraph(),N=G[M];(function(){let t,e,n,i=0,r=0,o=1,v=1,x=24,k=8,_=p,E=s,T=b,C=w,S=6;function A(){const s={nodes:T.apply(null,arguments),links:C.apply(null,arguments)};return function({nodes:t,links:e}){for(const[e,n]of t.entries())n.index=e,n.sourceLinks=[],n.targetLinks=[];const i=new Map(t.map(((e,n)=>[_(e,n,t),e])));for(const[t,n]of e.entries()){n.index=t;let{source:e,target:r}=n;"object"!=typeof e&&(e=n.source=y(i,e)),"object"!=typeof r&&(r=n.target=y(i,r)),e.sourceLinks.push(n),r.targetLinks.push(n)}if(null!=n)for(const{sourceLinks:e,targetLinks:i}of t)e.sort(n),i.sort(n)}(s),function({nodes:t}){for(const e of t)e.value=void 0===e.fixedValue?Math.max(c(e.sourceLinks,g),c(e.targetLinks,g)):e.fixedValue}(s),function({nodes:t}){const e=t.length;let n=new Set(t),i=new Set,r=0;for(;n.size;){for(const t of n){t.depth=r;for(const{target:e}of t.sourceLinks)i.add(e)}if(++r>e)throw new Error("circular link");n=i,i=new Set}}(s),function({nodes:t}){const e=t.length;let n=new Set(t),i=new Set,r=0;for(;n.size;){for(const t of n){t.height=r;for(const{source:e}of t.targetLinks)i.add(e)}if(++r>e)throw new Error("circular link");n=i,i=new Set}}(s),function(n){const s=function({nodes:t}){const n=u(t,(t=>t.depth))+1,r=(o-i-x)/(n-1),a=new Array(n);for(const e of t){const t=Math.max(0,Math.min(n-1,Math.floor(E.call(null,e,n))));e.layer=t,e.x0=i+t*r,e.x1=e.x0+x,a[t]?a[t].push(e):a[t]=[e]}if(e)for(const t of a)t.sort(e);return a}(n);t=Math.min(k,(v-r)/(u(s,(t=>t.length))-1)),function(e){const n=a(e,(e=>(v-r-(e.length-1)*t)/c(e,g)));for(const i of e){let e=r;for(const r of i){r.y0=e,r.y1=e+r.value*n,e=r.y1+t;for(const t of r.sourceLinks)t.width=t.value*n}e=(v-e+t)/(i.length+1);for(let t=0;t<i.length;++t){const n=i[t];n.y0+=e*(t+1),n.y1+=e*(t+1)}P(i)}}(s);for(let t=0;t<S;++t){const e=Math.pow(.99,t),n=Math.max(1-e,(t+1)/S);I(s,e,n),M(s,e,n)}}(s),m(s),s}function M(t,n,i){for(let r=1,a=t.length;r<a;++r){const a=t[r];for(const t of a){let e=0,i=0;for(const{source:n,value:r}of t.targetLinks){let a=r*(t.layer-n.layer);e+=B(n,t)*a,i+=a}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,N(t)}void 0===e&&a.sort(d),L(a,i)}}function I(t,n,i){for(let r=t.length-2;r>=0;--r){const a=t[r];for(const t of a){let e=0,i=0;for(const{target:n,value:r}of t.sourceLinks){let a=r*(n.layer-t.layer);e+=F(t,n)*a,i+=a}if(!(i>0))continue;let r=(e/i-t.y0)*n;t.y0+=r,t.y1+=r,N(t)}void 0===e&&a.sort(d),L(a,i)}}function L(e,n){const i=e.length>>1,a=e[i];D(e,a.y0-t,i-1,n),O(e,a.y1+t,i+1,n),D(e,v,e.length-1,n),O(e,r,0,n)}function O(e,n,i,r){for(;i<e.length;++i){const a=e[i],o=(n-a.y0)*r;o>1e-6&&(a.y0+=o,a.y1+=o),n=a.y1+t}}function D(e,n,i,r){for(;i>=0;--i){const a=e[i],o=(a.y1-n)*r;o>1e-6&&(a.y0-=o,a.y1-=o),n=a.y0-t}}function N({sourceLinks:t,targetLinks:e}){if(void 0===n){for(const{source:{sourceLinks:t}}of e)t.sort(f);for(const{target:{targetLinks:e}}of t)e.sort(h)}}function P(t){if(void 0===n)for(const{sourceLinks:e,targetLinks:n}of t)e.sort(f),n.sort(h)}function B(e,n){let i=e.y0-(e.sourceLinks.length-1)*t/2;for(const{target:r,width:a}of e.sourceLinks){if(r===n)break;i+=a+t}for(const{source:t,width:r}of n.targetLinks){if(t===e)break;i-=r}return i}function F(e,n){let i=n.y0-(n.targetLinks.length-1)*t/2;for(const{source:r,width:a}of n.targetLinks){if(r===e)break;i+=a+t}for(const{target:t,width:r}of e.sourceLinks){if(t===n)break;i-=r}return i}return A.update=function(t){return m(t),t},A.nodeId=function(t){return arguments.length?(_="function"==typeof t?t:l(t),A):_},A.nodeAlign=function(t){return arguments.length?(E="function"==typeof t?t:l(t),A):E},A.nodeSort=function(t){return arguments.length?(e=t,A):e},A.nodeWidth=function(t){return arguments.length?(x=+t,A):x},A.nodePadding=function(e){return arguments.length?(k=t=+e,A):k},A.nodes=function(t){return arguments.length?(T="function"==typeof t?t:l(t),A):T},A.links=function(t){return arguments.length?(C="function"==typeof t?t:l(t),A):C},A.linkSort=function(t){return arguments.length?(n=t,A):n},A.size=function(t){return arguments.length?(i=r=0,o=+t[0],v=+t[1],A):[o-i,v-r]},A.extent=function(t){return arguments.length?(i=+t[0][0],o=+t[1][0],r=+t[0][1],v=+t[1][1],A):[[i,r],[o,v]]},A.iterations=function(t){return arguments.length?(S=+t,A):S},A})().nodeId((t=>t.id)).nodeWidth(10).nodePadding(10+(O?15:0)).nodeAlign(N).extent([[0,0],[C,S]])(D);const P=(0,r.PKp)(r.K2I);T.append("g").attr("class","nodes").selectAll(".node").data(D.nodes).join("g").attr("class","node").attr("id",(t=>(t.uid=Y.next("node-")).id)).attr("transform",(function(t){return"translate("+t.x0+","+t.y0+")"})).attr("x",(t=>t.x0)).attr("y",(t=>t.y0)).append("rect").attr("height",(t=>t.y1-t.y0)).attr("width",(t=>t.x1-t.x0)).attr("fill",(t=>P(t.id))),T.append("g").attr("class","node-labels").attr("font-family","sans-serif").attr("font-size",14).selectAll("text").data(D.nodes).join("text").attr("x",(t=>t.x0<C/2?t.x1+6:t.x0-6)).attr("y",(t=>(t.y1+t.y0)/2)).attr("dy",(O?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0<C/2?"start":"end")).text((({id:t,value:e})=>O?`${t}\n${I}${Math.round(100*e)/100}${L}`:t));const F=T.append("g").attr("class","links").attr("fill","none").attr("stroke-opacity",.5).selectAll(".link").data(D.links).join("g").attr("class","link").style("mix-blend-mode","multiply"),$=(null==x?void 0:x.linkColor)||"gradient";if("gradient"===$){const t=F.append("linearGradient").attr("id",(t=>(t.uid=Y.next("linearGradient-")).id)).attr("gradientUnits","userSpaceOnUse").attr("x1",(t=>t.source.x1)).attr("x2",(t=>t.target.x0));t.append("stop").attr("offset","0%").attr("stop-color",(t=>P(t.source.id))),t.append("stop").attr("offset","100%").attr("stop-color",(t=>P(t.target.id)))}let j;switch($){case"gradient":j=t=>t.uid;break;case"source":j=t=>P(t.source.id);break;case"target":j=t=>P(t.target.id);break;default:j=$}F.append("path").attr("d",B()).attr("stroke",j).attr("stroke-width",(t=>Math.max(1,t.width)))}},W=$.parse.bind($);$.parse=t=>W((t=>t.replaceAll(/^[^\S\n\r]+|[^\S\n\r]+$/g,"").replaceAll(/([\n\r])+/g,"\n").trim())(t));const X={parser:$,db:Z,renderer:K}},9770:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>wt});var i=n(8454),r=n(7274),a=n(3463),o=n(7967),s=(n(7484),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,4],r=[2,4],a=[1,9],o=[1,11],s=[1,13],c=[1,14],u=[1,16],l=[1,17],h=[1,18],f=[1,24],d=[1,25],g=[1,26],p=[1,27],b=[1,28],w=[1,29],y=[1,30],m=[1,31],v=[1,32],x=[1,33],k=[1,34],_=[1,35],E=[1,36],T=[1,37],C=[1,38],S=[1,39],A=[1,41],M=[1,42],I=[1,43],L=[1,44],O=[1,45],D=[1,46],N=[1,4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,48,49,50,52,53,54,59,60,61,62,70],P=[4,5,16,50,52,53],B=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],F=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,49,50,52,53,54,59,60,61,62,70],$=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,48,50,52,53,54,59,60,61,62,70],j=[4,5,13,14,16,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,47,50,52,53,54,59,60,61,62,70],R=[68,69,70],z=[1,120],q={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,SD:6,document:7,line:8,statement:9,box_section:10,box_line:11,participant_statement:12,create:13,box:14,restOfLine:15,end:16,signal:17,autonumber:18,NUM:19,off:20,activate:21,actor:22,deactivate:23,note_statement:24,links_statement:25,link_statement:26,properties_statement:27,details_statement:28,title:29,legacy_title:30,acc_title:31,acc_title_value:32,acc_descr:33,acc_descr_value:34,acc_descr_multiline_value:35,loop:36,rect:37,opt:38,alt:39,else_sections:40,par:41,par_sections:42,par_over:43,critical:44,option_sections:45,break:46,option:47,and:48,else:49,participant:50,AS:51,participant_actor:52,destroy:53,note:54,placement:55,text2:56,over:57,actor_pair:58,links:59,link:60,properties:61,details:62,spaceList:63,",":64,left_of:65,right_of:66,signaltype:67,"+":68,"-":69,ACTOR:70,SOLID_OPEN_ARROW:71,DOTTED_OPEN_ARROW:72,SOLID_ARROW:73,DOTTED_ARROW:74,SOLID_CROSS:75,DOTTED_CROSS:76,SOLID_POINT:77,DOTTED_POINT:78,TXT:79,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",6:"SD",13:"create",14:"box",15:"restOfLine",16:"end",18:"autonumber",19:"NUM",20:"off",21:"activate",23:"deactivate",29:"title",30:"legacy_title",31:"acc_title",32:"acc_title_value",33:"acc_descr",34:"acc_descr_value",35:"acc_descr_multiline_value",36:"loop",37:"rect",38:"opt",39:"alt",41:"par",43:"par_over",44:"critical",46:"break",47:"option",48:"and",49:"else",50:"participant",51:"AS",52:"participant_actor",53:"destroy",54:"note",57:"over",59:"links",60:"link",61:"properties",62:"details",64:",",65:"left_of",66:"right_of",68:"+",69:"-",70:"ACTOR",71:"SOLID_OPEN_ARROW",72:"DOTTED_OPEN_ARROW",73:"SOLID_ARROW",74:"DOTTED_ARROW",75:"SOLID_CROSS",76:"DOTTED_CROSS",77:"SOLID_POINT",78:"DOTTED_POINT",79:"TXT"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[10,0],[10,2],[11,2],[11,1],[11,1],[9,1],[9,2],[9,4],[9,2],[9,4],[9,3],[9,3],[9,2],[9,3],[9,3],[9,2],[9,2],[9,2],[9,2],[9,2],[9,1],[9,1],[9,2],[9,2],[9,1],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[9,4],[45,1],[45,4],[42,1],[42,4],[40,1],[40,4],[12,5],[12,3],[12,5],[12,3],[12,3],[24,4],[24,4],[25,3],[26,3],[27,3],[28,3],[63,2],[63,1],[58,3],[58,1],[55,1],[55,1],[17,5],[17,5],[17,4],[22,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[67,1],[56,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:return i.apply(a[s]),a[s];case 4:case 9:case 8:case 13:this.$=[];break;case 5:case 10:a[s-1].push(a[s]),this.$=a[s-1];break;case 6:case 7:case 11:case 12:case 62:this.$=a[s];break;case 15:a[s].type="createParticipant",this.$=a[s];break;case 16:a[s-1].unshift({type:"boxStart",boxData:i.parseBoxData(a[s-2])}),a[s-1].push({type:"boxEnd",boxText:a[s-2]}),this.$=a[s-1];break;case 18:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 19:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 20:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 23:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 29:i.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 30:i.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 31:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 32:case 33:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 34:a[s-1].unshift({type:"loopStart",loopText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.LOOP_START}),a[s-1].push({type:"loopEnd",loopText:a[s-2],signalType:i.LINETYPE.LOOP_END}),this.$=a[s-1];break;case 35:a[s-1].unshift({type:"rectStart",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_START}),a[s-1].push({type:"rectEnd",color:i.parseMessage(a[s-2]),signalType:i.LINETYPE.RECT_END}),this.$=a[s-1];break;case 36:a[s-1].unshift({type:"optStart",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_START}),a[s-1].push({type:"optEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.OPT_END}),this.$=a[s-1];break;case 37:a[s-1].unshift({type:"altStart",altText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.ALT_START}),a[s-1].push({type:"altEnd",signalType:i.LINETYPE.ALT_END}),this.$=a[s-1];break;case 38:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 39:a[s-1].unshift({type:"parStart",parText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.PAR_OVER_START}),a[s-1].push({type:"parEnd",signalType:i.LINETYPE.PAR_END}),this.$=a[s-1];break;case 40:a[s-1].unshift({type:"criticalStart",criticalText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.CRITICAL_START}),a[s-1].push({type:"criticalEnd",signalType:i.LINETYPE.CRITICAL_END}),this.$=a[s-1];break;case 41:a[s-1].unshift({type:"breakStart",breakText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_START}),a[s-1].push({type:"breakEnd",optText:i.parseMessage(a[s-2]),signalType:i.LINETYPE.BREAK_END}),this.$=a[s-1];break;case 43:this.$=a[s-3].concat([{type:"option",optionText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 45:this.$=a[s-3].concat([{type:"and",parText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.PAR_AND},a[s]]);break;case 47:this.$=a[s-3].concat([{type:"else",altText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.ALT_ELSE},a[s]]);break;case 48:a[s-3].draw="participant",a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 49:a[s-1].draw="participant",a[s-1].type="addParticipant",this.$=a[s-1];break;case 50:a[s-3].draw="actor",a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 51:a[s-1].draw="actor",a[s-1].type="addParticipant",this.$=a[s-1];break;case 52:a[s-1].type="destroyParticipant",this.$=a[s-1];break;case 53:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 54:a[s-2]=[].concat(a[s-1],a[s-1]).slice(0,2),a[s-2][0]=a[s-2][0].actor,a[s-2][1]=a[s-2][1].actor,this.$=[a[s-1],{type:"addNote",placement:i.PLACEMENT.OVER,actor:a[s-2].slice(0,2),text:a[s]}];break;case 55:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 56:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 57:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 61:this.$=[a[s-2],a[s]];break;case 63:this.$=i.PLACEMENT.LEFTOF;break;case 64:this.$=i.PLACEMENT.RIGHTOF;break;case 65:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s],activate:!0},{type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 66:this.$=[a[s-4],a[s-1],{type:"addMessage",from:a[s-4].actor,to:a[s-1].actor,signalType:a[s-3],msg:a[s]},{type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-4]}];break;case 67:this.$=[a[s-3],a[s-1],{type:"addMessage",from:a[s-3].actor,to:a[s-1].actor,signalType:a[s-2],msg:a[s]}];break;case 68:this.$={type:"addParticipant",actor:a[s]};break;case 69:this.$=i.LINETYPE.SOLID_OPEN;break;case 70:this.$=i.LINETYPE.DOTTED_OPEN;break;case 71:this.$=i.LINETYPE.SOLID;break;case 72:this.$=i.LINETYPE.DOTTED;break;case 73:this.$=i.LINETYPE.SOLID_CROSS;break;case 74:this.$=i.LINETYPE.DOTTED_CROSS;break;case 75:this.$=i.LINETYPE.SOLID_POINT;break;case 76:this.$=i.LINETYPE.DOTTED_POINT;break;case 77:this.$=i.parseMessage(a[s].trim().substring(1))}},table:[{3:1,4:e,5:n,6:i},{1:[3]},{3:5,4:e,5:n,6:i},{3:6,4:e,5:n,6:i},t([1,4,5,13,14,18,21,23,29,30,31,33,35,36,37,38,39,41,43,44,46,50,52,53,54,59,60,61,62,70],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,12:12,13:s,14:c,17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},t(N,[2,5]),{9:47,12:12,13:s,14:c,17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},t(N,[2,7]),t(N,[2,8]),t(N,[2,14]),{12:48,50:T,52:C,53:S},{15:[1,49]},{5:[1,50]},{5:[1,53],19:[1,51],20:[1,52]},{22:54,70:D},{22:55,70:D},{5:[1,56]},{5:[1,57]},{5:[1,58]},{5:[1,59]},{5:[1,60]},t(N,[2,29]),t(N,[2,30]),{32:[1,61]},{34:[1,62]},t(N,[2,33]),{15:[1,63]},{15:[1,64]},{15:[1,65]},{15:[1,66]},{15:[1,67]},{15:[1,68]},{15:[1,69]},{15:[1,70]},{22:71,70:D},{22:72,70:D},{22:73,70:D},{67:74,71:[1,75],72:[1,76],73:[1,77],74:[1,78],75:[1,79],76:[1,80],77:[1,81],78:[1,82]},{55:83,57:[1,84],65:[1,85],66:[1,86]},{22:87,70:D},{22:88,70:D},{22:89,70:D},{22:90,70:D},t([5,51,64,71,72,73,74,75,76,77,78,79],[2,68]),t(N,[2,6]),t(N,[2,15]),t(P,[2,9],{10:91}),t(N,[2,17]),{5:[1,93],19:[1,92]},{5:[1,94]},t(N,[2,21]),{5:[1,95]},{5:[1,96]},t(N,[2,24]),t(N,[2,25]),t(N,[2,26]),t(N,[2,27]),t(N,[2,28]),t(N,[2,31]),t(N,[2,32]),t(B,r,{7:97}),t(B,r,{7:98}),t(B,r,{7:99}),t(F,r,{40:100,7:101}),t($,r,{42:102,7:103}),t($,r,{7:103,42:104}),t(j,r,{45:105,7:106}),t(B,r,{7:107}),{5:[1,109],51:[1,108]},{5:[1,111],51:[1,110]},{5:[1,112]},{22:115,68:[1,113],69:[1,114],70:D},t(R,[2,69]),t(R,[2,70]),t(R,[2,71]),t(R,[2,72]),t(R,[2,73]),t(R,[2,74]),t(R,[2,75]),t(R,[2,76]),{22:116,70:D},{22:118,58:117,70:D},{70:[2,63]},{70:[2,64]},{56:119,79:z},{56:121,79:z},{56:122,79:z},{56:123,79:z},{4:[1,126],5:[1,128],11:125,12:127,16:[1,124],50:T,52:C,53:S},{5:[1,129]},t(N,[2,19]),t(N,[2,20]),t(N,[2,22]),t(N,[2,23]),{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[1,130],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[1,131],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[1,132],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{16:[1,133]},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[2,46],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,49:[1,134],50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{16:[1,135]},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[2,44],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,48:[1,136],50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{16:[1,137]},{16:[1,138]},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[2,42],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,47:[1,139],50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{4:a,5:o,8:8,9:10,12:12,13:s,14:c,16:[1,140],17:15,18:u,21:l,22:40,23:h,24:19,25:20,26:21,27:22,28:23,29:f,30:d,31:g,33:p,35:b,36:w,37:y,38:m,39:v,41:x,43:k,44:_,46:E,50:T,52:C,53:S,54:A,59:M,60:I,61:L,62:O,70:D},{15:[1,141]},t(N,[2,49]),{15:[1,142]},t(N,[2,51]),t(N,[2,52]),{22:143,70:D},{22:144,70:D},{56:145,79:z},{56:146,79:z},{56:147,79:z},{64:[1,148],79:[2,62]},{5:[2,55]},{5:[2,77]},{5:[2,56]},{5:[2,57]},{5:[2,58]},t(N,[2,16]),t(P,[2,10]),{12:149,50:T,52:C,53:S},t(P,[2,12]),t(P,[2,13]),t(N,[2,18]),t(N,[2,34]),t(N,[2,35]),t(N,[2,36]),t(N,[2,37]),{15:[1,150]},t(N,[2,38]),{15:[1,151]},t(N,[2,39]),t(N,[2,40]),{15:[1,152]},t(N,[2,41]),{5:[1,153]},{5:[1,154]},{56:155,79:z},{56:156,79:z},{5:[2,67]},{5:[2,53]},{5:[2,54]},{22:157,70:D},t(P,[2,11]),t(F,r,{7:101,40:158}),t($,r,{7:103,42:159}),t(j,r,{7:106,45:160}),t(N,[2,48]),t(N,[2,50]),{5:[2,65]},{5:[2,66]},{79:[2,61]},{16:[2,47]},{16:[2,45]},{16:[2,43]}],defaultActions:{5:[2,1],6:[2,2],85:[2,63],86:[2,64],119:[2,55],120:[2,77],121:[2,56],122:[2,57],123:[2,58],145:[2,67],146:[2,53],147:[2,54],155:[2,65],156:[2,66],157:[2,61],158:[2,47],159:[2,45],160:[2,43]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},H={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 51:case 64:return 5;case 1:case 2:case 3:case 4:case 5:break;case 6:return 19;case 7:return this.begin("LINE"),14;case 8:return this.begin("ID"),50;case 9:return this.begin("ID"),52;case 10:return 13;case 11:return this.begin("ID"),53;case 12:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),70;case 13:return this.popState(),this.popState(),this.begin("LINE"),51;case 14:return this.popState(),this.popState(),5;case 15:return this.begin("LINE"),36;case 16:return this.begin("LINE"),37;case 17:return this.begin("LINE"),38;case 18:return this.begin("LINE"),39;case 19:return this.begin("LINE"),49;case 20:return this.begin("LINE"),41;case 21:return this.begin("LINE"),43;case 22:return this.begin("LINE"),48;case 23:return this.begin("LINE"),44;case 24:return this.begin("LINE"),47;case 25:return this.begin("LINE"),46;case 26:return this.popState(),15;case 27:return 16;case 28:return 65;case 29:return 66;case 30:return 59;case 31:return 60;case 32:return 61;case 33:return 62;case 34:return 57;case 35:return 54;case 36:return this.begin("ID"),21;case 37:return this.begin("ID"),23;case 38:return 29;case 39:return 30;case 40:return this.begin("acc_title"),31;case 41:return this.popState(),"acc_title_value";case 42:return this.begin("acc_descr"),33;case 43:return this.popState(),"acc_descr_value";case 44:this.begin("acc_descr_multiline");break;case 45:this.popState();break;case 46:return"acc_descr_multiline_value";case 47:return 6;case 48:return 18;case 49:return 20;case 50:return 64;case 52:return e.yytext=e.yytext.trim(),70;case 53:return 73;case 54:return 74;case 55:return 71;case 56:return 72;case 57:return 75;case 58:return 76;case 59:return 77;case 60:return 78;case 61:return 79;case 62:return 68;case 63:return 69;case 65:return"INVALID"}},rules:[/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[0-9]+(?=[ \n]+))/i,/^(?:box\b)/i,/^(?:participant\b)/i,/^(?:actor\b)/i,/^(?:create\b)/i,/^(?:destroy\b)/i,/^(?:[^\->:\n,;]+?([\-]*[^\->:\n,;]+?)*?(?=((?!\n)\s)+as(?!\n)\s|[#\n;]|$))/i,/^(?:as\b)/i,/^(?:(?:))/i,/^(?:loop\b)/i,/^(?:rect\b)/i,/^(?:opt\b)/i,/^(?:alt\b)/i,/^(?:else\b)/i,/^(?:par\b)/i,/^(?:par_over\b)/i,/^(?:and\b)/i,/^(?:critical\b)/i,/^(?:option\b)/i,/^(?:break\b)/i,/^(?:(?:[:]?(?:no)?wrap)?[^#\n;]*)/i,/^(?:end\b)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:links\b)/i,/^(?:link\b)/i,/^(?:properties\b)/i,/^(?:details\b)/i,/^(?:over\b)/i,/^(?:note\b)/i,/^(?:activate\b)/i,/^(?:deactivate\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:title:\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:sequenceDiagram\b)/i,/^(?:autonumber\b)/i,/^(?:off\b)/i,/^(?:,)/i,/^(?:;)/i,/^(?:[^\+\->:\n,;]+((?!(-x|--x|-\)|--\)))[\-]*[^\+\->:\n,;]+)*)/i,/^(?:->>)/i,/^(?:-->>)/i,/^(?:->)/i,/^(?:-->)/i,/^(?:-[x])/i,/^(?:--[x])/i,/^(?:-[\)])/i,/^(?:--[\)])/i,/^(?::(?:(?:no)?wrap)?[^#\n;]+)/i,/^(?:\+)/i,/^(?:-)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[45,46],inclusive:!1},acc_descr:{rules:[43],inclusive:!1},acc_title:{rules:[41],inclusive:!1},ID:{rules:[2,3,12],inclusive:!1},ALIAS:{rules:[2,3,13,14],inclusive:!1},LINE:{rules:[2,3,26],inclusive:!1},INITIAL:{rules:[0,1,3,4,5,6,7,8,9,10,11,15,16,17,18,19,20,21,22,23,24,25,27,28,29,30,31,32,33,34,35,36,37,38,39,40,42,44,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65],inclusive:!0}}};function Z(){this.yy={}}return q.lexer=H,Z.prototype=q,q.Parser=Z,new Z}());s.parser=s;const c=s;let u,l,h,f,d,g={},p={},b={},w=[],y=[],m=!1;const v=function(t,e,n,i){let r=h;const a=g[t];if(a){if(h&&a.box&&h!==a.box)throw new Error("A same participant should only be defined in one Box: "+a.name+" can't be in '"+a.box.name+"' and in '"+h.name+"' at the same time.");if(r=a.box?a.box:h,a.box=r,a&&e===a.name&&null==n)return}null!=n&&null!=n.text||(n={text:e,wrap:null,type:i}),null!=i&&null!=n.text||(n={text:e,wrap:null,type:i}),g[t]={box:r,name:e,description:n.text,wrap:void 0===n.wrap&&_()||!!n.wrap,prevActor:u,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},u&&g[u]&&(g[u].nextActor=t),h&&h.actorKeys.push(t),u=t},x=function(t,e,n={text:void 0,wrap:void 0},i,r=!1){if(i===E.ACTIVE_END&&(t=>{let e,n=0;for(e=0;e<y.length;e++)y[e].type===E.ACTIVE_START&&y[e].from.actor===t&&n++,y[e].type===E.ACTIVE_END&&y[e].from.actor===t&&n--;return n})(t.actor)<1){let e=new Error("Trying to inactivate an inactive participant ("+t.actor+")");throw e.hash={text:"->>-",token:"->>-",line:"1",loc:{first_line:1,last_line:1,first_column:1,last_column:1},expected:["'ACTIVE_PARTICIPANT'"]},e}return y.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&_()||!!n.wrap,type:i,activate:r}),!0},k=function(t){return g[t]},_=()=>void 0!==l?l:(0,i.c)().sequence.wrap,E={SOLID:0,DOTTED:1,NOTE:2,SOLID_CROSS:3,DOTTED_CROSS:4,SOLID_OPEN:5,DOTTED_OPEN:6,LOOP_START:10,LOOP_END:11,ALT_START:12,ALT_ELSE:13,ALT_END:14,OPT_START:15,OPT_END:16,ACTIVE_START:17,ACTIVE_END:18,PAR_START:19,PAR_AND:20,PAR_END:21,RECT_START:22,RECT_END:23,SOLID_POINT:24,DOTTED_POINT:25,AUTONUMBER:26,CRITICAL_START:27,CRITICAL_OPTION:28,CRITICAL_END:29,BREAK_START:30,BREAK_END:31,PAR_OVER_START:32},T=function(t,e,n){n.text,void 0===n.wrap&&_()||n.wrap;const i=[].concat(t,t);y.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&_()||!!n.wrap,type:E.NOTE,placement:e})},C=function(t,e){const n=k(t);try{let t=(0,i.d)(e.text,(0,i.c)());t=t.replace(/&amp;/g,"&"),t=t.replace(/&equals;/g,"="),S(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor link text",t)}};function S(t,e){if(null==t.links)t.links=e;else for(let n in e)t.links[n]=e[n]}const A=function(t,e){const n=k(t);try{let t=(0,i.d)(e.text,(0,i.c)());M(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor properties text",t)}};function M(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}const I=function(t,e){const n=k(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&M(n,e.properties),e.links&&S(n,e.links)}catch(t){i.l.error("error while parsing actor details text",t)}},L=function(t){if(Array.isArray(t))t.forEach((function(t){L(t)}));else switch(t.type){case"sequenceIndex":y.push({from:void 0,to:void 0,message:{start:t.sequenceIndex,step:t.sequenceIndexStep,visible:t.sequenceVisible},wrap:!1,type:t.signalType});break;case"addParticipant":v(t.actor,t.actor,t.description,t.draw);break;case"createParticipant":if(g[t.actor])throw new Error("It is not possible to have actors with the same id, even if one is destroyed before the next is created. Use 'AS' aliases to simulate the behavior");f=t.actor,v(t.actor,t.actor,t.description,t.draw),p[t.actor]=y.length;break;case"destroyParticipant":d=t.actor,b[t.actor]=y.length;break;case"activeStart":case"activeEnd":x(t.actor,void 0,void 0,t.signalType);break;case"addNote":T(t.actor,t.placement,t.text);break;case"addLinks":C(t.actor,t.text);break;case"addALink":!function(t,e){const n=k(t);try{const t={};let s=(0,i.d)(e.text,(0,i.c)());var r=s.indexOf("@");s=s.replace(/&amp;/g,"&"),s=s.replace(/&equals;/g,"=");var a=s.slice(0,r-1).trim(),o=s.slice(r+1).trim();t[a]=o,S(n,t)}catch(t){i.l.error("error while parsing actor link text",t)}}(t.actor,t.text);break;case"addProperties":A(t.actor,t.text);break;case"addDetails":I(t.actor,t.text);break;case"addMessage":if(f){if(t.to!==f)throw new Error("The created participant "+f+" does not have an associated creating message after its declaration. Please check the sequence diagram.");f=void 0}else if(d){if(t.to!==d&&t.from!==d)throw new Error("The destroyed participant "+d+" does not have an associated destroying message after its declaration. Please check the sequence diagram.");d=void 0}x(t.from,t.to,t.msg,t.signalType,t.activate);break;case"boxStart":e=t.boxData,w.push({name:e.text,wrap:void 0===e.wrap&&_()||!!e.wrap,fill:e.color,actorKeys:[]}),h=w.slice(-1)[0];break;case"boxEnd":h=void 0;break;case"loopStart":x(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":x(void 0,void 0,void 0,t.signalType);break;case"rectStart":x(void 0,void 0,t.color,t.signalType);break;case"optStart":x(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":x(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,i.s)(t.text);break;case"parStart":case"and":x(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":x(void 0,void 0,t.criticalText,t.signalType);break;case"option":x(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":x(void 0,void 0,t.breakText,t.signalType)}var e},O={addActor:v,addMessage:function(t,e,n,i){y.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&_()||!!n.wrap,answer:i})},addSignal:x,addLinks:C,addDetails:I,addProperties:A,autoWrap:_,setWrap:function(t){l=t},enableSequenceNumbers:function(){m=!0},disableSequenceNumbers:function(){m=!1},showSequenceNumbers:()=>m,getMessages:function(){return y},getActors:function(){return g},getCreatedActors:function(){return p},getDestroyedActors:function(){return b},getActor:k,getActorKeys:function(){return Object.keys(g)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:i.g,getBoxes:function(){return w},getDiagramTitle:i.r,setDiagramTitle:i.q,getConfig:()=>(0,i.c)().sequence,clear:function(){g={},p={},b={},w=[],y=[],m=!1,(0,i.t)()},parseMessage:function(t){const e=t.trim(),n={text:e.replace(/^:?(?:no)?wrap:/,"").trim(),wrap:null!==e.match(/^:?wrap:/)||null===e.match(/^:?nowrap:/)&&void 0};return i.l.debug("parseMessage:",n),n},parseBoxData:function(t){const e=t.match(/^((?:rgba?|hsla?)\s*\(.*\)|\w*)(.*)$/);let n=null!=e&&e[1]?e[1].trim():"transparent",r=null!=e&&e[2]?e[2].trim():void 0;if(window&&window.CSS)window.CSS.supports("color",n)||(n="transparent",r=t.trim());else{const e=(new Option).style;e.color=n,e.color!==n&&(n="transparent",r=t.trim())}return{color:n,text:void 0!==r?(0,i.d)(r.replace(/^:?(?:no)?wrap:/,""),(0,i.c)()):void 0,wrap:void 0!==r?null!==r.match(/^:?wrap:/)||null===r.match(/^:?nowrap:/)&&void 0:void 0}},LINETYPE:E,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:T,setAccTitle:i.s,apply:L,setAccDescription:i.b,getAccDescription:i.a,hasAtLeastOneBox:function(){return w.length>0},hasAtLeastOneBoxWithTitle:function(){return w.some((t=>t.name))}},D=function(t,e){return(0,a.d)(t,e)},N=(t,e)=>{(0,i.F)((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){P("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){B("actor"+e+"_popup")})))}))},P=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},B=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},F=function(t,e){let n=0,r=0;const a=e.text.split(i.e.lineBreakRegex),[o,s]=(0,i.D)(e.fontSize);let c=[],u=0,l=()=>e.y;if(void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0)switch(e.valign){case"top":case"start":l=()=>Math.round(e.y+e.textMargin);break;case"middle":case"center":l=()=>Math.round(e.y+(n+r+e.textMargin)/2);break;case"bottom":case"end":l=()=>Math.round(e.y+(n+r+2*e.textMargin)-e.textMargin)}if(void 0!==e.anchor&&void 0!==e.textMargin&&void 0!==e.width)switch(e.anchor){case"left":case"start":e.x=Math.round(e.x+e.textMargin),e.anchor="start",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"middle":case"center":e.x=Math.round(e.x+e.width/2),e.anchor="middle",e.dominantBaseline="middle",e.alignmentBaseline="middle";break;case"right":case"end":e.x=Math.round(e.x+e.width-e.textMargin),e.anchor="end",e.dominantBaseline="middle",e.alignmentBaseline="middle"}for(let[h,f]of a.entries()){void 0!==e.textMargin&&0===e.textMargin&&void 0!==o&&(u=h*o);const a=t.append("text");a.attr("x",e.x),a.attr("y",l()),void 0!==e.anchor&&a.attr("text-anchor",e.anchor).attr("dominant-baseline",e.dominantBaseline).attr("alignment-baseline",e.alignmentBaseline),void 0!==e.fontFamily&&a.style("font-family",e.fontFamily),void 0!==s&&a.style("font-size",s),void 0!==e.fontWeight&&a.style("font-weight",e.fontWeight),void 0!==e.fill&&a.attr("fill",e.fill),void 0!==e.class&&a.attr("class",e.class),void 0!==e.dy?a.attr("dy",e.dy):0!==u&&a.attr("dy",u);const d=f||i.Z;if(e.tspan){const t=a.append("tspan");t.attr("x",e.x),void 0!==e.fill&&t.attr("fill",e.fill),t.text(d)}else a.text(d);void 0!==e.valign&&void 0!==e.textMargin&&e.textMargin>0&&(r+=(a._groups||a)[0][0].getBBox().height,n=r),c.push(a)}return c},$=function(t,e){const n=t.append("polygon");var i,r,a,o;return n.attr("points",(i=e.x)+","+(r=e.y)+" "+(i+(a=e.width))+","+r+" "+(i+a)+","+(r+(o=e.height)-7)+" "+(i+a-8.4)+","+(r+o)+" "+i+","+(r+o)),n.attr("class","labelBox"),e.y=e.y+e.height/2,F(t,e),n};let j=-1;const R=(t,e,n,i)=>{t.select&&n.forEach((n=>{const r=e[n],a=t.select("#actor"+r.actorCnt);!i.mirrorActors&&r.stopy?a.attr("y2",r.stopy+r.height/2):i.mirrorActors&&a.attr("y2",r.stopy)}))},z=function(t,e){(0,a.a)(t,e)},q=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n+a/2).attr("y",i+o/2+5).style("text-anchor","middle").text(t),s)}function e(t,e,n,a,o,s,c,u){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:f}=u,[d,g]=(0,i.D)(l),p=t.split(i.e.lineBreakRegex);for(let t=0;t<p.length;t++){const i=t*d-d*(p.length-1)/2,u=e.append("text").attr("x",n+o/2).attr("y",a).style("text-anchor","middle").style("font-size",g).style("font-weight",f).style("font-family",h);u.append("tspan").attr("x",n+o/2).attr("dy",i).text(p[t]),u.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(u,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,o,s,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),H=function(){function t(t,e,n,i,a,o,s){r(e.append("text").attr("x",n).attr("y",i).style("text-anchor","start").text(t),s)}function e(t,e,n,a,o,s,c,u){const{actorFontSize:l,actorFontFamily:h,actorFontWeight:f}=u,d=t.split(i.e.lineBreakRegex);for(let t=0;t<d.length;t++){const i=t*l-l*(d.length-1)/2,o=e.append("text").attr("x",n).attr("y",a).style("text-anchor","start").style("font-size",l).style("font-weight",f).style("font-family",h);o.append("tspan").attr("x",n).attr("dy",i).text(d[t]),o.attr("y",a+s/2).attr("dominant-baseline","central").attr("alignment-baseline","central"),r(o,c)}}function n(t,n,i,a,o,s,c,u){const l=n.append("switch"),h=l.append("foreignObject").attr("x",i).attr("y",a).attr("width",o).attr("height",s).append("xhtml:div").style("display","table").style("height","100%").style("width","100%");h.append("div").style("display","table-cell").style("text-align","center").style("vertical-align","middle").text(t),e(t,l,i,a,0,s,c,u),r(h,c)}function r(t,e){for(const n in e)e.hasOwnProperty(n)&&t.attr(n,e[n])}return function(i){return"fo"===i.textPlacement?n:"old"===i.textPlacement?t:e}}(),Z=D,U=function(t,e,n,i){switch(e.type){case"actor":return function(t,e,n,i){const r=i?e.stopy:e.starty,o=e.x+e.width/2,s=r+80;t.lower(),i||(j++,t.append("line").attr("id","actor"+j).attr("x1",o).attr("y1",s).attr("x2",o).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),e.actorCnt=j);const c=t.append("g");c.attr("class","actor-man");const u=(0,a.g)();u.x=e.x,u.y=r,u.fill="#eaeaea",u.width=e.width,u.height=e.height,u.class="actor",u.rx=3,u.ry=3,c.append("line").attr("id","actor-man-torso"+j).attr("x1",o).attr("y1",r+25).attr("x2",o).attr("y2",r+45),c.append("line").attr("id","actor-man-arms"+j).attr("x1",o-18).attr("y1",r+33).attr("x2",o+18).attr("y2",r+33),c.append("line").attr("x1",o-18).attr("y1",r+60).attr("x2",o).attr("y2",r+45),c.append("line").attr("x1",o).attr("y1",r+45).attr("x2",o+18-2).attr("y2",r+60);const l=c.append("circle");l.attr("cx",e.x+e.width/2),l.attr("cy",r+10),l.attr("r",15),l.attr("width",e.width),l.attr("height",e.height);const h=c.node().getBBox();return e.height=h.height,q(n)(e.description,c,u.x,u.y+35,u.width,u.height,{class:"actor"},n),e.height}(t,e,n,i);case"participant":return function(t,e,n,i){const r=i?e.stopy:e.starty,o=e.x+e.width/2,s=r+5,c=t.append("g").lower();var u=c;i||(j++,u.append("line").attr("id","actor"+j).attr("x1",o).attr("y1",s).attr("x2",o).attr("y2",2e3).attr("class","actor-line").attr("class","200").attr("stroke-width","0.5px").attr("stroke","#999"),u=c.append("g"),e.actorCnt=j,null!=e.links&&(u.attr("id","root-"+j),N("#root-"+j,j)));const l=(0,a.g)();var h="actor";null!=e.properties&&e.properties.class?h=e.properties.class:l.fill="#eaeaea",l.x=e.x,l.y=r,l.width=e.width,l.height=e.height,l.class=h,l.rx=3,l.ry=3;const f=D(u,l);if(e.rectData=l,null!=e.properties&&e.properties.icon){const t=e.properties.icon.trim();"@"===t.charAt(0)?(0,a.b)(u,l.x+l.width-20,l.y+10,t.substr(1)):(0,a.c)(u,l.x+l.width-20,l.y+10,t)}q(n)(e.description,u,l.x,l.y,l.width,l.height,{class:"actor"},n);let d=e.height;if(f.node){const t=f.node().getBBox();e.height=t.height,d=t.height}return d}(t,e,n,i)}},Y=function(t,e,n){const i=t.append("g");z(i,e),e.name&&q(n)(e.name,i,e.x,e.y+(e.textMaxHeight||0)/2,e.width,0,{class:"text"},n),i.lower()},G=function(t,e,n,i,r){if(void 0===e.links||null===e.links||0===Object.keys(e.links).length)return{height:0,width:0};const a=e.links,s=e.actorCnt,c=e.rectData;var u="none";r&&(u="block !important");const l=t.append("g");l.attr("id","actor"+s+"_popup"),l.attr("class","actorPopupMenu"),l.attr("display",u),N("#actor"+s+"_popup",s);var h="";void 0!==c.class&&(h=" "+c.class);let f=c.width>n?c.width:n;const d=l.append("rect");if(d.attr("class","actorPopupMenuPanel"+h),d.attr("x",c.x),d.attr("y",c.height),d.attr("fill",c.fill),d.attr("stroke",c.stroke),d.attr("width",f),d.attr("height",c.height),d.attr("rx",c.rx),d.attr("ry",c.ry),null!=a){var g=20;for(let t in a){var p=l.append("a"),b=(0,o.Nm)(a[t]);p.attr("xlink:href",b),p.attr("target","_blank"),H(i)(t,p,c.x+10,c.height+g,f,20,{class:"actor"},i),g+=30}}return d.attr("height",g),{height:c.height+g,width:f}},K=function(t){return t.append("g")},W=function(t,e,n,i,r){const o=(0,a.g)(),s=e.anchored;o.x=e.startx,o.y=e.starty,o.class="activation"+r%3,o.width=e.stopx-e.startx,o.height=n-e.starty,D(s,o)},X=function(t,e,n,i){const{boxMargin:r,boxTextMargin:o,labelBoxHeight:s,labelBoxWidth:c,messageFontFamily:u,messageFontSize:l,messageFontWeight:h}=i,f=t.append("g"),d=function(t,e,n,i){return f.append("line").attr("x1",t).attr("y1",e).attr("x2",n).attr("y2",i).attr("class","loopLine")};d(e.startx,e.starty,e.stopx,e.starty),d(e.stopx,e.starty,e.stopx,e.stopy),d(e.startx,e.stopy,e.stopx,e.stopy),d(e.startx,e.starty,e.startx,e.stopy),void 0!==e.sections&&e.sections.forEach((function(t){d(e.startx,t.y,e.stopx,t.y).style("stroke-dasharray","3, 3")}));let g=(0,a.e)();g.text=n,g.x=e.startx,g.y=e.starty,g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.anchor="middle",g.valign="middle",g.tspan=!1,g.width=c||50,g.height=s||20,g.textMargin=o,g.class="labelText",$(f,g),g={x:0,y:0,fill:void 0,anchor:void 0,style:"#666",width:void 0,height:void 0,textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0},g.text=e.title,g.x=e.startx+c/2+(e.stopx-e.startx)/2,g.y=e.starty+r+o,g.anchor="middle",g.valign="middle",g.textMargin=o,g.class="loopText",g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.wrap=!0;let p=F(f,g);return void 0!==e.sectionTitles&&e.sectionTitles.forEach((function(t,n){if(t.message){g.text=t.message,g.x=e.startx+(e.stopx-e.startx)/2,g.y=e.sections[n].y+r+o,g.class="loopText",g.anchor="middle",g.valign="middle",g.tspan=!1,g.fontFamily=u,g.fontSize=l,g.fontWeight=h,g.wrap=e.wrap,p=F(f,g);let i=Math.round(p.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));e.sections[n].height+=i-(r+o)}})),e.height=Math.round(e.stopy-e.starty),f},V=z,Q=function(t){t.append("defs").append("marker").attr("id","arrowhead").attr("refX",7.9).attr("refY",5).attr("markerUnits","userSpaceOnUse").attr("markerWidth",12).attr("markerHeight",12).attr("orient","auto").append("path").attr("d","M 0 0 L 10 5 L 0 10 z")},J=function(t){t.append("defs").append("marker").attr("id","filled-head").attr("refX",15.5).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 18,7 L9,13 L14,7 L9,1 Z")},tt=function(t){t.append("defs").append("marker").attr("id","sequencenumber").attr("refX",15).attr("refY",15).attr("markerWidth",60).attr("markerHeight",40).attr("orient","auto").append("circle").attr("cx",15).attr("cy",15).attr("r",6)},et=function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",4.5).append("path").attr("fill","none").attr("stroke","#000000").style("stroke-dasharray","0, 0").attr("stroke-width","1pt").attr("d","M 1,2 L 6,7 M 6,2 L 1,7")},nt=function(t){t.append("defs").append("symbol").attr("id","database").attr("fill-rule","evenodd").attr("clip-rule","evenodd").append("path").attr("transform","scale(.5)").attr("d","M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z")},it=function(t){t.append("defs").append("symbol").attr("id","computer").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z")},rt=function(t){t.append("defs").append("symbol").attr("id","clock").attr("width","24").attr("height","24").append("path").attr("transform","scale(.5)").attr("d","M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z")};o.Nm;let at={};const ot={data:{startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},verticalPos:0,sequenceItems:[],activations:[],models:{getHeight:function(){return Math.max.apply(null,0===this.actors.length?[0]:this.actors.map((t=>t.height||0)))+(0===this.loops.length?0:this.loops.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.messages.length?0:this.messages.map((t=>t.height||0)).reduce(((t,e)=>t+e)))+(0===this.notes.length?0:this.notes.map((t=>t.height||0)).reduce(((t,e)=>t+e)))},clear:function(){this.actors=[],this.boxes=[],this.loops=[],this.messages=[],this.notes=[]},addBox:function(t){this.boxes.push(t)},addActor:function(t){this.actors.push(t)},addLoop:function(t){this.loops.push(t)},addMessage:function(t){this.messages.push(t)},addNote:function(t){this.notes.push(t)},lastActor:function(){return this.actors[this.actors.length-1]},lastLoop:function(){return this.loops[this.loops.length-1]},lastMessage:function(){return this.messages[this.messages.length-1]},lastNote:function(){return this.notes[this.notes.length-1]},actors:[],boxes:[],loops:[],messages:[],notes:[]},init:function(){this.sequenceItems=[],this.activations=[],this.models.clear(),this.data={startx:void 0,stopx:void 0,starty:void 0,stopy:void 0},this.verticalPos=0,ft((0,i.c)())},updateVal:function(t,e,n,i){void 0===t[e]?t[e]=n:t[e]=i(n,t[e])},updateBounds:function(t,e,n,i){const r=this;let a=0;function o(o){return function(s){a++;const c=r.sequenceItems.length-a+1;r.updateVal(s,"starty",e-c*at.boxMargin,Math.min),r.updateVal(s,"stopy",i+c*at.boxMargin,Math.max),r.updateVal(ot.data,"startx",t-c*at.boxMargin,Math.min),r.updateVal(ot.data,"stopx",n+c*at.boxMargin,Math.max),"activation"!==o&&(r.updateVal(s,"startx",t-c*at.boxMargin,Math.min),r.updateVal(s,"stopx",n+c*at.boxMargin,Math.max),r.updateVal(ot.data,"starty",e-c*at.boxMargin,Math.min),r.updateVal(ot.data,"stopy",i+c*at.boxMargin,Math.max))}}this.sequenceItems.forEach(o()),this.activations.forEach(o("activation"))},insert:function(t,e,n,r){const a=i.e.getMin(t,n),o=i.e.getMax(t,n),s=i.e.getMin(e,r),c=i.e.getMax(e,r);this.updateVal(ot.data,"startx",a,Math.min),this.updateVal(ot.data,"starty",s,Math.min),this.updateVal(ot.data,"stopx",o,Math.max),this.updateVal(ot.data,"stopy",c,Math.max),this.updateBounds(a,s,o,c)},newActivation:function(t,e,n){const i=n[t.from.actor],r=dt(t.from.actor).length||0,a=i.x+i.width/2+(r-1)*at.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+at.activationWidth,stopy:void 0,actor:t.from.actor,anchored:K(e)})},endActivation:function(t){const e=this.activations.map((function(t){return t.actor})).lastIndexOf(t.from.actor);return this.activations.splice(e,1)[0]},createLoop:function(t={message:void 0,wrap:!1,width:void 0},e){return{startx:void 0,starty:this.verticalPos,stopx:void 0,stopy:void 0,title:t.message,wrap:t.wrap,width:t.width,height:0,fill:e}},newLoop:function(t={message:void 0,wrap:!1,width:void 0},e){this.sequenceItems.push(this.createLoop(t,e))},endLoop:function(){return this.sequenceItems.pop()},isLoopOverlap:function(){return!!this.sequenceItems.length&&this.sequenceItems[this.sequenceItems.length-1].overlap},addSectionToLoop:function(t){const e=this.sequenceItems.pop();e.sections=e.sections||[],e.sectionTitles=e.sectionTitles||[],e.sections.push({y:ot.getVerticalPos(),height:0}),e.sectionTitles.push(t),this.sequenceItems.push(e)},saveVerticalPos:function(){this.isLoopOverlap()&&(this.savedVerticalPos=this.verticalPos)},resetVerticalPos:function(){this.isLoopOverlap()&&(this.verticalPos=this.savedVerticalPos)},bumpVerticalPos:function(t){this.verticalPos=this.verticalPos+t,this.data.stopy=i.e.getMax(this.data.stopy,this.verticalPos)},getVerticalPos:function(){return this.verticalPos},getBounds:function(){return{bounds:this.data,models:this.models}}},st=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),ct=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),ut=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight}),lt=function(t,e,n,r){if(r){let r=0;ot.bumpVerticalPos(2*at.boxMargin);for(const a of n){const n=e[a];n.stopy||(n.stopy=ot.getVerticalPos());const o=U(t,n,at,!0);r=i.e.getMax(r,o)}ot.bumpVerticalPos(r+at.boxMargin)}else for(const i of n){const n=e[i];U(t,n,at,!1)}},ht=function(t,e,n,i){let r=0,a=0;for(const o of n){const n=e[o],s=bt(n),c=G(t,n,s,at,at.forceMenus,i);c.height>r&&(r=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:r,maxWidth:a}},ft=function(t){(0,i.f)(at,t),t.fontFamily&&(at.actorFontFamily=at.noteFontFamily=at.messageFontFamily=t.fontFamily),t.fontSize&&(at.actorFontSize=at.noteFontSize=at.messageFontSize=t.fontSize),t.fontWeight&&(at.actorFontWeight=at.noteFontWeight=at.messageFontWeight=t.fontWeight)},dt=function(t){return ot.activations.filter((function(e){return e.actor===t}))},gt=function(t,e){const n=e[t],r=dt(t);return[r.reduce((function(t,e){return i.e.getMin(t,e.startx)}),n.x+n.width/2-1),r.reduce((function(t,e){return i.e.getMax(t,e.stopx)}),n.x+n.width/2+1)]};function pt(t,e,n,r,a){ot.bumpVerticalPos(n);let o=r;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,a=st(at);e.message=i.u.wrapLabel(`[${e.message}]`,n-2*at.wrapPadding,a),e.width=n,e.wrap=!0;const s=i.u.calculateTextDimensions(e.message,a),c=i.e.getMax(s.height,at.labelBoxHeight);o=r+c,i.l.debug(`${c} - ${e.message}`)}a(e),ot.bumpVerticalPos(o)}const bt=function(t){let e=0;const n=ut(at);for(const r in t.links){const t=i.u.calculateTextDimensions(r,n).width+2*at.wrapPadding+2*at.boxMargin;e<t&&(e=t)}return e},wt={parser:c,db:O,renderer:{bounds:ot,drawActors:lt,drawActorsPopup:ht,setConf:ft,draw:function(t,e,n,o){const{securityLevel:s,sequence:c}=(0,i.c)();let u;at=c,"sandbox"===s&&(u=(0,r.Ys)("#i"+e));const l="sandbox"===s?(0,r.Ys)(u.nodes()[0].contentDocument.body):(0,r.Ys)("body"),h="sandbox"===s?u.nodes()[0].contentDocument:document;ot.init(),i.l.debug(o.db);const f="sandbox"===s?l.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),d=o.db.getActors(),g=o.db.getCreatedActors(),p=o.db.getDestroyedActors(),b=o.db.getBoxes();let w=o.db.getActorKeys();const y=o.db.getMessages(),m=o.db.getDiagramTitle(),v=o.db.hasAtLeastOneBox(),x=o.db.hasAtLeastOneBoxWithTitle(),k=function(t,e,n){const r={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const a=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!a.prevActor)return;if(e.placement===n.db.PLACEMENT.RIGHTOF&&!a.nextActor)return;const o=void 0!==e.placement,s=!o,c=o?ct(at):st(at),u=e.wrap?i.u.wrapLabel(e.message,at.width-2*at.wrapPadding,c):e.message,l=i.u.calculateTextDimensions(u,c).width+2*at.wrapPadding;s&&e.from===a.nextActor?r[e.to]=i.e.getMax(r[e.to]||0,l):s&&e.from===a.prevActor?r[e.from]=i.e.getMax(r[e.from]||0,l):s&&e.from===e.to?(r[e.from]=i.e.getMax(r[e.from]||0,l/2),r[e.to]=i.e.getMax(r[e.to]||0,l/2)):e.placement===n.db.PLACEMENT.RIGHTOF?r[e.from]=i.e.getMax(r[e.from]||0,l):e.placement===n.db.PLACEMENT.LEFTOF?r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l):e.placement===n.db.PLACEMENT.OVER&&(a.prevActor&&(r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l/2)),a.nextActor&&(r[e.from]=i.e.getMax(r[e.from]||0,l/2)))}})),i.l.debug("maxMessageWidthPerActor:",r),r}(d,y,o);if(at.height=function(t,e,n){let r=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=i.u.wrapLabel(n.description,at.width-2*at.wrapPadding,ut(at)));const a=i.u.calculateTextDimensions(n.description,ut(at));n.width=n.wrap?at.width:i.e.getMax(at.width,a.width+2*at.wrapPadding),n.height=n.wrap?i.e.getMax(a.height,at.height):at.height,r=i.e.getMax(r,n.height)}));for(const n in e){const r=t[n];if(!r)continue;const a=t[r.nextActor];if(!a){const t=e[n]+at.actorMargin-r.width/2;r.margin=i.e.getMax(t,at.actorMargin);continue}const o=e[n]+at.actorMargin-r.width/2-a.width/2;r.margin=i.e.getMax(o,at.actorMargin)}let a=0;return n.forEach((e=>{const n=st(at);let r=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);r-=2*at.boxTextMargin,e.wrap&&(e.name=i.u.wrapLabel(e.name,r-2*at.wrapPadding,n));const o=i.u.calculateTextDimensions(e.name,n);a=i.e.getMax(o.height,a);const s=i.e.getMax(r,o.width+2*at.wrapPadding);if(e.margin=at.boxTextMargin,r<s){const t=(s-r)/2;e.margin+=t}})),n.forEach((t=>t.textMaxHeight=a)),i.e.getMax(r,at.height)}(d,k,b),it(f),nt(f),rt(f),v&&(ot.bumpVerticalPos(at.boxMargin),x&&ot.bumpVerticalPos(b[0].textMaxHeight)),!0===at.hideUnusedParticipants){const t=new Set;y.forEach((e=>{t.add(e.from),t.add(e.to)})),w=w.filter((e=>t.has(e)))}!function(t,e,n,r,a,o,s){let c,u=0,l=0,h=0;for(const t of r){const r=e[t],a=r.box;c&&c!=a&&(ot.models.addBox(c),l+=at.boxMargin+c.margin),a&&a!=c&&(a.x=u+l,a.y=0,l+=a.margin),r.width=r.width||at.width,r.height=i.e.getMax(r.height||at.height,at.height),r.margin=r.margin||at.actorMargin,h=i.e.getMax(h,r.height),n[r.name]&&(l+=r.width/2),r.x=u+l,r.starty=ot.getVerticalPos(),ot.insert(r.x,0,r.x+r.width,r.height),u+=r.width+l,r.box&&(r.box.width=u+a.margin-r.box.x),l=r.margin,c=r.box,ot.models.addActor(r)}c&&ot.models.addBox(c),ot.bumpVerticalPos(h)}(0,d,g,w);const _=function(t,e,n,r){const a={},o=[];let s,c,u;return t.forEach((function(t){switch(t.id=i.u.random({length:10}),t.type){case r.db.LINETYPE.LOOP_START:case r.db.LINETYPE.ALT_START:case r.db.LINETYPE.OPT_START:case r.db.LINETYPE.PAR_START:case r.db.LINETYPE.PAR_OVER_START:case r.db.LINETYPE.CRITICAL_START:case r.db.LINETYPE.BREAK_START:o.push({id:t.id,msg:t.message,from:Number.MAX_SAFE_INTEGER,to:Number.MIN_SAFE_INTEGER,width:0});break;case r.db.LINETYPE.ALT_ELSE:case r.db.LINETYPE.PAR_AND:case r.db.LINETYPE.CRITICAL_OPTION:t.message&&(s=o.pop(),a[s.id]=s,a[t.id]=s,o.push(s));break;case r.db.LINETYPE.LOOP_END:case r.db.LINETYPE.ALT_END:case r.db.LINETYPE.OPT_END:case r.db.LINETYPE.PAR_END:case r.db.LINETYPE.CRITICAL_END:case r.db.LINETYPE.BREAK_END:s=o.pop(),a[s.id]=s;break;case r.db.LINETYPE.ACTIVE_START:{const n=e[t.from?t.from.actor:t.to.actor],i=dt(t.from?t.from.actor:t.to.actor).length,r=n.x+n.width/2+(i-1)*at.activationWidth/2,a={startx:r,stopx:r+at.activationWidth,actor:t.from.actor,enabled:!0};ot.activations.push(a)}break;case r.db.LINETYPE.ACTIVE_END:{const e=ot.activations.map((t=>t.actor)).lastIndexOf(t.from.actor);delete ot.activations.splice(e,1)[0]}}void 0!==t.placement?(c=function(t,e,n){const r=e[t.from].x,a=e[t.to].x,o=t.wrap&&t.message;let s=i.u.calculateTextDimensions(o?i.u.wrapLabel(t.message,at.width,ct(at)):t.message,ct(at));const c={width:o?at.width:i.e.getMax(at.width,s.width+2*at.noteMargin),height:0,startx:e[t.from].x,stopx:0,starty:0,stopy:0,message:t.message};return t.placement===n.db.PLACEMENT.RIGHTOF?(c.width=o?i.e.getMax(at.width,s.width):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*at.noteMargin),c.startx=r+(e[t.from].width+at.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(c.width=o?i.e.getMax(at.width,s.width+2*at.noteMargin):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*at.noteMargin),c.startx=r-c.width+(e[t.from].width-at.actorMargin)/2):t.to===t.from?(s=i.u.calculateTextDimensions(o?i.u.wrapLabel(t.message,i.e.getMax(at.width,e[t.from].width),ct(at)):t.message,ct(at)),c.width=o?i.e.getMax(at.width,e[t.from].width):i.e.getMax(e[t.from].width,at.width,s.width+2*at.noteMargin),c.startx=r+(e[t.from].width-c.width)/2):(c.width=Math.abs(r+e[t.from].width/2-(a+e[t.to].width/2))+at.actorMargin,c.startx=r<a?r+e[t.from].width/2-at.actorMargin/2:a+e[t.to].width/2-at.actorMargin/2),o&&(c.message=i.u.wrapLabel(t.message,c.width-2*at.wrapPadding,ct(at))),i.l.debug(`NM:[${c.startx},${c.stopx},${c.starty},${c.stopy}:${c.width},${c.height}=${t.message}]`),c}(t,e,r),t.noteModel=c,o.forEach((t=>{s=t,s.from=i.e.getMin(s.from,c.startx),s.to=i.e.getMax(s.to,c.startx+c.width),s.width=i.e.getMax(s.width,Math.abs(s.from-s.to))-at.labelBoxWidth}))):(u=function(t,e,n){if(![n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN,n.db.LINETYPE.SOLID,n.db.LINETYPE.DOTTED,n.db.LINETYPE.SOLID_CROSS,n.db.LINETYPE.DOTTED_CROSS,n.db.LINETYPE.SOLID_POINT,n.db.LINETYPE.DOTTED_POINT].includes(t.type))return{};const[r,a]=gt(t.from,e),[o,s]=gt(t.to,e),c=r<=o,u=c?a:r;let l=c?o:s;const h=Math.abs(o-s)>2,f=t=>c?-t:t;t.from===t.to?l=u:(t.activate&&!h&&(l+=f(at.activationWidth/2-1)),[n.db.LINETYPE.SOLID_OPEN,n.db.LINETYPE.DOTTED_OPEN].includes(t.type)||(l+=f(3)));const d=[r,a,o,s],g=Math.abs(u-l);t.wrap&&t.message&&(t.message=i.u.wrapLabel(t.message,i.e.getMax(g+2*at.wrapPadding,at.width),st(at)));const p=i.u.calculateTextDimensions(t.message,st(at));return{width:i.e.getMax(t.wrap?0:p.width+2*at.wrapPadding,g+2*at.wrapPadding,at.width),height:0,startx:u,stopx:l,starty:0,stopy:0,message:t.message,type:t.type,wrap:t.wrap,fromBounds:Math.min.apply(null,d),toBounds:Math.max.apply(null,d)}}(t,e,r),t.msgModel=u,u.startx&&u.stopx&&o.length>0&&o.forEach((n=>{if(s=n,u.startx===u.stopx){const n=e[t.from],r=e[t.to];s.from=i.e.getMin(n.x-u.width/2,n.x-n.width/2,s.from),s.to=i.e.getMax(r.x+u.width/2,r.x+n.width/2,s.to),s.width=i.e.getMax(s.width,Math.abs(s.to-s.from))-at.labelBoxWidth}else s.from=i.e.getMin(u.startx,s.from),s.to=i.e.getMax(u.stopx,s.to),s.width=i.e.getMax(s.width,u.width)-at.labelBoxWidth})))})),ot.activations=[],i.l.debug("Loop type widths:",a),a}(y,d,0,o);Q(f),et(f),J(f),tt(f);let E=1,T=1;const C=[],S=[];y.forEach((function(t,e){let n,r,s;switch(t.type){case o.db.LINETYPE.NOTE:ot.resetVerticalPos(),r=t.noteModel,function(t,e){ot.bumpVerticalPos(at.boxMargin),e.height=at.boxMargin,e.starty=ot.getVerticalPos();const n=(0,a.g)();n.x=e.startx,n.y=e.starty,n.width=e.width||at.width,n.class="note";const i=t.append("g"),r=Z(i,n),o=(0,a.e)();o.x=e.startx,o.y=e.starty,o.width=n.width,o.dy="1em",o.text=e.message,o.class="noteText",o.fontFamily=at.noteFontFamily,o.fontSize=at.noteFontSize,o.fontWeight=at.noteFontWeight,o.anchor=at.noteAlign,o.textMargin=at.noteMargin,o.valign="center";const s=F(i,o),c=Math.round(s.map((t=>(t._groups||t)[0][0].getBBox().height)).reduce(((t,e)=>t+e)));r.attr("height",c+2*at.noteMargin),e.height+=c+2*at.noteMargin,ot.bumpVerticalPos(c+2*at.noteMargin),e.stopy=e.starty+c+2*at.noteMargin,e.stopx=e.startx+n.width,ot.insert(e.startx,e.starty,e.stopx,e.stopy),ot.models.addNote(e)}(f,r);break;case o.db.LINETYPE.ACTIVE_START:ot.newActivation(t,f,d);break;case o.db.LINETYPE.ACTIVE_END:!function(t,e){const n=ot.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),W(f,n,e,at,dt(t.from.actor).length),ot.insert(n.startx,e-10,n.stopx,e)}(t,ot.getVerticalPos());break;case o.db.LINETYPE.LOOP_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t)));break;case o.db.LINETYPE.LOOP_END:n=ot.endLoop(),X(f,n,"loop",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;case o.db.LINETYPE.RECT_START:pt(_,t,at.boxMargin,at.boxMargin,(t=>ot.newLoop(void 0,t.message)));break;case o.db.LINETYPE.RECT_END:n=ot.endLoop(),S.push(n),ot.models.addLoop(n),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos());break;case o.db.LINETYPE.OPT_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t)));break;case o.db.LINETYPE.OPT_END:n=ot.endLoop(),X(f,n,"opt",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;case o.db.LINETYPE.ALT_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t)));break;case o.db.LINETYPE.ALT_ELSE:pt(_,t,at.boxMargin+at.boxTextMargin,at.boxMargin,(t=>ot.addSectionToLoop(t)));break;case o.db.LINETYPE.ALT_END:n=ot.endLoop(),X(f,n,"alt",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t))),ot.saveVerticalPos();break;case o.db.LINETYPE.PAR_AND:pt(_,t,at.boxMargin+at.boxTextMargin,at.boxMargin,(t=>ot.addSectionToLoop(t)));break;case o.db.LINETYPE.PAR_END:n=ot.endLoop(),X(f,n,"par",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;case o.db.LINETYPE.AUTONUMBER:E=t.message.start||E,T=t.message.step||T,t.message.visible?o.db.enableSequenceNumbers():o.db.disableSequenceNumbers();break;case o.db.LINETYPE.CRITICAL_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t)));break;case o.db.LINETYPE.CRITICAL_OPTION:pt(_,t,at.boxMargin+at.boxTextMargin,at.boxMargin,(t=>ot.addSectionToLoop(t)));break;case o.db.LINETYPE.CRITICAL_END:n=ot.endLoop(),X(f,n,"critical",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;case o.db.LINETYPE.BREAK_START:pt(_,t,at.boxMargin,at.boxMargin+at.boxTextMargin,(t=>ot.newLoop(t)));break;case o.db.LINETYPE.BREAK_END:n=ot.endLoop(),X(f,n,"break",at),ot.bumpVerticalPos(n.stopy-ot.getVerticalPos()),ot.models.addLoop(n);break;default:try{s=t.msgModel,s.starty=ot.getVerticalPos(),s.sequenceIndex=E,s.sequenceVisible=o.db.showSequenceNumbers();const n=function(t,e){ot.bumpVerticalPos(10);const{startx:n,stopx:r,message:a}=e,o=i.e.splitBreaks(a).length,s=i.u.calculateTextDimensions(a,st(at)),c=s.height/o;let u;e.height+=c,ot.bumpVerticalPos(c);let l=s.height-10;const h=s.width;if(n===r){u=ot.getVerticalPos()+l,at.rightAngles||(l+=at.boxMargin,u=ot.getVerticalPos()+l),l+=30;const t=i.e.getMax(h/2,at.width/2);ot.insert(n-t,ot.getVerticalPos()-10+l,r+t,ot.getVerticalPos()+30+l)}else l+=at.boxMargin,u=ot.getVerticalPos()+l,ot.insert(n,u-10,r,u);return ot.bumpVerticalPos(l),e.height+=l,e.stopy=e.starty+e.height,ot.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),u}(0,s);!function(t,e,n,i,r,a,o){function s(n,i){n.x<r[t.from].x?(ot.insert(e.stopx-i,e.starty,e.startx,e.stopy+n.height/2+at.noteMargin),e.stopx=e.stopx+i):(ot.insert(e.startx,e.starty,e.stopx+i,e.stopy+n.height/2+at.noteMargin),e.stopx=e.stopx-i)}if(a[t.to]==i){const e=r[t.to];s(e,"actor"==e.type?21:e.width/2+3),e.starty=n-e.height/2,ot.bumpVerticalPos(e.height/2)}else if(o[t.from]==i){const i=r[t.from];at.mirrorActors&&function(n,i){n.x<r[t.to].x?(ot.insert(e.startx-i,e.starty,e.stopx,e.stopy+n.height/2+at.noteMargin),e.startx=e.startx+i):(ot.insert(e.stopx,e.starty,e.startx+i,e.stopy+n.height/2+at.noteMargin),e.startx=e.startx-i)}(i,"actor"==i.type?18:i.width/2),i.stopy=n-i.height/2,ot.bumpVerticalPos(i.height/2)}else if(o[t.to]==i){const e=r[t.to];at.mirrorActors&&s(e,"actor"==e.type?21:e.width/2+3),e.stopy=n-e.height/2,ot.bumpVerticalPos(e.height/2)}}(t,s,n,e,d,g,p),C.push({messageModel:s,lineStartY:n}),ot.models.addMessage(s)}catch(t){i.l.error("error while drawing message",t)}}[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(E+=T)})),i.l.debug("createdActors",g),i.l.debug("destroyedActors",p),lt(f,d,w,!1),C.forEach((t=>function(t,e,n,r){const{startx:o,stopx:s,starty:c,message:u,type:l,sequenceIndex:h,sequenceVisible:f}=e,d=i.u.calculateTextDimensions(u,st(at)),g=(0,a.e)();g.x=o,g.y=c+10,g.width=s-o,g.class="messageText",g.dy="1em",g.text=u,g.fontFamily=at.messageFontFamily,g.fontSize=at.messageFontSize,g.fontWeight=at.messageFontWeight,g.anchor=at.messageAlign,g.valign="center",g.textMargin=at.wrapPadding,g.tspan=!1,F(t,g);const p=d.width;let b;o===s?b=at.rightAngles?t.append("path").attr("d",`M ${o},${n} H ${o+i.e.getMax(at.width/2,p/2)} V ${n+25} H ${o}`):t.append("path").attr("d","M "+o+","+n+" C "+(o+60)+","+(n-10)+" "+(o+60)+","+(n+30)+" "+o+","+(n+20)):(b=t.append("line"),b.attr("x1",o),b.attr("y1",n),b.attr("x2",s),b.attr("y2",n)),l===r.db.LINETYPE.DOTTED||l===r.db.LINETYPE.DOTTED_CROSS||l===r.db.LINETYPE.DOTTED_POINT||l===r.db.LINETYPE.DOTTED_OPEN?(b.style("stroke-dasharray","3, 3"),b.attr("class","messageLine1")):b.attr("class","messageLine0");let w="";at.arrowMarkerAbsolute&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),b.attr("stroke-width",2),b.attr("stroke","none"),b.style("fill","none"),l!==r.db.LINETYPE.SOLID&&l!==r.db.LINETYPE.DOTTED||b.attr("marker-end","url("+w+"#arrowhead)"),l!==r.db.LINETYPE.SOLID_POINT&&l!==r.db.LINETYPE.DOTTED_POINT||b.attr("marker-end","url("+w+"#filled-head)"),l!==r.db.LINETYPE.SOLID_CROSS&&l!==r.db.LINETYPE.DOTTED_CROSS||b.attr("marker-end","url("+w+"#crosshead)"),(f||at.showSequenceNumbers)&&(b.attr("marker-start","url("+w+"#sequencenumber)"),t.append("text").attr("x",o).attr("y",n+4).attr("font-family","sans-serif").attr("font-size","12px").attr("text-anchor","middle").attr("class","sequenceNumber").text(h))}(f,t.messageModel,t.lineStartY,o))),at.mirrorActors&&lt(f,d,w,!0),S.forEach((t=>V(f,t))),R(f,d,w,at),ot.models.boxes.forEach((function(t){t.height=ot.getVerticalPos()-t.y,ot.insert(t.x,t.y,t.x+t.width,t.height),t.startx=t.x,t.starty=t.y,t.stopx=t.startx+t.width,t.stopy=t.starty+t.height,t.stroke="rgb(0,0,0, 0.5)",Y(f,t,at)})),v&&ot.bumpVerticalPos(at.boxMargin);const A=ht(f,d,w,h),{bounds:M}=ot.getBounds();let I=M.stopy-M.starty;I<A.maxHeight&&(I=A.maxHeight);let L=I+2*at.diagramMarginY;at.mirrorActors&&(L=L-at.boxMargin+at.bottomMarginAdj);let O=M.stopx-M.startx;O<A.maxWidth&&(O=A.maxWidth);const D=O+2*at.diagramMarginX;m&&f.append("text").text(m).attr("x",(M.stopx-M.startx)/2-2*at.diagramMarginX).attr("y",-25),(0,i.i)(f,L,D,at.useMaxWidth);const N=m?40:0;f.attr("viewBox",M.startx-at.diagramMarginX+" -"+(at.diagramMarginY+N)+" "+D+" "+(L+N)),i.l.debug("models:",ot.models)}},styles:t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,init:({wrap:t})=>{O.setWrap(t)}}},4206:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>b});var i=n(2990),r=n(7274),a=n(3771),o=n(5625),s=n(8454);n(7484),n(7967),n(7856);const c={},u=(t,e,n)=>{const i=(0,s.c)().state.padding,r=2*(0,s.c)().state.padding,a=t.node().getBBox(),o=a.width,c=a.x,u=t.append("text").attr("x",0).attr("y",(0,s.c)().state.titleShift).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id),l=u.node().getBBox().width+r;let h,f=Math.max(l,o);f===o&&(f+=r);const d=t.node().getBBox();e.doc,h=c-i,l>o&&(h=(o-f)/2+i),Math.abs(c-d.x)<i&&l>o&&(h=c-(l-o)/2);const g=1-(0,s.c)().state.textHeight;return t.insert("rect",":first-child").attr("x",h).attr("y",g).attr("class",n?"alt-composit":"composit").attr("width",f).attr("height",d.height+(0,s.c)().state.textHeight+(0,s.c)().state.titleShift+1).attr("rx","0"),u.attr("x",h+i),l<=o&&u.attr("x",c+(f-r)/2-l/2+i),t.insert("rect",":first-child").attr("x",h).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",f).attr("height",3*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t.insert("rect",":first-child").attr("x",h).attr("y",(0,s.c)().state.titleShift-(0,s.c)().state.textHeight-(0,s.c)().state.padding).attr("width",f).attr("height",d.height+3+2*(0,s.c)().state.textHeight).attr("rx",(0,s.c)().state.radius),t},l=function(t,e){const n=e.id,i={id:n,label:e.id,width:0,height:0},r=t.append("g").attr("id",n).attr("class","stateGroup");"start"===e.type&&(t=>{t.append("circle").attr("class","start-state").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit)})(r),"end"===e.type&&(t=>{t.append("circle").attr("class","end-state-outer").attr("r",(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+(0,s.c)().state.miniPadding),t.append("circle").attr("class","end-state-inner").attr("r",(0,s.c)().state.sizeUnit).attr("cx",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2).attr("cy",(0,s.c)().state.padding+(0,s.c)().state.sizeUnit+2)})(r),"fork"!==e.type&&"join"!==e.type||((t,e)=>{let n=(0,s.c)().state.forkWidth,i=(0,s.c)().state.forkHeight;if(e.parentId){let t=n;n=i,i=t}t.append("rect").style("stroke","black").style("fill","black").attr("width",n).attr("height",i).attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding)})(r,e),"note"===e.type&&((t,e)=>{e.attr("class","state-note");const n=e.append("rect").attr("x",0).attr("y",(0,s.c)().state.padding),i=e.append("g"),{textWidth:r,textHeight:a}=((t,e,n,i)=>{let r=0;const a=i.append("text");a.style("text-anchor","start"),a.attr("class","noteText");let o=t.replace(/\r\n/g,"<br/>");o=o.replace(/\n/g,"<br/>");const c=o.split(s.e.lineBreakRegex);let u=1.25*(0,s.c)().state.noteMargin;for(const t of c){const e=t.trim();if(e.length>0){const t=a.append("tspan");t.text(e),0===u&&(u+=t.node().getBBox().height),r+=u,t.attr("x",0+(0,s.c)().state.noteMargin),t.attr("y",0+r+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:r}})(t,0,0,i);n.attr("height",a+2*(0,s.c)().state.noteMargin),n.attr("width",r+2*(0,s.c)().state.noteMargin)})(e.note.text,r),"divider"===e.type&&(t=>{t.append("line").style("stroke","grey").style("stroke-dasharray","3").attr("x1",(0,s.c)().state.textHeight).attr("class","divider").attr("x2",2*(0,s.c)().state.textHeight).attr("y1",0).attr("y2",0)})(r),"default"===e.type&&0===e.descriptions.length&&((t,e)=>{const n=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+2*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.id).node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",n.width+2*(0,s.c)().state.padding).attr("height",n.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(r,e),"default"===e.type&&e.descriptions.length>0&&((t,e)=>{const n=t.append("text").attr("x",2*(0,s.c)().state.padding).attr("y",(0,s.c)().state.textHeight+1.3*(0,s.c)().state.padding).attr("font-size",(0,s.c)().state.fontSize).attr("class","state-title").text(e.descriptions[0]).node().getBBox(),i=n.height,r=t.append("text").attr("x",(0,s.c)().state.padding).attr("y",i+.4*(0,s.c)().state.padding+(0,s.c)().state.dividerMargin+(0,s.c)().state.textHeight).attr("class","state-description");let a=!0,o=!0;e.descriptions.forEach((function(t){a||(function(t,e,n){const i=t.append("tspan").attr("x",2*(0,s.c)().state.padding).text(e);n||i.attr("dy",(0,s.c)().state.textHeight)}(r,t,o),o=!1),a=!1}));const c=t.append("line").attr("x1",(0,s.c)().state.padding).attr("y1",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("y2",(0,s.c)().state.padding+i+(0,s.c)().state.dividerMargin/2).attr("class","descr-divider"),u=r.node().getBBox(),l=Math.max(u.width,n.width);c.attr("x2",l+3*(0,s.c)().state.padding),t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",l+2*(0,s.c)().state.padding).attr("height",u.height+i+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(r,e);const a=r.node().getBBox();return i.width=a.width+2*(0,s.c)().state.padding,i.height=a.height+2*(0,s.c)().state.padding,o=i,c[n]=o,i;var o};let h,f=0;const d={},g=(t,e,n,c,p,b,w)=>{const y=new o.k({compound:!0,multigraph:!0});let m,v=!0;for(m=0;m<t.length;m++)if("relation"===t[m].stmt){v=!1;break}n?y.setGraph({rankdir:"LR",multigraph:!0,compound:!0,ranker:"tight-tree",ranksep:v?1:h.edgeLengthFactor,nodeSep:v?1:50,isMultiGraph:!0}):y.setGraph({rankdir:"TB",multigraph:!0,compound:!0,ranksep:v?1:h.edgeLengthFactor,nodeSep:v?1:50,ranker:"tight-tree",isMultiGraph:!0}),y.setDefaultEdgeLabel((function(){return{}})),w.db.extract(t);const x=w.db.getStates(),k=w.db.getRelations(),_=Object.keys(x);for(const t of _){const i=x[t];let r;if(n&&(i.parentId=n),i.doc){let t=e.append("g").attr("id",i.id).attr("class","stateGroup");r=g(i.doc,t,i.id,!c,p,b,w);{t=u(t,i,c);let e=t.node().getBBox();r.width=e.width,r.height=e.height+h.padding/2,d[i.id]={y:h.compositTitleSize}}}else r=l(e,i);if(i.note){const t={descriptions:[],id:i.id+"-note",note:i.note,type:"note"},n=l(e,t);"left of"===i.note.position?(y.setNode(r.id+"-note",n),y.setNode(r.id,r)):(y.setNode(r.id,r),y.setNode(r.id+"-note",n)),y.setParent(r.id,r.id+"-group"),y.setParent(r.id+"-note",r.id+"-group")}else y.setNode(r.id,r)}s.l.debug("Count=",y.nodeCount(),y);let E=0;k.forEach((function(t){var e;E++,s.l.debug("Setting edge",t),y.setEdge(t.id1,t.id2,{relation:t,width:(e=t.title,e?e.length*h.fontSizeFactor:1),height:h.labelHeight*s.e.getRows(t.title).length,labelpos:"c"},"id"+E)})),(0,a.bK)(y),s.l.debug("Graph after layout",y.nodes());const T=e.node();y.nodes().forEach((function(t){void 0!==t&&void 0!==y.node(t)?(s.l.warn("Node "+t+": "+JSON.stringify(y.node(t))),p.select("#"+T.id+" #"+t).attr("transform","translate("+(y.node(t).x-y.node(t).width/2)+","+(y.node(t).y+(d[t]?d[t].y:0)-y.node(t).height/2)+" )"),p.select("#"+T.id+" #"+t).attr("data-x-shift",y.node(t).x-y.node(t).width/2),b.querySelectorAll("#"+T.id+" #"+t+" .divider").forEach((t=>{const e=t.parentElement;let n=0,i=0;e&&(e.parentElement&&(n=e.parentElement.getBBox().width),i=parseInt(e.getAttribute("data-x-shift"),10),Number.isNaN(i)&&(i=0)),t.setAttribute("x1",0-i+8),t.setAttribute("x2",n-i-8)}))):s.l.debug("No Node "+t+": "+JSON.stringify(y.node(t)))}));let C=T.getBBox();y.edges().forEach((function(t){void 0!==t&&void 0!==y.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(y.edge(t))),function(t,e,n){e.points=e.points.filter((t=>!Number.isNaN(t.y)));const a=e.points,o=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(r.$0Z),c=t.append("path").attr("d",o(a)).attr("id","edge"+f).attr("class","transition");let u="";if((0,s.c)().state.arrowMarkerAbsolute&&(u=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,u=u.replace(/\(/g,"\\("),u=u.replace(/\)/g,"\\)")),c.attr("marker-end","url("+u+"#"+function(t){switch(t){case i.d.relationType.AGGREGATION:return"aggregation";case i.d.relationType.EXTENSION:return"extension";case i.d.relationType.COMPOSITION:return"composition";case i.d.relationType.DEPENDENCY:return"dependency"}}(i.d.relationType.DEPENDENCY)+"End)"),void 0!==n.title){const i=t.append("g").attr("class","stateLabel"),{x:r,y:a}=s.u.calcLabelPosition(e.points),o=s.e.getRows(n.title);let c=0;const u=[];let l=0,h=0;for(let t=0;t<=o.length;t++){const e=i.append("text").attr("text-anchor","middle").text(o[t]).attr("x",r).attr("y",a+c),n=e.node().getBBox();if(l=Math.max(l,n.width),h=Math.min(h,n.x),s.l.info(n.x,r,a+c),0===c){const t=e.node().getBBox();c=t.height,s.l.info("Title height",c,a)}u.push(e)}let f=c*o.length;if(o.length>1){const t=(o.length-1)*c*.5;u.forEach(((e,n)=>e.attr("y",a+n*c-t))),f=c*o.length}const d=i.node().getBBox();i.insert("rect",":first-child").attr("class","box").attr("x",r-l/2-(0,s.c)().state.padding/2).attr("y",a-f/2-(0,s.c)().state.padding/2-3.5).attr("width",l+(0,s.c)().state.padding).attr("height",f+(0,s.c)().state.padding),s.l.info(d)}f++}(e,y.edge(t),y.edge(t).relation))})),C=T.getBBox();const S={id:n||"root",label:n||"root",width:0,height:0};return S.width=C.width+2*h.padding,S.height=C.height+2*h.padding,s.l.debug("Doc rendered",S,y),S},p={setConf:function(){},draw:function(t,e,n,i){h=(0,s.c)().state;const a=(0,s.c)().securityLevel;let o;"sandbox"===a&&(o=(0,r.Ys)("#i"+e));const c="sandbox"===a?(0,r.Ys)(o.nodes()[0].contentDocument.body):(0,r.Ys)("body"),u="sandbox"===a?o.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const l=c.select(`[id='${e}']`);l.append("defs").append("marker").attr("id","dependencyEnd").attr("refX",19).attr("refY",7).attr("markerWidth",20).attr("markerHeight",28).attr("orient","auto").append("path").attr("d","M 19,7 L9,13 L14,7 L9,1 Z");const f=i.db.getRootDoc();g(f,l,void 0,!1,c,u,i);const d=h.padding,p=l.node().getBBox(),b=p.width+2*d,w=p.height+2*d,y=1.75*b;(0,s.i)(l,w,y,h.useMaxWidth),l.attr("viewBox",`${p.x-h.padding} ${p.y-h.padding} `+b+" "+w)}},b={parser:i.p,db:i.d,renderer:p,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},4284:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>D});var i=n(2990),r=n(5625),a=n(7274),o=n(8454),s=n(7644);n(7484),n(7967),n(7856),n(3771),n(9368);const c="rect",u="rectWithTitle",l="statediagram",h=`${l}-state`,f="transition",d=`${f} note-edge`,g=`${l}-note`,p=`${l}-cluster`,b=`${l}-cluster-alt`,w="parent",y="note",m="----",v=`${m}${y}`,x=`${m}${w}`,k="fill:none",_="fill: #333",E="text",T="normal";let C={},S=0;function A(t="",e=0,n="",i=m){return`state-${t}${null!==n&&n.length>0?`${i}${n}`:""}-${e}`}const M=(t,e,n,r,a,s)=>{const l=n.id,f=null==(m=r[l])?"":m.classes?m.classes.join(" "):"";var m;if("root"!==l){let e=c;!0===n.start&&(e="start"),!1===n.start&&(e="end"),n.type!==i.D&&(e=n.type),C[l]||(C[l]={id:l,shape:e,description:o.e.sanitizeText(l,(0,o.c)()),classes:`${f} ${h}`});const r=C[l];n.description&&(Array.isArray(r.description)?(r.shape=u,r.description.push(n.description)):r.description.length>0?(r.shape=u,r.description===l?r.description=[n.description]:r.description=[r.description,n.description]):(r.shape=c,r.description=n.description),r.description=o.e.sanitizeTextOrArray(r.description,(0,o.c)())),1===r.description.length&&r.shape===u&&(r.shape=c),!r.type&&n.doc&&(o.l.info("Setting cluster for ",l,L(n)),r.type="group",r.dir=L(n),r.shape=n.type===i.a?"divider":"roundedWithTitle",r.classes=r.classes+" "+p+" "+(s?b:""));const a={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:l,dir:r.dir,domId:A(l,S),type:r.type,padding:15,centerLabel:!0};if(n.note){const e={labelStyle:"",shape:"note",labelText:n.note.text,classes:g,style:"",id:l+v+"-"+S,domId:A(l,S,y),type:r.type,padding:15},i={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:r.classes,style:"",id:l+x,domId:A(l,S,w),type:"group",padding:0};S++;const o=l+x;t.setNode(o,i),t.setNode(e.id,e),t.setNode(l,a),t.setParent(l,o),t.setParent(e.id,o);let s=l,c=e.id;"left of"===n.note.position&&(s=e.id,c=l),t.setEdge(s,c,{arrowhead:"none",arrowType:"",style:k,labelStyle:"",classes:d,arrowheadStyle:_,labelpos:"c",labelType:E,thickness:T})}else t.setNode(l,a)}e&&"root"!==e.id&&(o.l.trace("Setting node ",l," to be child of its parent ",e.id),t.setParent(l,e.id)),n.doc&&(o.l.trace("Adding nodes children "),I(t,n,n.doc,r,a,!s))},I=(t,e,n,r,a,s)=>{o.l.trace("items",n),n.forEach((n=>{switch(n.stmt){case i.b:case i.D:M(t,e,n,r,a,s);break;case i.S:{M(t,e,n.state1,r,a,s),M(t,e,n.state2,r,a,s);const i={id:"edge"+S,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:k,labelStyle:"",label:o.e.sanitizeText(n.description,(0,o.c)()),arrowheadStyle:_,labelpos:"c",labelType:E,thickness:T,classes:f};t.setEdge(n.state1.id,n.state2.id,i,S),S++}}}))},L=(t,e=i.c)=>{let n=e;if(t.doc)for(let e=0;e<t.doc.length;e++){const i=t.doc[e];"dir"===i.stmt&&(n=i.value)}return n},O={setConf:function(t){const e=Object.keys(t);for(const n of e)t[n]},getClasses:function(t,e){return e.db.extract(e.db.getRootDocV2()),e.db.getClasses()},draw:async function(t,e,n,i){o.l.info("Drawing state diagram (v2)",e),C={},i.db.getDirection();const{securityLevel:u,state:h}=(0,o.c)(),f=h.nodeSpacing||50,d=h.rankSpacing||50;o.l.info(i.db.getRootDocV2()),i.db.extract(i.db.getRootDocV2()),o.l.info(i.db.getRootDocV2());const g=i.db.getStates(),p=new r.k({multigraph:!0,compound:!0}).setGraph({rankdir:L(i.db.getRootDocV2()),nodesep:f,ranksep:d,marginx:8,marginy:8}).setDefaultEdgeLabel((function(){return{}}));let b;M(p,void 0,i.db.getRootDocV2(),g,i.db,!0),"sandbox"===u&&(b=(0,a.Ys)("#i"+e));const w="sandbox"===u?(0,a.Ys)(b.nodes()[0].contentDocument.body):(0,a.Ys)("body"),y=w.select(`[id="${e}"]`),m=w.select("#"+e+" g");await(0,s.r)(m,p,["barb"],l,e),o.u.insertTitle(y,"statediagramTitleText",h.titleTopMargin,i.db.getDiagramTitle());const v=y.node().getBBox(),x=v.width+16,k=v.height+16;y.attr("class",l);const _=y.node().getBBox();(0,o.i)(y,k,x,h.useMaxWidth);const E=`${_.x-8} ${_.y-8} ${x} ${k}`;o.l.debug(`viewBox ${E}`),y.attr("viewBox",E);const T=document.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const t of T){const e=t.getBBox(),n=document.createElementNS("http://www.w3.org/2000/svg",c);n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",e.width),n.setAttribute("height",e.height),t.insertBefore(n,t.firstChild)}}},D={parser:i.p,db:i.d,renderer:O,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},1192:(t,e,n)=>{"use strict";n.d(e,{a:()=>b,f:()=>p});var i=n(5625),r=n(7274),a=n(8454),o=n(7644),s=n(3349),c=n(5971),u=n(1767);const l=(t,e)=>c.Z.lang.round(u.Z.parse(t)[e]);var h=n(1117);const f={},d=function(t,e,n,i,r,o){const c=i.select(`[id="${n}"]`);Object.keys(t).forEach((function(n){const i=t[n];let u="default";i.classes.length>0&&(u=i.classes.join(" ")),u+=" flowchart-label";const l=(0,a.k)(i.styles);let h,f=void 0!==i.text?i.text:i.id;if(a.l.info("vertex",i,i.labelType),"markdown"===i.labelType)a.l.info("vertex",i,i.labelType);else if((0,a.m)((0,a.c)().flowchart.htmlLabels)){const t={label:f.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>`<i class='${t.replace(":"," ")}'></i>`))};h=(0,s.a)(c,t).node(),h.parentNode.removeChild(h)}else{const t=r.createElementNS("http://www.w3.org/2000/svg","text");t.setAttribute("style",l.labelStyle.replace("color:","fill:"));const e=f.split(a.e.lineBreakRegex);for(const n of e){const e=r.createElementNS("http://www.w3.org/2000/svg","tspan");e.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve"),e.setAttribute("dy","1em"),e.setAttribute("x","1"),e.textContent=n,t.appendChild(e)}h=t}let d=0,g="";switch(i.type){case"round":d=5,g="rect";break;case"square":case"group":default:g="rect";break;case"diamond":g="question";break;case"hexagon":g="hexagon";break;case"odd":case"odd_right":g="rect_left_inv_arrow";break;case"lean_right":g="lean_right";break;case"lean_left":g="lean_left";break;case"trapezoid":g="trapezoid";break;case"inv_trapezoid":g="inv_trapezoid";break;case"circle":g="circle";break;case"ellipse":g="ellipse";break;case"stadium":g="stadium";break;case"subroutine":g="subroutine";break;case"cylinder":g="cylinder";break;case"doublecircle":g="doublecircle"}e.setNode(i.id,{labelStyle:l.labelStyle,shape:g,labelText:f,labelType:i.labelType,rx:d,ry:d,class:u,style:l.style,id:i.id,link:i.link,linkTarget:i.linkTarget,tooltip:o.db.getTooltip(i.id)||"",domId:o.db.lookUpDomId(i.id),haveCallback:i.haveCallback,width:"group"===i.type?500:void 0,dir:i.dir,type:i.type,props:i.props,padding:(0,a.c)().flowchart.padding}),a.l.info("setNode",{labelStyle:l.labelStyle,labelType:i.labelType,shape:g,labelText:f,rx:d,ry:d,class:u,style:l.style,id:i.id,domId:o.db.lookUpDomId(i.id),width:"group"===i.type?500:void 0,type:i.type,dir:i.dir,props:i.props,padding:(0,a.c)().flowchart.padding})}))},g=function(t,e,n){a.l.info("abc78 edges = ",t);let i,o,s=0,c={};if(void 0!==t.defaultStyle){const e=(0,a.k)(t.defaultStyle);i=e.style,o=e.labelStyle}t.forEach((function(n){s++;const u="L-"+n.start+"-"+n.end;void 0===c[u]?(c[u]=0,a.l.info("abc78 new entry",u,c[u])):(c[u]++,a.l.info("abc78 new entry",u,c[u]));let l=u+"-"+c[u];a.l.info("abc78 new link id to be used is",u,l,c[u]);const h="LS-"+n.start,d="LE-"+n.end,g={style:"",labelStyle:""};switch(g.minlen=n.length||1,"arrow_open"===n.type?g.arrowhead="none":g.arrowhead="normal",g.arrowTypeStart="arrow_open",g.arrowTypeEnd="arrow_open",n.type){case"double_arrow_cross":g.arrowTypeStart="arrow_cross";case"arrow_cross":g.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":g.arrowTypeStart="arrow_point";case"arrow_point":g.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":g.arrowTypeStart="arrow_circle";case"arrow_circle":g.arrowTypeEnd="arrow_circle"}let p="",b="";switch(n.stroke){case"normal":p="fill:none;",void 0!==i&&(p=i),void 0!==o&&(b=o),g.thickness="normal",g.pattern="solid";break;case"dotted":g.thickness="normal",g.pattern="dotted",g.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":g.thickness="thick",g.pattern="solid",g.style="stroke-width: 3.5px;fill:none;";break;case"invisible":g.thickness="invisible",g.pattern="solid",g.style="stroke-width: 0;fill:none;"}if(void 0!==n.style){const t=(0,a.k)(n.style);p=t.style,b=t.labelStyle}g.style=g.style+=p,g.labelStyle=g.labelStyle+=b,void 0!==n.interpolate?g.curve=(0,a.n)(n.interpolate,r.c_6):void 0!==t.defaultInterpolate?g.curve=(0,a.n)(t.defaultInterpolate,r.c_6):g.curve=(0,a.n)(f.curve,r.c_6),void 0===n.text?void 0!==n.style&&(g.arrowheadStyle="fill: #333"):(g.arrowheadStyle="fill: #333",g.labelpos="c"),g.labelType=n.labelType,g.label=n.text.replace(a.e.lineBreakRegex,"\n"),void 0===n.style&&(g.style=g.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),g.labelStyle=g.labelStyle.replace("color:","fill:"),g.id=l,g.classes="flowchart-link "+h+" "+d,e.setEdge(n.start,n.end,g,s)}))},p={setConf:function(t){const e=Object.keys(t);for(const n of e)f[n]=t[n]},addVertices:d,addEdges:g,getClasses:function(t,e){return e.db.getClasses()},draw:async function(t,e,n,s){a.l.info("Drawing flowchart");let c=s.db.getDirection();void 0===c&&(c="TD");const{securityLevel:u,flowchart:l}=(0,a.c)(),h=l.nodeSpacing||50,f=l.rankSpacing||50;let p;"sandbox"===u&&(p=(0,r.Ys)("#i"+e));const b="sandbox"===u?(0,r.Ys)(p.nodes()[0].contentDocument.body):(0,r.Ys)("body"),w="sandbox"===u?p.nodes()[0].contentDocument:document,y=new i.k({multigraph:!0,compound:!0}).setGraph({rankdir:c,nodesep:h,ranksep:f,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let m;const v=s.db.getSubGraphs();a.l.info("Subgraphs - ",v);for(let t=v.length-1;t>=0;t--)m=v[t],a.l.info("Subgraph - ",m),s.db.addVertex(m.id,{text:m.title,type:m.labelType},"group",void 0,m.classes,m.dir);const x=s.db.getVertices(),k=s.db.getEdges();a.l.info("Edges",k);let _=0;for(_=v.length-1;_>=0;_--){m=v[_],(0,r.td_)("cluster").append("text");for(let t=0;t<m.nodes.length;t++)a.l.info("Setting up subgraphs",m.nodes[t],m.id),y.setParent(m.nodes[t],m.id)}d(x,y,e,b,w,s),g(k,y);const E=b.select(`[id="${e}"]`),T=b.select("#"+e+" g");if(await(0,o.r)(T,y,["point","circle","cross"],"flowchart",e),a.u.insertTitle(E,"flowchartTitleText",l.titleTopMargin,s.db.getDiagramTitle()),(0,a.o)(y,E,l.diagramPadding,l.useMaxWidth),s.db.indexNodes("subGraph"+_),!l.htmlLabels){const t=w.querySelectorAll('[id="'+e+'"] .edgeLabel .label');for(const e of t){const t=e.getBBox(),n=w.createElementNS("http://www.w3.org/2000/svg","rect");n.setAttribute("rx",0),n.setAttribute("ry",0),n.setAttribute("width",t.width),n.setAttribute("height",t.height),e.insertBefore(n,e.firstChild)}}Object.keys(x).forEach((function(t){const n=x[t];if(n.link){const i=(0,r.Ys)("#"+e+' [id="'+t+'"]');if(i){const t=w.createElementNS("http://www.w3.org/2000/svg","a");t.setAttributeNS("http://www.w3.org/2000/svg","class",n.classes.join(" ")),t.setAttributeNS("http://www.w3.org/2000/svg","href",n.link),t.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===u?t.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):n.linkTarget&&t.setAttributeNS("http://www.w3.org/2000/svg","target",n.linkTarget);const e=i.insert((function(){return t}),":first-child"),r=i.select(".label-container");r&&e.append((function(){return r.node()}));const a=i.select(".label");a&&e.append((function(){return a.node()}))}}}))}},b=t=>`.label {\n font-family: ${t.fontFamily};\n color: ${t.nodeTextColor||t.textColor};\n }\n .cluster-label text {\n fill: ${t.titleColor};\n }\n .cluster-label span,p {\n color: ${t.titleColor};\n }\n\n .label text,span,p {\n fill: ${t.nodeTextColor||t.textColor};\n color: ${t.nodeTextColor||t.textColor};\n }\n\n .node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n .flowchart-label text {\n text-anchor: middle;\n }\n // .flowchart-label .text-outer-tspan {\n // text-anchor: middle;\n // }\n // .flowchart-label .text-inner-tspan {\n // text-anchor: start;\n // }\n\n .node .label {\n text-align: center;\n }\n .node.clickable {\n cursor: pointer;\n }\n\n .arrowheadPath {\n fill: ${t.arrowheadColor};\n }\n\n .edgePath .path {\n stroke: ${t.lineColor};\n stroke-width: 2.0px;\n }\n\n .flowchart-link {\n stroke: ${t.lineColor};\n fill: none;\n }\n\n .edgeLabel {\n background-color: ${t.edgeLabelBackground};\n rect {\n opacity: 0.5;\n background-color: ${t.edgeLabelBackground};\n fill: ${t.edgeLabelBackground};\n }\n text-align: center;\n }\n\n /* For html labels only */\n .labelBkg {\n background-color: ${((t,e)=>{const n=l,i=n(t,"r"),r=n(t,"g"),a=n(t,"b");return h.Z(i,r,a,.5)})(t.edgeLabelBackground)};\n // background-color: \n }\n\n .cluster rect {\n fill: ${t.clusterBkg};\n stroke: ${t.clusterBorder};\n stroke-width: 1px;\n }\n\n .cluster text {\n fill: ${t.titleColor};\n }\n\n .cluster span,p {\n color: ${t.titleColor};\n }\n /* .cluster div {\n color: ${t.titleColor};\n } */\n\n div.mermaidTooltip {\n position: absolute;\n text-align: center;\n max-width: 200px;\n padding: 2px;\n font-family: ${t.fontFamily};\n font-size: 12px;\n background: ${t.tertiaryColor};\n border: 1px solid ${t.border2};\n border-radius: 2px;\n pointer-events: none;\n z-index: 100;\n }\n\n .flowchartTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n }\n`},2990:(t,e,n)=>{"use strict";n.d(e,{D:()=>u,S:()=>c,a:()=>l,b:()=>s,c:()=>o,d:()=>B,p:()=>a,s:()=>F});var i=n(8454),r=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,2],n=[1,3],i=[1,4],r=[2,4],a=[1,9],o=[1,11],s=[1,15],c=[1,16],u=[1,17],l=[1,18],h=[1,30],f=[1,19],d=[1,20],g=[1,21],p=[1,22],b=[1,23],w=[1,25],y=[1,26],m=[1,27],v=[1,28],x=[1,29],k=[1,32],_=[1,33],E=[1,34],T=[1,35],C=[1,31],S=[1,4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],A=[1,4,5,13,14,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],M=[4,5,15,16,18,20,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],I={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,SD:6,document:7,line:8,statement:9,classDefStatement:10,cssClassStatement:11,idStatement:12,DESCR:13,"--\x3e":14,HIDE_EMPTY:15,scale:16,WIDTH:17,COMPOSIT_STATE:18,STRUCT_START:19,STRUCT_STOP:20,STATE_DESCR:21,AS:22,ID:23,FORK:24,JOIN:25,CHOICE:26,CONCURRENT:27,note:28,notePosition:29,NOTE_TEXT:30,direction:31,acc_title:32,acc_title_value:33,acc_descr:34,acc_descr_value:35,acc_descr_multiline_value:36,classDef:37,CLASSDEF_ID:38,CLASSDEF_STYLEOPTS:39,DEFAULT:40,class:41,CLASSENTITY_IDS:42,STYLECLASS:43,direction_tb:44,direction_bt:45,direction_rl:46,direction_lr:47,eol:48,";":49,EDGE_STATE:50,STYLE_SEPARATOR:51,left_of:52,right_of:53,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",6:"SD",13:"DESCR",14:"--\x3e",15:"HIDE_EMPTY",16:"scale",17:"WIDTH",18:"COMPOSIT_STATE",19:"STRUCT_START",20:"STRUCT_STOP",21:"STATE_DESCR",22:"AS",23:"ID",24:"FORK",25:"JOIN",26:"CHOICE",27:"CONCURRENT",28:"note",30:"NOTE_TEXT",32:"acc_title",33:"acc_title_value",34:"acc_descr",35:"acc_descr_value",36:"acc_descr_multiline_value",37:"classDef",38:"CLASSDEF_ID",39:"CLASSDEF_STYLEOPTS",40:"DEFAULT",41:"class",42:"CLASSENTITY_IDS",43:"STYLECLASS",44:"direction_tb",45:"direction_bt",46:"direction_rl",47:"direction_lr",49:";",50:"EDGE_STATE",51:"STYLE_SEPARATOR",52:"left_of",53:"right_of"},productions_:[0,[3,2],[3,2],[3,2],[7,0],[7,2],[8,2],[8,1],[8,1],[9,1],[9,1],[9,1],[9,2],[9,3],[9,4],[9,1],[9,2],[9,1],[9,4],[9,3],[9,6],[9,1],[9,1],[9,1],[9,1],[9,4],[9,4],[9,1],[9,2],[9,2],[9,1],[10,3],[10,3],[11,3],[31,1],[31,1],[31,1],[31,1],[48,1],[48,1],[12,1],[12,1],[12,3],[12,3],[29,1],[29,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 3:return i.setRootDoc(a[s]),a[s];case 4:this.$=[];break;case 5:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 6:case 7:case 11:this.$=a[s];break;case 8:this.$="nl";break;case 12:const t=a[s-1];t.description=i.trimColon(a[s]),this.$=t;break;case 13:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 14:const e=i.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 18:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 19:var c=a[s],u=a[s-2].trim();if(a[s].match(":")){var l=a[s].split(":");c=l[0],u=[u,l[1]]}this.$={stmt:"state",id:c,type:"default",description:u};break;case 20:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 21:this.$={stmt:"state",id:a[s],type:"fork"};break;case 22:this.$={stmt:"state",id:a[s],type:"join"};break;case 23:this.$={stmt:"state",id:a[s],type:"choice"};break;case 24:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 25:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 28:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 29:case 30:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 31:case 32:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 33:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 34:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 35:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 36:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 37:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 40:case 41:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 42:case 43:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""}}},table:[{3:1,4:e,5:n,6:i},{1:[3]},{3:5,4:e,5:n,6:i},{3:6,4:e,5:n,6:i},t([1,4,5,15,16,18,21,23,24,25,26,27,28,32,34,36,37,41,44,45,46,47,50],r,{7:7}),{1:[2,1]},{1:[2,2]},{1:[2,3],4:a,5:o,8:8,9:10,10:12,11:13,12:14,15:s,16:c,18:u,21:l,23:h,24:f,25:d,26:g,27:p,28:b,31:24,32:w,34:y,36:m,37:v,41:x,44:k,45:_,46:E,47:T,50:C},t(S,[2,5]),{9:36,10:12,11:13,12:14,15:s,16:c,18:u,21:l,23:h,24:f,25:d,26:g,27:p,28:b,31:24,32:w,34:y,36:m,37:v,41:x,44:k,45:_,46:E,47:T,50:C},t(S,[2,7]),t(S,[2,8]),t(S,[2,9]),t(S,[2,10]),t(S,[2,11],{13:[1,37],14:[1,38]}),t(S,[2,15]),{17:[1,39]},t(S,[2,17],{19:[1,40]}),{22:[1,41]},t(S,[2,21]),t(S,[2,22]),t(S,[2,23]),t(S,[2,24]),{29:42,30:[1,43],52:[1,44],53:[1,45]},t(S,[2,27]),{33:[1,46]},{35:[1,47]},t(S,[2,30]),{38:[1,48],40:[1,49]},{42:[1,50]},t(A,[2,40],{51:[1,51]}),t(A,[2,41],{51:[1,52]}),t(S,[2,34]),t(S,[2,35]),t(S,[2,36]),t(S,[2,37]),t(S,[2,6]),t(S,[2,12]),{12:53,23:h,50:C},t(S,[2,16]),t(M,r,{7:54}),{23:[1,55]},{23:[1,56]},{22:[1,57]},{23:[2,44]},{23:[2,45]},t(S,[2,28]),t(S,[2,29]),{39:[1,58]},{39:[1,59]},{43:[1,60]},{23:[1,61]},{23:[1,62]},t(S,[2,13],{13:[1,63]}),{4:a,5:o,8:8,9:10,10:12,11:13,12:14,15:s,16:c,18:u,20:[1,64],21:l,23:h,24:f,25:d,26:g,27:p,28:b,31:24,32:w,34:y,36:m,37:v,41:x,44:k,45:_,46:E,47:T,50:C},t(S,[2,19],{19:[1,65]}),{30:[1,66]},{23:[1,67]},t(S,[2,31]),t(S,[2,32]),t(S,[2,33]),t(A,[2,42]),t(A,[2,43]),t(S,[2,14]),t(S,[2,18]),t(M,r,{7:68}),t(S,[2,25]),t(S,[2,26]),{4:a,5:o,8:8,9:10,10:12,11:13,12:14,15:s,16:c,18:u,20:[1,69],21:l,23:h,24:f,25:d,26:g,27:p,28:b,31:24,32:w,34:y,36:m,37:v,41:x,44:k,45:_,46:E,47:T,50:C},t(S,[2,20])],defaultActions:{5:[2,1],6:[2,2],44:[2,44],45:[2,45]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},L={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:return 40;case 1:case 39:return 44;case 2:case 40:return 45;case 3:case 41:return 46;case 4:case 42:return 47;case 5:case 6:case 8:case 9:case 10:case 11:case 51:case 53:case 59:break;case 7:case 74:return 5;case 12:case 29:return this.pushState("SCALE"),16;case 13:case 30:return 17;case 14:case 20:case 31:case 46:case 49:this.popState();break;case 15:return this.begin("acc_title"),32;case 16:return this.popState(),"acc_title_value";case 17:return this.begin("acc_descr"),34;case 18:return this.popState(),"acc_descr_value";case 19:this.begin("acc_descr_multiline");break;case 21:return"acc_descr_multiline_value";case 22:return this.pushState("CLASSDEF"),37;case 23:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 24:return this.popState(),this.pushState("CLASSDEFID"),38;case 25:return this.popState(),39;case 26:return this.pushState("CLASS"),41;case 27:return this.popState(),this.pushState("CLASS_STYLE"),42;case 28:return this.popState(),43;case 32:this.pushState("STATE");break;case 33:case 36:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),24;case 34:case 37:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 35:case 38:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),26;case 43:this.pushState("STATE_STRING");break;case 44:return this.pushState("STATE_ID"),"AS";case 45:case 61:return this.popState(),"ID";case 47:return"STATE_DESCR";case 48:return 18;case 50:return this.popState(),this.pushState("struct"),19;case 52:return this.popState(),20;case 54:return this.begin("NOTE"),28;case 55:return this.popState(),this.pushState("NOTE_ID"),52;case 56:return this.popState(),this.pushState("NOTE_ID"),53;case 57:this.popState(),this.pushState("FLOATING_NOTE");break;case 58:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 60:return"NOTE_TEXT";case 62:return this.popState(),this.pushState("NOTE_TEXT"),23;case 63:return this.popState(),e.yytext=e.yytext.substr(2).trim(),30;case 64:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),30;case 65:case 66:return 6;case 67:return 15;case 68:return 50;case 69:return 23;case 70:return e.yytext=e.yytext.trim(),13;case 71:return 14;case 72:return 27;case 73:return 51;case 75:return"INVALID"}},rules:[/^(?:default\b)/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:[\s]+)/i,/^(?:((?!\n)\s)+)/i,/^(?:#[^\n]*)/i,/^(?:%[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:classDef\s+)/i,/^(?:DEFAULT\s+)/i,/^(?:\w+\s+)/i,/^(?:[^\n]*)/i,/^(?:class\s+)/i,/^(?:(\w+)+((,\s*\w+)*))/i,/^(?:[^\n]*)/i,/^(?:scale\s+)/i,/^(?:\d+)/i,/^(?:\s+width\b)/i,/^(?:state\s+)/i,/^(?:.*<<fork>>)/i,/^(?:.*<<join>>)/i,/^(?:.*<<choice>>)/i,/^(?:.*\[\[fork\]\])/i,/^(?:.*\[\[join\]\])/i,/^(?:.*\[\[choice\]\])/i,/^(?:.*direction\s+TB[^\n]*)/i,/^(?:.*direction\s+BT[^\n]*)/i,/^(?:.*direction\s+RL[^\n]*)/i,/^(?:.*direction\s+LR[^\n]*)/i,/^(?:["])/i,/^(?:\s*as\s+)/i,/^(?:[^\n\{]*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n\s\{]+)/i,/^(?:\n)/i,/^(?:\{)/i,/^(?:%%(?!\{)[^\n]*)/i,/^(?:\})/i,/^(?:[\n])/i,/^(?:note\s+)/i,/^(?:left of\b)/i,/^(?:right of\b)/i,/^(?:")/i,/^(?:\s*as\s*)/i,/^(?:["])/i,/^(?:[^"]*)/i,/^(?:[^\n]*)/i,/^(?:\s*[^:\n\s\-]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:[\s\S]*?end note\b)/i,/^(?:stateDiagram\s+)/i,/^(?:stateDiagram-v2\s+)/i,/^(?:hide empty description\b)/i,/^(?:\[\*\])/i,/^(?:[^:\n\s\-\{]+)/i,/^(?:\s*:[^:\n;]+)/i,/^(?:-->)/i,/^(?:--)/i,/^(?::::)/i,/^(?:$)/i,/^(?:.)/i],conditions:{LINE:{rules:[9,10],inclusive:!1},struct:{rules:[9,10,22,26,32,39,40,41,42,51,52,53,54,68,69,70,71,72],inclusive:!1},FLOATING_NOTE_ID:{rules:[61],inclusive:!1},FLOATING_NOTE:{rules:[58,59,60],inclusive:!1},NOTE_TEXT:{rules:[63,64],inclusive:!1},NOTE_ID:{rules:[62],inclusive:!1},NOTE:{rules:[55,56,57],inclusive:!1},CLASS_STYLE:{rules:[28],inclusive:!1},CLASS:{rules:[27],inclusive:!1},CLASSDEFID:{rules:[25],inclusive:!1},CLASSDEF:{rules:[23,24],inclusive:!1},acc_descr_multiline:{rules:[20,21],inclusive:!1},acc_descr:{rules:[18],inclusive:!1},acc_title:{rules:[16],inclusive:!1},SCALE:{rules:[13,14,30,31],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[45],inclusive:!1},STATE_STRING:{rules:[46,47],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[9,10,33,34,35,36,37,38,43,44,48,49,50],inclusive:!1},ID:{rules:[9,10],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,8,10,11,12,15,17,19,22,26,29,32,50,54,65,66,67,68,69,70,71,73,74,75],inclusive:!0}}};function O(){this.yy={}}return I.lexer=L,O.prototype=I,I.Parser=O,new O}();r.parser=r;const a=r,o="TB",s="state",c="relation",u="default",l="divider",h="[*]",f="start",d=h,g="color",p="fill";let b="LR",w=[],y={},m={root:{relations:[],states:{},documents:{}}},v=m.root,x=0,k=0;const _=t=>JSON.parse(JSON.stringify(t)),E=(t,e,n)=>{if(e.stmt===c)E(t,e.state1,!0),E(t,e.state2,!1);else if(e.stmt===s&&("[*]"===e.id?(e.id=n?t.id+"_start":t.id+"_end",e.start=n):e.id=e.id.trim()),e.doc){const t=[];let n,r=[];for(n=0;n<e.doc.length;n++)if(e.doc[n].type===l){const i=_(e.doc[n]);i.doc=_(r),t.push(i),r=[]}else r.push(e.doc[n]);if(t.length>0&&r.length>0){const n={stmt:s,id:(0,i.G)(),type:"divider",doc:_(r)};t.push(_(n)),e.doc=t}e.doc.forEach((t=>E(e,t,!0)))}},T=function(t,e=u,n=null,r=null,a=null,o=null,s=null,c=null){const l=null==t?void 0:t.trim();void 0===v.states[l]?(i.l.info("Adding state ",l,r),v.states[l]={id:l,descriptions:[],type:e,doc:n,note:a,classes:[],styles:[],textStyles:[]}):(v.states[l].doc||(v.states[l].doc=n),v.states[l].type||(v.states[l].type=e)),r&&(i.l.info("Setting state description",l,r),"string"==typeof r&&L(l,r.trim()),"object"==typeof r&&r.forEach((t=>L(l,t.trim())))),a&&(v.states[l].note=a,v.states[l].note.text=i.e.sanitizeText(v.states[l].note.text,(0,i.c)())),o&&(i.l.info("Setting state classes",l,o),("string"==typeof o?[o]:o).forEach((t=>D(l,t.trim())))),s&&(i.l.info("Setting state styles",l,s),("string"==typeof s?[s]:s).forEach((t=>N(l,t.trim())))),c&&(i.l.info("Setting state styles",l,s),("string"==typeof c?[c]:c).forEach((t=>P(l,t.trim()))))},C=function(t){m={root:{relations:[],states:{},documents:{}}},v=m.root,x=0,y={},t||(0,i.t)()},S=function(t){return v.states[t]};function A(t=""){let e=t;return t===h&&(x++,e=`${f}${x}`),e}function M(t="",e=u){return t===h?f:e}const I=function(t,e,n){if("object"==typeof t)!function(t,e,n){let r=A(t.id.trim()),a=M(t.id.trim(),t.type),o=A(e.id.trim()),s=M(e.id.trim(),e.type);T(r,a,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),T(o,s,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),v.relations.push({id1:r,id2:o,relationTitle:i.e.sanitizeText(n,(0,i.c)())})}(t,e,n);else{const r=A(t.trim()),a=M(t),o=function(t=""){let e=t;return t===d&&(x++,e=`end${x}`),e}(e.trim()),s=function(t="",e=u){return t===d?"end":e}(e);T(r,a),T(o,s),v.relations.push({id1:r,id2:o,title:i.e.sanitizeText(n,(0,i.c)())})}},L=function(t,e){const n=v.states[t],r=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(i.e.sanitizeText(r,(0,i.c)()))},O=function(t,e=""){void 0===y[t]&&(y[t]={id:t,styles:[],textStyles:[]});const n=y[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(g)){const t=e.replace(p,"bgFill").replace(g,p);n.textStyles.push(t)}n.styles.push(e)}))},D=function(t,e){t.split(",").forEach((function(t){let n=S(t);if(void 0===n){const e=t.trim();T(e),n=S(e)}n.classes.push(e)}))},N=function(t,e){const n=S(t);void 0!==n&&n.textStyles.push(e)},P=function(t,e){const n=S(t);void 0!==n&&n.textStyles.push(e)},B={getConfig:()=>(0,i.c)().state,addState:T,clear:C,getState:S,getStates:function(){return v.states},getRelations:function(){return v.relations},getClasses:function(){return y},getDirection:()=>b,addRelation:I,getDividerId:()=>(k++,"divider-id-"+k),setDirection:t=>{b=t},cleanupLabel:function(t){return":"===t.substring(0,1)?t.substr(2).trim():t.trim()},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3},logDocuments:function(){i.l.info("Documents = ",m)},getRootDoc:()=>w,setRootDoc:t=>{i.l.info("Setting root doc",t),w=t},getRootDocV2:()=>(E({id:"root"},{id:"root",doc:w},!0),{id:"root",doc:w}),extract:t=>{let e;e=t.doc?t.doc:t,i.l.info(e),C(!0),i.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case s:T(t.id.trim(),t.type,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles);break;case c:I(t.state1,t.state2,t.description);break;case"classDef":O(t.id.trim(),t.classes);break;case"applyClass":D(t.id.trim(),t.styleClass)}}))},trimColon:t=>t&&":"===t[0]?t.substr(1).trim():t.trim(),getAccTitle:i.g,setAccTitle:i.s,getAccDescription:i.a,setAccDescription:i.b,addStyleClass:O,setCssClass:D,addDescription:L,setDiagramTitle:i.q,getDiagramTitle:i.r},F=t=>`\ndefs #statediagram-barbEnd {\n fill: ${t.transitionColor};\n stroke: ${t.transitionColor};\n }\ng.stateGroup text {\n fill: ${t.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${t.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${t.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${t.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${t.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n\n text {\n fill: ${t.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${t.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${t.transitionLabelColor||t.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${t.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${t.specialStateColor};\n stroke: ${t.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${t.innerEndBackground};\n stroke: ${t.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${t.compositeBackground||t.background};\n // stroke: ${t.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${t.stateBkg||t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${t.mainBkg};\n stroke: ${t.stateBorder||t.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${t.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${t.compositeTitleBackground};\n stroke: ${t.stateBorder||t.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${t.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${t.stateBorder||t.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${t.compositeBackground||t.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${t.altBackground?t.altBackground:"#efefef"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${t.noteBkgColor};\n stroke: ${t.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${t.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${t.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${t.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${t.lineColor};\n stroke: ${t.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`},6281:(t,e,n)=>{"use strict";n.d(e,{d:()=>T,p:()=>o,s:()=>C});var i=n(7274),r=n(8454),a=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,16],n=[1,17],i=[1,18],r=[1,37],a=[1,38],o=[1,24],s=[1,22],c=[1,23],u=[1,29],l=[1,30],h=[1,31],f=[1,32],d=[1,33],g=[1,34],p=[1,25],b=[1,26],w=[1,27],y=[1,28],m=[1,42],v=[1,39],x=[1,40],k=[1,41],_=[1,43],E=[1,9],T=[1,8,9],C=[1,54],S=[1,55],A=[1,56],M=[1,57],I=[1,58],L=[1,59],O=[1,60],D=[1,8,9,38],N=[1,71],P=[1,8,9,12,13,21,36,38,41,58,59,60,61,62,63,64,69,71],B=[1,8,9,12,13,19,21,36,38,41,45,58,59,60,61,62,63,64,69,71,84,86,87,88,89],F=[13,84,86,87,88,89],$=[13,63,64,84,86,87,88,89],j=[13,58,59,60,61,62,84,86,87,88,89],R=[1,90],z=[1,8,9,36,38,41],q=[1,8,9,21],H={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,statements:5,graphConfig:6,CLASS_DIAGRAM:7,NEWLINE:8,EOF:9,statement:10,classLabel:11,SQS:12,STR:13,SQE:14,namespaceName:15,alphaNumToken:16,className:17,classLiteralName:18,GENERICTYPE:19,relationStatement:20,LABEL:21,namespaceStatement:22,classStatement:23,memberStatement:24,annotationStatement:25,clickStatement:26,cssClassStatement:27,noteStatement:28,direction:29,acc_title:30,acc_title_value:31,acc_descr:32,acc_descr_value:33,acc_descr_multiline_value:34,namespaceIdentifier:35,STRUCT_START:36,classStatements:37,STRUCT_STOP:38,NAMESPACE:39,classIdentifier:40,STYLE_SEPARATOR:41,members:42,CLASS:43,ANNOTATION_START:44,ANNOTATION_END:45,MEMBER:46,SEPARATOR:47,relation:48,NOTE_FOR:49,noteText:50,NOTE:51,direction_tb:52,direction_bt:53,direction_rl:54,direction_lr:55,relationType:56,lineType:57,AGGREGATION:58,EXTENSION:59,COMPOSITION:60,DEPENDENCY:61,LOLLIPOP:62,LINE:63,DOTTED_LINE:64,CALLBACK:65,LINK:66,LINK_TARGET:67,CLICK:68,CALLBACK_NAME:69,CALLBACK_ARGS:70,HREF:71,CSSCLASS:72,commentToken:73,textToken:74,graphCodeTokens:75,textNoTagsToken:76,TAGSTART:77,TAGEND:78,"==":79,"--":80,PCT:81,DEFAULT:82,SPACE:83,MINUS:84,keywords:85,UNICODE_TEXT:86,NUM:87,ALPHA:88,BQUOTE_STR:89,$accept:0,$end:1},terminals_:{2:"error",7:"CLASS_DIAGRAM",8:"NEWLINE",9:"EOF",12:"SQS",13:"STR",14:"SQE",19:"GENERICTYPE",21:"LABEL",30:"acc_title",31:"acc_title_value",32:"acc_descr",33:"acc_descr_value",34:"acc_descr_multiline_value",36:"STRUCT_START",38:"STRUCT_STOP",39:"NAMESPACE",41:"STYLE_SEPARATOR",43:"CLASS",44:"ANNOTATION_START",45:"ANNOTATION_END",46:"MEMBER",47:"SEPARATOR",49:"NOTE_FOR",51:"NOTE",52:"direction_tb",53:"direction_bt",54:"direction_rl",55:"direction_lr",58:"AGGREGATION",59:"EXTENSION",60:"COMPOSITION",61:"DEPENDENCY",62:"LOLLIPOP",63:"LINE",64:"DOTTED_LINE",65:"CALLBACK",66:"LINK",67:"LINK_TARGET",68:"CLICK",69:"CALLBACK_NAME",70:"CALLBACK_ARGS",71:"HREF",72:"CSSCLASS",75:"graphCodeTokens",77:"TAGSTART",78:"TAGEND",79:"==",80:"--",81:"PCT",82:"DEFAULT",83:"SPACE",84:"MINUS",85:"keywords",86:"UNICODE_TEXT",87:"NUM",88:"ALPHA",89:"BQUOTE_STR"},productions_:[0,[3,1],[3,1],[4,1],[6,4],[5,1],[5,2],[5,3],[11,3],[15,1],[15,2],[17,1],[17,1],[17,2],[17,2],[17,2],[10,1],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[22,4],[22,5],[35,2],[37,1],[37,2],[37,3],[23,1],[23,3],[23,4],[23,6],[40,2],[40,3],[25,4],[42,1],[42,2],[24,1],[24,2],[24,1],[24,1],[20,3],[20,4],[20,4],[20,5],[28,3],[28,2],[29,1],[29,1],[29,1],[29,1],[48,3],[48,2],[48,2],[48,1],[56,1],[56,1],[56,1],[56,1],[56,1],[57,1],[57,1],[26,3],[26,4],[26,3],[26,4],[26,4],[26,5],[26,3],[26,4],[26,4],[26,5],[26,4],[26,5],[26,5],[26,6],[27,3],[73,1],[73,1],[74,1],[74,1],[74,1],[74,1],[74,1],[74,1],[74,1],[76,1],[76,1],[76,1],[76,1],[16,1],[16,1],[16,1],[16,1],[18,1],[50,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 8:this.$=a[s-1];break;case 9:case 11:case 12:this.$=a[s];break;case 10:case 13:this.$=a[s-1]+a[s];break;case 14:case 15:this.$=a[s-1]+"~"+a[s]+"~";break;case 16:i.addRelation(a[s]);break;case 17:a[s-1].title=i.cleanupLabel(a[s]),i.addRelation(a[s-1]);break;case 26:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 27:case 28:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 29:i.addClassesToNamespace(a[s-3],a[s-1]);break;case 30:i.addClassesToNamespace(a[s-4],a[s-1]);break;case 31:this.$=a[s],i.addNamespace(a[s]);break;case 32:case 42:this.$=[a[s]];break;case 33:this.$=[a[s-1]];break;case 34:a[s].unshift(a[s-2]),this.$=a[s];break;case 36:i.setCssClass(a[s-2],a[s]);break;case 37:i.addMembers(a[s-3],a[s-1]);break;case 38:i.setCssClass(a[s-5],a[s-3]),i.addMembers(a[s-5],a[s-1]);break;case 39:this.$=a[s],i.addClass(a[s]);break;case 40:this.$=a[s-1],i.addClass(a[s-1]),i.setClassLabel(a[s-1],a[s]);break;case 41:i.addAnnotation(a[s],a[s-2]);break;case 43:a[s].push(a[s-1]),this.$=a[s];break;case 44:case 46:case 47:break;case 45:i.addMember(a[s-1],i.cleanupLabel(a[s]));break;case 48:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 49:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 50:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 51:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 52:i.addNote(a[s],a[s-1]);break;case 53:i.addNote(a[s]);break;case 54:i.setDirection("TB");break;case 55:i.setDirection("BT");break;case 56:i.setDirection("RL");break;case 57:i.setDirection("LR");break;case 58:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 59:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 60:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 61:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 62:this.$=i.relationType.AGGREGATION;break;case 63:this.$=i.relationType.EXTENSION;break;case 64:this.$=i.relationType.COMPOSITION;break;case 65:this.$=i.relationType.DEPENDENCY;break;case 66:this.$=i.relationType.LOLLIPOP;break;case 67:this.$=i.lineType.LINE;break;case 68:this.$=i.lineType.DOTTED_LINE;break;case 69:case 75:this.$=a[s-2],i.setClickEvent(a[s-1],a[s]);break;case 70:case 76:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 71:this.$=a[s-2],i.setLink(a[s-1],a[s]);break;case 72:this.$=a[s-3],i.setLink(a[s-2],a[s-1],a[s]);break;case 73:this.$=a[s-3],i.setLink(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 74:this.$=a[s-4],i.setLink(a[s-3],a[s-2],a[s]),i.setTooltip(a[s-3],a[s-1]);break;case 77:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 78:this.$=a[s-4],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 79:this.$=a[s-3],i.setLink(a[s-2],a[s]);break;case 80:this.$=a[s-4],i.setLink(a[s-3],a[s-1],a[s]);break;case 81:this.$=a[s-4],i.setLink(a[s-3],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 82:this.$=a[s-5],i.setLink(a[s-4],a[s-2],a[s]),i.setTooltip(a[s-4],a[s-1]);break;case 83:i.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:[1,6],10:5,16:35,17:19,18:36,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:e,32:n,34:i,35:20,39:r,40:21,43:a,44:o,46:s,47:c,49:u,51:l,52:h,53:f,54:d,55:g,65:p,66:b,68:w,72:y,84:m,86:v,87:x,88:k,89:_},{1:[3]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(E,[2,5],{8:[1,44]}),{8:[1,45]},t(T,[2,16],{21:[1,46]}),t(T,[2,18]),t(T,[2,19]),t(T,[2,20]),t(T,[2,21]),t(T,[2,22]),t(T,[2,23]),t(T,[2,24]),t(T,[2,25]),{31:[1,47]},{33:[1,48]},t(T,[2,28]),t(T,[2,44],{48:49,56:52,57:53,13:[1,50],21:[1,51],58:C,59:S,60:A,61:M,62:I,63:L,64:O}),{36:[1,61]},t(D,[2,35],{36:[1,63],41:[1,62]}),t(T,[2,46]),t(T,[2,47]),{16:64,84:m,86:v,87:x,88:k},{16:35,17:65,18:36,84:m,86:v,87:x,88:k,89:_},{16:35,17:66,18:36,84:m,86:v,87:x,88:k,89:_},{16:35,17:67,18:36,84:m,86:v,87:x,88:k,89:_},{13:[1,68]},{16:35,17:69,18:36,84:m,86:v,87:x,88:k,89:_},{13:N,50:70},t(T,[2,54]),t(T,[2,55]),t(T,[2,56]),t(T,[2,57]),t(P,[2,11],{16:35,18:36,17:72,19:[1,73],84:m,86:v,87:x,88:k,89:_}),t(P,[2,12],{19:[1,74]}),{15:75,16:76,84:m,86:v,87:x,88:k},{16:35,17:77,18:36,84:m,86:v,87:x,88:k,89:_},t(B,[2,97]),t(B,[2,98]),t(B,[2,99]),t(B,[2,100]),t([1,8,9,12,13,19,21,36,38,41,58,59,60,61,62,63,64,69,71],[2,101]),t(E,[2,6],{10:5,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,17:19,35:20,40:21,16:35,18:36,5:78,30:e,32:n,34:i,39:r,43:a,44:o,46:s,47:c,49:u,51:l,52:h,53:f,54:d,55:g,65:p,66:b,68:w,72:y,84:m,86:v,87:x,88:k,89:_}),{5:79,10:5,16:35,17:19,18:36,20:7,22:8,23:9,24:10,25:11,26:12,27:13,28:14,29:15,30:e,32:n,34:i,35:20,39:r,40:21,43:a,44:o,46:s,47:c,49:u,51:l,52:h,53:f,54:d,55:g,65:p,66:b,68:w,72:y,84:m,86:v,87:x,88:k,89:_},t(T,[2,17]),t(T,[2,26]),t(T,[2,27]),{13:[1,81],16:35,17:80,18:36,84:m,86:v,87:x,88:k,89:_},{48:82,56:52,57:53,58:C,59:S,60:A,61:M,62:I,63:L,64:O},t(T,[2,45]),{57:83,63:L,64:O},t(F,[2,61],{56:84,58:C,59:S,60:A,61:M,62:I}),t($,[2,62]),t($,[2,63]),t($,[2,64]),t($,[2,65]),t($,[2,66]),t(j,[2,67]),t(j,[2,68]),{8:[1,86],23:87,37:85,40:21,43:a},{16:88,84:m,86:v,87:x,88:k},{42:89,46:R},{45:[1,91]},{13:[1,92]},{13:[1,93]},{69:[1,94],71:[1,95]},{16:96,84:m,86:v,87:x,88:k},{13:N,50:97},t(T,[2,53]),t(T,[2,102]),t(P,[2,13]),t(P,[2,14]),t(P,[2,15]),{36:[2,31]},{15:98,16:76,36:[2,9],84:m,86:v,87:x,88:k},t(z,[2,39],{11:99,12:[1,100]}),t(E,[2,7]),{9:[1,101]},t(q,[2,48]),{16:35,17:102,18:36,84:m,86:v,87:x,88:k,89:_},{13:[1,104],16:35,17:103,18:36,84:m,86:v,87:x,88:k,89:_},t(F,[2,60],{56:105,58:C,59:S,60:A,61:M,62:I}),t(F,[2,59]),{38:[1,106]},{23:87,37:107,40:21,43:a},{8:[1,108],38:[2,32]},t(D,[2,36],{36:[1,109]}),{38:[1,110]},{38:[2,42],42:111,46:R},{16:35,17:112,18:36,84:m,86:v,87:x,88:k,89:_},t(T,[2,69],{13:[1,113]}),t(T,[2,71],{13:[1,115],67:[1,114]}),t(T,[2,75],{13:[1,116],70:[1,117]}),{13:[1,118]},t(T,[2,83]),t(T,[2,52]),{36:[2,10]},t(z,[2,40]),{13:[1,119]},{1:[2,4]},t(q,[2,50]),t(q,[2,49]),{16:35,17:120,18:36,84:m,86:v,87:x,88:k,89:_},t(F,[2,58]),t(T,[2,29]),{38:[1,121]},{23:87,37:122,38:[2,33],40:21,43:a},{42:123,46:R},t(D,[2,37]),{38:[2,43]},t(T,[2,41]),t(T,[2,70]),t(T,[2,72]),t(T,[2,73],{67:[1,124]}),t(T,[2,76]),t(T,[2,77],{13:[1,125]}),t(T,[2,79],{13:[1,127],67:[1,126]}),{14:[1,128]},t(q,[2,51]),t(T,[2,30]),{38:[2,34]},{38:[1,129]},t(T,[2,74]),t(T,[2,78]),t(T,[2,80]),t(T,[2,81],{67:[1,130]}),t(z,[2,8]),t(D,[2,38]),t(T,[2,82])],defaultActions:{2:[2,1],3:[2,2],4:[2,3],75:[2,31],98:[2,10],101:[2,4],111:[2,43],122:[2,34]},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},Z={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{},performAction:function(t,e,n,i){switch(n){case 0:return 52;case 1:return 53;case 2:return 54;case 3:return 55;case 4:case 5:case 14:case 29:case 34:case 38:case 45:break;case 6:return this.begin("acc_title"),30;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),32;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 19:case 22:case 24:case 56:case 59:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:case 33:return 8;case 15:case 16:return 7;case 17:case 35:case 43:return"EDGE_STATE";case 18:this.begin("callback_name");break;case 20:this.popState(),this.begin("callback_args");break;case 21:return 69;case 23:return 70;case 25:return"STR";case 26:this.begin("string");break;case 27:return this.begin("namespace"),39;case 28:case 37:return this.popState(),8;case 30:return this.begin("namespace-body"),36;case 31:case 41:return this.popState(),38;case 32:case 42:return"EOF_IN_STRUCT";case 36:return this.begin("class"),43;case 39:return this.popState(),this.popState(),38;case 40:return this.begin("class-body"),36;case 44:return"OPEN_IN_STRUCT";case 46:return"MEMBER";case 47:return 72;case 48:return 65;case 49:return 66;case 50:return 68;case 51:return 49;case 52:return 51;case 53:return 44;case 54:return 45;case 55:return 71;case 57:return"GENERICTYPE";case 58:this.begin("generic");break;case 60:return"BQUOTE_STR";case 61:this.begin("bqstring");break;case 62:case 63:case 64:case 65:return 67;case 66:case 67:return 59;case 68:case 69:return 61;case 70:return 60;case 71:return 58;case 72:return 62;case 73:return 63;case 74:return 64;case 75:return 21;case 76:return 41;case 77:return 84;case 78:return"DOT";case 79:return"PLUS";case 80:return 81;case 81:case 82:return"EQUALS";case 83:return 88;case 84:return 12;case 85:return 14;case 86:return"PUNCTUATION";case 87:return 87;case 88:return 86;case 89:return 83;case 90:return 9}},rules:[/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,/^(?:%%[^\n]*(\r?\n)*)/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:classDiagram-v2\b)/,/^(?:classDiagram\b)/,/^(?:\[\*\])/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:namespace\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:\[\*\])/,/^(?:class\b)/,/^(?:\s*(\r?\n)+)/,/^(?:\s+)/,/^(?:[}])/,/^(?:[{])/,/^(?:[}])/,/^(?:$)/,/^(?:\[\*\])/,/^(?:[{])/,/^(?:[\n])/,/^(?:[^{}\n]*)/,/^(?:cssClass\b)/,/^(?:callback\b)/,/^(?:link\b)/,/^(?:click\b)/,/^(?:note for\b)/,/^(?:note\b)/,/^(?:<<)/,/^(?:>>)/,/^(?:href\b)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:~)/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:\s*<\|)/,/^(?:\s*\|>)/,/^(?:\s*>)/,/^(?:\s*<)/,/^(?:\s*\*)/,/^(?:\s*o\b)/,/^(?:\s*\(\))/,/^(?:--)/,/^(?:\.\.)/,/^(?::{1}[^:\n;]+)/,/^(?::{3})/,/^(?:-)/,/^(?:\.)/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:\w+)/,/^(?:\[)/,/^(?:\])/,/^(?:[!"#$%&'*+,-.`?\\/])/,/^(?:[0-9]+)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\s)/,/^(?:$)/],conditions:{"namespace-body":{rules:[26,31,32,33,34,35,36,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},namespace:{rules:[26,27,28,29,30,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},"class-body":{rules:[26,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},class:{rules:[26,37,38,39,40,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},acc_descr_multiline:{rules:[11,12,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},acc_descr:{rules:[9,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},acc_title:{rules:[7,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},callback_args:{rules:[22,23,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},callback_name:{rules:[19,20,21,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},href:{rules:[26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},struct:{rules:[26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},generic:{rules:[26,47,48,49,50,51,52,53,54,55,56,57,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},bqstring:{rules:[26,47,48,49,50,51,52,53,54,55,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},string:{rules:[24,25,26,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,8,10,13,14,15,16,17,18,26,27,36,47,48,49,50,51,52,53,54,55,58,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90],inclusive:!0}}};function U(){this.yy={}}return H.lexer=Z,U.prototype=H,H.Parser=U,new U}();a.parser=a;const o=a,s=["#","+","~","-",""];class c{constructor(t,e){this.memberType=e,this.visibility="",this.classifier="";const n=(0,r.d)(t,(0,r.c)());this.parseMember(n)}getDisplayDetails(){let t=this.visibility+(0,r.v)(this.id);return"method"===this.memberType&&(t+=`(${(0,r.v)(this.parameters.trim())})`,this.returnType&&(t+=" : "+(0,r.v)(this.returnType))),t=t.trim(),{displayText:t,cssStyle:this.parseClassifier()}}parseMember(t){let e="";if("method"===this.memberType){const n=/([#+~-])?(.+)\((.*)\)([\s$*])?(.*)([$*])?/,i=t.match(n);if(i){const t=i[1]?i[1].trim():"";if(s.includes(t)&&(this.visibility=t),this.id=i[2].trim(),this.parameters=i[3]?i[3].trim():"",e=i[4]?i[4].trim():"",this.returnType=i[5]?i[5].trim():"",""===e){const t=this.returnType.substring(this.returnType.length-1);t.match(/[$*]/)&&(e=t,this.returnType=this.returnType.substring(0,this.returnType.length-1))}}}else{const n=t.length,i=t.substring(0,1),r=t.substring(n-1);s.includes(i)&&(this.visibility=i),r.match(/[*?]/)&&(e=r),this.id=t.substring(""===this.visibility?0:1,""===e?n:n-1)}this.classifier=e}parseClassifier(){switch(this.classifier){case"*":return"font-style:italic;";case"$":return"text-decoration:underline;";default:return""}}}const u="classId-";let l=[],h={},f=[],d=0,g={},p=0,b=[];const w=t=>r.e.sanitizeText(t,(0,r.c)()),y=function(t){const e=r.e.sanitizeText(t,(0,r.c)());let n="",i=e;if(e.indexOf("~")>0){const t=e.split("~");i=w(t[0]),n=w(t[1])}return{className:i,type:n}},m=function(t){const e=r.e.sanitizeText(t,(0,r.c)()),{className:n,type:i}=y(e);if(Object.hasOwn(h,n))return;const a=r.e.sanitizeText(n,(0,r.c)());h[a]={id:a,type:i,label:a,cssClasses:[],methods:[],members:[],annotations:[],domId:u+a+"-"+d},d++},v=function(t){const e=r.e.sanitizeText(t,(0,r.c)());if(e in h)return h[e].domId;throw new Error("Class not found: "+e)},x=function(t,e){m(t);const n=y(t).className,i=h[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(w(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(new c(t,"method")):t&&i.members.push(new c(t,"attribute"))}},k=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=u+n),void 0!==h[n]&&h[n].cssClasses.push(e)}))},_=function(t){let e=(0,i.Ys)(".mermaidTooltip");null===(e._groups||e)[0][0]&&(e=(0,i.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,i.Ys)(t).select("svg").selectAll("g.node").on("mouseover",(function(){const t=(0,i.Ys)(this);if(null===t.attr("title"))return;const n=this.getBoundingClientRect();e.transition().duration(200).style("opacity",".9"),e.text(t.attr("title")).style("left",window.scrollX+n.left+(n.right-n.left)/2+"px").style("top",window.scrollY+n.top-14+document.body.scrollTop+"px"),e.html(e.html().replace(/&lt;br\/&gt;/g,"<br/>")),t.classed("hover",!0)})).on("mouseout",(function(){e.transition().duration(500).style("opacity",0),(0,i.Ys)(this).classed("hover",!1)}))};b.push(_);let E="TB";const T={setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,getConfig:()=>(0,r.c)().class,addClass:m,bindFunctions:function(t){b.forEach((function(e){e(t)}))},clear:function(){l=[],h={},f=[],b=[],b.push(_),g={},p=0,(0,r.t)()},getClass:function(t){return h[t]},getClasses:function(){return h},getNotes:function(){return f},addAnnotation:function(t,e){const n=y(t).className;h[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${f.length}`,class:e,text:t};f.push(n)},getRelations:function(){return l},addRelation:function(t){r.l.debug("Adding relation: "+JSON.stringify(t)),m(t.id1),m(t.id2),t.id1=y(t.id1).className,t.id2=y(t.id2).className,t.relationTitle1=r.e.sanitizeText(t.relationTitle1.trim(),(0,r.c)()),t.relationTitle2=r.e.sanitizeText(t.relationTitle2.trim(),(0,r.c)()),l.push(t)},getDirection:()=>E,setDirection:t=>{E=t},addMember:x,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>x(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),w(t.trim())},lineType:{LINE:0,DOTTED_LINE:1},relationType:{AGGREGATION:0,EXTENSION:1,COMPOSITION:2,DEPENDENCY:3,LOLLIPOP:4},setClickEvent:function(t,e,n){t.split(",").forEach((function(t){(function(t,e,n){const i=r.e.sanitizeText(t,(0,r.c)());if("loose"!==(0,r.c)().securityLevel)return;if(void 0===e)return;const a=i;if(void 0!==h[a]){const t=v(a);let i=[];if("string"==typeof n){i=n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let t=0;t<i.length;t++){let e=i[t].trim();'"'===e.charAt(0)&&'"'===e.charAt(e.length-1)&&(e=e.substr(1,e.length-2)),i[t]=e}}0===i.length&&i.push(t),b.push((function(){const n=document.querySelector(`[id="${t}"]`);null!==n&&n.addEventListener("click",(function(){r.u.runFunc(e,...i)}),!1)}))}})(t,e,n),h[t].haveCallback=!0})),k(t,"clickable")},setCssClass:k,setLink:function(t,e,n){const i=(0,r.c)();t.split(",").forEach((function(t){let a=t;t[0].match(/\d/)&&(a=u+a),void 0!==h[a]&&(h[a].link=r.u.formatUrl(e,i),"sandbox"===i.securityLevel?h[a].linkTarget="_top":h[a].linkTarget="string"==typeof n?w(n):"_blank")})),k(t,"clickable")},getTooltip:function(t,e){return e?g[e].classes[t].tooltip:h[t].tooltip},setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(h[t].tooltip=w(e))}))},lookUpDomId:v,setDiagramTitle:r.q,getDiagramTitle:r.r,setClassLabel:function(t,e){const n=r.e.sanitizeText(t,(0,r.c)());e&&(e=w(e));const{className:i}=y(n);h[i].label=e},addNamespace:function(t){void 0===g[t]&&(g[t]={id:t,classes:{},children:{},domId:u+t+"-"+p},p++)},addClassesToNamespace:function(t,e){void 0!==g[t]&&e.map((e=>{h[e].parent=t,g[t].classes[e]=h[e]}))},getNamespace:function(t){return g[t]},getNamespaces:function(){return g}},C=t=>`g.classGroup text {\n fill: ${t.nodeBorder};\n fill: ${t.classText};\n stroke: none;\n font-family: ${t.fontFamily};\n font-size: 10px;\n\n .title {\n font-weight: bolder;\n }\n\n}\n\n.nodeLabel, .edgeLabel {\n color: ${t.classText};\n}\n.edgeLabel .label rect {\n fill: ${t.mainBkg};\n}\n.label text {\n fill: ${t.classText};\n}\n.edgeLabel .label span {\n background: ${t.mainBkg};\n}\n\n.classTitle {\n font-weight: bolder;\n}\n.node rect,\n .node circle,\n .node ellipse,\n .node polygon,\n .node path {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n stroke-width: 1px;\n }\n\n\n.divider {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\ng.clickable {\n cursor: pointer;\n}\n\ng.classGroup rect {\n fill: ${t.mainBkg};\n stroke: ${t.nodeBorder};\n}\n\ng.classGroup line {\n stroke: ${t.nodeBorder};\n stroke-width: 1;\n}\n\n.classLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${t.mainBkg};\n opacity: 0.5;\n}\n\n.classLabel .label {\n fill: ${t.nodeBorder};\n font-size: 10px;\n}\n\n.relation {\n stroke: ${t.lineColor};\n stroke-width: 1;\n fill: none;\n}\n\n.dashed-line{\n stroke-dasharray: 3;\n}\n\n.dotted-line{\n stroke-dasharray: 1 2;\n}\n\n#compositionStart, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#compositionEnd, .composition {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#dependencyStart, .dependency {\n fill: ${t.lineColor} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionStart, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: transparent !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopStart, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#lollipopEnd, .lollipop {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n.edgeTerminals {\n font-size: 11px;\n}\n\n.classTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${t.textColor};\n}\n`},3463:(t,e,n)=>{"use strict";n.d(e,{a:()=>o,b:()=>u,c:()=>c,d:()=>a,e:()=>h,f:()=>s,g:()=>l});var i=n(7967),r=n(8454);const a=(t,e)=>{const n=t.append("rect");if(n.attr("x",e.x),n.attr("y",e.y),n.attr("fill",e.fill),n.attr("stroke",e.stroke),n.attr("width",e.width),n.attr("height",e.height),void 0!==e.rx&&n.attr("rx",e.rx),void 0!==e.ry&&n.attr("ry",e.ry),void 0!==e.attrs)for(const t in e.attrs)n.attr(t,e.attrs[t]);return void 0!==e.class&&n.attr("class",e.class),n},o=(t,e)=>{const n={x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"};a(t,n).lower()},s=(t,e)=>{const n=e.text.replace(r.H," "),i=t.append("text");i.attr("x",e.x),i.attr("y",e.y),i.attr("class","legend"),i.style("text-anchor",e.anchor),void 0!==e.class&&i.attr("class",e.class);const a=i.append("tspan");return a.attr("x",e.x+2*e.textMargin),a.text(n),i},c=(t,e,n,r)=>{const a=t.append("image");a.attr("x",e),a.attr("y",n);const o=(0,i.Nm)(r);a.attr("xlink:href",o)},u=(t,e,n,r)=>{const a=t.append("use");a.attr("x",e),a.attr("y",n);const o=(0,i.Nm)(r);a.attr("xlink:href",`#${o}`)},l=()=>({x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}),h=()=>({x:0,y:0,width:100,height:100,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0})},6086:(t,e,n)=>{"use strict";n.d(e,{diagram:()=>L});var i=n(8454),r=n(7274),a=n(6500),o=n(2281),s=n(7201),c=(n(7484),n(7967),n(7856),function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[6,8,10,11,12,14,16,17,20,21],n=[1,9],i=[1,10],r=[1,11],a=[1,12],o=[1,13],s=[1,16],c=[1,17],u={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,line:7,SPACE:8,statement:9,NEWLINE:10,title:11,acc_title:12,acc_title_value:13,acc_descr:14,acc_descr_value:15,acc_descr_multiline_value:16,section:17,period_statement:18,event_statement:19,period:20,event:21,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",8:"SPACE",10:"NEWLINE",11:"title",12:"acc_title",13:"acc_title_value",14:"acc_descr",15:"acc_descr_value",16:"acc_descr_multiline_value",17:"section",20:"period",21:"event"},productions_:[0,[3,3],[5,0],[5,2],[7,2],[7,1],[7,1],[7,1],[9,1],[9,2],[9,2],[9,1],[9,1],[9,1],[9,1],[18,1],[19,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 2:case 6:case 7:this.$=[];break;case 3:a[s-1].push(a[s]),this.$=a[s-1];break;case 4:case 5:this.$=a[s];break;case 8:i.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 9:this.$=a[s].trim(),i.getCommonDb().setAccTitle(this.$);break;case 10:case 11:this.$=a[s].trim(),i.getCommonDb().setAccDescription(this.$);break;case 12:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 15:i.addTask(a[s],0,""),this.$=a[s];break;case 16:i.addEvent(a[s].substr(2)),this.$=a[s]}},table:[{3:1,4:[1,2]},{1:[3]},t(e,[2,2],{5:3}),{6:[1,4],7:5,8:[1,6],9:7,10:[1,8],11:n,12:i,14:r,16:a,17:o,18:14,19:15,20:s,21:c},t(e,[2,7],{1:[2,1]}),t(e,[2,3]),{9:18,11:n,12:i,14:r,16:a,17:o,18:14,19:15,20:s,21:c},t(e,[2,5]),t(e,[2,6]),t(e,[2,8]),{13:[1,19]},{15:[1,20]},t(e,[2,11]),t(e,[2,12]),t(e,[2,13]),t(e,[2,14]),t(e,[2,15]),t(e,[2,16]),t(e,[2,4]),t(e,[2,9]),t(e,[2,10])],defaultActions:{},parseError:function(t,e){if(!e.recoverable){var n=new Error(t);throw n.hash=e,n}this.trace(t)},parse:function(t){var e=[0],n=[],i=[null],r=[],a=this.table,o="",s=0,c=0,u=r.slice.call(arguments,1),l=Object.create(this.lexer),h={yy:{}};for(var f in this.yy)Object.prototype.hasOwnProperty.call(this.yy,f)&&(h.yy[f]=this.yy[f]);l.setInput(t,h.yy),h.yy.lexer=l,h.yy.parser=this,void 0===l.yylloc&&(l.yylloc={});var d=l.yylloc;r.push(d);var g=l.options&&l.options.ranges;"function"==typeof h.yy.parseError?this.parseError=h.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var p,b,w,y,m,v,x,k,_,E={};;){if(b=e[e.length-1],this.defaultActions[b]?w=this.defaultActions[b]:(null==p&&(_=void 0,"number"!=typeof(_=n.pop()||l.lex()||1)&&(_ instanceof Array&&(_=(n=_).pop()),_=this.symbols_[_]||_),p=_),w=a[b]&&a[b][p]),void 0===w||!w.length||!w[0]){var T;for(m in k=[],a[b])this.terminals_[m]&&m>2&&k.push("'"+this.terminals_[m]+"'");T=l.showPosition?"Parse error on line "+(s+1)+":\n"+l.showPosition()+"\nExpecting "+k.join(", ")+", got '"+(this.terminals_[p]||p)+"'":"Parse error on line "+(s+1)+": Unexpected "+(1==p?"end of input":"'"+(this.terminals_[p]||p)+"'"),this.parseError(T,{text:l.match,token:this.terminals_[p]||p,line:l.yylineno,loc:d,expected:k})}if(w[0]instanceof Array&&w.length>1)throw new Error("Parse Error: multiple actions possible at state: "+b+", token: "+p);switch(w[0]){case 1:e.push(p),i.push(l.yytext),r.push(l.yylloc),e.push(w[1]),p=null,c=l.yyleng,o=l.yytext,s=l.yylineno,d=l.yylloc;break;case 2:if(v=this.productions_[w[1]][1],E.$=i[i.length-v],E._$={first_line:r[r.length-(v||1)].first_line,last_line:r[r.length-1].last_line,first_column:r[r.length-(v||1)].first_column,last_column:r[r.length-1].last_column},g&&(E._$.range=[r[r.length-(v||1)].range[0],r[r.length-1].range[1]]),void 0!==(y=this.performAction.apply(E,[o,c,s,h.yy,w[1],i,r].concat(u))))return y;v&&(e=e.slice(0,-1*v*2),i=i.slice(0,-1*v),r=r.slice(0,-1*v)),e.push(this.productions_[w[1]][0]),i.push(E.$),r.push(E._$),x=a[e[e.length-2]][e[e.length-1]],e.push(x);break;case 3:return!0}}return!0}},l={EOF:1,parseError:function(t,e){if(!this.yy.parser)throw new Error(t);this.yy.parser.parseError(t,e)},setInput:function(t,e){return this.yy=e||this.yy||{},this._input=t,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},input:function(){var t=this._input[0];return this.yytext+=t,this.yyleng++,this.offset++,this.match+=t,this.matched+=t,t.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),t},unput:function(t){var e=t.length,n=t.split(/(?:\r\n?|\n)/g);this._input=t+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-e),this.offset-=e;var i=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),n.length-1&&(this.yylineno-=n.length-1);var r=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:n?(n.length===i.length?this.yylloc.first_column:0)+i[i.length-n.length].length-n[0].length:this.yylloc.first_column-e},this.options.ranges&&(this.yylloc.range=[r[0],r[0]+this.yyleng-e]),this.yyleng=this.yytext.length,this},more:function(){return this._more=!0,this},reject:function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):this.parseError("Lexical error on line "+(this.yylineno+1)+". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},less:function(t){this.unput(this.match.slice(t))},pastInput:function(){var t=this.matched.substr(0,this.matched.length-this.match.length);return(t.length>20?"...":"")+t.substr(-20).replace(/\n/g,"")},upcomingInput:function(){var t=this.match;return t.length<20&&(t+=this._input.substr(0,20-t.length)),(t.substr(0,20)+(t.length>20?"...":"")).replace(/\n/g,"")},showPosition:function(){var t=this.pastInput(),e=new Array(t.length+1).join("-");return t+this.upcomingInput()+"\n"+e+"^"},test_match:function(t,e){var n,i,r;if(this.options.backtrack_lexer&&(r={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(r.yylloc.range=this.yylloc.range.slice(0))),(i=t[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=i.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:i?i[i.length-1].length-i[i.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+t[0].length},this.yytext+=t[0],this.match+=t[0],this.matches=t,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(t[0].length),this.matched+=t[0],n=this.performAction.call(this,this.yy,this,e,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),n)return n;if(this._backtrack){for(var a in r)this[a]=r[a];return!1}return!1},next:function(){if(this.done)return this.EOF;var t,e,n,i;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var r=this._currentRules(),a=0;a<r.length;a++)if((n=this._input.match(this.rules[r[a]]))&&(!e||n[0].length>e[0].length)){if(e=n,i=a,this.options.backtrack_lexer){if(!1!==(t=this.test_match(n,r[a])))return t;if(this._backtrack){e=!1;continue}return!1}if(!this.options.flex)break}return e?!1!==(t=this.test_match(e,r[i]))&&t:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},lex:function(){return this.next()||this.lex()},begin:function(t){this.conditionStack.push(t)},popState:function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},_currentRules:function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},topState:function(t){return(t=this.conditionStack.length-1-Math.abs(t||0))>=0?this.conditionStack[t]:"INITIAL"},pushState:function(t){this.begin(t)},stateStackSize:function(){return this.conditionStack.length},options:{"case-insensitive":!0},performAction:function(t,e,n,i){switch(n){case 0:case 1:case 3:case 4:break;case 2:return 10;case 5:return 4;case 6:return 11;case 7:return this.begin("acc_title"),12;case 8:return this.popState(),"acc_title_value";case 9:return this.begin("acc_descr"),14;case 10:return this.popState(),"acc_descr_value";case 11:this.begin("acc_descr_multiline");break;case 12:this.popState();break;case 13:return"acc_descr_multiline_value";case 14:return 17;case 15:return 21;case 16:return 20;case 17:return 6;case 18:return"INVALID"}},rules:[/^(?:%(?!\{)[^\n]*)/i,/^(?:[^\}]%%[^\n]*)/i,/^(?:[\n]+)/i,/^(?:\s+)/i,/^(?:#[^\n]*)/i,/^(?:timeline\b)/i,/^(?:title\s[^#\n;]+)/i,/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:section\s[^#:\n;]+)/i,/^(?::\s[^#:\n;]+)/i,/^(?:[^#:\n;]+)/i,/^(?:$)/i,/^(?:.)/i],conditions:{acc_descr_multiline:{rules:[12,13],inclusive:!1},acc_descr:{rules:[10],inclusive:!1},acc_title:{rules:[8],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,6,7,9,11,14,15,16,17,18],inclusive:!0}}};function h(){this.yy={}}return u.lexer=l,h.prototype=u,u.Parser=h,new h}());c.parser=c;const u=c;let l="",h=0;const f=[],d=[],g=[],p=()=>i.K,b=function(){f.length=0,d.length=0,l="",g.length=0,(0,i.t)()},w=function(t){l=t,f.push(t)},y=function(){return f},m=function(){let t=_(),e=0;for(;!t&&e<100;)t=_(),e++;return d.push(...g),d},v=function(t,e,n){const i={id:h++,section:l,type:l,task:t,score:e||0,events:n?[n]:[]};g.push(i)},x=function(t){g.find((t=>t.id===h-1)).events.push(t)},k=function(t){const e={section:l,type:l,description:t,task:t,classes:[]};d.push(e)},_=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},E={clear:b,getCommonDb:p,addSection:w,getSections:y,getTasks:m,addTask:v,addTaskOrg:k,addEvent:x},T=Object.freeze(Object.defineProperty({__proto__:null,addEvent:x,addSection:w,addTask:v,addTaskOrg:k,clear:b,default:E,getCommonDb:p,getSections:y,getTasks:m},Symbol.toStringTag,{value:"Module"}));function C(t,e){t.each((function(){var t,n=(0,r.Ys)(this),i=n.text().split(/(\s+|<br>)/).reverse(),a=[],o=n.attr("y"),s=parseFloat(n.attr("dy")),c=n.text(null).append("tspan").attr("x",0).attr("y",o).attr("dy",s+"em");for(let r=0;r<i.length;r++)t=i[i.length-1-r],a.push(t),c.text(a.join(" ").trim()),(c.node().getComputedTextLength()>e||"<br>"===t)&&(a.pop(),c.text(a.join(" ").trim()),a="<br>"===t?[""]:[t],c=n.append("tspan").attr("x",0).attr("y",o).attr("dy","1.1em").text(t))}))}const S=function(t,e,n,i){const r=n%12-1,a=t.append("g");e.section=r,a.attr("class",(e.class?e.class+" ":"")+"timeline-node section-"+r);const o=a.append("g"),s=a.append("g"),c=s.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(C,e.width).node().getBBox(),u=i.fontSize&&i.fontSize.replace?i.fontSize.replace("px",""):i.fontSize;return e.height=c.height+1.1*u*.5+e.padding,e.height=Math.max(e.height,e.maxHeight),e.width=e.width+2*e.padding,s.attr("transform","translate("+e.width/2+", "+e.padding/2+")"),function(t,e,n){t.append("path").attr("id","node-"+e.id).attr("class","node-bkg node-"+e.type).attr("d",`M0 ${e.height-5} v${10-e.height} q0,-5 5,-5 h${e.width-10} q5,0 5,5 v${e.height-5} H0 Z`),t.append("line").attr("class","node-line-"+n).attr("x1",0).attr("y1",e.height).attr("x2",e.width).attr("y2",e.height)}(o,e,r),e},A=function(t,e,n){const i=t.append("g"),r=i.append("text").text(e.descr).attr("dy","1em").attr("alignment-baseline","middle").attr("dominant-baseline","middle").attr("text-anchor","middle").call(C,e.width).node().getBBox(),a=n.fontSize&&n.fontSize.replace?n.fontSize.replace("px",""):n.fontSize;return i.remove(),r.height+1.1*a*.5+e.padding},M=function(t,e,n,r,a,o,s,c,u,l,h){var f;for(const c of e){const e={descr:c.task,section:n,number:n,width:150,padding:20,maxHeight:o};i.l.debug("taskNode",e);const d=t.append("g").attr("class","taskWrapper"),g=S(d,e,n,s).height;if(i.l.debug("taskHeight after draw",g),d.attr("transform",`translate(${r}, ${a})`),o=Math.max(o,g),c.events){const e=t.append("g").attr("class","lineWrapper");let i=o;a+=100,i+=I(t,c.events,n,r,a,s),a-=100,e.append("line").attr("x1",r+95).attr("y1",a+o).attr("x2",r+95).attr("y2",a+o+(h?o:l)+u+120).attr("stroke-width",2).attr("stroke","black").attr("marker-end","url(#arrowhead)").attr("stroke-dasharray","5,5")}r+=200,h&&!(null==(f=s.timeline)?void 0:f.disableMulticolor)&&n++}a-=10},I=function(t,e,n,r,a,o){let s=0;const c=a;a+=100;for(const c of e){const e={descr:c,section:n,number:n,width:150,padding:20,maxHeight:50};i.l.debug("eventNode",e);const u=t.append("g").attr("class","eventWrapper"),l=S(u,e,n,o).height;s+=l,u.attr("transform",`translate(${r}, ${a})`),a=a+10+l}return a=c,s},L={db:T,renderer:{setConf:()=>{},draw:function(t,e,n,a){var o,s;const c=(0,i.c)(),u=c.leftMargin??50;i.l.debug("timeline",a.db);const l=c.securityLevel;let h;"sandbox"===l&&(h=(0,r.Ys)("#i"+e));const f=("sandbox"===l?(0,r.Ys)(h.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);f.append("g");const d=a.db.getTasks(),g=a.db.getCommonDb().getDiagramTitle();i.l.debug("task",d),f.append("defs").append("marker").attr("id","arrowhead").attr("refX",5).attr("refY",2).attr("markerWidth",6).attr("markerHeight",4).attr("orient","auto").append("path").attr("d","M 0,0 V 4 L6,2 Z");const p=a.db.getSections();i.l.debug("sections",p);let b=0,w=0,y=0,m=0,v=50+u,x=50;m=50;let k=0,_=!0;p.forEach((function(t){const e=A(f,{number:k,descr:t,section:k,width:150,padding:20,maxHeight:b},c);i.l.debug("sectionHeight before draw",e),b=Math.max(b,e+20)}));let E=0,T=0;i.l.debug("tasks.length",d.length);for(const[t,e]of d.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:w},r=A(f,n,c);i.l.debug("taskHeight before draw",r),w=Math.max(w,r+20),E=Math.max(E,e.events.length);let a=0;for(let t=0;t<e.events.length;t++){const n={descr:e.events[t],section:e.section,number:e.section,width:150,padding:20,maxHeight:50};a+=A(f,n,c)}T=Math.max(T,a)}i.l.debug("maxSectionHeight before draw",b),i.l.debug("maxTaskHeight before draw",w),p&&p.length>0?p.forEach((t=>{const e=d.filter((e=>e.section===t)),n={number:k,descr:t,section:k,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:b};i.l.debug("sectionNode",n);const r=f.append("g"),a=S(r,n,k,c);i.l.debug("sectionNode output",a),r.attr("transform",`translate(${v}, 50)`),x+=b+50,e.length>0&&M(f,e,k,v,x,w,c,0,T,b,!1),v+=200*Math.max(e.length,1),x=50,k++})):(_=!1,M(f,d,k,v,x,w,c,0,T,b,!0));const C=f.node().getBBox();i.l.debug("bounds",C),g&&f.append("text").text(g).attr("x",C.width/2-u).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),y=_?b+w+150:w+100,f.append("g").attr("class","lineWrapper").append("line").attr("x1",u).attr("y1",y).attr("x2",C.width+3*u).attr("y2",y).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.o)(void 0,f,(null==(o=c.timeline)?void 0:o.padding)??50,(null==(s=c.timeline)?void 0:s.useMaxWidth)??!1)}},parser:u,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e<t.THEME_COLOR_LIMIT;e++)t["lineColor"+e]=t["lineColor"+e]||t["cScaleInv"+e],(0,a.Z)(t["lineColor"+e])?t["lineColor"+e]=(0,o.Z)(t["lineColor"+e],20):t["lineColor"+e]=(0,s.Z)(t["lineColor"+e],20);for(let n=0;n<t.THEME_COLOR_LIMIT;n++){const i=""+(17-3*n);e+=`\n .section-${n-1} rect, .section-${n-1} path, .section-${n-1} circle, .section-${n-1} path {\n fill: ${t["cScale"+n]};\n }\n .section-${n-1} text {\n fill: ${t["cScaleLabel"+n]};\n }\n .node-icon-${n-1} {\n font-size: 40px;\n color: ${t["cScaleLabel"+n]};\n }\n .section-edge-${n-1}{\n stroke: ${t["cScale"+n]};\n }\n .edge-depth-${n-1}{\n stroke-width: ${i};\n }\n .section-${n-1} line {\n stroke: ${t["cScaleInv"+n]} ;\n stroke-width: 3;\n }\n\n .lineWrapper line{\n stroke: ${t["cScaleLabel"+n]} ;\n }\n\n .disabled, .disabled circle, .disabled text {\n fill: lightgray;\n }\n .disabled text {\n fill: #efefef;\n }\n `}return e})(t)}\n .section-root rect, .section-root path, .section-root circle {\n fill: ${t.git0};\n }\n .section-root text {\n fill: ${t.gitBranchLabel0};\n }\n .icon-container {\n height:100%;\n display: flex;\n justify-content: center;\n align-items: center;\n }\n .edge {\n fill: none;\n }\n .eventWrapper {\n filter: brightness(120%);\n }\n`}}},e={};function n(i){var r=e[i];if(void 0!==r)return r.exports;var a=e[i]={exports:{}};return t[i].call(a.exports,a,a.exports,n),a.exports}n.d=(t,e)=>{for(var i in e)n.o(e,i)&&!n.o(t,i)&&Object.defineProperty(t,i,{enumerable:!0,get:e[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(t){if("object"==typeof window)return window}}(),n.o=(t,e)=>Object.prototype.hasOwnProperty.call(t,e),n.r=t=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})};var i={};(()=>{"use strict";n.r(i),n.d(i,{default:()=>r});var t=n(8454);const e=e=>{try{return t.L.parse(e),`<div class="mermaid">${e}</div>`}catch({str:t,hash:e}){return`<pre>${t}</pre>`}},r=n=>{n.mermaid=t.L,t.L.loadPreferences=e=>{let n=e.get("mermaid-theme");void 0===n&&(n="default");let i=e.get("gantt-axis-format");return void 0===i&&(i="%Y-%m-%d"),t.L.initialize({theme:n,gantt:{axisFormatter:[[i,t=>1===t.getDay()]]}}),{"mermaid-theme":n,"gantt-axis-format":i}};const i=n.renderer.rules.fence.bind(n.renderer.rules);n.renderer.rules.fence=(t,n,r,a,o)=>{const s=t[n],c=s.content.trim();if("mermaid"===s.info)return e(c);const u=c.split(/\n/)[0].trim();return"gantt"===u||"sequenceDiagram"===u||u.match(/^graph (?:TB|BT|RL|LR|TD);?$/)?e(c):i(t,n,r,a,o)}}})(),mermaidMarkdown=i})();