/*! 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=/^.+(:|:)/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;r0)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;n1)for(s=0;si&&(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;o1;){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;ne&&(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;r1){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=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;r0)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;ic&&(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.height0&&(a+=t.horizontalPadding),t.rowWidth[n]=a,t.width0&&(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;in&&(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]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.widtha&&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;so&&(o=i[s].height);e>0&&(o+=t.verticalPadding);var c=t.rowHeight[e]+t.rowHeight[n];t.rowHeight[e]=o,t.rowHeight[n]0)for(var l=r;l<=a;l++)c[0]+=this.grid[l][o-1].length+this.grid[l][o].length-1;if(a0)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;p0&&(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;nt.length)&&(e=t.length);for(var n=0,i=new Array(e);ne?1:0},j=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n255)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=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=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;r2&&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;ue?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);rn;0<=n?e++:e--)u.push(e);return u}.apply(this).reverse()).length;ap;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;r0;){var _=m.pop(),E=b(_),T=_.id();if(h[T]=E,E!==1/0)for(var C=_.neighborhood().intersect(d),S=0;S0)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;e0;){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;SS&&(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;M1&&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;di;){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;u0?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=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.x2e.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!(tl||ef)},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=0?dc?(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=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;g0){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=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;w0){var y=Xe(p,-s);u=We(y)}else u=p}else u=n;for(var m=0;mu&&(u=e)},get:function(t){return c[t]}},h=0;h0?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;x0;){for(var T=n.pop(),C=0;C0&&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;e5&&void 0!==arguments[5]?arguments[5]:An,o=i,s=0;s=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;cn)return!1;return!0},Zn=function(t,e,n){for(var i=0;ir&&(r=e[c][u],a=u);o[a].push(t[c])}for(var l=0;l=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;bn[p.key][w.key]&&(a=n[p.key][w.key])):"max"===r.linkage?(a=n[g.key][w.key],n[g.key][w.key]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]?(n0&&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;a1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=1/0,r=e;r1&&void 0!==arguments[1]?arguments[1]:0,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:t.length,i=-1/0,r=e;ro&&(a=c,o=e[r*t+c])}a>0&&i.push(a)}for(var u=0;u=S?(A=S,S=I,M=L):I>A&&(A=I);for(var O=0;O0?1:0;E[_%u.minIterations*e+$]=j,F+=j}if(F>0&&(_>=u.minIterations-1||_==u.maxIterations-1)){for(var R=0,z=0;z0&&i.push(r);return i}(e,a,o),Z=function(t,e,n){for(var i=ui(t,e,n),r=0;rc&&(s=u,c=l)}n[r]=a[s]}return ui(t,e,n)}(e,i,H),U={},Y=0;Y1||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;t0: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-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-1&&t%1==0&&t0&&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;a0&&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=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;n0&&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;a1&&a=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=t0;){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;r1&&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;oe})),minIndegree:Ka("indegree",(function(t,e){return te})),minOutdegree:Ka("outdegree",(function(t,e){return te}))}),j(Ya,{totalDegree:function(t){for(var e=0,n=this.nodes(),i=0;i0,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;f0,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;it.x2?i:t.x2,t.y1=nt.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)<(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(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;r0&&void 0!==arguments[0]?arguments[0]:So,e=arguments.length>1?arguments[1]:void 0,n=0;n=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;n1&&!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=0;e--)t(this[e])&&this.unmergeAt(e);return this},map:function(t,e){for(var n=[],i=this,r=0;ri&&(i=s,n=o)}return{value:i,ele:n}},min:function(t,e){for(var n,i=1/0,r=this,a=0;a=0&&r1&&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;r0&&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;n0);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;c0&&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;u0){for(var F=t.length===r.length?r:new ls(a,t),$=0;$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;n0&&(t?_.emitAndNotify("remove"):e&&_.emit("remove"));for(var E=0;E=.001?function(e,i){for(var a=0;a0?r=c:i=c}while(Math.abs(s)>a&&++uh&&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;u0?("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=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;o0?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;i0;)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;i0;if(f||h&&d){var g=void 0;f&&d||f?g=u.properties:d&&(g=u.mappedProperties);for(var p=0;p1&&(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;N0&&a>0){for(var s={},c=!1,u=0;u0?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;ae.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=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;A0?" ":"")+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;ih.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;Z0&&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)=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)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;t0,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;h0;){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;P0&&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;h1&&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;l0&&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;E1&&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=t.numIter||(gc(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature=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;u0)for(o.graphSet.push(k),u=0;ui.count?0:i.graph},lc=function t(e,n,i,r){var a=r.graphSet[i];if(-10)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&&0n?(u.x=i,u.y=r+a/2,u):0e&&-1*c<=s&&s<=c?(u.x=i-o/2,u.y=r-o*n/2/e,u):0=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;n1){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(0n)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.padLeftr.maxY)&&(r.maxY=e.maxY+r.padBottom,a=!0),(null==r.minY||e.minY-r.padTopg&&(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?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=u&&(L=0,I++)},D={},N=0;N(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(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;h0?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)=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=bf.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;_0){var q=u,H=Me(q,Ee(e)),Z=Me(q,Ee(z)),U=H;Z2&&Me(q,{x:z[2],y:z[3]})0){var rt=l,at=Me(rt,Ee(e)),ot=Me(rt,Ee(it)),st=at;ot2&&Me(rt,{x:it[2],y:it[3]})=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=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;pl){for(var m=b.split(d),v="",x=0;xE);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;p1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i=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=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;j0&&!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&&x2){for(var A=[u[0],u[1]],M=Math.pow(A[0]-t,2)+Math.pow(A[1]-e,2),I=1;I0)return p[0]}return null},f=Object.keys(l),d=0;d0?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=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;w0&&(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.usedWidthi;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=.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=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=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;e16e6)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=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;r0)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;i0){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;r3&&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+35&&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;n2&&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;z0&&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;_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;o0&&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;ro.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;c0&&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=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()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)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-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;n1?n-1:0),r=1;r2&&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=""+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Xt&&Yt===Ut&&(t=''+t+"");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&>["!doctype"]&&n.ownerDocument&&n.ownerDocument.doctype&&n.ownerDocument.doctype.name&&m(U,n.ownerDocument.doctype.name)&&(h="\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;o0&&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.a0&&((!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.a0&&((!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=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,o1?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;r0}(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;ae&&e0)){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())))||i0}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.ae?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=97&&i<=122||i>=65&&i<=90){for(o=a+1;o=u)throw lw(new Xm("Missing trailing '"));o+11)throw lw(new Xm(UFt));for(l=bgt(t.e.Tg(),e),i=VP(t.g,119),o=0;o0),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.a1||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>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>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>>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;hs?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)),rs?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;nt||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=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.c0?(bnt(t,n,0),n.a+=String.fromCharCode(i),bnt(t,n,r=het(e,a)),a+=r-1):39==i?a+1=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;n0;)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(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.b0?(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=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)>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;a0&&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=0&&p=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||en)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.a2e3&&(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;n0}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;n0&&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;ot.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=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.a0;)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;re)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;ot.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=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=r){for(o=1;on||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(;n0?(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=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]=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;rt.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=0&&e=-.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>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>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=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=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();n0?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.c0&&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;i0?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.a0&&(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.aa&&e.b0||l.j==Hie&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new wd(l.g);r.a=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;i1||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>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=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=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>=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.an&&(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;n1||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=t.b.c.length||(f6(t,2*e+1),(n=2*e+2)=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;n0)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.ieOt?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.dr&&(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=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;n0&&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;sn)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.ae?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>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>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>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>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:te?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>>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=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;o0&&(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();eASt,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;nc.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>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)&&r0&&(e.lengtht.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>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]<=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.ae?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:te?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:te?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++];noTt)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.ee.d?t.e:t.d=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=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.a2&&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.a0&&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_&&(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=(r=t.length))return r;for(e=e>0?e:0;ei&&BR(e,i,null),e}function Zet(t,e){var n,i;for(i=t.a.length,e.lengthi&&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>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=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>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.a0&&(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=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.an.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=0)return i;if(t.Fk())for(n=0;n=(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.a0),(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;n0)for(i=new uP(VP(jW(t.a,a),21)),Gq(),QM(i,new cg(e)),r=new QY(a.b,0);r.b1&&(r=function(t,e){var n,i,r;for(n=qL(new ny,t),r=new wd(e);r.a(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;aQLt;){for(o=e,s=0;n.Math.abs(e-o)0),a.a.Xb(a.c=--a.b),ayt(t,t.b-s,o,r,a),CO(a.b0),r.a.Xb(r.c=--r.b)}if(!t.d)for(i=0;i102?-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.a0||!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=0){for(c=null,s=new QY(l.a,u+1);s.b0&&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.ax)?(u=2,s=Qkt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_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),oa&&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.b0&&(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;e0?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;r0&&(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>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;n0?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>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.an.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;roTt)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>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>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.a0?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.a0)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;i0&&(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=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;n0&&(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;c0?t.i:0)),++e;for(function(t,e){var n,i;for(yz(e),n=!1,i=new wd(t);i.a1||-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.a0&&Prt(this,this.c-1,(Mxt(),_ie)),this.c0&&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=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=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=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.a0&&lmt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;ra&&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=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())=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=(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;ni&&(DU(e-1,t.length),t.charCodeAt(e-1)<=32);)--e;return i>0||e1&&(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;i0&&(t.a[H.p]=Q++)}for(it=0,N=0,F=(L=i).length;N0;){for(CO(G.b>0),Y=0,c=new wd((H=VP(G.a.Xb(G.c=--G.b),11)).e);c.a0&&(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;Ol.b&&(l.b=K)):H.i.c==V&&(Kl.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;y0;)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;xED(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,ec&&(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<>22-e,r=t.h<>22-e):e<44?(n=0,i=t.l<>44-e):(n=0,i=0,r=t.l<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;r0&&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+11&&(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(ii&&(t.a=i),t.br&&(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=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;o0&&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=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=(r/2|0))for(this.e=i?i.c:null,this.d=r;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=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&&s0&&58==Gz(l,l.length-1)&&(r=l,s=c)),s0&&(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;en.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;re&&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||e=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;i0)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(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=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=o.gc()))o.$b();else for(r=o.Kc(),i=0;i0&&(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;r0&&(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=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>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;c0?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>5),15,1))[n]=1<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=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.ae.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.a0?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=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.a1?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=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>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>16)),15).Xc(a))>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.a0&&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=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;n0&&(r=n),o=new wd(t.f.e);o.a0&&a0):a<0&&-a0)}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=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;s0&&++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=0)return r;for(a=1,o=new wd(e.j);o.a0&&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<=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>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;s0&&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=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.a0&&(i.b.n-=i.c,i.b.n<=0&&i.b.u>0&&$B(e,i.b));for(r=new wd(t.i);r.a0&&(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=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))0),a.a.Xb(a.c=--a.b),JD(a,r),CO(a.b0);n++);if(n>0&&n0);e++);return e>0&&n>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),r0&&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.ai.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>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=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;u1&&(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.a0&&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;au&&(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&&sc-t.a&&se.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.a0&&++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;r0&&(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=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.a0){for(cv(t.c);Qht(t,VP(qU(new wd(t.e.a)),121))>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>>r|n[o+i+1]<>>r,++o}}(r=WX(Kce,CEt,25,a+1,15,1),a,t.a,i,e),t.e<0){for(n=0;n0&&t.a[n]<<32-e!=0){for(n=0;n=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>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.a0&&(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)])),o1;)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.at.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=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.aDOt?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;t1&&(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=0;--i)for(e=n[i],r=0;r>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;n0)if(t.qj(),null!=e){for(a=0;a0&&(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>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=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=or.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.ba.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.a0&&e0?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.a1||-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;rt.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=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.ar.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.a1&&(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();s0){for(r=c.length;r>0&&""==c[r-1];)--r;r=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.a0,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.a0&&$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=0&&c0&&(DU(0,t.length),45==t.charCodeAt(0)||(DU(0,t.length),43==t.charCodeAt(0)))?1:0;in)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]=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;e0&&(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>>31;0!=i&&(t[n]=i)}(n,n,e<<1),i=0,r=0,o=0;ru)&&(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.a0)if(r=VP(t.Ab.g,1934),null==e){for(a=0;a1)for(i=new wd(r);i.ai.s&&c=0&&u>=0&&co)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.ao.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.at.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.fe.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:i0&&(s=sJ(s,Byt(r))),set(o,s))):a0&&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;e0&&(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;r0){for(s=0;s>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.bn);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;s0&&(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=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.aC.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-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=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;e0&&($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.a0&&(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.bQLt)return n;i>-1e-6&&++n}return n}(t,n),s=0;s0),i.a.Xb(i.c=--i.b),l>h+s&&lz(i);for(a=new wd(f);a.a0),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;u0&&(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;co&&(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.ao&&(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.a1)for(i=tnt(r,0);i.b!=i.d.c;)for(a=0,s=new wd((n=VP(AG(i),231)).e);s.a0&&(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=0&&a!=n)throw lw(new Xm(kPt));for(r=0,c=0;c0||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.aev(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>>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=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;o1||-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.a1)););(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.au&&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=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=0&&!Pit(t,l,h);)--h;r[l]=h}for(d=0;d=0&&!Pit(t,s,g);)--s;a[g]=s}for(c=0;ce[f]&&fi[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;r0?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=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=(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;s0?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)&&ei;)BR(a,s,l[--e]);else for(s=i+r;i0&&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?(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]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)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;at.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=t.b[r+1])r+=2;else{if(!(n=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;r0&&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.a0&&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.a1&&(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=n.Math.abs(r.b)?(r.b=0,o.d+o.a>s.d&&o.ds.c&&o.c0){if(e=new XS(t.i,t.g),a=(n=t.i)<100?null:new _x(n),t.ij())for(i=0;i0){for(s=t.g,u=t.i,PW(t),a=u<100?null:new _x(u),i=0;i4){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;r0)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;i2*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)/21&&(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;as[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.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<>>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.ce.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=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=0?t._g(u,!1,!0):nht(t,n,!1),58).Kc();a.Ob();){for(r=VP(a.Pb(),56),l=0;l=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=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();o1,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-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.a0&&(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;o0?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=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.a1)for(p=WX(Kce,CEt,25,t.b.b.c.length,15,1),h=0,l=new wd(t.b.b);l.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(!(ctEt)&&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=2){for(o=VP(AG(c=tnt(n,0)),8),s=VP(AG(c),8);s.a0&&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.at.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.at.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=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=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-1){for(a=new wd(s);a.a0||(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.an))}(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=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(!(c0?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.b0&&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.alQ(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=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))>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.a0)?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.p0&&(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.ao?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:0s?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;b0?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/f0&&(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=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=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.atTt||e.o==m4t&&lr.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;a0&&(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;y1)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;r0&&(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=0&&o0&&(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;tr+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;a0){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)+(i3;)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=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=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.ag&&(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)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,_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.aE.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=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;ou&&(i.a+=AI(WX(Gce,lEt,25,-u,15,1))),i.a+="Is",WA(c,wst(32))>=0)for(r=0;r=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.a0){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=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=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=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=cot(t,n))?vbt(t,e,n):vbt(t,n,e),ro?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),ia?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=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;au&&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.ab&&(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)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.aa&&(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=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=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.a0)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=48&&e<=57))throw lw(new gv(jkt((ZM(),uBt))));for(i=e-48;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=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.a0,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.a1)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:Ax+g?b=x+g:Mv-m&&px-g&&bA+S?_=A+S:vM+k?E=M+k:xA-S&&_M-k&&Ei&&(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;c0;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.a1&&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=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)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=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.ao)&&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_[u]&&(p=u),h=new wd(t.a.b);h.aOft(o))&&(f=o);for(!f&&(OU(0,b.c.length),f=VP(b.c[0],180)),p=new wd(e.b);p.a=-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··ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁːˑ̀͠͡ͅΆΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁ҃҆ҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆֹֻֽֿֿׁׂ֑֣֡ׄׄאתװײءغـْ٠٩ٰڷںھۀێېۓە۪ۭۨ۰۹ँःअह़्॑॔क़ॣ०९ঁঃঅঌএঐওনপরললশহ়়াৄেৈো্ৗৗড়ঢ়য়ৣ০ৱਂਂਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹ਼਼ਾੂੇੈੋ੍ਖ਼ੜਫ਼ਫ਼੦ੴઁઃઅઋઍઍએઑઓનપરલળવહ઼ૅેૉો્ૠૠ૦૯ଁଃଅଌଏଐଓନପରଲଳଶହ଼ୃେୈୋ୍ୖୗଡ଼ଢ଼ୟୡ୦୯ஂஃஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹாூெைொ்ௗௗ௧௯ఁఃఅఌఎఐఒనపళవహాౄెైొ్ౕౖౠౡ౦౯ಂಃಅಌಎಐಒನಪಳವಹಾೄೆೈೊ್ೕೖೞೞೠೡ೦೯ംഃഅഌഎഐഒനപഹാൃെൈൊ്ൗൗൠൡ൦൯กฮะฺเ๎๐๙ກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະູົຽເໄໆໆ່ໍ໐໙༘༙༠༩༹༹༵༵༷༷༾ཇཉཀྵ྄ཱ྆ྋྐྕྗྗྙྭྱྷྐྵྐྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼ⃐⃜⃡⃡ΩΩKÅ℮℮ↀↂ々々〇〇〡〯〱〵ぁゔ゙゚ゝゞァヺーヾㄅㄬ一龥가힣"),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 '(? 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ÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",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.b0},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=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;e0&&(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=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.lengthe&&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>>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.an.d.c||n.d.c==r.d.c&&n.d.b0?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;i0?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;i0&&(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),r0?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&&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;r0&&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 t0?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.a0},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.ai?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.ad&&(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.a0&&f7((DU(e-1,t.length),t.charCodeAt(e-1)),TAt);)--e;if(r> ",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.a0&&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=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;h0),b.a.Xb(b.c=--b.b),JD(b,E=new HR(t.b)),CO(b.b=2){for(d=!0,n=VP(qU(l=new wd(r.j)),11),h=null;l.a0)}(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.ae.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.a1)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=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.a0?C+1:1);for(o=new wd(x.g);o.a0?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=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;ut.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.a0&&iut(t,s,l);for(r=new wd(l);r.a=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.ae.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"),t0?BZ(this.a,t[e-1],t[e]):!n&&e0&&(n+=c.n.a+c.o.a/2,++h),d=new wd(c.j);d.a0&&(n/=h),b=WX(Qce,aTt,25,i.a.c.length,15,1),s=0,u=new wd(i.a);u.a1&&(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.a1&&(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.ee.e?1:t.fe.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.ce.c?1:t.be.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.a1},_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.a0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d0&&(x-=p),Vmt(s,x),f=0,g=new wd(s.a);g.a0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.b"+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.aASt&&(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.aASt&&(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.aASt&&(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.a0?(l=0,w&&(l+=c),l+=(T-1)*s,m&&(l+=c),E&&m&&(l=n.Math.max(l,hgt(m,s,y,_))),l("+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.af&&(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"+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.apOt&&(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:ao?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.ai?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.a1)for(i=new wd(t.a);i.a>>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;n0&&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;e0&&(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.a0&&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>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)=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>>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;t10?(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;an)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=(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;nn)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=(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.lengthn&&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"+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=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=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;e4){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;i1||-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=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.lengthr&&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>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>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;e0;)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;ti&&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;e1);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>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>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;n0){if(DU(0,t.length),47==t.charCodeAt(0)){for(a=new wX(4),r=1,e=1;e0&&(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;on?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=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;s1)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;i0)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 t16*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)throw lw(new gv(jkt((ZM(),FPt))));if(45==e){for(++this.d;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;e0&&(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;e0&&(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)+")"}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=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=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;t0&&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;ne&&(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-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(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(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(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=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=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]o)return n[0]=i,n[1]=c,n[2]=a,n[3]=m,!1;if(ra)return n[0]=s,n[1]=r,n[2]=w,n[3]=o,!1;if(ia?(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)),n0?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;n0&&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-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;r0){for(var r=this.edgeToDummyNodes.get(n),a=0;a=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;ur.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;n0&&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=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=s.length||u>=s[0].length))for(var l=0;lt}}]),t}();t.exports=a},function(t,e,n){"use strict";var i=function(){function t(t,e){for(var n=0;n2&&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=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{"use strict";function i(t){for(var e=[],n=1;ni})},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)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n=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;se?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=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=x&&(x=v+1);!(m=w[x])&&++x=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;a1?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=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{}};function Dt(){for(var t,e=0,n=arguments.length,i={};e=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(;++o0)for(var n,i,r=new Array(n),a=0;a=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]):+uae)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*i180?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>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*(n0&&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=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=ia&&(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=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;a2&&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;afunction(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,0180||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/ue&&--c,u=-u):(u=Math.pow(10,r)*o,s=Math.round(t/u),c=Math.round(e/u),s*ue&&--c),ce?1:t>=e?0:NaN}function gi(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function pi(t){let e,n,i;function r(t,i,r=0,a=t.length){if(r>>1;n(t[e],i)<0?r=e+1:a=e}while(rdi(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>>1;n(t[e],i)<=0?r=e+1:a=e}while(re&&(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=r))return[];const s=a-r+1,c=new Array(s);if(i)if(o<0)for(let t=0;t0;){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;i0&&(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(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>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(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),!(n0))return o;let s;do{o.push(s=new Date(+n)),e(n,a),t(n)}while(slr((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]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[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)=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));++s53)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=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=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;eBo)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()),dMo)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(b1?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),IMo&&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),Mt?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;s0&&(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;s0?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=0;--e)r[e]=(o[e]-r[e+1])/a[e];for(a[i-1]=(t[i]+r[i-1])/2,e=0;e=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;++ie};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 tMath.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)-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={};++ie||a&&o&&c&&!s&&!u||i&&o&&c||!n&&c||!r)return 1;if(!i&&!a&&!u&&t=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;i0;)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.barycentere.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;!(os)&&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&&ec||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=2);var d=Jt(t,o=j(t));d{"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-1},w=function(t,e,n){for(var i=-1,r=null==t?0:t.length;++i=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(;++i1?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+(ee>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-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{"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{"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{"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{"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{"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{"use strict";n.d(e,{Z:()=>i});const i=function(t,e){for(var n=-1,i=e.length,r=t.length;++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{"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{"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=[]);++s0&&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{"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;++nl))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{"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{"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{"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{"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{"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{"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{"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{"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{"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{"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{"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;ae[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>"),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&&nr?f=new j(n,s):n==r&&ia&&(f=new j(o,i)),n>r&&i=l?new j(n,s+l*t.width/2):new j(o-c/u*t.height/2,i+t.height):n=l?new j(n+t.width,s+l*t.width/2):new j(o+c/u*t.height/2,i+t.height):na?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=''+t.text+""):(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(;++rr?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);o0?(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(;++na))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;ti;){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=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-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=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)?l999||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++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;++f13&&n<32||n>126&&n<160||n>55295&&n<57344||n>64975&&n<65008||65535==(65535&n)||65534==(65535&n)||n>1114111?"�":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(;++c0){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{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,"
"):"strong"===e.type?`${e.children.map(t).join("")}`:"emphasis"===e.type?`${e.children.map(t).join("")}`:"paragraph"===e.type?`

${e.children.map(t).join("")}

`:`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 "+s+""),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=>``)),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,"
"),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('"+i+""),(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=>``)),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|/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(/]*>/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.x0}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;l1&&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 at?" "+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("
"):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{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.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+="<"+e.classData.type+">":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,">"));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,">"));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.xMath.abs(r-e.x)*u){let t=n.y{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<>>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>>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;ae[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;ae[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/)&&(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")),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;t2e3)return;if(U[Z]=e,g[e].id===t)return{result:!0,count:0};let i=0,r=1;for(;i=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{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;ae[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{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[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;ie.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:nd)&&(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`\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;ae[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|/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].seq0)(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.ya.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.ya.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;ae[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;ae[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(//gi);for(let t=0;t3?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(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;i0?C(F,--P):0,D--,10===B&&(D=1,O--),B}function R(){return B=P2||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;p0?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=//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,">")).replace(/=/g,"="),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,"
"),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;t0&&t+1Math.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[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[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[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[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[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{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=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{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},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{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;ns&&(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=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;n64)){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>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>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>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(e1&&(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.lineIndente?g=1:t.lineIndent===e?g=0:t.lineIndente?g=1:t.lineIndent===e?g=0:t.lineIndente)&&(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=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.lineIndentu&&(u=t.lineIndent),Ki(a))l++;else{if(t.lineIndent0){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"),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.positiont.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(/
/g,"
"),i})(L,m,dt(f.arrowMarkerAbsolute)),m?L=((t="",e)=>{var n,i;return``})(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(//gi,"
");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;ae[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{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(/()/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{"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;ae[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;ae[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;ae[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",["<>",`${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)&&(n=e);else{let i=-1;for(let r of t)null!=(r=e(r,++i,t))&&(n=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;ae[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;t0))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(;i1e-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(t.y1+t.y0)/2)).attr("dy",(O?"0":"0.35")+"em").attr("text-anchor",(t=>t.x0O?`${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;ae[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>-",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(/&/g,"&"),t=t.replace(/=/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(/&/g,"&"),s=s.replace(/=/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;tn?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{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,rt.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{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.xfunction(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&<(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`.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)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,"
");o=o.replace(/\n/g,"
");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{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.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=>``))};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`.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;ae[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,/^(?:.*<>)/i,/^(?:.*<>)/i,/^(?:.*<>)/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;n0&&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;ae[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(/<br\/>/g,"
")),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{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;ae[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+|
)/).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;re||"
"===t)&&(a.pop(),c.text(a.join(" ").trim()),a="
"===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;t0?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{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),`
${e}
`}catch({str:t,hash:e}){return`
${t}
`}},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})();