/*! For license information please see vendor-677e88ca78c86bddf13d.js.LICENSE.txt */ (self.webpackChunkExcalidrawLib=self.webpackChunkExcalidrawLib||[]).push([[4736],{5030:function(t,e){"use strict";e.K=void 0;e.K=function(t,e){void 0===e&&(e={listUnicodeChar:""}),(e=e||{}).listUnicodeChar=!!e.hasOwnProperty("listUnicodeChar")&&e.listUnicodeChar,e.stripListLeaders=!e.hasOwnProperty("stripListLeaders")||e.stripListLeaders,e.gfm=!e.hasOwnProperty("gfm")||e.gfm,e.useImgAltText=!e.hasOwnProperty("useImgAltText")||e.useImgAltText,e.preserveLinks=!!e.hasOwnProperty("preserveLinks")&&e.preserveLinks;var n=t||"";n=n.replace(/^(-\s*?|\*\s*?|_\s*?){3,}\s*$/gm,"");try{e.stripListLeaders&&(n=e.listUnicodeChar?n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,e.listUnicodeChar+" $1"):n.replace(/^([\s\t]*)([\*\-\+]|\d+\.)\s+/gm,"$1")),e.gfm&&(n=n.replace(/\n={2,}/g,"\n").replace(/~{3}.*\n/g,"").replace(/~~/g,"").replace(/`{3}.*\n/g,"")),e.preserveLinks&&(n=n.replace(/\[(.*?)\][\[\(](.*?)[\]\)]/g,"$1 ($2)")),n=n.replace(/<[^>]*>/g,"").replace(/^[=\-]{2,}\s*$/g,"").replace(/\[\^.+?\](\: .*?$)?/g,"").replace(/\s{0,2}\[.*?\]: .*?$/g,"").replace(/\!\[(.*?)\][\[\(].*?[\]\)]/g,e.useImgAltText?"$1":"").replace(/\[(.*?)\][\[\(].*?[\]\)]/g,"$1").replace(/^\s{0,3}>\s?/g,"").replace(/(^|\n)\s{0,3}>\s?/g,"\n\n").replace(/^\s{1,2}\[(.*?)\]: (\S+)( ".*?")?\s*$/g,"").replace(/^(\n)?\s{0,}#{1,6}\s+| {0,}(\n)?\s{0,}#{0,} {0,}(\n)?\s{0,}$/gm,"$1$2$3").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/([\*_]{1,3})(\S.*?\S{0,1})\1/g,"$2").replace(/(`{3,})(.*?)\1/gm,"$2").replace(/`(.+?)`/g,"$1").replace(/\n{2,}/g,"\n\n")}catch(e){return console.error(e),t}return n}},7122: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: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},m.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},m.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))},m.radialLayout=function(t,e,n){var i=Math.max(this.maxDiagonalInTree(t),c.DEFAULT_RADIAL_SEPARATION);m.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 y=l.indexOf(w);y>=0&&l.splice(y,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,A=(_+v)%360;m.branchRadialLayout(k,t,_,A,r+a,a),d++}}},m.maxDiagonalInTree=function(t){for(var e=g.MIN_VALUE,n=0;ne&&(e=i)}return e},m.prototype.calcRepulsionRange=function(){return 2*(this.level+1)*this.idealEdgeLength},m.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)}},m.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)}))},m.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},m.prototype.getNodeDegree=function(t){t.id;for(var e=t.getEdges(),n=0,i=0;ic&&(c=l.rect.height)}n+=c+t.verticalPadding}},m.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}))},m.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)},m.prototype.getShortestRowIndex=function(t){for(var e=-1,n=Number.MAX_VALUE,i=0;in&&(e=i,n=t.rowWidth[i]);return e},m.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(7122))},87: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},V=function(t,e){return-1*X(t,e)},Q=null!=Object.assign?Object.assign.bind(Object):function(t){for(var e=arguments,n=1;n1&&(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("^"+Y+"$").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},et=function(t){var e,n=new RegExp("^"+U+"$").exec(t);if(n){e=[];for(var i=[],r=1;r<=3;r++){var a=n[r];if("%"===a[a.length-1]&&(i[r]=!0),a=parseFloat(a),i[r]&&(a=a/100*255),a<0||a>255)return;e.push(Math.floor(a))}var o=i[1]||i[2]||i[3],s=i[1]&&i[2]&&i[3];if(o&&!s)return;var c=n[4];if(void 0!==c){if((c=parseFloat(c))<0||c>1)return;e.push(c)}}return e},nt=function(t){return rt[t.toLowerCase()]},it=function(t){return(x(t)?t:null)||nt(t)||J(t)||et(t)||tt(t)},rt={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]},at=function(t){for(var e=t.map,n=t.keys,i=n.length,r=0;r=e||n<0||h&&t-u>=a}function w(){var t=gt();if(b(t))return m(t);s=setTimeout(w,p(t))}function m(t){return s=void 0,f&&i?d(t):(i=r=void 0,o)}function y(){void 0!==s&&clearTimeout(s),u=0,i=c=r=s=void 0}function v(){return void 0===s?o:m(gt())}function x(){var t=gt(),n=b(t);if(i=arguments,r=this,c=t,n){if(void 0===s)return g(c);if(h)return clearTimeout(s),s=setTimeout(w,e),d(c)}return void 0===s&&(s=setTimeout(w,e)),o}return e=Zt(e)||0,ct(n)&&(l=!!n.leading,a=(h="maxWait"in n)?Kt(Zt(n.maxWait)||0,e):a,f="trailing"in n?!!n.trailing:f),x.cancel=y,x.flush=v,x}var Qt=Vt,Jt=f?f.performance:null,te=Jt&&Jt.now?function(){return Jt.now()}:function(){return Date.now()},ee=function(){if(f){if(f.requestAnimationFrame)return function(t){f.requestAnimationFrame(t)};if(f.mozRequestAnimationFrame)return function(t){f.mozRequestAnimationFrame(t)};if(f.webkitRequestAnimationFrame)return function(t){f.webkitRequestAnimationFrame(t)};if(f.msRequestAnimationFrame)return function(t){f.msRequestAnimationFrame(t)}}return function(t){t&&setTimeout((function(){t(te())}),1e3/60)}}(),ne=function(t){return ee(t)},ie=te,re=9261,ae=65599,oe=5381,se=function(t){for(var e,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:re;!(e=t.next()).done;)n=n*ae+e.value|0;return n},ce=function(t){return(arguments.length>1&&void 0!==arguments[1]?arguments[1]:re)*ae+t|0},ue=function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:oe;return(e<<5)+e+t|0},le=function(t,e){return 2097152*t+e},he=function(t){return 2097152*t[0]+t[1]},fe=function(t,e){return[ce(t[0],e[0]),ue(t[1],e[1])]},de=function(t,e){var n={value:0,done:!1},i=0,r=t.length;return se({next:function(){return i=0&&(t[i]!==e||(t.splice(i,1),!n));i--);},Be=function(t){t.splice(0,t.length)},Fe=function(t,e){for(var n=0;n2&&void 0!==arguments[2])||arguments[2];if(void 0!==t&&void 0!==e&&M(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 Ue,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=[];x(e.classes)?c=e.classes:y(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 _=w.pop(),A=p(_),E=_.id();if(h[E]=A,A!==1/0)for(var T=_.neighborhood().intersect(d),C=0;C0)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)}}}},Qe={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(v(),k++,u===h){for(var _=[],A=r,E=h,T=m[E];_.unshift(A),null!=T&&_.unshift(T),null!=(A=w[E]);)T=m[E=A.id()];return{found:!0,distance:f[u],path:this.spawn(_),steps:k}}g[u]=!0;for(var C=c._private.edges,S=0;SC&&(d[T]=C,w[T]=E,m[T]=x),!r){var S=E*u+A;!r&&d[S]>C&&(d[S]=C,w[S]=A,m[S]=x)}}}for(var I=0;I1&&void 0!==arguments[1]?arguments[1]:a,i=[],r=m(t);;){if(null==r)return e.spawn();var o=w(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)},k=0;k=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=sn(r,t,e),n--}return e},un={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/on);if(!(r<2)){for(var c=[],u=0;u1&&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;r1&&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=!(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},mn=function(t){return Math.PI*t/180},yn=function(t,e){return Math.atan2(e,t)-Math.PI/2},vn=Math.log2||function(t){return Math.log(t)/Math.log(2)},xn=function(t){return t>0?1:t<0?-1:0},kn=function(t,e){return Math.sqrt(_n(t,e))},_n=function(t,e){var n=e.x-t.x,i=e.y-t.y;return n*n+i*i},An=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}}},Mn=function(t){return{x1:t.x1,x2:t.x2,w:t.w,y1:t.y1,y2:t.y2,h:t.h}},Dn=function(t){t.x1=1/0,t.y1=1/0,t.x2=-1/0,t.y2=-1/0,t.w=0,t.h=0},On=function(t,e){t.x1=Math.min(t.x1,e.x1),t.x2=Math.max(t.x2,e.x2),t.w=t.x2-t.x1,t.y1=Math.min(t.y1,e.y1),t.y2=Math.max(t.y2,e.y2),t.h=t.y2-t.y1},Ln=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},Nn=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},Pn=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},Bn=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},Fn=function(t,e){return!(t.x1>e.x2||e.x1>t.x2||t.x2e.y2||e.y1>t.y2)},Rn=function(t,e,n){return t.x1<=e&&e<=t.x2&&t.y1<=n&&n<=t.y2},jn=function(t,e){return Rn(t,e.x,e.y)},$n=function(t,e){return Rn(t,e.x1,e.y1)&&Rn(t,e.x2,e.y2)},zn=function(t,e,n,i,r,a,o){var s,c=li(r,a),u=r/2,l=a/2,h=i-l-o;if((s=ii(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=ii(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=ii(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=ii(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=ei(t,e,n,i,b,w,c+o)).length>0&&g[0]<=b&&g[1]<=w)return[g[0],g[1]];var m=n+u-c,y=i-l+c;if((g=ei(t,e,n,i,m,y,c+o)).length>0&&g[0]>=m&&g[1]<=y)return[g[0],g[1]];var v=n+u-c,x=i+l-c;if((g=ei(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=ei(t,e,n,i,k,_,c+o)).length>0&&g[0]<=k&&g[1]>=_?[g[0],g[1]]:[]},qn=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},Hn=function(t,e,n,i,r,a,o,s,c){var u={x1:Math.min(n,o,r)-c,x2:Math.max(n,o,r)+c,y1:Math.min(i,s,a)-c,y2:Math.max(i,s,a)+c};return!(tu.x2||eu.y2)},Un=function(t,e,n,i){var r=e*e-4*t*(n-=i);if(r<0)return[];var a=Math.sqrt(r),o=2*t;return[(-e+a)/o,(-e-a)/o]},Gn=function(t,e,n,i,r){var a,o,s,c,u,l,h,f;return 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,void(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,void(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),void(r[4]=-h+f*Math.cos((c+4*Math.PI)/3))))},Yn=function(t,e,n,i,r,a,o,s){var c=[];Gn(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=1e-7,l=[],h=0;h<6;h+=2)Math.abs(c[h+1])=0&&c[h]<=1&&l.push(c[h]);l.push(1),l.push(0);for(var f,d,g,p=-1,b=0;b=0?gc?(t-r)*(t-r)+(e-a)*(e-a):u-h},Wn=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},Kn=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=Qn(l,-c);h=Vn(p)}else h=l;return Wn(t,e,h)},Xn=function(t,e,n,i,r,a,o){for(var s=new Array(n.length),c=a/2,u=o/2,l=hi(a,o),h=l*l,f=0;f=0&&g<=1&&b.push(g),p>=0&&p<=1&&b.push(p),0===b.length)return[];var w=b[0]*s[0]+t,m=b[0]*s[1]+e;return b.length>1?b[0]==b[1]?[w,m]:[w,m,b[1]*s[0]+t,b[1]*s[1]+e]:[w,m]},ni=function(t,e,n){return e<=t&&t<=n||n<=t&&t<=e?t:t<=e&&e<=n||n<=e&&e<=t?e:n},ii=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 m=p/w,y=b/w,v=.001,x=0-v,k=1+v;return x<=m&&m<=k&&x<=y&&y<=k||c?[t+m*l,e+m*d]:[]}return 0===p||0===b?ni(t,n,o)===o?[o,s]:ni(t,n,r)===r?[r,a]:ni(r,o,n)===n?[n,i]:[]:[]},ri=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 m=Qn(p,-s);u=Vn(m)}else u=p}else u=n;for(var y=0;y2){for(var S=[u[0],u[1]],I=Math.pow(S[0]-t,2)+Math.pow(S[1]-e,2),M=1;Mu&&(u=e)},get:function(t){return c[t]}},h=0;h0?m.edgesTo(w)[0]:w.edgesTo(m)[0];var v=i(y);w=w.id(),h[w]>h[p]+v&&(h[w]=h[p]+v,f.nodes.indexOf(w)<0?f.push(w):f.updateItem(w),u[w]=0,c[w]=[]),h[w]==h[p]+v&&(u[w]=u[w]+u[p],c[w].push(p))}else for(var x=0;x0;){for(var E=n.pop(),T=0;T0&&o.push(n[s]);0!==o.length&&r.push(i.collection(o))}return r},Li=function(t,e){for(var n=0;n5&&void 0!==arguments[5]?arguments[5]:Fi,o=i,s=0;s=2?Hi(t,e,n,0,$i,zi):Hi(t,e,n,0,ji)},squaredEuclidean:function(t,e,n){return Hi(t,e,n,0,$i)},manhattan:function(t,e,n){return Hi(t,e,n,0,ji)},max:function(t,e,n){return Hi(t,e,n,-1/0,qi)}};function Gi(t,e,n,i,r,a){var o;return o=v(t)?t:Ui[t]||Ui.euclidean,0===e&&v(t)?o(r,a):o(e,n,i,r,a)}Ui["squared-euclidean"]=Ui.squaredEuclidean,Ui.squaredeuclidean=Ui.squaredEuclidean;var Yi=Ne({k:2,m:2,sensitivityThreshold:1e-4,distance:"euclidean",maxIterations:10,attributes:[],testMode:!1,testCentroids:null}),Zi=function(t){return Yi(t)},Wi=function(t,e,n,i,r){var a="kMedoids"!==r?function(t){return n[t]}:function(t){return i[t](n)},o=function(t){return i[t](e)},s=n,c=e;return Gi(t,i.length,a,o,s,c)},Ki=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},tr=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]0&&i.push(r);return i},_r=function(t,e,n){for(var i=[],r=0;ro&&(a=c,o=e[r*t+c])}a>0&&i.push(a)}for(var u=0;uc&&(s=u,c=l)}n[r]=a[s]}return i=_r(t,e,n)},Er=function(t){for(var e,n,i,r,a,o,s=this.cy(),c=this.nodes(),u=yr(t),l={},h=0;h=T?(C=T,T=I,S=M):I>C&&(C=I);for(var D=0;D0?1:0;_[k%u.minIterations*e+F]=R,B+=R}if(B>0&&(k>=u.minIterations-1||k==u.maxIterations-1)){for(var j=0,$=0;$1||o>1)&&(u=!0),l[e]=[],t.outgoers().forEach((function(t){t.isEdge()&&l[e].push(t.id())}))}else h[e]=[void 0,t.target().id()]})):c.forEach((function(t){var e=t.id();t.isNode()?(t.degree(!0)%2&&(n?i?u=!0:i=e:n=e),l[e]=[],t.connectedEdges().forEach((function(t){return l[e].push(t.id())}))):h[e]=[t.source().id(),t.target().id()]}));var f={found:!1,trail:void 0};if(u)return f;if(i&&n)if(s){if(r&&i!=r)return f;r=i}else{if(r&&i!=r&&n!=r)return f;r||(r=i)}else r||(r=c[0].id());var d=function(t){for(var e,n,i,r=t,a=[t];l[r].length;)e=l[r].shift(),n=h[e][0],r!=(i=h[e][1])?(l[i]=l[i].filter((function(t){return t!=e})),r=i):s||r==n||(l[n]=l[n].filter((function(t){return t!=e})),r=n),a.unshift(e),a.unshift(r);return a},g=[],p=[];for(p=d(r);1!=p.length;)0==l[p[0]].length?(g.unshift(c.getElementById(p.shift())),g.unshift(c.getElementById(p.shift()))):p=d(p.shift()).concat(p);for(var b in g.unshift(c.getElementById(p.shift())),l)if(l[b].length)return f;return f.found=!0,f.trail=this.spawn(g,!0),f}},Ir=function(){var t=this,e={},n=0,i=0,r=[],a=[],o={},s=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)},c=function c(u,l,h){u===h&&(i+=1),e[l]={id:n,low:n++,cutVertex:!1};var f,d,g,p,b=t.getElementById(l).connectedEdges().intersection(t);0===b.size()?r.push(t.spawn(t.getElementById(l))):b.forEach((function(t){f=t.source().id(),d=t.target().id(),(g=f===l?d:f)!==h&&(p=t.id(),o[p]||(o[p]=!0,a.push({x:l,y:g,edge:t})),g in e?e[l].low=Math.min(e[l].low,e[g].id):(c(u,g,l),e[l].low=Math.min(e[l].low,e[g].low),e[l].id<=e[g].low&&(e[l].cutVertex=!0,s(l,g))))}))};t.forEach((function(t){if(t.isNode()){var n=t.id();n in e||(i=0,c(n,n),e[n].cutVertex=i>1)}}));var u=Object.keys(e).filter((function(t){return e[t].cutVertex})).map((function(e){return t.getElementById(e)}));return{cut:t.spawn(u),components:r}},Mr=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}},Dr={};[Ze,Ve,Qe,tn,nn,an,un,bi,mi,vi,ki,Bi,cr,wr,Tr,Sr,{hopcroftTarjanBiconnected:Ir,htbc:Ir,htb:Ir,hopcroftTarjanBiconnectedComponents:Ir},{tarjanStronglyConnected:Mr,tsc:Mr,tscc:Mr,tarjanStronglyConnectedComponents:Mr}].forEach((function(t){Q(Dr,t)}));var Or=0,Lr=1,Nr=2,Pr=function t(e){if(!(this instanceof t))return new t(e);this.id="Thenable/1.0.7",this.state=Or,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))};Pr.prototype={fulfill:function(t){return Br(this,Lr,"fulfillValue",t)},reject:function(t){return Br(this,Nr,"rejectReason",t)},then:function(t,e){var n=this,i=new Pr;return n.onFulfilled.push(jr(t,i,"fulfill")),n.onRejected.push(jr(e,i,"reject")),Fr(n),i.proxy}};var Br=function(t,e,n,i){return t.state===Or&&(t.state=e,t[n]=i,Fr(t)),t},Fr=function(t){t.state===Lr?Rr(t,"onFulfilled",t.fulfillValue):t.state===Nr&&Rr(t,"onRejected",t.rejectReason)},Rr=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 Qa=Va;function Ja(t,e){var n=this.__data__,i=Ga(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this}var to=Ja;function eo(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){x(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}};bs.className=bs.classNames=bs.classes;var ws={metaChar:"[\\!\\\"\\#\\$\\%\\&\\'\\(\\)\\*\\+\\,\\.\\/\\:\\;\\<\\=\\>\\?\\@\\[\\]\\^\\`\\{\\|\\}\\~]",comparatorOp:"=|\\!=|>|>=|<|<=|\\$=|\\^=|\\*=",boolOp:"\\?|\\!|\\^",string:"\"(?:\\\\\"|[^\"])*\"|'(?:\\\\'|[^'])*'",number:H,meta:"degree|indegree|outdegree",separator:"\\s*,\\s*",descendant:"\\s+",child:"\\s+>\\s+",subject:"\\$",group:"node|edge|\\*",directedEdge:"\\s+->\\s+",undirectedEdge:"\\s+<->\\s+"};ws.variable="(?:[\\w-.]|(?:\\\\"+ws.metaChar+"))+",ws.className="(?:[\\w-]|(?:\\\\"+ws.metaChar+"))+",ws.value=ws.string+"|"+ws.number,ws.id=ws.variable,function(){var t,e,n;for(t=ws.comparatorOp.split("|"),n=0;n=0||"="!==e&&(ws.comparatorOp+="|\\!"+e)}();var ms=function(){return{checks:[]}},ys={GROUP:0,COLLECTION:1,FILTER:2,DATA_COMPARE:3,DATA_EXIST:4,DATA_BOOL:5,META_COMPARE:6,STATE:7,ID:8,CLASS:9,UNDIRECTED_EDGE:10,DIRECTED_EDGE:11,NODE_SOURCE:12,NODE_TARGET:13,NODE_NEIGHBOR:14,CHILD:15,DESCENDANT:16,PARENT:17,ANCESTOR:18,COMPOUND_SPLIT:19,TRUE:20},vs=[{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 V(t.selector,e.selector)})),xs=function(){for(var t,e={},n=0;n0&&u.edgeCount>0)return Ce("The selector `"+t+"` is invalid because it uses both a compound selector and an edge selector"),!1;if(u.edgeCount>1)return Ce("The selector `"+t+"` is invalid because it uses multiple edge selectors"),!1;1===u.edgeCount&&Ce("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},Ms=function(){if(null!=this.toStringCache)return this.toStringCache;for(var t=function(t){return null==t?"":t},e=function(e){return y(e)?'"'+e+'"':t(e)},n=function(t){return" "+t+" "},i=function(i,a){var o=i.type,s=i.value;switch(o){case ys.GROUP:var c=t(s);return c.substring(0,c.length-1);case ys.DATA_COMPARE:var u=i.field,l=i.operator;return"["+u+n(t(l))+e(s)+"]";case ys.DATA_BOOL:var h=i.operator,f=i.field;return"["+t(h)+f+"]";case ys.DATA_EXIST:return"["+i.field+"]";case ys.META_COMPARE:var d=i.operator;return"[["+i.field+n(t(d))+e(s)+"]]";case ys.STATE:return s;case ys.ID:return"#"+s;case ys.CLASS:return"."+s;case ys.PARENT:case ys.CHILD:return r(i.parent,a)+n(">")+r(i.child,a);case ys.ANCESTOR:case ys.DESCENDANT:return r(i.ancestor,a)+" "+r(i.descendant,a);case ys.COMPOUND_SPLIT:var g=r(i.left,a),p=r(i.subject,a),b=r(i.right,a);return g+(g.length>0?" ":"")+p+b;case ys.TRUE:return""}},r=function(t,e){return t.checks.reduce((function(n,r,a){return n+(e===t&&0===a?"$":"")+i(r,e)}),"")},a="",o=0;o1&&o=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 Ks(t,e,n){if(n.isParent())for(var i=n._private.children,r=0;r1&&void 0!==arguments[1])||arguments[1],Ks)},Zs.forEachUp=function(t){return Ws(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Xs)},Zs.forEachUpAndDown=function(t){return Ws(this,t,!(arguments.length>1&&void 0!==arguments[1])||arguments[1],Vs)},Zs.ancestors=Zs.parents,(Us=Gs={data:gs.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:gs.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,immutableKeys:{id:!0,source:!0,target:!0,parent:!0},updateStyle:!0}),scratch:gs.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gs.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),rscratch:gs.data({field:"rscratch",allowBinding:!1,allowSetting:!0,settingTriggersEvent:!1,allowGetting:!0}),removeRscratch:gs.removeData({field:"rscratch",triggerEvent:!1}),id:function(){var t=this[0];if(t)return t._private.data.id}}).attr=Us.data,Us.removeAttr=Us.removeData;var Qs,Js,tc=Gs,ec={};function nc(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:ic("indegree",(function(t,e){return te})),minOutdegree:ic("outdegree",(function(t,e){return te}))}),Q(ec,{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,b=p;p&&(g=g[0]);var w=b?g.position():{x:0,y:0};void 0!==e?d.position(t,e+w[t]):void 0!==r&&d.position({x:r.x+w.x,y:r.y+w.y})}}else if(!a)return;return this}},Qs.modelPosition=Qs.point=Qs.position,Qs.modelPositions=Qs.points=Qs.positions,Qs.renderedPoint=Qs.renderedPosition,Qs.relativePoint=Qs.relativePosition;var oc,sc,cc=Js;oc=sc={},sc.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}},sc.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},sc.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=m(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}}function m(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}}}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)},hc=function(t,e){return null==e?t:lc(t,e.x1,e.y1,e.x2,e.y2)},fc=function(t,e,n){return Re(t,e,n)},dc=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,Nn(u,1),lc(t,u.x1,u.y1,u.x2,u.y2)}}},gc=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=fc(a,"labelWidth",n),d=fc(a,"labelHeight",n),g=fc(a,"labelX",n),p=fc(a,"labelY",n),b=e.pstyle(i+"text-margin-x").pfValue,w=e.pstyle(i+"text-margin-y").pfValue,m=e.isEdge(),y=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,_=2,A=d,E=f,T=E/2,C=A/2;if(m)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-A,u=p;break;case"center":c=p-C,u=p+C;break;case"bottom":c=p,u=p+A}}o+=b-Math.max(v,x)-k-_,s+=b+Math.max(v,x)+k+_,c+=w-Math.max(v,x)-k-_,u+=w+Math.max(v,x)+k+_;var S=n||"main",I=r.labelBounds,M=I[S]=I[S]||{};M.x1=o,M.y1=c,M.x2=s,M.y2=u,M.w=s-o,M.h=u-c;var D=m&&"autorotate"===y.strValue,O=null!=y.pfValue&&0!==y.pfValue;if(D||O){var L=D?fc(r.rstyle,"labelAngle",n):y.pfValue,N=Math.cos(L),P=Math.sin(L),B=(o+s)/2,F=(c+u)/2;if(!m){switch(l.value){case"left":B=s;break;case"right":B=o}switch(h.value){case"top":F=u;break;case"bottom":F=c}}var R=function(t,e){return{x:(t-=B)*N-(e-=F)*P+B,y:t*P+e*N+F}},j=R(o,c),$=R(o,u),z=R(s,c),q=R(s,u);o=Math.min(j.x,$.x,z.x,q.x),s=Math.max(j.x,$.x,z.x,q.x),c=Math.min(j.y,$.y,z.y,q.y),u=Math.max(j.y,$.y,z.y,q.y)}var H=S+"Rot",U=I[H]=I[H]||{};U.x1=o,U.y1=c,U.x2=s,U.y2=u,U.w=s-o,U.h=u-c,lc(t,o,c,s,u),lc(r.labelBounds.all,o,c,s,u)}return t}},pc=function(t,e){var n,i,r,a,o,s,c=t._private.cy,u=c.styleEnabled(),l=c.headless(),h=In(),f=t._private,d=t.isNode(),g=t.isEdge(),p=f.rstyle,b=d&&u?t.pstyle("bounds-expansion").pfValue:[0],w=function(t){return"none"!==t.pstyle("display").value},m=!u||w(t)&&(!g||w(t.source())&&w(t.target()));if(m){var y=0;u&&e.includeOverlays&&0!==t.pstyle("overlay-opacity").value&&(y=t.pstyle("overlay-padding").value);var v=0;u&&e.includeUnderlays&&0!==t.pstyle("underlay-opacity").value&&(v=t.pstyle("underlay-padding").value);var x=Math.max(y,v),k=0;if(u&&(k=t.pstyle("width").pfValue/2),d&&e.includeNodes){var _=t.position();o=_.x,s=_.y;var A=t.outerWidth()/2,E=t.outerHeight()/2;lc(h,n=o-A,r=s-E,i=o+A,a=s+E)}else if(g&&e.includeEdges)if(u&&!l){var T=t.pstyle("curve-style").strValue;if(n=Math.min(p.srcX,p.midX,p.tgtX),i=Math.max(p.srcX,p.midX,p.tgtX),r=Math.min(p.srcY,p.midY,p.tgtY),a=Math.max(p.srcY,p.midY,p.tgtY),lc(h,n-=k,r-=k,i+=k,a+=k),"haystack"===T){var C=p.haystackPts;if(C&&2===C.length){if(n=C[0].x,r=C[0].y,n>(i=C[1].x)){var S=n;n=i,i=S}if(r>(a=C[1].y)){var I=r;r=a,a=I}lc(h,n-k,r-k,i+k,a+k)}}else if("bezier"===T||"unbundled-bezier"===T||"segments"===T||"taxi"===T){var M;switch(T){case"bezier":case"unbundled-bezier":M=p.bezierPts;break;case"segments":case"taxi":M=p.linePts}if(null!=M)for(var D=0;D(i=N.x)){var P=n;n=i,i=P}if((r=L.y)>(a=N.y)){var B=r;r=a,a=B}lc(h,n-=k,r-=k,i+=k,a+=k)}if(u&&e.includeEdges&&g&&(dc(h,t,"mid-source"),dc(h,t,"mid-target"),dc(h,t,"source"),dc(h,t,"target")),u&&"yes"===t.pstyle("ghost").value){var F=t.pstyle("ghost-offset-x").pfValue,R=t.pstyle("ghost-offset-y").pfValue;lc(h,h.x1+F,h.y1+R,h.x2+F,h.y2+R)}var j=f.bodyBounds=f.bodyBounds||{};Bn(j,h),Pn(j,b),Nn(j,1),u&&(n=h.x1,i=h.x2,r=h.y1,a=h.y2,lc(h,n-x,r-x,i+x,a+x));var $=f.overlayBounds=f.overlayBounds||{};Bn($,h),Pn($,b),Nn($,1);var z=f.labelBounds=f.labelBounds||{};null!=z.all?Dn(z.all):z.all=In(),u&&e.includeLabels&&(e.includeMainLabels&&gc(h,t,null),g&&(e.includeSourceLabels&&gc(h,t,"source"),e.includeTargetLabels&&gc(h,t,"target")))}return h.x1=uc(h.x1),h.y1=uc(h.y1),h.x2=uc(h.x2),h.y2=uc(h.y2),h.w=uc(h.x2-h.x1),h.h=uc(h.y2-h.y1),h.w>0&&h.h>0&&m&&(Pn(h,b),Nn(h,1)),h},bc=function(t){var e=0,n=function(t){return(t?1:0)<0&&void 0!==arguments[0]?arguments[0]:zc,e=arguments.length>1?arguments[1]:void 0,n=0;n<$c.length;n++){var i=$c[n];this[i]=t[i]||jc[i]}this.context=e||this.context,this.listeners=[],this.emitting=0}var Hc=qc.prototype,Uc=function(t,e,n,i,r,a,o){v(i)&&(r=i,i=null),o&&(a=null==a?o:Q({},a,o));for(var s=x(n)?n:n.split(/\s+/),c=0;c=0;s--)o(s);return this},Hc.removeAllListeners=function(){return this.removeListener("*")},Hc.emit=Hc.trigger=function(t,e,n){var i=this.listeners,r=i.length;return this.emitting++,x(e)||(e=[e]),Yc(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===Rc)&&t.eventMatches(t.context,r,a)){var o=[a];null!=e&&Fe(o,e),t.beforeEmit(t.context,r,a),r.conf&&r.conf.one&&(t.listeners=t.listeners.filter((function(t){return t!==r})));var s=t.callbackContext(t.context,r,a),c=r.callback.apply(s,o);t.afterEmit(t.context,r,a),!1===c&&(a.stopPropagation(),a.preventDefault())}},s=0;s1&&!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&&y(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=!1,r=n.style();if(k(t)){var a=t;r.applyBypass(this,a,i),this.emitAndNotify("style")}else if(y(t)){if(void 0===e){var o=this[0];return o?r.getStylePropertyValue(o,t):void 0}r.applyBypass(this,t,e,i),this.emitAndNotify("style")}else if(void 0===t){var s=this[0];return s?r.getRawStyle(s):void 0}return this},removeStyle:function(t){var e=this.cy();if(!e.styleEnabled())return this;var n=!1,i=e.style(),r=this;if(void 0===t)for(var a=0;a0&&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)}}),mu.neighbourhood=mu.neighborhood,mu.closedNeighbourhood=mu.closedNeighborhood,mu.openNeighbourhood=mu.openNeighborhood,Q(mu,{source:Ys((function(t){var e,n=this[0];return n&&(e=n._private.source||n.cy().collection()),e&&t?e.filter(t):e}),"source"),target:Ys((function(t){var e,n=this[0];return n&&(e=n._private.target||n.cy().collection()),e&&t?e.filter(t):e}),"target"),sources:ku({attr:"source"}),targets:ku({attr:"target"})}),Q(mu,{edgesWith:Ys(_u(),"edgesWith"),edgesTo:Ys(_u({thisIsSrc:!0}),"edgesTo")}),Q(mu,{connectedEdges:Ys((function(t){for(var e=[],n=this,i=0;i0);return a},component:function(){var t=this[0];return t.cy().mutableElements().components(t)[0]}}),mu.componentsOf=mu.components;var Eu=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 ze,a=!1;if(e){if(e.length>0&&k(e[0])&&!S(e[0])){a=!0;for(var o=[],s=new Ue,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 Eu(a,t),R=0;R0&&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){for(var e=t._private.edges,n=0;n0&&(t?E.emitAndNotify("remove"):e&&E.emit("remove"));for(var T=0;T0?r=c:i=c}while(Math.abs(a)>o&&++u=a?m(e,s):0===l?s:v(e,i,i+u)}var k=!1;function _(){k=!0,t===e&&n===i||y()}var A=function(r){return k||_(),t===e&&n===i?r:0===r?0:1===r?1:b(x(r),e,i)};A.getControlPoints=function(){return[{x:t,y:e},{x:n,y:i}]};var E="generateBezier("+[t,e,n,i]+")";return A.toString=function(){return E},A}var Iu=function(){function t(t){return-t.tension*t.x-t.friction*t.v}function e(e,n,i){var r={x:e.x+i.dx*n,v:e.v+i.dv*n,tension:e.tension,friction:e.friction};return{dx:r.v,dv:t(r)}}function n(n,i){var r={dx:n.v,dv:t(n)},a=e(n,.5*i,r),o=e(n,.5*i,a),s=e(n,i,o),c=1/6*(r.dx+2*(a.dx+o.dx)+s.dx),u=1/6*(r.dv+2*(a.dv+o.dv)+s.dv);return n.x=n.x+c*i,n.v=n.v+u*i,n}return function t(e,i,r){var a,o,s,c={x:-1,v:0,tension:null,friction:null},u=[0],l=0,h=1e-4,f=.016;for(e=parseFloat(e)||500,i=parseFloat(i)||20,r=r||null,c.tension=e,c.friction=i,o=(a=null!==r)?(l=t(e,i))/r*f:f;s=n(s||c,o),u.push(1+s.x),l+=16,Math.abs(s.x)>h&&Math.abs(s.v)>h;);return a?function(t){return u[t*(u.length-1)|0]}:l}}(),Mu=function(t,e,n,i){var r=Su(t,e,n,i);return function(t,e,n){return t+(e-t)*r(n)}},Du={linear:function(t,e,n){return t+(e-t)*n},ease:Mu(.25,.1,.25,1),"ease-in":Mu(.42,0,1,1),"ease-out":Mu(0,0,.58,1),"ease-in-out":Mu(.42,0,.58,1),"ease-in-sine":Mu(.47,0,.745,.715),"ease-out-sine":Mu(.39,.575,.565,1),"ease-in-out-sine":Mu(.445,.05,.55,.95),"ease-in-quad":Mu(.55,.085,.68,.53),"ease-out-quad":Mu(.25,.46,.45,.94),"ease-in-out-quad":Mu(.455,.03,.515,.955),"ease-in-cubic":Mu(.55,.055,.675,.19),"ease-out-cubic":Mu(.215,.61,.355,1),"ease-in-out-cubic":Mu(.645,.045,.355,1),"ease-in-quart":Mu(.895,.03,.685,.22),"ease-out-quart":Mu(.165,.84,.44,1),"ease-in-out-quart":Mu(.77,0,.175,1),"ease-in-quint":Mu(.755,.05,.855,.06),"ease-out-quint":Mu(.23,1,.32,1),"ease-in-out-quint":Mu(.86,0,.07,1),"ease-in-expo":Mu(.95,.05,.795,.035),"ease-out-expo":Mu(.19,1,.22,1),"ease-in-out-expo":Mu(1,0,0,1),"ease-in-circ":Mu(.6,.04,.98,.335),"ease-out-circ":Mu(.075,.82,.165,1),"ease-in-out-circ":Mu(.785,.135,.15,.86),spring:function(t,e,n){if(0===n)return Du.linear;var i=Iu(t,e,n);return function(t,e,n){return t+(e-t)*i(n)}},"cubic-bezier":Mu};function Ou(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 Lu(t,e){return null!=t.pfValue||null!=t.value?null==t.pfValue||null!=e&&"%"===e.type.units?t.value:t.pfValue:t}function Nu(t,e,n,i,r){var a=null!=r?r.type:null;n<0?n=0:n>1&&(n=1);var o=Lu(t,r),s=Lu(e,r);if(A(o)&&A(s))return Ou(a,o,s,n,i);if(x(o)&&x(s)){for(var c=[],u=0;u0?("spring"===h&&f.push(o.duration),o.easingImpl=Du[h].apply(null,f)):o.easingImpl=Du[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 p=o.startPosition,b=o.position;if(b&&r&&!t.locked()){var w={};Bu(p.x,b.x)&&(w.x=Nu(p.x,b.x,d,g)),Bu(p.y,b.y)&&(w.y=Nu(p.y,b.y,d,g)),t.position(w)}var m=o.startPan,v=o.pan,x=a.pan,k=null!=v&&i;k&&(Bu(m.x,v.x)&&(x.x=Nu(m.x,v.x,d,g)),Bu(m.y,v.y)&&(x.y=Nu(m.y,v.y,d,g)),t.emit("pan"));var _=o.startZoom,A=o.zoom,E=null!=A&&i;E&&(Bu(_,A)&&(a.zoom=Sn(a.minZoom,Nu(_,A,d,g),a.maxZoom)),t.emit("zoom")),(k||E)&&t.emit("viewport");var T=o.style;if(T&&T.length>0&&r){for(var C=0;C=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||Fu(e,h,t),Pu(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 ju={animate:gs.animate(),animation:gs.animation(),animated:gs.animated(),clearQueue:gs.clearQueue(),delay:gs.delay(),delayAnimation:gs.delayAnimation(),stop:gs.stop(),addToAnimationPool:function(t){var e=this;e.styleEnabled()&&e._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){Ru(n,t)}),e.beforeRenderPriorities.animations):n()}function n(){t._private.animationsRunning&&ne((function(e){Ru(e,t),n()}))}}},$u={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&&S(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}},zu=function(t){return y(t)?new zs(t):t},qu={createEmitter:function(){var t=this._private;return t.emitter||(t.emitter=new qc($u,this)),this},emitter:function(){return this._private.emitter},on:function(t,e,n){return this.emitter().on(t,zu(e),n),this},removeListener:function(t,e,n){return this.emitter().removeListener(t,zu(e),n),this},removeAllListeners:function(){return this.emitter().removeAllListeners(),this},one:function(t,e,n){return this.emitter().one(t,zu(e),n),this},once:function(t,e,n){return this.emitter().one(t,zu(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}};gs.eventAliasesOn(qu);var Hu={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)}};Hu.jpeg=Hu.jpg;var Uu={layout:function(t){var e=this;if(null!=t)if(null!=t.name){var n=t.name,i=e.extension("layout",n);if(null!=i){var r;r=y(t.eles)?e.$(t.eles):null!=t.eles?t.eles:e.$();var a=new i(Q({},t,{cy:e,eles:r}));return a}Ee("No such layout `"+n+"` found. Did you forget to import it and `cytoscape.use()` it?")}else Ee("A `name` must be specified to make a layout");else Ee("Layout options must be specified to make a layout")}};Uu.createLayout=Uu.makeLayout=Uu.layout;var Gu={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)}};Zu.invalidateDimensions=Zu.resize;var Wu={collection:function(t,e){return y(t)?this.$(t):C(t)?t.collection():x(t)?(e||(e={}),new Eu(this,t,e.unique,e.removed)):new Eu(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}};Wu.elements=Wu.filter=Wu.$;var Ku={},Xu="t",Vu="f";Ku.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 x=r.valueMin[0],k=r.valueMax[0],_=r.valueMin[1],E=r.valueMax[1],T=r.valueMin[2],C=r.valueMax[2],S=null==r.valueMin[3]?1:r.valueMin[3],I=null==r.valueMax[3]?1:r.valueMax[3],M=[Math.round(x+(k-x)*b),Math.round(_+(E-_)*b),Math.round(T+(C-T)*b),Math.round(S+(I-S)*b)];n={bypass:r.bypass,name:r.name,value:M,strValue:"rgb("+M[0]+", "+M[1]+", "+M[2]+")"}}else{if(!s.number)return!1;var D=r.valueMin+(r.valueMax-r.valueMin)*b;n=this.parse(r.name,D,r.bypass,f)}if(!n)return p(),!1;n.mapping=r,r=n;break;case o.data:for(var O=r.field.split("."),L=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)},Ku.checkTrigger=function(t,e,n,i,r,a){var o=this.properties[e],s=r(o);null!=s&&s(n,i)&&a(o)},Ku.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)}))},Ku.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()}))}))},Ku.checkTriggers=function(t,e,n,i){t.dirtyStyleCache(),this.checkZOrderTrigger(t,e,n,i),this.checkBoundsTrigger(t,e,n,i)};var Qu={applyBypass:function(t,e,n,i){var r=this,a=[],o=!0;if("*"===e||"**"===e){if(void 0!==n)for(var s=0;se.length?o.substr(e.length):""}function c(){n=n.length>i.length?n.substr(i.length):""}for(o=o.replace(/[/][*](\s|.)+?[*][/]/g,"");!o.match(/^\s*$/);){var u=o.match(/^\s*((?:.|\s)+?)\s*\{((?:.|\s)+?)\}/);if(!u){Ce("Halting stylesheet parsing: String stylesheet contains more to parse but no selector and block found in: "+o);break}e=u[0];var l=u[1];if("core"!==l&&new zs(l).invalid)Ce("Skipping parsing of block: Invalid selector found in string stylesheet: "+l),s();else{var h=u[2],f=!1;n=h;for(var d=[];!n.match(/^\s*$/);){var g=n.match(/^\s*(.+?)\s*:\s*(.+?)(?:\s*;|\s*$)/);if(!g){Ce("Skipping parsing of block: Invalid formatting of style property and value definitions found in:"+h),f=!0;break}i=g[0];var p=g[1],b=g[2];r.properties[p]?a.parse(p,b)?(d.push({name:p,val:b}),c()):(Ce("Skipping property: Invalid property definition in: "+i),c()):(Ce("Skipping property: Invalid property name in: "+i),c())}if(f){s();break}a.selector(l);for(var w=0;w=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 p=this.parse(t,l[5]);if(!p||p.mapped)return!1;if(g.pfValue===p.pfValue||g.strValue===p.strValue)return Ce("`"+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 b=g.value,w=p.value;if(!(b[0]!==w[0]||b[1]!==w[1]||b[2]!==w[2]||b[3]!==w[3]&&(null!=b[3]&&1!==b[3]||null!=w[3]&&1!==w[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:p.value,bypass:n}}}if(h.multiple&&"multiple"!==i){var m;if(m=c?e.split(/\s+/):x(e)?e:[e],h.evenMultiple&&m.length%2!=0)return null;for(var k=[],_=[],A=[],T="",C=!1,S=0;S0?" ":"")+I.strValue}return h.validate&&!h.validate(k,_)?null:h.singleEnum&&C?1===k.length&&y(k[0])?{name:t,value:k[0],strValue:k[0],bypass:n}:null:{name:t,value:k,pfValue:A,strValue:T,bypass:n,units:_}}var M=function(){for(var i=0;ih.max||h.strictMax&&e===h.max))return null;var P={name:t,value:e,strValue:""+e+(D||""),units:D,bypass:n};return h.unitless||"px"!==D&&"em"!==D?P.pfValue=e:P.pfValue="px"!==D&&D?this.getEmSizeInPixels()*e:e,"ms"!==D&&"s"!==D||(P.pfValue="ms"===D?e:1e3*e),"deg"!==D&&"rad"!==D||(P.pfValue="rad"===D?e:mn(e)),"%"===D&&(P.pfValue=e/100),P}if(h.propList){var B=[],F=""+e;if("none"===F);else{for(var R=F.split(/\s*,\s*|\s+/),$=0;$0&&s>0&&!isNaN(n.w)&&!isNaN(n.h)&&n.w>0&&n.h>0)return{zoom:a=(a=(a=Math.min((o-2*e)/n.w,(s-2*e)/n.h))>this._private.maxZoom?this._private.maxZoom:a)=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),A(t)?n=t:k(t)&&(n=t.level,null!=t.position?e=hn(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;A(c.x)&&(e.pan.x=c.x,o=!1),A(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(y(t)){var n=t;t=this.mutableElements().filter(n)}else C(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,r=this;return n.sizeCache=n.sizeCache||(i?(t=r.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}};ul.centre=ul.center,ul.autolockNodes=ul.autolock,ul.autoungrabifyNodes=ul.autoungrabify;var ll={data:gs.data({field:"data",bindingEvent:"data",allowBinding:!0,allowSetting:!0,settingEvent:"data",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeData:gs.removeData({field:"data",event:"data",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0}),scratch:gs.data({field:"scratch",bindingEvent:"scratch",allowBinding:!0,allowSetting:!0,settingEvent:"scratch",settingTriggersEvent:!0,triggerFnName:"trigger",allowGetting:!0,updateStyle:!0}),removeScratch:gs.removeData({field:"scratch",event:"scratch",triggerFnName:"trigger",triggerEvent:!0,updateStyle:!0})};ll.attr=ll.data,ll.removeAttr=ll.removeData;var hl=function(t){var e=this,n=(t=Q({},t)).container;n&&!T(n)&&T(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!==f&&void 0!==n&&!t.headless,o=t;o.layout=Q({name:a?"grid":"null"},o.layout),o.renderer=Q({name:a?"canvas":"null"},o.renderer);var s=function(t,e,n){return void 0!==e?e:void 0!==n?n:t},c=this._private={container:n,ready:!1,options:o,elements:new Eu(this),listeners:[],aniEles:new Eu(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:A(o.zoom)?o.zoom:1,pan:{x:k(o.pan)&&A(o.pan.x)?o.pan.x:0,y:k(o.pan)&&A(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});var u=function(t,e){if(t.some(B))return zr.all(t).then(e);e(t)};c.styleEnabled&&e.setStyle([]);var l=Q({},o,o.renderer);e.initRenderer(l);var h=function(t,n,i){e.notifications(!1);var r=e.mutableElements();r.length>0&&r.remove(),null!=t&&(k(t)||x(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=Q({},e._private.options.layout);a.eles=e.elements(),e.layout(a).run()};u([o.style,o.elements],(function(t){var n=t[0],a=t[1];c.styleEnabled&&e.style().append(n),h(a,(function(){e.startAnimationLoop(),c.ready=!0,v(o.ready)&&e.on("ready",o.ready);for(var t=0;t0,u=In(n.boundingBox?n.boundingBox:{x1:0,y1:0,w:i.width(),h:i.height()});if(C(n.roots))t=n.roots;else if(x(n.roots)){for(var l=[],h=0;h0;){var N=L(),P=I(N,D);if(P)N.outgoers().filter((function(t){return t.isNode()&&r.has(t)})).forEach(O);else if(null===P){Ce("Detected double maximal shift for node `"+N.id()+"`. Bailing maximal adjustment due to cycle. Use `options.maximal: true` only on DAGs.");break}}}S();var B=0;if(n.avoidOverlap)for(var F=0;F0&&w[0].length<=3?c/2:0),h=2*Math.PI/w[i].length*r;return 0===i&&1===w[0].length&&(l=1),{x:K.x+l*Math.cos(h),y:K.y+l*Math.sin(h)}}return{x:K.x+(r+1-(a+1)/2)*o,y:(i+1)*s}};return r.nodes().layoutPositions(this,n,Q),this};var ml={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 yl(t){this.options=Q({},ml,t)}yl.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=In(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)}var m=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}};return i.nodes().layoutPositions(this,e,m),this};var vl,xl={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 kl(t){this.options=Q({},xl,t)}kl.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=In(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-y.value)>=p&&(w=[],b.push(w)),w.push(y)}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,A=0;A1&&e.avoidOverlap){var S=Math.cos(C)-Math.cos(0),I=Math.sin(C)-Math.sin(0),M=Math.sqrt(v*v/(S*S+I*I));_=Math.max(M,_)}E.r=_,_+=v}if(e.equidistant){for(var D=0,O=0,L=0;L=t.numIter||(Ol(i,t),i.temperature=i.temperature*t.coolingFactor,i.temperature=t.animationThreshold&&a(),ne(e)):(Ul(i,t),s())}();else{for(;u;)u=o(c),c++;Ul(i,t),s()}return this},Al.prototype.stop=function(){return this.stopped=!0,this.thread&&this.thread.stop(),this.emit("layoutstop"),this},Al.prototype.destroy=function(){return this.thread&&this.thread.stop(),this};var El,Tl=function(t,e,n){for(var i=n.eles.edges(),r=n.eles.nodes(),a=In(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},Sl=function t(e,n,i,r){var a=r.graphSet[i];if(-10)var c=(l=i.nodeOverlap*s)*r/(b=Math.sqrt(r*r+a*a)),u=l*a/b;else{var l,h=Fl(t,r,a),f=Fl(e,-1*r,-1*a),d=f.x-h.x,g=f.y-h.y,p=d*d+g*g,b=Math.sqrt(p);c=(l=(t.nodeRepulsion+e.nodeRepulsion)/p)*d/b,u=l*g/b}t.isLocked||(t.offsetX-=c,t.offsetY-=u),e.isLocked||(e.offsetX+=c,e.offsetY+=u)}},Bl=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},Fl=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},Rl=function(t,e){for(var n=0;nn){var p=e.gravity*f/g,b=e.gravity*d/g;h.offsetX+=p,h.offsetY+=b}}}}},$l=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},Hl=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)}}},Gl={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 Yl(t){this.options=Q({},Gl,t)}Yl.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=In(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 m=a.w/u,y=a.h/c;if(e.condense&&(m=0,y=0),e.avoidOverlap)for(var v=0;v=u&&(D=0,M++)},L={},N=0;N(i=Zn(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=Yn(t,e,v[x],v[x+1],v[x+2],v[x+3],v[x+4],v[x+5])))return b(n,i),!0;m=m||r.source,y=y||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 A=_[x],E=s.arrowShapes[n.pstyle(A.name+"-arrow-shape").value],T=n.pstyle("width").pfValue;if(E.roughCollide(t,e,k,A.angle,{x:A.x,y:A.y},T,f)&&E.collide(t,e,k,A.angle,{x:A.x,y:A.y},T,f))return b(n),!0}h&&u.length>0&&(w(m),w(y))}function y(t,e,n){return Re(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=y(a.rscratch,"labelX",i),l=y(a.rscratch,"labelY",i),h=y(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,m=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}},A=_(p,m),E=_(p,v),T=_(w,m),C=_(w,v),S=[A.x+f,A.y+d,T.x+f,T.y+d,C.x+f,C.y+d,E.x+f,E.y+d];if(Wn(t,e,S))return b(n),!0}else if(Rn(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):m(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=In({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,_),I=C(T,A),M=!1;w===u?b=Math.abs(S)>Math.abs(I)?r:i:w===c||w===s?(b=i,M=!0):w!==a&&w!==o||(b=r,M=!0);var D,O=b===i,L=O?I:S,N=O?T:E,P=xn(N),B=!1;M&&(y||x)||!(w===s&&N<0||w===c&&N>0||w===a&&N>0||w===o&&N<0)||(L=(P*=-1)*Math.abs(L),B=!0);var F=function(t){return Math.abs(t)=Math.abs(L)},R=F(D=y?(v<0?1+v:v)*L:(v<0?L:0)+v*P),j=F(Math.abs(L)-Math.abs(D));if(!R&&!j||B)if(O){var $=l.y1+D+(p?f/2*P:0),z=l.x1,q=l.x2;n.segpts=[z,$,q,$]}else{var H=l.x1+D+(p?h/2*P:0),U=l.y1,G=l.y2;n.segpts=[H,U,H,G]}else if(O){var Y=Math.abs(N)<=f/2,Z=Math.abs(E)<=d/2;if(Y){var W=(l.x1+l.x2)/2,K=l.y1,X=l.y2;n.segpts=[W,K,W,X]}else if(Z){var V=(l.y1+l.y2)/2,Q=l.x1,J=l.x2;n.segpts=[Q,V,J,V]}else n.segpts=[l.x1,l.y2]}else{var tt=Math.abs(N)<=h/2,et=Math.abs(T)<=g/2;if(tt){var nt=(l.y1+l.y2)/2,it=l.x1,rt=l.x2;n.segpts=[it,nt,rt,nt]}else if(et){var at=(l.x1+l.x2)/2,ot=l.y1,st=l.y2;n.segpts=[at,ot,at,st]}else n.segpts=[l.x2,l.y1]}},oh.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=!A(n.startX)||!A(n.startY),f=!A(n.arrowStartX)||!A(n.arrowStartY),d=!A(n.endX)||!A(n.endY),g=!A(n.arrowEndX)||!A(n.arrowEndY),p=this.getArrowWidth(t.pstyle("width").pfValue,t.pstyle("arrow-scale").value)*this.arrowShapeWidth*3,b=kn({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(),m=s.tgtW=f.outerWidth(),y=s.tgtH=f.outerHeight(),v=s.srcShape=n.nodeShapes[e.getNodeShape(h)],x=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 k=0;k0){var q=u,H=_n(q,dn(e)),U=_n(q,dn(z)),G=H;U2&&_n(q,{x:z[2],y:z[3]})0){var rt=l,at=_n(rt,dn(e)),ot=_n(rt,dn(it)),st=at;ot2&&_n(rt,{x:it[2],y:it[3]})=u||m){l={cp:p,segment:w};break}}if(l)break}var y=l.cp,v=l.segment,x=(u-f)/v.length,k=v.t1-v.t0,_=s?v.t0+k*x:v.t1-k*x;_=Sn(0,_,1),e=Tn(y.p0,y.p1,y.p2,_),r=gh(y.p0,y.p1,y.p2,_);break;case"straight":case"segments":case"haystack":for(var A,E,T,C,S=0,I=i.allpts.length,M=0;M+3=u));M+=2);var D=(u-E)/A;D=Sn(0,D,1),e=Cn(T,C,D),r=dh(T,C)}o("labelX",n,e.x),o("labelY",n,e.y),o("labelAutoAngle",n,r)}};u("source"),u("target"),this.applyLabelDimensions(t)}},hh.applyLabelDimensions=function(t){this.applyPrefixedLabelDimensions(t),t.isEdge()&&(this.applyPrefixedLabelDimensions(t,"source"),this.applyPrefixedLabelDimensions(t,"target"))},hh.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=Re(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;je(n.rstyle,"labelWidth",e,h),je(n.rscratch,"labelWidth",e,h),je(n.rstyle,"labelHeight",e,f),je(n.rscratch,"labelHeight",e,f),je(n.rscratch,"labelLineHeight",e,l)},hh.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?(je(n.rscratch,t,e,i),i):Re(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="​",l=r.split("\n"),h=t.pstyle("text-max-width").pfValue,f="anywhere"===t.pstyle("text-overflow-wrap").value,d=[],g=/[\s\u200b]+/,p=f?"":" ",b=0;bh){for(var v=w.split(g),x="",k=0;kE);I++)T+=r[I],I===r.length-1&&(S=!0);return S||(T+=C),T}return r},hh.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"}},hh.calculateLabelDimensions=function(t,e){var n=this,i=ge(e,t._private.labelDimsKey),r=n.labelDimCache||(n.labelDimCache=[]),a=r[i];if(null!=a)return a;var o=0,s=t.pstyle("font-style").strValue,c=t.pstyle("font-size").pfValue,u=t.pstyle("font-family").strValue,l=t.pstyle("font-weight").strValue,h=this.labelCalcCanvas,f=this.labelCalcCanvasContext;if(!h){h=this.labelCalcCanvas=document.createElement("canvas"),f=this.labelCalcCanvasContext=h.getContext("2d");var d=h.style;d.position="absolute",d.left="-9999px",d.top="-9999px",d.zIndex="-1",d.visibility="hidden",d.pointerEvents="none"}f.font="".concat(s," ").concat(l," ").concat(c,"px ").concat(u);for(var g=0,p=0,b=e.split("\n"),w=0;w1&&void 0!==arguments[1])||arguments[1];if(e.merge(t),n)for(var i=0;i=t.desktopTapThreshold2}var T=r(e);p&&(t.hoverData.tapholdCancelled=!0);var C=function(){var e=t.hoverData.dragDelta=t.hoverData.dragDelta||[];0===e.length?(e.push(y[0]),e.push(y[1])):(e[0]+=y[0],e[1]+=y[1])};n=!0,i(d,["mousemove","vmousemove","tapdrag"],e,{x:u[0],y:u[1]});var S=function(){t.data.bgActivePosistion=void 0,t.hoverData.selecting||o.emit({originalEvent:e,type:"boxstart",position:{x:u[0],y:u[1]}}),f[4]=1,t.hoverData.selecting=!0,t.redrawHint("select",!0),t.redraw()};if(3===t.hoverData.which){if(p){var M={originalEvent:e,type:"cxtdrag",position:{x:u[0],y:u[1]}};m?m.emit(M):o.emit(M),t.hoverData.cxtDragged=!0,t.hoverData.cxtOver&&d===t.hoverData.cxtOver||(t.hoverData.cxtOver&&t.hoverData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:u[0],y:u[1]}}),t.hoverData.cxtOver=d,d&&d.emit({originalEvent:e,type:"cxtdragover",position:{x:u[0],y:u[1]}}))}}else if(t.hoverData.dragging){if(n=!0,o.panningEnabled()&&o.userPanningEnabled()){var D;if(t.hoverData.justStartedPan){var O=t.hoverData.mdownPos;D={x:(u[0]-O[0])*s,y:(u[1]-O[1])*s},t.hoverData.justStartedPan=!1}else D={x:y[0]*s,y:y[1]*s};o.panBy(D),o.emit("dragpan"),t.hoverData.dragged=!0}u=t.projectIntoViewport(e.clientX,e.clientY)}else if(1!=f[4]||null!=m&&!m.pannable()){if(m&&m.pannable()&&m.active()&&m.unactivate(),m&&m.grabbed()||d==w||(w&&i(w,["mouseout","tapdragout"],e,{x:u[0],y:u[1]}),d&&i(d,["mouseover","tapdragover"],e,{x:u[0],y:u[1]}),t.hoverData.last=d),m)if(p){if(o.boxSelectionEnabled()&&T)m&&m.grabbed()&&(b(v),m.emit("freeon"),v.emit("free"),t.dragData.didDrag&&(m.emit("dragfreeon"),v.emit("dragfree"))),S();else if(m&&m.grabbed()&&t.nodeIsDraggable(m)){var L=!t.dragData.didDrag;L&&t.redrawHint("eles",!0),t.dragData.didDrag=!0,t.hoverData.draggingEles||g(v,{inDragLayer:!0});var N={x:0,y:0};if(A(y[0])&&A(y[1])&&(N.x+=y[0],N.y+=y[1],L)){var P=t.hoverData.dragDelta;P&&A(P[0])&&A(P[1])&&(N.x+=P[0],N.y+=P[1])}t.hoverData.draggingEles=!0,v.silentShift(N).emit("position drag"),t.redrawHint("drag",!0),t.redraw()}}else C();n=!0}else p&&(t.hoverData.dragging||!o.boxSelectionEnabled()||!T&&o.panningEnabled()&&o.userPanningEnabled()?!t.hoverData.selecting&&o.panningEnabled()&&o.userPanningEnabled()&&a(m,t.hoverData.downs)&&(t.hoverData.dragging=!0,t.hoverData.justStartedPan=!0,f[4]=0,t.data.bgActivePosistion=dn(l),t.redrawHint("select",!0),t.redraw()):S(),m&&m.pannable()&&m.active()&&m.unactivate());return f[2]=u[0],f[3]=u[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,h=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 f={originalEvent:e,type:"cxttapend",position:{x:o[0],y:o[1]}};if(l?l.emit(f):a.emit(f),!t.hoverData.cxtDragged){var d={originalEvent:e,type:"cxttap",position:{x:o[0],y:o[1]}};l?l.emit(d):a.emit(d)}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]}),T=!1,e.timeStamp-C<=a.multiClickDebounceTime()?(E&&clearTimeout(E),T=!0,C=null,i(l,["dblclick","dbltap","vdblclick"],e,{x:o[0],y:o[1]})):(E=setTimeout((function(){T||i(l,["oneclick","onetap","voneclick"],e,{x:o[0],y:o[1]})}),a.multiClickDebounceTime()),C=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()||h?c.selected()?c.unselect(["tapunselect"]):c.select(["tapselect"]):h||(a.$(n).unmerge(c).unselect(["tapunselect"]),c.select(["tapselect"]))),t.redrawHint("eles",!0)),t.hoverData.selecting){var g=a.collection(t.getAllInBox(s[0],s[1],s[2],s[3]));t.redrawHint("select",!0),g.length>0&&t.redrawHint("eles",!0),a.emit({type:"boxend",originalEvent:e,position:{x:o[0],y:o[1]}});var p=function(t){return t.selectable()&&!t.selected()};"additive"===a.selectionType()||h||a.$(n).unmerge(g).unselect(),g.emit("box").stdFilter(p).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 w=l&&l.grabbed();b(u),w&&(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 M,D,O,L,N,P,B,F,R,j,$,z,q,H=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||S())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",H,!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||H(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 U,G,Y,Z,W,K,X,V=function(t,e,n,i){return Math.sqrt((n-t)*(n-t)+(i-e)*(i-e))},Q=function(t,e,n,i){return(n-t)*(n-t)+(i-e)*(i-e)};if(t.registerBinding(t.container,"touchstart",U=function(e){if(t.hasTouchStarted=!0,I(e)){m(),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,b(t.dragData.touchDragEles);var s=t.findContainerClientCoords();R=s[0],j=s[1],$=s[2],z=s[3],M=e.touches[0].clientX-R,D=e.touches[0].clientY-j,O=e.touches[1].clientX-R,L=e.touches[1].clientY-j,q=0<=M&&M<=$&&0<=O&&O<=$&&0<=D&&D<=z&&0<=L&&L<=z;var c=n.pan(),u=n.zoom();N=V(M,D,O,L),P=Q(M,D,O,L),F=[((B=[(M+O)/2,(D+L)/2])[0]-c.x)/u,(B[1]-c.y)/u];var h=200;if(P=1){for(var _=t.touchData.startPosition=[null,null,null,null,null,null],A=0;A=t.touchTapThreshold2}if(n&&t.touchData.cxt){e.preventDefault();var v=e.touches[0].clientX-R,x=e.touches[0].clientY-j,k=e.touches[1].clientX-R,_=e.touches[1].clientY-j,E=Q(v,x,k,_),T=150,C=1.5;if(E/P>=C*C||E>=T*T){t.touchData.cxt=!1,t.data.bgActivePosistion=void 0,t.redrawHint("select",!0);var S={originalEvent:e,type:"cxttapend",position:{x:s[0],y:s[1]}};t.touchData.start?(t.touchData.start.unactivate().emit(S),t.touchData.start=null):o.emit(S)}}if(n&&t.touchData.cxt){S={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(S):o.emit(S),t.touchData.start&&(t.touchData.start._private.grabbed=!1),t.touchData.cxtDragged=!0;var B=t.findNearestElement(s[0],s[1],!0,!0);t.touchData.cxtOver&&B===t.touchData.cxtOver||(t.touchData.cxtOver&&t.touchData.cxtOver.emit({originalEvent:e,type:"cxtdragout",position:{x:s[0],y:s[1]}}),t.touchData.cxtOver=B,B&&B.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),nt=t.dragData.touchDragEles){t.redrawHint("drag",!0);for(var $=0;$0&&!t.hoverData.draggingEles&&!t.swipePanning&&null!=t.data.bgActivePosistion&&(t.data.bgActivePosistion=void 0,t.redrawHint("select",!0),t.redraw())}},!1),t.registerBinding(e,"touchcancel",Y=function(e){var n=t.touchData.start;t.touchData.capture=!1,n&&n.unactivate()}),t.registerBinding(e,"touchend",Z=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 h=t.projectIntoViewport(e.touches[0].clientX,e.touches[0].clientY);u[0]=h[0],u[1]=h[1]}if(e.touches[1]&&(h=t.projectIntoViewport(e.touches[1].clientX,e.touches[1].clientY),u[2]=h[0],u[3]=h[1]),e.touches[2]&&(h=t.projectIntoViewport(e.touches[2].clientX,e.touches[2].clientY),u[4]=h[0],u[5]=h[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 f={originalEvent:e,type:"cxttap",position:{x:u[0],y:u[1]}};r?r.emit(f):s.emit(f)}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 d=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]}});var g=function(t){return t.selectable()&&!t.selected()};d.emit("box").stdFilter(g).select().emit("boxselect"),d.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 w=r._private.grabbed;b(p),t.redrawHint("drag",!0),t.redrawHint("eles",!0),w&&(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 m=t.findNearestElement(u[0],u[1],!0,!0);i(m,["touchend","tapend","vmouseup","tapdragout"],e,{x:u[0],y:u[1]})}var y=t.touchData.startPosition[0]-u[0],v=y*y,x=t.touchData.startPosition[1]-u[1],k=(v+x*x)*c*c;t.touchData.singleTouchMoved||(r||s.$(":selected").unselect(["tapunselect"]),i(r,["tap","vclick"],e,{x:u[0],y:u[1]}),W=!1,e.timeStamp-X<=s.multiClickDebounceTime()?(K&&clearTimeout(K),W=!0,X=null,i(r,["dbltap","vdblclick"],e,{x:u[0],y:u[1]})):(K=setTimeout((function(){W||i(r,["onetap","voneclick"],e,{x:u[0],y:u[1]})}),s.multiClickDebounceTime()),X=e.timeStamp)),null!=r&&!t.dragData.didDrag&&r._private.selectable&&k0)return d[0]}return null},f=Object.keys(l),d=0;d0?c:zn(r,a,t,e,n,i,o)},checkPoint:function(t,e,n,i,r,a,o){var s=li(i,r),c=2*s;if(Kn(t,e,this.points,a,o,i,r-c,[0,-1],n))return!0;if(Kn(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!!Wn(t,e,[a-u,o-l,a-u,o,a+u,o,a+u,o-l])||!!ti(t,e,c,c,a+i/2-s,o+r/2-s,n)||!!ti(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",si(3,0)),this.generateRoundPolygon("round-triangle",si(3,0)),this.generatePolygon("rectangle",si(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",si(5,0)),this.generateRoundPolygon("round-pentagon",si(5,0)),this.generatePolygon("hexagon",si(6,0)),this.generateRoundPolygon("round-hexagon",si(6,0)),this.generatePolygon("heptagon",si(7,0)),this.generateRoundPolygon("round-heptagon",si(7,0)),this.generatePolygon("octagon",si(8,0)),this.generateRoundPolygon("round-octagon",si(8,0));var i=new Array(20),r=ui(5,0),a=ui(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*Sh)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())},a=t.priority||Ae;n.beforeRender(r,a(e))}}}},Mh=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:ke;e(this,t),this.idsByKey=new ze,this.keyForId=new ze,this.cachesByLvl=new ze,this.lvls=[],this.getKey=n,this.doesEleInvalidateKey=i}return r(t,[{key:"getIdsFor",value:function(t){null==t&&Ee("Can not get id list for null key");var e=this.idsByKey,n=this.idsByKey.get(t);return n||(n=new Ue,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 ze,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}(),Dh=25,Oh=50,Lh=-4,Nh=3,Ph=7.99,Bh=8,Fh=1024,Rh=1024,jh=1024,$h=.2,zh=.8,qh=10,Hh=.15,Uh=.1,Gh=.9,Yh=.9,Zh=100,Wh=1,Kh={dequeue:"dequeue",downscale:"downscale",highQuality:"highQuality"},Xh=Ne({getKey:null,doesEleInvalidateKey:ke,drawElement:null,getBoundingBox:null,getRotationPoint:null,getRotationOffset:null,isVisible:xe,allowEdgeTxrCaching:!0,allowParentTxrCaching:!0}),Vh=function(t,e){var n=this;n.renderer=t,n.onDequeues=[];var i=Xh(e);Q(n,i),n.lookup=new Mh(i.getKey,i.doesEleInvalidateKey),n.setupDequeueing()},Qh=Vh.prototype;Qh.reasons=Kh,Qh.getTextureQueue=function(t){var e=this;return e.eleImgCaches=e.eleImgCaches||{},e.eleImgCaches[t]=e.eleImgCaches[t]||[]},Qh.getRetiredTextureQueue=function(t){var e=this,n=e.eleImgCaches.retired=e.eleImgCaches.retired||{};return n[t]=n[t]||[]},Qh.getElementQueue=function(){var t=this;return t.eleCacheQueue=t.eleCacheQueue||new Ke((function(t,e){return e.reqs-t.reqs}))},Qh.getElementKeyToQueue=function(){var t=this;return t.eleKeyToCacheQueue=t.eleKeyToCacheQueue||{}},Qh.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(vn(s*n))),i=Ph||i>Nh)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<=Dh?Dh:l<=Oh?Oh:Math.ceil(l/Oh)*Oh,l>jh||h>Rh)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;C--)E=a.getElement(t,e,n,C,Kh.downscale);T()}else{var S;if(!v&&!x&&!k)for(var I=i-1;I>=Lh;I--){var M=c.get(t,I);if(M){S=M;break}}if(y(S))return a.queueElement(t,i),S;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+Bh),b.eleCaches.push(g),c.set(t,i,g),a.checkTextureFullness(b),g},Qh.invalidateElements=function(t){for(var e=0;e=$h*t.width&&this.retireTexture(t)},Qh.checkTextureFullness=function(t){var e=this.getTextureQueue(t.height);t.usedWidth/t.width>zh&&t.fullnessChecks>=qh?Pe(e,t):t.fullnessChecks++},Qh.retireTexture=function(t){var e=this,n=t.height,i=e.getTextureQueue(n),r=this.lookup;Pe(i,t),t.retired=!0;for(var a=t.eleCaches,o=0;o=e)return o.retired=!1,o.usedWidth=0,o.invalidatedWidth=0,o.fullnessChecks=0,Be(o.eleCaches),o.context.setTransform(1,0,0,1,0,0),o.context.clearRect(0,0,o.width,o.height),Pe(r,o),i.push(o),o}},Qh.queueElement=function(t,e){var n=this,i=n.getElementQueue(),r=n.getElementKeyToQueue(),a=this.getKey(t),o=r[a];if(o)o.level=Math.max(o.level,e),o.eles.merge(t),o.reqs++,i.updateItem(o);else{var s={eles:t.spawn().merge(t),level:e,reqs:1,key:a};i.push(s),r[a]=s}},Qh.dequeue=function(t){for(var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=[],a=e.lookup,o=0;o0;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,Kh.dequeue)}}return r},Qh.removeFromQueue=function(t){var e=this,n=e.getElementQueue(),i=e.getElementKeyToQueue(),r=this.getKey(t),a=i[r];null!=a&&(1===a.eles.length?(a.reqs=ve,n.updateItem(a),n.pop(),i[r]=null):a.eles.unmerge(t))},Qh.onDequeue=function(t){this.onDequeues.push(t)},Qh.offDequeue=function(t){Pe(this.onDequeues,t)},Qh.setupDequeueing=Ih.setupDequeueing({deqRedrawThreshold:Zh,deqCost:Hh,deqAvgCost:Uh,deqNoDrawCost:Gh,deqFastCost:Yh,deq:function(t,e,n){return t.dequeue(e,n)},onDeqd:function(t,e){for(var n=0;n=nf||n>ef)return null;i.validateLayersElesOrdering(n,t);var o,s,c=i.layersByLevel,u=Math.pow(2,n),l=c[n]=c[n]||[],h=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;tf<=i&&i<=ef&&!e(i);i+=t);};r(1),r(-1);for(var a=l.length-1;a>=0;a--){var o=l[a];o.invalid&&Pe(l,o)}};if(i.levelIsComplete(n,t))return l;h();var f=function(){if(!o){o=In();for(var e=0;eff)return null;var r=i.makeLayer(o,n);if(null!=e){var a=l.indexOf(e)+1;l.splice(a,0,r)}else(void 0===t.insert||t.insert)&&l.unshift(r);return r};if(i.skipping&&!a)return null;for(var g=null,p=t.length/Jh,b=!a,w=0;w=p||!$n(g.bb,m.boundingBox()))&&!(g=d({insert:!0,after:g})))return null;s||b?i.queueLayer(g,m):i.drawEleInLayer(g,m,n,e),g.eles.push(m),v[n]=g}}return s||(b?null:l)},pf.getEleLevelForLayerLevel=function(t,e){return t},pf.drawEleInLayer=function(t,e,n,i){var r=this,a=this.renderer,o=t.context,s=e.boundingBox();0!==s.w&&0!==s.h&&e.visible()&&(n=r.getEleLevelForLayerLevel(n,i),a.setImgSmoothing(o,!1),a.drawCachedElement(o,e,null,null,n,df),a.setImgSmoothing(o,!0))},pf.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},pf.validateLayersElesOrdering=function(t,e){var n=this.layersByLevel[t];if(n)for(var i=0;i0){e=!0;break}}return e},pf.invalidateElements=function(t){var e=this;0!==t.length&&(e.lastInvalidationTime=ie(),0!==t.length&&e.haveLayers()&&e.updateElementsInLayers(t,(function(t,n,i){e.invalidateLayer(t)})))},pf.invalidateLayer=function(t){if(this.lastInvalidationTime=ie(),!t.invalid){var e=t.level,n=t.eles,i=this.layersByLevel[e];Pe(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")},m=function(){r&&o.drawEdgeOverlay(t,e)},y=function(){r&&o.drawEdgeUnderlay(t,e)},v=function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:b;o.drawArrowheads(t,e,n)},x=function(){o.drawElementText(t,e,null,i)};if(t.lineJoin="round","yes"===e.pstyle("ghost").value){var k=e.pstyle("ghost-offset-x").pfValue,_=e.pstyle("ghost-offset-y").pfValue,A=e.pstyle("ghost-opacity").value,E=p*A;t.translate(k,_),w(E),v(E),t.translate(-k,-_)}y(),w(),v(),m(),x(),n&&t.translate(c.x1,c.y1)}}},Lf=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")}}}};Of.drawEdgeOverlay=Lf("overlay"),Of.drawEdgeUnderlay=Lf("underlay"),Of.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]: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()}Pf.eleTextBiggerThanMin=function(t,e){if(!e){var n=t.cy().zoom(),i=this.getPixelRatio(),r=Math.ceil(vn(n*i));e=Math.pow(2,r)}return!(t.pstyle("font-size").pfValue*e5&&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)},Pf.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)},Pf.getTextAngle=function(t,e){var n=t._private.rscratch,i=e?e+"-":"",r=t.pstyle(i+"text-rotation"),a=Re(n,"labelAngle",e);return"autorotate"===r.strValue?t.isEdge()?a:0:"none"===r.strValue?0:r.pfValue},Pf.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=Re(a,"labelX",n),l=Re(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=Re(a,"labelWidth",n),p=Re(a,"labelHeight",n),b=e.pstyle(d+"text-margin-x").pfValue,w=e.pstyle(d+"text-margin-y").pfValue,m=e.isEdge(),y=e.pstyle("text-halign").value,v=e.pstyle("text-valign").value;switch(m&&(y="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,A=e.pstyle("text-background-padding").pfValue;if(x>0||_>0&&k>0){var E=u-A;switch(y){case"left":E-=g;break;case"center":E-=g/2}var T=l-p-A,C=g+2*A,S=p+2*A;if(x>0){var I=t.fillStyle,M=e.pstyle("text-background-color").value;t.fillStyle="rgba("+M[0]+","+M[1]+","+M[2]+","+x*o+")",0===e.pstyle("text-background-shape").strValue.indexOf("round")?Bf(t,E,T,C,S,2):t.fillRect(E,T,C,S),t.fillStyle=I}if(_>0&&k>0){var D=t.strokeStyle,O=t.lineWidth,L=e.pstyle("text-border-color").value,N=e.pstyle("text-border-style").value;if(t.strokeStyle="rgba("+L[0]+","+L[1]+","+L[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(E,T,C,S),"double"===N){var P=_/2;t.strokeRect(E+P,T+P,C-2*P,S-2*P)}t.setLineDash&&t.setLineDash([]),t.lineWidth=O,t.strokeStyle=D}}var B=2*e.pstyle("text-outline-width").pfValue;if(B>0&&(t.lineWidth=B),"wrap"===e.pstyle("text-wrap").value){var F=Re(a,"labelWrapCachedLines",n),R=Re(a,"labelLineHeight",n),j=g/2,$=this.getLabelJustification(e);switch("auto"===$||("left"===y?"left"===$?u+=-g:"center"===$&&(u+=-j):"center"===y?"left"===$?u+=-j:"right"===$&&(u+=j):"right"===y&&("center"===$?u+=j:"right"===$&&(u+=g))),v){case"top":case"center":case"bottom":l-=(F.length-1)*R}for(var z=0;z0&&t.strokeText(F[z],u,l),t.fillText(F[z],u,l),l+=R}else B>0&&t.strokeText(h,u,l),t.fillText(h,u,l);0!==f&&(t.rotate(-f),t.translate(-s,-c))}}};var Ff={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(A(h.x)&&A(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 m=e.pstyle("background-image").value,y=new Array(m.length),v=new Array(m.length),x=0,k=0;k0&&void 0!==arguments[0]?arguments[0]:S;c.eleFillStyle(t,e,n)},L=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:D;c.colorStrokeStyle(t,I[0],I[1],I[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=pe("polygon"===N?N+","+P.join(","):N,""+r,""+i),R=B[F];null!=R?(f=R,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()},$=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=(T>0?T:-T)*(arguments.length>0&&void 0!==arguments[0]?arguments[0]:g),n=T>0?0:255;0!==T&&(c.colorFillStyle(t,n,n,n,e),p?t.fill(f):t.fill())},H=function(){if(C>0){if(t.lineWidth=C,t.lineCap="butt",t.setLineDash)switch(M){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"===M){t.lineWidth=C/3;var e=t.globalCompositeOperation;t.globalCompositeOperation="destination-out",p?t.stroke(f):t.stroke(),t.globalCompositeOperation=e}t.setLineDash&&t.setLineDash([])}},U=function(){o&&c.drawNodeOverlay(t,e,h,i,r)},G=function(){o&&c.drawNodeUnderlay(t,e,h,i,r)},Y=function(){c.drawElementText(t,e,null,a)};if("yes"===e.pstyle("ghost").value){var Z=e.pstyle("ghost-offset-x").pfValue,W=e.pstyle("ghost-offset-y").pfValue,K=e.pstyle("ghost-opacity").value,X=K*g;t.translate(Z,W),O(K*S),j(),$(X,!0),L(K*D),H(),z(0!==T||0!==C),$(X,!1),q(X),t.translate(-Z,-W)}p&&t.translate(-h.x,-h.y),G(),p&&t.translate(h.x,h.y),O(),j(),$(g,!0),L(),H(),z(0!==T||0!==C),$(g,!1),q(),p&&t.translate(-h.x,-h.y),Y(),U(),n&&t.translate(d.x1,d.y1)}}},Rf=function(t){if(!["overlay","underlay"].includes(t))throw new Error("Invalid state");return function(e,n,i,r,a){var o=this;if(n.visible()){var s=n.pstyle("".concat(t,"-padding")).pfValue,c=n.pstyle("".concat(t,"-opacity")).value,u=n.pstyle("".concat(t,"-color")).value,l=n.pstyle("".concat(t,"-shape")).value;if(c>0){if(i=i||n.position(),null==r||null==a){var h=n.padding();r=n.width()+2*h,a=n.height()+2*h}o.colorFillStyle(e,u[0],u[1],u[2],c),o.nodeShapes[l].draw(e,i.x,i.y,r+2*s,a+2*s),e.fill()}}}};Ff.drawNodeOverlay=Rf("overlay"),Ff.drawNodeUnderlay=Rf("underlay"),Ff.hasPie=function(t){return(t=t[0])._private.hasPie},Ff.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,m=w+2*Math.PI*b;0===d||h>=1||h+b>1||(t.beginPath(),t.moveTo(o,s),t.arc(o,s,l,w,m),t.closePath(),this.colorFillStyle(t,g[0],g[1],g[2],p),t.fill(),h+=b)}};var jf={},$f=100;jf.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},jf.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 m=c.style(),y=c.zoom(),v=void 0!==r?r:y,x=c.pan(),k={x:x.x,y:x.y},_={zoom:y,pan:{x:x.x,y:x.y}},A=o.prevViewport;void 0===A||_.zoom!==A.zoom||_.pan.x!==A.pan.x||_.pan.y!==A.pan.y||p&&!g||(o.motionBlurPxRatio=1),a&&(k=a),v*=s,k.x*=s,k.y*=s;var E=o.getCachedZSortedEles();function T(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 C(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=y*d,l=o.canvasWidth*d,h=o.canvasHeight*d),t.setTransform(1,0,0,1,0,0),"motionBlur"===i?T(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 S=o.data.bufferContexts[o.TEXTURE_BUFFER];S.setTransform(1,0,0,1,0,0),S.clearRect(0,0,o.canvasWidth*o.textureMult,o.canvasHeight*o.textureMult),o.render({forcedContext:S,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 I=u.contexts[o.NODE],M=o.textureCache.texture;_=o.textureCache.viewport,I.setTransform(1,0,0,1,0,0),f?T(I,0,0,_.width,_.height):I.clearRect(0,0,_.width,_.height);var D=m.core("outside-texture-bg-color").value,O=m.core("outside-texture-bg-opacity").value;o.colorFillStyle(I,D[0],D[1],D[2],O),I.fillRect(0,0,_.width,_.height),y=c.zoom(),C(I,!1),I.clearRect(_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s),I.drawImage(M,_.mpan.x,_.mpan.y,_.width/_.zoom/s,_.height/_.zoom/s)}else o.textureOnViewport&&!e&&(o.textureCache=null);var L=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;C(I=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_NODE]:u.contexts[o.NODE]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(I,E.nondrag,s,L):o.drawLayeredElements(I,E.nondrag,s,L),o.debug&&o.drawDebugPoints(I,E.nondrag),n||f||(l[o.NODE]=!1)}if(!i&&(l[o.DRAG]||n||B[o.DRAG])&&(F=f&&!B[o.DRAG]&&1!==d,C(I=e||(F?o.data.bufferContexts[o.MOTIONBLUR_BUFFER_DRAG]:u.contexts[o.DRAG]),f&&!F?"motionBlur":void 0),P?o.drawCachedNodes(I,E.drag,s,L):o.drawCachedElements(I,E.drag,s,L),o.debug&&o.drawDebugPoints(I,E.drag),n||f||(l[o.DRAG]=!1)),o.showFps||!i&&l[o.SELECT_BOX]&&!n){if(C(I=e||u.contexts[o.SELECT_BOX]),1==o.selection[4]&&(o.hoverData.selecting||o.touchData.selecting)){y=o.cy.zoom();var R=m.core("selection-box-border-width").value/y;I.lineWidth=R,I.fillStyle="rgba("+m.core("selection-box-color").value[0]+","+m.core("selection-box-color").value[1]+","+m.core("selection-box-color").value[2]+","+m.core("selection-box-opacity").value+")",I.fillRect(o.selection[0],o.selection[1],o.selection[2]-o.selection[0],o.selection[3]-o.selection[1]),R>0&&(I.strokeStyle="rgba("+m.core("selection-box-border-color").value[0]+","+m.core("selection-box-border-color").value[1]+","+m.core("selection-box-border-color").value[2]+","+m.core("selection-box-opacity").value+")",I.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){y=o.cy.zoom();var j=u.bgActivePosistion;I.fillStyle="rgba("+m.core("active-bg-color").value[0]+","+m.core("active-bg-color").value[1]+","+m.core("active-bg-color").value[2]+","+m.core("active-bg-opacity").value+")",I.beginPath(),I.arc(j.x,j.y,m.core("active-bg-size").pfValue/y,0,2*Math.PI),I.fill()}var $=o.lastRedrawTime;if(o.showFps&&$){$=Math.round($);var z=Math.round(1e3/$);I.setTransform(1,0,0,1,0,0),I.fillStyle="rgba(255, 0, 0, 0.75)",I.strokeStyle="rgba(255, 0, 0, 0.75)",I.lineWidth=1,I.fillText("1 frame = "+$+" ms = "+z+" fps",0,20);var q=60;I.strokeRect(0,30,250,20),I.fillRect(0,30,250*Math.min(z/q,1),20)}n||(l[o.SELECT_BOX]=!1)}if(f&&1!==d){var H=u.contexts[o.NODE],U=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_NODE],G=u.contexts[o.DRAG],Y=o.data.bufferCanvases[o.MOTIONBLUR_BUFFER_DRAG],Z=function(t,e,n){t.setTransform(1,0,0,1,0,0),n||!w?t.clearRect(0,0,o.canvasWidth,o.canvasHeight):T(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])&&(Z(H,U,B[o.NODE]),l[o.NODE]=!1),(l[o.DRAG]||B[o.DRAG])&&(Z(G,Y,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()}),$f)),e||c.emit("render")};for(var zf={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},Wf.png=function(t){return Vf(t,this.bufferCanvasImage(t),"image/png")},Wf.jpg=function(t){return Vf(t,this.bufferCanvasImage(t),"image/jpeg")};var Qf={nodeShapeImpl:function(t,e,n,i,r,a,o){switch(t){case"ellipse":return this.drawEllipsePath(e,n,i,r,a);case"polygon":return this.drawPolygonPath(e,n,i,r,a,o);case"round-polygon":return this.drawRoundPolygonPath(e,n,i,r,a,o);case"roundrectangle":case"round-rectangle":return this.drawRoundRectanglePath(e,n,i,r,a);case"cutrectangle":case"cut-rectangle":return this.drawCutRectanglePath(e,n,i,r,a);case"bottomroundrectangle":case"bottom-round-rectangle":return this.drawBottomRoundRectanglePath(e,n,i,r,a);case"barrel":return this.drawBarrelPath(e,n,i,r,a)}}},Jf=ed,td=ed.prototype;function ed(t){var e=this;e.data={canvases:new Array(td.CANVAS_LAYERS),contexts:new Array(td.CANVAS_LAYERS),canvasNeedsRedraw:new Array(td.CANVAS_LAYERS),bufferCanvases:new Array(td.BUFFER_COUNT),bufferContexts:new Array(td.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"};F()&&(o["-ms-touch-action"]="none",o["touch-action"]="none");for(var s=0;s=e?t:""+Array(e+1-i.length).join(n)+t},m={s:w,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),i=Math.floor(n/60),r=n%60;return(e<=0?"+":"-")+w(i,2,"0")+":"+w(r,2,"0")},m:function t(e,n){if(e.date()1)return t(o[0])}else{var s=e.name;v[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 E(n)},A=m;A.l=k,A.i=x,A.w=function(t,e){return _(t,{locale:e.$L,utc:e.$u,x:e.$x,$offset:e.$offset})};var E=function(){function b(t){this.$L=k(t.locale,null,!0),this.parse(t)}var w=b.prototype;return w.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(A.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(g);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.$x=t.x||{},this.init()},w.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()},w.$utils=function(){return A},w.isValid=function(){return!(this.$d.toString()===d)},w.isSame=function(t,e){var n=_(t);return this.startOf(e)<=n&&n<=this.endOf(e)},w.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,m=c||0,y=u||0,v=l||0;return h?new Date(Date.UTC(p,b,g,w,m,y,v+60*h.offset*1e3)):n?new Date(Date.UTC(p,b,g,w,m,y,v)):new Date(p,b,g,w,m,y,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)}}}()},7547: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)}}}()},6951: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;c||(c=function(t,e,n){return t.apply(e,n)}),a||(a=function(t){return t}),o||(o=function(t){return t}),u||(u=function(t,e){return new t(...e)});const l=x(Array.prototype.forEach),h=x(Array.prototype.pop),f=x(Array.prototype.push),d=x(String.prototype.toLowerCase),g=x(String.prototype.toString),p=x(String.prototype.match),b=x(String.prototype.replace),w=x(String.prototype.indexOf),m=x(String.prototype.trim),y=x(RegExp.prototype.test),v=k(TypeError);function x(t){return function(e){for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r/gm),j=o(/\${[\w\W]*}/gm),$=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),U=o(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),G=o(/^html$/i);var Y=Object.freeze({__proto__:null,MUSTACHE_EXPR:F,ERB_EXPR:R,TMPLIT_EXPR:j,DATA_ATTR:$,ARIA_ATTR:z,IS_ALLOWED_URI:q,IS_SCRIPT_OR_DATA:H,ATTR_WHITESPACE:U,DOCTYPE_NAME:G});const Z=()=>"undefined"==typeof window?null:window,W=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}};function K(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Z();const n=t=>K(t);if(n.version="3.0.3",n.removed=[],!e||!e.document||9!==e.document.nodeType)return n.isSupported=!1,n;const i=e.document,r=i.currentScript;let{document:o}=e;const{DocumentFragment:s,HTMLTemplateElement:c,Node:u,Element:x,NodeFilter:k,NamedNodeMap:F=e.NamedNodeMap||e.MozNamedAttrMap,HTMLFormElement:R,DOMParser:j,trustedTypes:$}=e,z=x.prototype,H=E(z,"cloneNode"),U=E(z,"nextSibling"),X=E(z,"childNodes"),V=E(z,"parentNode");if("function"==typeof c){const t=o.createElement("template");t.content&&t.content.ownerDocument&&(o=t.content.ownerDocument)}let Q,J="";const{implementation:tt,createNodeIterator:et,createDocumentFragment:nt,getElementsByTagName:it}=o,{importNode:rt}=i;let at={};n.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=_({},[...T,...C,...S,...M,...O]);let bt=null;const wt=_({},[...L,...N,...P,...B]);let mt=Object.seal(Object.create(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}})),yt=null,vt=null,xt=!0,kt=!0,_t=!1,At=!0,Et=!1,Tt=!1,Ct=!1,St=!1,It=!1,Mt=!1,Dt=!1,Ot=!0,Lt=!1;const Nt="user-content-";let Pt=!0,Bt=!1,Ft={},Rt=null;const jt=_({},["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 $t=null;const zt=_({},["audio","video","img","source","image","track"]);let qt=null;const Ht=_({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ut="http://www.w3.org/1998/Math/MathML",Gt="http://www.w3.org/2000/svg",Yt="http://www.w3.org/1999/xhtml";let Zt=Yt,Wt=!1,Kt=null;const Xt=_({},[Ut,Gt,Yt],g);let Vt;const Qt=["application/xhtml+xml","text/html"],Jt="text/html";let te,ee=null;const ne=o.createElement("form"),ie=function(t){return t instanceof RegExp||t instanceof Function},re=function(t){if(!ee||ee!==t){if(t&&"object"==typeof t||(t={}),t=A(t),Vt=Vt=-1===Qt.indexOf(t.PARSER_MEDIA_TYPE)?Jt:t.PARSER_MEDIA_TYPE,te="application/xhtml+xml"===Vt?g:d,gt="ALLOWED_TAGS"in t?_({},t.ALLOWED_TAGS,te):pt,bt="ALLOWED_ATTR"in t?_({},t.ALLOWED_ATTR,te):wt,Kt="ALLOWED_NAMESPACES"in t?_({},t.ALLOWED_NAMESPACES,g):Xt,qt="ADD_URI_SAFE_ATTR"in t?_(A(Ht),t.ADD_URI_SAFE_ATTR,te):Ht,$t="ADD_DATA_URI_TAGS"in t?_(A(zt),t.ADD_DATA_URI_TAGS,te):zt,Rt="FORBID_CONTENTS"in t?_({},t.FORBID_CONTENTS,te):jt,yt="FORBID_TAGS"in t?_({},t.FORBID_TAGS,te):{},vt="FORBID_ATTR"in t?_({},t.FORBID_ATTR,te):{},Ft="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,At=!1!==t.ALLOW_SELF_CLOSE_IN_ATTR,Et=t.SAFE_FOR_TEMPLATES||!1,Tt=t.WHOLE_DOCUMENT||!1,It=t.RETURN_DOM||!1,Mt=t.RETURN_DOM_FRAGMENT||!1,Dt=t.RETURN_TRUSTED_TYPE||!1,St=t.FORCE_BODY||!1,Ot=!1!==t.SANITIZE_DOM,Lt=t.SANITIZE_NAMED_PROPS||!1,Pt=!1!==t.KEEP_CONTENT,Bt=t.IN_PLACE||!1,dt=t.ALLOWED_URI_REGEXP||q,Zt=t.NAMESPACE||Yt,mt=t.CUSTOM_ELEMENT_HANDLING||{},t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(mt.tagNameCheck=t.CUSTOM_ELEMENT_HANDLING.tagNameCheck),t.CUSTOM_ELEMENT_HANDLING&&ie(t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(mt.attributeNameCheck=t.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),t.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(mt.allowCustomizedBuiltInElements=t.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Et&&(kt=!1),Mt&&(It=!0),Ft&&(gt=_({},[...O]),bt=[],!0===Ft.html&&(_(gt,T),_(bt,L)),!0===Ft.svg&&(_(gt,C),_(bt,N),_(bt,B)),!0===Ft.svgFilters&&(_(gt,S),_(bt,N),_(bt,B)),!0===Ft.mathMl&&(_(gt,M),_(bt,P),_(bt,B))),t.ADD_TAGS&&(gt===pt&&(gt=A(gt)),_(gt,t.ADD_TAGS,te)),t.ADD_ATTR&&(bt===wt&&(bt=A(bt)),_(bt,t.ADD_ATTR,te)),t.ADD_URI_SAFE_ATTR&&_(qt,t.ADD_URI_SAFE_ATTR,te),t.FORBID_CONTENTS&&(Rt===jt&&(Rt=A(Rt)),_(Rt,t.FORBID_CONTENTS,te)),Pt&&(gt["#text"]=!0),Tt&&_(gt,["html","head","body"]),gt.table&&(_(gt,["tbody"]),delete yt.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=W($,r)),null!==Q&&"string"==typeof J&&(J=Q.createHTML(""));a&&a(t),ee=t}},ae=_({},["mi","mo","mn","ms","mtext"]),oe=_({},["foreignobject","desc","title","annotation-xml"]),se=_({},["title","style","font","a","script"]),ce=_({},C);_(ce,S),_(ce,I);const ue=_({},M);_(ue,D);const le=function(t){let e=V(t);e&&e.tagName||(e={namespaceURI:Zt,tagName:"template"});const n=d(t.tagName),i=d(e.tagName);return!!Kt[t.namespaceURI]&&(t.namespaceURI===Gt?e.namespaceURI===Yt?"svg"===n:e.namespaceURI===Ut?"svg"===n&&("annotation-xml"===i||ae[i]):Boolean(ce[n]):t.namespaceURI===Ut?e.namespaceURI===Yt?"math"===n:e.namespaceURI===Gt?"math"===n&&oe[i]:Boolean(ue[n]):t.namespaceURI===Yt?!(e.namespaceURI===Gt&&!oe[i])&&!(e.namespaceURI===Ut&&!ae[i])&&!ue[n]&&(se[n]||!ce[n]):!("application/xhtml+xml"!==Vt||!Kt[t.namespaceURI]))},he=function(t){f(n.removed,{element:t});try{t.parentNode.removeChild(t)}catch(e){t.remove()}},fe=function(t,e){try{f(n.removed,{attribute:e.getAttributeNode(t),from:e})}catch(t){f(n.removed,{attribute:null,from:e})}if(e.removeAttribute(t),"is"===t&&!bt[t])if(It||Mt)try{he(e)}catch(t){}else try{e.setAttribute(t,"")}catch(t){}},de=function(t){let e,n;if(St)t=""+t;else{const e=p(t,/^[\r\n\t ]+/);n=e&&e[0]}"application/xhtml+xml"===Vt&&Zt===Yt&&(t=''+t+"");const i=Q?Q.createHTML(t):t;if(Zt===Yt)try{e=(new j).parseFromString(i,Vt)}catch(t){}if(!e||!e.documentElement){e=tt.createDocument(Zt,"template",null);try{e.documentElement.innerHTML=Wt?J:i}catch(t){}}const r=e.body||e.documentElement;return t&&n&&r.insertBefore(o.createTextNode(n),r.childNodes[0]||null),Zt===Yt?it.call(e,Tt?"html":"body")[0]:Tt?e.documentElement:r},ge=function(t){return et.call(t.ownerDocument||t,t,k.SHOW_ELEMENT|k.SHOW_COMMENT|k.SHOW_TEXT,null,!1)},pe=function(t){return t instanceof R&&("string"!=typeof t.nodeName||"string"!=typeof t.textContent||"function"!=typeof t.removeChild||!(t.attributes instanceof F)||"function"!=typeof t.removeAttribute||"function"!=typeof t.setAttribute||"string"!=typeof t.namespaceURI||"function"!=typeof t.insertBefore||"function"!=typeof t.hasChildNodes)},be=function(t){return"object"==typeof u?t instanceof u:t&&"object"==typeof t&&"number"==typeof t.nodeType&&"string"==typeof t.nodeName},we=function(t,e,i){at[t]&&l(at[t],(t=>{t.call(n,e,i,ee)}))},me=function(t){let e;if(we("beforeSanitizeElements",t,null),pe(t))return he(t),!0;const i=te(t.nodeName);if(we("uponSanitizeElement",t,{tagName:i,allowedTags:gt}),t.hasChildNodes()&&!be(t.firstElementChild)&&(!be(t.content)||!be(t.content.firstElementChild))&&y(/<[/\w]/g,t.innerHTML)&&y(/<[/\w]/g,t.textContent))return he(t),!0;if(!gt[i]||yt[i]){if(!yt[i]&&ve(i)){if(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,i))return!1;if(mt.tagNameCheck instanceof Function&&mt.tagNameCheck(i))return!1}if(Pt&&!Rt[i]){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(H(n[i],!0),U(t))}return he(t),!0}return t instanceof x&&!le(t)?(he(t),!0):"noscript"!==i&&"noembed"!==i||!y(/<\/no(script|embed)/i,t.innerHTML)?(Et&&3===t.nodeType&&(e=t.textContent,e=b(e,ot," "),e=b(e,st," "),e=b(e,ct," "),t.textContent!==e&&(f(n.removed,{element:t.cloneNode()}),t.textContent=e)),we("afterSanitizeElements",t,null),!1):(he(t),!0)},ye=function(t,e,n){if(Ot&&("id"===e||"name"===e)&&(n in o||n in ne))return!1;if(kt&&!vt[e]&&y(ut,e));else if(xt&&y(lt,e));else if(!bt[e]||vt[e]){if(!(ve(t)&&(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,t)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(t))&&(mt.attributeNameCheck instanceof RegExp&&y(mt.attributeNameCheck,e)||mt.attributeNameCheck instanceof Function&&mt.attributeNameCheck(e))||"is"===e&&mt.allowCustomizedBuiltInElements&&(mt.tagNameCheck instanceof RegExp&&y(mt.tagNameCheck,n)||mt.tagNameCheck instanceof Function&&mt.tagNameCheck(n))))return!1}else if(qt[e]);else if(y(dt,b(n,ft,"")));else if("src"!==e&&"xlink:href"!==e&&"href"!==e||"script"===t||0!==w(n,"data:")||!$t[t])if(_t&&!y(ht,b(n,ft,"")));else if(n)return!1;return!0},ve=function(t){return t.indexOf("-")>0},xe=function(t){let e,i,r,a;we("beforeSanitizeAttributes",t,null);const{attributes:o}=t;if(!o)return;const s={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:bt};for(a=o.length;a--;){e=o[a];const{name:c,namespaceURI:u}=e;if(i="value"===c?e.value:m(e.value),r=te(c),s.attrName=r,s.attrValue=i,s.keepAttr=!0,s.forceKeepAttr=void 0,we("uponSanitizeAttribute",t,s),i=s.attrValue,s.forceKeepAttr)continue;if(fe(c,t),!s.keepAttr)continue;if(!At&&y(/\/>/i,i)){fe(c,t);continue}Et&&(i=b(i,ot," "),i=b(i,st," "),i=b(i,ct," "));const l=te(t.nodeName);if(ye(l,r,i)){if(!Lt||"id"!==r&&"name"!==r||(fe(c,t),i=Nt+i),Q&&"object"==typeof $&&"function"==typeof $.getAttributeType)if(u);else switch($.getAttributeType(l,r)){case"TrustedHTML":i=Q.createHTML(i);break;case"TrustedScriptURL":i=Q.createScriptURL(i)}try{u?t.setAttributeNS(u,c,i):t.setAttribute(c,i),h(n.removed)}catch(t){}}}we("afterSanitizeAttributes",t,null)},ke=function t(e){let n;const i=ge(e);for(we("beforeSanitizeShadowDOM",e,null);n=i.nextNode();)we("uponSanitizeShadowNode",n,null),me(n)||(n.content instanceof s&&t(n.content),xe(n));we("afterSanitizeShadowDOM",e,null)};return n.sanitize=function(t){let e,r,a,o,c=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(Wt=!t,Wt&&(t="\x3c!--\x3e"),"string"!=typeof t&&!be(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(!n.isSupported)return t;if(Ct||re(c),n.removed=[],"string"==typeof t&&(Bt=!1),Bt){if(t.nodeName){const e=te(t.nodeName);if(!gt[e]||yt[e])throw v("root node is forbidden and cannot be sanitized in-place")}}else if(t instanceof u)e=de("\x3c!----\x3e"),r=e.ownerDocument.importNode(t,!0),1===r.nodeType&&"BODY"===r.nodeName||"HTML"===r.nodeName?e=r:e.appendChild(r);else{if(!It&&!Et&&!Tt&&-1===t.indexOf("<"))return Q&&Dt?Q.createHTML(t):t;if(e=de(t),!e)return It?null:Dt?J:""}e&&St&&he(e.firstChild);const l=ge(Bt?t:e);for(;a=l.nextNode();)me(a)||(a.content instanceof s&&ke(a.content),xe(a));if(Bt)return t;if(It){if(Mt)for(o=nt.call(e.ownerDocument);e.firstChild;)o.appendChild(e.firstChild);else o=e;return(bt.shadowroot||bt.shadowrootmod)&&(o=rt.call(i,o,!0)),o}let h=Tt?e.outerHTML:e.innerHTML;return Tt&>["!doctype"]&&e.ownerDocument&&e.ownerDocument.doctype&&e.ownerDocument.doctype.name&&y(G,e.ownerDocument.doctype.name)&&(h="\n"+h),Et&&(h=b(h,ot," "),h=b(h,st," "),h=b(h,ct," ")),Q&&Dt?Q.createHTML(h):h},n.setConfig=function(t){re(t),Ct=!0},n.clearConfig=function(){ee=null,Ct=!1},n.isValidAttribute=function(t,e,n){ee||re({});const i=te(t),r=te(e);return ye(i,r,n)},n.addHook=function(t,e){"function"==typeof e&&(at[t]=at[t]||[],f(at[t],e))},n.removeHook=function(t){if(at[t])return h(at[t])},n.removeHooks=function(t){at[t]&&(at[t]=[])},n.removeAllHooks=function(){at={}},n}return K()}()},7697:function(t,e,n){t.exports=function(){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 m(){}function y(){}function v(){}function x(){}function k(){}function _(){}function A(){}function E(){}function T(){}function C(){}function S(){}function I(){}function M(){}function D(){}function O(){}function L(){}function N(){}function P(){}function B(){}function F(){}function R(){}function j(){}function $(){}function z(){}function q(){}function H(){}function U(){}function G(){}function Y(){}function Z(){}function W(){}function K(){}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 mt(){}function yt(){}function vt(){}function xt(){}function kt(){}function _t(){}function At(){}function Et(){}function Tt(){}function Ct(){}function St(){}function It(){}function Mt(){}function Dt(){}function Ot(){}function Lt(){}function Nt(){}function Pt(){}function Bt(){}function Ft(){}function Rt(){}function jt(){}function $t(){}function zt(){}function qt(){}function Ht(){}function Ut(){}function Gt(){}function Yt(){}function Zt(){}function Wt(){}function Kt(){}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 me(){}function ye(){}function ve(){}function xe(){}function ke(){}function _e(){}function Ae(){}function Ee(){}function Te(){}function Ce(){}function Se(){}function Ie(){}function Me(){}function De(){}function Oe(){}function Le(){}function Ne(){}function Pe(){}function Be(){}function Fe(){}function Re(){}function je(){}function $e(){}function ze(){}function qe(){}function He(){}function Ue(){}function Ge(){}function Ye(){}function Ze(){}function We(){}function Ke(){}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 mn(){}function yn(){}function vn(){}function xn(){}function kn(){}function _n(){}function An(){}function En(){}function Tn(){}function Cn(){}function Sn(){}function In(){}function Mn(){}function Dn(){}function On(){}function Ln(){}function Nn(){}function Pn(){}function Bn(){}function Fn(){}function Rn(){}function jn(){}function $n(){}function zn(){}function qn(){}function Hn(){}function Un(){}function Gn(){}function Yn(){}function Zn(){}function Wn(){}function Kn(){}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 mi(){}function yi(){}function vi(){}function xi(){}function ki(){}function _i(){}function Ai(){}function Ei(){}function Ti(){}function Ci(){}function Si(){}function Ii(){}function Mi(){}function Di(){}function Oi(){}function Li(){}function Ni(){}function Pi(){}function Bi(){}function Fi(){}function Ri(){}function ji(){}function $i(){}function zi(){}function qi(){}function Hi(){}function Ui(){}function Gi(){}function Yi(){}function Zi(){}function Wi(){}function Ki(){}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 mr(){}function yr(){}function vr(){}function xr(){}function kr(){}function _r(){}function Ar(){}function Er(){}function Tr(){}function Cr(){}function Sr(){}function Ir(){}function Mr(){}function Dr(){}function Or(){}function Lr(){}function Nr(){}function Pr(){}function Br(){}function Fr(){}function Rr(){}function jr(){}function $r(){}function zr(){}function qr(){}function Hr(){}function Ur(){}function Gr(){}function Yr(){}function Zr(){}function Wr(){}function Kr(){}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 ma(){}function ya(){}function va(){}function xa(){}function ka(){}function _a(){}function Aa(){}function Ea(){}function Ta(){}function Ca(){}function Sa(){}function Ia(){}function Ma(){}function Da(){}function Oa(){}function La(){}function Na(){}function Pa(){}function Ba(){}function Fa(){}function Ra(){}function ja(){}function $a(){}function za(){}function qa(){}function Ha(){}function Ua(){}function Ga(){}function Ya(){}function Za(){}function Wa(){}function Ka(){}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 mo(){}function yo(){}function vo(){}function xo(){}function ko(){}function _o(){}function Ao(){}function Eo(){}function To(){}function Co(){}function So(){}function Io(){}function Mo(){}function Do(){}function Oo(){}function Lo(){}function No(){}function Po(){}function Bo(){}function Fo(){}function Ro(){}function jo(){}function $o(){}function zo(){}function qo(){}function Ho(){}function Uo(){}function Go(){}function Yo(){}function Zo(){}function Wo(){}function Ko(){}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 ms(){}function ys(){}function vs(){}function xs(){}function ks(){}function _s(){}function As(){}function Es(){}function Ts(){}function Cs(){}function Ss(){}function Is(){}function Ms(){}function Ds(){}function Os(){}function Ls(){}function Ns(){}function Ps(){}function Bs(){}function Fs(){}function Rs(){}function js(){}function $s(){}function zs(){}function qs(){}function Hs(){}function Us(){}function Gs(){}function Ys(){}function Zs(){}function Ws(){}function Ks(){}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 mc(){}function yc(){}function vc(){}function xc(){}function kc(){}function _c(){}function Ac(){}function Ec(){}function Tc(){}function Cc(){}function Sc(){}function Ic(){}function Mc(){}function Dc(){}function Oc(){}function Lc(){}function Nc(){}function Pc(){}function Bc(){}function Fc(){}function Rc(){}function jc(){}function $c(){}function zc(){}function qc(){}function Hc(){}function Uc(){}function Gc(){}function Yc(){}function Zc(){}function Wc(){}function Kc(){}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 mu(){}function yu(){}function vu(){}function xu(){}function ku(){}function _u(){}function Au(){}function Eu(){}function Tu(){}function Cu(){}function Su(){}function Iu(){}function Mu(){}function Du(){}function Ou(){}function Lu(){}function Nu(){}function Pu(){}function Bu(){}function Fu(){}function Ru(){}function ju(){}function $u(){}function zu(){}function qu(){}function Hu(){}function Uu(){}function Gu(){}function Yu(){}function Zu(){}function Wu(){}function Ku(){}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 ml(){}function yl(){}function vl(){}function xl(){}function kl(){}function _l(){}function Al(){}function El(){}function Tl(){}function Cl(){}function Sl(){}function Il(){}function Ml(){}function Dl(){}function Ol(){}function Ll(){}function Nl(){}function Pl(){}function Bl(){}function Fl(){}function Rl(){}function jl(t){}function $l(t){}function zl(){iv()}function ql(){Gut()}function Hl(){Awt()}function Ul(){$xt()}function Gl(){_Tt()}function Yl(){fFt()}function Zl(){jvt()}function Wl(){axt()}function Kl(){_E()}function Xl(){yE()}function Vl(){Hj()}function Ql(){AE()}function Jl(){Mrt()}function th(){TE()}function eh(){I6()}function nh(){Sit()}function ih(){X8()}function rh(){jJ()}function ah(){Yut()}function oh(){$Et()}function sh(){Iit()}function ch(){Y2()}function uh(){fWt()}function lh(){Gvt()}function hh(){$J()}function fh(){HZt()}function dh(){FJ()}function gh(){Mit()}function ph(){Qst()}function bh(){UJ()}function wh(){S7()}function mh(){CE()}function yh(){jDt()}function vh(){Zvt()}function xh(){zat()}function kh(){TEt()}function _h(){gFt()}function Ah(){qmt()}function Eh(){IDt()}function Th(){Rot()}function Ch(){qJ()}function Sh(){ljt()}function Ih(){LDt()}function Mh(){KOt()}function Dh(){P7()}function Oh(){CEt()}function Lh(){lWt()}function Nh(){Wut()}function Ph(){ypt()}function Bh(){Uzt()}function Fh(){sj()}function Rh(){pat()}function jh(){f$t()}function $h(t){xW(t)}function zh(t){this.a=t}function qh(t){this.a=t}function Hh(t){this.a=t}function Uh(t){this.a=t}function Gh(t){this.a=t}function Yh(t){this.a=t}function Zh(t){this.a=t}function Wh(t){this.a=t}function Kh(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.a=t}function cf(t){this.a=t}function uf(t){this.b=t}function lf(t){this.c=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 mf(t){this.a=t}function yf(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 Af(t){this.a=t}function Ef(t){this.a=t}function Tf(t){this.a=t}function Cf(t){this.a=t}function Sf(){this.a=[]}function If(t,e){t.a=e}function Mf(t,e){t.a=e}function Df(t,e){t.b=e}function Of(t,e){t.b=e}function Lf(t,e){t.b=e}function Nf(t,e){t.j=e}function Pf(t,e){t.g=e}function Bf(t,e){t.i=e}function Ff(t,e){t.c=e}function Rf(t,e){t.d=e}function jf(t,e){t.d=e}function $f(t,e){t.c=e}function zf(t,e){t.k=e}function qf(t,e){t.c=e}function Hf(t,e){t.c=e}function Uf(t,e){t.a=e}function Gf(t,e){t.a=e}function Yf(t,e){t.f=e}function Zf(t,e){t.a=e}function Wf(t,e){t.b=e}function Kf(t,e){t.d=e}function Xf(t,e){t.i=e}function Vf(t,e){t.o=e}function Qf(t,e){t.r=e}function Jf(t,e){t.a=e}function td(t,e){t.b=e}function ed(t,e){t.e=e}function nd(t,e){t.f=e}function id(t,e){t.g=e}function rd(t,e){t.e=e}function ad(t,e){t.f=e}function od(t,e){t.f=e}function sd(t,e){t.n=e}function cd(t,e){t.a=e}function ud(t,e){t.a=e}function ld(t,e){t.c=e}function hd(t,e){t.c=e}function fd(t,e){t.d=e}function dd(t,e){t.e=e}function gd(t,e){t.g=e}function pd(t,e){t.a=e}function bd(t,e){t.c=e}function wd(t,e){t.d=e}function md(t,e){t.e=e}function yd(t,e){t.f=e}function vd(t,e){t.j=e}function xd(t,e){t.a=e}function kd(t,e){t.b=e}function _d(t,e){t.a=e}function Ad(t){t.b=t.a}function Ed(t){t.c=t.d.d}function Td(t){this.d=t}function Cd(t){this.a=t}function Sd(t){this.a=t}function Id(t){this.a=t}function Md(t){this.a=t}function Dd(t){this.a=t}function Od(t){this.a=t}function Ld(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 Rd(t){this.a=t}function jd(t){this.a=t}function $d(t){this.a=t}function zd(t){this.b=t}function qd(t){this.b=t}function Hd(t){this.b=t}function Ud(t){this.a=t}function Gd(t){this.a=t}function Yd(t){this.a=t}function Zd(t){this.c=t}function Wd(t){this.c=t}function Kd(t){this.c=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.a=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 mg(t){this.a=t}function yg(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 Ag(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 Ig(t){this.a=t}function Mg(t){this.a=t}function Dg(t){this.a=t}function Og(t){this.a=t}function Lg(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 Rg(t){this.a=t}function jg(t){this.a=t}function $g(t){this.a=t}function zg(t){this.e=t}function qg(t){this.a=t}function Hg(t){this.a=t}function Ug(t){this.a=t}function Gg(t){this.a=t}function Yg(t){this.a=t}function Zg(t){this.a=t}function Wg(t){this.a=t}function Kg(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.a=t}function hp(t){this.a=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 mp(t){this.a=t}function yp(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 Ap(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 Ip(t){this.a=t}function Mp(t){this.a=t}function Dp(t){this.a=t}function Op(t){this.a=t}function Lp(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 Rp(t){this.a=t}function jp(t){this.a=t}function $p(t){this.a=t}function zp(t){this.c=t}function qp(t){this.b=t}function Hp(t){this.a=t}function Up(t){this.a=t}function Gp(t){this.a=t}function Yp(t){this.a=t}function Zp(t){this.a=t}function Wp(t){this.a=t}function Kp(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 mb(t){this.a=t}function yb(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 Ab(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 Ib(t){this.a=t}function Mb(t){this.a=t}function Db(t){this.a=t}function Ob(t){this.a=t}function Lb(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 Rb(t){this.a=t}function jb(t){this.a=t}function $b(t){this.a=t}function zb(t){this.a=t}function qb(t){this.a=t}function Hb(t){this.a=t}function Ub(t){this.a=t}function Gb(t){this.a=t}function Yb(t){this.a=t}function Zb(t){this.a=t}function Wb(t){this.a=t}function Kb(t){this.a=t}function Xb(t){this.a=t}function Vb(t){this.a=t}function Qb(t){this.a=t}function Jb(t){this.a=t}function tw(t){this.a=t}function ew(t){this.a=t}function nw(t){this.a=t}function iw(t){this.a=t}function rw(t){this.a=t}function aw(t){this.a=t}function ow(t){this.a=t}function sw(t){this.b=t}function cw(t){this.f=t}function uw(t){this.a=t}function lw(t){this.a=t}function hw(t){this.a=t}function fw(t){this.a=t}function dw(t){this.a=t}function gw(t){this.a=t}function pw(t){this.a=t}function bw(t){this.a=t}function ww(t){this.a=t}function mw(t){this.a=t}function yw(t){this.a=t}function vw(t){this.b=t}function xw(t){this.c=t}function kw(t){this.e=t}function _w(t){this.a=t}function Aw(t){this.a=t}function Ew(t){this.a=t}function Tw(t){this.a=t}function Cw(t){this.a=t}function Sw(t){this.d=t}function Iw(t){this.a=t}function Mw(t){this.a=t}function Dw(t){this.e=t}function Ow(){this.a=0}function Lw(){BD(this)}function Nw(){PD(this)}function Pw(){OY(this)}function Bw(){gK(this)}function Fw(){jl(this)}function Rw(){this.c=LOe}function jw(t,e){e.Wb(t)}function $w(t,e){t.b+=e}function zw(t){t.b=new cx}function qw(t){return t.e}function Hw(t){return t.a}function Uw(t){return t.a}function Gw(t){return t.a}function Yw(t){return t.a}function Zw(t){return t.a}function Ww(){return null}function Kw(){return null}function Xw(){o_(),bZt()}function Vw(t){t.b.tf(t.e)}function Qw(t,e){t.b=e-t.b}function Jw(t,e){t.a=e-t.a}function tm(t,e){e.ad(t.a)}function em(t,e){USt(e,t)}function nm(t,e,n){t.Od(n,e)}function im(t,e){t.e=e,e.b=t}function rm(t){uj(),this.a=t}function am(t){uj(),this.a=t}function om(t){uj(),this.a=t}function sm(t){WZ(),this.a=t}function cm(t){CV(),iee.be(t)}function um(){bN.call(this)}function lm(){bN.call(this)}function hm(){um.call(this)}function fm(){um.call(this)}function dm(){um.call(this)}function gm(){um.call(this)}function pm(){um.call(this)}function bm(){um.call(this)}function wm(){um.call(this)}function mm(){um.call(this)}function ym(){um.call(this)}function vm(){um.call(this)}function xm(){um.call(this)}function km(){this.a=this}function _m(){this.Bb|=256}function Am(){this.b=new CM}function Em(){Em=M,new Pw}function Tm(){hm.call(this)}function Cm(t,e){t.length=e}function Sm(t,e){Wz(t.a,e)}function Im(t,e){ZTt(t.c,e)}function Mm(t,e){AY(t.b,e)}function Dm(t,e){Mmt(t.a,e)}function Om(t,e){Dft(t.a,e)}function Lm(t,e){got(t.e,e)}function Nm(t){OMt(t.c,t.b)}function Pm(t,e){t.kc().Nb(e)}function Bm(t){this.a=wdt(t)}function Fm(){this.a=new Pw}function Rm(){this.a=new Pw}function jm(){this.a=new Nw}function $m(){this.a=new Nw}function zm(){this.a=new Nw}function qm(){this.a=new vt}function Hm(){this.a=new x6}function Um(){this.a=new fe}function Gm(){this.a=new WA}function Ym(){this.a=new B0}function Zm(){this.a=new aJ}function Wm(){this.a=new DF}function Km(){this.a=new Nw}function Xm(){this.a=new Nw}function Vm(){this.a=new Nw}function Qm(){this.a=new Nw}function Jm(){this.d=new Nw}function ty(){this.a=new Fm}function ey(){this.a=new Pw}function ny(){this.b=new Pw}function iy(){this.b=new Nw}function ry(){this.e=new Nw}function ay(){this.d=new Nw}function oy(){this.a=new oh}function sy(){Nw.call(this)}function cy(){jm.call(this)}function uy(){NF.call(this)}function ly(){Xm.call(this)}function hy(){fy.call(this)}function fy(){Fw.call(this)}function dy(){Fw.call(this)}function gy(){dy.call(this)}function py(){pV.call(this)}function by(){pV.call(this)}function wy(){Wy.call(this)}function my(){Wy.call(this)}function yy(){Wy.call(this)}function vy(){Ky.call(this)}function xy(){VA.call(this)}function ky(){ic.call(this)}function _y(){ic.call(this)}function Ay(){tv.call(this)}function Ey(){tv.call(this)}function Ty(){Pw.call(this)}function Cy(){Pw.call(this)}function Sy(){Pw.call(this)}function Iy(){Fm.call(this)}function My(){_it.call(this)}function Dy(){_m.call(this)}function Oy(){ML.call(this)}function Ly(){ML.call(this)}function Ny(){Pw.call(this)}function Py(){Pw.call(this)}function By(){Pw.call(this)}function Fy(){vc.call(this)}function Ry(){vc.call(this)}function jy(){Fy.call(this)}function $y(){Bl.call(this)}function zy(t){bet.call(this,t)}function qy(t){bet.call(this,t)}function Hy(t){Kh.call(this,t)}function Uy(t){EA.call(this,t)}function Gy(t){Uy.call(this,t)}function Yy(t){EA.call(this,t)}function Zy(){this.a=new VA}function Wy(){this.a=new Fm}function Ky(){this.a=new Pw}function Xy(){this.a=new Nw}function Vy(){this.j=new Nw}function Qy(){this.a=new Wo}function Jy(){this.a=new L_}function tv(){this.a=new yc}function ev(){ev=M,$te=new Px}function nv(){nv=M,jte=new Nx}function iv(){iv=M,Dte=new a}function rv(){rv=M,Yte=new aN}function av(t){Uy.call(this,t)}function ov(t){Uy.call(this,t)}function sv(t){p4.call(this,t)}function cv(t){p4.call(this,t)}function uv(t){KR.call(this,t)}function lv(t){xTt.call(this,t)}function hv(t){SA.call(this,t)}function fv(t){MA.call(this,t)}function dv(t){MA.call(this,t)}function gv(t){MA.call(this,t)}function pv(t){hG.call(this,t)}function bv(t){pv.call(this,t)}function wv(){Cf.call(this,{})}function mv(t){SL(),this.a=t}function yv(t){t.b=null,t.c=0}function vv(t,e){t.e=e,IPt(t,e)}function xv(t,e){t.a=e,sSt(t)}function kv(t,e,n){t.a[e.g]=n}function _v(t,e,n){pkt(n,t,e)}function Av(t,e){JF(e.i,t.n)}function Ev(t,e){lut(t).td(e)}function Tv(t,e){return t*t/e}function Cv(t,e){return t.g-e.g}function Sv(t){return new Tf(t)}function Iv(t){return new UZ(t)}function Mv(t){pv.call(this,t)}function Dv(t){pv.call(this,t)}function Ov(t){pv.call(this,t)}function Lv(t){hG.call(this,t)}function Nv(t){$at(),this.a=t}function Pv(t){oj(),this.a=t}function Bv(t){$U(),this.f=t}function Fv(t){$U(),this.f=t}function Rv(t){pv.call(this,t)}function jv(t){pv.call(this,t)}function $v(t){pv.call(this,t)}function zv(t){pv.call(this,t)}function qv(t){pv.call(this,t)}function Hv(t){return xW(t),t}function Uv(t){return xW(t),t}function Gv(t){return xW(t),t}function Yv(t){return xW(t),t}function Zv(t){return xW(t),t}function Wv(t){return t.b==t.c}function Kv(t){return!!t&&t.b}function Xv(t){return!!t&&t.k}function Vv(t){return!!t&&t.j}function Qv(t){xW(t),this.a=t}function Jv(t){return tut(t),t}function tx(t){mY(t,t.length)}function ex(t){pv.call(this,t)}function nx(t){pv.call(this,t)}function ix(t){pv.call(this,t)}function rx(t){pv.call(this,t)}function ax(t){pv.call(this,t)}function ox(t){pv.call(this,t)}function sx(t){JN.call(this,t,0)}function cx(){c1.call(this,12,3)}function ux(){ux=M,nee=new k}function lx(){lx=M,Qte=new r}function hx(){hx=M,aee=new b}function fx(){fx=M,hee=new m}function dx(){throw qw(new wm)}function gx(){throw qw(new wm)}function px(){throw qw(new wm)}function bx(){throw qw(new wm)}function wx(){throw qw(new wm)}function mx(){throw qw(new wm)}function yx(){this.a=TB(vZ(zWt))}function vx(t){uj(),this.a=vZ(t)}function xx(t,e){t.Td(e),e.Sd(t)}function kx(t,e){t.a.ec().Mc(e)}function _x(t,e,n){t.c.lf(e,n)}function Ax(t){Dv.call(this,t)}function Ex(t){jv.call(this,t)}function Tx(){Dd.call(this,"")}function Cx(){Dd.call(this,"")}function Sx(){Dd.call(this,"")}function Ix(){Dd.call(this,"")}function Mx(t){Dv.call(this,t)}function Dx(t){qd.call(this,t)}function Ox(t){dN.call(this,t)}function Lx(t){Dx.call(this,t)}function Nx(){tf.call(this,null)}function Px(){tf.call(this,null)}function Bx(){Bx=M,CV()}function Fx(){Fx=M,xne=v_t()}function Rx(t){return t.a?t.b:0}function jx(t){return t.a?t.b:0}function $x(t,e){return t.a-e.a}function zx(t,e){return t.a-e.a}function qx(t,e){return t.a-e.a}function Hx(t,e){return y9(t,e)}function Ux(t,e){return bJ(t,e)}function Gx(t,e){return e in t.a}function Yx(t,e){return t.f=e,t}function Zx(t,e){return t.b=e,t}function Wx(t,e){return t.c=e,t}function Kx(t,e){return t.g=e,t}function Xx(t,e){return t.a=e,t}function Vx(t,e){return t.f=e,t}function Qx(t,e){return t.k=e,t}function Jx(t,e){return t.a=e,t}function tk(t,e){return t.e=e,t}function ek(t,e){return t.e=e,t}function nk(t,e){return t.f=e,t}function ik(t,e){t.b=!0,t.d=e}function rk(t,e){t.b=new gD(e)}function ak(t,e,n){e.td(t.a[n])}function ok(t,e,n){e.we(t.a[n])}function sk(t,e){return t.b-e.b}function ck(t,e){return t.g-e.g}function uk(t,e){return t.s-e.s}function lk(t,e){return t?0:e-1}function hk(t,e){return t?0:e-1}function fk(t,e){return t?e-1:0}function dk(t,e){return e.Yf(t)}function gk(t,e){return t.b=e,t}function pk(t,e){return t.a=e,t}function bk(t,e){return t.c=e,t}function wk(t,e){return t.d=e,t}function mk(t,e){return t.e=e,t}function yk(t,e){return t.f=e,t}function vk(t,e){return t.a=e,t}function xk(t,e){return t.b=e,t}function kk(t,e){return t.c=e,t}function _k(t,e){return t.c=e,t}function Ak(t,e){return t.b=e,t}function Ek(t,e){return t.d=e,t}function Tk(t,e){return t.e=e,t}function Ck(t,e){return t.f=e,t}function Sk(t,e){return t.g=e,t}function Ik(t,e){return t.a=e,t}function Mk(t,e){return t.i=e,t}function Dk(t,e){return t.j=e,t}function Ok(t,e){return t.k=e,t}function Lk(t,e){return t.j=e,t}function Nk(t,e){$Et(),SJ(e,t)}function Pk(t,e,n){UU(t.a,e,n)}function Bk(t){zK.call(this,t)}function Fk(t){zK.call(this,t)}function Rk(t){tj.call(this,t)}function jk(t){Udt.call(this,t)}function $k(t){wet.call(this,t)}function zk(t){wX.call(this,t)}function qk(t){wX.call(this,t)}function Hk(){MO.call(this,"")}function Uk(){this.a=0,this.b=0}function Gk(){this.b=0,this.a=0}function Yk(t,e){t.b=0,Pnt(t,e)}function Zk(t,e){t.c=e,t.b=!0}function Wk(t,e){return t.c._b(e)}function Kk(t){return t.e&&t.e()}function Xk(t){return t?t.d:null}function Vk(t,e){return wht(t.b,e)}function Qk(t){return t?t.g:null}function Jk(t){return t?t.i:null}function t_(t){return _B(t),t.o}function e_(){e_=M,pMe=Wxt()}function n_(){n_=M,bMe=uAt()}function i_(){i_=M,tOe=Xxt()}function r_(){r_=M,pLe=Kxt()}function a_(){a_=M,bLe=rSt()}function o_(){o_=M,fDe=oit()}function s_(){throw qw(new wm)}function c_(){throw qw(new wm)}function u_(){throw qw(new wm)}function l_(){throw qw(new wm)}function h_(){throw qw(new wm)}function f_(){throw qw(new wm)}function d_(t){this.a=new ZA(t)}function g_(t){dYt(),FZt(this,t)}function p_(t){this.a=new WG(t)}function b_(t,e){for(;t.ye(e););}function w_(t,e){for(;t.sd(e););}function m_(t,e){return t.a+=e,t}function y_(t,e){return t.a+=e,t}function v_(t,e){return t.a+=e,t}function x_(t,e){return t.a+=e,t}function k_(t){return _W(t),t.a}function __(t){return t.b!=t.d.c}function A_(t){return t.l|t.m<<22}function E_(t,e){return t.d[e.p]}function T_(t,e){return CPt(t,e)}function C_(t,e,n){t.splice(e,n)}function S_(t){t.c?PBt(t):BBt(t)}function I_(t){this.a=0,this.b=t}function M_(){this.a=new INt(ike)}function D_(){this.b=new INt(Hve)}function O_(){this.b=new INt(W_e)}function L_(){this.b=new INt(W_e)}function N_(){throw qw(new wm)}function P_(){throw qw(new wm)}function B_(){throw qw(new wm)}function F_(){throw qw(new wm)}function R_(){throw qw(new wm)}function j_(){throw qw(new wm)}function $_(){throw qw(new wm)}function z_(){throw qw(new wm)}function q_(){throw qw(new wm)}function H_(){throw qw(new wm)}function U_(){throw qw(new vm)}function G_(){throw qw(new vm)}function Y_(t){this.a=new Z_(t)}function Z_(t){Git(this,t,D_t())}function W_(t){return!t||wW(t)}function K_(t){return-1!=WLe[t]}function X_(){0!=oee&&(oee=0),cee=-1}function V_(){null==SWt&&(SWt=[])}function Q_(t,e){nDt(XX(t.a),e)}function J_(t,e){nDt(XX(t.a),e)}function tA(t,e){qL.call(this,t,e)}function eA(t,e){tA.call(this,t,e)}function nA(t,e){this.b=t,this.c=e}function iA(t,e){this.b=t,this.a=e}function rA(t,e){this.a=t,this.b=e}function aA(t,e){this.a=t,this.b=e}function oA(t,e){this.a=t,this.b=e}function sA(t,e){this.a=t,this.b=e}function cA(t,e){this.a=t,this.b=e}function uA(t,e){this.a=t,this.b=e}function lA(t,e){this.a=t,this.b=e}function hA(t,e){this.a=t,this.b=e}function fA(t,e){this.b=t,this.a=e}function dA(t,e){this.b=t,this.a=e}function gA(t,e){this.b=t,this.a=e}function pA(t,e){this.b=t,this.a=e}function bA(t,e){this.f=t,this.g=e}function wA(t,e){this.e=t,this.d=e}function mA(t,e){this.g=t,this.i=e}function yA(t,e){this.a=t,this.b=e}function vA(t,e){this.a=t,this.f=e}function xA(t,e){this.b=t,this.c=e}function kA(t,e){this.a=t,this.b=e}function _A(t,e){this.a=t,this.b=e}function AA(t,e){this.a=t,this.b=e}function EA(t){oN(t.dc()),this.c=t}function TA(t){this.b=zz(vZ(t),83)}function CA(t){this.a=zz(vZ(t),83)}function SA(t){this.a=zz(vZ(t),15)}function IA(t){this.a=zz(vZ(t),15)}function MA(t){this.b=zz(vZ(t),47)}function DA(){this.q=new n.Date}function OA(){OA=M,qee=new D}function LA(){LA=M,dne=new C}function NA(t){return t.f.c+t.g.c}function PA(t,e){return t.b.Hc(e)}function BA(t,e){return t.b.Ic(e)}function FA(t,e){return t.b.Qc(e)}function RA(t,e){return t.b.Hc(e)}function jA(t,e){return t.c.uc(e)}function $A(t,e){return t.a._b(e)}function zA(t,e){return Pht(t.c,e)}function qA(t,e){return lY(t.b,e)}function HA(t,e){return t>e&&e0}function uT(t,e){return Xlt(t,e)<0}function lT(t,e){return t.a.get(e)}function hT(t,e){return e.split(t)}function fT(t,e){return lY(t.e,e)}function dT(t){return xW(t),!1}function gT(t){g1.call(this,t,21)}function pT(t,e){jQ.call(this,t,e)}function bT(t,e){bA.call(this,t,e)}function wT(t,e){bA.call(this,t,e)}function mT(t){KZ(),KR.call(this,t)}function yT(t,e){kU(t,t.length,e)}function vT(t,e){XY(t,t.length,e)}function xT(t,e,n){e.ud(t.a.Ge(n))}function kT(t,e,n){e.we(t.a.Fe(n))}function _T(t,e,n){e.td(t.a.Kb(n))}function AT(t,e,n){t.Mb(n)&&e.td(n)}function ET(t,e,n){t.splice(e,0,n)}function TT(t,e){return TN(t.e,e)}function CT(t,e){this.d=t,this.e=e}function ST(t,e){this.b=t,this.a=e}function IT(t,e){this.b=t,this.a=e}function MT(t,e){this.b=t,this.a=e}function DT(t,e){this.a=t,this.b=e}function OT(t,e){this.a=t,this.b=e}function LT(t,e){this.a=t,this.b=e}function NT(t,e){this.a=t,this.b=e}function PT(t,e){this.a=t,this.b=e}function BT(t,e){this.b=t,this.a=e}function FT(t,e){this.b=t,this.a=e}function RT(t,e){bA.call(this,t,e)}function jT(t,e){bA.call(this,t,e)}function $T(t,e){bA.call(this,t,e)}function zT(t,e){bA.call(this,t,e)}function qT(t,e){bA.call(this,t,e)}function HT(t,e){bA.call(this,t,e)}function UT(t,e){bA.call(this,t,e)}function GT(t,e){bA.call(this,t,e)}function YT(t,e){bA.call(this,t,e)}function ZT(t,e){bA.call(this,t,e)}function WT(t,e){bA.call(this,t,e)}function KT(t,e){bA.call(this,t,e)}function XT(t,e){bA.call(this,t,e)}function VT(t,e){bA.call(this,t,e)}function QT(t,e){bA.call(this,t,e)}function JT(t,e){bA.call(this,t,e)}function tC(t,e){bA.call(this,t,e)}function eC(t,e){bA.call(this,t,e)}function nC(t,e){this.a=t,this.b=e}function iC(t,e){this.a=t,this.b=e}function rC(t,e){this.a=t,this.b=e}function aC(t,e){this.a=t,this.b=e}function oC(t,e){this.a=t,this.b=e}function sC(t,e){this.a=t,this.b=e}function cC(t,e){this.a=t,this.b=e}function uC(t,e){this.a=t,this.b=e}function lC(t,e){this.a=t,this.b=e}function hC(t,e){this.b=t,this.a=e}function fC(t,e){this.b=t,this.a=e}function dC(t,e){this.b=t,this.a=e}function gC(t,e){this.b=t,this.a=e}function pC(t,e){this.c=t,this.d=e}function bC(t,e){this.e=t,this.d=e}function wC(t,e){this.a=t,this.b=e}function mC(t,e){this.b=e,this.c=t}function yC(t,e){bA.call(this,t,e)}function vC(t,e){bA.call(this,t,e)}function xC(t,e){bA.call(this,t,e)}function kC(t,e){bA.call(this,t,e)}function _C(t,e){bA.call(this,t,e)}function AC(t,e){bA.call(this,t,e)}function EC(t,e){bA.call(this,t,e)}function TC(t,e){bA.call(this,t,e)}function CC(t,e){bA.call(this,t,e)}function SC(t,e){bA.call(this,t,e)}function IC(t,e){bA.call(this,t,e)}function MC(t,e){bA.call(this,t,e)}function DC(t,e){bA.call(this,t,e)}function OC(t,e){bA.call(this,t,e)}function LC(t,e){bA.call(this,t,e)}function NC(t,e){bA.call(this,t,e)}function PC(t,e){bA.call(this,t,e)}function BC(t,e){bA.call(this,t,e)}function FC(t,e){bA.call(this,t,e)}function RC(t,e){bA.call(this,t,e)}function jC(t,e){bA.call(this,t,e)}function $C(t,e){bA.call(this,t,e)}function zC(t,e){bA.call(this,t,e)}function qC(t,e){bA.call(this,t,e)}function HC(t,e){bA.call(this,t,e)}function UC(t,e){bA.call(this,t,e)}function GC(t,e){bA.call(this,t,e)}function YC(t,e){bA.call(this,t,e)}function ZC(t,e){bA.call(this,t,e)}function WC(t,e){bA.call(this,t,e)}function KC(t,e){bA.call(this,t,e)}function XC(t,e){bA.call(this,t,e)}function VC(t,e){bA.call(this,t,e)}function QC(t,e){bA.call(this,t,e)}function JC(t,e){this.b=t,this.a=e}function tS(t,e){this.a=t,this.b=e}function eS(t,e){this.a=t,this.b=e}function nS(t,e){this.a=t,this.b=e}function iS(t,e){this.a=t,this.b=e}function rS(t,e){bA.call(this,t,e)}function aS(t,e){bA.call(this,t,e)}function oS(t,e){this.b=t,this.d=e}function sS(t,e){bA.call(this,t,e)}function cS(t,e){bA.call(this,t,e)}function uS(t,e){this.a=t,this.b=e}function lS(t,e){this.a=t,this.b=e}function hS(t,e){bA.call(this,t,e)}function fS(t,e){bA.call(this,t,e)}function dS(t,e){bA.call(this,t,e)}function gS(t,e){bA.call(this,t,e)}function pS(t,e){bA.call(this,t,e)}function bS(t,e){bA.call(this,t,e)}function wS(t,e){bA.call(this,t,e)}function mS(t,e){bA.call(this,t,e)}function yS(t,e){bA.call(this,t,e)}function vS(t,e){bA.call(this,t,e)}function xS(t,e){bA.call(this,t,e)}function kS(t,e){bA.call(this,t,e)}function _S(t,e){bA.call(this,t,e)}function AS(t,e){bA.call(this,t,e)}function ES(t,e){bA.call(this,t,e)}function TS(t,e){bA.call(this,t,e)}function CS(t,e){return TN(t.c,e)}function SS(t,e){return TN(e.b,t)}function IS(t,e){return-t.b.Je(e)}function MS(t,e){return TN(t.g,e)}function DS(t,e){bA.call(this,t,e)}function OS(t,e){bA.call(this,t,e)}function LS(t,e){this.a=t,this.b=e}function NS(t,e){this.a=t,this.b=e}function PS(t,e){this.a=t,this.b=e}function BS(t,e){bA.call(this,t,e)}function FS(t,e){bA.call(this,t,e)}function RS(t,e){bA.call(this,t,e)}function jS(t,e){bA.call(this,t,e)}function $S(t,e){bA.call(this,t,e)}function zS(t,e){bA.call(this,t,e)}function qS(t,e){bA.call(this,t,e)}function HS(t,e){bA.call(this,t,e)}function US(t,e){bA.call(this,t,e)}function GS(t,e){bA.call(this,t,e)}function YS(t,e){bA.call(this,t,e)}function ZS(t,e){bA.call(this,t,e)}function WS(t,e){bA.call(this,t,e)}function KS(t,e){bA.call(this,t,e)}function XS(t,e){bA.call(this,t,e)}function VS(t,e){bA.call(this,t,e)}function QS(t,e){this.a=t,this.b=e}function JS(t,e){this.a=t,this.b=e}function tI(t,e){this.a=t,this.b=e}function eI(t,e){this.a=t,this.b=e}function nI(t,e){this.a=t,this.b=e}function iI(t,e){this.a=t,this.b=e}function rI(t,e){this.a=t,this.b=e}function aI(t,e){bA.call(this,t,e)}function oI(t,e){this.a=t,this.b=e}function sI(t,e){this.a=t,this.b=e}function cI(t,e){this.a=t,this.b=e}function uI(t,e){this.a=t,this.b=e}function lI(t,e){this.a=t,this.b=e}function hI(t,e){this.a=t,this.b=e}function fI(t,e){this.b=t,this.a=e}function dI(t,e){this.b=t,this.a=e}function gI(t,e){this.b=t,this.a=e}function pI(t,e){this.b=t,this.a=e}function bI(t,e){this.a=t,this.b=e}function wI(t,e){this.a=t,this.b=e}function mI(t,e){JLt(t.a,zz(e,56))}function yI(t,e){m9(t.a,zz(e,11))}function vI(t,e){return lq(),e!=t}function xI(){return Fx(),new xne}function kI(){HJ(),this.b=new Fm}function _I(){bPt(),this.a=new Fm}function AI(){RJ(),RU.call(this)}function EI(t,e){bA.call(this,t,e)}function TI(t,e){this.a=t,this.b=e}function CI(t,e){this.a=t,this.b=e}function SI(t,e){this.a=t,this.b=e}function II(t,e){this.a=t,this.b=e}function MI(t,e){this.a=t,this.b=e}function DI(t,e){this.a=t,this.b=e}function OI(t,e){this.d=t,this.b=e}function LI(t,e){this.d=t,this.e=e}function NI(t,e){this.f=t,this.c=e}function PI(t,e){this.b=t,this.c=e}function BI(t,e){this.i=t,this.g=e}function FI(t,e){this.e=t,this.a=e}function RI(t,e){this.a=t,this.b=e}function jI(t,e){t.i=null,srt(t,e)}function $I(t,e){t&&KW(lDe,t,e)}function zI(t,e){return apt(t.a,e)}function qI(t){return spt(t.c,t.b)}function HI(t){return t?t.dd():null}function UI(t){return null==t?null:t}function GI(t){return typeof t===LWt}function YI(t){return typeof t===NWt}function ZI(t){return typeof t===PWt}function WI(t,e){return t.Hd().Xb(e)}function KI(t,e){return Vat(t.Kc(),e)}function XI(t,e){return 0==Xlt(t,e)}function VI(t,e){return Xlt(t,e)>=0}function QI(t,e){return 0!=Xlt(t,e)}function JI(t){return""+(xW(t),t)}function tM(t,e){return t.substr(e)}function eM(t){return Ydt(t),t.d.gc()}function nM(t){return YMt(t,t.c),t}function iM(t){return Qq(null==t),t}function rM(t,e){return t.a+=""+e,t}function aM(t,e){return t.a+=""+e,t}function oM(t,e){return t.a+=""+e,t}function sM(t,e){return t.a+=""+e,t}function cM(t,e){return t.a+=""+e,t}function uM(t,e){return t.a+=""+e,t}function lM(t,e){r5(t,e,t.a,t.a.a)}function hM(t,e){r5(t,e,t.c.b,t.c)}function fM(t,e,n){jkt(e,RCt(t,n))}function dM(t,e,n){jkt(e,RCt(t,n))}function gM(t,e){Att(new DL(t),e)}function pM(t,e){t.q.setTime(k2(e))}function bM(t,e){GG.call(this,t,e)}function wM(t,e){GG.call(this,t,e)}function mM(t,e){GG.call(this,t,e)}function yM(t){OY(this),Eat(this,t)}function vM(t){return f1(t,0),null}function xM(t){return t.a=0,t.b=0,t}function kM(t,e){return t.a=e.g+1,t}function _M(t,e){return 2==t.j[e.p]}function AM(t){return uZ(zz(t,79))}function EM(){EM=M,Dre=dlt(nwt())}function TM(){TM=M,Jce=dlt(ANt())}function CM(){this.b=new ZA(net(12))}function SM(){this.b=0,this.a=!1}function IM(){this.b=0,this.a=!1}function MM(t){this.a=t,zl.call(this)}function DM(t){this.a=t,zl.call(this)}function OM(t,e){iF.call(this,t,e)}function LM(t,e){eR.call(this,t,e)}function NM(t,e){BI.call(this,t,e)}function PM(t,e){Oot.call(this,t,e)}function BM(t,e){XN.call(this,t,e)}function FM(t,e){tT(),KW(yDe,t,e)}function RM(t,e){return hP(t.a,0,e)}function jM(t,e){return t.a.a.a.cc(e)}function $M(t,e){return UI(t)===UI(e)}function zM(t,e){return Sft(t.a,e.a)}function qM(t,e){return _O(t.a,e.a)}function HM(t,e){return $Y(t.a,e.a)}function UM(t,e){return t.indexOf(e)}function GM(t,e){return t==e?0:t?1:-1}function YM(t){return t<10?"0"+t:""+t}function ZM(t){return vZ(t),new MM(t)}function WM(t){return EO(t.l,t.m,t.h)}function KM(t){return SQ((xW(t),t))}function XM(t){return SQ((xW(t),t))}function VM(t,e){return _O(t.g,e.g)}function QM(t){return typeof t===NWt}function JM(t){return t==Joe||t==nse}function tD(t){return t==Joe||t==tse}function eD(t){return _9(t.b.b,t,0)}function nD(t){this.a=xI(),this.b=t}function iD(t){this.a=xI(),this.b=t}function rD(t,e){return Wz(t.a,e),e}function aD(t,e){return Wz(t.c,e),t}function oD(t,e){return Jat(t.a,e),t}function sD(t,e){return Uj(),e.a+=t}function cD(t,e){return Uj(),e.a+=t}function uD(t,e){return Uj(),e.c+=t}function lD(t,e){G7(t,0,t.length,e)}function hD(){ng.call(this,new m4)}function fD(){sU.call(this,0,0,0,0)}function dD(){YK.call(this,0,0,0,0)}function gD(t){this.a=t.a,this.b=t.b}function pD(t){return t==jCe||t==$Ce}function bD(t){return t==qCe||t==RCe}function wD(t){return t==hme||t==lme}function mD(t){return t!=XSe&&t!=VSe}function yD(t){return t.Lg()&&t.Mg()}function vD(t){return yK(zz(t,118))}function xD(t){return Jat(new z2,t)}function kD(t,e){return new Oot(e,t)}function _D(t,e){return new Oot(e,t)}function AD(t,e,n){_nt(t,e),Ant(t,n)}function ED(t,e,n){Cnt(t,e),Tnt(t,n)}function TD(t,e,n){Snt(t,e),Int(t,n)}function CD(t,e,n){Ent(t,e),Dnt(t,n)}function SD(t,e,n){Mnt(t,e),Ont(t,n)}function ID(t,e){Fut(t,e),Bnt(t,t.D)}function MD(t){NI.call(this,t,!0)}function DD(t,e,n){NB.call(this,t,e,n)}function OD(t){DBt(),lot.call(this,t)}function LD(){bT.call(this,"Head",1)}function ND(){bT.call(this,"Tail",3)}function PD(t){t.c=P8(Ote,HWt,1,0,5,1)}function BD(t){t.a=P8(Ote,HWt,1,8,5,1)}function FD(t){Det(t.xf(),new Tg(t))}function RD(t){return null!=t?eut(t):0}function jD(t,e){return Iet(e,WQ(t))}function $D(t,e){return Iet(e,WQ(t))}function zD(t,e){return t[t.length]=e}function qD(t,e){return t[t.length]=e}function HD(t){return $z(t.b.Kc(),t.a)}function UD(t,e){return Zit(CZ(t.d),e)}function GD(t,e){return Zit(CZ(t.g),e)}function YD(t,e){return Zit(CZ(t.j),e)}function ZD(t,e){iF.call(this,t.b,e)}function WD(t){sU.call(this,t,t,t,t)}function KD(t){return t.b&&Xzt(t),t.a}function XD(t){return t.b&&Xzt(t),t.c}function VD(t,e){Xne||(t.b=e)}function QD(t,e,n){return OZ(t,e,n),n}function JD(t,e,n){OZ(t.c[e.g],e.g,n)}function tO(t,e,n){zz(t.c,69).Xh(e,n)}function eO(t,e,n){TD(n,n.i+t,n.j+e)}function nO(t,e){h7(o4(t.a),n1(e))}function iO(t,e){h7(q9(t.a),i1(e))}function rO(t){pWt(),Dw.call(this,t)}function aO(t){return null==t?0:eut(t)}function oO(){oO=M,uve=new Hdt(cSe)}function sO(){sO=M,new cO,new Nw}function cO(){new Pw,new Pw,new Pw}function uO(){uO=M,Em(),ree=new Pw}function lO(){lO=M,n.Math.log(2)}function hO(){hO=M,GE(),FOe=SMe}function fO(){throw qw(new ex(Ete))}function dO(){throw qw(new ex(Ete))}function gO(){throw qw(new ex(Tte))}function pO(){throw qw(new ex(Tte))}function bO(t){this.a=t,Xz.call(this,t)}function wO(t){this.a=t,TA.call(this,t)}function mO(t){this.a=t,TA.call(this,t)}function yO(t,e){vU(t.c,t.c.length,e)}function vO(t){return t.ae?1:0}function AO(t,e){return Xlt(t,e)>0?t:e}function EO(t,e,n){return{l:t,m:e,h:n}}function TO(t,e){null!=t.a&&yI(e,t.a)}function CO(t){t.a=new O,t.c=new O}function SO(t){this.b=t,this.a=new Nw}function IO(t){this.b=new ee,this.a=t}function MO(t){LF.call(this),this.a=t}function DO(){bT.call(this,"Range",2)}function OO(){nkt(),this.a=new INt(Yoe)}function LO(t,e){vZ(e),_K(t).Jc(new d)}function NO(t,e){return zJ(),e.n.b+=t}function PO(t,e,n){return KW(t.g,n,e)}function BO(t,e,n){return KW(t.k,n,e)}function FO(t,e){return KW(t.a,e.a,e)}function RO(t,e,n){return Mpt(e,n,t.c)}function jO(t){return new PS(t.c,t.d)}function $O(t){return new PS(t.c,t.d)}function zO(t){return new PS(t.a,t.b)}function qO(t,e){return nGt(t.a,e,null)}function HO(t){TJ(t,null),EJ(t,null)}function UO(t){WJ(t,null),KJ(t,null)}function GO(){XN.call(this,null,null)}function YO(){VN.call(this,null,null)}function ZO(t){this.a=t,Pw.call(this)}function WO(t){this.b=(TX(),new Zd(t))}function KO(t){t.j=P8(zee,lKt,310,0,0,1)}function XO(t,e,n){t.c.Vc(e,zz(n,133))}function VO(t,e,n){t.c.ji(e,zz(n,133))}function QO(t,e){lHt(t),t.Gc(zz(e,15))}function JO(t,e){return qHt(t.c,t.b,e)}function tL(t,e){return new wN(t.Kc(),e)}function eL(t,e){return-1!=zst(t.Kc(),e)}function nL(t,e){return null!=t.a.Bc(e)}function iL(t){return t.Ob()?t.Pb():null}function rL(t){return qpt(t,0,t.length)}function aL(t,e){return null!=t&&Vwt(t,e)}function oL(t,e){t.q.setHours(e),dzt(t,e)}function sL(t,e){t.c&&(Fq(e),xQ(e))}function cL(t,e,n){zz(t.Kb(n),164).Nb(e)}function uL(t,e,n){return HUt(t,e,n),n}function lL(t,e,n){t.a=1502^e,t.b=n^sVt}function hL(t,e,n){return t.a[e.g][n.g]}function fL(t,e){return t.a[e.c.p][e.p]}function dL(t,e){return t.e[e.c.p][e.p]}function gL(t,e){return t.c[e.c.p][e.p]}function pL(t,e){return t.j[e.p]=mLt(e)}function bL(t,e){return h6(t.f,e.tg())}function wL(t,e){return h6(t.b,e.tg())}function mL(t,e){return t.a0?e*e/t:e*e*100}function PP(t,e){return t>0?e/(t*t):100*e}function BP(t,e,n){return Wz(e,ugt(t,n))}function FP(t,e,n){P7(),t.Xe(e)&&n.td(t)}function RP(t,e,n){t.Zc(e).Rb(n)}function jP(t,e,n){return t.a+=e,t.b+=n,t}function $P(t,e,n){return t.a*=e,t.b*=n,t}function zP(t,e,n){return t.a-=e,t.b-=n,t}function qP(t,e){return t.a=e.a,t.b=e.b,t}function HP(t){return t.a=-t.a,t.b=-t.b,t}function UP(t){this.c=t,this.a=1,this.b=1}function GP(t){this.c=t,Snt(t,0),Int(t,0)}function YP(t){VA.call(this),eit(this,t)}function ZP(t){RZt(),zw(this),this.mf(t)}function WP(t,e){XE(),XN.call(this,t,e)}function KP(t,e){VE(),VN.call(this,t,e)}function XP(t,e){VE(),VN.call(this,t,e)}function VP(t,e){VE(),KP.call(this,t,e)}function QP(t,e,n){v7.call(this,t,e,n,2)}function JP(t,e){hO(),aU.call(this,t,e)}function tB(t,e){hO(),JP.call(this,t,e)}function eB(t,e){hO(),JP.call(this,t,e)}function nB(t,e){hO(),eB.call(this,t,e)}function iB(t,e){hO(),aU.call(this,t,e)}function rB(t,e){hO(),iB.call(this,t,e)}function aB(t,e){hO(),aU.call(this,t,e)}function oB(t,e){return t.c.Fc(zz(e,133))}function sB(t,e,n){return Pqt($9(t,e),n)}function cB(t,e,n){return e.Qk(t.e,t.c,n)}function uB(t,e,n){return e.Rk(t.e,t.c,n)}function lB(t,e){return nht(t.e,zz(e,49))}function hB(t,e,n){lft(q9(t.a),e,i1(n))}function fB(t,e,n){lft(o4(t.a),e,n1(n))}function dB(t,e){e.$modCount=t.$modCount}function gB(){gB=M,Kxe=new sw("root")}function pB(){pB=M,wDe=new Ay,new Ey}function bB(){this.a=new wQ,this.b=new wQ}function wB(){_it.call(this),this.Bb|=qXt}function mB(){bA.call(this,"GROW_TREE",0)}function yB(t){return null==t?null:pYt(t)}function vB(t){return null==t?null:NTt(t)}function xB(t){return null==t?null:qdt(t)}function kB(t){return null==t?null:qdt(t)}function _B(t){null==t.o&&wOt(t)}function AB(t){return Qq(null==t||GI(t)),t}function EB(t){return Qq(null==t||YI(t)),t}function TB(t){return Qq(null==t||ZI(t)),t}function CB(t){this.q=new n.Date(k2(t))}function SB(t,e){this.c=t,wA.call(this,t,e)}function IB(t,e){this.a=t,SB.call(this,t,e)}function MB(t,e){this.d=t,Ed(this),this.b=e}function DB(t,e){z8.call(this,t),this.a=e}function OB(t,e){z8.call(this,t),this.a=e}function LB(t){Ugt.call(this,0,0),this.f=t}function NB(t,e,n){W6.call(this,t,e,n,null)}function PB(t,e,n){W6.call(this,t,e,n,null)}function BB(t,e,n){return t.ue(e,n)<=0?n:e}function FB(t,e,n){return t.ue(e,n)<=0?e:n}function RB(t,e){return zz(ftt(t.b,e),149)}function jB(t,e){return zz(ftt(t.c,e),229)}function $B(t){return zz(PH(t.a,t.b),287)}function zB(t){return new PS(t.c,t.d+t.a)}function qB(t){return zJ(),wD(zz(t,197))}function HB(){HB=M,Ore=edt((vpt(),jIe))}function UB(t,e){e.a?zPt(t,e):EN(t.a,e.b)}function GB(t,e){Xne||Wz(t.a,e)}function YB(t,e){return yE(),pot(e.d.i,t)}function ZB(t,e){return Mrt(),new oRt(e,t)}function WB(t,e){return MV(e,cQt),t.f=e,t}function KB(t,e,n){return n=Ejt(t,e,3,n)}function XB(t,e,n){return n=Ejt(t,e,6,n)}function VB(t,e,n){return n=Ejt(t,e,9,n)}function QB(t,e,n){++t.j,t.Ki(),L8(t,e,n)}function JB(t,e,n){++t.j,t.Hi(e,t.oi(e,n))}function tF(t,e,n){t.Zc(e).Rb(n)}function eF(t,e,n){return tqt(t.c,t.b,e,n)}function nF(t,e){return(e&FWt)%t.d.length}function iF(t,e){sw.call(this,t),this.a=e}function rF(t,e){xw.call(this,t),this.a=e}function aF(t,e){xw.call(this,t),this.a=e}function oF(t,e){this.c=t,wet.call(this,e)}function sF(t,e){this.a=t,vw.call(this,e)}function cF(t,e){this.a=t,vw.call(this,e)}function uF(t){this.a=(dit(t,OKt),new Q6(t))}function lF(t){this.a=(dit(t,OKt),new Q6(t))}function hF(t){return!t.a&&(t.a=new g),t.a}function fF(t){return t>8?0:t+1}function dF(t,e){return lN(),t==e?0:t?1:-1}function gF(t,e,n){return yU(t,zz(e,22),n)}function pF(t,e,n){return t.apply(e,n)}function bF(t,e,n){return t.a+=qpt(e,0,n),t}function wF(t,e){var n;return n=t.e,t.e=e,n}function mF(t,e){t[rVt].call(t,e)}function yF(t,e){t[rVt].call(t,e)}function vF(t,e){t.a.Vc(t.b,e),++t.b,t.c=-1}function xF(t){OY(t.e),t.d.b=t.d,t.d.a=t.d}function kF(t){t.b?kF(t.b):t.f.c.zc(t.e,t.d)}function _F(t,e,n){pE(),If(t,e.Ce(t.a,n))}function AF(t,e){return Xk(Tpt(t.a,e,!0))}function EF(t,e){return Xk(Cpt(t.a,e,!0))}function TF(t,e){return Hx(new Array(e),t)}function CF(t){return String.fromCharCode(t)}function SF(t){return null==t?null:t.message}function IF(){this.a=new Nw,this.b=new Nw}function MF(){this.a=new fe,this.b=new Am}function DF(){this.b=new Uk,this.c=new Nw}function OF(){this.d=new Uk,this.e=new Uk}function LF(){this.n=new Uk,this.o=new Uk}function NF(){this.n=new dy,this.i=new dD}function PF(){this.a=new th,this.b=new sa}function BF(){this.a=new Nw,this.d=new Nw}function FF(){this.b=new Fm,this.a=new Fm}function RF(){this.b=new Pw,this.a=new Pw}function jF(){this.b=new D_,this.a=new bo}function $F(){NF.call(this),this.a=new Uk}function zF(t){Dot.call(this,t,(J7(),Nne))}function qF(t,e,n,i){sU.call(this,t,e,n,i)}function HF(t,e,n){null!=n&&Nit(e,Oyt(t,n))}function UF(t,e,n){null!=n&&Pit(e,Oyt(t,n))}function GF(t,e,n){return n=Ejt(t,e,11,n)}function YF(t,e){return t.a+=e.a,t.b+=e.b,t}function ZF(t,e){return t.a-=e.a,t.b-=e.b,t}function WF(t,e){return t.n.a=(xW(e),e+10)}function KF(t,e){return t.n.a=(xW(e),e+10)}function XF(t,e){return e==t||Ckt(ILt(e),t)}function VF(t,e){return null==KW(t.a,e,"")}function QF(t,e){return yE(),!pot(e.d.i,t)}function JF(t,e){pD(t.f)?oOt(t,e):MAt(t,e)}function tR(t,e){return e.Hh(t.a)}function eR(t,e){Dv.call(this,i7t+t+u8t+e)}function nR(t,e,n,i){nY.call(this,t,e,n,i)}function iR(t,e,n,i){nY.call(this,t,e,n,i)}function rR(t,e,n,i){iR.call(this,t,e,n,i)}function aR(t,e,n,i){iY.call(this,t,e,n,i)}function oR(t,e,n,i){iY.call(this,t,e,n,i)}function sR(t,e,n,i){iY.call(this,t,e,n,i)}function cR(t,e,n,i){oR.call(this,t,e,n,i)}function uR(t,e,n,i){oR.call(this,t,e,n,i)}function lR(t,e,n,i){sR.call(this,t,e,n,i)}function hR(t,e,n,i){uR.call(this,t,e,n,i)}function fR(t,e,n,i){JG.call(this,t,e,n,i)}function dR(t,e,n){this.a=t,JN.call(this,e,n)}function gR(t,e,n){this.c=e,this.b=n,this.a=t}function pR(t,e,n){return t.d=zz(e.Kb(n),164)}function bR(t,e){return t.Aj().Nh().Kh(t,e)}function wR(t,e){return t.Aj().Nh().Ih(t,e)}function mR(t,e){return xW(t),UI(t)===UI(e)}function yR(t,e){return xW(t),UI(t)===UI(e)}function vR(t,e){return Xk(Tpt(t.a,e,!1))}function xR(t,e){return Xk(Cpt(t.a,e,!1))}function kR(t,e){return t.b.sd(new OT(t,e))}function _R(t,e){return t.b.sd(new LT(t,e))}function AR(t,e){return t.b.sd(new NT(t,e))}function ER(t,e,n){return t.lastIndexOf(e,n)}function TR(t,e,n){return Sft(t[e.b],t[n.b])}function CR(t,e){return hct(e,(HZt(),Fpe),t)}function SR(t,e){return _O(e.a.d.p,t.a.d.p)}function IR(t,e){return _O(t.a.d.p,e.a.d.p)}function MR(t,e){return Sft(t.c-t.s,e.c-e.s)}function DR(t){return t.c?_9(t.c.a,t,0):-1}function OR(t){return t<100?null:new $k(t)}function LR(t){return t==YSe||t==WSe||t==ZSe}function NR(t,e){return aL(e,15)&&VBt(t.c,e)}function PR(t,e){Xne||e&&(t.d=e)}function BR(t,e){return!!dut(t,e)}function FR(t,e){this.c=t,UY.call(this,t,e)}function RR(t){this.c=t,mM.call(this,gKt,0)}function jR(t,e){Qz.call(this,t,t.length,e)}function $R(t,e,n){return zz(t.c,69).lk(e,n)}function zR(t,e,n){return zz(t.c,69).mk(e,n)}function qR(t,e,n){return cB(t,zz(e,332),n)}function HR(t,e,n){return uB(t,zz(e,332),n)}function UR(t,e,n){return M_t(t,zz(e,332),n)}function GR(t,e,n){return VAt(t,zz(e,332),n)}function YR(t,e){return null==e?null:dht(t.b,e)}function ZR(t){return YI(t)?(xW(t),t):t.ke()}function WR(t){return!isNaN(t)&&!isFinite(t)}function KR(t){uj(),this.a=(TX(),new Dx(t))}function XR(t){lq(),this.d=t,this.a=new Lw}function VR(t,e,n){this.a=t,this.b=e,this.c=n}function QR(t,e,n){this.a=t,this.b=e,this.c=n}function JR(t,e,n){this.d=t,this.b=n,this.a=e}function tj(t){CO(this),vX(this),zrt(this,t)}function ej(t){PD(this),eq(this.c,0,t.Pc())}function nj(t){hW(t.a),G8(t.c,t.b),t.b=null}function ij(t){this.a=t,OA(),fot(Date.now())}function rj(){rj=M,iie=new r,rie=new r}function aj(){aj=M,Ane=new L,Ene=new N}function oj(){oj=M,gDe=P8(Ote,HWt,1,0,5,1)}function sj(){sj=M,EOe=P8(Ote,HWt,1,0,5,1)}function cj(){cj=M,TOe=P8(Ote,HWt,1,0,5,1)}function uj(){uj=M,new rm((TX(),TX(),lne))}function lj(t){return J7(),Stt((t9(),jne),t)}function hj(t){return Uut(),Stt((n8(),Jne),t)}function fj(t){return hwt(),Stt((I4(),wie),t)}function dj(t){return Ftt(),Stt((M4(),xie),t)}function gj(t){return nFt(),Stt((Bot(),$ie),t)}function pj(t){return Fet(),Stt((J6(),Wie),t)}function bj(t){return Q7(),Stt((t8(),ere),t)}function wj(t){return U9(),Stt((e8(),sre),t)}function mj(t){return bWt(),Stt((EM(),Dre),t)}function yj(t){return Fot(),Stt((n9(),jre),t)}function vj(t){return Hwt(),Stt((i9(),Gre),t)}function xj(t){return Uwt(),Stt((r9(),iae),t)}function kj(t){return gE(),Stt((X2(),oae),t)}function _j(t){return Rtt(),Stt((D4(),jae),t)}function Aj(t){return H9(),Stt((i8(),Loe),t)}function Ej(t){return xEt(),Stt((Ztt(),Hoe),t)}function Tj(t){return Ost(),Stt((e9(),rse),t)}function Cj(t){return qht(),Stt((r8(),bse),t)}function Sj(t,e){if(!t)throw qw(new jv(e))}function Ij(t){return cTt(),Stt((hnt(),Dse),t)}function Mj(t){sU.call(this,t.d,t.c,t.a,t.b)}function Dj(t){sU.call(this,t.d,t.c,t.a,t.b)}function Oj(t,e,n){this.b=t,this.c=e,this.a=n}function Lj(t,e,n){this.b=t,this.a=e,this.c=n}function Nj(t,e,n){this.a=t,this.b=e,this.c=n}function Pj(t,e,n){this.a=t,this.b=e,this.c=n}function Bj(t,e,n){this.a=t,this.b=e,this.c=n}function Fj(t,e,n){this.a=t,this.b=e,this.c=n}function Rj(t,e,n){this.b=t,this.a=e,this.c=n}function jj(t,e,n){this.e=e,this.b=t,this.d=n}function $j(t,e,n){return pE(),t.a.Od(e,n),e}function zj(t){var e;return(e=new xt).e=t,e}function qj(t){var e;return(e=new Jm).b=t,e}function Hj(){Hj=M,Yse=new Nn,Zse=new Pn}function Uj(){Uj=M,pue=new mr,bue=new yr}function Gj(t){return Mst(),Stt((o9(),cue),t)}function Yj(t){return Dst(),Stt((c9(),_ue),t)}function Zj(t){return kBt(),Stt((Gat(),Kue),t)}function Wj(t){return LCt(),Stt((gnt(),rle),t)}function Kj(t){return K8(),Stt((F4(),cle),t)}function Xj(t){return Dit(),Stt((a8(),dle),t)}function Vj(t){return N_t(),Stt((qtt(),Mue),t)}function Qj(t){return Irt(),Stt((c8(),jue),t)}function Jj(t){return cit(),Stt((o8(),mle),t)}function t$(t){return Xmt(),Stt(($tt(),Ele),t)}function e$(t){return jtt(),Stt((L4(),Ile),t)}function n$(t){return Jst(),Stt((s8(),Nle),t)}function i$(t){return wTt(),Stt((mnt(),qle),t)}function r$(t){return b9(),Stt((N4(),Yle),t)}function a$(t){return qkt(),Stt((bnt(),the),t)}function o$(t){return JEt(),Stt((pnt(),che),t)}function s$(t){return gBt(),Stt((Xst(),vhe),t)}function c$(t){return jot(),Stt((l8(),Ehe),t)}function u$(t){return G9(),Stt((u8(),Mhe),t)}function l$(t){return G2(),Stt((R4(),Nhe),t)}function h$(t){return Edt(),Stt((Htt(),Gfe),t)}function f$(t){return EAt(),Stt((wnt(),rme),t)}function d$(t){return Tlt(),Stt((h8(),ume),t)}function g$(t){return gmt(),Stt((u9(),pme),t)}function p$(t){return sit(),Stt((g8(),Yme),t)}function b$(t){return lNt(),Stt((Uat(),Ome),t)}function w$(t){return vct(),Stt((d8(),Fme),t)}function m$(t){return Y9(),Stt((B4(),zme),t)}function y$(t){return Hat(),Stt((f8(),Vme),t)}function v$(t){return Pmt(),Stt((ztt(),kme),t)}function x$(t){return D6(),Stt((P4(),eye),t)}function k$(t){return Zut(),Stt((b8(),oye),t)}function _$(t){return bat(),Stt((w8(),hye),t)}function A$(t){return Lst(),Stt((p8(),bye),t)}function E$(t){return uit(),Stt((m8(),Nye),t)}function T$(t){return X4(),Stt(($4(),Uye),t)}function C$(t){return bQ(),Stt((z4(),ive),t)}function S$(t){return cJ(),Stt((q4(),sve),t)}function I$(t){return M6(),Stt((j4(),Cve),t)}function M$(t){return pQ(),Stt((H4(),Bve),t)}function D$(t){return Yvt(),Stt((a9(),qve),t)}function O$(t){return FCt(),Stt((ynt(),Qve),t)}function L$(t){return uJ(),Stt((Y4(),$xe),t)}function N$(t){return Srt(),Stt((G4(),Jxe),t)}function P$(t){return z0(),Stt((U4(),Uxe),t)}function B$(t){return Idt(),Stt((y8(),rke),t)}function F$(t){return B7(),Stt((Z4(),cke),t)}function R$(t){return Hut(),Stt((v8(),dke),t)}function j$(t){return Dyt(),Stt((s9(),Gke),t)}function $$(t){return qat(),Stt((k8(),Xke),t)}function z$(t){return Cdt(),Stt((x8(),n_e),t)}function q$(t){return QLt(),Stt((Ytt(),z_e),t)}function H$(t){return Sdt(),Stt((_8(),Y_e),t)}function U$(t){return SE(),Stt((W2(),K_e),t)}function G$(t){return IE(),Stt((Z2(),Q_e),t)}function Y$(t){return O6(),Stt((K4(),nAe),t)}function Z$(t){return LTt(),Stt((Utt(),uAe),t)}function W$(t){return ME(),Stt((K2(),YAe),t)}function K$(t){return Nst(),Stt((W4(),XAe),t)}function X$(t){return awt(),Stt((Gtt(),dEe),t)}function V$(t){return SCt(),Stt((Yat(),_Ee),t)}function Q$(t){return pmt(),Stt((dnt(),PEe),t)}function J$(t){return p_t(),Stt((fnt(),eTe),t)}function tz(t){return dWt(),Stt((TM(),Jce),t)}function ez(t){return Crt(),Stt((O4(),Gse),t)}function nz(t){return zht(),Stt((Wtt(),UCe),t)}function iz(t){return Ret(),Stt((E8(),KCe),t)}function rz(t){return Tdt(),Stt((f9(),eSe),t)}function az(t){return eEt(),Stt((xnt(),uSe),t)}function oz(t){return cht(),Stt((A8(),xSe),t)}function sz(t){return Wvt(),Stt((h9(),CSe),t)}function cz(t){return eOt(),Stt((Pot(),RSe),t)}function uz(t){return owt(),Stt((Ktt(),GSe),t)}function lz(t){return V_t(),Stt((Het(),JSe),t)}function hz(t){return dIt(),Stt((vnt(),sIe),t)}function fz(t){return vpt(),Stt((g9(),zIe),t)}function dz(t){return ejt(),Stt((Vst(),QIe),t)}function gz(t){return kYt(),Stt((Xtt(),MIe),t)}function pz(t){return zgt(),Stt((d9(),rMe),t)}function bz(t){return qut(),Stt((l9(),hMe),t)}function wz(t){return hDt(),Stt((Zat(),aDe),t)}function mz(t,e){return xW(t),t+(xW(e),e)}function yz(t,e){return OA(),h7(XX(t.a),e)}function vz(t,e){return OA(),h7(XX(t.a),e)}function xz(t,e){this.c=t,this.a=e,this.b=e-t}function kz(t,e,n){this.a=t,this.b=e,this.c=n}function _z(t,e,n){this.a=t,this.b=e,this.c=n}function Az(t,e,n){this.a=t,this.b=e,this.c=n}function Ez(t,e,n){this.a=t,this.b=e,this.c=n}function Tz(t,e,n){this.a=t,this.b=e,this.c=n}function Cz(t,e,n){this.e=t,this.a=e,this.c=n}function Sz(t,e,n){hO(),yQ.call(this,t,e,n)}function Iz(t,e,n){hO(),rW.call(this,t,e,n)}function Mz(t,e,n){hO(),rW.call(this,t,e,n)}function Dz(t,e,n){hO(),rW.call(this,t,e,n)}function Oz(t,e,n){hO(),Iz.call(this,t,e,n)}function Lz(t,e,n){hO(),Iz.call(this,t,e,n)}function Nz(t,e,n){hO(),Lz.call(this,t,e,n)}function Pz(t,e,n){hO(),Mz.call(this,t,e,n)}function Bz(t,e,n){hO(),Dz.call(this,t,e,n)}function Fz(t,e){return vZ(t),vZ(e),new lA(t,e)}function Rz(t,e){return vZ(t),vZ(e),new jq(t,e)}function jz(t,e){return vZ(t),vZ(e),new $q(t,e)}function $z(t,e){return vZ(t),vZ(e),new fA(t,e)}function zz(t,e){return Qq(null==t||Vwt(t,e)),t}function qz(t){var e;return htt(e=new Nw,t),e}function Hz(t){var e;return htt(e=new Fm,t),e}function Uz(t){var e;return Urt(e=new Gm,t),e}function Gz(t){var e;return Urt(e=new VA,t),e}function Yz(t){return!t.e&&(t.e=new Nw),t.e}function Zz(t){return!t.c&&(t.c=new zc),t.c}function Wz(t,e){return t.c[t.c.length]=e,!0}function Kz(t,e){this.c=t,this.b=e,this.a=!1}function Xz(t){this.d=t,Ed(this),this.b=rG(t.d)}function Vz(){this.a=";,;",this.b="",this.c=""}function Qz(t,e,n){YG.call(this,e,n),this.a=t}function Jz(t,e,n){this.b=t,bM.call(this,e,n)}function tq(t,e,n){this.c=t,CT.call(this,e,n)}function eq(t,e,n){$St(n,0,t,e,n.length,!1)}function nq(t,e,n,i,r){t.b=e,t.c=n,t.d=i,t.a=r}function iq(t,e){e&&(t.b=e,t.a=(_W(e),e.a))}function rq(t,e,n,i,r){t.d=e,t.c=n,t.a=i,t.b=r}function aq(t){var e,n;e=t.b,n=t.c,t.b=n,t.c=e}function oq(t){var e,n;n=t.d,e=t.a,t.d=e,t.a=n}function sq(t){return cot(PY(QM(t)?Sot(t):t))}function cq(t,e){return _O(cH(t.d),cH(e.d))}function uq(t,e){return e==(kYt(),SIe)?t.c:t.d}function lq(){lq=M,kYt(),Fye=SIe,Rye=cIe}function hq(){this.b=Uv(EB(vwt((fFt(),ooe))))}function fq(t){return pE(),P8(Ote,HWt,1,t,5,1)}function dq(t){return new PS(t.c+t.b,t.d+t.a)}function gq(t,e){return TE(),_O(t.d.p,e.d.p)}function pq(t){return CP(0!=t.b),Oet(t,t.a.a)}function bq(t){return CP(0!=t.b),Oet(t,t.c.b)}function wq(t,e){if(!t)throw qw(new Ov(e))}function mq(t,e){if(!t)throw qw(new jv(e))}function yq(t,e,n){pC.call(this,t,e),this.b=n}function vq(t,e,n){LI.call(this,t,e),this.c=n}function xq(t,e,n){get.call(this,e,n),this.d=t}function kq(t){cj(),vc.call(this),this.th(t)}function _q(t,e,n){this.a=t,NM.call(this,e,n)}function Aq(t,e,n){this.a=t,NM.call(this,e,n)}function Eq(t,e,n){LI.call(this,t,e),this.c=n}function Tq(){F5(),cW.call(this,(WE(),GDe))}function Cq(t){return null!=t&&!Wdt(t,LDe,NDe)}function Sq(t,e){return(Kht(t)<<4|Kht(e))&VKt}function Iq(t,e){return tK(),Ymt(t,e),new UW(t,e)}function Mq(t,e){var n;t.n&&(n=e,Wz(t.f,n))}function Dq(t,e,n){ret(t,e,new UZ(n))}function Oq(t,e){var n;return n=t.c,jit(t,e),n}function Lq(t,e){return t.g=e<0?-1:e,t}function Nq(t,e){return Yet(t),t.a*=e,t.b*=e,t}function Pq(t,e,n,i,r){t.c=e,t.d=n,t.b=i,t.a=r}function Bq(t,e){return r5(t,e,t.c.b,t.c),!0}function Fq(t){t.a.b=t.b,t.b.a=t.a,t.a=t.b=null}function Rq(t){this.b=t,this.a=fG(this.b.a).Ed()}function jq(t,e){this.b=t,this.a=e,zl.call(this)}function $q(t,e){this.a=t,this.b=e,zl.call(this)}function zq(t,e){YG.call(this,e,1040),this.a=t}function qq(t){return 0==t||isNaN(t)?t:t<0?-1:1}function Hq(t){return EX(),SEt(t)==QQ(DEt(t))}function Uq(t){return EX(),DEt(t)==QQ(SEt(t))}function Gq(t,e){return Qkt(t,new pC(e.a,e.b))}function Yq(t){return!d5(t)&&t.c.i.c==t.d.i.c}function Zq(t){var e;return e=t.n,t.a.b+e.d+e.a}function Wq(t){var e;return e=t.n,t.e.b+e.d+e.a}function Kq(t){var e;return e=t.n,t.e.a+e.b+e.c}function Xq(t){return pWt(),new cU(0,t)}function Vq(t){return t.a?t.a:nX(t)}function Qq(t){if(!t)throw qw(new Rv(null))}function Jq(){Jq=M,TX(),sLe=new Ud(S9t)}function tH(){tH=M,new lmt((ev(),$te),(nv(),jte))}function eH(){eH=M,Mee=P8(Oee,lKt,19,256,0,1)}function nH(t,e,n,i){sgt.call(this,t,e,n,i,0,0)}function iH(t,e,n){return KW(t.b,zz(n.b,17),e)}function rH(t,e,n){return KW(t.b,zz(n.b,17),e)}function aH(t,e){return Wz(t,new PS(e.a,e.b))}function oH(t,e){return t.c=e)throw qw(new Tm)}function jG(t,e,n){return OZ(e,0,qH(e[0],n[0])),e}function $G(t,e,n){e.Ye(n,Uv(EB(FZ(t.b,n)))*t.a)}function zG(t,e,n){return _Bt(),Fat(t,e)&&Fat(t,n)}function qG(t){return dIt(),!t.Hc(nIe)&&!t.Hc(rIe)}function HG(t){return new PS(t.c+t.b/2,t.d+t.a/2)}function UG(t,e){return e.kh()?nht(t.b,zz(e,49)):e}function GG(t,e){this.e=t,this.d=0!=(64&e)?e|hKt:e}function YG(t,e){this.c=0,this.d=t,this.b=64|e|hKt}function ZG(t){this.b=new Q6(11),this.a=(CX(),t)}function WG(t){this.b=null,this.a=(CX(),t||gne)}function KG(t){this.a=amt(t.a),this.b=new ej(t.b)}function XG(t){this.b=t,aP.call(this,t),EL(this)}function VG(t){this.b=t,sP.call(this,t),TL(this)}function QG(t,e,n){this.a=t,nR.call(this,e,n,5,6)}function JG(t,e,n,i){this.b=t,OL.call(this,e,n,i)}function tY(t,e,n,i,r){x7.call(this,t,e,n,i,r,-1)}function eY(t,e,n,i,r){k7.call(this,t,e,n,i,r,-1)}function nY(t,e,n,i){OL.call(this,t,e,n),this.b=i}function iY(t,e,n,i){vq.call(this,t,e,n),this.b=i}function rY(t){NI.call(this,t,!1),this.a=!1}function aY(t,e){this.b=t,lf.call(this,t.b),this.a=e}function oY(t,e){WZ(),kA.call(this,t,lht(new Qv(e)))}function sY(t,e){return pWt(),new aW(t,e,0)}function cY(t,e){return pWt(),new aW(6,t,e)}function uY(t,e){return yR(t.substr(0,e.length),e)}function lY(t,e){return ZI(e)?nV(t,e):!!DV(t.f,e)}function hY(t,e){for(xW(e);t.Ob();)e.td(t.Pb())}function fY(t,e,n){DBt(),this.e=t,this.d=e,this.a=n}function dY(t,e,n,i){var r;(r=t.i).i=e,r.a=n,r.b=i}function gY(t){var e;for(e=t;e.f;)e=e.f;return e}function pY(t){var e;return CP(null!=(e=Act(t))),e}function bY(t){var e;return CP(null!=(e=vft(t))),e}function wY(t,e){var n;return g6(e,n=t.a.gc()),n-e}function mY(t,e){var n;for(n=0;n0?n.Math.log(t/e):-100}function $Y(t,e){return Xlt(t,e)<0?-1:Xlt(t,e)>0?1:0}function zY(t,e,n){return Cqt(t,zz(e,46),zz(n,167))}function qY(t,e){return zz(gG(fG(t.a)).Xb(e),42).cd()}function HY(t,e){return met(e,t.length),new zq(t,e)}function UY(t,e){this.d=t,DL.call(this,t),this.e=e}function GY(t){this.d=(xW(t),t),this.a=0,this.c=gKt}function YY(t,e){Dw.call(this,1),this.a=t,this.b=e}function ZY(t,e){return t.c?ZY(t.c,e):Wz(t.b,e),t}function WY(t,e,n){var i;return i=ptt(t,e),r4(t,e,n),i}function KY(t,e){return y9(t.slice(0,e),t)}function XY(t,e,n){var i;for(i=0;i=t.g}function JZ(t,e,n){return PFt(t,xrt(t,e,n))}function tW(t,e){var n;ptt(t,n=t.a.length),r4(t,n,e)}function eW(t,e){console[t].call(console,e)}function nW(t,e){var n;++t.j,n=t.Vi(),t.Ii(t.oi(n,e))}function iW(t,e,n){zz(e.b,65),Det(e.a,new _z(t,n,e))}function rW(t,e,n){kw.call(this,e),this.a=t,this.b=n}function aW(t,e,n){Dw.call(this,t),this.a=e,this.b=n}function oW(t,e,n){this.a=t,xw.call(this,e),this.b=n}function sW(t,e,n){this.a=t,q2.call(this,8,e,null,n)}function cW(t){this.a=(xW($7t),$7t),this.b=t,new Ny}function uW(t){this.c=t,this.b=this.c.a,this.a=this.c.e}function lW(t){this.c=t,this.b=t.a.d.a,dB(t.a.e,this)}function hW(t){EP(-1!=t.c),t.d.$c(t.c),t.b=t.c,t.c=-1}function fW(t){return n.Math.sqrt(t.a*t.a+t.b*t.b)}function dW(t,e){return RG(e,t.a.c.length),PH(t.a,e)}function gW(t,e){return UI(t)===UI(e)||null!=t&&Pht(t,e)}function pW(t){return 0>=t?new KA:Kit(t-1)}function bW(t){return!!TNe&&nV(TNe,t)}function wW(t){return t?t.dc():!t.Kc().Ob()}function mW(t){return!t.a&&t.c?t.c.b:t.a}function yW(t){return!t.a&&(t.a=new OL(LMe,t,4)),t.a}function vW(t){return!t.d&&(t.d=new OL(KDe,t,1)),t.d}function xW(t){if(null==t)throw qw(new bm);return t}function kW(t){t.c?t.c.He():(t.d=!0,VNt(t))}function _W(t){t.c?_W(t.c):(Vft(t),t.d=!0)}function AW(t){AK(t.a),t.b=P8(Ote,HWt,1,t.b.length,5,1)}function EW(t,e){return _O(e.j.c.length,t.j.c.length)}function TW(t,e){t.c<0||t.b.b=0?t.Bh(n):oIt(t,e)}function SW(t){return t.c.i.c==t.d.i.c}function IW(t){if(4!=t.p)throw qw(new pm);return t.e}function MW(t){if(3!=t.p)throw qw(new pm);return t.e}function DW(t){if(6!=t.p)throw qw(new pm);return t.f}function OW(t){if(6!=t.p)throw qw(new pm);return t.k}function LW(t){if(3!=t.p)throw qw(new pm);return t.j}function NW(t){if(4!=t.p)throw qw(new pm);return t.j}function PW(t){return!t.b&&(t.b=new Aw(new Py)),t.b}function BW(t){return-2==t.c&&bd(t,cEt(t.g,t.b)),t.c}function FW(t,e){var n;return(n=yZ("",t)).n=e,n.i=1,n}function RW(t,e){LU(zz(e.b,65),t),Det(e.a,new Dg(t))}function jW(t,e){h7((!t.a&&(t.a=new cF(t,t)),t.a),e)}function $W(t,e){this.b=t,UY.call(this,t,e),EL(this)}function zW(t,e){this.b=t,FR.call(this,t,e),TL(this)}function qW(t,e,n,i){mA.call(this,t,e),this.d=n,this.a=i}function HW(t,e,n,i){mA.call(this,t,n),this.a=e,this.f=i}function UW(t,e){WO.call(this,Xit(vZ(t),vZ(e))),this.a=e}function GW(){bEt.call(this,C9t,(r_(),pLe)),KHt(this)}function YW(){bEt.call(this,X7t,(i_(),tOe)),Dqt(this)}function ZW(){bA.call(this,"DELAUNAY_TRIANGULATION",0)}function WW(t){return String.fromCharCode.apply(null,t)}function KW(t,e,n){return ZI(e)?yJ(t,e,n):_St(t.f,e,n)}function XW(t){return TX(),t?t.ve():(CX(),CX(),bne)}function VW(t,e,n){return Pst(),n.pg(t,zz(e.cd(),146))}function QW(t,e){return tH(),new lmt(new rN(t),new iN(e))}function JW(t){return dit(t,PKt),eet(adt(adt(5,t),t/10|0))}function tK(){tK=M,qte=new lv(Sst(Ux(Hte,1),kKt,42,0,[]))}function eK(t){return!t.d&&(t.d=new qd(t.c.Cc())),t.d}function nK(t){return!t.a&&(t.a=new Lx(t.c.vc())),t.a}function iK(t){return!t.b&&(t.b=new Dx(t.c.ec())),t.b}function rK(t,e){for(;e-- >0;)t=t<<1|(t<0?1:0);return t}function aK(t,e){return UI(t)===UI(e)||null!=t&&Pht(t,e)}function oK(t,e){return lN(),zz(e.b,19).a(i=SQ(n))&&++i,i}function JK(t){var e;return ont(e=new Rw,t),e}function tX(t){var e;return FEt(e=new Rw,t),e}function eX(t,e){return jat(e,FZ(t.f,e)),null}function nX(t){return Qit(t)||null}function iX(t){return!t.b&&(t.b=new nY(jMe,t,12,3)),t.b}function rX(t){return null!=t&&PA(kDe,t.toLowerCase())}function aX(t,e){return Sft(iU(t)*nU(t),iU(e)*nU(e))}function oX(t,e){return Sft(iU(t)*nU(t),iU(e)*nU(e))}function sX(t,e){return Sft(t.d.c+t.d.b/2,e.d.c+e.d.b/2)}function cX(t,e){return Sft(t.g.c+t.g.b/2,e.g.c+e.g.b/2)}function uX(t,e,n){n.a?Int(t,e.b-t.f/2):Snt(t,e.a-t.g/2)}function lX(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function hX(t,e,n,i){this.a=t,this.b=e,this.c=n,this.d=i}function fX(t,e,n,i){this.e=t,this.a=e,this.c=n,this.d=i}function dX(t,e,n,i){this.a=t,this.c=e,this.d=n,this.b=i}function gX(t,e,n,i){hO(),n6.call(this,e,n,i),this.a=t}function pX(t,e,n,i){hO(),n6.call(this,e,n,i),this.a=t}function bX(t,e){this.a=t,MB.call(this,t,zz(t.d,15).Zc(e))}function wX(t){this.f=t,this.c=this.f.e,t.f>0&&ckt(this)}function mX(t,e,n,i){this.b=t,this.c=i,mM.call(this,e,n)}function yX(t){return CP(t.b=0&&yR(t.substr(n,e.length),e)}function LV(t,e,n,i,r,a,o){return new d4(t.e,e,n,i,r,a,o)}function NV(t,e,n,i,r,a){this.a=t,kit.call(this,e,n,i,r,a)}function PV(t,e,n,i,r,a){this.a=t,kit.call(this,e,n,i,r,a)}function BV(t,e){this.g=t,this.d=Sst(Ux(Mse,1),s1t,10,0,[e])}function FV(t,e){this.e=t,this.a=Ote,this.b=OFt(e),this.c=e}function RV(t,e){NF.call(this),Bet(this),this.a=t,this.c=e}function jV(t,e,n,i){OZ(t.c[e.g],n.g,i),OZ(t.c[n.g],e.g,i)}function $V(t,e,n,i){OZ(t.c[e.g],e.g,n),OZ(t.b[e.g],e.g,i)}function zV(){return D6(),Sst(Ux(aye,1),LKt,376,0,[Jme,Qme])}function qV(){return b9(),Sst(Ux(Jle,1),LKt,479,0,[Ule,Hle])}function HV(){return jtt(),Sst(Ux(Lle,1),LKt,419,0,[Tle,Cle])}function UV(){return K8(),Sst(Ux(fle,1),LKt,422,0,[ale,ole])}function GV(){return G2(),Sst(Ux(Ufe,1),LKt,420,0,[Dhe,Ohe])}function YV(){return Y9(),Sst(Ux(Gme,1),LKt,421,0,[Rme,jme])}function ZV(){return X4(),Sst(Ux(Kye,1),LKt,523,0,[qye,zye])}function WV(){return M6(),Sst(Ux(Pve,1),LKt,520,0,[Eve,Ave])}function KV(){return bQ(),Sst(Ux(ove,1),LKt,516,0,[eve,tve])}function XV(){return cJ(),Sst(Ux(Tve,1),LKt,515,0,[rve,ave])}function VV(){return pQ(),Sst(Ux(zve,1),LKt,455,0,[Lve,Nve])}function QV(){return z0(),Sst(Ux(Qxe,1),LKt,425,0,[qxe,zxe])}function JV(){return uJ(),Sst(Ux(Hxe,1),LKt,480,0,[Fxe,Rxe])}function tQ(){return Srt(),Sst(Ux(ike,1),LKt,495,0,[Xxe,Vxe])}function eQ(){return B7(),Sst(Ux(fke,1),LKt,426,0,[ake,oke])}function nQ(){return Nst(),Sst(Ux(VAe,1),LKt,429,0,[WAe,ZAe])}function iQ(){return O6(),Sst(Ux(cAe,1),LKt,430,0,[tAe,J_e])}function rQ(){return hwt(),Sst(Ux(vie,1),LKt,428,0,[pie,gie])}function aQ(){return Ftt(),Sst(Ux(Rie,1),LKt,427,0,[mie,yie])}function oQ(){return Rtt(),Sst(Ux(Ooe,1),LKt,424,0,[Bae,Fae])}function sQ(){return Crt(),Sst(Ux(Wse,1),LKt,511,0,[Hse,qse])}function cQ(t,e,n,i){return n>=0?t.jh(e,n,i):t.Sg(null,n,i)}function uQ(t){return 0==t.b.b?t.a.$e():pq(t.b)}function lQ(t){if(5!=t.p)throw qw(new pm);return pU(t.f)}function hQ(t){if(5!=t.p)throw qw(new pm);return pU(t.k)}function fQ(t){return UI(t.a)===UI((pat(),IOe))&&RHt(t),t.a}function dQ(t){this.a=zz(vZ(t),271),this.b=(TX(),new pN(t))}function gQ(t,e){Jf(this,new PS(t.a,t.b)),td(this,Gz(e))}function pQ(){pQ=M,Lve=new cS(oQt,0),Nve=new cS(sQt,1)}function bQ(){bQ=M,eve=new aS(sQt,0),tve=new aS(oQt,1)}function wQ(){ov.call(this,new ZA(net(12))),oN(!0),this.a=2}function mQ(t,e,n){pWt(),Dw.call(this,t),this.b=e,this.a=n}function yQ(t,e,n){hO(),kw.call(this,e),this.a=t,this.b=n}function vQ(t){NF.call(this),Bet(this),this.a=t,this.c=!0}function xQ(t){var e;e=t.c.d.b,t.b=e,t.a=t.c.d,e.a=t.c.d.b=t}function kQ(t){mit(t.a),FD(t.a),ngt(new Cg(t.a))}function _Q(t,e){uFt(t,!0),Det(t.e.wf(),new Oj(t,!0,e))}function AQ(t,e){return a4(e),Qnt(t,P8(DNe,hXt,25,e,15,1),e)}function EQ(t,e){return EX(),t==QQ(SEt(e))||t==QQ(DEt(e))}function TQ(t,e){return null==e?HI(DV(t.f,null)):lT(t.g,e)}function CQ(t){return 0==t.b?null:(CP(0!=t.b),Oet(t,t.a.a))}function SQ(t){return 0|Math.max(Math.min(t,FWt),-2147483648)}function IQ(t,e){var n=tee[t.charCodeAt(0)];return null==n?t:n}function MQ(t,e){return WX(t,"set1"),WX(e,"set2"),new _A(t,e)}function DQ(t,e){return YF(HP(ent(t.f,e)),t.f.d)}function OQ(t,e){var n;return QUt(t,e,n=new H),n.d}function LQ(t,e,n,i){var r;r=new $F,e.a[n.g]=r,yU(t.b,i,r)}function NQ(t,e,n){var i;(i=t.Yg(e))>=0?t.sh(i,n):ELt(t,e,n)}function PQ(t,e,n){lJ(),t&&KW(hDe,t,e),t&&KW(lDe,t,n)}function BQ(t,e,n){this.i=new Nw,this.b=t,this.g=e,this.a=n}function FQ(t,e,n){this.c=new Nw,this.e=t,this.f=e,this.b=n}function RQ(t,e,n){this.a=new Nw,this.e=t,this.f=e,this.c=n}function jQ(t,e){KO(this),this.f=e,this.g=t,kX(this),this._d()}function $Q(t,e){var n;n=t.q.getHours(),t.q.setDate(e),dzt(t,n)}function zQ(t,e){var n;for(vZ(e),n=t.a;n;n=n.c)e.Od(n.g,n.i)}function qQ(t){var e;return Lct(e=new d_(net(t.length)),t),e}function HQ(t){function e(){}return e.prototype=t||{},new e}function UQ(t,e){return!!pst(t,e)&&(iit(t),!0)}function GQ(t,e){if(null==e)throw qw(new bm);return cbt(t,e)}function YQ(t){if(t.qe())return null;var e=t.n;return CWt[e]}function ZQ(t){return t.Db>>16!=3?null:zz(t.Cb,33)}function WQ(t){return t.Db>>16!=9?null:zz(t.Cb,33)}function KQ(t){return t.Db>>16!=6?null:zz(t.Cb,79)}function XQ(t){return t.Db>>16!=7?null:zz(t.Cb,235)}function VQ(t){return t.Db>>16!=7?null:zz(t.Cb,160)}function QQ(t){return t.Db>>16!=11?null:zz(t.Cb,33)}function JQ(t,e){var n;return(n=t.Yg(e))>=0?t.lh(n):UIt(t,e)}function tJ(t,e){var n;return uEt(n=new LH(e),t),new ej(n)}function eJ(t){var e;return e=t.d,e=t.si(t.f),h7(t,e),e.Ob()}function nJ(t,e){return t.b+=e.b,t.c+=e.c,t.d+=e.d,t.a+=e.a,t}function iJ(t,e){return n.Math.abs(t)0}function aJ(){this.a=new hD,this.e=new Fm,this.g=0,this.i=0}function oJ(t){this.a=t,this.b=P8(jye,lKt,1944,t.e.length,0,2)}function sJ(t,e,n){var i;i=Pct(t,e,n),t.b=new vrt(i.c.length)}function cJ(){cJ=M,rve=new rS(mQt,0),ave=new rS("UP",1)}function uJ(){uJ=M,Fxe=new dS(Z3t,0),Rxe=new dS("FAN",1)}function lJ(){lJ=M,hDe=new Pw,lDe=new Pw,$I(vne,new pc)}function hJ(t){if(0!=t.p)throw qw(new pm);return QI(t.f,0)}function fJ(t){if(0!=t.p)throw qw(new pm);return QI(t.k,0)}function dJ(t){return t.Db>>16!=3?null:zz(t.Cb,147)}function gJ(t){return t.Db>>16!=6?null:zz(t.Cb,235)}function pJ(t){return t.Db>>16!=17?null:zz(t.Cb,26)}function bJ(t,e){var n=t.a=t.a||[];return n[e]||(n[e]=t.le(e))}function wJ(t,e){var n;return null==(n=t.a.get(e))?new Array:n}function mJ(t,e){var n;n=t.q.getHours(),t.q.setMonth(e),dzt(t,n)}function yJ(t,e,n){return null==e?_St(t.f,null,n):cdt(t.g,e,n)}function vJ(t,e,n,i,r,a){return new N9(t.e,e,t.aj(),n,i,r,a)}function xJ(t,e,n){return t.a=hP(t.a,0,e)+""+n+tM(t.a,e),t}function kJ(t,e,n){return Wz(t.a,(tK(),Ymt(e,n),new mA(e,n))),t}function _J(t){return cN(t.c),t.e=t.a=t.c,t.c=t.c.c,++t.d,t.a.f}function AJ(t){return cN(t.e),t.c=t.a=t.e,t.e=t.e.e,--t.d,t.a.f}function EJ(t,e){t.d&&v9(t.d.e,t),t.d=e,t.d&&Wz(t.d.e,t)}function TJ(t,e){t.c&&v9(t.c.g,t),t.c=e,t.c&&Wz(t.c.g,t)}function CJ(t,e){t.c&&v9(t.c.a,t),t.c=e,t.c&&Wz(t.c.a,t)}function SJ(t,e){t.i&&v9(t.i.j,t),t.i=e,t.i&&Wz(t.i.j,t)}function IJ(t,e,n){this.a=e,this.c=t,this.b=(vZ(n),new ej(n))}function MJ(t,e,n){this.a=e,this.c=t,this.b=(vZ(n),new ej(n))}function DJ(t,e){this.a=t,this.c=zO(this.a),this.b=new bV(e)}function OJ(t){return Vft(t),DK(t,new mg(new Fm))}function LJ(t,e){if(t<0||t>e)throw qw(new Dv(_Vt+t+AVt+e))}function NJ(t,e){return IU(t.a,e)?_Y(t,zz(e,22).g,null):null}function PJ(t){return Clt(),lN(),0!=zz(t.a,81).d.e}function BJ(){BJ=M,Wte=dlt((rv(),Sst(Ux(Kte,1),LKt,538,0,[Yte])))}function FJ(){FJ=M,wye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function RJ(){RJ=M,mye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function jJ(){jJ=M,vye=WU(new z2,(xEt(),zoe),(dWt(),Hce))}function $J(){$J=M,Gye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function zJ(){zJ=M,Xye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function qJ(){qJ=M,Jye=pH(new z2,(xEt(),zoe),(dWt(),pce))}function HJ(){HJ=M,cve=pH(new z2,(xEt(),zoe),(dWt(),pce))}function UJ(){UJ=M,Gxe=WU(new z2,(Yvt(),$ve),(FCt(),Gve))}function GJ(t,e,n,i){this.c=t,this.d=i,WJ(this,e),KJ(this,n)}function YJ(t){this.c=new VA,this.b=t.b,this.d=t.c,this.a=t.a}function ZJ(t){this.a=n.Math.cos(t),this.b=n.Math.sin(t)}function WJ(t,e){t.a&&v9(t.a.k,t),t.a=e,t.a&&Wz(t.a.k,t)}function KJ(t,e){t.b&&v9(t.b.f,t),t.b=e,t.b&&Wz(t.b.f,t)}function XJ(t,e){iW(t,t.b,t.c),zz(t.b.b,65),e&&zz(e.b,65).b}function VJ(t,e){Yft(t,e),aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),2)}function QJ(t,e){aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),4),Prt(t,e)}function JJ(t,e){aL(t.Cb,179)&&(zz(t.Cb,179).tb=null),Prt(t,e)}function t1(t,e){return JE(),ltt(e)?new fH(e,t):new PI(e,t)}function e1(t,e){null!=e.c&&tW(t,new UZ(e.c))}function n1(t){var e;return i_(),ont(e=new Rw,t),e}function i1(t){var e;return i_(),ont(e=new Rw,t),e}function r1(t,e){var n;return n=new qZ(t),e.c[e.c.length]=n,n}function a1(t,e){var n;return(n=zz(dht(MX(t.a),e),14))?n.gc():0}function o1(t){return Vft(t),CX(),CX(),xet(t,pne)}function s1(t){for(var e;;)if(e=t.Pb(),!t.Ob())return e}function c1(t,e){Yy.call(this,new ZA(net(t))),dit(e,uKt),this.a=e}function u1(t,e,n){Hht(e,n,t.gc()),this.c=t,this.a=e,this.b=n-e}function l1(t,e,n){var i;Hht(e,n,t.c.length),i=n-e,C_(t.c,e,i)}function h1(t,e){lL(t,pU(n0(xG(e,24),lVt)),pU(n0(e,lVt)))}function f1(t,e){if(t<0||t>=e)throw qw(new Dv(_Vt+t+AVt+e))}function d1(t,e){if(t<0||t>=e)throw qw(new Mx(_Vt+t+AVt+e))}function g1(t,e){this.b=(xW(t),t),this.a=0==(e&$Xt)?64|e|hKt:e}function p1(t){BD(this),Cm(this.a,kct(n.Math.max(8,t))<<1)}function b1(t){return Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a]))}function w1(){return Uut(),Sst(Ux(tie,1),LKt,132,0,[Gne,Yne,Zne])}function m1(){return Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])}function y1(){return Q7(),Sst(Ux(nre,1),LKt,461,0,[Vie,Xie,Qie])}function v1(){return U9(),Sst(Ux(Mre,1),LKt,462,0,[are,rre,ire])}function x1(){return qht(),Sst(Ux(yse,1),LKt,423,0,[gse,dse,fse])}function k1(){return H9(),Sst(Ux(qoe,1),LKt,379,0,[Moe,Ioe,Doe])}function _1(){return Tlt(),Sst(Ux(gme,1),LKt,378,0,[ame,ome,sme])}function A1(){return Dit(),Sst(Ux(wle,1),LKt,314,0,[lle,ule,hle])}function E1(){return cit(),Sst(Ux(Ale,1),LKt,337,0,[gle,ble,ple])}function T1(){return Jst(),Sst(Ux(zle,1),LKt,450,0,[Dle,Mle,Ole])}function C1(){return Irt(),Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])}function S1(){return G9(),Sst(Ux(Lhe,1),LKt,303,0,[Che,She,The])}function I1(){return jot(),Sst(Ux(Ihe,1),LKt,292,0,[khe,_he,xhe])}function M1(){return sit(),Sst(Ux(Xme,1),LKt,452,0,[Ume,qme,Hme])}function D1(){return vct(),Sst(Ux($me,1),LKt,339,0,[Nme,Lme,Pme])}function O1(){return Hat(),Sst(Ux(tye,1),LKt,375,0,[Zme,Wme,Kme])}function L1(){return Lst(),Sst(Ux(Tye,1),LKt,377,0,[dye,gye,fye])}function N1(){return Zut(),Sst(Ux(lye,1),LKt,336,0,[nye,iye,rye])}function P1(){return bat(),Sst(Ux(pye,1),LKt,338,0,[uye,sye,cye])}function B1(){return uit(),Sst(Ux(Pye,1),LKt,454,0,[Mye,Dye,Oye])}function F1(){return Idt(),Sst(Ux(ske,1),LKt,442,0,[nke,tke,eke])}function R1(){return Hut(),Sst(Ux(Uke,1),LKt,380,0,[uke,lke,hke])}function j1(){return Cdt(),Sst(Ux(N_e,1),LKt,381,0,[Jke,t_e,Qke])}function $1(){return qat(),Sst(Ux(Vke,1),LKt,293,0,[Zke,Wke,Yke])}function z1(){return Sdt(),Sst(Ux(W_e,1),LKt,437,0,[q_e,H_e,U_e])}function q1(){return cht(),Sst(Ux(TSe,1),LKt,334,0,[mSe,wSe,ySe])}function H1(){return Ret(),Sst(Ux(tSe,1),LKt,272,0,[GCe,YCe,ZCe])}function U1(t,e){return kOt(t,e,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function G1(t,e,n){var i;return(i=oqt(t,e,!1)).b<=e&&i.a<=n}function Y1(t,e,n){var i;(i=new ao).b=e,i.a=n,++e.b,Wz(t.d,i)}function Z1(t,e){var n;return AP(!!(n=(xW(t),t).g)),xW(e),n(e)}function W1(t,e){var n,i;return i=wY(t,e),n=t.a.Zc(i),new xA(t,n)}function K1(t){return t.Db>>16!=6?null:zz(oDt(t),235)}function X1(t){if(2!=t.p)throw qw(new pm);return pU(t.f)&VKt}function V1(t){if(2!=t.p)throw qw(new pm);return pU(t.k)&VKt}function Q1(t){return t.a==(F5(),nLe)&&pd(t,iLt(t.g,t.b)),t.a}function J1(t){return t.d==(F5(),nLe)&&wd(t,PRt(t.g,t.b)),t.d}function t0(t){return CP(t.ai?1:0}function g0(t,e){var n;return n=T9(e),zz(FZ(t.c,n),19).a}function p0(t,e){var n;for(n=t+"";n.length0&&0==t.a[--t.d];);0==t.a[t.d++]&&(t.e=0)}function W0(t){return t.a?0==t.e.length?t.a.a:t.a.a+""+t.e:t.c}function K0(t){return!(!t.a||0==q9(t.a.a).i||t.b&&jmt(t.b))}function X0(t){return!(!t.u||0==o4(t.u.a).i||t.n&&Rmt(t.n))}function V0(t){return vH(t.e.Hd().gc()*t.c.Hd().gc(),16,new Uh(t))}function Q0(t,e){return $Y(fot(t.q.getTime()),fot(e.q.getTime()))}function J0(t){return zz(Vbt(t,P8(vse,o1t,17,t.c.length,0,1)),474)}function t2(t){return zz(Vbt(t,P8(Mse,s1t,10,t.c.length,0,1)),193)}function e2(t){return zJ(),!(d5(t)||!d5(t)&&t.c.i.c==t.d.i.c)}function n2(t,e,n){vZ(t),Bvt(new IJ(new ej(t),e,n))}function i2(t,e,n){vZ(t),Fvt(new MJ(new ej(t),e,n))}function r2(t,e){var n;return n=1-e,t.a[n]=prt(t.a[n],n),prt(t,e)}function a2(t,e){var n;t.e=new Qy,yO(n=pBt(e),t.c),MBt(t,n,0)}function o2(t,e,n,i){var r;(r=new ys).a=e,r.b=n,r.c=i,Bq(t.a,r)}function s2(t,e,n,i){var r;(r=new ys).a=e,r.b=n,r.c=i,Bq(t.b,r)}function c2(t){var e,n;return n=njt(e=new fZ,t),xGt(e),n}function u2(){var t,e;return t=new Rw,Wz(KOe,e=t),e}function l2(t){return t.j.c=P8(Ote,HWt,1,0,5,1),AK(t.c),bK(t.a),t}function h2(t){return EE(),aL(t.g,10)?zz(t.g,10):null}function f2(t){return!_K(t).dc()&&(LO(t,new y),!0)}function d2(t){if(!("stack"in t))try{throw t}catch(t){}return t}function g2(t,e){if(t<0||t>=e)throw qw(new Dv(NSt(t,e)));return t}function p2(t,e,n){if(t<0||en)throw qw(new Dv(uCt(t,e,n)))}function b2(t,e){if(AY(t.a,e),e.d)throw qw(new pv(MVt));e.d=t}function w2(t,e){if(e.$modCount!=t.$modCount)throw qw(new mm)}function m2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function y2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function v2(t,e){return!!aL(e,42)&&Tyt(t.a,zz(e,42))}function x2(t,e){return t.a<=t.b&&(e.ud(t.a++),!0)}function k2(t){var e;return QM(t)?-0==(e=t)?0:e:wtt(t)}function _2(t){var e;return _W(t),e=new $,b_(t.a,new bg(e)),e}function A2(t){var e;return _W(t),e=new j,b_(t.a,new pg(e)),e}function E2(t,e){this.a=t,Td.call(this,t),LJ(e,t.gc()),this.b=e}function T2(t){this.e=t,this.b=this.e.a.entries(),this.a=new Array}function C2(t){return vH(t.e.Hd().gc()*t.c.Hd().gc(),273,new Hh(t))}function S2(t){return new Q6((dit(t,PKt),eet(adt(adt(5,t),t/10|0))))}function I2(t){return zz(Vbt(t,P8(Use,c1t,11,t.c.length,0,1)),1943)}function M2(t,e,n){return n.f.c.length>0?zY(t.a,e,n):zY(t.b,e,n)}function D2(t,e,n){t.d&&v9(t.d.e,t),t.d=e,t.d&&xU(t.d.e,n,t)}function O2(t,e){yZt(e,t),oq(t.d),oq(zz(vEt(t,(HZt(),Dbe)),207))}function L2(t,e){mZt(e,t),aq(t.d),aq(zz(vEt(t,(HZt(),Dbe)),207))}function N2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=n.fe()),i}function P2(t,e){var n,i;return i=null,(n=ptt(t,e))&&(i=n.ie()),i}function B2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=n.ie()),i}function F2(t,e){var n,i;return i=null,(n=GQ(t,e))&&(i=xCt(n)),i}function R2(t,e,n){var i;return i=Vpt(n),pRt(t.g,i,e),pRt(t.i,e,n),e}function j2(t,e,n){var i;i=Npt();try{return pF(t,e,n)}finally{v3(i)}}function $2(t){var e;e=t.Wg(),this.a=aL(e,69)?zz(e,69).Zh():e.Kc()}function z2(){Vy.call(this),this.j.c=P8(Ote,HWt,1,0,5,1),this.a=-1}function q2(t,e,n,i){this.d=t,this.n=e,this.g=n,this.o=i,this.p=-1}function H2(t,e,n,i){this.e=i,this.d=null,this.c=t,this.a=e,this.b=n}function U2(t,e,n){this.d=new $p(this),this.e=t,this.i=e,this.f=n}function G2(){G2=M,Dhe=new BC(iQt,0),Ohe=new BC("TOP_LEFT",1)}function Y2(){Y2=M,Aye=QW(rft(1),rft(4)),_ye=QW(rft(1),rft(2))}function Z2(){Z2=M,Q_e=dlt((IE(),Sst(Ux(eAe,1),LKt,551,0,[X_e])))}function W2(){W2=M,K_e=dlt((SE(),Sst(Ux(V_e,1),LKt,482,0,[Z_e])))}function K2(){K2=M,YAe=dlt((ME(),Sst(Ux(KAe,1),LKt,530,0,[UAe])))}function X2(){X2=M,oae=dlt((gE(),Sst(Ux(Cae,1),LKt,481,0,[rae])))}function V2(){return Fot(),Sst(Ux(Ure,1),LKt,406,0,[Fre,Nre,Pre,Bre])}function Q2(){return J7(),Sst(Ux($ne,1),LKt,297,0,[Nne,Pne,Bne,Fne])}function J2(){return Uwt(),Sst(Ux(aae,1),LKt,394,0,[Jre,Qre,tae,eae])}function t3(){return Hwt(),Sst(Ux(Yre,1),LKt,323,0,[zre,$re,qre,Hre])}function e3(){return Ost(),Sst(Ux(pse,1),LKt,405,0,[Joe,nse,tse,ese])}function n3(){return Mst(),Sst(Ux(wue,1),LKt,360,0,[oue,rue,aue,iue])}function i3(t,e,n,i){return aL(n,54)?new MP(t,e,n,i):new uG(t,e,n,i)}function r3(){return Dst(),Sst(Ux(Iue,1),LKt,411,0,[mue,yue,vue,xue])}function a3(t){return t.j==(kYt(),TIe)&&TN(ZMt(t),cIe)}function o3(t,e){var n;TJ(n=e.a,e.c.d),EJ(n,e.d.d),tnt(n.a,t.n)}function s3(t,e){return zz(ON(IG(zz(l6(t.k,e),15).Oc(),Xue)),113)}function c3(t,e){return zz(ON(MG(zz(l6(t.k,e),15).Oc(),Xue)),113)}function u3(t){return new g1(nat(zz(t.a.dd(),14).gc(),t.a.cd()),16)}function l3(t){return aL(t,14)?zz(t,14).dc():!t.Kc().Ob()}function h3(t){return EE(),aL(t.g,145)?zz(t.g,145):null}function f3(t){if(t.e.g!=t.b)throw qw(new mm);return!!t.c&&t.d>0}function d3(t){return CP(t.b!=t.d.c),t.c=t.b,t.b=t.b.a,++t.a,t.c.c}function g3(t,e){xW(e),OZ(t.a,t.c,e),t.c=t.c+1&t.a.length-1,pvt(t)}function p3(t,e){xW(e),t.b=t.b-1&t.a.length-1,OZ(t.a,t.b,e),pvt(t)}function b3(t,e){var n;for(n=t.j.c.length;n0&&sqt(t.g,0,e,0,t.i),e}function P3(t,e){var n;return tT(),!(n=zz(FZ(yDe,t),55))||n.wj(e)}function B3(t){if(1!=t.p)throw qw(new pm);return pU(t.f)<<24>>24}function F3(t){if(1!=t.p)throw qw(new pm);return pU(t.k)<<24>>24}function R3(t){if(7!=t.p)throw qw(new pm);return pU(t.k)<<16>>16}function j3(t){if(7!=t.p)throw qw(new pm);return pU(t.f)<<16>>16}function $3(t){var e;for(e=0;t.Ob();)t.Pb(),e=adt(e,1);return eet(e)}function z3(t,e){var n;return n=new Ix,t.xd(n),n.a+="..",e.yd(n),n.a}function q3(t,e,n){var i;i=zz(FZ(t.g,n),57),Wz(t.a.c,new rI(e,i))}function H3(t,e,n){return AG(EB(HI(DV(t.f,e))),EB(HI(DV(t.f,n))))}function U3(t,e,n){return Z$t(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function G3(t,e,n){return mzt(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function Y3(t,e,n){return BOt(t,e,n,aL(e,99)&&0!=(zz(e,18).Bb&qXt))}function Z3(t,e){return t==(cTt(),Sse)&&e==Sse?4:t==Sse||e==Sse?8:32}function W3(t,e){return UI(e)===UI(t)?"(this Map)":null==e?YWt:qdt(e)}function K3(t,e){return zz(null==e?HI(DV(t.f,null)):lT(t.g,e),281)}function X3(t,e,n){var i;return i=Vpt(n),KW(t.b,i,e),KW(t.c,e,n),e}function V3(t,e){var n;for(n=e;n;)jP(t,n.i,n.j),n=QQ(n);return t}function Q3(t,e){var n;return n=rV(qz(new S9(t,e))),SH(new S9(t,e)),n}function J3(t,e){var n;return JE(),ETt(n=zz(t,66).Mj(),e),n.Ok(e)}function t4(t,e,n,i,r){Wz(e,vSt(r,WOt(r,n,i))),ZEt(t,r,e)}function e4(t,e,n){t.i=0,t.e=0,e!=n&&(Kct(t,e,n),Wct(t,e,n))}function n4(t,e){var n;n=t.q.getHours(),t.q.setFullYear(e+lXt),dzt(t,n)}function i4(t,e,n){if(n){var i=n.ee();t.a[e]=i(n)}else delete t.a[e]}function r4(t,e,n){if(n){var i=n.ee();n=i(n)}else n=void 0;t.a[e]=n}function a4(t){if(t<0)throw qw(new zv("Negative array size: "+t))}function o4(t){return t.n||(C5(t),t.n=new VU(t,KDe,t),xV(t)),t.n}function s4(t){return CP(t.a=0&&t.a[n]===e[n];n--);return n<0}function A4(t,e){var n;return Yut(),0!=(n=t.j.g-e.j.g)?n:0}function E4(t,e){return xW(e),null!=t.a?CU(e.Kb(t.a)):Tne}function T4(t){var e;return t?new LH(t):(Urt(e=new hD,t),e)}function C4(t,e){return e.b.Kb(A9(t,e.c.Ee(),new vg(e)))}function S4(t){xAt(),lL(this,pU(n0(xG(t,24),lVt)),pU(n0(t,lVt)))}function I4(){I4=M,wie=dlt((hwt(),Sst(Ux(vie,1),LKt,428,0,[pie,gie])))}function M4(){M4=M,xie=dlt((Ftt(),Sst(Ux(Rie,1),LKt,427,0,[mie,yie])))}function D4(){D4=M,jae=dlt((Rtt(),Sst(Ux(Ooe,1),LKt,424,0,[Bae,Fae])))}function O4(){O4=M,Gse=dlt((Crt(),Sst(Ux(Wse,1),LKt,511,0,[Hse,qse])))}function L4(){L4=M,Ile=dlt((jtt(),Sst(Ux(Lle,1),LKt,419,0,[Tle,Cle])))}function N4(){N4=M,Yle=dlt((b9(),Sst(Ux(Jle,1),LKt,479,0,[Ule,Hle])))}function P4(){P4=M,eye=dlt((D6(),Sst(Ux(aye,1),LKt,376,0,[Jme,Qme])))}function B4(){B4=M,zme=dlt((Y9(),Sst(Ux(Gme,1),LKt,421,0,[Rme,jme])))}function F4(){F4=M,cle=dlt((K8(),Sst(Ux(fle,1),LKt,422,0,[ale,ole])))}function R4(){R4=M,Nhe=dlt((G2(),Sst(Ux(Ufe,1),LKt,420,0,[Dhe,Ohe])))}function j4(){j4=M,Cve=dlt((M6(),Sst(Ux(Pve,1),LKt,520,0,[Eve,Ave])))}function $4(){$4=M,Uye=dlt((X4(),Sst(Ux(Kye,1),LKt,523,0,[qye,zye])))}function z4(){z4=M,ive=dlt((bQ(),Sst(Ux(ove,1),LKt,516,0,[eve,tve])))}function q4(){q4=M,sve=dlt((cJ(),Sst(Ux(Tve,1),LKt,515,0,[rve,ave])))}function H4(){H4=M,Bve=dlt((pQ(),Sst(Ux(zve,1),LKt,455,0,[Lve,Nve])))}function U4(){U4=M,Uxe=dlt((z0(),Sst(Ux(Qxe,1),LKt,425,0,[qxe,zxe])))}function G4(){G4=M,Jxe=dlt((Srt(),Sst(Ux(ike,1),LKt,495,0,[Xxe,Vxe])))}function Y4(){Y4=M,$xe=dlt((uJ(),Sst(Ux(Hxe,1),LKt,480,0,[Fxe,Rxe])))}function Z4(){Z4=M,cke=dlt((B7(),Sst(Ux(fke,1),LKt,426,0,[ake,oke])))}function W4(){W4=M,XAe=dlt((Nst(),Sst(Ux(VAe,1),LKt,429,0,[WAe,ZAe])))}function K4(){K4=M,nAe=dlt((O6(),Sst(Ux(cAe,1),LKt,430,0,[tAe,J_e])))}function X4(){X4=M,qye=new QC("UPPER",0),zye=new QC("LOWER",1)}function V4(t,e){var n;HX(n=new wv,"x",e.a),HX(n,"y",e.b),tW(t,n)}function Q4(t,e){var n;HX(n=new wv,"x",e.a),HX(n,"y",e.b),tW(t,n)}function J4(t,e){var n,i;i=!1;do{i|=n=gct(t,e)}while(n);return i}function t5(t,e){var n,i;for(n=e,i=0;n>0;)i+=t.a[n],n-=n&-n;return i}function e5(t,e){var n;for(n=e;n;)jP(t,-n.i,-n.j),n=QQ(n);return t}function n5(t,e){var n,i;for(xW(e),i=t.Kc();i.Ob();)n=i.Pb(),e.td(n)}function i5(t,e){var n;return new mA(n=e.cd(),t.e.pc(n,zz(e.dd(),14)))}function r5(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 a5(t,e,n){var i;return f1(e,t.c.length),i=t.c[e],t.c[e]=n,i}function o5(t,e,n){return zz(null==e?_St(t.f,null,n):cdt(t.g,e,n),281)}function s5(t){return t.c&&t.d?w0(t.c)+"->"+w0(t.d):"e_"+CN(t)}function c5(t,e){return(Vft(t),k_(new FH(t,new X7(e,t.a)))).sd(eie)}function u5(){return xEt(),Sst(Ux(Yoe,1),LKt,356,0,[Foe,Roe,joe,$oe,zoe])}function l5(){return kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])}function h5(t){return Bx(),function(){return j2(t,this,arguments)}}function f5(){return Date.now?Date.now():(new Date).getTime()}function d5(t){return!(!t.c||!t.d||!t.c.i||t.c.i!=t.d.i)}function g5(t){if(!t.c.Sb())throw qw(new vm);return t.a=!0,t.c.Ub()}function p5(t){t.i=0,vT(t.b,null),vT(t.c,null),t.a=null,t.e=null,++t.g}function b5(t){pT.call(this,null==t?YWt:qdt(t),aL(t,78)?zz(t,78):null)}function w5(t){iWt(),zw(this),this.a=new VA,but(this,t),Bq(this.a,t)}function m5(){PD(this),this.b=new PS(RXt,RXt),this.a=new PS(jXt,jXt)}function y5(t,e){this.c=0,this.b=e,wM.call(this,t,17493),this.a=this.c}function v5(t){x5(),Xne||(this.c=t,this.e=!0,this.a=new Nw)}function x5(){x5=M,Xne=!0,Wne=!1,Kne=!1,Qne=!1,Vne=!1}function k5(t,e){return!!aL(e,149)&&yR(t.c,zz(e,149).c)}function _5(t,e){var n;return n=0,t&&(n+=t.f.a/2),e&&(n+=e.f.a/2),n}function A5(t,e){return zz(ftt(t.d,e),23)||zz(ftt(t.e,e),23)}function E5(t){this.b=t,DL.call(this,t),this.a=zz(xot(this.b.a,4),126)}function T5(t){this.b=t,oP.call(this,t),this.a=zz(xot(this.b.a,4),126)}function C5(t){return t.t||(t.t=new pw(t),lft(new Pv(t),0,t.t)),t.t}function S5(){return zht(),Sst(Ux(WCe,1),LKt,103,0,[zCe,$Ce,jCe,RCe,qCe])}function I5(){return owt(),Sst(Ux(QSe,1),LKt,249,0,[zSe,HSe,jSe,$Se,qSe])}function M5(){return awt(),Sst(Ux(kEe,1),LKt,175,0,[lEe,uEe,sEe,hEe,cEe])}function D5(){return LTt(),Sst(Ux(GAe,1),LKt,316,0,[iAe,rAe,sAe,aAe,oAe])}function O5(){return Pmt(),Sst(Ux(Dme,1),LKt,315,0,[vme,wme,mme,bme,yme])}function L5(){return Xmt(),Sst(Ux(Sle,1),LKt,335,0,[vle,yle,kle,_le,xle])}function N5(){return QLt(),Sst(Ux(G_e,1),LKt,355,0,[B_e,P_e,R_e,F_e,j_e])}function P5(){return N_t(),Sst(Ux(Rue,1),LKt,363,0,[Eue,Cue,Sue,Tue,Aue])}function B5(){return Edt(),Sst(Ux(ime,1),LKt,163,0,[Hfe,jfe,$fe,zfe,qfe])}function F5(){var t,e;F5=M,i_(),e=new _m,eLe=e,t=new My,nLe=t}function R5(t){var e;return t.c||aL(e=t.r,88)&&(t.c=zz(e,26)),t.c}function j5(t){return t.e=3,t.d=t.Yb(),2!=t.e&&(t.e=0,!0)}function $5(t){return EO(t&CXt,t>>22&CXt,t<0?SXt:0)}function z5(t){var e,n,i;for(n=0,i=(e=t).length;n0?Apt(t,e):MPt(t,-e)}function G5(t,e){return 0==e||0==t.e?t:e>0?MPt(t,e):Apt(t,-e)}function Y5(t){if(bDt(t))return t.c=t.a,t.a.Pb();throw qw(new vm)}function Z5(t){var e,n;return e=t.c.i,n=t.d.i,e.k==(cTt(),Ese)&&n.k==Ese}function W5(t){var e;return Uot(e=new gV,t),hct(e,(HZt(),mbe),null),e}function K5(t,e,n){var i;return(i=t.Yg(e))>=0?t._g(i,n,!0):oMt(t,e,n)}function X5(t,e,n,i){var r;for(r=0;re)throw qw(new Dv(bSt(t,e,"index")));return t}function p6(t,e,n,i){var r;return yAt(r=P8(DNe,hXt,25,e,15,1),t,e,n,i),r}function b6(t,e){var n;n=t.q.getHours()+(e/60|0),t.q.setMinutes(e),dzt(t,n)}function w6(t,e){return n.Math.min(W8(e.a,t.d.d.c),W8(e.b,t.d.d.c))}function m6(t,e){return ZI(e)?null==e?wDt(t.f,null):Got(t.g,e):wDt(t.f,e)}function y6(t){this.c=t,this.a=new Wd(this.c.a),this.b=new Wd(this.c.b)}function v6(){this.e=new Nw,this.c=new Nw,this.d=new Nw,this.b=new Nw}function x6(){this.g=new zm,this.b=new zm,this.a=new Nw,this.k=new Nw}function k6(t,e,n){this.a=t,this.c=e,this.d=n,Wz(e.e,this),Wz(n.b,this)}function _6(t,e){bM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function A6(t,e){wM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function E6(t,e){mM.call(this,e.rd(),-6&e.qd()),xW(t),this.a=t,this.b=e}function T6(t,e,n){this.a=t,this.b=e,this.c=n,Wz(t.t,this),Wz(e.i,this)}function C6(){this.b=new VA,this.a=new VA,this.b=new VA,this.a=new VA}function S6(){S6=M,AEe=new sw("org.eclipse.elk.labels.labelManager")}function I6(){I6=M,nue=new iF("separateLayerConnections",(Mst(),oue))}function M6(){M6=M,Eve=new sS("REGULAR",0),Ave=new sS("CRITICAL",1)}function D6(){D6=M,Jme=new ZC("STACKED",0),Qme=new ZC("SEQUENCED",1)}function O6(){O6=M,tAe=new AS("FIXED",0),J_e=new AS("CENTER_NODE",1)}function L6(t,e){var n;return n=BUt(t,e),t.b=new vrt(n.c.length),xHt(t,n)}function N6(t,e,n){return++t.e,--t.f,zz(t.d[e].$c(n),133).dd()}function P6(t){var e;return t.a||aL(e=t.r,148)&&(t.a=zz(e,148)),t.a}function B6(t){return t.a?t.e?B6(t.e):null:t}function F6(t,e){return t.pe.p?-1:0}function R6(t,e){return xW(e),t.c=0,"Initial capacity must not be negative")}function J6(){J6=M,Wie=dlt((Fet(),Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])))}function t8(){t8=M,ere=dlt((Q7(),Sst(Ux(nre,1),LKt,461,0,[Vie,Xie,Qie])))}function e8(){e8=M,sre=dlt((U9(),Sst(Ux(Mre,1),LKt,462,0,[are,rre,ire])))}function n8(){n8=M,Jne=dlt((Uut(),Sst(Ux(tie,1),LKt,132,0,[Gne,Yne,Zne])))}function i8(){i8=M,Loe=dlt((H9(),Sst(Ux(qoe,1),LKt,379,0,[Moe,Ioe,Doe])))}function r8(){r8=M,bse=dlt((qht(),Sst(Ux(yse,1),LKt,423,0,[gse,dse,fse])))}function a8(){a8=M,dle=dlt((Dit(),Sst(Ux(wle,1),LKt,314,0,[lle,ule,hle])))}function o8(){o8=M,mle=dlt((cit(),Sst(Ux(Ale,1),LKt,337,0,[gle,ble,ple])))}function s8(){s8=M,Nle=dlt((Jst(),Sst(Ux(zle,1),LKt,450,0,[Dle,Mle,Ole])))}function c8(){c8=M,jue=dlt((Irt(),Sst(Ux(Wue,1),LKt,361,0,[Fue,Bue,Pue])))}function u8(){u8=M,Mhe=dlt((G9(),Sst(Ux(Lhe,1),LKt,303,0,[Che,She,The])))}function l8(){l8=M,Ehe=dlt((jot(),Sst(Ux(Ihe,1),LKt,292,0,[khe,_he,xhe])))}function h8(){h8=M,ume=dlt((Tlt(),Sst(Ux(gme,1),LKt,378,0,[ame,ome,sme])))}function f8(){f8=M,Vme=dlt((Hat(),Sst(Ux(tye,1),LKt,375,0,[Zme,Wme,Kme])))}function d8(){d8=M,Fme=dlt((vct(),Sst(Ux($me,1),LKt,339,0,[Nme,Lme,Pme])))}function g8(){g8=M,Yme=dlt((sit(),Sst(Ux(Xme,1),LKt,452,0,[Ume,qme,Hme])))}function p8(){p8=M,bye=dlt((Lst(),Sst(Ux(Tye,1),LKt,377,0,[dye,gye,fye])))}function b8(){b8=M,oye=dlt((Zut(),Sst(Ux(lye,1),LKt,336,0,[nye,iye,rye])))}function w8(){w8=M,hye=dlt((bat(),Sst(Ux(pye,1),LKt,338,0,[uye,sye,cye])))}function m8(){m8=M,Nye=dlt((uit(),Sst(Ux(Pye,1),LKt,454,0,[Mye,Dye,Oye])))}function y8(){y8=M,rke=dlt((Idt(),Sst(Ux(ske,1),LKt,442,0,[nke,tke,eke])))}function v8(){v8=M,dke=dlt((Hut(),Sst(Ux(Uke,1),LKt,380,0,[uke,lke,hke])))}function x8(){x8=M,n_e=dlt((Cdt(),Sst(Ux(N_e,1),LKt,381,0,[Jke,t_e,Qke])))}function k8(){k8=M,Xke=dlt((qat(),Sst(Ux(Vke,1),LKt,293,0,[Zke,Wke,Yke])))}function _8(){_8=M,Y_e=dlt((Sdt(),Sst(Ux(W_e,1),LKt,437,0,[q_e,H_e,U_e])))}function A8(){A8=M,xSe=dlt((cht(),Sst(Ux(TSe,1),LKt,334,0,[mSe,wSe,ySe])))}function E8(){E8=M,KCe=dlt((Ret(),Sst(Ux(tSe,1),LKt,272,0,[GCe,YCe,ZCe])))}function T8(){return V_t(),Sst(Ux(oIe,1),LKt,98,0,[VSe,XSe,KSe,YSe,WSe,ZSe])}function C8(t,e){return!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),apt(t.o,e)}function S8(t){return!t.g&&(t.g=new uc),!t.g.d&&(t.g.d=new fw(t)),t.g.d}function I8(t){return!t.g&&(t.g=new uc),!t.g.a&&(t.g.a=new dw(t)),t.g.a}function M8(t){return!t.g&&(t.g=new uc),!t.g.b&&(t.g.b=new hw(t)),t.g.b}function D8(t){return!t.g&&(t.g=new uc),!t.g.c&&(t.g.c=new gw(t)),t.g.c}function O8(t,e,n){var i,r;for(r=new Oot(e,t),i=0;in||e=0?t._g(n,!0,!0):oMt(t,e,!0)}function C7(t,e){return Sft(Uv(EB(vEt(t,(hWt(),Afe)))),Uv(EB(vEt(e,Afe))))}function S7(){S7=M,Yxe=ubt(ubt($E(new z2,(Yvt(),Rve)),(FCt(),Xve)),Yve)}function I7(t,e,n){var i;return i=Pct(t,e,n),t.b=new vrt(i.c.length),lBt(t,i)}function M7(t){if(t.b<=0)throw qw(new vm);return--t.b,t.a-=t.c.c,rft(t.a)}function D7(t){var e;if(!t.a)throw qw(new fK);return e=t.a,t.a=QQ(t.a),e}function O7(t){for(;!t.a;)if(!AR(t.c,new wg(t)))return!1;return!0}function L7(t){return vZ(t),aL(t,198)?zz(t,198):new cf(t)}function N7(t){P7(),zz(t.We((lWt(),hCe)),174).Fc((dIt(),iIe)),t.Ye(lCe,null)}function P7(){P7=M,eEe=new gs,iEe=new ps,nEe=yut((lWt(),lCe),eEe,HTe,iEe)}function B7(){B7=M,ake=new wS("LEAF_NUMBER",0),oke=new wS("NODE_SIZE",1)}function F7(t,e,n){t.a=e,t.c=n,t.b.a.$b(),vX(t.d),t.e.a.c=P8(Ote,HWt,1,0,5,1)}function R7(t){t.a=P8(DNe,hXt,25,t.b+1,15,1),t.c=P8(DNe,hXt,25,t.b,15,1),t.d=0}function j7(t,e){t.a.ue(e.d,t.b)>0&&(Wz(t.c,new yq(e.c,e.d,t.d)),t.b=e.d)}function $7(t,e){if(null==t.g||e>=t.i)throw qw(new LM(e,t.i));return t.g[e]}function z7(t,e,n){if(But(t,n),null!=n&&!t.wj(n))throw qw(new fm);return n}function q7(t){var e;if(t.Ek())for(e=t.i-1;e>=0;--e)Ket(t,e);return N3(t)}function H7(t){var e,n;if(!t.b)return null;for(n=t.b;e=n.a[0];)n=e;return n}function U7(t,e){var n;return a4(e),(n=y9(t.slice(0,e),t)).length=e,n}function G7(t,e,n,i){CX(),i=i||gne,wSt(t.slice(e,n),t,e,n,-e,i)}function Y7(t,e,n,i,r){return e<0?oMt(t,n,i):zz(n,66).Nj().Pj(t,t.yh(),e,i,r)}function Z7(t){return aL(t,172)?""+zz(t,172).a:null==t?null:qdt(t)}function W7(t){return aL(t,172)?""+zz(t,172).a:null==t?null:qdt(t)}function K7(t,e){if(e.a)throw qw(new pv(MVt));AY(t.a,e),e.a=t,!t.j&&(t.j=e)}function X7(t,e){mM.call(this,e.rd(),-16449&e.qd()),xW(t),this.a=t,this.c=e}function V7(t,e){var n,i;return i=e/t.c.Hd().gc()|0,n=e%t.c.Hd().gc(),Y6(t,i,n)}function Q7(){Q7=M,Vie=new UT(oQt,0),Xie=new UT(iQt,1),Qie=new UT(sQt,2)}function J7(){J7=M,Nne=new bT("All",0),Pne=new LD,Bne=new DO,Fne=new ND}function t9(){t9=M,jne=dlt((J7(),Sst(Ux($ne,1),LKt,297,0,[Nne,Pne,Bne,Fne])))}function e9(){e9=M,rse=dlt((Ost(),Sst(Ux(pse,1),LKt,405,0,[Joe,nse,tse,ese])))}function n9(){n9=M,jre=dlt((Fot(),Sst(Ux(Ure,1),LKt,406,0,[Fre,Nre,Pre,Bre])))}function i9(){i9=M,Gre=dlt((Hwt(),Sst(Ux(Yre,1),LKt,323,0,[zre,$re,qre,Hre])))}function r9(){r9=M,iae=dlt((Uwt(),Sst(Ux(aae,1),LKt,394,0,[Jre,Qre,tae,eae])))}function a9(){a9=M,qve=dlt((Yvt(),Sst(Ux(Hve,1),LKt,393,0,[Fve,Rve,jve,$ve])))}function o9(){o9=M,cue=dlt((Mst(),Sst(Ux(wue,1),LKt,360,0,[oue,rue,aue,iue])))}function s9(){s9=M,Gke=dlt((Dyt(),Sst(Ux(Kke,1),LKt,340,0,[Hke,zke,qke,$ke])))}function c9(){c9=M,_ue=dlt((Dst(),Sst(Ux(Iue,1),LKt,411,0,[mue,yue,vue,xue])))}function u9(){u9=M,pme=dlt((gmt(),Sst(Ux(xme,1),LKt,197,0,[fme,dme,hme,lme])))}function l9(){l9=M,hMe=dlt((qut(),Sst(Ux(gMe,1),LKt,396,0,[sMe,cMe,oMe,uMe])))}function h9(){h9=M,CSe=dlt((Wvt(),Sst(Ux(FSe,1),LKt,285,0,[ESe,kSe,_Se,ASe])))}function f9(){f9=M,eSe=dlt((Tdt(),Sst(Ux(cSe,1),LKt,218,0,[JCe,VCe,XCe,QCe])))}function d9(){d9=M,rMe=dlt((zgt(),Sst(Ux(aMe,1),LKt,311,0,[nMe,JIe,eMe,tMe])))}function g9(){g9=M,zIe=dlt((vpt(),Sst(Ux(VIe,1),LKt,374,0,[RIe,jIe,FIe,BIe])))}function p9(){p9=M,Uzt(),qLe=RXt,zLe=jXt,ULe=new Nd(RXt),HLe=new Nd(jXt)}function b9(){b9=M,Ule=new MC(VJt,0),Hle=new MC("IMPROVE_STRAIGHTNESS",1)}function w9(t,e){return lq(),Wz(t,new rI(e,rft(e.e.c.length+e.g.c.length)))}function m9(t,e){return lq(),Wz(t,new rI(e,rft(e.e.c.length+e.g.c.length)))}function y9(t,e){return 10!=mtt(e)&&Sst(nut(e),e.hm,e.__elementTypeId$,mtt(e),t),t}function v9(t,e){var n;return-1!=(n=_9(t,e,0))&&(u6(t,n),!0)}function x9(t,e){var n;return(n=zz(m6(t.e,e),387))?(Fq(n),n.e):null}function k9(t){var e;return QM(t)&&(e=0-t,!isNaN(e))?e:cot(sct(t))}function _9(t,e,n){for(;n=0?tmt(t,n,!0,!0):oMt(t,e,!0)}function J9(t,e){var n,i;return EE(),n=h3(t),i=h3(e),!!n&&!!i&&!jwt(n.k,i.k)}function ttt(t,e){Snt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function ett(t,e){Int(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function ntt(t,e){Cnt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function itt(t,e){Tnt(t,null==e||WR((xW(e),e))||isNaN((xW(e),e))?0:(xW(e),e))}function rtt(t){(this.q?this.q:(TX(),TX(),hne)).Ac(t.q?t.q:(TX(),TX(),hne))}function att(t,e){return aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t)}function ott(t,e){return aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t)}function stt(t,e){Kre=new ne,nae=e,zz((Wre=t).b,65),R8(Wre,Kre,null),cHt(Wre)}function ctt(t,e,n){var i;return i=t.g[e],kL(t,e,t.oi(e,n)),t.gi(e,n,i),t.ci(),i}function utt(t,e){var n;return(n=t.Xc(e))>=0&&(t.$c(n),!0)}function ltt(t){var e;return t.d!=t.r&&(e=Mxt(t),t.e=!!e&&e.Cj()==A7t,t.d=e),t.e}function htt(t,e){var n;for(vZ(t),vZ(e),n=!1;e.Ob();)n|=t.Fc(e.Pb());return n}function ftt(t,e){var n;return(n=zz(FZ(t.e,e),387))?(sL(t,n),n.e):null}function dtt(t){var e,n;return e=t/60|0,0==(n=t%60)?""+e:e+":"+n}function gtt(t,e){return Vft(t),new FH(t,new RR(new E6(e,t.a)))}function ptt(t,e){var n=t.a[e],i=(tct(),fee)[typeof n];return i?i(n):klt(typeof n)}function btt(t){switch(t.g){case 0:return FWt;case 1:return-1;default:return 0}}function wtt(t){return jxt(t,(Z9(),wee))<0?-SN(sct(t)):t.l+t.m*MXt+t.h*DXt}function mtt(t){return null==t.__elementTypeCategory$?10:t.__elementTypeCategory$}function ytt(t){var e;return null!=(e=0==t.b.c.length?null:PH(t.b,0))&&hrt(t,0),e}function vtt(t,e){for(;e[0]=0;)++e[0]}function xtt(t,e){this.e=e,this.a=Xot(t),this.a<54?this.f=k2(t):this.c=ewt(t)}function ktt(t,e,n,i){pWt(),Dw.call(this,26),this.c=t,this.a=e,this.d=n,this.b=i}function _tt(t,e,n){var i,r;for(i=10,r=0;rt.a[i]&&(i=n);return i}function Ltt(t,e){var n;return 0==(n=Mdt(t.e.c,e.e.c))?Sft(t.e.d,e.e.d):n}function Ntt(t,e){return 0==e.e||0==t.e?ine:(LMt(),ONt(t,e))}function Ptt(t,e){if(!t)throw qw(new jv(QNt("Enum constant undefined: %s",e)))}function Btt(){Btt=M,sse=new Ee,cse=new _e,ase=new Me,ose=new De,use=new Oe}function Ftt(){Ftt=M,mie=new zT("BY_SIZE",0),yie=new zT("BY_SIZE_AND_SHAPE",1)}function Rtt(){Rtt=M,Bae=new ZT("EADES",0),Fae=new ZT("FRUCHTERMAN_REINGOLD",1)}function jtt(){jtt=M,Tle=new CC("READING_DIRECTION",0),Cle=new CC("ROTATION",1)}function $tt(){$tt=M,Ele=dlt((Xmt(),Sst(Ux(Sle,1),LKt,335,0,[vle,yle,kle,_le,xle])))}function ztt(){ztt=M,kme=dlt((Pmt(),Sst(Ux(Dme,1),LKt,315,0,[vme,wme,mme,bme,yme])))}function qtt(){qtt=M,Mue=dlt((N_t(),Sst(Ux(Rue,1),LKt,363,0,[Eue,Cue,Sue,Tue,Aue])))}function Htt(){Htt=M,Gfe=dlt((Edt(),Sst(Ux(ime,1),LKt,163,0,[Hfe,jfe,$fe,zfe,qfe])))}function Utt(){Utt=M,uAe=dlt((LTt(),Sst(Ux(GAe,1),LKt,316,0,[iAe,rAe,sAe,aAe,oAe])))}function Gtt(){Gtt=M,dEe=dlt((awt(),Sst(Ux(kEe,1),LKt,175,0,[lEe,uEe,sEe,hEe,cEe])))}function Ytt(){Ytt=M,z_e=dlt((QLt(),Sst(Ux(G_e,1),LKt,355,0,[B_e,P_e,R_e,F_e,j_e])))}function Ztt(){Ztt=M,Hoe=dlt((xEt(),Sst(Ux(Yoe,1),LKt,356,0,[Foe,Roe,joe,$oe,zoe])))}function Wtt(){Wtt=M,UCe=dlt((zht(),Sst(Ux(WCe,1),LKt,103,0,[zCe,$Ce,jCe,RCe,qCe])))}function Ktt(){Ktt=M,GSe=dlt((owt(),Sst(Ux(QSe,1),LKt,249,0,[zSe,HSe,jSe,$Se,qSe])))}function Xtt(){Xtt=M,MIe=dlt((kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])))}function Vtt(t,e){var n;return(n=zz(FZ(t.a,e),134))||(n=new Qt,KW(t.a,e,n)),n}function Qtt(t){var e;return!!(e=zz(vEt(t,(hWt(),Fhe)),305))&&e.a==t}function Jtt(t){var e;return!!(e=zz(vEt(t,(hWt(),Fhe)),305))&&e.i==t}function tet(t,e){return xW(e),BG(t),!!t.d.Ob()&&(e.td(t.d.Pb()),!0)}function eet(t){return Xlt(t,FWt)>0?FWt:Xlt(t,$Kt)<0?$Kt:pU(t)}function net(t){return t<3?(dit(t,MKt),t+1):t=0&&e=-.01&&t.a<=fQt&&(t.a=0),t.b>=-.01&&t.b<=fQt&&(t.b=0),t}function oet(t,e){return e==(aj(),aj(),Ene)?t.toLocaleLowerCase():t.toLowerCase()}function set(t){return(0!=(2&t.i)?"interface ":0!=(1&t.i)?"":"class ")+(_B(t),t.o)}function cet(t){var e;e=new Oy,h7((!t.q&&(t.q=new nY(XDe,t,11,10)),t.q),e)}function uet(t,e){var n;return n=e>0?e-1:e,Ok(Lk(znt(Lq(new Zy,n),t.n),t.j),t.k)}function het(t,e,n,i){t.j=-1,UMt(t,ACt(t,e,n),(JE(),zz(e,66).Mj().Ok(i)))}function fet(t){this.g=t,this.f=new Nw,this.a=n.Math.min(this.g.c.c,this.g.d.c)}function det(t){this.b=new Nw,this.a=new Nw,this.c=new Nw,this.d=new Nw,this.e=t}function get(t,e){this.a=new Pw,this.e=new Pw,this.b=(Tlt(),sme),this.c=t,this.b=e}function pet(t,e,n){NF.call(this),Bet(this),this.a=t,this.c=n,this.b=e.d,this.f=e.e}function bet(t){this.d=t,this.c=t.c.vc().Kc(),this.b=null,this.a=null,this.e=(rv(),Yte)}function wet(t){if(t<0)throw qw(new jv("Illegal Capacity: "+t));this.g=this.ri(t)}function met(t,e){if(0>t||t>e)throw qw(new Ax("fromIndex: 0, toIndex: "+t+hVt+e))}function yet(t){var e;if(t.a==t.b.a)throw qw(new vm);return e=t.a,t.c=e,t.a=t.a.e,e}function vet(t){var e;EP(!!t.c),e=t.c.a,Oet(t.d,t.c),t.b==t.c?t.b=e:--t.a,t.c=null}function xet(t,e){var n;return Vft(t),n=new mX(t,t.a.rd(),4|t.a.qd(),e),new FH(t,n)}function ket(t,e){var n,i;return(n=zz(dht(t.d,e),14))?(i=e,t.e.pc(i,n)):null}function _et(t,e){var n;for(n=t.Kc();n.Ob();)hct(zz(n.Pb(),70),(hWt(),sfe),e)}function Aet(t){var e;return(e=Uv(EB(vEt(t,(HZt(),obe)))))<0&&hct(t,obe,e=0),e}function Eet(t,e,i){var r;zxt(i,r=n.Math.max(0,t.b/2-.5),1),Wz(e,new iC(i,r))}function Tet(t,e,n){return SQ(qq(t.a.e[zz(e.a,10).p]-t.a.e[zz(n.a,10).p]))}function Cet(t,e,n,i,r,a){var o;TJ(o=W5(i),r),EJ(o,a),JIt(t.a,i,new Lj(o,e,n.f))}function Set(t,e){var n;if(!(n=PNt(t.Tg(),e)))throw qw(new jv(a6t+e+c6t));return n}function Iet(t,e){var n;for(n=t;QQ(n);)if((n=QQ(n))==e)return!0;return!1}function Met(t,e){var n,i,r;for(i=e.a.cd(),n=zz(e.a.dd(),14).gc(),r=0;r0&&(t.a/=e,t.b/=e),t}function Zet(t){var e;return t.w?t.w:((e=K1(t))&&!e.kh()&&(t.w=e),e)}function Wet(t){var e;return null==t?null:XAt(e=zz(t,190),e.length)}function Ket(t,e){if(null==t.g||e>=t.i)throw qw(new LM(e,t.i));return t.li(e,t.g[e])}function Xet(t){var e,n;for(e=t.a.d.j,n=t.c.d.j;e!=n;)urt(t.b,e),e=Tft(e);urt(t.b,e)}function Vet(t){var e;for(e=0;e=14&&e<=16)),t}function rnt(t,e,n){var i=function(){return t.apply(i,arguments)};return e.apply(i,n),i}function ant(t,e,n){var i,r;i=e;do{r=Uv(t.p[i.p])+n,t.p[i.p]=r,i=t.a[i.p]}while(i!=e)}function ont(t,e){var n,i;i=t.a,n=Vht(t,e,null),i!=e&&!t.e&&(n=sGt(t,e,n)),n&&n.Fi()}function snt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)}function cnt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)}function unt(t,e){return $Et(),_O(t.b.c.length-t.e.c.length,e.b.c.length-e.e.c.length)}function lnt(t,e){return Jk(Jrt(t,e,pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15)))))}function hnt(){hnt=M,Dse=dlt((cTt(),Sst(Ux(Ose,1),LKt,267,0,[Sse,Cse,Ese,Ise,Tse,Ase])))}function fnt(){fnt=M,eTe=dlt((p_t(),Sst(Ux(HCe,1),LKt,291,0,[JEe,QEe,VEe,KEe,WEe,XEe])))}function dnt(){dnt=M,PEe=dlt((pmt(),Sst(Ux(tTe,1),LKt,248,0,[SEe,DEe,OEe,LEe,IEe,MEe])))}function gnt(){gnt=M,rle=dlt((LCt(),Sst(Ux(sle,1),LKt,227,0,[Jue,ele,Que,tle,nle,Vue])))}function pnt(){pnt=M,che=dlt((JEt(),Sst(Ux(yhe,1),LKt,275,0,[ahe,nhe,ohe,rhe,ihe,ehe])))}function bnt(){bnt=M,the=dlt((qkt(),Sst(Ux(she,1),LKt,274,0,[Xle,Kle,Qle,Wle,Vle,Zle])))}function wnt(){wnt=M,rme=dlt((EAt(),Sst(Ux(cme,1),LKt,313,0,[eme,Jwe,Vwe,Qwe,nme,tme])))}function mnt(){mnt=M,qle=dlt((wTt(),Sst(Ux(Gle,1),LKt,276,0,[Ble,Ple,Rle,Fle,$le,jle])))}function ynt(){ynt=M,Qve=dlt((FCt(),Sst(Ux(jxe,1),LKt,327,0,[Xve,Yve,Wve,Zve,Kve,Gve])))}function vnt(){vnt=M,sIe=dlt((dIt(),Sst(Ux(IIe,1),LKt,273,0,[rIe,nIe,iIe,eIe,tIe,aIe])))}function xnt(){xnt=M,uSe=dlt((eEt(),Sst(Ux(vSe,1),LKt,312,0,[oSe,rSe,sSe,nSe,aSe,iSe])))}function knt(){return eOt(),Sst(Ux(USe,1),LKt,93,0,[ISe,SSe,DSe,BSe,PSe,NSe,OSe,LSe,MSe])}function _nt(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,0,n,t.a))}function Ant(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,1,n,t.b))}function Ent(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,3,n,t.b))}function Tnt(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,3,n,t.f))}function Cnt(t,e){var n;n=t.g,t.g=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,4,n,t.g))}function Snt(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,5,n,t.i))}function Int(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,6,n,t.j))}function Mnt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,1,n,t.j))}function Dnt(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,4,n,t.c))}function Ont(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new h4(t,2,n,t.k))}function Lnt(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,2,n,t.d))}function Nnt(t,e){var n;n=t.s,t.s=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,4,n,t.s))}function Pnt(t,e){var n;n=t.t,t.t=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new f4(t,5,n,t.t))}function Bnt(t,e){var n;n=t.F,t.F=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,5,n,e))}function Fnt(t,e){var n;return(n=zz(FZ((tT(),yDe),t),55))?n.xj(e):P8(Ote,HWt,1,e,5,1)}function Rnt(t,e){var n;return e in t.a&&(n=GQ(t,e).he())?n.a:null}function jnt(t,e){var n,i;return e_(),i=new cc,!!e&&MNt(i,e),Bit(n=i,t),n}function $nt(t,e,n){if(But(t,n),!t.Bk()&&null!=n&&!t.wj(n))throw qw(new fm);return n}function znt(t,e){return t.n=e,t.n?(t.f=new Nw,t.e=new Nw):(t.f=null,t.e=null),t}function qnt(t,e,n,i,r,a){var o;return Vnt(n,o=yZ(t,e)),o.i=r?8:0,o.f=i,o.e=r,o.g=a,o}function Hnt(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 Unt(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 Gnt(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 Ynt(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 Znt(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 Wnt(t,e){var n,i,r,a;for(r=0,a=(i=e).length;r=0),abt(t.d,t.c)<0&&(t.a=t.a-1&t.d.a.length-1,t.b=t.d.c),t.c=-1}function rit(t){return t.a<54?t.f<0?-1:t.f>0?1:0:(!t.c&&(t.c=xlt(t.f)),t.c).e}function ait(t){if(!(t>=0))throw qw(new jv("tolerance ("+t+") must be >= 0"));return t}function oit(){return aEe||kut(aEe=new DFt,Sst(Ux(jie,1),HWt,130,0,[new Lh])),aEe}function sit(){sit=M,Ume=new GC(hQt,0),qme=new GC("INPUT",1),Hme=new GC("OUTPUT",2)}function cit(){cit=M,gle=new EC("ARD",0),ble=new EC("MSD",1),ple=new EC("MANUAL",2)}function uit(){uit=M,Mye=new VC("BARYCENTER",0),Dye=new VC(A1t,1),Oye=new VC(E1t,2)}function lit(t,e){var n;if(n=t.gc(),e<0||e>n)throw qw(new eR(e,n));return new FR(t,e)}function hit(t,e){var n;return aL(e,42)?t.c.Mc(e):(n=apt(t,e),Kpt(t,e),n)}function fit(t,e,n){return Mlt(t,e),Prt(t,n),Nnt(t,0),Pnt(t,1),eft(t,!0),Qht(t,!0),t}function dit(t,e){if(t<0)throw qw(new jv(e+" cannot be negative but was: "+t));return t}function git(t,e){var n,i;for(n=0,i=t.gc();n0?zz(PH(n.a,i-1),10):null}function Lit(t,e){var n;n=t.k,t.k=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,2,n,t.k))}function Nit(t,e){var n;n=t.f,t.f=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,8,n,t.f))}function Pit(t,e){var n;n=t.i,t.i=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,7,n,t.i))}function Bit(t,e){var n;n=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,8,n,t.a))}function Fit(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,n,t.b))}function Rit(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,n,t.b))}function jit(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.c))}function $it(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.c))}function zit(t,e){var n;n=t.c,t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,4,n,t.c))}function qit(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,1,n,t.d))}function Hit(t,e){var n;n=t.D,t.D=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,2,n,t.D))}function Uit(t,e){t.r>0&&t.c0&&0!=t.g&&Uit(t.i,e/t.r*t.i.d))}function Git(t,e,n){var i;t.b=e,t.a=n,i=512==(512&t.a)?new $y:new Bl,t.c=TBt(i,t.b,t.a)}function Yit(t,e){return LPt(t.e,e)?(JE(),ltt(e)?new fH(e,t):new PI(e,t)):new RI(e,t)}function Zit(t,e){return Qk(tat(t.a,e,pU(odt(CKt,rK(pU(odt(null==e?0:eut(e),SKt)),15)))))}function Wit(t,e,n){return P9(t,new hg(e),new ot,new fg(n),Sst(Ux(tie,1),LKt,132,0,[]))}function Kit(t){return 0>t?new KA:new OB(null,new y5(t+1,t))}function Xit(t,e){var n;return TX(),n=new ZA(1),ZI(t)?yJ(n,t,e):_St(n.f,t,e),new Zd(n)}function Vit(t,e){var n,i;return(n=t.o+t.p)<(i=e.o+e.p)?-1:n==i?0:1}function Qit(t){var e;return aL(e=vEt(t,(hWt(),pfe)),160)?vgt(zz(e,160)):null}function Jit(t){var e;return(t=n.Math.max(t,2))>(e=kct(t))?(e<<=1)>0?e:DKt:e}function trt(t){switch(sN(3!=t.e),t.e){case 2:return!1;case 0:return!0}return j5(t)}function ert(t,e){var n;return!!aL(e,8)&&(n=zz(e,8),t.a==n.a&&t.b==n.b)}function nrt(t,e,n){var i,r;return r=e>>5,i=31&e,n0(kG(t.n[n][r],pU(vG(i,1))),3)}function irt(t,e){var n,i;for(i=e.vc().Kc();i.Ob();)ykt(t,(n=zz(i.Pb(),42)).cd(),n.dd())}function rrt(t,e){var n;n=new ne,zz(e.b,65),zz(e.b,65),zz(e.b,65),Det(e.a,new Az(t,n,e))}function art(t,e){var n;n=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,21,n,t.b))}function ort(t,e){var n;n=t.d,t.d=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,11,n,t.d))}function srt(t,e){var n;n=t.j,t.j=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,13,n,t.j))}function crt(t,e,n){var i,r,a;for(a=t.a.length-1,r=t.b,i=0;i>>31;0!=i&&(t[n]=i)}function nat(t,e){var n,i;for(TX(),i=new Nw,n=0;n0&&(this.g=this.ri(this.i+(this.i/8|0)+1),t.Qc(this.g))}function Aat(t,e){Eq.call(this,WOe,t,e),this.b=this,this.a=sPt(t.Tg(),iet(this.e.Tg(),this.c))}function Eat(t,e){var n,i;for(xW(e),i=e.vc().Kc();i.Ob();)n=zz(i.Pb(),42),t.zc(n.cd(),n.dd())}function Tat(t,e,n){var i;for(i=n.Kc();i.Ob();)if(!U3(t,e,i.Pb()))return!1;return!0}function Cat(t,e,n,i,r){var a;return n&&(a=Ogt(e.Tg(),t.c),r=n.gh(e,-1-(-1==a?i:a),null,r)),r}function Sat(t,e,n,i,r){var a;return n&&(a=Ogt(e.Tg(),t.c),r=n.ih(e,-1-(-1==a?i:a),null,r)),r}function Iat(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 Mat(t){switch(t.g){case 2:return kYt(),SIe;case 4:return kYt(),cIe;default:return t}}function Dat(t){switch(t.g){case 1:return kYt(),TIe;case 3:return kYt(),uIe;default:return t}}function Oat(t){var e,n,i;return t.j==(kYt(),uIe)&&(n=TN(e=ZMt(t),cIe),(i=TN(e,SIe))||i&&n)}function Lat(t){var e;return new VR(e=zz(t.e&&t.e(),9),zz(KY(e,e.length),9),e.length)}function Nat(t,e){DAt(e,k1t,1),ngt(uE(new Cg((bE(),new qK(t,!1,!1,new je))))),HTt(e)}function Pat(t,e){return lN(),ZI(t)?h6(t,TB(e)):YI(t)?AG(t,EB(e)):GI(t)?_G(t,AB(e)):t.wd(e)}function Bat(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),Wz(t.a,e)}function Fat(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.b1||t.Ob())return++t.a,t.g=0,e=t.i,t.Ob(),e;throw qw(new vm)}function Cot(t){var e;return oO(),sT(uve,t)||((e=new so).a=t,gF(uve,t,e)),zz(cK(uve,t),635)}function Sot(t){var e,n,i;return n=0,(i=t)<0&&(i+=DXt,n=SXt),e=SQ(i/MXt),EO(SQ(i-e*MXt),e,n)}function Iot(t){var e,n,i;for(i=0,n=new XA(t.a);n.a>22),r=t.h+e.h+(i>>22),EO(n&CXt,i&CXt,r&SXt)}function hst(t,e){var n,i,r;return n=t.l-e.l,i=t.m-e.m+(n>>22),r=t.h-e.h+(i>>22),EO(n&CXt,i&CXt,r&SXt)}function fst(t){var e;return t<128?(!(e=(EH(),Tee)[t])&&(e=Tee[t]=new Ld(t)),e):new Ld(t)}function dst(t){var e;return aL(t,78)?t:((e=t&&t.__java$exception)||cm(e=new _lt(t)),e)}function gst(t){if(aL(t,186))return zz(t,118);if(t)return null;throw qw(new qv(i8t))}function pst(t,e){if(null==e)return!1;for(;t.a!=t.b;)if(Pht(e,$lt(t)))return!0;return!1}function bst(t){return!!t.a.Ob()||t.a==t.d&&(t.a=new T2(t.e.f),t.a.Ob())}function wst(t,e){var n;return 0!=(n=e.Pc()).length&&(eq(t.c,t.c.length,n),!0)}function mst(t,e,n){var i,r;for(r=e.vc().Kc();r.Ob();)i=zz(r.Pb(),42),t.yc(i.cd(),i.dd(),n);return t}function yst(t,e){var n;for(n=new Wd(t.b);n.a=0,"Negative initial capacity"),mq(e>=0,"Non-positive load factor"),OY(this)}function nct(t,e,n){return!(t>=128)&&QI(t<64?n0(vG(1,t),n):n0(vG(1,t-64),e),0)}function ict(t,e){return!(!t||!e||t==e)&&Mdt(t.b.c,e.b.c+e.b.b)<0&&Mdt(e.b.c,t.b.c+t.b.b)<0}function rct(t){var e,n,i;return n=t.n,i=t.o,e=t.d,new YK(n.a-e.b,n.b-e.d,i.a+(e.b+e.c),i.b+(e.d+e.a))}function act(t){var e,n,i,r;for(i=0,r=(n=t.a).length;i(i=t.gc()))throw qw(new eR(e,i));return t.hi()&&(n=tJ(t,n)),t.Vh(e,n)}function lct(t,e,n){return null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n)),t}function hct(t,e,n){return null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n)),t}function fct(t){var e,n;return Uot(n=new v6,t),hct(n,(Trt(),uoe),t),izt(t,n,e=new Pw),CGt(t,n,e),n}function dct(t){var e,n,i;for(_Bt(),n=P8(CEe,lKt,8,2,0,1),i=0,e=0;e<2;e++)i+=.5,n[e]=dyt(i,t);return n}function gct(t,e){var n,i,r;for(n=!1,i=t.a[e].length,r=0;r>=1);return e}function _ct(t){var e,n;return 32==(n=tMt(t.h))?32==(e=tMt(t.m))?tMt(t.l)+32:e+20-10:n-12}function Act(t){var e;return null==(e=t.a[t.b])?null:(OZ(t.a,t.b,null),t.b=t.b+1&t.a.length-1,e)}function Ect(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 Tct(t,e,n){var i,r;return i=new q8(e,n),r=new H,t.b=KPt(t,t.b,i,r),r.b||++t.c,t.b.b=!1,r.d}function Cct(t,e,n){var i,r,a;for(a=0,r=Nht(e,n).Kc();r.Ob();)i=zz(r.Pb(),11),KW(t.c,i,rft(a++))}function Sct(t){var e,n;for(n=new Wd(t.a.b);n.an&&(n=t[e]);return n}function Pct(t,e,n){var i;return _Pt(t,e,i=new Nw,(kYt(),cIe),!0,!1),_Pt(t,n,i,SIe,!1,!1),i}function Bct(t,e,n){var i,r;return r=N2(e,"labels"),WDt((i=new bI(t,n)).a,i.b,r),r}function Fct(t,e,n,i){var r;return(r=vOt(t,e,n,i))||!(r=sft(t,n,i))||zHt(t,e,r)?r:null}function Rct(t,e,n,i){var r;return(r=xOt(t,e,n,i))||!(r=cft(t,n,i))||zHt(t,e,r)?r:null}function jct(t,e){var n;for(n=0;n1||e>=0&&t.b<3)}function Jct(t){var e,n;for(e=new xy,n=lwt(t,0);n.b!=n.d.c;)RP(e,0,new gD(zz(d3(n),8)));return e}function tut(t){var e;for(e=new Wd(t.a.b);e.ai?1:0}function but(t,e){return!!gNt(t,e)&&(JIt(t.b,zz(vEt(e,(hWt(),Zhe)),21),e),Bq(t.a,e),!0)}function wut(t){var e,n;(e=zz(vEt(t,(hWt(),_fe)),10))&&(v9((n=e.c).a,e),0==n.a.c.length&&v9(mW(e).b,n))}function mut(t){return Xne?P8(Une,bVt,572,0,0,1):zz(Vbt(t.a,P8(Une,bVt,572,t.a.c.length,0,1)),842)}function yut(t,e,n,i){return tK(),new lv(Sst(Ux(Hte,1),kKt,42,0,[(Ymt(t,e),new mA(t,e)),(Ymt(n,i),new mA(n,i))]))}function vut(t,e,n){var i;return fit(i=new Oy,e,n),h7((!t.q&&(t.q=new nY(XDe,t,11,10)),t.q),i),i}function xut(t){var e,n,i,r;for(n=(r=hT(DMe,t)).length,i=P8(Vee,lKt,2,n,6,1),e=0;e=t.b.c.length||(Aut(t,2*e+1),(n=2*e+2)=0&&t[i]===e[i];i--);return i<0?0:uT(n0(t[i],ZXt),n0(e[i],ZXt))?-1:1}function Cut(t,e){var n,i;for(i=lwt(t,0);i.b!=i.d.c;)(n=zz(d3(i),214)).e.length>0&&(e.td(n),n.i&&mft(n))}function Sut(t,e){var n,i;return i=zz(xot(t.a,4),126),n=P8(pDe,r7t,415,e,0,1),null!=i&&sqt(i,0,n,0,i.length),n}function Iut(t,e){var n;return n=new aFt(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 Mut(t,e){var n;for(n=t.Zb().Cc().Kc();n.Ob();)if(zz(n.Pb(),14).Hc(e))return!0;return!1}function Dut(t,e,n,i,r){var a,o;for(o=n;o<=r;o++)for(a=e;a<=i;a++)if(yyt(t,a,o))return!0;return!1}function Out(t,e,n){var i,r,a,o;for(xW(n),o=!1,a=t.Zc(e),r=n.Kc();r.Ob();)i=r.Pb(),a.Rb(i),o=!0;return o}function Lut(t,e){var n;return t===e||!!aL(e,83)&&(n=zz(e,83),YTt(fG(t),n.vc()))}function Nut(t,e,n){var i,r;for(r=n.Kc();r.Ob();)if(i=zz(r.Pb(),42),t.re(e,i.dd()))return!0;return!1}function Put(t,e,n){return t.d[e.p][n.p]||(rmt(t,e,n),t.d[e.p][n.p]=!0,t.d[n.p][e.p]=!0),t.a[e.p][n.p]}function But(t,e){if(!t.ai()&&null==e)throw qw(new jv("The 'no null' constraint is violated"));return e}function Fut(t,e){null==t.D&&null!=t.B&&(t.D=t.B,t.B=null),Hit(t,null==e?null:(xW(e),e)),t.C&&t.yk(null)}function Rut(t,e){return!(!t||t==e||!LP(e,(hWt(),rfe)))&&zz(vEt(e,(hWt(),rfe)),10)!=t}function jut(t){switch(t.i){case 2:return!0;case 1:return!1;case-1:++t.c;default:return t.pl()}}function $ut(t){switch(t.i){case-2:return!0;case-1:return!1;case 1:--t.c;default:return t.ql()}}function zut(t){jQ.call(this,"The given string does not match the expected format for individual spacings.",t)}function qut(){qut=M,sMe=new aI("ELK",0),cMe=new aI("JSON",1),oMe=new aI("DOT",2),uMe=new aI("SVG",3)}function Hut(){Hut=M,uke=new mS(VJt,0),lke=new mS("RADIAL_COMPACTION",1),hke=new mS("WEDGE_COMPACTION",2)}function Uut(){Uut=M,Gne=new wT("CONCURRENT",0),Yne=new wT("IDENTITY_FINISH",1),Zne=new wT("UNORDERED",2)}function Gut(){Gut=M,gE(),cae=new OM(qQt,uae=rae),sae=new sw(HQt),lae=new sw(UQt),hae=new sw(GQt)}function Yut(){Yut=M,fue=new ki,due=new _i,hue=new Ai,lue=new Ei,xW(new Ti),uue=new B}function Zut(){Zut=M,nye=new WC("CONSERVATIVE",0),iye=new WC("CONSERVATIVE_SOFT",1),rye=new WC("SLOPPY",2)}function Wut(){Wut=M,pSe=new WD(15),gSe=new ZD((lWt(),ZTe),pSe),bSe=bCe,lSe=oTe,hSe=RTe,dSe=zTe,fSe=$Te}function Kut(t,e,n){var i,r;for(i=new VA,r=lwt(n,0);r.b!=r.d.c;)Bq(i,new gD(zz(d3(r),8)));Out(t,e,i)}function Xut(t){var e,n,i;for(e=0,i=P8(CEe,lKt,8,t.b,0,1),n=lwt(t,0);n.b!=n.d.c;)i[e++]=zz(d3(n),8);return i}function Vut(t){var e;return!t.a&&(t.a=new nY(WDe,t,9,5)),0!=(e=t.a).i?qE(zz(Ket(e,0),678)):null}function Qut(t,e){var n;return n=adt(t,e),uT(r0(t,e),0)|VI(r0(t,n),0)?n:adt(gKt,r0(kG(n,63),1))}function Jut(t,e){var n;n=null!=vwt((Rgt(),Kwe))&&null!=e.wg()?Uv(EB(e.wg()))/Uv(EB(vwt(Kwe))):1,KW(t.b,e,n)}function tlt(t,e){var n,i;return(n=zz(t.d.Bc(e),14))?((i=t.e.hc()).Gc(n),t.e.d-=n.gc(),n.$b(),i):null}function elt(t,e){var n,i;if(0!=(i=t.c[e]))for(t.c[e]=0,t.d-=i,n=e+1;n0)return RG(e-1,t.a.c.length),u6(t.a,e-1);throw qw(new ym)}function ilt(t,e,n){if(e<0)throw qw(new Dv(e5t+e));ee)throw qw(new jv(vVt+t+xVt+e));if(t<0||e>n)throw qw(new Ax(vVt+t+kVt+e+hVt+n))}function alt(t){if(!t.a||0==(8&t.a.i))throw qw(new $v("Enumeration class expected for layout option "+t.f))}function olt(t){var e;++t.j,0==t.i?t.g=null:t.i$3t?t-i>$3t:i-t>$3t)}function ylt(t,e){return t?e&&!t.j||aL(t,124)&&0==zz(t,124).a.b?0:t.Re():0}function vlt(t,e){return t?e&&!t.k||aL(t,124)&&0==zz(t,124).a.a?0:t.Se():0}function xlt(t){return DBt(),t<0?-1!=t?new Rwt(-1,-t):Qee:t<=10?tne[SQ(t)]:new Rwt(1,t)}function klt(t){throw tct(),qw(new bv("Unexpected typeof result '"+t+"'; please report this bug to the GWT team"))}function _lt(t){lx(),KO(this),kX(this),this.e=t,IPt(this,t),this.g=null==t?YWt:qdt(t),this.a="",this.b=t,this.a=""}function Alt(){this.a=new es,this.f=new pb(this),this.b=new bb(this),this.i=new wb(this),this.e=new mb(this)}function Elt(){av.call(this,new H8(net(16))),dit(2,uKt),this.b=2,this.a=new qW(null,null,0,null),im(this.a,this.a)}function Tlt(){Tlt=M,ame=new RC("DUMMY_NODE_OVER",0),ome=new RC("DUMMY_NODE_UNDER",1),sme=new RC("EQUAL",2)}function Clt(){Clt=M,Zoe=qQ(Sst(Ux(WCe,1),LKt,103,0,[(zht(),jCe),$Ce])),Woe=qQ(Sst(Ux(WCe,1),LKt,103,0,[qCe,RCe]))}function Slt(t){return(kYt(),vIe).Hc(t.j)?Uv(EB(vEt(t,(hWt(),Lfe)))):Oct(Sst(Ux(CEe,1),lKt,8,0,[t.i.n,t.n,t.a])).b}function Ilt(t){var e,n;for(e=t.b.a.a.ec().Kc();e.Ob();)n=new VOt(zz(e.Pb(),561),t.e,t.f),Wz(t.g,n)}function Mlt(t,e){var n,i;n=t.nk(e,null),i=null,e&&(i_(),ont(i=new Rw,t.r)),(n=HAt(t,i,n))&&n.Fi()}function Dlt(t,e){var n,i;for(i=0!=HOt(t.d,1),n=!0;n;)n=!1,n=e.c.Tf(e.e,i),n|=FNt(t,e,i,!1),i=!i;Lrt(t)}function Olt(t,e){var n,i,r;return i=!1,n=e.q.d,e.dr&&(s_t(e.q,r),i=n!=e.q.d)),i}function Llt(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 Nlt(t,e){var n;return(n=Qpt(t))||(!OMe&&(OMe=new Mc),Rqt(),h7((n=new Sw(QCt(e))).Vk(),t)),n}function Plt(t,e){var n,i;return(n=zz(t.c.Bc(e),14))?((i=t.hc()).Gc(n),t.d-=n.gc(),n.$b(),t.mc(i)):t.jc()}function Blt(t,e){var n;for(n=0;n=t.c.b:t.a<=t.c.b))throw qw(new vm);return e=t.a,t.a+=t.c.c,++t.b,rft(e)}function qlt(t){var e;return e=new fet(t),i2(t.a,use,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[e]))),e.d&&Wz(e.f,e.d),e.f}function Hlt(t){var e;return Uot(e=new MO(t.a),t),hct(e,(hWt(),pfe),t),e.o.a=t.g,e.o.b=t.f,e.n.a=t.i,e.n.b=t.j,e}function Ult(t,e,n,i){var r,a;for(a=t.Kc();a.Ob();)(r=zz(a.Pb(),70)).n.a=e.a+(i.a-r.o.a)/2,r.n.b=e.b,e.b+=r.o.b+n}function Glt(t,e,n){var i;for(i=e.a.a.ec().Kc();i.Ob();)if(aV(t,zz(i.Pb(),57),n))return!0;return!1}function Ylt(t){var e,n;for(n=new Wd(t.r);n.a=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 rht(t,e){var n,i,r;for(r=1,n=t,i=e>=0?e:-e;i>0;)i%2==0?(n*=n,i=i/2|0):(r*=n,i-=1);return e<0?1/r:r}function aht(t){var e,n,i,r;if(null!=t)for(n=0;n0&&but(zz(PH(t.a,t.a.c.length-1),570),e)||Wz(t.a,new w5(e))}function yht(t){var e,n;Uj(),e=t.d.c-t.e.c,Det((n=zz(t.g,145)).b,new kp(e)),Det(n.c,new _p(e)),n5(n.i,new Ap(e))}function vht(t){var e;return(e=new Sx).a+="VerticalSegment ",sM(e,t.e),e.a+=" ",cM(e,QL(new yx,new Wd(t.k))),e.a}function xht(t){var e;return(e=zz(ftt(t.c.c,""),229))||(e=new YJ(kk(xk(new ms,""),"Other")),Jbt(t.c.c,"",e)),e}function kht(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (name: ",aM(e,t.zb),e.a+=")",e.a)}function _ht(t,e,n){var i,r;return r=t.sb,t.sb=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,4,r,e),n?n.Ei(i):n=i),n}function Aht(t,e){var n,i;for(n=0,i=sdt(t,e).Kc();i.Ob();)n+=null!=vEt(zz(i.Pb(),11),(hWt(),_fe))?1:0;return n}function Eht(t,e,n){var i,r,a;for(i=0,a=lwt(t,0);a.b!=a.d.c&&!((r=Uv(EB(d3(a))))>n);)r>=e&&++i;return i}function Tht(t,e,n){var i;return i=new N9(t.e,3,13,null,e.c||(wWt(),fOe),cmt(t,e),!1),n?n.Ei(i):n=i,n}function Cht(t,e,n){var i;return i=new N9(t.e,4,13,e.c||(wWt(),fOe),null,cmt(t,e),!1),n?n.Ei(i):n=i,n}function Sht(t,e,n){var i,r;return r=t.r,t.r=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,8,r,t.r),n?n.Ei(i):n=i),n}function Iht(t,e){var n,i;return!(i=(n=zz(e,676)).vk())&&n.wk(i=aL(e,88)?new OI(t,zz(e,26)):new j0(t,zz(e,148))),i}function Mht(t,e,n){var i;t.qi(t.i+1),i=t.oi(e,n),e!=t.i&&sqt(t.g,e,t.g,e+1,t.i-e),OZ(t.g,e,i),++t.i,t.bi(e,n),t.ci()}function Dht(t,e){var n;return e.a&&(n=e.a.a.length,t.a?cM(t.a,t.b):t.a=new fN(t.d),U0(t.a,e.a,e.d.length,n)),t}function Oht(t,e){var n,i,r;if(e.vi(t.a),null!=(r=zz(xot(t.a,8),1936)))for(n=0,i=r.length;nn)throw qw(new Dv(vVt+t+kVt+e+", size: "+n));if(t>e)throw qw(new jv(vVt+t+xVt+e))}function Uht(t,e,n){if(e<0)oIt(t,n);else{if(!n.Ij())throw qw(new jv(a6t+n.ne()+o6t));zz(n,66).Nj().Vj(t,t.yh(),e)}}function Ght(t,e,n,i,r,a,o,s){var c;for(c=n;a=i||e=65&&t<=70?t-65+10:t>=97&&t<=102?t-97+10:t>=48&&t<=57?t-48:0}function Xht(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (source: ",aM(e,t.d),e.a+=")",e.a)}function Vht(t,e,n){var i,r;return r=t.a,t.a=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,5,r,t.a),n?j_t(n,i):n=i),n}function Qht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,2,n,e))}function Jht(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,8,n,e))}function tft(t,e){var n;n=0!=(256&t.Bb),e?t.Bb|=256:t.Bb&=-257,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,8,n,e))}function eft(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,3,n,e))}function nft(t,e){var n;n=0!=(512&t.Bb),e?t.Bb|=512:t.Bb&=-513,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,9,n,e))}function ift(t,e){var n;return-1==t.b&&t.a&&(n=t.a.Gj(),t.b=n?t.c.Xg(t.a.aj(),n):Ogt(t.c.Tg(),t.a)),t.c.Og(t.b,e)}function rft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(eH(),Mee)[e])&&(n=Mee[e]=new Pd(t)),n):new Pd(t)}function aft(t){var e,n;return t>-129&&t<128?(e=t+128,!(n=(AH(),jee)[e])&&(n=jee[e]=new Fd(t)),n):new Fd(t)}function oft(t){var e;return t.k==(cTt(),Ese)&&((e=zz(vEt(t,(hWt(),Xhe)),61))==(kYt(),uIe)||e==TIe)}function sft(t,e,n){var i,r;return(r=LOt(t.b,e))&&(i=zz(Pqt($9(t,r),""),26))?vOt(t,i,e,n):null}function cft(t,e,n){var i,r;return(r=LOt(t.b,e))&&(i=zz(Pqt($9(t,r),""),26))?xOt(t,i,e,n):null}function uft(t,e){var n,i;for(i=new DL(t);i.e!=i.i.gc();)if(n=zz(kwt(i),138),UI(e)===UI(n))return!0;return!1}function lft(t,e,n){var i;if(e>(i=t.gc()))throw qw(new eR(e,i));if(t.hi()&&t.Hc(n))throw qw(new jv(s8t));t.Xh(e,n)}function hft(t,e){var n;if(null==(n=lnt(t.i,e)))throw qw(new nx("Node did not exist in input."));return jat(e,n),null}function fft(t,e){var n;if(aL(n=PNt(t,e),322))return zz(n,34);throw qw(new jv(a6t+e+"' is not a valid attribute"))}function dft(t,e,n){var i,r;for(r=aL(e,99)&&0!=(zz(e,18).Bb&qXt)?new PM(e,t):new Oot(e,t),i=0;ie?1:t==e?0==t?Sft(1/t,1/e):0:isNaN(t)?isNaN(e)?0:1:-1}function Ift(t,e){DAt(e,"Sort end labels",1),QA(DK(gtt(new FH(null,new g1(t.b,16)),new gn),new pn),new bn),HTt(e)}function Mft(t,e,n){var i,r;return t.ej()?(r=t.fj(),i=QIt(t,e,n),t.$i(t.Zi(7,rft(n),i,e,r)),i):QIt(t,e,n)}function Dft(t,e){var n,i,r;null==t.d?(++t.e,--t.f):(r=e.cd(),N6(t,i=((n=e.Sh())&FWt)%t.d.length,OOt(t,i,n,r)))}function Oft(t,e){var n;n=0!=(t.Bb&k6t),e?t.Bb|=k6t:t.Bb&=-1025,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,10,n,e))}function Lft(t,e){var n;n=0!=(t.Bb&$Xt),e?t.Bb|=$Xt:t.Bb&=-4097,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,12,n,e))}function Nft(t,e){var n;n=0!=(t.Bb&E7t),e?t.Bb|=E7t:t.Bb&=-8193,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,15,n,e))}function Pft(t,e){var n;n=0!=(t.Bb&T7t),e?t.Bb|=T7t:t.Bb&=-2049,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new e6(t,1,11,n,e))}function Bft(t,e){var n;return 0!=(n=Sft(t.b.c,e.b.c))||0!=(n=Sft(t.a.a,e.a.a))?n:Sft(t.a.b,e.a.b)}function Fft(t,e){var n;if(null==(n=FZ(t.k,e)))throw qw(new nx("Port did not exist in input."));return jat(e,n),null}function Rft(t){var e,n;for(n=GOt(Zet(t)).Kc();n.Ob();)if(Pjt(t,e=TB(n.Pb())))return v4((YE(),FDe),e);return null}function jft(t,e){var n,i,r,a,o;for(o=sPt(t.e.Tg(),e),a=0,n=zz(t.g,119),r=0;r>10)+HXt&VKt,e[1]=56320+(1023&t)&VKt,qpt(e,0,e.length)}function Kft(t){var e;return(e=zz(vEt(t,(HZt(),Ype)),103))==(zht(),zCe)?Uv(EB(vEt(t,_pe)))>=1?$Ce:RCe:e}function Xft(t){switch(zz(vEt(t,(HZt(),Jpe)),218).g){case 1:return new ia;case 3:return new ca;default:return new na}}function Vft(t){if(t.c)Vft(t.c);else if(t.d)throw qw(new $v("Stream already terminated, can't be modified or used"))}function Qft(t){var e;return 0!=(64&t.Db)?SOt(t):((e=new hN(SOt(t))).a+=" (identifier: ",aM(e,t.k),e.a+=")",e.a)}function Jft(t,e,n){var i;return e_(),_nt(i=new ac,e),Ant(i,n),t&&h7((!t.a&&(t.a=new OL(PMe,t,5)),t.a),i),i}function tdt(t,e,n,i){var r,a;return xW(i),xW(n),null==(a=null==(r=t.xc(e))?n:JA(zz(r,15),zz(n,14)))?t.Bc(e):t.zc(e,a),a}function edt(t){var e,n,i,r;return urt(n=new VR(e=zz(Kk((r=(i=t.gm).f)==Zte?i:r),9),zz(TF(e,e.length),9),0),t),n}function ndt(t,e,n){var i,r;for(r=t.a.ec().Kc();r.Ob();)if(i=zz(r.Pb(),10),ust(n,zz(PH(e,i.p),14)))return i;return null}function idt(t,e,n){try{$ct(t,e,n)}catch(t){throw aL(t=dst(t),597)?qw(new b5(t)):qw(t)}return e}function rdt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t-e)&&n>1,t.k=i-1>>1}function ldt(){var t,e,i;xAt(),i=Lne+++Date.now(),t=SQ(n.Math.floor(i*cVt))&lVt,e=SQ(i-t*uVt),this.a=1502^t,this.b=e^sVt}function hdt(t){var e,n;for(e=new Nw,n=new Wd(t.j);n.a34028234663852886e22?RXt:e<-34028234663852886e22?jXt:e}function mdt(t){return t=((t=((t-=t>>1&1431655765)>>2&858993459)+(858993459&t))>>4)+t&252645135,t+=t>>8,63&(t+=t>>16)}function ydt(t){var e,n,i;for(e=new lF(t.Hd().gc()),i=0,n=L7(t.Hd().Kc());n.Ob();)kJ(e,n.Pb(),rft(i++));return PTt(e.a)}function vdt(t,e){var n,i,r;for(r=new Pw,i=e.vc().Kc();i.Ob();)KW(r,(n=zz(i.Pb(),42)).cd(),dot(t,zz(n.dd(),15)));return r}function xdt(t,e){0==t.n.c.length&&Wz(t.n,new FQ(t.s,t.t,t.i)),Wz(t.b,e),lyt(zz(PH(t.n,t.n.c.length-1),211),e),q$t(t,e)}function kdt(t){return t.c==t.b.b&&t.i==t.g.b||(t.a.c=P8(Ote,HWt,1,0,5,1),wst(t.a,t.b),wst(t.a,t.g),t.c=t.b.b,t.i=t.g.b),t.a}function _dt(t,e){var n,i;for(i=0,n=zz(e.Kb(t),20).Kc();n.Ob();)Hv(AB(vEt(zz(n.Pb(),17),(hWt(),Sfe))))||++i;return i}function Adt(t,e){var i,r;r=Uv(EB(ipt(h2(e),(HZt(),vwe)))),zxt(e,i=n.Math.max(0,r/2-.5),1),Wz(t,new fC(e,i))}function Edt(){Edt=M,Hfe=new zC(VJt,0),jfe=new zC("FIRST",1),$fe=new zC(I1t,2),zfe=new zC("LAST",3),qfe=new zC(M1t,4)}function Tdt(){Tdt=M,JCe=new $S(hQt,0),VCe=new $S("POLYLINE",1),XCe=new $S("ORTHOGONAL",2),QCe=new $S("SPLINES",3)}function Cdt(){Cdt=M,Jke=new xS("ASPECT_RATIO_DRIVEN",0),t_e=new xS("MAX_SCALE_DRIVEN",1),Qke=new xS("AREA_DRIVEN",2)}function Sdt(){Sdt=M,q_e=new _S("P1_STRUCTURE",0),H_e=new _S("P2_PROCESSING_ORDER",1),U_e=new _S("P3_EXECUTION",2)}function Idt(){Idt=M,nke=new bS("OVERLAP_REMOVAL",0),tke=new bS("COMPACTION",1),eke=new bS("GRAPH_SIZE_CALCULATION",2)}function Mdt(t,e){return lO(),ait(jKt),n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:te?1:GM(isNaN(t),isNaN(e))}function Ddt(t,e){var n,i;for(n=lwt(t,0);n.b!=n.d.c;){if((i=Gv(EB(d3(n))))==e)return;if(i>e){Y0(n);break}}tZ(n,e)}function Odt(t,e){var n,i,r,a,o;if(n=e.f,Jbt(t.c.d,n,e),null!=e.g)for(a=0,o=(r=e.g).length;ae&&i.ue(t[a-1],t[a])>0;--a)o=t[a],OZ(t,a,t[a-1]),OZ(t,a-1,o)}function Ndt(t,e,n,i){if(e<0)ELt(t,n,i);else{if(!n.Ij())throw qw(new jv(a6t+n.ne()+o6t));zz(n,66).Nj().Tj(t,t.yh(),e,i)}}function Pdt(t,e){if(e==t.d)return t.e;if(e==t.e)return t.d;throw qw(new jv("Node "+e+" not part of edge "+t))}function Bdt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Fdt(t,e){switch(e.g){case 2:return t.b;case 1:return t.c;case 4:return t.d;case 3:return t.a;default:return!1}}function Rdt(t,e,n,i){switch(e){case 3:return t.f;case 4:return t.g;case 5:return t.i;case 6:return t.j}return $ht(t,e,n,i)}function jdt(t){return t.k==(cTt(),Sse)&&c5(new FH(null,new GY(new cG(JL(ddt(t).a.Kc(),new l)))),new Hr)}function $dt(t){return null==t.e?t:(!t.c&&(t.c=new aFt(0!=(256&t.f),t.i,t.a,t.d,0!=(16&t.f),t.j,t.g,null)),t.c)}function zdt(t,e){return t.h==IXt&&0==t.m&&0==t.l?(e&&(dee=EO(0,0,0)),WM((Z9(),bee))):(e&&(dee=EO(t.l,t.m,t.h)),EO(0,0,0))}function qdt(t){return Array.isArray(t)&&t.im===I?t_(nut(t))+"@"+(eut(t)>>>0).toString(16):t.toString()}function Hdt(t){var e;this.a=new VR(e=zz(t.e&&t.e(),9),zz(TF(e,e.length),9),0),this.b=P8(Ote,HWt,1,this.a.a.length,5,1)}function Udt(t){var e,n,i;for(this.a=new hD,i=new Wd(t);i.a0&&(d1(e-1,t.length),58==t.charCodeAt(e-1))&&!Wdt(t,LDe,NDe)}function Wdt(t,e,n){var i,r;for(i=0,r=t.length;i=r)return e.c+n;return e.c+e.b.gc()}function Vdt(t,e){var n,i,r,a;for(pB(),r=e,G7(i=q7(t),0,i.length,r),n=0;n0&&(i+=r,++n);return n>1&&(i+=t.d*(n-1)),i}function Jdt(t){var e,n,i;for((i=new Tx).a+="[",e=0,n=t.gc();e0&&this.b>0&&VH(this.c,this.b,this.a)}function cgt(t){Rgt(),this.c=s6(Sst(Ux(rEe,1),HWt,831,0,[Wwe])),this.b=new Pw,this.a=t,KW(this.b,Kwe,1),Det(Xwe,new Cb(this))}function ugt(t,e){var n;return t.d?lY(t.b,e)?zz(FZ(t.b,e),51):(n=e.Kf(),KW(t.b,e,n),n):e.Kf()}function lgt(t,e){var n;return UI(t)===UI(e)||!!aL(e,91)&&(n=zz(e,91),t.e==n.e&&t.d==n.d&&_4(t,n.a))}function hgt(t){switch(kYt(),t.g){case 4:return uIe;case 1:return cIe;case 3:return TIe;case 2:return SIe;default:return CIe}}function fgt(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 Aot(t,e)}function dgt(t){switch(t.g){case 0:return new Go;case 1:return new Yo;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function ggt(t){switch(t.g){case 0:return new Uo;case 1:return new Zo;default:throw qw(new jv(T1t+(null!=t.f?t.f:""+t.g)))}}function pgt(t){switch(t.g){case 0:return new Ky;case 1:return new vy;default:throw qw(new jv(P4t+(null!=t.f?t.f:""+t.g)))}}function bgt(t){switch(t.g){case 1:return new Ro;case 2:return new bB;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function wgt(t){var e,n;if(t.b)return t.b;for(n=Xne?null:t.d;n;){if(e=Xne?null:n.b)return e;n=Xne?null:n.d}return fE(),qne}function mgt(t){var e,n;return 0==t.e?0:(e=t.d<<5,n=t.a[t.d-1],t.e<0&&Iat(t)==t.d-1&&(--n,n|=0),e-=tMt(n))}function ygt(t){var e,n,i;return t>5),15,1))[n]=1<3;)r*=10,--a;t=(t+(r>>1))/r|0}return i.i=t,!0}function Agt(t){return Clt(),lN(),!!(Fdt(zz(t.a,81).j,zz(t.b,103))||0!=zz(t.a,81).d.e&&Fdt(zz(t.a,81).j,zz(t.b,103)))}function Egt(t){P7(),zz(t.We((lWt(),HTe)),174).Hc((ejt(),KIe))&&(zz(t.We(hCe),174).Fc((dIt(),aIe)),zz(t.We(HTe),174).Mc(KIe))}function Tgt(t,e){var n;if(e){for(n=0;n=0;--i)for(e=n[i],r=0;r>1,this.k=e-1>>1}function Ggt(t,e){DAt(e,"End label post-processing",1),QA(DK(gtt(new FH(null,new g1(t.b,16)),new on),new sn),new cn),HTt(e)}function Ygt(t,e,n){var i;return i=Uv(t.p[e.i.p])+Uv(t.d[e.i.p])+e.n.b+e.a.b,Uv(t.p[n.i.p])+Uv(t.d[n.i.p])+n.n.b+n.a.b-i}function Zgt(t,e,n){var i,r;for(i=n0(n,ZXt),r=0;0!=Xlt(i,0)&&r0&&(d1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Xgt(t){var e;return null==t?null:new OD((e=zzt(t,!0)).length>0&&(d1(0,e.length),43==e.charCodeAt(0))?e.substr(1):e)}function Vgt(t,e){return t.i>0&&(e.lengtht.i&&OZ(e,t.i,null),e}function Qgt(t,e,n){var i,r,a;return t.ej()?(i=t.i,a=t.fj(),Mht(t,i,e),r=t.Zi(3,null,e,i,a),n?n.Ei(r):n=r):Mht(t,t.i,e),n}function Jgt(t,e,n){var i,r;return i=new N9(t.e,4,10,aL(r=e.c,88)?zz(r,26):(wWt(),pOe),null,cmt(t,e),!1),n?n.Ei(i):n=i,n}function tpt(t,e,n){var i,r;return i=new N9(t.e,3,10,null,aL(r=e.c,88)?zz(r,26):(wWt(),pOe),cmt(t,e),!1),n?n.Ei(i):n=i,n}function ept(t){var e;return HB(),e=new gD(zz(t.e.We((lWt(),zTe)),8)),t.B.Hc((ejt(),UIe))&&(e.a<=0&&(e.a=20),e.b<=0&&(e.b=20)),e}function npt(t){return gmt(),(t.q?t.q:(TX(),TX(),hne))._b((HZt(),Fbe))?zz(vEt(t,Fbe),197):zz(vEt(mW(t),Rbe),197)}function ipt(t,e){var n,i;return i=null,LP(t,(HZt(),Ewe))&&(n=zz(vEt(t,Ewe),94)).Xe(e)&&(i=n.We(e)),null==i&&(i=vEt(mW(t),e)),i}function rpt(t,e){var n,i,r;return!!aL(e,42)&&(i=(n=zz(e,42)).cd(),gW(r=dht(t.Rc(),i),n.dd())&&(null!=r||t.Rc()._b(i)))}function apt(t,e){var n;return t.f>0&&(t.qj(),-1!=OOt(t,((n=null==e?0:eut(e))&FWt)%t.d.length,n,e))}function opt(t,e){var n,i;return t.f>0&&(t.qj(),n=sMt(t,((i=null==e?0:eut(e))&FWt)%t.d.length,i,e))?n.dd():null}function spt(t,e){var n,i,r,a;for(a=sPt(t.e.Tg(),e),n=zz(t.g,119),r=0;r1?i0(vG(e.a[1],32),n0(e.a[0],ZXt)):n0(e.a[0],ZXt),k2(odt(e.e,n))))}function dpt(t,e){var n;return QM(t)&&QM(e)&&LXt<(n=t%e)&&n>5,e&=31,r=t.d+n+(0==e?0:1),BAt(i=P8(DNe,hXt,25,r,15,1),t.a,n,e),Z0(a=new fY(t.e,r,i)),a}function Ept(t,e,n){var i,r;i=zz(TQ(iNe,e),117),r=zz(TQ(rNe,e),117),n?(yJ(iNe,t,i),yJ(rNe,t,r)):(yJ(rNe,t,i),yJ(iNe,t,r))}function Tpt(t,e,n){var i,r,a;for(r=null,a=t.b;a;){if(i=t.a.ue(e,a.d),n&&0==i)return a;i>=0?a=a.a[1]:(r=a,a=a.a[0])}return r}function Cpt(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 Spt(t,e,n,i){var r,a,o;return r=!1,NUt(t.f,n,i)&&(Bbt(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 Ipt(t,e,n,i,r){var a,o,s;for(o=r;e.b!=e.c;)a=zz(pY(e),10),s=zz(sdt(a,i).Xb(0),11),t.d[s.p]=o++,n.c[n.c.length]=s;return o}function Mpt(t,e,i){var r,a,o,s,c;return s=t.k,c=e.k,a=EB(ipt(t,r=i[s.g][c.g])),o=EB(ipt(e,r)),n.Math.max((xW(a),a),(xW(o),o))}function Dpt(t,e,n){var i,r,a,o;for(i=n/t.c.length,r=0,o=new Wd(t);o.a2e3&&(see=t,cee=n.setTimeout(X_,10)),0==oee++&&(Mtt((ux(),nee)),!0)}function Ppt(t,e){var n;for(n=new cG(JL(ddt(t).a.Kc(),new l));bDt(n);)if(zz(Y5(n),17).d.i.c==e)return!1;return!0}function Bpt(t,e){var n;if(aL(e,245)){n=zz(e,245);try{return 0==t.vd(n)}catch(t){if(!aL(t=dst(t),205))throw qw(t)}}return!1}function Fpt(){return Error.stackTraceLimit>0?(n.Error.stackTraceLimit=Error.stackTraceLimit=64,!0):"stack"in new Error}function Rpt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:te?1:GM(isNaN(t),isNaN(e)))>0}function jpt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:te?1:GM(isNaN(t),isNaN(e)))<0}function $pt(t,e){return lO(),lO(),ait(jKt),(n.Math.abs(t-e)<=jKt||t==e||isNaN(t)&&isNaN(e)?0:te?1:GM(isNaN(t),isNaN(e)))<=0}function zpt(t,e){for(var n=0;!e[n]||""==e[n];)n++;for(var i=e[n++];nGXt)return n.fh();if((i=n.Zg())||n==t)break}return i}function Jpt(t){return lJ(),aL(t,156)?zz(FZ(lDe,vne),288).vg(t):lY(lDe,nut(t))?zz(FZ(lDe,nut(t)),288).vg(t):null}function tbt(t){if(vbt(s5t,t))return lN(),yee;if(vbt(c5t,t))return lN(),mee;throw qw(new jv("Expecting true or false"))}function ebt(t,e){if(e.c==t)return e.d;if(e.d==t)return e.c;throw qw(new jv("Input edge is not connected to the input port."))}function nbt(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 rbt(t,e){var n;return UI(e)===UI(t)||!!aL(e,21)&&(n=zz(e,21)).gc()==t.gc()&&t.Ic(n)}function abt(t,e){var n,i,r;return i=t.a.length-1,n=e-t.b&i,r=t.c-e&i,_P(n<(t.c-t.b&i)),n>=r?(slt(t,e),-1):(clt(t,e),1)}function obt(t,e){var n,i;for(d1(e,t.length),n=t.charCodeAt(e),i=e+1;ie.e?1:t.fe.f?1:eut(t)-eut(e)}function vbt(t,e){return xW(t),null!=e&&(!!yR(t,e)||t.length==e.length&&yR(t.toLowerCase(),e.toLowerCase()))}function xbt(t,e){var n,i,r,a;for(i=0,r=e.gc();i0&&Xlt(t,128)<0?(e=pU(t)+128,!(n=(_H(),Lee)[e])&&(n=Lee[e]=new Bd(t)),n):new Bd(t)}function Abt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),n8t)))?i:e.ne()}function Ebt(t,e){var n,i;return(n=e.Hh(t.a))&&null!=(i=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),n8t)))?i:e.ne()}function Tbt(t,e){var n,i;for(HJ(),i=new cG(JL(hdt(t).a.Kc(),new l));bDt(i);)if((n=zz(Y5(i),17)).d.i==e||n.c.i==e)return n;return null}function Cbt(t,e,n){this.c=t,this.f=new Nw,this.e=new Uk,this.j=new TH,this.n=new TH,this.b=e,this.g=new YK(e.c,e.d,e.b,e.a),this.a=n}function Sbt(t){var e,n,i,r;for(this.a=new hD,this.d=new Fm,this.e=0,i=0,r=(n=t).length;i0)}function Pbt(t){var e;UI(tOt(t,(lWt(),_Te)))===UI((cht(),mSe))&&(QQ(t)?(e=zz(tOt(QQ(t),_Te),334),Qwt(t,_Te,e)):Qwt(t,_Te,ySe))}function Bbt(t,e,n){var i,r;fEt(t.e,e,n,(kYt(),SIe)),fEt(t.i,e,n,cIe),t.a&&(r=zz(vEt(e,(hWt(),pfe)),11),i=zz(vEt(n,pfe),11),x0(t.g,r,i))}function Fbt(t,e,n){var i,r,a;i=e.c.p,a=e.p,t.b[i][a]=new BV(t,e),n&&(t.a[i][a]=new zp(e),(r=zz(vEt(e,(hWt(),rfe)),10))&&JIt(t.d,r,e))}function Rbt(t,e){var n,i,r;if(Wz(Tae,t),e.Fc(t),n=zz(FZ(Eae,t),21))for(r=n.Kc();r.Ob();)i=zz(r.Pb(),33),-1!=_9(Tae,i,0)||Rbt(i,e)}function jbt(t,e,n){var i;(Wne?(wgt(t),1):Kne||Qne?(fE(),1):Vne&&(fE(),0))&&((i=new ij(e)).b=n,sTt(t,i))}function $bt(t,e){var n;n=!t.A.Hc((vpt(),jIe))||t.q==(V_t(),ZSe),t.u.Hc((dIt(),nIe))?n?PYt(t,e):sYt(t,e):t.u.Hc(rIe)&&(n?OGt(t,e):JYt(t,e))}function zbt(t,e){var n,i;++t.j,null!=e&&uMt(e,n=aL(i=t.a.Cb,97)?zz(i,97).Jg():null)?hbt(t.a,4,n):hbt(t.a,4,zz(e,126))}function qbt(t,e,i){return new YK(n.Math.min(t.a,e.a)-i/2,n.Math.min(t.b,e.b)-i/2,n.Math.abs(t.a-e.a)+i,n.Math.abs(t.b-e.b)+i)}function Hbt(t,e){var n,i;return 0!=(n=_O(t.a.c.p,e.a.c.p))?n:0!=(i=_O(t.a.d.i.p,e.a.d.i.p))?i:_O(e.a.d.p,t.a.d.p)}function Ubt(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:Sft(i,r))}function Gbt(t,e,n){var i;if(!n[e.d])for(n[e.d]=!0,i=new Wd(kdt(e));i.a=(r=t.length))return r;for(e=e>0?e:0;ei&&OZ(e,i,null),e}function Qbt(t,e){var n,i;for(i=t.a.length,e.lengthi&&OZ(e,i,null),e}function Jbt(t,e,n){var i,r,a;return(r=zz(FZ(t.e,e),387))?(a=wF(r,n),sL(t,r),a):(i=new tq(t,e,n),KW(t.e,e,i),xQ(i),null)}function twt(t){var e;if(null==t)return null;if(null==(e=NOt(zzt(t,!0))))throw qw(new ix("Invalid hexBinary value: '"+t+"'"));return e}function ewt(t){return DBt(),Xlt(t,0)<0?0!=Xlt(t,-1)?new y_t(-1,k9(t)):Qee:Xlt(t,10)<=0?tne[pU(t)]:new y_t(1,t)}function nwt(){return bWt(),Sst(Ux(Rre,1),LKt,159,0,[Cre,Tre,Sre,mre,wre,yre,kre,xre,vre,Ere,Are,_re,pre,gre,bre,fre,hre,dre,ure,cre,lre,Ire])}function iwt(t){var e;this.d=new Nw,this.j=new Uk,this.g=new Uk,e=t.g.b,this.f=zz(vEt(mW(e),(HZt(),Ype)),103),this.e=Uv(EB(wwt(e,Twe)))}function rwt(t){this.b=new Nw,this.e=new Nw,this.d=t,this.a=!k_(DK(new FH(null,new GY(new y6(t.b))),new og(new Ur))).sd((pE(),eie))}function awt(){awt=M,lEe=new DS("PARENTS",0),uEe=new DS("NODES",1),sEe=new DS("EDGES",2),hEe=new DS("PORTS",3),cEe=new DS("LABELS",4)}function owt(){owt=M,zSe=new GS("DISTRIBUTED",0),HSe=new GS("JUSTIFIED",1),jSe=new GS("BEGIN",2),$Se=new GS(iQt,3),qSe=new GS("END",4)}function swt(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}function cwt(t){switch(t.g){case 1:return zht(),qCe;case 4:return zht(),jCe;case 2:return zht(),$Ce;case 3:return zht(),RCe}return zht(),zCe}function uwt(t,e,n){var i;switch((i=n.q.getFullYear()-lXt+lXt)<0&&(i=-i),e){case 1:t.a+=i;break;case 2:_tt(t,i%100,2);break;default:_tt(t,i,e)}}function lwt(t,e){var n,i;if(LJ(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=i0(r,vG(1,e-64)));return r}function wwt(t,e){var n,i;return i=null,LP(t,(lWt(),SCe))&&(n=zz(vEt(t,SCe),94)).Xe(e)&&(i=n.We(e)),null==i&&mW(t)&&(i=vEt(mW(t),e)),i}function mwt(t,e){var n,i,r;(i=(r=e.d.i).k)!=(cTt(),Sse)&&i!=Ase&&bDt(n=new cG(JL(ddt(r).a.Kc(),new l)))&&KW(t.k,e,zz(Y5(n),17))}function ywt(t,e){var n,i,r;return i=iet(t.Tg(),e),(n=e-t.Ah())<0?(r=t.Yg(i))>=0?t.lh(r):UIt(t,i):n<0?UIt(t,i):zz(i,66).Nj().Sj(t,t.yh(),n)}function vwt(t){var e;if(aL(t.a,4)){if(null==(e=Jpt(t.a)))throw qw(new $v(u5t+t.b+"'. "+a5t+(_B(dDe),dDe.k)+o5t));return e}return t.a}function xwt(t){var e;if(null==t)return null;if(null==(e=ZYt(zzt(t,!0))))throw qw(new ix("Invalid base64Binary value: '"+t+"'"));return e}function kwt(t){var e;try{return e=t.i.Xb(t.e),t.mj(),t.g=t.e++,e}catch(e){throw aL(e=dst(e),73)?(t.mj(),qw(new vm)):qw(e)}}function _wt(t){var e;try{return e=t.c.ki(t.e),t.mj(),t.g=t.e++,e}catch(e){throw aL(e=dst(e),73)?(t.mj(),qw(new vm)):qw(e)}}function Awt(){Awt=M,lWt(),_ae=ACe,wae=vTe,fae=aTe,mae=ZTe,$xt(),xae=Eie,vae=_ie,kae=Cie,yae=kie,Gut(),gae=cae,dae=sae,pae=lae,bae=hae}function Ewt(t){switch(kE(),this.c=new Nw,this.d=t,t.g){case 0:case 2:this.a=XW(lse),this.b=RXt;break;case 3:case 1:this.a=lse,this.b=jXt}}function Twt(t,e,n){var i;if(t.c)Snt(t.c,t.c.i+e),Int(t.c,t.c.j+n);else for(i=new Wd(t.b);i.a0&&(Wz(t.b,new Kz(e.a,n)),0<(i=e.a.length)?e.a=e.a.substr(0,0):0>i&&(e.a+=rL(P8(MNe,KKt,25,-i,15,1))))}function Iwt(t,e){var n,i,r;for(n=t.o,r=zz(zz(l6(t.r,e),21),84).Kc();r.Ob();)(i=zz(r.Pb(),111)).e.a=bvt(i,n.a),i.e.b=n.b*Uv(EB(i.b.We(Lre)))}function Mwt(t,e){var n,i,r,a;return r=t.k,n=Uv(EB(vEt(t,(hWt(),Afe)))),a=e.k,i=Uv(EB(vEt(e,Afe))),a!=(cTt(),Ese)?-1:r!=Ese?1:n==i?0: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 Bwt(t,e){switch(e){case 7:return!t.e&&(t.e=new lR(jMe,t,7,4)),void lHt(t.e);case 8:return!t.d&&(t.d=new lR(jMe,t,8,5)),void lHt(t.d)}Fgt(t,e)}function Fwt(t,e){var n;n=t.Zc(e);try{return n.Pb()}catch(t){throw aL(t=dst(t),109)?qw(new Dv("Can't get element "+e)):qw(t)}}function Rwt(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 Hwt(){Hwt=M,zre=new jT(vQt,0),$re=new jT(xQt,1),qre=new jT(kQt,2),Hre=new jT(_Qt,3),zre.a=!1,$re.a=!0,qre.a=!1,Hre.a=!0}function Uwt(){Uwt=M,Jre=new RT(vQt,0),Qre=new RT(xQt,1),tae=new RT(kQt,2),eae=new RT(_Qt,3),Jre.a=!1,Qre.a=!0,tae.a=!1,eae.a=!0}function Gwt(t){var e;e=t.a;do{(e=zz(Y5(new cG(JL(fdt(e).a.Kc(),new l))),17).c.i).k==(cTt(),Cse)&&t.b.Fc(e)}while(e.k==(cTt(),Cse));t.b=iot(t.b)}function Ywt(t){var e,n,i;for(i=t.c.a,t.p=(vZ(i),new ej(i)),n=new Wd(i);n.an.b)return!0}return!1}function Vwt(t,e){return ZI(t)?!!DWt[e]:t.hm?!!t.hm[e]:YI(t)?!!MWt[e]:!!GI(t)&&!!IWt[e]}function Qwt(t,e,n){return null==n?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),Kpt(t.o,e)):(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),ykt(t.o,e,n)),t}function Jwt(t,e,n,i){var r;(r=Wht(e.Xe((lWt(),BTe))?zz(e.We(BTe),21):t.j))!=(bWt(),Ire)&&(n&&!sbt(r)||ZTt(POt(t,r,i),e))}function tmt(t,e,n,i){var r,a,o;return a=iet(t.Tg(),e),(r=e-t.Ah())<0?(o=t.Yg(a))>=0?t._g(o,n,!0):oMt(t,a,n):zz(a,66).Nj().Pj(t,t.yh(),r,n,i)}function emt(t,e,n,i){var r,a;n.mh(e)&&(JE(),ltt(e)?xbt(t,zz(n.ah(e),153)):(r=(a=e)?zz(i,49).xh(a):null)&&jw(n.ah(e),r))}function nmt(t){switch(t.g){case 1:return Fot(),Fre;case 3:return Fot(),Nre;case 2:return Fot(),Bre;case 4:return Fot(),Pre;default:return null}}function imt(t){switch(typeof t){case PWt:return ymt(t);case NWt:return SQ(t);case LWt:return lN(),t?1231:1237;default:return null==t?0:CN(t)}}function rmt(t,e,n){if(t.e)switch(t.b){case 1:zX(t.c,e,n);break;case 0:qX(t.c,e,n)}else e4(t.c,e,n);t.a[e.p][n.p]=t.c.i,t.a[n.p][e.p]=t.c.e}function amt(t){var e,n;if(null==t)return null;for(n=P8(Mse,lKt,193,t.length,0,2),e=0;e=0)return i;if(t.Fk())for(n=0;n=(r=t.gc()))throw qw(new eR(e,r));if(t.hi()&&(i=t.Xc(n))>=0&&i!=e)throw qw(new jv(s8t));return t.mi(e,n)}function lmt(t,e){if(this.a=zz(vZ(t),245),this.b=zz(vZ(e),245),t.vd(e)>0||t==(nv(),jte)||e==(ev(),$te))throw qw(new jv("Invalid range: "+z3(t,e)))}function hmt(t){var e,n;for(this.b=new Nw,this.c=t,this.a=!1,n=new Wd(t.a);n.a0),(e&-e)==e)return SQ(e*HOt(t,31)*4.656612873077393e-10);do{i=(n=HOt(t,31))%e}while(n-i+(e-1)<0);return SQ(i)}function ymt(t){var e,n,i;return rj(),null!=(i=rie[n=":"+t])?SQ((xW(i),i)):(e=null==(i=iie[n])?JNt(t):SQ((xW(i),i)),IX(),rie[n]=e,e)}function vmt(t,e,n){DAt(n,"Compound graph preprocessor",1),t.a=new wQ,PGt(t,e,null),Gqt(t,e),nNt(t),hct(e,(hWt(),qhe),t.a),t.a=null,OY(t.b),HTt(n)}function xmt(t,e,n){switch(n.g){case 1:t.a=e.a/2,t.b=0;break;case 2:t.a=e.a,t.b=e.b/2;break;case 3:t.a=e.a/2,t.b=e.b;break;case 4:t.a=0,t.b=e.b/2}}function kmt(t){var e,n,i;for(i=zz(l6(t.a,(N_t(),Cue)),15).Kc();i.Ob();)iZ(t,n=zz(i.Pb(),101),(e=Hvt(n))[0],(Irt(),Pue),0),iZ(t,n,e[1],Fue,1)}function _mt(t){var e,n,i;for(i=zz(l6(t.a,(N_t(),Sue)),15).Kc();i.Ob();)iZ(t,n=zz(i.Pb(),101),(e=Hvt(n))[0],(Irt(),Pue),0),iZ(t,n,e[1],Fue,1)}function Amt(t){switch(t.g){case 0:return null;case 1:return new Ort;case 2:return new Qy;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function Emt(t,e,n){var i,r;for(vst(t,e-t.s,n-t.t),r=new Wd(t.n);r.a1&&(r=fmt(t,e)),r}function Cmt(t){var e;return t.f&&t.f.kh()&&(e=zz(t.f,49),t.f=zz(nht(t,e),82),t.f!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,8,e,t.f))),t.f}function Smt(t){var e;return t.i&&t.i.kh()&&(e=zz(t.i,49),t.i=zz(nht(t,e),82),t.i!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,7,e,t.i))),t.i}function Imt(t){var e;return t.b&&0!=(64&t.b.Db)&&(e=t.b,t.b=zz(nht(t,e),18),t.b!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,21,e,t.b))),t.b}function Mmt(t,e){var n,i,r;null==t.d?(++t.e,++t.f):(i=e.Sh(),fNt(t,t.f+1),r=(i&FWt)%t.d.length,!(n=t.d[r])&&(n=t.d[r]=t.uj()),n.Fc(e),++t.f)}function Dmt(t,e,n){var i;return!e.Kj()&&(-2!=e.Zj()?null==(i=e.zj())?null==n:Pht(i,n):e.Hj()==t.e.Tg()&&null==n)}function Omt(){var t;dit(16,MKt),t=Jit(16),this.b=P8(Gte,IKt,317,t,0,1),this.c=P8(Gte,IKt,317,t,0,1),this.a=null,this.e=null,this.i=0,this.f=t-1,this.g=0}function Lmt(t){LF.call(this),this.k=(cTt(),Sse),this.j=(dit(6,OKt),new Q6(6)),this.b=(dit(2,OKt),new Q6(2)),this.d=new hy,this.f=new gy,this.a=t}function Nmt(t){var e,n;t.c.length<=1||(bCt(t,zz((e=ABt(t,(kYt(),TIe))).a,19).a,zz(e.b,19).a),bCt(t,zz((n=ABt(t,SIe)).a,19).a,zz(n.b,19).a))}function Pmt(){Pmt=M,vme=new $C("SIMPLE",0),wme=new $C(q1t,1),mme=new $C("LINEAR_SEGMENTS",2),bme=new $C("BRANDES_KOEPF",3),yme=new $C(_3t,4)}function Bmt(t,e,n){LR(zz(vEt(e,(HZt(),nwe)),98))||(W9(t,e,FTt(e,n)),W9(t,e,FTt(e,(kYt(),TIe))),W9(t,e,FTt(e,uIe)),TX(),yO(e.j,new jp(t)))}function Fmt(t,e,n,i){var r;for(r=zz(l6(i?t.a:t.b,e),21).Kc();r.Ob();)if($Bt(t,n,zz(r.Pb(),33)))return!0;return!1}function Rmt(t){var e,n;for(n=new DL(t);n.e!=n.i.gc();)if((e=zz(kwt(n),87)).e||0!=(!e.d&&(e.d=new OL(KDe,e,1)),e.d).i)return!0;return!1}function jmt(t){var e,n;for(n=new DL(t);n.e!=n.i.gc();)if((e=zz(kwt(n),87)).e||0!=(!e.d&&(e.d=new OL(KDe,e,1)),e.d).i)return!0;return!1}function $mt(t){var e,n;for(e=0,n=new Wd(t.c.a);n.a102?-1:t<=57?t-48:t<65?-1:t<=70?t-65+10:t<97?-1:t-97+10}function Ymt(t,e){if(null==t)throw qw(new qv("null key in entry: null="+e));if(null==e)throw qw(new qv("null value in entry: "+t+"=null"))}function Zmt(t,e){for(var n,i;t.Ob();){if(!e.Ob())return!1;if(n=t.Pb(),i=e.Pb(),!(UI(n)===UI(i)||null!=n&&Pht(n,i)))return!1}return!e.Ob()}function Wmt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[ylt(t.a[0],e),ylt(t.a[1],e),ylt(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Kmt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[vlt(t.a[0],e),vlt(t.a[1],e),vlt(t.a[2],e)]),t.d&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Xmt(){Xmt=M,vle=new TC("GREEDY",0),yle=new TC(H1t,1),kle=new TC(q1t,2),_le=new TC("MODEL_ORDER",3),xle=new TC("GREEDY_MODEL_ORDER",4)}function Vmt(t,e){var n,i,r;for(t.b[e.g]=1,i=lwt(e.d,0);i.b!=i.d.c;)r=(n=zz(d3(i),188)).c,1==t.b[r.g]?Bq(t.a,n):2==t.b[r.g]?t.b[r.g]=1:Vmt(t,r)}function Qmt(t,e){var n,i,r;for(r=new Q6(e.gc()),i=e.Kc();i.Ob();)(n=zz(i.Pb(),286)).c==n.f?hCt(t,n,n.c):aCt(t,n)||(r.c[r.c.length]=n);return r}function Jmt(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.aa&&OZ(e,a,null),e}function Eyt(t,e){var n,i;if(i=t.gc(),null==e){for(n=0;n0&&(c+=r),u[l]=o,o+=s*(c+i)}function Fyt(t){var e,n,i;for(i=t.f,t.n=P8(PNe,UXt,25,i,15,1),t.d=P8(PNe,UXt,25,i,15,1),e=0;e0?t.c:0),++a;t.b=r,t.d=o}function Yyt(t,e){var i,r,a,o,s;for(r=0,a=0,i=0,s=new Wd(e);s.a0?t.g:0),++i;t.c=a,t.d=r}function Zyt(t,e){var i;return i=Sst(Ux(PNe,1),UXt,25,15,[wmt(t,(Fet(),Uie),e),wmt(t,Gie,e),wmt(t,Yie,e)]),t.f&&(i[0]=n.Math.max(i[0],i[2]),i[2]=i[0]),i}function Wyt(t,e,n){try{zFt(t,e+t.j,n+t.k,!1,!0)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function Kyt(t,e,n){try{zFt(t,e+t.j,n+t.k,!0,!1)}catch(t){throw aL(t=dst(t),73)?qw(new Dv(t.g+IQt+e+zWt+n+").")):qw(t)}}function Xyt(t){var e;LP(t,(HZt(),Obe))&&((e=zz(vEt(t,Obe),21)).Hc((eOt(),ISe))?(e.Mc(ISe),e.Fc(DSe)):e.Hc(DSe)&&(e.Mc(DSe),e.Fc(ISe)))}function Vyt(t){var e;LP(t,(HZt(),Obe))&&((e=zz(vEt(t,Obe),21)).Hc((eOt(),BSe))?(e.Mc(BSe),e.Fc(NSe)):e.Hc(NSe)&&(e.Mc(NSe),e.Fc(BSe)))}function Qyt(t,e,n){DAt(n,"Self-Loop ordering",1),QA(OK(DK(DK(gtt(new FH(null,new g1(e.b,16)),new Ii),new Mi),new Di),new Oi),new dp(t)),HTt(n)}function Jyt(t,e,n,i){var r,a;for(r=e;r0&&(a.b+=e),a}function cvt(t,e){var i,r,a;for(a=new Uk,r=t.Kc();r.Ob();)tRt(i=zz(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 uvt(t){var e,i,r;for(r=FWt,i=new Wd(t.a);i.a>16==6?t.Cb.ih(t,5,UMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dvt(t){CV();var e=t.e;if(e&&e.stack){var n=e.stack,i=e+"\n";return n.substring(0,i.length)==i&&(n=n.substring(i.length)),n.split("\n")}return[]}function gvt(t){var e;return Tit(),(e=Dee)[t>>>28]|e[t>>24&15]<<4|e[t>>20&15]<<8|e[t>>16&15]<<12|e[t>>12&15]<<16|e[t>>8&15]<<20|e[t>>4&15]<<24|e[15&t]<<28}function pvt(t){var e,i,r;t.b==t.c&&(r=t.a.length,i=kct(n.Math.max(8,r))<<1,0!=t.b?(crt(t,e=TF(t.a,i),r),t.a=e,t.b=0):Cm(t.a,i),t.c=r)}function bvt(t,e){var n;return(n=t.b).Xe((lWt(),oCe))?n.Hf()==(kYt(),SIe)?-n.rf().a-Uv(EB(n.We(oCe))):e+Uv(EB(n.We(oCe))):n.Hf()==(kYt(),SIe)?-n.rf().a:e}function wvt(t){var e;return 0!=t.b.c.length&&zz(PH(t.b,0),70).a?zz(PH(t.b,0),70).a:null!=(e=nX(t))?e:""+(t.c?_9(t.c.a,t,0):-1)}function mvt(t){var e;return 0!=t.f.c.length&&zz(PH(t.f,0),70).a?zz(PH(t.f,0),70).a:null!=(e=nX(t))?e:""+(t.i?_9(t.i.j,t,0):-1)}function yvt(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 kvt(t){var e,n;if(!t.b)for(t.b=S2(zz(t.f,118).Ag().i),n=new DL(zz(t.f,118).Ag());n.e!=n.i.gc();)e=zz(kwt(n),137),Wz(t.b,new Fv(e));return t.b}function _vt(t,e){var n,i,r;if(e.dc())return pB(),pB(),wDe;for(n=new oF(t,e.gc()),r=new DL(t);r.e!=r.i.gc();)i=kwt(r),e.Hc(i)&&h7(n,i);return n}function Avt(t,e,n,i){return 0==e?i?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),t.o):(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),D8(t.o)):tmt(t,e,n,i)}function Evt(t){var e,n;if(t.rb)for(e=0,n=t.rb.i;e>22))>>22)<0||(t.l=n&CXt,t.m=i&CXt,t.h=r&SXt,0)))}function Mvt(t,e,n,i,r,a,o){var s,c;return!(e.Ae()&&(c=t.a.ue(n,i),c<0||!r&&0==c)||e.Be()&&(s=t.a.ue(n,a),s>0||!o&&0==s))}function Dvt(t,e){if(Yut(),0!=t.j.g-e.j.g)return 0;switch(t.j.g){case 2:return _dt(e,due)-_dt(t,due);case 4:return _dt(t,fue)-_dt(e,fue)}return 0}function Ovt(t){switch(t.g){case 0:return Ple;case 1:return Ble;case 2:return Fle;case 3:return Rle;case 4:return jle;case 5:return $le;default:return null}}function Lvt(t,e,n){var i,r;return Mlt(r=new Ly,e),Prt(r,n),h7((!t.c&&(t.c=new nY(VDe,t,12,10)),t.c),r),Nnt(i=r,0),Pnt(i,1),eft(i,!0),Qht(i,!0),i}function Nvt(t,e){var n,i;if(e>=t.i)throw qw(new LM(e,t.i));return++t.j,n=t.g[e],(i=t.i-e-1)>0&&sqt(t.g,e+1,t.g,e,i),OZ(t.g,--t.i,null),t.fi(e,n),t.ci(),n}function Pvt(t,e){var n;return t.Db>>16==17?t.Cb.ih(t,21,HDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||t.zh(),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Bvt(t){var e,n,i;for(TX(),yO(t.c,t.a),i=new Wd(t.c);i.an.a.c.length))throw qw(new jv("index must be >= 0 and <= layer node count"));t.c&&v9(t.c.a,t),t.c=n,n&&xU(n.a,e,t)}function Qvt(t,e){var n,i,r;for(i=new cG(JL(hdt(t).a.Kc(),new l));bDt(i);)return n=zz(Y5(i),17),new qh(vZ((r=zz(e.Kb(n),10)).n.b+r.o.b/2));return iv(),iv(),Dte}function Jvt(t,e){this.c=new Pw,this.a=t,this.b=e,this.d=zz(vEt(t,(hWt(),Dfe)),304),UI(vEt(t,(HZt(),Lbe)))===UI((b9(),Hle))?this.e=new by:this.e=new py}function txt(t,e){var i,r,a;for(a=0,r=new Wd(t);r.a>16==6?t.Cb.ih(t,6,jMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),vMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function hxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,1,BMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),kMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function fxt(t,e){var n;return t.Db>>16==9?t.Cb.ih(t,9,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),AMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function dxt(t,e){var n;return t.Db>>16==5?t.Cb.ih(t,9,ZDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),uOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function gxt(t,e){var n;return t.Db>>16==3?t.Cb.ih(t,0,zMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),nOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function pxt(t,e){var n;return t.Db>>16==7?t.Cb.ih(t,6,UMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),mOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function bxt(){this.a=new dc,this.g=new Omt,this.j=new Omt,this.b=new Pw,this.d=new Omt,this.i=new Omt,this.k=new Pw,this.c=new Pw,this.e=new Pw,this.f=new Pw}function wxt(t,e,n){var i,r,a;for(n<0&&(n=0),a=t.i,r=n;rGXt)return yxt(t,i);if(i==t)return!0}}return!1}function vxt(t){switch(BN(),t.q.g){case 5:yIt(t,(kYt(),uIe)),yIt(t,TIe);break;case 4:YOt(t,(kYt(),uIe)),YOt(t,TIe);break;default:yYt(t,(kYt(),uIe)),yYt(t,TIe)}}function xxt(t){switch(BN(),t.q.g){case 5:CMt(t,(kYt(),cIe)),CMt(t,SIe);break;case 4:Iwt(t,(kYt(),cIe)),Iwt(t,SIe);break;default:vYt(t,(kYt(),cIe)),vYt(t,SIe)}}function kxt(t){var e,n;(e=zz(vEt(t,(fFt(),toe)),19))?(n=e.a,hct(t,(Trt(),loe),0==n?new ldt:new S4(n))):hct(t,(Trt(),loe),new S4(1))}function _xt(t,e){var n;switch(n=t.i,e.g){case 1:return-(t.n.b+t.o.b);case 2:return t.n.a-n.o.a;case 3:return t.n.b-n.o.b;case 4:return-(t.n.a+t.o.a)}return 0}function Axt(t,e){switch(t.g){case 0:return e==(Edt(),$fe)?rue:aue;case 1:return e==(Edt(),$fe)?rue:iue;case 2:return e==(Edt(),$fe)?iue:aue;default:return iue}}function Ext(t,e){var i,r,a;for(v9(t.a,e),t.e-=e.r+(0==t.a.c.length?0:t.c),a=e4t,r=new Wd(t.a);r.a>16==3?t.Cb.ih(t,12,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),yMe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Cxt(t,e){var n;return t.Db>>16==11?t.Cb.ih(t,10,YMe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(IZt(),_Me),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Sxt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,11,HDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),bOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Ixt(t,e){var n;return t.Db>>16==10?t.Cb.ih(t,12,XDe,e):(n=Imt(zz(iet(zz(xot(t,16),26)||(wWt(),yOe),t.Db>>16),18)),t.Cb.ih(t,n.n,n.f,e))}function Mxt(t){var e;return 0==(1&t.Bb)&&t.r&&t.r.kh()&&(e=zz(t.r,49),t.r=zz(nht(t,e),138),t.r!=e&&0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,9,8,e,t.r))),t.r}function Dxt(t,e,i){var r;return r=Sst(Ux(PNe,1),UXt,25,15,[rEt(t,(Fet(),Uie),e,i),rEt(t,Gie,e,i),rEt(t,Yie,e,i)]),t.f&&(r[0]=n.Math.max(r[0],r[2]),r[2]=r[0]),r}function Oxt(t,e){var n,i,r;if(0!=(r=Qmt(t,e)).c.length)for(yO(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 $xt(){$xt=M,nFt(),Cie=new OM(ZVt,Sie=Pie),Ftt(),Eie=new OM(WVt,Tie=yie),hwt(),_ie=new OM(KVt,Aie=pie),kie=new OM(XVt,(lN(),!0))}function zxt(t,e,n){var i,r;i=e*n,aL(t.g,145)?(r=h3(t)).f.d?r.f.a||(t.d.a+=i+fQt):(t.d.d-=i+fQt,t.d.a+=i+fQt):aL(t.g,10)&&(t.d.d-=i,t.d.a+=2*i)}function qxt(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 Uxt(t){var e,n,i;if(i=t.b,HA(t.i,i.length)){for(n=2*i.length,t.b=P8(Gte,IKt,317,n,0,1),t.c=P8(Gte,IKt,317,n,0,1),t.f=n-1,t.i=0,e=t.a;e;e=e.c)QSt(t,e,e);++t.g}}function Gxt(t,e,n,i){var r,a,o,s;for(r=0;rs&&(c=s/r),(a=n.Math.abs(t.b))>o&&(u=o/a),xL(t,n.Math.min(c,u)),t}function Wxt(){var t,e;Uzt();try{if(e=zz(Wkt((WE(),GDe),x6t),2014))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new sc}function Kxt(){var t,e;p9();try{if(e=zz(Wkt((WE(),GDe),C9t),2024))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new Bu}function Xxt(){var t,e;Uzt();try{if(e=zz(Wkt((WE(),GDe),X7t),1941))return e}catch(e){if(!aL(e=dst(e),102))throw qw(e);t=e,sG((sO(),t))}return new Hc}function Vxt(t,e,n){var i,r;return r=t.e,t.e=e,0!=(4&t.Db)&&0==(1&t.Db)&&(i=new tY(t,1,4,r,e),n?n.Ei(i):n=i),r!=e&&(n=sGt(t,e?kLt(t,e):t.a,n)),n}function Qxt(){DA.call(this),this.e=-1,this.a=!1,this.p=$Kt,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=$Kt}function Jxt(t,e){var n,i,r;if(i=t.b.d.d,t.a||(i+=t.b.d.a),r=e.b.d.d,e.a||(r+=e.b.d.a),0==(n=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function tkt(t,e){var n,i,r;if(i=t.b.b.d,t.a||(i+=t.b.b.a),r=e.b.b.d,e.a||(r+=e.b.b.a),0==(n=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function ekt(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=Sft(i,r))){if(!t.a&&e.a)return-1;if(!e.a&&t.a)return 1}return n}function nkt(){nkt=M,Noe=WU(pH(pH(pH(new z2,(xEt(),$oe),(dWt(),vce)),$oe,Ace),zoe,Dce),zoe,cce),Boe=pH(pH(new z2,$oe,Qse),$oe,uce),Poe=WU(new z2,zoe,hce)}function ikt(t){var e,n,i,r,a;for(e=zz(vEt(t,(hWt(),Ghe)),83),a=t.n,i=e.Cc().Kc();i.Ob();)(r=(n=zz(i.Pb(),306)).i).c+=a.a,r.d+=a.b,n.c?PBt(n):BBt(n);hct(t,Ghe,null)}function rkt(t,e,n){var i,r;switch(i=(r=t.b).d,e.g){case 1:return-i.d-n;case 2:return r.o.a+i.c+n;case 3:return r.o.b+i.a+n;case 4:return-i.b-n;default:return-1}}function akt(t){var e,n,i,r,a;if(i=0,r=tJt,t.b)for(e=0;e<360;e++)n=.017453292519943295*e,ZRt(t,t.d,0,0,t4t,n),(a=t.b.ig(t.d))0&&(r=sMt(t,(a&FWt)%t.d.length,a,e))?r.ed(n):(i=t.tj(a,e,n),t.c.Fc(i),null)}function vkt(t,e){var n,i,r,a;switch(Iht(t,e)._k()){case 3:case 2:for(r=0,a=(n=Qzt(e)).i;r=0;r--)if(yR(t[r].d,e)||yR(t[r].d,i)){t.length>=r+1&&t.splice(0,r+1);break}return t}function Dkt(t,e){var i;return QM(t)&&QM(e)&&LXt<(i=t/e)&&i0&&(t.b+=2,t.a+=r):(t.b+=1,t.a+=n.Math.min(r,a))}function jkt(t,e){var n;if(n=!1,ZI(e)&&(n=!0,tW(t,new UZ(TB(e)))),n||aL(e,236)&&(n=!0,tW(t,new Tf(ZR(zz(e,236))))),!n)throw qw(new Lv(H6t))}function $kt(t,e,n,i){var r,a,o;return r=new N9(t.e,1,10,aL(o=e.c,88)?zz(o,26):(wWt(),pOe),aL(a=n.c,88)?zz(a,26):(wWt(),pOe),cmt(t,e),!1),i?i.Ei(r):i=r,i}function zkt(t){var e,n;switch(zz(vEt(mW(t),(HZt(),wbe)),420).g){case 0:return e=t.n,n=t.o,new PS(e.a+n.a/2,e.b+n.b/2);case 1:return new gD(t.n);default:return null}}function qkt(){qkt=M,Xle=new DC(VJt,0),Kle=new DC("LEFTUP",1),Qle=new DC("RIGHTUP",2),Wle=new DC("LEFTDOWN",3),Vle=new DC("RIGHTDOWN",4),Zle=new DC("BALANCED",5)}function Hkt(t,e,n){var i,r,a;if(0==(i=Sft(t.a[e.p],t.a[n.p]))){if(r=zz(vEt(e,(hWt(),afe)),15),a=zz(vEt(n,afe),15),r.Hc(n))return-1;if(a.Hc(e))return 1}return i}function Ukt(t){switch(t.g){case 1:return new $o;case 2:return new zo;case 3:return new jo;case 0:return null;default:throw qw(new jv(o4t+(null!=t.f?t.f:""+t.g)))}}function Gkt(t,e,n){switch(e){case 1:return!t.n&&(t.n=new nY(GMe,t,1,7)),lHt(t.n),!t.n&&(t.n=new nY(GMe,t,1,7)),void wZ(t.n,zz(n,14));case 2:return void Lit(t,TB(n))}aut(t,e,n)}function Ykt(t,e,n){switch(e){case 3:return void Tnt(t,Uv(EB(n)));case 4:return void Cnt(t,Uv(EB(n)));case 5:return void Snt(t,Uv(EB(n)));case 6:return void Int(t,Uv(EB(n)))}Gkt(t,e,n)}function Zkt(t,e,n){var i,r;(i=HAt(r=new Ly,e,null))&&i.Fi(),Prt(r,n),h7((!t.c&&(t.c=new nY(VDe,t,12,10)),t.c),r),Nnt(r,0),Pnt(r,1),eft(r,!0),Qht(r,!0)}function Wkt(t,e){var n,i;return aL(n=lT(t.g,e),235)?((i=zz(n,235)).Qh(),i.Nh()):aL(n,498)?i=zz(n,1938).b:null}function Kkt(t,e,n,i){var r,a;return vZ(e),vZ(n),F9(!!(a=zz(YR(t.d,e),19)),"Row %s not in %s",e,t.e),F9(!!(r=zz(YR(t.b,n),19)),"Column %s not in %s",n,t.c),Cst(t,a.a,r.a,i)}function Xkt(t,e,n,i,r,a,o){var s,c,u,l,h;if(h=qyt(s=(u=a==o-1)?i:0,l=r[a]),10!=i&&Sst(Ux(t,o-a),e[a],n[a],s,h),!u)for(++a,c=0;c1||-1==s?(a=zz(c,15),r.Wb(Wpt(t,a))):r.Wb(njt(t,zz(c,56))))}function h_t(t,e,n,i){V_();var r=SWt;function a(){for(var t=0;tF3t)return n;i>-1e-6&&++n}return n}function k_t(t,e){var n;e!=t.b?(n=null,t.b&&(n=cQ(t.b,t,-4,n)),e&&(n=Pwt(e,t,-4,n)),(n=tht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function __t(t,e){var n;e!=t.f?(n=null,t.f&&(n=cQ(t.f,t,-1,n)),e&&(n=Pwt(e,t,-1,n)),(n=eht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,0,e,e))}function A_t(t){var e,n,i;if(null==t)return null;if((n=zz(t,15)).dc())return"";for(i=new Tx,e=n.Kc();e.Ob();)aM(i,(ZHt(),TB(e.Pb()))),i.a+=" ";return RM(i,i.a.length-1)}function E_t(t){var e,n,i;if(null==t)return null;if((n=zz(t,15)).dc())return"";for(i=new Tx,e=n.Kc();e.Ob();)aM(i,(ZHt(),TB(e.Pb()))),i.a+=" ";return RM(i,i.a.length-1)}function T_t(t,e,n){var i,r;return i=t.c[e.c.p][e.p],r=t.c[n.c.p][n.p],null!=i.a&&null!=r.a?AG(i.a,r.a):null!=i.a?-1:null!=r.a?1:0}function C_t(t,e){var n,i,r;if(e)for(r=((n=new lG(e.a.length)).b-n.a)*n.c<0?(nT(),ENe):new ZL(n);r.Ob();)i=P2(e,zz(r.Pb(),19).a),MK(new zb(t).a,i)}function S_t(t,e){var n,i,r;if(e)for(r=((n=new lG(e.a.length)).b-n.a)*n.c<0?(nT(),ENe):new ZL(n);r.Ob();)i=P2(e,zz(r.Pb(),19).a),IK(new Ob(t).a,i)}function I_t(t){if(null!=t&&t.length>0&&33==hK(t,t.length-1))try{return null==QCt(hP(t,0,t.length-1)).e}catch(t){if(!aL(t=dst(t),32))throw qw(t)}return!1}function M_t(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?LV(t,3,i,null,a,mzt(t,i,a,aL(i,99)&&0!=(zz(i,18).Bb&qXt)),!0):LV(t,1,i,i.zj(),a,-1,!0),n?n.Ei(r):n=r,n}function D_t(){var t,e,n;for(e=0,t=0;t<"X".length;t++){if(0==(n=VMt((d1(t,"X".length),"X".charCodeAt(t)))))throw qw(new ox("Unknown Option: "+"X".substr(t)));e|=n}return e}function O_t(t,e,n){var i,r;switch(i=Kft(mW(e)),SJ(r=new ITt,e),n.g){case 1:USt(r,Eft(hgt(i)));break;case 2:USt(r,hgt(i))}return hct(r,(HZt(),ewe),EB(vEt(t,ewe))),r}function L_t(t){var e,n;return e=zz(Y5(new cG(JL(fdt(t.a).a.Kc(),new l))),17),n=zz(Y5(new cG(JL(ddt(t.a).a.Kc(),new l))),17),Hv(AB(vEt(e,(hWt(),Sfe))))||Hv(AB(vEt(n,Sfe)))}function N_t(){N_t=M,Eue=new vC("ONE_SIDE",0),Cue=new vC("TWO_SIDES_CORNER",1),Sue=new vC("TWO_SIDES_OPPOSING",2),Tue=new vC("THREE_SIDES",3),Aue=new vC("FOUR_SIDES",4)}function P_t(t,e,n,i,r){var a,o;a=zz(C4(DK(e.Oc(),new Jr),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),o=zz(wot(t.b,n,i),15),0==r?o.Wc(0,a):o.Gc(a)}function B_t(t,e){var n,i,r;for(i=new Wd(e.a);i.a0&&$vt(this,this.c-1,(kYt(),cIe)),this.c0&&t[0].length>0&&(this.c=Hv(AB(vEt(mW(t[0][0]),(hWt(),ofe))))),this.a=P8(Cye,lKt,2018,t.length,0,2),this.b=P8(Lye,lKt,2019,t.length,0,2),this.d=new Elt}function W_t(t){return 0!=t.c.length&&((f1(0,t.c.length),zz(t.c[0],17)).c.i.k==(cTt(),Cse)||c5(OK(new FH(null,new g1(t,16)),new Ra),new ja))}function K_t(t,e,n){return DAt(n,"Tree layout",1),l2(t.b),SY(t.b,(Yvt(),Fve),Fve),SY(t.b,Rve,Rve),SY(t.b,jve,jve),SY(t.b,$ve,$ve),t.a=LHt(t.b,e),dPt(t,e,vat(n,1)),HTt(n),e}function X_t(t,e){var i,r,a,o,s,c;for(s=pBt(e),a=e.f,c=e.g,o=n.Math.sqrt(a*a+c*c),r=0,i=new Wd(s);i.a=0?(n=Dkt(t,OXt),i=dpt(t,OXt)):(n=Dkt(e=kG(t,1),5e8),i=adt(vG(i=dpt(e,5e8),1),n0(t,1))),i0(vG(i,32),n0(n,ZXt))}function dAt(t,e,n){var i;switch(CP(0!=e.b),i=zz(Oet(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 tZ(lwt(e,0),i),e}function gAt(t,e,n,i){var r,a,o,s,c;switch(c=t.b,s=Ybt(o=(a=e.d).j,c.d[o.g],n),r=YF(zO(a.n),a.a),a.j.g){case 1:case 3:s.a+=r.a;break;case 2:case 4:s.b+=r.b}r5(i,s,i.c.b,i.c)}function pAt(t,e,n){var i,r,a,o;for(o=_9(t.e,e,0),(a=new ry).b=n,i=new E2(t.e,o);i.b1;e>>=1)0!=(1&e)&&(i=Ntt(i,n)),n=1==n.d?Ntt(n,n):new Ibt(Mjt(n.a,n.d,P8(DNe,hXt,25,n.d<<1,15,1)));return i=Ntt(i,n)}function xAt(){var t,e,n,i;for(xAt=M,Mne=P8(PNe,UXt,25,25,15,1),Dne=P8(PNe,UXt,25,33,15,1),i=152587890625e-16,e=32;e>=0;e--)Dne[e]=i,i*=.5;for(n=1,t=24;t>=0;t--)Mne[t]=n,n*=.5}function kAt(t){var e,n;if(Hv(AB(tOt(t,(HZt(),gbe)))))for(n=new cG(JL(bLt(t).a.Kc(),new l));bDt(n);)if(VIt(e=zz(Y5(n),79))&&Hv(AB(tOt(e,pbe))))return!0;return!1}function _At(t,e){var n,i,r;AY(t.f,e)&&(e.b=t,i=e.c,-1!=_9(t.j,i,0)||Wz(t.j,i),r=e.d,-1!=_9(t.j,r,0)||Wz(t.j,r),0!=(n=e.a.b).c.length&&(!t.i&&(t.i=new iwt(t)),yot(t.i,n)))}function AAt(t){var e,n,i,r;return(n=(e=t.c.d).j)==(r=(i=t.d.d).j)?e.p=0&&yR(t.substr(e,"GMT".length),"GMT")||e>=0&&yR(t.substr(e,"UTC".length),"UTC")?(n[0]=e+3,xjt(t,n,i)):xjt(t,n,i)}function MAt(t,e){var n,i,r,a,o;for(a=t.g.a,o=t.g.b,i=new Wd(t.d);i.an;a--)t[a]|=e[a-n-1]>>>o,t[a-1]=e[a-n-1]<=t.f)break;a.c[a.c.length]=n}return a}function $At(t){var e,n,i,r;for(e=null,r=new Wd(t.wf());r.a0&&sqt(t.g,e,t.g,e+i,s),o=n.Kc(),t.i+=i,r=0;ra&&uY(u,oet(n[s],Ane))&&(r=s,a=c);return r>=0&&(i[0]=e+a),r}function ZAt(t,e){var n;if(0!=(n=VM(t.b.Hf(),e.b.Hf())))return n;switch(t.b.Hf().g){case 1:case 2:return _O(t.b.sf(),e.b.sf());case 3:case 4:return _O(e.b.sf(),t.b.sf())}return 0}function WAt(t){var e,n,i;for(i=t.e.c.length,t.a=xH(DNe,[lKt,hXt],[48,25],15,[i,i],2),n=new Wd(t.c);n.a>4&15,a=15&t[i],o[r++]=MMe[n],o[r++]=MMe[a];return qpt(o,0,o.length)}function VAt(t,e,n){var i,r,a;return i=e.ak(),a=e.dd(),r=i.$j()?LV(t,4,i,a,null,mzt(t,i,a,aL(i,99)&&0!=(zz(i,18).Bb&qXt)),!0):LV(t,i.Kj()?2:1,i,a,i.zj(),-1,!0),n?n.Ei(r):n=r,n}function QAt(t){var e,n;return t>=qXt?(e=HXt+(t-qXt>>10&1023)&VKt,n=56320+(t-qXt&1023)&VKt,String.fromCharCode(e)+""+String.fromCharCode(n)):String.fromCharCode(t&VKt)}function JAt(t,e){var n,i,r,a;return HB(),(r=zz(zz(l6(t.r,e),21),84)).gc()>=2&&(i=zz(r.Kc().Pb(),111),n=t.u.Hc((dIt(),eIe)),a=t.u.Hc(aIe),!i.a&&!n&&(2==r.gc()||a))}function tEt(t,e,n,i,r){var a,o,s;for(a=iBt(t,e,n,i,r),s=!1;!a;)AOt(t,r,!0),s=!0,a=iBt(t,e,n,i,r);s&&AOt(t,r,!1),0!=(o=Fst(r)).c.length&&(t.d&&t.d.lg(o),tEt(t,r,n,i,o))}function eEt(){eEt=M,oSe=new zS(VJt,0),rSe=new zS("DIRECTED",1),sSe=new zS("UNDIRECTED",2),nSe=new zS("ASSOCIATION",3),aSe=new zS("GENERALIZATION",4),iSe=new zS("DEPENDENCY",5)}function nEt(t,e){var n;if(!WQ(t))throw qw(new $v(z5t));switch(n=WQ(t),e.g){case 1:return-(t.j+t.f);case 2:return t.i-n.g;case 3:return t.j-n.f;case 4:return-(t.i+t.g)}return 0}function iEt(t,e){var n,i;for(xW(e),i=t.b.c.length,Wz(t.b,e);i>0;){if(n=i,i=(i-1)/2|0,t.a.ue(PH(t.b,i),e)<=0)return a5(t.b,n,e),!0;a5(t.b,n,PH(t.b,i))}return a5(t.b,i,e),!0}function rEt(t,e,i,r){var a,o;if(a=0,i)a=vlt(t.a[i.g][e.g],r);else for(o=0;o=o)}function oEt(t,e,n,i){var r;if(r=!1,ZI(i)&&(r=!0,Dq(e,n,TB(i))),r||GI(i)&&(r=!0,oEt(t,e,n,i)),r||aL(i,236)&&(r=!0,HX(e,n,zz(i,236))),!r)throw qw(new Lv(H6t))}function sEt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),z7t)))for(i=1;i<(MCt(),VOe).length;++i)if(yR(VOe[i],r))return i;return 0}function cEt(t,e){var n,i,r;if((n=e.Hh(t.a))&&null!=(r=opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),z7t)))for(i=1;i<(MCt(),QOe).length;++i)if(yR(QOe[i],r))return i;return 0}function uEt(t,e){var n,i,r,a;if(xW(e),(a=t.a.gc())0?1:0;a.a[r]!=n;)a=a.a[r],r=t.a.ue(n.d,a.d)>0?1:0;a.a[r]=i,i.b=n.b,i.a[0]=n.a[0],i.a[1]=n.a[1],n.a[0]=null,n.a[1]=null}function pEt(t){return dIt(),!(Iot(MQ(_U(nIe,Sst(Ux(IIe,1),LKt,273,0,[rIe])),t))>1||Iot(MQ(_U(eIe,Sst(Ux(IIe,1),LKt,273,0,[tIe,aIe])),t))>1)}function bEt(t,e){aL(TQ((WE(),GDe),t),498)?yJ(GDe,t,new MI(this,e)):yJ(GDe,t,this),rTt(this,e),e==(i_(),tOe)?(this.wb=zz(this,1939),zz(e,1941)):this.wb=(XZ(),eOe)}function wEt(t){var e,n;if(null==t)return null;for(e=null,n=0;n=XKt?"error":i>=900?"warn":i>=800?"info":"log",t.a),t.b&&BNt(e,n,t.b,"Exception: ",!0))}function vEt(t,e){var n,i;return!t.q&&(t.q=new Pw),null!=(i=FZ(t.q,e))?i:(aL(n=e.wg(),4)&&(null==n?(!t.q&&(t.q=new Pw),m6(t.q,e)):(!t.q&&(t.q=new Pw),KW(t.q,e,n))),n)}function xEt(){xEt=M,Foe=new KT("P1_CYCLE_BREAKING",0),Roe=new KT("P2_LAYERING",1),joe=new KT("P3_NODE_ORDERING",2),$oe=new KT("P4_NODE_PLACEMENT",3),zoe=new KT("P5_EDGE_ROUTING",4)}function kEt(t,e){var n,i,r,a;for(i=(1==e?Woe:Zoe).a.ec().Kc();i.Ob();)for(n=zz(i.Pb(),103),a=zz(l6(t.f.c,n),21).Kc();a.Ob();)r=zz(a.Pb(),46),v9(t.b.b,r.b),v9(t.b.a,zz(r.b,81).d)}function _Et(t,e){var n;if(Btt(),t.c==e.c){if(t.b==e.b||hat(t.b,e.b)){if(n=JM(t.b)?1:-1,t.a&&!e.a)return n;if(!t.a&&e.a)return-n}return _O(t.b.g,e.b.g)}return Sft(t.c,e.c)}function AEt(t,e){var n;DAt(e,"Hierarchical port position processing",1),(n=t.b).c.length>0&&rjt((f1(0,n.c.length),zz(n.c[0],29)),t),n.c.length>1&&rjt(zz(PH(n,n.c.length-1),29),t),HTt(e)}function EEt(t,e){var n,i;if(PEt(t,e))return!0;for(i=new Wd(e);i.a=(r=t.Vi())||e<0)throw qw(new Dv(c8t+e+u8t+r));if(n>=r||n<0)throw qw(new Dv(l8t+n+u8t+r));return e!=n?(a=t.Ti(n),t.Hi(e,a),i=a):i=t.Oi(n),i}function LEt(t){var e,n,i;if(i=t,t)for(e=0,n=t.Ug();n;n=n.Ug()){if(++e>GXt)return LEt(n);if(i=n,n==t)throw qw(new $v("There is a cycle in the containment hierarchy of "+t))}return i}function NEt(t){var e,n,i;for(i=new Lot(zWt,"[","]"),n=t.Kc();n.Ob();)d6(i,UI(e=n.Pb())===UI(t)?"(this Collection)":null==e?YWt:qdt(e));return i.a?0==i.e.length?i.a.a:i.a.a+""+i.e:i.c}function PEt(t,e){var n,i;if(i=!1,e.gc()<2)return!1;for(n=0;ni&&(d1(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 $Et(){$Et=M,Oue=Sst(Ux($Ie,1),QJt,61,0,[(kYt(),uIe),cIe,TIe]),Due=Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe,SIe]),Lue=Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe,uIe]),Nue=Sst(Ux($Ie,1),QJt,61,0,[SIe,uIe,cIe])}function zEt(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?Tft(r):Aft(r),Bq(i,YF(Ybt(r,c.d[r.g],n),Ybt(s,c.d[s.g],n))),r=s}function qEt(t,e,n,i){var r,a,o,s,c;return s=zz((o=Uvt(t.a,e,n)).a,19).a,a=zz(o.b,19).a,i&&(c=zz(vEt(e,(hWt(),_fe)),10),r=zz(vEt(n,_fe),10),c&&r&&(e4(t.b,c,r),s+=t.b.i,a+=t.b.e)),s>a}function HEt(t){var e,n,i,r,a,o,s,c;for(this.a=amt(t),this.b=new Nw,i=0,r=(n=t).length;i$B(t.d).c?(t.i+=t.g.c,wpt(t.d)):$B(t.d).c>$B(t.g).c?(t.e+=t.d.c,wpt(t.g)):(t.i+=HH(t.g),t.e+=HH(t.d),wpt(t.g),wpt(t.d))}function ZEt(t,e,n){var i,r,a,o;for(a=e.q,o=e.r,new GJ((M6(),Ave),e,a,1),new GJ(Ave,a,o,1),r=new Wd(n);r.ac&&(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 eTt(t,e,n,i,r){var a,o;for(o=!1,a=zz(PH(n.b,0),33);hzt(t,e,a,i,r)&&(o=!0,o_t(n,a),0!=n.b.c.length);)a=zz(PH(n.b,0),33);return 0==n.b.c.length&&Ext(n.j,n),o&&Gyt(e.q),o}function nTt(t,e){var n,i,r,a;if(_Bt(),e.b<2)return!1;for(i=n=zz(d3(a=lwt(e,0)),8);a.b!=a.d.c;){if(oNt(t,i,r=zz(d3(a),8)))return!0;i=r}return!!oNt(t,i,n)}function iTt(t,e,n,i){return 0==n?(!t.o&&(t.o=new v7((IZt(),EMe),rDe,t,0)),zR(t.o,e,i)):zz(iet(zz(xot(t,16),26)||t.zh(),n),66).Nj().Rj(t,fbt(t),n-dZ(t.zh()),e,i)}function rTt(t,e){var n;e!=t.sb?(n=null,t.sb&&(n=zz(t.sb,49).ih(t,1,qMe,n)),e&&(n=zz(e,49).gh(t,1,qMe,n)),(n=_ht(t,e,n))&&n.Fi()):0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,4,e,e))}function aTt(t,e){var n,i;if(!e)throw qw(new nx("All edge sections need an end point."));n=Rnt(e,"x"),Ent(new Rb(t).a,(xW(n),n)),i=Rnt(e,"y"),Dnt(new jb(t).a,(xW(i),i))}function oTt(t,e){var n,i;if(!e)throw qw(new nx("All edge sections need a start point."));n=Rnt(e,"x"),Mnt(new Pb(t).a,(xW(n),n)),i=Rnt(e,"y"),Ont(new Bb(t).a,(xW(i),i))}function sTt(t,e){var n,i,r,a,o;for(i=0,a=mut(t).length;i>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 qw(new jv("k must be smaller than n"));return 0==e||e==t?1:0==t?0:Tkt(t)/(Tkt(e)*Tkt(t-e))}function yTt(t,e){var n,i,r,a;for(n=new MD(t);null!=n.g||n.c?null==n.g||0!=n.i&&zz(n.g[n.i-1],47).Ob():eJ(n);)if(aL(a=zz(sLt(n),56),160))for(i=zz(a,160),r=0;r>4],e[2*n+1]=VLe[15&r];return qpt(e,0,e.length)}function PTt(t){var e;switch(tK(),t.c.length){case 0:return qte;case 1:return Iq((e=zz(JSt(new Wd(t)),42)).cd(),e.dd());default:return new lv(zz(Vbt(t,P8(Hte,kKt,42,t.c.length,0,1)),165))}}function BTt(t){var e,n,i,r,a;for(e=new Lw,n=new Lw,p3(e,t),p3(n,t);n.b!=n.c;)for(a=new Wd(zz(pY(n),37).a);a.a0&&cRt(t,n,e),r):MMt(t,e,n)}function $Tt(t,e,n){var i,r,a,o;if(0!=e.b){for(i=new VA,o=lwt(e,0);o.b!=o.d.c;)zrt(i,Bst(a=zz(d3(o),86))),(r=a.e).a=zz(vEt(a,(UHt(),bxe)),19).a,r.b=zz(vEt(a,wxe),19).a;$Tt(t,i,vat(n,i.b/t.a|0))}}function zTt(t,e){var n,i,r,a,o;if(t.e<=e)return t.g;if(G1(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 WTt(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 KTt(t,e,n,i,r){if(ii&&(t.a=i),t.br&&(t.b=r),t}function XTt(t){if(aL(t,149))return TNt(zz(t,149));if(aL(t,229))return tgt(zz(t,229));if(aL(t,23))return hTt(zz(t,23));throw qw(new jv(Y6t+NEt(new Qv(Sst(Ux(Ote,1),HWt,1,5,[t])))))}function VTt(t,e,n,i,r){var a,o,s;for(a=!0,o=0;o>>r|n[o+i+1]<>>r,++o}return a}function QTt(t,e,n,i){var r,a;if(e.k==(cTt(),Cse))for(a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)if((r=zz(Y5(a),17)).c.i.k==Cse&&t.c.a[r.c.i.c.p]==i&&t.c.a[e.c.p]==n)return!0;return!1}function JTt(t,e){var n,i,r,a;return e&=63,n=t.h&SXt,e<22?(a=n>>>e,r=t.m>>e|n<<22-e,i=t.l>>e|t.m<<22-e):e<44?(a=0,r=n>>>e-22,i=t.m>>e-22|t.h<<44-e):(a=0,r=0,i=n>>>e-44),EO(i&CXt,r&CXt,a&SXt)}function tCt(t,e,n,i){var r;this.b=i,this.e=t==(uit(),Dye),r=e[n],this.d=xH(ONe,[lKt,tQt],[177,25],16,[r.length,r.length],2),this.a=xH(DNe,[lKt,hXt],[48,25],15,[r.length,r.length],2),this.c=new Y_t(e,n)}function eCt(t){var e,n,i;for(t.k=new c1((kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,t.j.c.length),i=new Wd(t.j);i.a=n)return hCt(t,e,i.p),!0;return!1}function oCt(t){var e;return 0!=(64&t.Db)?vTt(t):(e=new fN(t6t),!t.a||cM(cM((e.a+=' "',e),t.a),'"'),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function sCt(t,e,n){var i,r,a,o,s;for(s=sPt(t.e.Tg(),e),r=zz(t.g,119),i=0,o=0;on?bSt(t,n,"start index"):e<0||e>n?bSt(e,n,"end index"):LFt("end index (%s) must not be less than start index (%s)",Sst(Ux(Ote,1),HWt,1,5,[rft(e),rft(t)]))}function lCt(t,e){var n,i,r,a;for(i=0,r=t.length;i0&&dCt(t,a,n));e.p=0}function gCt(t){var e;this.c=new VA,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 VR(e=zz(Kk(kEe),9),zz(TF(e,e.length),9),0),this.g=t.f}function pCt(t){var e,n,i,r;for(e=PZ(cM(new fN("Predicates."),"and"),40),n=!0,r=new Td(t);r.b0?s[o-1]:P8(Mse,s1t,10,0,0,1),r=s[o],u=o=0?t.Bh(r):oIt(t,i)}else Uht(t,n,i)}function xCt(t){var e,n;if(n=null,e=!1,aL(t,204)&&(e=!0,n=zz(t,204).a),e||aL(t,258)&&(e=!0,n=""+zz(t,258).a),e||aL(t,483)&&(e=!0,n=""+zz(t,483).a),!e)throw qw(new Lv(H6t));return n}function kCt(t,e){var n,i;if(t.f){for(;e.Ob();)if(aL(i=(n=zz(e.Pb(),72)).ak(),99)&&0!=(zz(i,18).Bb&h6t)&&(!t.e||i.Gj()!=NMe||0!=i.aj())&&null!=n.dd())return e.Ub(),!0;return!1}return e.Ob()}function _Ct(t,e){var n,i;if(t.f){for(;e.Sb();)if(aL(i=(n=zz(e.Ub(),72)).ak(),99)&&0!=(zz(i,18).Bb&h6t)&&(!t.e||i.Gj()!=NMe||0!=i.aj())&&null!=n.dd())return e.Pb(),!0;return!1}return e.Sb()}function ACt(t,e,n){var i,r,a,o,s,c;for(c=sPt(t.e.Tg(),e),i=0,s=t.i,r=zz(t.g,119),o=0;o1&&(e.c[e.c.length]=a)}function CCt(t){var e,n,i;for(zrt(n=new VA,t.o),i=new cy;0!=n.b;)KYt(t,e=zz(0==n.b?null:(CP(0!=n.b),Oet(n,n.a.a)),508),!0)&&Wz(i.a,e);for(;0!=i.a.c.length;)KYt(t,e=zz(nlt(i),508),!1)}function SCt(){SCt=M,xEe=new OS(hQt,0),gEe=new OS("BOOLEAN",1),mEe=new OS("INT",2),vEe=new OS("STRING",3),pEe=new OS("DOUBLE",4),bEe=new OS("ENUM",5),wEe=new OS("ENUMSET",6),yEe=new OS("OBJECT",7)}function ICt(t,e){var i,r,a,o,s;r=n.Math.min(t.c,e.c),o=n.Math.min(t.d,e.d),(a=n.Math.max(t.c+t.b,e.c+e.b))=(r/2|0))for(this.e=i?i.c:null,this.d=r;n++0;)_J(this);this.b=e,this.a=null}function $Ct(t,e){var n,i;e.a?YNt(t,e):(!!(n=zz(xR(t.b,e.b),57))&&n==t.a[e.b.f]&&!!n.a&&n.a!=e.b.a&&n.c.Fc(e.b),!!(i=zz(vR(t.b,e.b),57))&&t.a[i.f]==e.b&&!!i.a&&i.a!=e.b.a&&e.b.c.Fc(i),EN(t.b,e.b))}function zCt(t,e){var n,i;if(n=zz(cK(t.b,e),124),zz(zz(l6(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((vpt(),jIe))&&xFt(t,e),i=Wwt(t,e),SBt(t,e)==(owt(),zSe)&&(i+=2*t.w),n.a.a=i}function qCt(t,e){var n,i;if(n=zz(cK(t.b,e),124),zz(zz(l6(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((vpt(),jIe))&&kFt(t,e),i=Kwt(t,e),SBt(t,e)==(owt(),zSe)&&(i+=2*t.w),n.a.b=i}function HCt(t,e){var n,i,r,a;for(a=new Nw,i=new Wd(e);i.an.a&&(i.Hc((p_t(),WEe))?r=(e.a-n.a)/2:i.Hc(XEe)&&(r=e.a-n.a)),e.b>n.b&&(i.Hc((p_t(),QEe))?a=(e.b-n.b)/2:i.Hc(VEe)&&(a=e.b-n.b)),dEt(t,r,a)}function gSt(t,e,n,i,r,a,o,s,c,u,l,h,f){aL(t.Cb,88)&&OSt(C5(zz(t.Cb,88)),4),Prt(t,n),t.f=o,Lft(t,s),Pft(t,c),Oft(t,u),Nft(t,l),eft(t,h),Uft(t,f),Qht(t,!0),Nnt(t,r),t.ok(a),Mlt(t,e),null!=i&&(t.i=null,srt(t,i))}function pSt(t){var e,n;if(t.f){for(;t.n>0;){if(aL(n=(e=zz(t.k.Xb(t.n-1),72)).ak(),99)&&0!=(zz(n,18).Bb&h6t)&&(!t.e||n.Gj()!=NMe||0!=n.aj())&&null!=e.dd())return!0;--t.n}return!1}return t.n>0}function bSt(t,e,n){if(t<0)return LFt(qWt,Sst(Ux(Ote,1),HWt,1,5,[n,rft(t)]));if(e<0)throw qw(new jv(UWt+e));return LFt("%s (%s) must not be greater than size (%s)",Sst(Ux(Ote,1),HWt,1,5,[n,rft(t),rft(e)]))}function wSt(t,e,n,i,r,a){var o,s,c;if(i-n<7)Ldt(e,n,i,a);else if(wSt(e,t,s=n+r,c=s+((o=i+r)-s>>1),-r,a),wSt(e,t,c,o,-r,a),a.ue(t[c-1],t[c])<=0)for(;n=0?t.sh(a,n):ELt(t,r,n)}else Ndt(t,i,r,n)}function kSt(t){var e,n,i,r;if(n=zz(t,49).qh())try{if(i=null,(e=LOt((WE(),GDe),Tjt($dt(n))))&&(r=e.rh())&&(i=r.Wk(Zv(n.e))),i&&i!=t)return kSt(i)}catch(t){if(!aL(t=dst(t),60))throw qw(t)}return t}function _St(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=hlt(t,e,r))return a.ed(n);return OZ(r,r.length,new CT(e,n)),++t.c,cV(t.b),null}function ASt(t,e){var n;return l2(t.a),SY(t.a,(Srt(),Xxe),Xxe),SY(t.a,Vxe,Vxe),pH(n=new z2,Vxe,(Idt(),nke)),UI(tOt(e,(Zvt(),Tke)))!==UI((Hut(),uke))&&pH(n,Vxe,tke),pH(n,Vxe,eke),oD(t.a,n),LHt(t.a,e)}function ESt(t){if(!t)return fx(),hee;var e=t.valueOf?t.valueOf():t;if(e!==t){var i=fee[typeof e];return i?i(e):klt(typeof e)}return t instanceof Array||t instanceof n.Array?new Af(t):new Cf(t)}function TSt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=zz(cK(t.p,i),244)).i).b=CIt(r),a.a=TIt(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}$$t(r),G$t(r)}function CSt(t,e,i){var r,a,o;switch(o=t.o,(a=(r=zz(cK(t.p,i),244)).i).b=CIt(r),a.a=TIt(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}$$t(r),G$t(r)}function SSt(t,e){var n,i,r,a,o;if(!e.dc())if(r=zz(e.Xb(0),128),1!=e.gc())for(n=1;n0)try{i=djt(e,$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}return!t.a&&(t.a=new Tw(t)),i<(n=t.a).i&&i>=0?zz(Ket(n,i),56):null}function NSt(t,e){if(t<0)return LFt(qWt,Sst(Ux(Ote,1),HWt,1,5,["index",rft(t)]));if(e<0)throw qw(new jv(UWt+e));return LFt("%s (%s) must be less than size (%s)",Sst(Ux(Ote,1),HWt,1,5,["index",rft(t),rft(e)]))}function PSt(t){var e,n,i,r,a;if(null==t)return YWt;for(a=new Lot(zWt,"[","]"),i=0,r=(n=t).length;i0)for(o=t.c.d,r=xL(ZF(new PS((s=t.d.d).a,s.b),o),1/(i+1)),a=new PS(o.a,o.b),n=new Wd(t.a);n.a=0?t._g(n,!0,!0):oMt(t,r,!0),153),zz(i,215).ol(e)}function sIt(t){var e,i;return t>-0x800000000000&&t<0x800000000000?0==t?0:((e=t<0)&&(t=-t),i=SQ(n.Math.floor(n.Math.log(t)/.6931471805599453)),(!e||t!=n.Math.pow(2,i))&&++i,i):Xot(fot(t))}function cIt(t){var e,n,i,r,a,o,s;for(a=new hD,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}function uIt(t,e){var n,i,r;return Uot(i=new Lmt(t),e),hct(i,(hWt(),Khe),e),hct(i,(HZt(),nwe),(V_t(),ZSe)),hct(i,xpe,(pmt(),MEe)),zf(i,(cTt(),Ese)),SJ(n=new ITt,i),USt(n,(kYt(),SIe)),SJ(r=new ITt,i),USt(r,cIe),i}function lIt(t){switch(t.g){case 0:return new Nv((uit(),Mye));case 1:return new gh;case 2:return new xh;default:throw qw(new jv("No implementation is available for the crossing minimizer "+(null!=t.f?t.f:""+t.g)))}}function hIt(t,e){var n,i,r,a;for(t.c[e.p]=!0,Wz(t.a,e),a=new Wd(e.j);a.a=(a=o.gc()))o.$b();else for(r=o.Kc(),i=0;i0?gx():a<0&&AIt(t,e,-a),!0)}function TIt(t){var e,n,i,r,a,o;if(o=0,0==t.b){for(e=0,r=0,a=(i=Wmt(t,!0)).length;r0&&(o+=n,++e);e>1&&(o+=t.c*(e-1))}else o=Rx(iat(LK(DK(LY(t.a),new At),new Et)));return o>0?o+t.n.d+t.n.a:0}function CIt(t){var e,n,i,r,a,o;if(o=0,0==t.b)o=Rx(iat(LK(DK(LY(t.a),new kt),new _t)));else{for(e=0,r=0,a=(i=Kmt(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 SIt(t,e){var i,r,a,o;for(i=(o=zz(cK(t.b,e),124)).a,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)(r=zz(a.Pb(),111)).c&&(i.a=n.Math.max(i.a,Kq(r.c)));if(i.a>0)switch(e.g){case 2:o.n.c=t.s;break;case 4:o.n.b=t.s}}function IIt(t,e){var n,i,r;return 0==(n=zz(vEt(e,(fFt(),Jae)),19).a-zz(vEt(t,Jae),19).a)?(i=ZF(zO(zz(vEt(t,(Trt(),soe)),8)),zz(vEt(t,coe),8)),r=ZF(zO(zz(vEt(e,soe),8)),zz(vEt(e,coe),8)),Sft(i.a*i.b,r.a*r.b)):n}function MIt(t,e){var n,i,r;return 0==(n=zz(vEt(e,(IDt(),Oxe)),19).a-zz(vEt(t,Oxe),19).a)?(i=ZF(zO(zz(vEt(t,(UHt(),Jve)),8)),zz(vEt(t,txe),8)),r=ZF(zO(zz(vEt(e,Jve),8)),zz(vEt(e,txe),8)),Sft(i.a*i.b,r.a*r.b)):n}function DIt(t){var e,n;return(n=new Sx).a+="e_",null!=(e=Wot(t))&&(n.a+=""+e),t.c&&t.d&&(cM((n.a+=" ",n),mvt(t.c)),cM(sM((n.a+="[",n),t.c.i),"]"),cM((n.a+=i1t,n),mvt(t.d)),cM(sM((n.a+="[",n),t.d.i),"]")),n.a}function OIt(t){switch(t.g){case 0:return new bh;case 1:return new wh;case 2:return new ph;case 3:return new mh;default:throw qw(new jv("No implementation is available for the layout phase "+(null!=t.f?t.f:""+t.g)))}}function LIt(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 NIt(t,e,n){var i,r,a;if(n)for(a=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);a.Ob();)r=P2(n,zz(a.Pb(),19).a),N6t in r.a||P6t in r.a?lRt(t,r,e):AZt(t,r,e),CL(zz(FZ(t.b,Vpt(r)),79))}function PIt(t){var e,n;switch(t.b){case-1:return!0;case 0:return(n=t.t)>1||-1==n||(e=Mxt(t))&&(JE(),e.Cj()==A7t)?(t.b=-1,!0):(t.b=1,!1);default:return!1}}function BIt(t,e){var n,i,r,a,o;for(!e.s&&(e.s=new nY($De,e,21,17)),a=null,r=0,o=(i=e.s).i;r=0&&i=0?t._g(n,!0,!0):oMt(t,r,!0),153),zz(i,215).ll(e);throw qw(new jv(a6t+e.ne()+c6t))}function GIt(){var t;return eT(),XOe?zz(LOt((WE(),GDe),X7t),1939):(FM(Hte,new Su),eGt(),t=zz(aL(TQ((WE(),GDe),X7t),547)?TQ(GDe,X7t):new YW,547),XOe=!0,uWt(t),EWt(t),KW((KE(),JDe),t,new Uc),yJ(GDe,X7t,t),t)}function YIt(t,e){var n,i,r,a;t.j=-1,yD(t.e)?(n=t.i,a=0!=t.i,a6(t,e),i=new N9(t.e,3,t.c,null,e,n,a),r=e.Qk(t.e,t.c,null),(r=M_t(t,e,r))?(r.Ei(i),r.Fi()):got(t.e,i)):(a6(t,e),(r=e.Qk(t.e,t.c,null))&&r.Fi())}function ZIt(t,e){var n,i,r;if(r=0,(i=e[0])>=t.length)return-1;for(d1(i,t.length),n=t.charCodeAt(i);n>=48&&n<=57&&(r=10*r+(n-48),!(++i>=t.length));)d1(i,t.length),n=t.charCodeAt(i);return i>e[0]?e[0]=i:r=-1,r}function WIt(t){var e,i,r,a,o;return i=a=zz(t.a,19).a,r=o=zz(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 rI(rft(i),rft(r))}function KIt(t,e,n,i){var r,a,o,s,c,u;for(r=0;r=0&&u>=0&&c=t.i)throw qw(new Dv(c8t+e+u8t+t.i));if(n>=t.i)throw qw(new Dv(l8t+n+u8t+t.i));return i=t.g[n],e!=n&&(e>16))>>16&16),n+=e=(i=(t>>=e)-256)>>16&8,n+=e=(i=(t<<=e)-$Xt)>>16&4,(n+=e=(i=(t<<=e)-hKt)>>16&2)+2-(e=(i=(t<<=e)>>14)&~(i>>1)))}function eMt(t){var e,n,i,r;for(EX(),Tae=new Nw,Eae=new Pw,Aae=new Nw,!t.a&&(t.a=new nY(YMe,t,10,11)),BYt(e=t.a),r=new DL(e);r.e!=r.i.gc();)i=zz(kwt(r),33),-1==_9(Tae,i,0)&&(n=new Nw,Wz(Aae,n),Rbt(i,n));return Aae}function nMt(t,e,n){var i,r,a,o;t.a=n.b.d,aL(e,352)?(n5(a=UTt(r=oBt(zz(e,79),!1,!1)),i=new Ng(t)),X$t(a,r),null!=e.We((lWt(),MTe))&&n5(zz(e.We(MTe),74),i)):((o=zz(e,470)).Hg(o.Dg()+t.a.a),o.Ig(o.Eg()+t.a.b))}function iMt(t,e){var i,r,a,o,s,c,u,l;for(l=Uv(EB(vEt(e,(HZt(),Nwe)))),u=t[0].n.a+t[0].o.a+t[0].d.c+l,c=1;c=0?n:(s=fW(ZF(new PS(o.c+o.b/2,o.d+o.a/2),new PS(a.c+a.b/2,a.d+a.a/2))),-(Qjt(a,o)-1)*s)}function aMt(t,e,n){var i;QA(new FH(null,(!n.a&&(n.a=new nY($Me,n,6,6)),new g1(n.a,16))),new nI(t,e)),QA(new FH(null,(!n.n&&(n.n=new nY(GMe,n,1,7)),new g1(n.n,16))),new iI(t,e)),(i=zz(tOt(n,(lWt(),MTe)),74))&&Qrt(i,t,e)}function oMt(t,e,n){var i,r,a;if(a=zHt((MCt(),JOe),t.Tg(),e))return JE(),zz(a,66).Oj()||(a=J1(z9(JOe,a))),r=zz((i=t.Yg(a))>=0?t._g(i,!0,!0):oMt(t,a,!0),153),zz(r,215).hl(e,n);throw qw(new jv(a6t+e.ne()+c6t))}function sMt(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=n&&(i=e,a=(c=(s.c+s.a)/2)-n,s.c<=c-n&&xU(t,i++,new xz(s.c,a)),(o=c+n)<=s.a&&(r=new xz(o,s.a),LJ(i,t.c.length),ET(t.c,i,r)))}function gMt(t){var e;if(t.c||null!=t.g){if(null==t.g)return!0;if(0==t.i)return!1;e=zz(t.g[t.i-1],47)}else t.d=t.si(t.f),h7(t,t.d),e=t.d;return e==t.b&&null.km>=null.jm()?(sLt(t),gMt(t)):e.Ob()}function pMt(t,e,n){var i,r,a,o;if(!(o=n)&&(o=Lq(new Zy,0)),DAt(o,UJt,1),LUt(t.c,e),1==(a=RUt(t.a,e)).gc())Xqt(zz(a.Xb(0),37),o);else for(r=1/a.gc(),i=a.Kc();i.Ob();)Xqt(zz(i.Pb(),37),vat(o,r));_x(t.a,a,e),zBt(e),HTt(o)}function bMt(t){if(this.a=t,t.c.i.k==(cTt(),Ese))this.c=t.c,this.d=zz(vEt(t.c.i,(hWt(),Xhe)),61);else{if(t.d.i.k!=Ese)throw qw(new jv("Edge "+t+" is not an external edge."));this.c=t.d,this.d=zz(vEt(t.d.i,(hWt(),Xhe)),61)}}function wMt(t,e){var n,i,r;r=t.b,t.b=e,0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,r,t.b)),e?e!=t&&(Prt(t,e.zb),Lnt(t,e.d),zit(t,null==(n=null==(i=e.c)?e.zb:i)||yR(n,e.zb)?null:n)):(Prt(t,null),Lnt(t,0),zit(t,null))}function mMt(t){var e,n;if(t.f){for(;t.n=(o=null==(n=zz(xot(t.a,4),126))?0:n.length))throw qw(new eR(e,o));return r=n[e],1==o?i=null:(sqt(n,0,i=P8(pDe,r7t,415,o-1,0,1),0,e),(a=o-e-1)>0&&sqt(n,e+1,i,e,a)),zbt(t,i),iSt(t,e,r),r}function EMt(){EMt=M,fLe=zz(Ket(XX((a_(),bLe).qb),6),34),uLe=zz(Ket(XX(bLe.qb),3),34),lLe=zz(Ket(XX(bLe.qb),4),34),hLe=zz(Ket(XX(bLe.qb),5),18),u_t(fLe),u_t(uLe),u_t(lLe),u_t(hLe),dLe=new Qv(Sst(Ux($De,1),P7t,170,0,[fLe,uLe]))}function TMt(t,e){var n;this.d=new fy,this.b=e,this.e=new gD(e.qf()),n=t.u.Hc((dIt(),iIe)),t.u.Hc(nIe)?t.D?this.a=n&&!e.If():this.a=!0:t.u.Hc(rIe)?this.a=!!n&&!(e.zf().Kc().Ob()||e.Bf().Kc().Ob()):this.a=!1}function CMt(t,e){var n,i,r,a;for(n=t.o.a,a=zz(zz(l6(t.r,e),21),84).Kc();a.Ob();)(r=zz(a.Pb(),111)).e.a=(i=r.b).Xe((lWt(),oCe))?i.Hf()==(kYt(),SIe)?-i.rf().a-Uv(EB(i.We(oCe))):n+Uv(EB(i.We(oCe))):i.Hf()==(kYt(),SIe)?-i.rf().a:n}function SMt(t,e){var n,i,r;n=zz(vEt(t,(HZt(),Ype)),103),r=zz(tOt(e,swe),61),(i=zz(vEt(t,nwe),98))!=(V_t(),XSe)&&i!=VSe?r==(kYt(),CIe)&&(r=D$t(e,n))==CIe&&(r=hgt(n)):r=Wqt(e)>0?hgt(n):Eft(hgt(n)),Qwt(e,swe,r)}function IMt(t,e){var n,i,r,a,o;for(o=t.j,e.a!=e.b&&yO(o,new Yr),r=o.c.length/2|0,i=0;i0&&cRt(t,n,e),a):null!=i.a?(cRt(t,e,n),-1):null!=r.a?(cRt(t,n,e),1):0}function DMt(t,e){var n,i,r,a;t.ej()?(n=t.Vi(),a=t.fj(),++t.j,t.Hi(n,t.oi(n,e)),i=t.Zi(3,null,e,n,a),t.bj()&&(r=t.cj(e,null))?(r.Ei(i),r.Fi()):t.$i(i)):(nW(t,e),t.bj()&&(r=t.cj(e,null))&&r.Fi())}function OMt(t,e){var n,i,r,a,o;for(o=sPt(t.e.Tg(),e),r=new bc,n=zz(t.g,119),a=t.i;--a>=0;)i=n[a],o.rl(i.ak())&&h7(r,i);!sZt(t,r)&&yD(t.e)&&Lm(t,e.$j()?LV(t,6,e,(TX(),lne),null,-1,!1):LV(t,e.Kj()?2:1,e,null,null,-1,!1))}function LMt(){var t,e;for(LMt=M,sne=P8(une,lKt,91,32,0,1),cne=P8(une,lKt,91,32,0,1),t=1,e=0;e<=18;e++)sne[e]=ewt(t),cne[e]=ewt(vG(t,e)),t=odt(t,5);for(;ea)||e.q&&(a=(i=e.C).c.c.a-i.o.a/2,i.n.a-n>a)))}function PMt(t,e){DAt(e,"Partition preprocessing",1),QA(zz(C4(DK(gtt(DK(new FH(null,new g1(t.a,16)),new mi),new yi),new vi),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15).Oc(),new xi),HTt(e)}function BMt(t){var e,n,i,r,a,o;for(HJ(),n=new m4,i=new Wd(t.e.b);i.a1?t.e*=Uv(t.a):t.f/=Uv(t.a),Ilt(t),wbt(t),EFt(t),hct(t.b,(Awt(),bae),t.g)}function HMt(t,e,n){var i,r,a,o,s;for(i=0,s=n,e||(i=n*(t.c.length-1),s*=-1),a=new Wd(t);a.a=0?(e||(e=new Cx,i>0&&aM(e,t.substr(0,i))),e.a+="\\",NZ(e,n&VKt)):e&&NZ(e,n&VKt);return e?e.a:t}function aDt(t){var e;if(!t.a)throw qw(new $v("IDataType class expected for layout option "+t.f));if(null==(e=I3(t.a)))throw qw(new $v("Couldn't create new instance of property '"+t.f+"'. "+a5t+(_B(dDe),dDe.k)+o5t));return zz(e,414)}function oDt(t){var e,n,i,r,a;return(a=t.eh())&&a.kh()&&(r=nht(t,a))!=a?(n=t.Vg(),i=(e=t.Vg())>=0?t.Qg(null):t.eh().ih(t,-1-e,null,null),t.Rg(zz(r,49),n),i&&i.Fi(),t.Lg()&&t.Mg()&&n>-1&&got(t,new tY(t,9,n,a,r)),r):a}function sDt(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=Iat(t)))return!1;n=i==r?-n:~n}return 0!=(n&e)}function dDt(t,e,n,i){var r;zz(n.b,65),zz(n.b,65),zz(i.b,65),zz(i.b,65),Nq(r=ZF(zO(zz(n.b,65).c),zz(i.b,65).c),HSt(zz(n.b,65),zz(i.b,65),r)),zz(i.b,65),zz(i.b,65),zz(i.b,65).c.a,r.a,zz(i.b,65).c.b,r.b,zz(i.b,65),Det(i.a,new Az(t,e,i))}function gDt(t,e){var n,i,r,a,o,s,c;if(a=e.e)for(n=oDt(a),i=zz(t.g,674),o=0;o>16)),15).Xc(a))0&&((!pD(t.a.c)||!e.n.d)&&(!bD(t.a.c)||!e.n.b)&&(e.g.d+=n.Math.max(0,r/2-.5)),(!pD(t.a.c)||!e.n.a)&&(!bD(t.a.c)||!e.n.c)&&(e.g.a-=r-1))}function vDt(t){var e,i,r,a,o;if(o=jjt(t,a=new Nw),e=zz(vEt(t,(hWt(),_fe)),10))for(r=new Wd(e.j);r.a>e,a=t.m>>e|n<<22-e,r=t.l>>e|t.m<<22-e):e<44?(o=i?SXt:0,a=n>>e-22,r=t.m>>e-22|n<<44-e):(o=i?SXt:0,a=i?CXt:0,r=n>>e-44),EO(r&CXt,a&CXt,o&SXt)}function ADt(t){var e,i,r,a,o,s;for(this.c=new Nw,this.d=t,r=RXt,a=RXt,e=jXt,i=jXt,s=lwt(t,0);s.b!=s.d.c;)o=zz(d3(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 YK(r,a,e-r,i-a)}function EDt(t,e){var n,i,r,a;for(i=new Wd(t.b);i.a0&&aL(e,42)&&(t.a.qj(),a=null==(c=(u=zz(e,42)).cd())?0:eut(c),o=nF(t.a,a),n=t.a.d[o]))for(i=zz(n.g,367),l=n.i,s=0;s=2)for(e=EB((i=a.Kc()).Pb());i.Ob();)o=e,e=EB(i.Pb()),r=n.Math.min(r,(xW(e),e-(xW(o),o)));return r}function HDt(t,e){var n,i,r,a,o;r5(i=new VA,e,i.c.b,i.c);do{for(CP(0!=i.b),n=zz(Oet(i,i.a.a),86),t.b[n.g]=1,a=lwt(n.d,0);a.b!=a.d.c;)o=(r=zz(d3(a),188)).c,1==t.b[o.g]?Bq(t.a,r):2==t.b[o.g]?t.b[o.g]=1:r5(i,o,i.c.b,i.c)}while(0!=i.b)}function UDt(t,e){var n,i,r;if(UI(e)===UI(vZ(t)))return!0;if(!aL(e,15))return!1;if(i=zz(e,15),(r=t.gc())!=i.gc())return!1;if(aL(i,54)){for(n=0;n0&&(r=n),o=new Wd(t.f.e);o.a0?(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 rI(rft(e),rft(n))}function dOt(t,e){return t.ce.c?1:t.be.b?1:t.a!=e.a?eut(t.a)-eut(e.a):t.d==(X4(),qye)&&e.d==zye?-1:t.d==zye&&e.d==qye?1:0}function gOt(t,e){var n,i,r,a,o;return o=(a=e.a).c.i==e.b?a.d:a.c,i=a.c.i==e.b?a.c:a.d,(r=Ygt(t.a,o,i))>0&&r0):r<0&&-r0)}function pOt(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>24;return o}function wOt(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=zpt(".",[n,zpt("$",i)]),t.b=zpt(".",[n,zpt(".",i)]),t.k=i[i.length-1]}function mOt(t,e){var n,i,r,a,o;for(o=null,a=new Wd(t.e.a);a.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 TOt(t,e){var n,i,r,a,o,s;for(a=(1==e?Woe:Zoe).a.ec().Kc();a.Ob();)for(r=zz(a.Pb(),103),s=zz(l6(t.f.c,r),21).Kc();s.Ob();)switch(o=zz(s.Pb(),46),i=zz(o.b,81),n=zz(o.a,189).c,r.g){case 2:case 1:i.g.d+=n;break;case 4:case 3:i.g.c+=n}}function COt(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 SOt(t){var e;return(e=new fN(t_(t.gm))).a+="@",cM(e,(eut(t)>>>0).toString(16)),t.kh()?(e.a+=" (eProxyURI: ",sM(e,t.qh()),t.$g()&&(e.a+=" eClass: ",sM(e,t.$g())),e.a+=")"):t.$g()&&(e.a+=" (eClass: ",sM(e,t.$g()),e.a+=")"),e.a}function IOt(t){var e,n,i;if(t.e)throw qw(new $v((_B(bie),OVt+bie.k+LVt)));for(t.d==(zht(),zCe)&&EGt(t,jCe),n=new Wd(t.a.a);n.a>24}return n}function POt(t,e,n){var i,r,a;if(!(r=zz(cK(t.i,e),306)))if(r=new pet(t.d,e,n),yU(t.i,e,r),sbt(e))_L(t.a,e.c,e.b,r);else switch(a=NCt(e),i=zz(cK(t.p,a),244),a.g){case 1:case 3:r.j=!0,kv(i,e.b,r);break;case 4:case 2:r.k=!0,kv(i,e.c,r)}return r}function BOt(t,e,n,i){var r,a,o,s,c,u;if(s=new bc,c=sPt(t.e.Tg(),e),r=zz(t.g,119),JE(),zz(e,66).Oj())for(o=0;o=0)return r;for(a=1,o=new Wd(e.j);o.a0&&e.ue((f1(r-1,t.c.length),zz(t.c[r-1],10)),a)>0;)a5(t,r,(f1(r-1,t.c.length),zz(t.c[r-1],10))),--r;f1(r,t.c.length),t.c[r]=a}n.a=new Pw,n.b=new Pw}function jOt(t,e,n){var i,r,a,o,s,c,u;for(u=new VR(i=zz(e.e&&e.e(),9),zz(TF(i,i.length),9),0),o=0,s=(a=kRt(n,"[\\[\\]\\s,]+")).length;o0&&((!pD(t.a.c)||!e.n.d)&&(!bD(t.a.c)||!e.n.b)&&(e.g.d-=n.Math.max(0,r/2-.5)),(!pD(t.a.c)||!e.n.a)&&(!bD(t.a.c)||!e.n.c)&&(e.g.a+=n.Math.max(0,r-1)))}function zOt(t,e,n){var i;if(2==(t.c-t.b&t.a.length-1))e==(kYt(),uIe)||e==cIe?(_et(zz(Act(t),15),(Wvt(),kSe)),_et(zz(Act(t),15),_Se)):(_et(zz(Act(t),15),(Wvt(),_Se)),_et(zz(Act(t),15),kSe));else for(i=new dK(t);i.a!=i.b;)_et(zz($lt(i),15),n)}function qOt(t,e){var n,i,r,a,o,s;for(o=new E2(i=qz(new uw(t)),i.c.length),s=new E2(r=qz(new uw(e)),r.c.length),a=null;o.b>0&&s.b>0&&(CP(o.b>0),n=zz(o.a.Xb(o.c=--o.b),33),CP(s.b>0),n==zz(s.a.Xb(s.c=--s.b),33));)a=n;return a}function HOt(t,e){var i,r,a,o;return a=t.a*sVt+1502*t.b,o=t.b*sVt+11,a+=i=n.Math.floor(o*cVt),o-=i*uVt,a%=uVt,t.a=a,t.b=o,e<=24?n.Math.floor(t.a*Mne[e]):((r=t.a*(1<=2147483648&&(r-=WXt),r)}function UOt(t,e,n){var i,r,a,o;g0(t,e)>g0(t,n)?(i=sdt(n,(kYt(),cIe)),t.d=i.dc()?0:sH(zz(i.Xb(0),11)),o=sdt(e,SIe),t.b=o.dc()?0:sH(zz(o.Xb(0),11))):(r=sdt(n,(kYt(),SIe)),t.d=r.dc()?0:sH(zz(r.Xb(0),11)),a=sdt(e,cIe),t.b=a.dc()?0:sH(zz(a.Xb(0),11)))}function GOt(t){var e,n,i,r,a,o,s;if(t&&(e=t.Hh(X7t))&&null!=(o=TB(opt((!e.b&&(e.b=new QP((wWt(),xOe),ZOe,e)),e.b),"conversionDelegates")))){for(s=new Nw,r=0,a=(i=kRt(o,"\\w+")).length;rt.c));o++)r.a>=t.s&&(a<0&&(a=o),s=o);return c=(t.s+t.c)/2,a>=0&&(c=HE((f1(i=QFt(t,e,a,s),e.c.length),zz(e.c[i],329))),dMt(e,i,n)),c}function KOt(){KOt=M,f_e=new ZD((lWt(),aTe),1.3),b_e=kTe,I_e=new WD(15),S_e=new ZD(ZTe,I_e),O_e=new ZD(LCe,15),d_e=lTe,k_e=RTe,__e=zTe,A_e=HTe,x_e=BTe,E_e=YTe,M_e=hCe,LDt(),C_e=c_e,v_e=o_e,T_e=s_e,D_e=l_e,w_e=a_e,m_e=STe,y_e=ITe,p_e=r_e,g_e=i_e,L_e=h_e}function XOt(t,e,n){var i,r,a,o,s;for(qit(r=new kc,(xW(e),e)),!r.b&&(r.b=new QP((wWt(),xOe),ZOe,r)),s=r.b,o=1;o0&&BHt(this,r)}function QOt(t,e,n,i,r,a){var o,s,c;if(!r[e.b]){for(r[e.b]=!0,!(o=i)&&(o=new v6),Wz(o.e,e),c=a[e.b].Kc();c.Ob();)(s=zz(c.Pb(),282)).d!=n&&s.c!=n&&(s.c!=e&&QOt(t,s.c,e,o,r,a),s.d!=e&&QOt(t,s.d,e,o,r,a),Wz(o.c,s),wst(o.d,s.b));return o}return null}function JOt(t){var e,n,i;for(e=0,n=new Wd(t.e);n.a=2}function tLt(t,e){var n,i,r,a;for(DAt(e,"Self-Loop pre-processing",1),i=new Wd(t.a);i.a1||Iot(MQ(_U(ISe,Sst(Ux(USe,1),LKt,93,0,[SSe,DSe])),t))>1||Iot(MQ(_U(BSe,Sst(Ux(USe,1),LKt,93,0,[PSe,NSe])),t))>1)}function iLt(t,e){var n,i,r;return(n=e.Hh(t.a))&&null!=(r=TB(opt((!n.b&&(n.b=new QP((wWt(),xOe),ZOe,n)),n.b),"affiliation")))?-1==(i=yN(r,QAt(35)))?cft(t,oG(t,Zet(e.Hj())),r):0==i?cft(t,null,r.substr(1)):cft(t,r.substr(0,i),r.substr(i+1)):null}function rLt(t){var e,n;try{return null==t?YWt:qdt(t)}catch(i){if(aL(i=dst(i),102))return e=i,n=t_(nut(t))+"@"+(OA(),(imt(t)>>>0).toString(16)),jbt(_st(),(fE(),"Exception during lenientFormat for "+n),e),"<"+n+" threw "+t_(e.gm)+">";throw qw(i)}}function aLt(t){switch(t.g){case 0:return new sh;case 1:return new nh;case 2:return new OE;case 3:return new Ia;case 4:return new FF;case 5:return new ch;default:throw qw(new jv("No implementation is available for the layerer "+(null!=t.f?t.f:""+t.g)))}}function oLt(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&&Bq(e,i.b));for(r=new Wd(t.i);r.a0&&(i.a.u-=i.c,i.a.u<=0&&i.a.n>0&&Bq(n,i.a))}function sLt(t){var e,n,i;if(null==t.g&&(t.d=t.si(t.f),h7(t,t.d),t.c))return t.f;if(i=(e=zz(t.g[t.i-1],47)).Pb(),t.e=e,(n=t.si(i)).Ob())t.d=n,h7(t,n);else for(t.d=null;!e.Ob()&&(OZ(t.g,--t.i,null),0!=t.i);)e=zz(t.g[t.i-1],47);return i}function cLt(t,e){var n,i,r,a,o,s;if(r=(i=e).ak(),LPt(t.e,r)){if(r.hi()&&U3(t,r,i.dd()))return!1}else for(s=sPt(t.e.Tg(),r),n=zz(t.g,119),a=0;a1||n>1)return 2;return e+n==1?2:0}function yLt(t,e,n){var i,r,a,o;for(DAt(n,"ELK Force",1),Hv(AB(tOt(e,(fFt(),Wae))))||kQ(new Ag((UE(),new Bv(e)))),kxt(o=fct(e)),Yct(t,zz(vEt(o,Uae),424)),r=(a=H$t(t.a,o)).Kc();r.Ob();)i=zz(r.Pb(),231),SRt(t.b,i,vat(n,1/a.gc()));CYt(o=GYt(a)),HTt(n)}function vLt(t,e){var n,i,r;if(DAt(e,"Breaking Point Processor",1),DGt(t),Hv(AB(vEt(t,(HZt(),Uwe))))){for(i=new Wd(t.b);i.a=0?t._g(i,!0,!0):oMt(t,a,!0),153),zz(r,215).ml(e,n)}function TLt(t,e){var n,i,r,a,o;for(n=new Nw,r=gtt(new FH(null,new g1(t,16)),new Ao),a=gtt(new FH(null,new g1(t,16)),new Eo),o=E9(q6(LK(CNt(Sst(Ux(nie,1),HWt,833,0,[r,a])),new To))),i=1;i=2*e&&Wz(n,new xz(o[i-1]+e,o[i]-e));return n}function CLt(t,e,n){DAt(n,"Eades radial",1),n.n&&e&&v0(n,c2(e),(qut(),sMe)),t.d=zz(tOt(e,(gB(),Kxe)),33),t.c=Uv(EB(tOt(e,(Zvt(),Bke)))),t.e=Amt(zz(tOt(e,Fke),293)),t.a=dgt(zz(tOt(e,jke),426)),t.b=Ukt(zz(tOt(e,Oke),340)),akt(t),n.n&&e&&v0(n,c2(e),(qut(),sMe))}function SLt(t,e,n){var i,r,a,o,s;if(n)for(a=((i=new lG(n.a.length)).b-i.a)*i.c<0?(nT(),ENe):new ZL(i);a.Ob();)(r=P2(n,zz(a.Pb(),19).a))&&(Lit(o=O3(t,(e_(),s=new _y,!!e&&qLt(s,e),s),r),F2(r,U6t)),CAt(r,o),DSt(r,o),Bct(t,r,o))}function ILt(t){var e,n,i,r;if(!t.j){if(r=new Ic,null==(e=COe).a.zc(t,e)){for(i=new DL(xV(t));i.e!=i.i.gc();)wZ(r,ILt(n=zz(kwt(i),26))),h7(r,n);e.a.Bc(t)}olt(r),t.j=new NM((zz(Ket(XX((XZ(),eOe).o),11),18),r.i),r.g),C5(t).b&=-33}return t.j}function MLt(t){var e,n,i,r;if(null==t)return null;if(i=zzt(t,!0),r=B9t.length,yR(i.substr(i.length-r,r),B9t))if(4==(n=i.length)){if(d1(0,i.length),43==(e=i.charCodeAt(0)))return ULe;if(45==e)return HLe}else if(3==n)return ULe;return new Bm(i)}function DLt(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?wit(n):0==e&&0!=i&&0==n?wit(i)+22:0!=e&&0==i&&0==n?wit(e)+44:-1}function OLt(t,e){var n,i,r,a;for(DAt(e,"Edge joining",1),n=Hv(AB(vEt(t,(HZt(),Bwe)))),i=new Wd(t.b);i.a1)for(i=new Wd(t.a);i.a0),a.a.Xb(a.c=--a.b),vF(a,r),CP(a.b3&&_tt(t,0,e-3))}function jLt(t){var e,n,i,r;return UI(vEt(t,(HZt(),ube)))===UI((cht(),wSe))?!t.e&&UI(vEt(t,Fpe))!==UI((jot(),xhe)):(i=zz(vEt(t,Rpe),292),r=Hv(AB(vEt(t,qpe)))||UI(vEt(t,Hpe))===UI((Dit(),ule)),e=zz(vEt(t,Bpe),19).a,n=t.a.c.length,!r&&i!=(jot(),xhe)&&(0==e||e>n))}function $Lt(t){var e,n;for(n=0;n0);n++);if(n>0&&n0);e++);return e>0&&n>16!=6&&e){if(yxt(t,e))throw qw(new jv(p6t+RMt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?lxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,6,i)),(i=XB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,6,e,e))}function qLt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=9&&e){if(yxt(t,e))throw qw(new jv(p6t+ZFt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?fxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,9,i)),(i=VB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,9,e,e))}function HLt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(yxt(t,e))throw qw(new jv(p6t+dqt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Txt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,12,i)),(i=KB(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function ULt(t){var e,n,i,r,a;if(i=Mxt(t),null==(a=t.j)&&i)return t.$j()?null:i.zj();if(aL(i,148)){if((n=i.Aj())&&(r=n.Nh())!=t.i){if((e=zz(i,148)).Ej())try{t.g=r.Kh(e,a)}catch(e){if(!aL(e=dst(e),78))throw qw(e);t.g=null}t.i=r}return t.g}return null}function GLt(t){var e;return Wz(e=new Nw,new PT(new PS(t.c,t.d),new PS(t.c+t.b,t.d))),Wz(e,new PT(new PS(t.c,t.d),new PS(t.c,t.d+t.a))),Wz(e,new PT(new PS(t.c+t.b,t.d+t.a),new PS(t.c+t.b,t.d))),Wz(e,new PT(new PS(t.c+t.b,t.d+t.a),new PS(t.c,t.d+t.a))),e}function YLt(t,e,n,i){var r,a,o;if(o=Okt(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 cG(JL(hdt(o).a.Kc(),new l));bDt(a);)if(!d5(r=zz(Y5(a),17))&&(d5(r)||r.c.i.c!=r.d.i.c)&&r!=e)return YLt(t,r,o,i);return i}function ZLt(t,e,n){var i,r;for(r=e.a.ec().Kc();r.Ob();)i=zz(r.Pb(),79),!zz(FZ(t.b,i),266)&&(QQ(SEt(i))==QQ(DEt(i))?nBt(t,i,n):SEt(i)==QQ(DEt(i))?null==FZ(t.c,i)&&null!=FZ(t.b,DEt(i))&&aGt(t,i,n,!1):null==FZ(t.d,i)&&null!=FZ(t.b,SEt(i))&&aGt(t,i,n,!0))}function WLt(t,e){var n,i,r,a,o,s,c;for(r=t.Kc();r.Ob();)for(i=zz(r.Pb(),10),SJ(s=new ITt,i),USt(s,(kYt(),cIe)),hct(s,(hWt(),kfe),(lN(),!0)),o=e.Kc();o.Ob();)a=zz(o.Pb(),10),SJ(c=new ITt,a),USt(c,SIe),hct(c,kfe,!0),hct(n=new gV,kfe,!0),TJ(n,s),EJ(n,c)}function KLt(t,e,n,i){var r,a,o,s;r=Opt(t,e,n),a=Opt(t,n,e),o=zz(FZ(t.c,e),112),s=zz(FZ(t.c,n),112),ri.b.g&&(a.c[a.c.length]=i);return a}function QLt(){QLt=M,B_e=new kS("CANDIDATE_POSITION_LAST_PLACED_RIGHT",0),P_e=new kS("CANDIDATE_POSITION_LAST_PLACED_BELOW",1),R_e=new kS("CANDIDATE_POSITION_WHOLE_DRAWING_RIGHT",2),F_e=new kS("CANDIDATE_POSITION_WHOLE_DRAWING_BELOW",3),j_e=new kS("WHOLE_DRAWING",4)}function JLt(t,e){if(aL(e,239))return hft(t,zz(e,33));if(aL(e,186))return Fft(t,zz(e,118));if(aL(e,354))return eX(t,zz(e,137));if(aL(e,352))return J$t(t,zz(e,79));if(e)return null;throw qw(new jv(Y6t+NEt(new Qv(Sst(Ux(Ote,1),HWt,1,5,[e])))))}function tNt(t){var e,n,i,r,a,o,s;for(a=new VA,r=new Wd(t.d.a);r.a1)for(e=DN((n=new Hm,++t.b,n),t.d),s=lwt(a,0);s.b!=s.d.c;)o=zz(d3(s),121),ZNt(oE(aE(sE(rE(new qm,1),0),e),o))}function eNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=11&&e){if(yxt(t,e))throw qw(new jv(p6t+YFt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?Cxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=Pwt(e,t,10,i)),(i=GF(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,11,e,e))}function nNt(t){var e,n,i,r;for(i=new cut(new Cd(t.b).a);i.b;)r=zz((n=nnt(i)).cd(),11),hct(e=zz(n.dd(),10),(hWt(),pfe),r),hct(r,_fe,e),hct(r,nfe,(lN(),!0)),USt(r,zz(vEt(e,Xhe),61)),vEt(e,Xhe),hct(r.i,(HZt(),nwe),(V_t(),KSe)),zz(vEt(mW(r.i),Jhe),21).Fc((gBt(),phe))}function iNt(t,e,n){var i,r,a;if(i=0,r=0,t.c)for(a=new Wd(t.d.i.j);a.aa.a)return-1;if(r.a(c=null==t.d?0:t.d.length)){for(l=t.d,t.d=P8(cDe,o7t,63,2*c+4,0,1),a=0;a=0x8000000000000000?(Z9(),gee):(i=!1,t<0&&(i=!0,t=-t),n=0,t>=DXt&&(t-=(n=SQ(t/DXt))*DXt),e=0,t>=MXt&&(t-=(e=SQ(t/MXt))*MXt),r=EO(SQ(t),e,n),i&&Dct(r),r)}function mNt(t,e){var n,i,r,a;for(n=!e||!t.u.Hc((dIt(),nIe)),a=0,r=new Wd(t.e.Cf());r.a=-e&&r==e?new rI(rft(i-1),rft(r)):new rI(rft(i),rft(r-1))}function ANt(){return dWt(),Sst(Ux(sue,1),LKt,77,0,[rce,ece,ace,xce,$ce,Ece,Yce,Mce,Rce,bce,Nce,Ice,jce,fce,Wce,Kse,Lce,qce,kce,zce,Xce,Bce,Xse,Fce,Vce,Uce,Kce,_ce,uce,Ace,vce,Zce,Jse,sce,Cce,Qse,Sce,mce,dce,Dce,pce,nce,tce,yce,gce,Oce,Gce,Vse,Pce,wce,Tce,lce,cce,Hce,oce,hce,ice])}function ENt(t,e,n){t.d=0,t.b=0,e.k==(cTt(),Ise)&&n.k==Ise&&zz(vEt(e,(hWt(),pfe)),10)==zz(vEt(n,pfe),10)&&(T9(e).j==(kYt(),uIe)?UOt(t,e,n):UOt(t,n,e)),e.k==Ise&&n.k==Cse?T9(e).j==(kYt(),uIe)?t.d=1:t.b=1:n.k==Ise&&e.k==Cse&&(T9(n).j==(kYt(),uIe)?t.b=1:t.d=1),cyt(t,e,n)}function TNt(t){var e,n,i,r,a;return a=OAt(t),null!=t.a&&Dq(a,"category",t.a),!W_(new Sd(t.d))&&(ret(a,"knownOptions",i=new Sf),e=new nw(i),n5(new Sd(t.d),e)),!W_(t.g)&&(ret(a,"supportedFeatures",r=new Sf),n=new iw(r),n5(t.g,n)),a}function CNt(t){var e,n,i,r,a,o,s,c;for(e=336,n=0,r=new uF(t.length),s=0,c=(o=t).length;s>16!=7&&e){if(yxt(t,e))throw qw(new jv(p6t+oCt(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?hxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=zz(e,49).gh(t,1,BMe,i)),(i=KU(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,7,e,e))}function DNt(t,e){var n,i;if(e!=t.Cb||t.Db>>16!=3&&e){if(yxt(t,e))throw qw(new jv(p6t+Xht(t)));i=null,t.Cb&&(i=(n=t.Db>>16)>=0?gxt(t,i):t.Cb.ih(t,-1-n,null,i)),e&&(i=zz(e,49).gh(t,0,zMe,i)),(i=XU(t,e,i))&&i.Fi()}else 0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,3,e,e))}function ONt(t,e){var n,i,r,a,o,s,c,u,l;return LMt(),e.d>t.d&&(s=t,t=e,e=s),e.d<63?WPt(t,e):(u=G5(t,o=(-2&t.d)<<4),l=G5(e,o),i=czt(t,U5(u,o)),r=czt(e,U5(l,o)),c=ONt(u,l),n=ONt(i,r),a=U5(a=Lqt(Lqt(a=ONt(czt(u,i),czt(r,l)),c),n),o),Lqt(Lqt(c=U5(c,o<<1),a),n))}function LNt(t,e,n){var i,r,a,o,s;for(o=Nht(t,n),s=P8(Mse,s1t,10,e.length,0,1),i=0,a=o.Kc();a.Ob();)Hv(AB(vEt(r=zz(a.Pb(),11),(hWt(),nfe))))&&(s[i++]=zz(vEt(r,_fe),10));if(i=0;r+=n?1:-1)a|=e.c.Sf(s,r,n,i&&!Hv(AB(vEt(e.j,(hWt(),Qhe))))&&!Hv(AB(vEt(e.j,(hWt(),Ife))))),a|=e.q._f(s,r,n),a|=wFt(t,s[r],n,i);return AY(t.c,e),a}function RNt(t,e,n){var i,r,a,o,s,c,u,l;for(u=0,l=(c=I2(t.j)).length;u1&&(t.a=!0),NU(zz(n.b,65),YF(zO(zz(e.b,65).c),xL(ZF(zO(zz(n.b,65).a),zz(e.b,65).a),r))),XJ(t,e),zNt(t,n)}function qNt(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++}TX(),yO(t.j,new di)}function UNt(t){var e,n;n=null,e=zz(PH(t.g,0),17);do{if(LP(n=e.d.i,(hWt(),hfe)))return zz(vEt(n,hfe),11).i;if(n.k!=(cTt(),Sse)&&bDt(new cG(JL(ddt(n).a.Kc(),new l))))e=zz(Y5(new cG(JL(ddt(n).a.Kc(),new l))),17);else if(n.k!=Sse)return null}while(n&&n.k!=(cTt(),Sse));return n}function GNt(t,e){var n,i,r,a,o,s,c,u,l;for(s=e.j,o=e.g,c=zz(PH(s,s.c.length-1),113),f1(0,s.c.length),u=tvt(t,o,c,l=zz(s.c[0],113)),a=1;au&&(c=n,l=r,u=i);e.a=l,e.c=c}function YNt(t,e){var n;if(!JY(t.b,e.b))throw qw(new $v("Invalid hitboxes for scanline constraint calculation."));(kst(e.b,zz(EF(t.b,e.b),57))||kst(e.b,zz(AF(t.b,e.b),57)))&&(OA(),e.b),t.a[e.b.f]=zz(xR(t.b,e.b),57),(n=zz(vR(t.b,e.b),57))&&(t.a[n.f]=e.b)}function ZNt(t){if(!t.a.d||!t.a.e)throw qw(new $v((_B(qie),qie.k+" must have a source and target "+(_B(Hie),Hie.k+" specified."))));if(t.a.d==t.a.e)throw qw(new $v("Network simplex does not support self-loops: "+t.a+" "+t.a.d+" "+t.a.e));return FN(t.a.d.g,t.a),FN(t.a.e.b,t.a),t.a}function WNt(t,e,n){var i,r,a,o,s,c,u;for(u=new p_(new Qp(t)),s=0,c=(o=Sst(Ux(Use,1),c1t,11,0,[e,n])).length;sc-t.b&&sc-t.a&&s0&&++f;++h}return f}function oPt(t,e){var n,i,r,a,o;for(o=zz(vEt(e,(IDt(),Lxe)),425),a=lwt(e.b,0);a.b!=a.d.c;)if(r=zz(d3(a),86),0==t.b[r.g]){switch(o.g){case 0:Vmt(t,r);break;case 1:HDt(t,r)}t.b[r.g]=2}for(i=lwt(t.a,0);i.b!=i.d.c;)xgt((n=zz(d3(i),188)).b.d,n,!0),xgt(n.c.b,n,!0);hct(e,(UHt(),fxe),t.a)}function sPt(t,e){var n,i,r,a;return JE(),e?e==(ZHt(),RLe)||(e==vLe||e==mLe||e==yLe)&&t!=wLe?new oYt(t,e):((n=(i=zz(e,677)).pk())||(xK(z9((MCt(),JOe),e)),n=i.pk()),!n.i&&(n.i=new Pw),!(r=zz(HI(DV((a=n.i).f,t)),1942))&&KW(a,t,r=new oYt(t,e)),r):oLe}function cPt(t,e){var n,i,r,a,o,s,c,u;for(s=zz(vEt(t,(hWt(),pfe)),11),c=Oct(Sst(Ux(CEe,1),lKt,8,0,[s.i.n,s.n,s.a])).a,u=t.i.n.b,r=0,a=(i=J0(t.e)).length;r0?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:qG(t.u)&&((i=$At(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))}function fPt(t,e){var n,i;for(DAt(e,"Semi-Interactive Crossing Minimization Processor",1),n=!1,i=new Wd(t.b);i.a=0){if(e==i)return new rI(rft(-e-1),rft(-e-1));if(e==-i)return new rI(rft(-e),rft(i+1))}return n.Math.abs(e)>n.Math.abs(i)?new rI(rft(-e),rft(e<0?i:i+1)):new rI(rft(e+1),rft(i))}function pPt(t){var e,n;n=zz(vEt(t,(HZt(),xbe)),163),e=zz(vEt(t,(hWt(),ife)),303),n==(Edt(),$fe)?(hct(t,xbe,Hfe),hct(t,ife,(G9(),She))):n==qfe?(hct(t,xbe,Hfe),hct(t,ife,(G9(),The))):e==(G9(),She)?(hct(t,xbe,$fe),hct(t,ife,Che)):e==The&&(hct(t,xbe,qfe),hct(t,ife,Che))}function bPt(){bPt=M,kve=new co,mve=pH(new z2,(xEt(),joe),(dWt(),kce)),xve=WU(pH(new z2,joe,Bce),zoe,Pce),_ve=ubt(ubt($E(WU(pH(new z2,Foe,Yce),zoe,Gce),$oe),Uce),Zce),yve=WU(pH(pH(pH(new z2,Roe,Ece),$oe,Cce),$oe,Sce),zoe,Tce),vve=WU(pH(pH(new z2,$oe,Sce),$oe,sce),zoe,oce)}function wPt(){wPt=M,Sve=pH(WU(new z2,(xEt(),zoe),(dWt(),lce)),joe,kce),Ove=ubt(ubt($E(WU(pH(new z2,Foe,Yce),zoe,Gce),$oe),Uce),Zce),Ive=WU(pH(pH(pH(new z2,Roe,Ece),$oe,Cce),$oe,Sce),zoe,Tce),Dve=pH(pH(new z2,joe,Bce),zoe,Pce),Mve=WU(pH(pH(new z2,$oe,Sce),$oe,sce),zoe,oce)}function mPt(t,e,n,i,r){var a,o;(d5(e)||e.c.i.c!=e.d.i.c)&&ert(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])),n)||d5(e)||(e.c==r?RP(e.a,0,new gD(n)):Bq(e.a,new gD(n)),i&&!$A(t.a,n)&&((o=zz(vEt(e,(HZt(),mbe)),74))||(o=new xy,hct(e,mbe,o)),r5(o,a=new gD(n),o.c.b,o.c),AY(t.a,a)))}function yPt(t){var e;for(e=new cG(JL(fdt(t).a.Kc(),new l));bDt(e);)if(zz(Y5(e),17).c.i.k!=(cTt(),Tse))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to FIRST, but has at least one incoming edge that does not come from a FIRST_SEPARATE node. That must not happen."))}function vPt(t,e,n){var i,r,a,o,s,c;if(0==(r=mdt(254&t.Db)))t.Eb=n;else{if(1==r)o=P8(Ote,HWt,1,2,5,1),0==Ryt(t,e)?(o[0]=n,o[1]=t.Eb):(o[0]=t.Eb,o[1]=n);else for(o=P8(Ote,HWt,1,r+1,5,1),a=int(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}function xPt(t,e,i){var r,a,o,s;for(this.b=new Nw,a=0,r=0,s=new Wd(t);s.a0&&(a+=(o=zz(PH(this.b,0),167)).o,r+=o.p),a*=2,r*=2,e>1?a=SQ(n.Math.ceil(a*e)):r=SQ(n.Math.ceil(r/e)),this.a=new Ugt(a,r)}function kPt(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=zz(FZ(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=zz(FZ(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==(kYt(),cIe)?r?sdt(s,i):iot(sdt(s,i)):r?iot(sdt(s,i)):sdt(s,i),a&&(t.c[s.p]=c.gc()),h=c.Kc();h.Ob();)l=zz(h.Pb(),11),t.d[l.p]=u++;wst(n,c)}}function APt(t,e,n){var i,r,a,o,s,c,u,l;for(a=Uv(EB(t.b.Kc().Pb())),u=Uv(EB(Kot(e.b))),i=xL(zO(t.a),u-n),r=xL(zO(e.a),n-a),xL(l=YF(i,r),1/(u-a)),this.a=l,this.b=new Nw,s=!0,(o=t.b.Kc()).Pb();o.Ob();)c=Uv(EB(o.Pb())),s&&c-n>F3t&&(this.b.Fc(n),s=!1),this.b.Fc(c);s&&this.b.Fc(n)}function EPt(t){var e,n,i,r;if(hRt(t,t.n),t.d.c.length>0){for(tx(t.c);mDt(t,zz(t0(new Wd(t.e.a)),121))>5,e&=31,i>=t.d)return t.e<0?(DBt(),Qee):(DBt(),ine);if(a=t.d-i,VTt(r=P8(DNe,hXt,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=zHt((MCt(),JOe),r,e))||((i=n.Zj())>1||-1==i)&&3!=BW(z9(JOe,n))))}function NPt(t,e,n,i){var r,a,o,s,c;return s=SAt(zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82)),c=SAt(zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82)),QQ(s)==QQ(c)||Iet(c,s)?null:(o=ZQ(e))==n?i:(a=zz(FZ(t.a,o),10))&&(r=a.e)?r:null}function PPt(t,e){var n;switch(DAt(e,"Label side selection ("+(n=zz(vEt(t,(HZt(),Qpe)),276))+")",1),n.g){case 0:EDt(t,(Wvt(),kSe));break;case 1:EDt(t,(Wvt(),_Se));break;case 2:lzt(t,(Wvt(),kSe));break;case 3:lzt(t,(Wvt(),_Se));break;case 4:cBt(t,(Wvt(),kSe));break;case 5:cBt(t,(Wvt(),_Se))}HTt(e)}function BPt(t,e,n){var i,r,a,o,s;if((a=t[fk(n,t.length)])[0].k==(cTt(),Ese))for(r=hk(n,a.length),s=e.j,i=0;i0&&(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),V5(t,Gie,a.c+r.b+i[0]-(i[1]-s)/2,i),e==Gie&&(t.c.b=o,t.c.c=a.c+r.b+(o-s)/2)}function VPt(){this.c=P8(PNe,UXt,25,(kYt(),Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe])).length,15,1),this.b=P8(PNe,UXt,25,Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe]).length,15,1),this.a=P8(PNe,UXt,25,Sst(Ux($Ie,1),QJt,61,0,[CIe,uIe,cIe,TIe,SIe]).length,15,1),yT(this.c,RXt),yT(this.b,jXt),yT(this.a,jXt)}function QPt(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=P8(DNe,hXt,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=P8(DNe,hXt,25,i+2,15,1),sqt(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||EOt(t)}}function JPt(t,e,n){var i,r,a,o,s,c,u;for(u=e.d,t.a=new Q6(u.c.length),t.c=new Pw,s=new Wd(u);s.a=0?t._g(u,!1,!0):oMt(t,n,!1),58).Kc();a.Ob();){for(r=zz(a.Pb(),56),l=0;l1;)fBt(r,r.i-1);return i}function sBt(t,e){var n,i,r,a,o,s,c;for(DAt(e,"Comment post-processing",1),a=new Wd(t.b);a.at.d[o.p]&&(n+=t5(t.b,a),p3(t.a,rft(a)));for(;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function hBt(t,e,n){var i,r,a,o;for(a=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,r=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));r.e!=r.i.gc();)0==(!(i=zz(kwt(r),33)).a&&(i.a=new nY(YMe,i,10,11)),i.a).i||(a+=hBt(t,i,!1));if(n)for(o=QQ(e);o;)a+=(!o.a&&(o.a=new nY(YMe,o,10,11)),o.a).i,o=QQ(o);return a}function fBt(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=Nvt(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=Nvt(t,e),t.bj()&&null!=a&&(i=t.dj(a,null))&&i.Fi(),a)}function dBt(t){var e,i,r,a,o,s,c,u,l,h;for(l=t.a,e=new Fm,u=0,r=new Wd(t.d);r.ac.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}function gBt(){gBt=M,lhe=new LC("COMMENTS",0),fhe=new LC("EXTERNAL_PORTS",1),dhe=new LC("HYPEREDGES",2),ghe=new LC("HYPERNODES",3),phe=new LC("NON_FREE_PORTS",4),bhe=new LC("NORTH_SOUTH_PORTS",5),mhe=new LC(G1t,6),uhe=new LC("CENTER_LABELS",7),hhe=new LC("END_LABELS",8),whe=new LC("PARTITIONS",9)}function pBt(t){var e,n,i,r,a;for(r=new Nw,e=new OH((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)aL(Ket((!(n=zz(Y5(i),79)).b&&(n.b=new lR(RMe,n,4,7)),n.b),0),186)||(a=SAt(zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82)),e.a._b(a)||(r.c[r.c.length]=a));return r}function bBt(t){var e,n,i,r,a;for(r=new Fm,e=new OH((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),i=new cG(JL(bLt(t).a.Kc(),new l));bDt(i);)aL(Ket((!(n=zz(Y5(i),79)).b&&(n.b=new lR(RMe,n,4,7)),n.b),0),186)||(a=SAt(zz(Ket((!n.c&&(n.c=new lR(RMe,n,5,8)),n.c),0),82)),e.a._b(a)||r.a.zc(a,r));return r}function wBt(t,e,n,i,r){return i<0?((i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt]),e))<0&&(i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function mBt(t,e,n,i,r){return i<0?((i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt]),e))<0&&(i=YAt(t,r,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"]),e)),!(i<0||(n.k=i,0))):i>0&&(n.k=i-1,!0)}function yBt(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=hK(t,e[0]))&&45!=s)return!1;if(++e[0],(i=ZIt(t,e))<0)return!1;45==s&&(i=-i)}return 32==s&&e[0]-n==2&&2==r.b&&(o=(c=(new DA).q.getFullYear()-lXt+lXt-80)%100,a.a=i==o,i+=100*(c/100|0)+(i=l&&(u=r);u&&(h=n.Math.max(h,u.a.o.a)),h>d&&(f=l,d=h)}return f}function TBt(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=mRt(t.i)),t.j=t.i.length,VZt(t),a=Xpt(t),t.d!=t.j)throw qw(new ox(kWt((sO(),p8t))));if(t.g){for(i=0;im4t?yO(u,t.b):r<=m4t&&r>y4t?yO(u,t.d):r<=y4t&&r>v4t?yO(u,t.c):r<=v4t&&yO(u,t.a),o=MBt(t,u,o);return a}function DBt(){var t;for(DBt=M,Jee=new Z6(1,1),ene=new Z6(1,10),ine=new Z6(0,0),Qee=new Z6(-1,1),tne=Sst(Ux(une,1),lKt,91,0,[ine,Jee,new Z6(1,2),new Z6(1,3),new Z6(1,4),new Z6(1,5),new Z6(1,6),new Z6(1,7),new Z6(1,8),new Z6(1,9),ene]),nne=P8(une,lKt,91,32,0,1),t=0;t1&&(i=new PS(r,n.b),Bq(e.a,i)),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[h,l]))}function RBt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,$5t),"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))),s2(t,$5t,VQt,LIe),s2(t,$5t,yJt,15),s2(t,$5t,xJt,rft(0)),s2(t,$5t,XQt,bJt)}function jBt(){var t,e,n,i,r,a;for(jBt=M,XLe=P8(NNe,y6t,25,255,15,1),VLe=P8(MNe,KKt,25,16,15,1),e=0;e<255;e++)XLe[e]=-1;for(n=57;n>=48;n--)XLe[n]=n-48<<24>>24;for(i=70;i>=65;i--)XLe[i]=i-65+10<<24>>24;for(r=102;r>=97;r--)XLe[r]=r-97+10<<24>>24;for(a=0;a<10;a++)VLe[a]=48+a&VKt;for(t=10;t<=15;t++)VLe[t]=65+t-10&VKt}function $Bt(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>19!=0)return"-"+GBt(sct(t));for(n=t,i="";0!=n.l||0!=n.m||0!=n.h;){if(n=OHt(n,$5(OXt),!0),e=""+A_(dee),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 YBt(){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)}function ZBt(t){var e,n,i,r,a,o,s;for(e=!1,n=0,r=new Wd(t.d.b);r.a=t.a)return-1;if(!iAt(e,i))return-1;if(l3(zz(r.Kb(e),20)))return 1;for(a=0,s=zz(r.Kb(e),20).Kc();s.Ob();){if(-1==(c=XBt(t,(o=zz(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 VBt(t,e){var n,i,r,a,o,s;if(UI(e)===UI(t))return!0;if(!aL(e,15))return!1;if(i=zz(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;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 qw(new Ex("Invalid hexadecimal"))}}function eFt(t,e,n){var i,r,a,o;for(DAt(n,"Processor order nodes",2),t.a=Uv(EB(vEt(e,(IDt(),Pxe)))),r=new VA,o=lwt(e.b,0);o.b!=o.d.c;)Hv(AB(vEt(a=zz(d3(o),86),(UHt(),pxe))))&&r5(r,a,r.c.b,r.c);CP(0!=r.b),jqt(t,i=zz(r.a.a.c,86)),!n.b&&Uit(n,1),qFt(t,i,0-Uv(EB(vEt(i,(UHt(),sxe))))/2,0),!n.b&&Uit(n,1),HTt(n)}function nFt(){nFt=M,Fie=new qT("SPIRAL",0),Oie=new qT("LINE_BY_LINE",1),Lie=new qT("MANHATTAN",2),Die=new qT("JITTER",3),Pie=new qT("QUADRANTS_LINE_BY_LINE",4),Bie=new qT("QUADRANTS_MANHATTAN",5),Nie=new qT("QUADRANTS_JITTER",6),Mie=new qT("COMBINE_LINE_BY_LINE_MANHATTAN",7),Iie=new qT("COMBINE_JITTER_MANHATTAN",8)}function iFt(t,e,n,i){var r,a,o,s,c,u;for(c=Pkt(t,n),u=Pkt(e,n),r=!1;c&&u&&(i||vvt(c,u,n));)o=Pkt(c,n),s=Pkt(u,n),D9(e),D9(t),a=c.c,aUt(c,!1),aUt(u,!1),n?(Vvt(e,u.p,a),e.p=u.p,Vvt(t,c.p+1,a),t.p=c.p):(Vvt(t,c.p,a),t.p=c.p,Vvt(e,u.p+1,a),e.p=u.p),CJ(c,null),CJ(u,null),c=o,u=s,r=!0;return r}function rFt(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 qw(new Dv("Greedy SwitchDecider: Free layer not in graph."));this.c=e[t],this.e=new XR(i),xrt(this.e,this.c,(kYt(),SIe)),this.i=new XR(i),xrt(this.i,this.c,cIe),this.f=new fU(this.c),this.a=!a&&r.i&&!r.s&&this.c[0].k==(cTt(),Ese),this.a&&wCt(this,t,e.length)}function uFt(t,e){var n,i,r,a,o,s;a=!t.B.Hc((ejt(),qIe)),o=t.B.Hc(GIe),t.a=new Hgt(o,a,t.c),t.n&&xX(t.a.n,t.n),kv(t.g,(Fet(),Gie),t.a),e||((i=new Mbt(1,a,t.c)).n.a=t.k,yU(t.p,(kYt(),uIe),i),(r=new Mbt(1,a,t.c)).n.d=t.k,yU(t.p,TIe,r),(s=new Mbt(0,a,t.c)).n.c=t.k,yU(t.p,SIe,s),(n=new Mbt(0,a,t.c)).n.b=t.k,yU(t.p,cIe,n))}function lFt(t){var e,n,i;switch((e=zz(vEt(t.d,(HZt(),Jpe)),218)).g){case 2:n=TZt(t);break;case 3:i=new Nw,QA(DK(OK(gtt(gtt(new FH(null,new g1(t.d.b,16)),new Mr),new Dr),new Or),new wr),new Sp(i)),n=i;break;default:throw qw(new $v("Compaction not supported for "+e+" edges."))}wHt(t,n),n5(new Sd(t.g),new Tp(t))}function hFt(t,e){var n;return n=new Qt,e&&Uot(n,zz(FZ(t.a,BMe),94)),aL(e,470)&&Uot(n,zz(FZ(t.a,FMe),94)),aL(e,354)?(Uot(n,zz(FZ(t.a,GMe),94)),n):(aL(e,82)&&Uot(n,zz(FZ(t.a,RMe),94)),aL(e,239)?(Uot(n,zz(FZ(t.a,YMe),94)),n):aL(e,186)?(Uot(n,zz(FZ(t.a,ZMe),94)),n):(aL(e,352)&&Uot(n,zz(FZ(t.a,jMe),94)),n))}function fFt(){fFt=M,Jae=new ZD((lWt(),wCe),rft(1)),aoe=new ZD(LCe,80),roe=new ZD(TCe,5),$ae=new ZD(aTe,bJt),toe=new ZD(mCe,rft(1)),ioe=new ZD(xCe,(lN(),!0)),Xae=new WD(50),Kae=new ZD(ZTe,Xae),qae=STe,Vae=sCe,zae=new ZD(pTe,!1),Wae=YTe,Zae=HTe,Yae=RTe,Gae=BTe,Qae=hCe,_Tt(),Uae=Iae,ooe=Nae,Hae=Sae,eoe=Dae,noe=Lae}function dFt(t){var e,n,i,r,a,o,s;for(s=new m5,o=new Wd(t.a);o.a0&&e=0)return!1;if(e.p=n.b,Wz(n.e,e),i==(cTt(),Cse)||i==Ise)for(r=new Wd(e.j);r.a1||-1==o)&&(a|=16),0!=(r.Bb&h6t)&&(a|=64)),0!=(n.Bb&qXt)&&(a|=T7t),a|=k6t):aL(e,457)?a|=512:(i=e.Bj())&&0!=(1&i.i)&&(a|=256),0!=(512&t.Bb)&&(a|=128),a}function LFt(t,e){var n,i,r,a,o;for(t=null==t?YWt:(xW(t),t),r=0;rt.d[s.p]&&(n+=t5(t.b,a),p3(t.a,rft(a))):++o;for(n+=t.b.d*o;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function BFt(t,e){var n;return t.f==sLe?(n=BW(z9((MCt(),JOe),e)),t.e?4==n&&e!=(EMt(),fLe)&&e!=(EMt(),uLe)&&e!=(EMt(),lLe)&&e!=(EMt(),hLe):2==n):!(!t.d||!(t.d.Hc(e)||t.d.Hc(J1(z9((MCt(),JOe),e)))||t.d.Hc(zHt((MCt(),JOe),t.b,e))))||!(!t.f||!sNt((MCt(),t.f),kK(z9(JOe,e))))&&(n=BW(z9(JOe,e)),t.e?4==n:2==n)}function FFt(t,e,i,r){var a,o,s,c,u,l,h,f;return u=(s=zz(tOt(i,(lWt(),bCe)),8)).a,h=s.b+t,(a=n.Math.atan2(h,u))<0&&(a+=t4t),(a+=e)>t4t&&(a-=t4t),l=(c=zz(tOt(r,bCe),8)).a,f=c.b+t,(o=n.Math.atan2(f,l))<0&&(o+=t4t),(o+=e)>t4t&&(o-=t4t),lO(),ait(1e-10),n.Math.abs(a-o)<=1e-10||a==o||isNaN(a)&&isNaN(o)?0:ao?1:GM(isNaN(a),isNaN(o))}function RFt(t){var e,n,i,r,a,o,s;for(s=new Pw,i=new Wd(t.a.b);i.a=t.o)throw qw(new Tm);o=e>>5,a=vG(1,pU(vG(31&e,1))),t.n[n][o]=r?i0(t.n[n][o],a):n0(t.n[n][o],sq(a)),a=vG(a,1),t.n[n][o]=i?i0(t.n[n][o],a):n0(t.n[n][o],sq(a))}catch(i){throw aL(i=dst(i),320)?qw(new Dv(TQt+t.o+"*"+t.p+CQt+e+zWt+n+SQt)):qw(i)}}function qFt(t,e,i,r){var a,o;e&&(a=Uv(EB(vEt(e,(UHt(),hxe))))+r,o=i+Uv(EB(vEt(e,sxe)))/2,hct(e,bxe,rft(pU(fot(n.Math.round(a))))),hct(e,wxe,rft(pU(fot(n.Math.round(o))))),0==e.d.b||qFt(t,zz(iL(new gb(lwt(new db(e).a.d,0))),86),i+Uv(EB(vEt(e,sxe)))+t.a,r+Uv(EB(vEt(e,cxe)))),null!=vEt(e,gxe)&&qFt(t,zz(vEt(e,gxe),86),i,r))}function HFt(t,e){var i,r,a,o,s,c,u,l,h,f,d;for(a=2*Uv(EB(vEt(u=mW(e.a),(HZt(),Awe)))),h=Uv(EB(vEt(u,Dwe))),l=n.Math.max(a,h),o=P8(PNe,UXt,25,e.f-e.c+1,15,1),r=-l,i=0,c=e.b.Kc();c.Ob();)s=zz(c.Pb(),10),r+=t.a[s.c.p]+l,o[i++]=r;for(r+=t.a[e.a.c.p]+l,o[i++]=r,d=new Wd(e.e);d.a0&&(!(i=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),i),'"'))),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function ZFt(t){var e,n,i;return 0!=(64&t.Db)?vTt(t):(e=new fN(n6t),(n=t.k)?cM(cM((e.a+=' "',e),n),'"'):(!t.n&&(t.n=new nY(GMe,t,1,7)),t.n.i>0&&(!(i=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),i),'"'))),cM(x_(cM(x_(cM(x_(cM(x_((e.a+=" (",e),t.i),","),t.j)," | "),t.g),","),t.f),")"),e.a)}function WFt(t,e){var n,i,r,a,o,s;if(null==e||0==e.length)return null;if(!(r=zz(TQ(t.a,e),149))){for(i=new Rd(new Md(t.b).a.vc().Kc());i.a.Ob();)if(a=zz(i.a.Pb(),42),o=(n=zz(a.dd(),149)).c,s=e.length,yR(o.substr(o.length-s,s),e)&&(e.length==o.length||46==hK(o,o.length-e.length-1))){if(r)return null;r=n}r&&yJ(t.a,e,r)}return r}function KFt(t,e){var n,i,r;return n=new Nt,(i=zz(C4(OK(new FH(null,new g1(t.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Zne),Yne]))),21).gc())<(r=zz(C4(OK(new FH(null,new g1(e.f,16)),n),P9(new X,new V,new rt,new at,Sst(Ux(tie,1),LKt,132,0,[Zne,Yne]))),21).gc())?-1:i==r?0:1}function XFt(t){var e,n,i;LP(t,(HZt(),Obe))&&((i=zz(vEt(t,Obe),21)).dc()||(n=new VR(e=zz(Kk(USe),9),zz(TF(e,e.length),9),0),i.Hc((eOt(),OSe))?urt(n,OSe):urt(n,LSe),i.Hc(MSe)||urt(n,MSe),i.Hc(ISe)?urt(n,BSe):i.Hc(SSe)?urt(n,PSe):i.Hc(DSe)&&urt(n,NSe),i.Hc(BSe)?urt(n,ISe):i.Hc(PSe)?urt(n,SSe):i.Hc(NSe)&&urt(n,DSe),hct(t,Obe,n)))}function VFt(t){var e,n,i,r,a,o,s;for(r=zz(vEt(t,(hWt(),rfe)),10),f1(0,(i=t.j).c.length),n=zz(i.c[0],11),o=new Wd(r.j);o.ar.p?(USt(a,TIe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=s-e)):a.j==TIe&&r.p>t.p&&(USt(a,uIe),a.d&&(s=a.o.b,e=a.a.b,a.a.b=-(s-e)));break}return r}function QFt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g;if(a=n,n1&&(i=new PS(r,n.b),Bq(e.a,i)),eit(e.a,Sst(Ux(CEe,1),lKt,8,0,[h,l]))}function wRt(t,e,n){var i,r,a,o,s,c;if(e){if(n<=-1){if(aL(i=iet(e.Tg(),-1-n),99))return zz(i,18);for(s=0,c=(o=zz(e.ah(i),153)).gc();s0){for(r=c.length;r>0&&""==c[r-1];)--r;r=40)&&A$t(t),qqt(t),EPt(t),n=xft(t),i=0;n&&i0&&Bq(t.f,a)):(t.c[o]-=u+1,t.c[o]<=0&&t.a[o]>0&&Bq(t.e,a))))}function QRt(t){var e,n,i,r,a,o,s;for(a=new p_(zz(vZ(new Bt),62)),s=jXt,n=new Wd(t.d);n.a=0&&cn?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=zz(Mft(t,e,n),72),s!=c&&Lm(t,new k7(t.e,7,o,rft(s),d.dd(),c)),f}return zz(Mft(t,e,n),72)}function cjt(t,e){var n,i,r,a,o,s;for(DAt(e,"Port order processing",1),s=zz(vEt(t,(HZt(),cwe)),421),n=new Wd(t.b);n.a=0&&(!Ivt(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&&Dct(s),a&&(i?(dee=sct(t),r&&(dee=hst(dee,(Z9(),bee)))):dee=EO(t.l,t.m,t.h)),s}function fjt(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.a0&&(d1(0,t.length),45==t.charCodeAt(0)||(d1(0,t.length),43==t.charCodeAt(0)))?1:0;in)throw qw(new Ex(FXt+t+'"'));return o}function gjt(t){var e,i,r,a,o,s;for(o=new VA,a=new Wd(t.a);a.a1)&&1==e&&zz(t.a[t.b],10).k==(cTt(),Tse)?h$t(zz(t.a[t.b],10),(Wvt(),kSe)):i&&(!n||(t.c-t.b&t.a.length-1)>1)&&1==e&&zz(t.a[t.c-1&t.a.length-1],10).k==(cTt(),Tse)?h$t(zz(t.a[t.c-1&t.a.length-1],10),(Wvt(),_Se)):2==(t.c-t.b&t.a.length-1)?(h$t(zz(Act(t),10),(Wvt(),kSe)),h$t(zz(Act(t),10),_Se)):lLt(t,r),c4(t)}function yjt(t,e,i){var r,a,o,s,c;for(o=0,a=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));a.e!=a.i.gc();)s="",0==(!(r=zz(kwt(a),33)).n&&(r.n=new nY(GMe,r,1,7)),r.n).i||(s=zz(Ket((!r.n&&(r.n=new nY(GMe,r,1,7)),r.n),0),137).a),Uot(c=new out(o++,e,s),r),hct(c,(UHt(),uxe),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),Bq(e.b,c),_St(i.f,r,c)}function vjt(t){var e,n,i,r,a;i=zz(vEt(t,(hWt(),pfe)),33),a=zz(tOt(i,(HZt(),$be)),174).Hc((vpt(),jIe)),t.e||(r=zz(vEt(t,Jhe),21),e=new PS(t.f.a+t.d.b+t.d.c,t.f.b+t.d.d+t.d.a),r.Hc((gBt(),fhe))?(Qwt(i,nwe,(V_t(),ZSe)),jYt(i,e.a,e.b,!1,!0)):Hv(AB(tOt(i,zbe)))||jYt(i,e.a,e.b,!0,!0)),Qwt(i,$be,a?edt(jIe):new VR(n=zz(Kk(VIe),9),zz(TF(n,n.length),9),0))}function xjt(t,e,n){var i,r,a,o;if(e[0]>=t.length)return n.o=0,!0;switch(hK(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=ZIt(t,e))&&e[0]==a)return!1;if(e[0]=0&&s!=n&&(a=new tY(t,1,s,o,null),i?i.Ei(a):i=a),n>=0&&(a=new tY(t,1,n,s==n?o:null,e),i?i.Ei(a):i=a)),i}function Tjt(t){var e,n,i;if(null==t.b){if(i=new Tx,null!=t.i&&(aM(i,t.i),i.a+=":"),0!=(256&t.f)){for(0!=(256&t.f)&&null!=t.a&&(rX(t.i)||(i.a+="//"),aM(i,t.a)),null!=t.d&&(i.a+="/",aM(i,t.d)),0!=(16&t.f)&&(i.a+="/"),e=0,n=t.j.length;eu)&&(c+s+oqt(i,u,!1).a<=e.b&&(w7(n,a-n.s),n.c=!0,w7(i,a-n.s),Emt(i,n.s,n.t+n.d+s),i.k=!0,Bat(n.q,i),l=!0,r&&(nit(e,i),i.j=e,t.c.length>o&&(Ext((f1(o,t.c.length),zz(t.c[o],200)),i),0==(f1(o,t.c.length),zz(t.c[o],200)).a.c.length&&u6(t,o)))),l)}function Ljt(t,e){var n,i,r,a,o;if(DAt(e,"Partition midprocessing",1),r=new wQ,QA(DK(new FH(null,new g1(t.a,16)),new pi),new fp(r)),0!=r.d){for(o=zz(C4(o1(new FH(null,(r.i||(r.i=new qL(r,r.c))).Nc())),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),n=zz((i=o.Kc()).Pb(),19);i.Ob();)a=zz(i.Pb(),19),WLt(zz(l6(r,n),21),zz(l6(r,a),21)),n=a;HTt(e)}}function Njt(t,e,n){var i,r,a,o,s;if(0==e.p){for(e.p=1,(r=n)||(r=new rI(new Nw,new VR(i=zz(Kk($Ie),9),zz(TF(i,i.length),9),0))),zz(r.a,15).Fc(e),e.k==(cTt(),Ese)&&zz(r.b,21).Fc(zz(vEt(e,(hWt(),Xhe)),61)),o=new Wd(e.j);o.a0)if(r=zz(t.Ab.g,1934),null==e){for(a=0;a1)for(i=new Wd(r);i.ai.s&&co&&(o=r,u.c=P8(Ote,HWt,1,0,5,1)),r==o&&Wz(u,new rI(n.c.i,n)));TX(),yO(u,t.c),xU(t.b,s.p,u)}}function Ujt(t,e){var n,i,r,a,o,s,c,u;for(a=new Wd(e.b);a.ao&&(o=r,u.c=P8(Ote,HWt,1,0,5,1)),r==o&&Wz(u,new rI(n.d.i,n)));TX(),yO(u,t.c),xU(t.f,s.p,u)}}function Gjt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,d5t),"ELK Box"),"Algorithm for packing of unconnected boxes, i.e. graphs without edges."),new Bs))),s2(t,d5t,VQt,GEe),s2(t,d5t,yJt,15),s2(t,d5t,mJt,rft(0)),s2(t,d5t,O4t,vwt(jEe)),s2(t,d5t,SJt,vwt(zEe)),s2(t,d5t,CJt,vwt(HEe)),s2(t,d5t,XQt,f5t),s2(t,d5t,_Jt,vwt($Ee)),s2(t,d5t,qJt,vwt(qEe)),s2(t,d5t,g5t,vwt(FEe)),s2(t,d5t,c3t,vwt(REe))}function Yjt(t,e){var n,i,r,a,o,s,c,u,l;if(o=(r=t.i).o.a,a=r.o.b,o<=0&&a<=0)return kYt(),CIe;switch(u=t.n.a,l=t.n.b,s=t.o.a,n=t.o.b,e.g){case 2:case 1:if(u<0)return kYt(),SIe;if(u+s>o)return kYt(),cIe;break;case 4:case 3:if(l<0)return kYt(),uIe;if(l+n>a)return kYt(),TIe}return(c=(u+s/2)/o)+(i=(l+n/2)/a)<=1&&c-i<=0?(kYt(),SIe):c+i>=1&&c-i>=0?(kYt(),cIe):i<.5?(kYt(),uIe):(kYt(),TIe)}function Zjt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(n=!1,c=Uv(EB(vEt(e,(HZt(),Mwe)))),f=jKt*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 Wjt(t,e,n,i,r,a,o){var s,c,u,l,h;for(h=new dD,c=e.Kc();c.Ob();)for(l=new Wd(zz(c.Pb(),839).wf());l.a0?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=(zz(PH(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:qG(t.u)&&((a=$At(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))}function Vjt(t,e){var n;switch(mtt(t)){case 6:return ZI(e);case 7:return YI(e);case 8:return GI(e);case 3:return Array.isArray(e)&&!((n=mtt(e))>=14&&n<=16);case 11:return null!=e&&typeof e===BWt;case 12:return null!=e&&(typeof e===OWt||typeof e==BWt);case 0:return Vwt(e,t.__elementTypeId$);case 2:return BY(e)&&!(e.im===I);case 1:return BY(e)&&!(e.im===I)||Vwt(e,t.__elementTypeId$);default:return!0}}function Qjt(t,e){var i,r,a,o;return r=n.Math.min(n.Math.abs(t.c-(e.c+e.b)),n.Math.abs(t.c+t.b-e.c)),o=n.Math.min(n.Math.abs(t.d-(e.d+e.a)),n.Math.abs(t.d+t.a-e.d)),(i=n.Math.abs(t.c+t.b/2-(e.c+e.b/2)))>t.b/2+e.b/2||(a=n.Math.abs(t.d+t.a/2-(e.d+e.a/2)))>t.a/2+e.a/2?1:0==i&&0==a?0:0==i?o/a+1:0==a?r/i+1:n.Math.min(r/i,o/a)+1}function Jjt(t,e){var i,r,a,o,s,c;return(a=rit(t))==(c=rit(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)*YXt)+1)-(e.d>0?e.d:n.Math.floor((e.a-1)*YXt)+1))>r+1?a:i0&&(s=Ntt(s,kzt(r))),nbt(o,s))):a0&&t.d!=(H9(),Doe)&&(s+=o*(i.d.a+t.a[e.b][i.b]*(e.d.a-i.d.a)/n)),n>0&&t.d!=(H9(),Ioe)&&(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 PS(s/a,e.d.b);case 2:return new PS(e.d.a,c/a);default:return new PS(s/a,c/a)}}function e$t(t,e){var n,i,r,a;if(Yut(),a=zz(vEt(t.i,(HZt(),nwe)),98),0!=t.j.g-e.j.g||a!=(V_t(),YSe)&&a!=WSe&&a!=ZSe)return 0;if(a==(V_t(),YSe)&&(n=zz(vEt(t,iwe),19),i=zz(vEt(e,iwe),19),n&&i&&0!=(r=n.a-i.a)))return r;switch(t.j.g){case 1:return Sft(t.n.a,e.n.a);case 2:return Sft(t.n.b,e.n.b);case 3:return Sft(e.n.a,t.n.a);case 4:return Sft(e.n.b,t.n.b);default:throw qw(new $v(a1t))}}function n$t(t){var e,n,i,r,a;for(Wz(a=new Q6((!t.a&&(t.a=new OL(PMe,t,5)),t.a).i+2),new PS(t.j,t.k)),QA(new FH(null,(!t.a&&(t.a=new OL(PMe,t,5)),new g1(t.a,16))),new Ib(a)),Wz(a,new PS(t.b,t.c)),e=1;e0&&(Zst(c,!1,(zht(),jCe)),Zst(c,!0,$Ce)),Det(e.g,new uC(t,n)),KW(t.g,e,n)}function r$t(){var t;for(r$t=M,Nee=Sst(Ux(DNe,1),hXt,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]),Pee=P8(DNe,hXt,25,37,15,1),Bee=Sst(Ux(DNe,1),hXt,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]),Fee=P8(LNe,zXt,25,37,14,1),t=2;t<=36;t++)Pee[t]=SQ(n.Math.pow(t,Nee[t])),Fee[t]=Dkt(gKt,Pee[t])}function a$t(t){var e;if(1!=(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)throw qw(new jv(q5t+(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i));return e=new xy,gst(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82))&&zrt(e,YZt(t,gst(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)),!1)),gst(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))&&zrt(e,YZt(t,gst(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82)),!0)),e}function o$t(t,e){var n,i,r;for(r=!1,i=new cG(JL((e.d?t.a.c==(bQ(),eve)?fdt(e.b):ddt(e.b):t.a.c==(bQ(),tve)?fdt(e.b):ddt(e.b)).a.Kc(),new l));bDt(i);)if(n=zz(Y5(i),17),(Hv(t.a.f[t.a.g[e.b.p].p])||d5(n)||n.c.i.c!=n.d.i.c)&&!Hv(t.a.n[t.a.g[e.b.p].p])&&!Hv(t.a.n[t.a.g[e.b.p].p])&&(r=!0,$A(t.b,t.a.g[Nyt(n,e.b).p])))return e.c=!0,e.a=n,e;return e.c=r,e.a=null,e}function s$t(t,e,n,i,r){var a,o,s,c,u,l,h;for(TX(),yO(t,new Ws),s=new E2(t,0),h=new Nw,a=0;s.b2*a?(l=new Get(h),u=iU(o)/nU(o),c=xZt(l,e,new dy,n,i,r,u),YF(xM(l.e),c),h.c=P8(Ote,HWt,1,0,5,1),a=0,h.c[h.c.length]=l,h.c[h.c.length]=o,a=iU(l)*nU(l)+iU(o)*nU(o)):(h.c[h.c.length]=o,a+=iU(o)*nU(o));return h}function c$t(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(),kgt(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 $k(i),a=e+i,r=e;r0){for(s=0;s>16==-15&&t.Cb.nh()&&O9(new x7(t.Cb,9,13,n,t.c,cmt(q9(zz(t.Cb,59)),t))):aL(t.Cb,88)&&t.Db>>16==-23&&t.Cb.nh()&&(aL(e=t.c,88)||(wWt(),e=pOe),aL(n,88)||(wWt(),n=pOe),O9(new x7(t.Cb,9,10,n,e,cmt(o4(zz(t.Cb,26)),t)))))),t.c}function g$t(t,e){var n,i,r,a,o,s,c,u;for(DAt(e,"Hypernodes processing",1),i=new Wd(t.b);i.an);return r}function m$t(t,e){var n,i,r;i=0!=HOt(t.d,1),!Hv(AB(vEt(e.j,(hWt(),Qhe))))&&!Hv(AB(vEt(e.j,Ife)))||UI(vEt(e.j,(HZt(),Lpe)))===UI((vct(),Nme))?e.c.Tf(e.e,i):i=Hv(AB(vEt(e.j,Qhe))),FNt(t,e,i,!0),Hv(AB(vEt(e.j,Ife)))&&hct(e.j,Ife,(lN(),!1)),Hv(AB(vEt(e.j,Qhe)))&&(hct(e.j,Qhe,(lN(),!1)),hct(e.j,Ife,!0)),n=eSt(t,e);do{if(Lrt(t),0==n)return 0;r=n,FNt(t,e,i=!i,!1),n=eSt(t,e)}while(r>n);return r}function y$t(t,e,n){var i,r,a,o,s,c,u;if(e==n)return!0;if(e=gDt(t,e),n=gDt(t,n),i=Umt(e)){if((c=Umt(n))!=i)return!!c&&(o=i.Dj())==c.Dj()&&null!=o;if(!e.d&&(e.d=new OL(KDe,e,1)),r=(a=e.d).i,!n.d&&(n.d=new OL(KDe,n,1)),r==(u=n.d).i)for(s=0;s0,s=Pdt(e,a),RN(n?s.b:s.g,e),1==kdt(s).c.length&&r5(i,s,i.c.b,i.c),r=new rI(a,e),p3(t.o,r),v9(t.e.a,a))}function E$t(t,e){var i,r,a,o;return r=n.Math.abs(HG(t.b).a-HG(e.b).a),o=n.Math.abs(HG(t.b).b-HG(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 T$t(t){var e,n,i;for(eYt(t,t.e,t.f,(pQ(),Lve),!0,t.c,t.i),eYt(t,t.e,t.f,Lve,!1,t.c,t.i),eYt(t,t.e,t.f,Nve,!0,t.c,t.i),eYt(t,t.e,t.f,Nve,!1,t.c,t.i),M$t(t,t.c,t.e,t.f,t.i),n=new E2(t.i,0);n.b=65;n--)WLe[n]=n-65<<24>>24;for(i=122;i>=97;i--)WLe[i]=i-97+26<<24>>24;for(r=57;r>=48;r--)WLe[r]=r-48+52<<24>>24;for(WLe[43]=62,WLe[47]=63,a=0;a<=25;a++)KLe[a]=65+a&VKt;for(o=26,c=0;o<=51;++o,c++)KLe[o]=97+c&VKt;for(t=52,s=0;t<=61;++t,s++)KLe[t]=48+s&VKt;KLe[62]=43,KLe[63]=47}function I$t(t,e){var i,r,a,o,s,c,u,l,h,f,d;if(t.dc())return new Uk;for(u=0,h=0,r=t.Kc();r.Ob();)a=zz(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)*Uv(EB(vEt(zz(t.Kc().Pb(),37),(HZt(),_pe))))),f=0,d=0,c=0,i=e,s=t.Kc();s.Ob();)f+(l=(o=zz(s.Pb(),37)).f).a>u&&(f=0,d+=c+e,c=0),tRt(o,f,d),i=n.Math.max(i,f+l.a),c=n.Math.max(c,l.b),f+=l.a+e;return new PS(i+e,d+c+e)}function M$t(t,e,n,i,r){var a,o,s,c,u,l,h;for(o=new Wd(e);o.aa)return kYt(),cIe;break;case 4:case 3:if(c<0)return kYt(),uIe;if(c+t.f>r)return kYt(),TIe}return(o=(s+t.g/2)/a)+(n=(c+t.f/2)/r)<=1&&o-n<=0?(kYt(),SIe):o+n>=1&&o-n>=0?(kYt(),cIe):n<.5?(kYt(),uIe):(kYt(),TIe)}function O$t(t,e,n,i,r){var a,o;if(a=adt(n0(e[0],ZXt),n0(i[0],ZXt)),t[0]=pU(a),a=xG(a,32),n>=r){for(o=1;o0&&(r.b[o++]=0,r.b[o++]=a.b[0]-1),e=1;e0&&(Kf(c,c.d-r.d),r.c==(M6(),Ave)&&Zf(c,c.a-r.d),c.d<=0&&c.i>0&&r5(e,c,e.c.b,e.c));for(a=new Wd(t.f);a.a0&&(Xf(s,s.i-r.d),r.c==(M6(),Ave)&&Wf(s,s.b-r.d),s.i<=0&&s.d>0&&r5(n,s,n.c.b,n.c))}function B$t(t,e,n){var i,r,a,o,s,c,u,l;for(DAt(n,"Processor compute fanout",1),OY(t.b),OY(t.a),s=null,a=lwt(e.b,0);!s&&a.b!=a.d.c;)Hv(AB(vEt(u=zz(d3(a),86),(UHt(),pxe))))&&(s=u);for(r5(c=new VA,s,c.c.b,c.c),_Yt(t,c),l=lwt(e.b,0);l.b!=l.d.c;)o=TB(vEt(u=zz(d3(l),86),(UHt(),rxe))),r=null!=TQ(t.b,o)?zz(TQ(t.b,o),19).a:0,hct(u,ixe,rft(r)),i=1+(null!=TQ(t.a,o)?zz(TQ(t.a,o),19).a:0),hct(u,exe,rft(i));HTt(n)}function F$t(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(h=x_t(t,n),s=0;s0),i.a.Xb(i.c=--i.b),l>h+s&&hW(i);for(a=new Wd(f);a.a0),i.a.Xb(i.c=--i.b)}}function R$t(){var t,e,n,i,r,a;if(pWt(),SNe)return SNe;for(lqt(t=new E0(4),tZt(mte,!0)),KUt(t,tZt("M",!0)),KUt(t,tZt("C",!0)),a=new E0(4),i=0;i<11;i++)QPt(a,i,i);return lqt(e=new E0(4),tZt("M",!0)),QPt(e,4448,4607),QPt(e,65438,65439),nHt(r=new rO(2),t),nHt(r,uNe),(n=new rO(2)).$l(bU(a,tZt("L",!0))),n.$l(e),n=new l4(3,n),n=new YY(r,n),SNe=n}function j$t(t){var e,n;if(!Qat(e=TB(tOt(t,(lWt(),nTe))),t)&&!C8(t,yCe)&&(0!=(!t.a&&(t.a=new nY(YMe,t,10,11)),t.a).i||Hv(AB(tOt(t,TTe))))){if(null!=e&&0!=REt(e).length)throw wGt(t,n=cM(cM(new fN("Layout algorithm '"),e),"' not found for ")),qw(new rx(n.a));if(!Qat(p1t,t))throw wGt(t,n=cM(cM(new fN("Unable to load default layout algorithm "),p1t)," for unconfigured node ")),qw(new rx(n.a))}}function $$t(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),YU(t.a[1],i.c+e.b+r[0]-(r[1]-f)/2,r[1]);for(c=0,l=(o=t.a).length;c0?(t.n.c.length-1)*t.i:0,i=new Wd(t.n);i.a1)for(i=lwt(r,0);i.b!=i.d.c;)for(a=0,s=new Wd((n=zz(d3(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),ZU(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 qw(new jv(s8t));for(r=0,c=0;c0||0==Mdt(a.b.d,t.b.d+t.b.a)&&r.b<0||0==Mdt(a.b.d+a.b.a,t.b.d)&&r.b>0){c=0;break}}else c=n.Math.min(c,HSt(t,a,r));c=n.Math.min(c,K$t(t,o,c,r))}return c}function X$t(t,e){var n,i,r,a,o,s;if(t.b<2)throw qw(new jv("The vector chain must contain at least a source and a target point."));for(CP(0!=t.b),SD(e,(i=zz(t.a.a.c,8)).a,i.b),s=new aP((!e.a&&(e.a=new OL(PMe,e,5)),e.a)),a=lwt(t,1);a.aUv(fL(o.g,o.d[0]).a)?(CP(c.b>0),c.a.Xb(c.c=--c.b),vF(c,o),r=!0):s.e&&s.e.gc()>0&&(a=(!s.e&&(s.e=new Nw),s.e).Mc(e),u=(!s.e&&(s.e=new Nw),s.e).Mc(n),(a||u)&&((!s.e&&(s.e=new Nw),s.e).Fc(o),++o.c));r||(i.c[i.c.length]=o)}function ozt(t){var e,n,i;if(mD(zz(vEt(t,(HZt(),nwe)),98)))for(n=new Wd(t.j);n.a>>0).toString(16),e.length-2,e.length):t>=qXt?"\\v"+hP(e="0"+(t>>>0).toString(16),e.length-6,e.length):""+String.fromCharCode(t&VKt)}return n}function czt(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 fY(-e.e,e.d,e.a);if((a=t.d)+(s=e.d)==2)return n=n0(t.a[0],ZXt),i=n0(e.a[0],ZXt),o<0&&(n=k9(n)),c<0&&(i=k9(i)),ewt(rdt(n,i));if(-1==(r=a!=s?a>s?1:-1:Tut(t.a,e.a,a)))h=-c,l=o==c?p6(e.a,s,t.a,a):N8(e.a,s,t.a,a);else if(h=o,o==c){if(0==r)return DBt(),ine;l=p6(t.a,a,e.a,s)}else l=N8(t.a,a,e.a,s);return Z0(u=new fY(h,l.length,l)),u}function uzt(t){var e,n,i,r,a,o;for(this.e=new Nw,this.a=new Nw,n=t.b-1;n<3;n++)RP(t,0,zz(Fwt(t,0),8));if(t.b<4)throw qw(new jv("At (least dimension + 1) control points are necessary!"));for(this.b=3,this.d=!0,this.c=!1,MOt(this,t.b+this.b-1),o=new Nw,a=new Wd(this.e),e=0;e=e.o&&n.f<=e.f||.5*e.a<=n.f&&1.5*e.a>=n.f){if((a=zz(PH(e.n,e.n.c.length-1),211)).e+a.d+n.g+r<=i&&(zz(PH(e.n,e.n.c.length-1),211).f-t.f+n.f<=t.b||1==t.a.c.length))return xdt(e,n),!0;if(e.s+n.g<=i&&(e.t+e.d+n.f+r<=t.b||1==t.a.c.length))return Wz(e.b,n),o=zz(PH(e.n,e.n.c.length-1),211),Wz(e.n,new FQ(e.s,o.f+o.a+e.i,e.i)),lyt(zz(PH(e.n,e.n.c.length-1),211),n),q$t(e,n),!0}return!1}function fzt(t,e,n){var i,r,a,o;return t.ej()?(r=null,a=t.fj(),i=t.Zi(1,o=ctt(t,e,n),n,e,a),t.bj()&&!(t.ni()&&null!=o?Pht(o,n):UI(o)===UI(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=ctt(t,e,n),t.bj()&&!(t.ni()&&null!=o?Pht(o,n):UI(o)===UI(n))&&(r=null,null!=o&&(r=t.dj(o,null)),(r=t.cj(n,r))&&r.Fi()),o)}function dzt(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 gzt(t,e){var n,i,r,a;if(DAt(e,"Path-Like Graph Wrapping",1),0!=t.b.c.length)if(null==(r=new TDt(t)).i&&(r.i=Krt(r,new xa)),n=Uv(r.i)*r.f/(null==r.i&&(r.i=Krt(r,new xa)),Uv(r.i)),r.b>n)HTt(e);else{switch(zz(vEt(t,(HZt(),zwe)),337).g){case 2:a=new Aa;break;case 0:a=new ga;break;default:a=new Ea}if(i=a.Vf(t,r),!a.Wf())switch(zz(vEt(t,Zwe),338).g){case 2:i=WSt(r,i);break;case 1:i=jAt(r,i)}rHt(t,r,i),HTt(e)}else HTt(e)}function pzt(t,e){var n,i,r,a;if(h1(t.d,t.e),t.c.a.$b(),0!=Uv(EB(vEt(e.j,(HZt(),Ipe))))||0!=Uv(EB(vEt(e.j,Ipe))))for(n=tJt,UI(vEt(e.j,Lpe))!==UI((vct(),Nme))&&hct(e.j,(hWt(),Qhe),(lN(),!0)),a=zz(vEt(e.j,Pwe),19).a,r=0;r(f1(a+1,e.c.length),zz(e.c[a+1],19)).a-i&&++s,Wz(r,(f1(a+s,e.c.length),zz(e.c[a+s],19))),o+=(f1(a+s,e.c.length),zz(e.c[a+s],19)).a-i,++n;n1&&(c>iU(s)*nU(s)/2||0==o.b)&&(h=new Get(f),l=iU(s)/nU(s),u=xZt(h,e,new dy,n,i,r,l),YF(xM(h.e),u),s=h,d.c[d.c.length]=h,c=0,f.c=P8(Ote,HWt,1,0,5,1)));return wst(d,f),d}function vzt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(n.mh(e)&&(l=(d=e)?zz(i,49).xh(d):null))if(p=n.bh(e,t.a),(g=e.t)>1||-1==g)if(h=zz(p,69),f=zz(l,69),h.dc())f.$b();else for(o=!!Imt(e),a=0,s=t.a?h.Kc():h.Zh();s.Ob();)u=zz(s.Pb(),56),(r=zz(ftt(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=ftt(t,p))?t.b&&!Imt(e)&&l.Wb(p):l.Wb(r)}function xzt(t,e){var i,r,a,o,s,c,u,h;for(i=new Ln,a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)if(!d5(r=zz(Y5(a),17))&&iAt(c=r.c.i,Zse)){if(-1==(h=XBt(t,c,Zse,Yse)))continue;i.b=n.Math.max(i.b,h),!i.a&&(i.a=new Nw),Wz(i.a,c)}for(s=new cG(JL(ddt(e).a.Kc(),new l));bDt(s);)if(!d5(o=zz(Y5(s),17))&&iAt(u=o.d.i,Yse)){if(-1==(h=XBt(t,u,Yse,Zse)))continue;i.d=n.Math.max(i.d,h),!i.c&&(i.c=new Nw),Wz(i.c,u)}return i}function kzt(t){var e,n,i,r;if(LMt(),e=SQ(t),t1e6)throw qw(new Mv("power of ten too big"));if(t<=FWt)return U5(cMt(sne[1],e),e);for(r=i=cMt(sne[1],FWt),n=fot(t-FWt),e=SQ(t%FWt);Xlt(n,FWt)>0;)r=Ntt(r,i),n=rdt(n,FWt);for(r=U5(r=Ntt(r,cMt(sne[1],e)),FWt),n=fot(t-FWt);Xlt(n,FWt)>0;)r=U5(r,FWt),n=rdt(n,FWt);return r=U5(r,e)}function _zt(t,e){var n,i,r,a,o,s,c,u;for(DAt(e,"Hierarchical port dummy size processing",1),s=new Nw,u=new Nw,n=2*Uv(EB(vEt(t,(HZt(),xwe)))),r=new Wd(t.b);r.au&&i>u)){r=!1,n.n&&Mq(n,"bk node placement breaks on "+s+" which should have been after "+l);break}l=s,u=Uv(e.p[s.p])+Uv(e.d[s.p])+s.o.b+s.d.a}if(!r)break}return n.n&&Mq(n,e+" is feasible: "+r),r}function Dzt(t,e,n,i){var r,a,o,s,c,u,l;for(s=-1,l=new Wd(t);l.a=b&&t.e[u.p]>g*t.b||y>=i*b)&&(f.c[f.c.length]=c,c=new Nw,zrt(s,o),o.a.$b(),l-=h,d=n.Math.max(d,l*t.b+p),l+=y,m=y,y=0,h=0,p=0);return new rI(d,f)}function Pzt(t){var e,n,i,r,a,o,s,c,u,l,h,f;for(n=new Rd(new Md(t.c.b).a.vc().Kc());n.a.Ob();)s=zz(n.a.Pb(),42),null==(r=(e=zz(s.dd(),149)).a)&&(r=""),!(i=jB(t.c,r))&&0==r.length&&(i=xht(t)),i&&!xgt(i.c,e,!1)&&Bq(i.c,e);for(o=lwt(t.a,0);o.b!=o.d.c;)a=zz(d3(o),478),u=A5(t.c,a.a),f=A5(t.c,a.b),u&&f&&Bq(u.c,new rI(f,a.c));for(vX(t.a),h=lwt(t.b,0);h.b!=h.d.c;)l=zz(d3(h),478),e=RB(t.c,l.a),c=A5(t.c,l.b),e&&c&&BE(e,c,l.c);vX(t.b)}function Bzt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;a=new Cf(t),p5((o=new bxt).g),p5(o.j),OY(o.b),p5(o.d),p5(o.i),OY(o.k),OY(o.c),OY(o.e),d=gIt(o,a,null),DOt(o,a),r=d,e&&(s=iqt(u=new Cf(e)),yTt(r,Sst(Ux(tEe,1),HWt,527,0,[s]))),f=!1,h=!1,n&&(u=new Cf(n),d8t in u.a&&(f=GQ(u,d8t).ge().a),g8t in u.a&&(h=GQ(u,g8t).ge().a)),l=Ok(znt(new Zy,f),h),qTt(new ls,r,l),d8t in a.a&&ret(a,d8t,null),(f||h)&&(ezt(l,c=new wv,f,h),ret(a,d8t,c)),i=new Zb(o),Zct(new MD(r),i)}function Fzt(t,e,n){var i,r,a,o,s,c,u,l,h;for(o=new Qxt,u=Sst(Ux(DNe,1),hXt,25,15,[0]),r=-1,a=0,i=0,c=0;c0)){if(r=-1,32==hK(l.c,0)){if(h=u[0],vtt(e,u),u[0]>h)continue}else if(OV(e,l.c,u[0])){u[0]+=l.c.length;continue}return 0}if(r<0&&l.a&&(r=c,a=u[0],i=0),r>=0){if(s=l.b,c==r&&0==(s-=i++))return 0;if(!NYt(e,u,l,s,o)){c=r-1,u[0]=a;continue}}else if(r=-1,!NYt(e,u,l,0,o))return 0}return bYt(o,n)?u[0]:0}function Rzt(t){var e,n,i,r,a,o;if(!t.f){if(o=new Ec,a=new Ec,null==(e=COe).a.zc(t,e)){for(r=new DL(xV(t));r.e!=r.i.gc();)wZ(o,Rzt(zz(kwt(r),26)));e.a.Bc(t),e.a.gc()}for(!t.s&&(t.s=new nY($De,t,21,17)),i=new DL(t.s);i.e!=i.i.gc();)aL(n=zz(kwt(i),170),99)&&h7(a,zz(n,18));olt(a),t.r=new Aq(t,(zz(Ket(XX((XZ(),eOe).o),6),18),a.i),a.g),wZ(o,t.r),olt(o),t.f=new NM((zz(Ket(XX(eOe.o),5),18),o.i),o.g),C5(t).b&=-3}return t.f}function jzt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(o=t.o,i=P8(DNe,hXt,25,o,15,1),r=P8(DNe,hXt,25,o,15,1),n=t.p,e=P8(DNe,hXt,25,n,15,1),a=P8(DNe,hXt,25,n,15,1),u=0;u=0&&!yyt(t,l,h);)--h;r[l]=h}for(d=0;d=0&&!yyt(t,s,g);)--s;a[g]=s}for(c=0;ce[f]&&fi[c]&&zFt(t,c,f,!1,!0)}function $zt(t){var e,n,i,r,a,o,s,c;n=Hv(AB(vEt(t,(fFt(),zae)))),a=t.a.c.d,s=t.a.d.d,n?(o=xL(ZF(new PS(s.a,s.b),a),.5),c=xL(zO(t.e),.5),e=ZF(YF(new PS(a.a,a.b),o),c),qP(t.d,e)):(r=Uv(EB(vEt(t.a,roe))),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 zzt(t,e){var n,i,r,a,o,s,c;if(null==t)return null;if(0==(a=t.length))return"";for(c=P8(MNe,KKt,25,a,15,1),j8(0,a,t.length),j8(0,a,c.length),VY(t,0,a,c,0),n=null,s=e,r=0,o=0;r0?hP(n.a,0,a-1):"":t.substr(0,a-1):n?n.a:t}function qzt(t){NE(t,new TAt(mk(gk(wk(bk(new bs,ZQt),"ELK DisCo"),"Layouter for arranging unconnected subgraphs. The subgraphs themselves are, by default, not laid out."),new ae))),s2(t,ZQt,WQt,vwt(_ae)),s2(t,ZQt,KQt,vwt(wae)),s2(t,ZQt,XQt,vwt(fae)),s2(t,ZQt,VQt,vwt(mae)),s2(t,ZQt,WVt,vwt(xae)),s2(t,ZQt,KVt,vwt(vae)),s2(t,ZQt,ZVt,vwt(kae)),s2(t,ZQt,XVt,vwt(yae)),s2(t,ZQt,qQt,vwt(gae)),s2(t,ZQt,HQt,vwt(dae)),s2(t,ZQt,UQt,vwt(pae)),s2(t,ZQt,GQt,vwt(bae))}function Hzt(t,e,n,i){var r,a,o,s,c,u,l;if(zf(a=new Lmt(t),(cTt(),Ise)),hct(a,(HZt(),nwe),(V_t(),ZSe)),r=0,e){for(hct(o=new ITt,(hWt(),pfe),e),hct(a,pfe,e.i),USt(o,(kYt(),SIe)),SJ(o,a),u=0,l=(c=J0(e.e)).length;u0)if((i-=r.length-e)>=0){for(a.a+="0.";i>Uee.length;i-=Uee.length)NH(a,Uee);bF(a,Uee,SQ(i)),cM(a,r.substr(e))}else cM(a,hP(r,e,SQ(i=e-i))),a.a+=".",cM(a,tM(r,SQ(i)));else{for(cM(a,r.substr(e));i<-Uee.length;i+=Uee.length)NH(a,Uee);bF(a,Uee,SQ(-i))}return a.a}function Yzt(t,e,i,r){var a,o,s,c,u,l,h,f,d;return l=(u=ZF(new PS(i.a,i.b),t)).a*e.b-u.b*e.a,h=e.a*r.b-e.b*r.a,f=(u.a*r.b-u.b*r.a)/h,d=l/h,0==h?0==l?(o=W8(t,a=YF(new PS(i.a,i.b),xL(new PS(r.a,r.b),.5))),s=W8(YF(new PS(t.a,t.b),e),a),c=.5*n.Math.sqrt(r.a*r.a+r.b*r.b),o=0&&f<=1&&d>=0&&d<=1?YF(new PS(t.a,t.b),xL(new PS(e.a,e.b),f)):null}function Zzt(t,e,n){var i,r,a,o,s;if(i=zz(vEt(t,(HZt(),Npe)),21),n.a>e.a&&(i.Hc((p_t(),WEe))?t.c.a+=(n.a-e.a)/2:i.Hc(XEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((p_t(),QEe))?t.c.b+=(n.b-e.b)/2:i.Hc(VEe)&&(t.c.b+=n.b-e.b)),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),fhe))&&(n.a>e.a||n.b>e.b))for(s=new Wd(t.a);s.ae.a&&(i.Hc((p_t(),WEe))?t.c.a+=(n.a-e.a)/2:i.Hc(XEe)&&(t.c.a+=n.a-e.a)),n.b>e.b&&(i.Hc((p_t(),QEe))?t.c.b+=(n.b-e.b)/2:i.Hc(VEe)&&(t.c.b+=n.b-e.b)),zz(vEt(t,(hWt(),Jhe)),21).Hc((gBt(),fhe))&&(n.a>e.a||n.b>e.b))for(o=new Wd(t.a);o.ae&&(r=0,a+=u.b+n,l.c[l.c.length]=u,nit(u=new P0(a,n),i=new sut(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?xdt(i,s):(nit(u,o=new sut(i.s+i.r+n,u.f,u,n)),xdt(o,s)),r=s.i+s.g;return l.c[l.c.length]=u,l}function Qzt(t){var e,n,i,r,a,o;if(!t.a){if(t.o=null,o=new bw(t),e=new Tc,null==(n=COe).a.zc(t,n)){for(a=new DL(xV(t));a.e!=a.i.gc();)wZ(o,Qzt(zz(kwt(a),26)));n.a.Bc(t),n.a.gc()}for(!t.s&&(t.s=new nY($De,t,21,17)),r=new DL(t.s);r.e!=r.i.gc();)aL(i=zz(kwt(r),170),322)&&h7(e,zz(i,34));olt(e),t.k=new _q(t,(zz(Ket(XX((XZ(),eOe).o),7),18),e.i),e.g),wZ(o,t.k),olt(o),t.a=new NM((zz(Ket(XX(eOe.o),4),18),o.i),o.g),C5(t).b&=-2}return t.a}function Jzt(t,e,n,i,r,a,o){var s,c,u,l,h;return l=!1,s=bNt(n.q,e.f+e.b-n.q.f),!((h=r-(n.q.e+s-o))=(f1(a,t.c.length),zz(t.c[a],200)).e,!((u=oqt(i,h,!1).a)>e.b&&!c)&&((c||u<=e.b)&&(c&&u>e.b?(n.d=u,w7(n,zTt(n,u))):(s_t(n.q,s),n.c=!0),w7(i,r-(n.s+n.r)),Emt(i,n.q.e+n.q.d,e.f),nit(e,i),t.c.length>a&&(Ext((f1(a,t.c.length),zz(t.c[a],200)),i),0==(f1(a,t.c.length),zz(t.c[a],200)).a.c.length&&u6(t,a)),l=!0),l))}function tqt(t,e,n,i){var r,a,o,s,c,u,l;if(l=sPt(t.e.Tg(),e),r=0,a=zz(t.g,119),c=null,JE(),zz(e,66).Oj()){for(s=0;st.o.a&&(h=(u-t.o.a)/2,c.b=n.Math.max(c.b,h),c.c=n.Math.max(c.c,h))}}function iqt(t){var e,n,i,r,a,o;for(aD(r=new F0,(Pst(),QAe)),i=new Td(new Qv(new AA(t,_rt(t,P8(Vee,lKt,2,0,6,1))).b));i.b0?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,Wz(t.n,new FQ(t.s,s,t.i))),c=0),d+=l.g+(c>0?t.i:0),u=n.Math.max(u,l.f),i&&lyt(zz(PH(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,xvt(t.j)),new YK(t.s,t.t,a,r)}function sqt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;if(OA(),TY(t,"src"),TY(n,"dest"),f=nut(t),c=nut(n),wq(0!=(4&f.i),"srcType is not an array"),wq(0!=(4&c.i),"destType is not an array"),h=f.c,o=c.c,wq(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 qw(new hm);if(0==(1&h.i)&&f!=c)if(l=int(t),a=int(n),UI(t)===UI(n)&&ei;)OZ(a,s,l[--e]);else for(s=i+r;i0&&$St(t,e,n,i,r,!0)}function cqt(){cqt=M,ane=Sst(Ux(DNe,1),hXt,25,15,[$Kt,1162261467,DKt,1220703125,362797056,1977326743,DKt,387420489,OXt,214358881,429981696,815730721,1475789056,170859375,268435456,410338673,612220032,893871739,128e7,1801088541,113379904,148035889,191102976,244140625,308915776,387420489,481890304,594823321,729e6,887503681,DKt,1291467969,1544804416,1838265625,60466176]),one=Sst(Ux(DNe,1),hXt,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 uqt(t){var e,n,i,r,a,o,s;for(i=new Wd(t.b);i.a=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?t.i:0)),++e;for(egt(t.n,u),t.d=i,t.r=r,t.g=0,t.f=0,t.e=0,t.o=RXt,t.p=RXt,o=new Wd(t.b);o.a0&&(!(r=(!t.n&&(t.n=new nY(GMe,t,1,7)),zz(Ket(t.n,0),137)).a)||cM(cM((e.a+=' "',e),r),'"'))),!t.b&&(t.b=new lR(RMe,t,4,7)),n=!(t.b.i<=1&&(!t.c&&(t.c=new lR(RMe,t,5,8)),t.c.i<=1)),e.a+=n?" [":" ",cM(e,QL(new yx,new DL(t.b))),n&&(e.a+="]"),e.a+=i1t,n&&(e.a+="["),cM(e,QL(new yx,new DL(t.c))),n&&(e.a+="]"),e.a)}function gqt(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=UM(o,QAt(91)))?(c=o.substr(a),e.a+=""+hP(null==o?YWt:(xW(o),o),0,a)):e.a+=""+o),t.d&&0!=t.d.i){for(r=!0,e.a+="<",i=new DL(t.d);i.e!=i.i.gc();)n=zz(kwt(i),87),r?r=!1:e.a+=zWt,gqt(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 ",gqt(t.b,e)):t.f&&(e.a+=" extends ",gqt(t.f,e)))}function pqt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;for(v=t.c,x=e.c,n=_9(v.a,t,0),i=_9(x.a,e,0),m=zz(Bgt(t,(sit(),qme)).Kc().Pb(),11),A=zz(Bgt(t,Hme).Kc().Pb(),11),y=zz(Bgt(e,qme).Kc().Pb(),11),E=zz(Bgt(e,Hme).Kc().Pb(),11),b=J0(m.e),k=J0(A.g),w=J0(y.e),_=J0(E.g),Vvt(t,i,x),u=0,d=(a=w).length;ul?new GJ((M6(),Eve),i,e,u-l):u>0&&l>0&&(new GJ((M6(),Eve),e,i,0),new GJ(Eve,i,e,0))),o)}function mqt(t,e){var i,r,a,o,s;for(s=new cut(new Cd(t.f.b).a);s.b;){if(a=zz((o=nnt(s)).cd(),594),1==e){if(a.gf()!=(zht(),qCe)&&a.gf()!=RCe)continue}else if(a.gf()!=(zht(),jCe)&&a.gf()!=$Ce)continue;switch(r=zz(zz(o.dd(),46).b,81),i=zz(zz(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 yqt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(c=P8(DNe,hXt,25,e.b.c.length,15,1),l=P8(Ose,LKt,267,e.b.c.length,0,1),u=P8(Mse,s1t,10,e.b.c.length,0,1),d=0,g=(f=t.a).length;d0&&u[r]&&(p=RO(t.b,u[r],a)),b=n.Math.max(b,a.c.c.b+p);for(o=new Wd(h.e);o.a1)throw qw(new jv(M9t));c||(a=J3(e,i.Kc().Pb()),o.Fc(a))}return uct(t,ACt(t,e,n),o)}function Aqt(t,e){var n,i,r,a;for(Vet(e.b.j),QA(OK(new FH(null,new g1(e.d,16)),new aa),new oa),a=new Wd(e.d);a.at.o.b)return!1;if(n=sdt(t,cIe),e.d+e.a+(n.gc()-1)*r>t.o.b)return!1}return!0}function Lqt(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=n0(t.a[0],ZXt),i=n0(e.a[0],ZXt),o==c?(g=pU(l=adt(n,i)),0==(d=pU(kG(l,32)))?new Z6(o,g):new fY(o,2,Sst(Ux(DNe,1),hXt,25,15,[g,d]))):ewt(o<0?rdt(i,n):rdt(n,i));if(o==c)f=o,h=a>=s?N8(t.a,a,e.a,s):N8(e.a,s,t.a,a);else{if(0==(r=a!=s?a>s?1:-1:Tut(t.a,e.a,a)))return DBt(),ine;1==r?(f=o,h=p6(t.a,a,e.a,s)):(f=c,h=p6(e.a,s,t.a,a))}return Z0(u=new fY(f,h.length,h)),u}function Nqt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g;return f=Hv(AB(vEt(e,(HZt(),Mbe)))),d=null,o==(sit(),qme)&&r.c.i==i?d=r.c:o==Hme&&r.d.i==i&&(d=r.d),(l=s)&&f&&!d?(Wz(l.e,r),g=n.Math.max(Uv(EB(vEt(l.d,obe))),Uv(EB(vEt(r,obe)))),hct(l.d,obe,g)):(kYt(),h=CIe,d?h=d.j:mD(zz(vEt(i,nwe),98))&&(h=o==qme?SIe:cIe),u=Bqt(t,e,i,o,h,r),c=W5((mW(i),r)),o==qme?(TJ(c,zz(PH(u.j,0),11)),EJ(c,a)):(TJ(c,a),EJ(c,zz(PH(u.j,0),11))),l=new Yht(r,c,u,zz(vEt(u,(hWt(),pfe)),11),o,!d)),JIt(t.a,r,new Lj(l.d,e,o)),l}function Pqt(t,e){var n,i,r,a,o,s,c,u,l,h;if(l=null,t.d&&(l=zz(TQ(t.d,e),138)),!l){if(h=(a=t.a.Mh()).i,!t.d||NA(t.d)!=h){for(c=new Pw,t.d&&Eat(c,t.d),s=u=c.f.c+c.g.c;s0?(d=(g-1)*n,s&&(d+=i),l&&(d+=i),d=t.b[r+1])r+=2;else{if(!(n0)for(i=new ej(zz(l6(t.a,a),21)),TX(),yO(i,new jg(e)),r=new E2(a.b,0);r.bx)?(u=2,s=FWt):0==u?(u=1,s=_):(u=0,s=_):(d=_>=s||s-_0?1:GM(isNaN(r),isNaN(0)))>=0^(ait(O3t),(n.Math.abs(c)<=O3t||0==c||isNaN(c)&&isNaN(0)?0:c<0?-1:c>0?1:GM(isNaN(c),isNaN(0)))>=0)?n.Math.max(c,r):(ait(O3t),(n.Math.abs(r)<=O3t||0==r||isNaN(r)&&isNaN(0)?0:r<0?-1:r>0?1:GM(isNaN(r),isNaN(0)))>0?n.Math.sqrt(c*c+r*r):-n.Math.sqrt(c*c+r*r))}function nHt(t,e){var n,i,r,a,o;if(e)if(!t.a&&(t.a=new jm),2!=t.e)if(1!=e.e)0!=(o=t.a.a.c.length)?0!=(a=zz(dW(t.a,o-1),117)).e&&10!=a.e||0!=e.e&&10!=e.e?Sm(t.a,e):(0==e.e||e.bm().length,0==a.e?(n=new Cx,(i=a._l())>=qXt?aM(n,Wft(i)):NZ(n,i&VKt),a=new mQ(10,null,0),xY(t.a,a,o-1)):(a.bm().length,aM(n=new Cx,a.bm())),0==e.e?(i=e._l())>=qXt?aM(n,Wft(i)):NZ(n,i&VKt):aM(n,e.bm()),zz(a,521).b=n.a):Sm(t.a,e);else for(r=0;r0&&i>=-6?i>=0?xJ(a,n-SQ(t.e),String.fromCharCode(46)):(a.a=hP(a.a,0,e-1)+"0."+tM(a.a,e-1),xJ(a,e+1,qpt(Uee,0,-SQ(i)-1))):(n-e>=1&&(xJ(a,e,String.fromCharCode(46)),++n),xJ(a,n,String.fromCharCode(69)),i>0&&xJ(a,++n,String.fromCharCode(43)),xJ(a,++n,""+mG(fot(i)))),t.g=a.a,t.g))}function rHt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(!n.dc()){for(o=0,l=0,f=zz((i=n.Kc()).Pb(),19).a;o1&&(c=u.mg(c,t.a,s));return 1==c.c.length?zz(PH(c,c.c.length-1),220):2==c.c.length?zqt((f1(0,c.c.length),zz(c.c[0],220)),(f1(1,c.c.length),zz(c.c[1],220)),o,a):null}function cHt(t){var e,i,r,a,o,s;for(Det(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 BI(t.i,t.g),a=(n=t.i)<100?null:new $k(n),t.ij())for(i=0;i0){for(s=t.g,u=t.i,o6(t),a=u<100?null:new $k(u),i=0;i>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,m=a*s,y=o*s,0!=(c=e.l>>13|(15&e.m)<<9)&&(b+=n*c,w+=i*c,m+=r*c,y+=a*c),0!=(u=e.m>>4&8191)&&(w+=n*u,m+=i*u,y+=r*u),0!=(l=e.m>>17|(255&e.h)<<5)&&(m+=n*l,y+=i*l),0!=(h=(1048320&e.h)>>8)&&(y+=n*h),d=((p=n*s)>>22)+(b>>9)+((262143&w)<<4)+((31&m)<<17),g=(w>>18)+(m>>5)+((4095&y)<<8),g+=(d+=(f=(p&CXt)+((511&b)<<13))>>22)>>22,EO(f&=CXt,d&=CXt,g&=SXt)}function dHt(t){var e,i,r,a,o,s,c;if(0!=(c=zz(PH(t.j,0),11)).g.c.length&&0!=c.e.c.length)throw qw(new $v("Interactive layout does not support NORTH/SOUTH ports with incoming _and_ outgoing edges."));if(0!=c.g.c.length){for(o=RXt,i=new Wd(c.g);i.a4){if(!t.wj(e))return!1;if(t.rk()){if(s=(n=(i=zz(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&&(u=t.n.a/a);break;case 2:case 4:(r=t.i.o.b)>0&&(u=t.n.b/r)}hct(t,(hWt(),Afe),u)}if(c=t.o,o=t.a,i)o.a=i.a,o.b=i.b,t.d=!0;else if(e!=XSe&&e!=VSe&&s!=CIe)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}function yHt(t){var e,n,i,r,a,o,s,c,u,l;if(t.ej())if(l=t.Vi(),c=t.fj(),l>0)if(e=new _at(t.Gi()),a=(n=l)<100?null:new $k(n),QB(t,n,e.g),r=1==n?t.Zi(4,Ket(e,0),null,0,c):t.Zi(6,e,null,-1,c),t.bj()){for(i=new DL(e);i.e!=i.i.gc();)a=t.dj(kwt(i),a);a?(a.Ei(r),a.Fi()):t.$i(r)}else a?(a.Ei(r),a.Fi()):t.$i(r);else QB(t,t.Vi(),t.Wi()),t.$i(t.Zi(6,(TX(),lne),null,-1,c));else if(t.bj())if((l=t.Vi())>0){for(s=t.Wi(),u=l,QB(t,l,s),a=u<100?null:new $k(u),i=0;it.d[r.p]&&(n+=t5(t.b,i)*zz(o.b,19).a,p3(t.a,rft(i)));for(;!Wv(t.a);)Ett(t.b,zz(pY(t.a),19).a)}return n}function kHt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g;for((h=new gD(zz(tOt(t,(CEt(),qEe)),8))).a=n.Math.max(h.a-i.b-i.c,0),h.b=n.Math.max(h.b-i.d-i.a,0),(null==(a=EB(tOt(t,BEe)))||(xW(a),a<=0))&&(a=1.3),s=new Nw,f=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));f.e!=f.i.gc();)o=new GP(zz(kwt(f),33)),s.c[s.c.length]=o;switch(zz(tOt(t,FEe),311).g){case 3:g=s$t(s,e,h.a,h.b,(u=r,xW(a),u));break;case 1:g=yzt(s,e,h.a,h.b,(l=r,xW(a),l));break;default:g=THt(s,e,h.a,h.b,(c=r,xW(a),c))}jYt(t,(d=xZt(new Get(g),e,i,h.a,h.b,r,(xW(a),a))).a,d.b,!1,!0)}function _Ht(t,e){var n,i,r,a;a=new ej((n=e.b).j),r=0,(i=n.j).c=P8(Ote,HWt,1,0,5,1),nZ(zz(wot(t.b,(kYt(),uIe),(Irt(),Fue)),15),n),r=Jyt(a,r,new Pr,i),nZ(zz(wot(t.b,uIe,Bue),15),n),r=Jyt(a,r,new Nr,i),nZ(zz(wot(t.b,uIe,Pue),15),n),nZ(zz(wot(t.b,cIe,Fue),15),n),nZ(zz(wot(t.b,cIe,Bue),15),n),r=Jyt(a,r,new Br,i),nZ(zz(wot(t.b,cIe,Pue),15),n),nZ(zz(wot(t.b,TIe,Fue),15),n),r=Jyt(a,r,new Fr,i),nZ(zz(wot(t.b,TIe,Bue),15),n),r=Jyt(a,r,new Rr,i),nZ(zz(wot(t.b,TIe,Pue),15),n),nZ(zz(wot(t.b,SIe,Fue),15),n),r=Jyt(a,r,new Xr,i),nZ(zz(wot(t.b,SIe,Bue),15),n),nZ(zz(wot(t.b,SIe,Pue),15),n)}function AHt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Layer size calculation",1),h=RXt,l=jXt,a=!1,c=new Wd(t.b);c.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 THt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d;for(s=P8(PNe,UXt,25,t.c.length,15,1),rxt(f=new ZG(new Zs),t),u=0,d=new Nw;0!=f.b.c.length;)if(o=zz(0==f.b.c.length?null:PH(f.b,0),157),u>1&&iU(o)*nU(o)/2>s[0]){for(a=0;as[a];)++a;h=new Get(new u1(d,0,a+1)),l=iU(o)/nU(o),c=xZt(h,e,new dy,n,i,r,l),YF(xM(h.e),c),$8(iEt(f,h)),rxt(f,new u1(d,a+1,d.c.length)),d.c=P8(Ote,HWt,1,0,5,1),u=0,kU(s,s.length,0)}else null!=(0==f.b.c.length?null:PH(f.b,0))&&hrt(f,0),u>0&&(s[u]=s[u-1]),s[u]+=iU(o)*nU(o),++u,d.c[d.c.length]=o;return d}function CHt(t){var e,n,i;if((n=zz(vEt(t,(HZt(),xbe)),163))==(Edt(),$fe)){for(e=new cG(JL(fdt(t).a.Kc(),new l));bDt(e);)if(!Z5(zz(Y5(e),17)))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to FIRST_SEPARATE, but has at least one incoming edge. FIRST_SEPARATE nodes must not have incoming edges."))}else if(n==qfe)for(i=new cG(JL(ddt(t).a.Kc(),new l));bDt(i);)if(!Z5(zz(Y5(i),17)))throw qw(new rx(S1t+wvt(t)+"' has its layer constraint set to LAST_SEPARATE, but has at least one outgoing edge. LAST_SEPARATE nodes must not have outgoing edges."))}function SHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d;for(DAt(e,"Label dummy removal",1),i=Uv(EB(vEt(t,(HZt(),kwe)))),r=Uv(EB(vEt(t,Twe))),c=zz(vEt(t,Ype),103),s=new Wd(t.b);s.a0&&dCt(t,s,l);for(r=new Wd(l);r.a>19!=0&&(e=sct(e),c=!c),o=DLt(e),a=!1,r=!1,i=!1,t.h==IXt&&0==t.m&&0==t.l){if(r=!0,a=!0,-1!=o)return s=_Dt(t,o),c&&Dct(s),n&&(dee=EO(0,0,0)),s;t=WM((Z9(),gee)),i=!0,c=!c}else t.h>>19!=0&&(a=!0,t=sct(t),i=!0,c=!c);return-1!=o?qct(t,o,c,a,n):jxt(t,e)<0?(n&&(dee=a?sct(t):EO(t.l,t.m,t.h)),EO(0,0,0)):hjt(i?t:EO(t.l,t.m,t.h),e,c,a,r,n)}function LHt(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=zz(o.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,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=zz(s.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,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=zz(c.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,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=zz(a.Pb(),11),mlt(Oct(Sst(Ux(CEe,1),lKt,8,0,[r.i.n,r.n,r.a])).b,t.g,t.f)&&--i;n=0)return r=bdt(t,e.substr(1,a-1)),QYt(t,e.substr(a+1,s-(a+1)),r)}else{if(n=-1,null==Aee&&(Aee=new RegExp("\\d")),Aee.test(String.fromCharCode(o))&&(n=ER(e,QAt(46),s-1))>=0){i=zz(K5(t,Set(t,e.substr(1,n-1)),!1),58),c=0;try{c=djt(e.substr(n+1),$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}if(c=0)return n;switch(BW(z9(t,n))){case 2:if(yR("",Iht(t,n.Hj()).ne())){if(c=vOt(t,e,s=kK(z9(t,n)),xK(z9(t,n))))return c;for(o=0,u=(r=_Rt(t,e)).gc();o1)throw qw(new jv(M9t));for(l=sPt(t.e.Tg(),e),i=zz(t.g,119),o=0;o1,l=new y6(d.b);vO(l.a)||vO(l.b);)f=(u=zz(vO(l.a)?t0(l.a):t0(l.b),17)).c==d?u.d:u.c,n.Math.abs(Oct(Sst(Ux(CEe,1),lKt,8,0,[f.i.n,f.n,f.a])).b-s.b)>1&&mPt(t,u,s,o,d)}}function YHt(t){var e,i,r,a,o,s;if(a=new E2(t.e,0),r=new E2(t.a,0),t.d)for(i=0;iF3t;){for(o=e,s=0;n.Math.abs(e-o)0),a.a.Xb(a.c=--a.b),F$t(t,t.b-s,o,r,a),CP(a.b0),r.a.Xb(r.c=--r.b)}if(!t.d)for(i=0;i0?(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)}}function KHt(t){t.b=null,t.bb=null,t.fb=null,t.qb=null,t.a=null,t.c=null,t.d=null,t.e=null,t.f=null,t.n=null,t.M=null,t.L=null,t.Q=null,t.R=null,t.K=null,t.db=null,t.eb=null,t.g=null,t.i=null,t.j=null,t.k=null,t.gb=null,t.o=null,t.p=null,t.q=null,t.r=null,t.$=null,t.ib=null,t.S=null,t.T=null,t.t=null,t.s=null,t.u=null,t.v=null,t.w=null,t.B=null,t.A=null,t.C=null,t.D=null,t.F=null,t.G=null,t.H=null,t.I=null,t.J=null,t.P=null,t.Z=null,t.U=null,t.V=null,t.W=null,t.X=null,t.Y=null,t._=null,t.ab=null,t.cb=null,t.hb=null,t.nb=null,t.lb=null,t.mb=null,t.ob=null,t.pb=null,t.jb=null,t.kb=null,t.N=!1,t.O=!1}function XHt(t,e,n){var i,r;for(DAt(n,"Graph transformation ("+t.a+")",1),r=o0(e.a),i=new Wd(e.b);i.a0&&(t.a=s+(f-1)*r,e.c.b+=t.a,e.f.b+=t.a),0!=d.a.gc()&&(f=OUt(new hZ(1,r),e,d,g,e.f.b+s-e.c.b))>0&&(e.f.b+=s+(f-1)*r)}function QHt(t,e){var n,i,r,a;a=t.F,null==e?(t.F=null,Fut(t,null)):(t.F=(xW(e),e),-1!=(i=UM(e,QAt(60)))?(r=e.substr(0,i),-1==UM(e,QAt(46))&&!yR(r,LWt)&&!yR(r,C7t)&&!yR(r,S7t)&&!yR(r,I7t)&&!yR(r,M7t)&&!yR(r,D7t)&&!yR(r,O7t)&&!yR(r,L7t)&&(r=N7t),-1!=(n=yN(e,QAt(62)))&&(r+=""+e.substr(n+1)),Fut(t,r)):(r=e,-1==UM(e,QAt(46))&&(-1!=(i=UM(e,QAt(91)))&&(r=e.substr(0,i)),yR(r,LWt)||yR(r,C7t)||yR(r,S7t)||yR(r,I7t)||yR(r,M7t)||yR(r,D7t)||yR(r,O7t)||yR(r,L7t)?r=e:(r=N7t,-1!=i&&(r+=""+e.substr(i)))),Fut(t,r),r==e&&(t.F=t.D))),0!=(4&t.Db)&&0==(1&t.Db)&&got(t,new tY(t,1,5,a,e))}function JHt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;if(!((p=e.b.c.length)<3)){for(d=P8(DNe,hXt,25,p,15,1),h=0,l=new Wd(e.b);l.ao)&&AY(t.b,zz(b.b,17));++s}a=o}}}function tUt(t,e){var n;if(null==e||yR(e,YWt))return null;if(0==e.length&&t.k!=(SCt(),wEe))return null;switch(t.k.g){case 1:return vbt(e,s5t)?(lN(),yee):vbt(e,c5t)?(lN(),mee):null;case 2:try{return rft(djt(e,$Kt,FWt))}catch(t){if(aL(t=dst(t),127))return null;throw qw(t)}case 4:try{return gTt(e)}catch(t){if(aL(t=dst(t),127))return null;throw qw(t)}case 3:return e;case 5:return alt(t),HIt(t,e);case 6:return alt(t),jOt(t,t.a,e);case 7:try{return(n=aDt(t)).Jf(e),n}catch(t){if(aL(t=dst(t),32))return null;throw qw(t)}default:throw qw(new $v("Invalid type set for this layout option."))}}function eUt(t){var e,n,i,r,a,o,s;for(Btt(),s=new Km,n=new Wd(t);n.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 Ewt((Ost(),Joe)),i2(t,cse,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[i]))),o=new Ewt(nse),i2(t,sse,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[o]))),r=new Ewt(tse),i2(t,ose,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[r]))),a=new Ewt(ese),i2(t,ase,new Qv(Sst(Ux(Qoe,1),HWt,369,0,[a]))),BLt(i.c,Joe),BLt(r.c,tse),BLt(a.c,ese),BLt(o.c,nse),s.a.c=P8(Ote,HWt,1,0,5,1),wst(s.a,i.c),wst(s.a,iot(r.c)),wst(s.a,a.c),wst(s.a,iot(o.c)),s}function nUt(t){var e;switch(t.d){case 1:if(t.hj())return-2!=t.o;break;case 2:if(t.hj())return-2==t.o;break;case 3:case 5:case 4:case 6:case 7:return t.o>-2;default:return!1}switch(e=t.gj(),t.p){case 0:return null!=e&&Hv(AB(e))!=QI(t.k,0);case 1:return null!=e&&zz(e,217).a!=pU(t.k)<<24>>24;case 2:return null!=e&&zz(e,172).a!=(pU(t.k)&VKt);case 6:return null!=e&&QI(zz(e,162).a,t.k);case 5:return null!=e&&zz(e,19).a!=pU(t.k);case 7:return null!=e&&zz(e,184).a!=pU(t.k)<<16>>16;case 3:return null!=e&&Uv(EB(e))!=t.j;case 4:return null!=e&&zz(e,155).a!=t.j;default:return null==e?null!=t.n:!Pht(e,t.n)}}function iUt(t,e,n){var i,r,a,o;return t.Fk()&&t.Ek()&&UI(o=UG(t,zz(n,56)))!==UI(n)?(t.Oi(e),t.Ui(e,z7(t,e,o)),t.rk()&&(r=zz(n,49),a=t.Dk()?t.Bk()?r.ih(t.b,Imt(zz(iet(kV(t.b),t.aj()),18)).n,zz(iet(kV(t.b),t.aj()).Yj(),26).Bj(),null):r.ih(t.b,Ogt(r.Tg(),Imt(zz(iet(kV(t.b),t.aj()),18))),null,null):r.ih(t.b,-1-t.aj(),null,null),!zz(o,49).eh()&&(i=zz(o,49),a=t.Dk()?t.Bk()?i.gh(t.b,Imt(zz(iet(kV(t.b),t.aj()),18)).n,zz(iet(kV(t.b),t.aj()).Yj(),26).Bj(),a):i.gh(t.b,Ogt(i.Tg(),Imt(zz(iet(kV(t.b),t.aj()),18))),null,a):i.gh(t.b,-1-t.aj(),null,a)),a&&a.Fi()),yD(t.b)&&t.$i(t.Zi(9,n,o,e,!1)),o):n}function rUt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(h=Uv(EB(vEt(t,(HZt(),_we)))),r=Uv(EB(vEt(t,Fwe))),hct(d=new Qs,_we,h+r),m=(l=e).d,b=l.c.i,y=l.d.i,w=eD(b.c),v=eD(y.c),a=new Nw,f=w;f<=v;f++)zf(c=new Lmt(t),(cTt(),Cse)),hct(c,(hWt(),pfe),l),hct(c,nwe,(V_t(),ZSe)),hct(c,Ewe,d),g=zz(PH(t.b,f),29),f==w?Vvt(c,g.a.c.length-i,g):CJ(c,g),(x=Uv(EB(vEt(l,obe))))<0&&hct(l,obe,x=0),c.o.b=x,p=n.Math.floor(x/2),USt(s=new ITt,(kYt(),SIe)),SJ(s,c),s.n.b=p,USt(u=new ITt,cIe),SJ(u,c),u.n.b=p,EJ(l,s),Uot(o=new gV,l),hct(o,mbe,null),TJ(o,u),EJ(o,m),Yxt(c,l,o),a.c[a.c.length]=o,l=o;return a}function aUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(s=zz(FTt(t,(kYt(),SIe)).Kc().Pb(),11).e,h=zz(FTt(t,cIe).Kc().Pb(),11).g,o=s.c.length,b=b1(zz(PH(t.j,0),11));o-- >0;){for(f1(0,s.c.length),d=zz(s.c[0],17),f1(0,h.c.length),r=_9((i=zz(h.c[0],17)).d.e,i,0),D2(d,i.d,r),TJ(i,null),EJ(i,null),f=d.a,e&&Bq(f,new gD(b)),n=lwt(i.a,0);n.b!=n.d.c;)Bq(f,new gD(zz(d3(n),8)));for(p=d.b,l=new Wd(i.b);l.a0&&(s=n.Math.max(s,dat(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,(lO(),ait(fQt),n.Math.abs(f-1)<=fQt||1==f||isNaN(f)&&isNaN(1)?0:g/(1-f)))),i.n.b=0,i.a.a=s}function sUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g;if(i=zz(cK(t.b,e),124),(u=zz(zz(l6(t.r,e),21),84)).dc())return i.n.d=0,void(i.n.a=0);for(l=t.u.Hc((dIt(),nIe)),s=0,t.A.Hc((vpt(),jIe))&&kFt(t,e),c=u.Kc(),h=null,d=0,f=0;c.Ob();)o=Uv(EB((r=zz(c.Pb(),111)).b.We((BN(),Lre)))),a=r.b.rf().b,h?(g=f+h.d.a+t.w+r.d.d,s=n.Math.max(s,(lO(),ait(fQt),n.Math.abs(d-o)<=fQt||d==o||isNaN(d)&&isNaN(o)?0:g/(o-d)))):t.C&&t.C.d>0&&(s=n.Math.max(s,dat(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,(lO(),ait(fQt),n.Math.abs(d-1)<=fQt||1==d||isNaN(d)&&isNaN(1)?0:g/(1-d)))),i.n.d=0,i.a.b=s}function cUt(t,e,n){var i,r,a,o,s,c;for(this.g=t,s=e.d.length,c=n.d.length,this.d=P8(Mse,s1t,10,s+c,0,1),o=0;o0?Jet(this,this.f/this.a):null!=fL(e.g,e.d[0]).a&&null!=fL(n.g,n.d[0]).a?Jet(this,(Uv(fL(e.g,e.d[0]).a)+Uv(fL(n.g,n.d[0]).a))/2):null!=fL(e.g,e.d[0]).a?Jet(this,fL(e.g,e.d[0]).a):null!=fL(n.g,n.d[0]).a&&Jet(this,fL(n.g,n.d[0]).a)}function uUt(t,e){var n,i,r,a,o,s,c,u,l;for(t.a=new zZ(Lat(WCe)),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,hct(t,(HZt(),$be),(vpt(),new VR(i=zz(Kk(VIe),9),zz(TF(i,i.length),9),0)))}function pUt(t,e,n,i,r,a){if(null!=e&&Wdt(e,DDe,ODe))throw qw(new jv("invalid scheme: "+e));if(!(t||null!=n&&-1==UM(n,QAt(35))&&n.length>0&&(d1(0,n.length),47!=n.charCodeAt(0))))throw qw(new jv("invalid opaquePart: "+n));if(t&&(null==e||!PA(kDe,e.toLowerCase()))&&null!=n&&Wdt(n,LDe,NDe))throw qw(new jv(u7t+n));if(t&&null!=e&&PA(kDe,e.toLowerCase())&&!I_t(n))throw qw(new jv(u7t+n));if(!Zdt(i))throw qw(new jv("invalid device: "+i));if(!Rlt(r))throw qw(new jv(null==r?"invalid segments: null":"invalid segment: "+llt(r)));if(null!=a&&-1!=UM(a,QAt(35)))throw qw(new jv("invalid query: "+a))}function bUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(DAt(e,"Calculate Graph Size",1),e.n&&t&&v0(e,c2(t),(qut(),sMe)),c=tJt,u=tJt,o=e4t,s=e4t,f=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));f.e!=f.i.gc();)p=(l=zz(kwt(f),33)).i,b=l.j,m=l.g,r=l.f,a=zz(tOt(l,(lWt(),OTe)),142),c=n.Math.min(c,p-a.b),u=n.Math.min(u,b-a.d),o=n.Math.max(o,p+m+a.c),s=n.Math.max(s,b+r+a.a);for(d=new PS(c-(g=zz(tOt(t,(lWt(),ZTe)),116)).b,u-g.d),h=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));h.e!=h.i.gc();)Snt(l=zz(kwt(h),33),l.i-d.a),Int(l,l.j-d.b);w=o-c+(g.b+g.c),i=s-u+(g.d+g.a),Cnt(t,w),Tnt(t,i),e.n&&t&&v0(e,c2(t),(qut(),sMe))}function wUt(t){var e,n,i,r,a,o,s,c,u,l;for(i=new Nw,o=new Wd(t.e.a);o.a0?(Swt(t,n,0),n.a+=String.fromCharCode(i),Swt(t,n,r=obt(e,a)),a+=r-1):39==i?a+11)for(p=P8(DNe,hXt,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(!(cjKt)&&c<10);ek(t.c,new ke),xUt(t),IY(t.c),fUt(t.f)}function AUt(t,e,n){var i,r,a,o,s,c,u,l,h,f;if(Hv(AB(vEt(n,(HZt(),gbe)))))for(r=new Wd(n.j);r.a=2){for(o=zz(d3(c=lwt(n,0)),8),s=zz(d3(c),8);s.a0&&Zst(c,!0,(zht(),$Ce)),o.k==(cTt(),Ese)&&gK(c),KW(t.f,o,e)):((u=(i=zz(iV(hdt(o)),17)).c.i)==o&&(u=i.d.i),h=new rI(u,ZF(zO(o.n),u.n)),KW(t.b,o,h))}function SUt(t,e,i){var r,a,o,s,c,u,l,h;switch(DAt(i,"Node promotion heuristic",1),t.g=e,xYt(t),t.q=zz(vEt(e,(HZt(),Tbe)),260),h=zz(vEt(t.g,Ebe),19).a,o=new li,t.q.g){case 2:case 1:default:$qt(t,o);break;case 3:for(t.q=(lNt(),Mme),$qt(t,o),u=0,c=new Wd(t.a);c.at.j&&(t.q=Ame,$qt(t,o));break;case 4:for(t.q=(lNt(),Mme),$qt(t,o),l=0,a=new Wd(t.b);a.at.k&&(t.q=Cme,$qt(t,o));break;case 6:$qt(t,new cp(SQ(n.Math.ceil(t.f.length*h/100))));break;case 5:$qt(t,new up(SQ(n.Math.ceil(t.d*h/100))))}uBt(t,e),HTt(i)}function IUt(t,e,n){var i,r,a,o;this.j=t,this.e=U_t(t),this.o=this.j.e,this.i=!!this.o,this.p=this.i?zz(PH(n,mW(this.o).p),214):null,r=zz(vEt(t,(hWt(),Jhe)),21),this.g=r.Hc((gBt(),fhe)),this.b=new Nw,this.d=new ppt(this.e),o=zz(vEt(this.j,Tfe),230),this.q=Hot(e,o,this.e),this.k=new oJ(this),a=s6(Sst(Ux(kue,1),HWt,225,0,[this,this.d,this.k,this.q])),e!=(uit(),Mye)||Hv(AB(vEt(t,(HZt(),Ppe))))?e==Mye&&Hv(AB(vEt(t,(HZt(),Ppe))))?(i=new Z_t(this.e),a.c[a.c.length]=i,this.c=new mrt(i,o,zz(this.q,402))):this.c=new mC(e,this):(i=new Z_t(this.e),a.c[a.c.length]=i,this.c=new U2(i,o,zz(this.q,402))),Wz(a,this.c),Iqt(a,this.e),this.s=pZt(this.k)}function MUt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;for(f=(u=zz(iL(new gb(lwt(new db(e).a.d,0))),86))?zz(vEt(u,(UHt(),axe)),86):null,r=1;u&&f;){for(o=0,m=0,n=u,i=f,a=0;a=t.i?(++t.i,Wz(t.a,rft(1)),Wz(t.b,u)):(i=t.c[e.p][1],a5(t.a,c,rft(zz(PH(t.a,c),19).a+1-i)),a5(t.b,c,Uv(EB(PH(t.b,c)))+u-i*t.e)),(t.q==(lNt(),Ame)&&(zz(PH(t.a,c),19).a>t.j||zz(PH(t.a,c-1),19).a>t.j)||t.q==Cme&&(Uv(EB(PH(t.b,c)))>t.k||Uv(EB(PH(t.b,c-1)))>t.k))&&(s=!1),a=new cG(JL(fdt(e).a.Kc(),new l));bDt(a);)o=zz(Y5(a),17).c.i,t.f[o.p]==c&&(r+=zz((h=DUt(t,o)).a,19).a,s=s&&Hv(AB(h.b)));return t.f[e.p]=c,new rI(rft(r+=t.c[e.p][0]),(lN(),!!s))}function OUt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m;for(f=new Pw,s=new Nw,aIt(t,i,t.d.fg(),s,f),aIt(t,r,t.d.gg(),s,f),t.b=.2*(b=qDt(gtt(new FH(null,new g1(s,16)),new Co)),w=qDt(gtt(new FH(null,new g1(s,16)),new So)),n.Math.min(b,w)),o=0,c=0;c=2&&(m=VLt(s,!0,d),!t.e&&(t.e=new fb(t)),lbt(t.e,m,s,t.b)),rAt(s,d),oGt(s),g=-1,h=new Wd(s);h.as)}function PUt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(i=zz(vEt(t,(HZt(),nwe)),98),s=t.f,o=t.d,c=s.a+o.b+o.c,u=0-o.d-t.c.b,h=s.b+o.d+o.a-t.c.b,l=new Nw,f=new Nw,a=new Wd(e);a.a0),a=zz(u.a.Xb(u.c=--u.b),17);a!=i&&u.b>0;)t.a[a.p]=!0,t.a[i.p]=!0,CP(u.b>0),a=zz(u.a.Xb(u.c=--u.b),17);u.b>0&&hW(u)}}function UUt(t,e,n){var i,r,a,o,s,c,u,l,h;if(t.a!=e.Aj())throw qw(new jv(b6t+e.ne()+w6t));if(i=Iht((MCt(),JOe),e).$k())return i.Aj().Nh().Ih(i,n);if(o=Iht(JOe,e).al()){if(null==n)return null;if((s=zz(n,15)).dc())return"";for(h=new Tx,a=s.Kc();a.Ob();)r=a.Pb(),aM(h,o.Aj().Nh().Ih(o,r)),h.a+=" ";return RM(h,h.a.length-1)}if(!(l=Iht(JOe,e).bl()).dc()){for(u=l.Kc();u.Ob();)if((c=zz(u.Pb(),148)).wj(n))try{if(null!=(h=c.Aj().Nh().Ih(c,n)))return h}catch(t){if(!aL(t=dst(t),102))throw qw(t)}throw qw(new jv("Invalid value: '"+n+"' for datatype :"+e.ne()))}return zz(e,834).Fj(),null==n?null:aL(n,172)?""+zz(n,172).a:nut(n)==vee?qO(IMe[0],zz(n,199)):qdt(n)}function GUt(t){var e,i,r,a,o,s,c,u,l;for(u=new VA,s=new VA,a=new Wd(t);a.a-1){for(r=lwt(s,0);r.b!=r.d.c;)(i=zz(d3(r),128)).v=o;for(;0!=s.b;)for(e=new Wd((i=zz(nxt(s,0),128)).i);e.a0&&(n+=c.n.a+c.o.a/2,++h),d=new Wd(c.j);d.a0&&(n/=h),b=P8(PNe,UXt,25,i.a.c.length,15,1),s=0,u=new Wd(i.a);u.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?r-=864e5:r+=864e5,c=new CB(adt(fot(e.q.getTime()),r))),l=new Ix,u=t.a.length,a=0;a=97&&i<=122||i>=65&&i<=90){for(o=a+1;o=u)throw qw(new jv("Missing trailing '"));o+10&&0==n.c&&(!e&&(e=new Nw),e.c[e.c.length]=n);if(e)for(;0!=e.c.length;){if((n=zz(u6(e,0),233)).b&&n.b.c.length>0)for(!n.b&&(n.b=new Nw),a=new Wd(n.b);a.a_9(t,n,0))return new rI(r,n)}else if(Uv(fL(r.g,r.d[0]).a)>Uv(fL(n.g,n.d[0]).a))return new rI(r,n);for(s=(!n.e&&(n.e=new Nw),n.e).Kc();s.Ob();)!(o=zz(s.Pb(),233)).b&&(o.b=new Nw),LJ(0,(c=o.b).c.length),ET(c.c,0,n),o.c==c.c.length&&(e.c[e.c.length]=o)}return null}function rGt(t,e){var n,i,r,a,o,s;if(null==t)return YWt;if(null!=e.a.zc(t,e))return"[...]";for(n=new Lot(zWt,"[","]"),a=0,o=(r=t).length;a=14&&s<=16?aL(i,177)?d6(n,RSt(zz(i,177))):aL(i,190)?d6(n,J_t(zz(i,190))):aL(i,195)?d6(n,kTt(zz(i,195))):aL(i,2012)?d6(n,tAt(zz(i,2012))):aL(i,48)?d6(n,FSt(zz(i,48))):aL(i,364)?d6(n,wIt(zz(i,364))):aL(i,832)?d6(n,BSt(zz(i,832))):aL(i,104)&&d6(n,PSt(zz(i,104))):e.a._b(i)?(n.a?cM(n.a,n.b):n.a=new fN(n.d),oM(n.a,"[...]")):d6(n,rGt(int(i),new OH(e))):d6(n,null==i?YWt:qdt(i));return n.a?0==n.e.length?n.a.a:n.a.a+""+n.e:n.c}function aGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b;for(g=UTt(oBt(e,!1,!1)),r&&(g=Jct(g)),b=Uv(EB(tOt(e,(Awt(),wae)))),CP(0!=g.b),d=zz(g.a.a.c,8),l=zz(Fwt(g,1),8),g.b>2?(wst(u=new Nw,new u1(g,1,g.b)),Uot(p=new ADt(WZt(u,b+t.a)),e),i.c[i.c.length]=p):p=zz(FZ(t.b,r?SEt(e):DEt(e)),266),s=SEt(e),r&&(s=DEt(e)),o=rCt(d,s),c=b+t.a,o.a?(c+=n.Math.abs(d.b-l.b),f=new PS(l.a,(l.b+d.b)/2)):(c+=n.Math.abs(d.a-l.a),f=new PS((l.a+d.a)/2,l.b)),KW(r?t.d:t.c,e,new Myt(p,o,f,c)),KW(t.b,e,p),!e.n&&(e.n=new nY(GMe,e,1,7)),h=new DL(e.n);h.e!=h.i.gc();)a=JFt(t,zz(kwt(h),137),!0,0,0),i.c[i.c.length]=a}function oGt(t){var e,i,r,a,o,s,c,u,l;for(u=new Nw,s=new Nw,o=new Wd(t);o.a-1){for(a=new Wd(s);a.a0||(Vf(c,n.Math.min(c.o,r.o-1)),Xf(c,c.i-1),0==c.i&&(s.c[s.c.length]=c))}}function sGt(t,e,n){var i,r,a,o,s;if(s=t.c,!e&&(e=LOe),t.c=e,0!=(4&t.Db)&&0==(1&t.Db)&&(o=new tY(t,1,2,s,t.c),n?n.Ei(o):n=o),s!=e)if(aL(t.Cb,284))t.Db>>16==-10?n=zz(t.Cb,284).nk(e,n):t.Db>>16==-15&&(!e&&(wWt(),e=fOe),!s&&(wWt(),s=fOe),t.Cb.nh()&&(o=new N9(t.Cb,1,13,s,e,cmt(q9(zz(t.Cb,59)),t),!1),n?n.Ei(o):n=o));else if(aL(t.Cb,88))t.Db>>16==-23&&(aL(e,88)||(wWt(),e=pOe),aL(s,88)||(wWt(),s=pOe),t.Cb.nh()&&(o=new N9(t.Cb,1,10,s,e,cmt(o4(zz(t.Cb,26)),t),!1),n?n.Ei(o):n=o));else if(aL(t.Cb,444))for(!(a=zz(t.Cb,836)).b&&(a.b=new Aw(new Py)),r=new Ew(new cut(new Cd(a.b.a).a));r.a.b;)n=sGt(i=zz(nnt(r.a).cd(),87),kLt(i,a),n);return n}function cGt(t,e){var n,i,r,a,o,s,c,u,l,h,f;for(o=Hv(AB(tOt(t,(HZt(),gbe)))),f=zz(tOt(t,awe),21),c=!1,u=!1,h=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));!(h.e==h.i.gc()||c&&u);){for(a=zz(kwt(h),118),s=0,r=NY(Knt(Sst(Ux(Bte,1),HWt,20,0,[(!a.d&&(a.d=new lR(jMe,a,8,5)),a.d),(!a.e&&(a.e=new lR(jMe,a,7,4)),a.e)])));bDt(r)&&(i=zz(Y5(r),79),l=o&&VIt(i)&&Hv(AB(tOt(i,pbe))),n=gHt((!i.b&&(i.b=new lR(RMe,i,4,7)),i.b),a)?t==QQ(SAt(zz(Ket((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c),0),82))):t==QQ(SAt(zz(Ket((!i.b&&(i.b=new lR(RMe,i,4,7)),i.b),0),82))),!((l||n)&&++s>1)););(s>0||f.Hc((dIt(),nIe))&&(!a.n&&(a.n=new nY(GMe,a,1,7)),a.n).i>0)&&(c=!0),s>1&&(u=!0)}c&&e.Fc((gBt(),fhe)),u&&e.Fc((gBt(),dhe))}function uGt(t){var e,i,r,a,o,s,c,u,l,h,f,d;if((d=zz(tOt(t,(lWt(),RTe)),21)).dc())return null;if(c=0,s=0,d.Hc((vpt(),RIe))){for(h=zz(tOt(t,sCe),98),r=2,i=2,a=2,o=2,e=QQ(t)?zz(tOt(QQ(t),dTe),103):zz(tOt(t,dTe),103),l=new DL((!t.c&&(t.c=new nY(ZMe,t,9,9)),t.c));l.e!=l.i.gc();)if(u=zz(kwt(l),118),(f=zz(tOt(u,gCe),61))==(kYt(),CIe)&&(f=D$t(u,e),Qwt(u,gCe,f)),h==(V_t(),ZSe))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 jYt(t,c,s,!0,!0)}function lGt(t,e,i,r,a){var o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(y=zz(C4(xet(DK(new FH(null,new g1(e.d,16)),new Op(i)),new Lp(i)),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)]))),15),f=FWt,h=$Kt,u=new Wd(e.b.j);u.a0)?u&&(l=p.p,o?++l:--l,h=!(oNt(i=rct(zz(PH(p.c.a,l),10)),v,n[0])||zG(i,v,n[0]))):h=!0),f=!1,(y=e.D.i)&&y.c&&s.e&&(o&&y.p>0||!o&&y.p0&&(e.a+=zWt),wGt(zz(kwt(o),160),e);for(e.a+=i1t,s=new aP((!i.c&&(i.c=new lR(RMe,i,5,8)),i.c));s.e!=s.i.gc();)s.e>0&&(e.a+=zWt),wGt(zz(kwt(s),160),e);e.a+=")"}}}function mGt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(a=zz(vEt(t,(hWt(),pfe)),79)){for(i=t.a,YF(r=new gD(n),Lkt(t)),pot(t.d.i,t.c.i)?(f=t.c,ZF(h=Oct(Sst(Ux(CEe,1),lKt,8,0,[f.n,f.a])),n)):h=b1(t.c),r5(i,h,i.a,i.a.a),d=b1(t.d),null!=vEt(t,Ffe)&&YF(d,zz(vEt(t,Ffe),8)),r5(i,d,i.c.b,i.c),tnt(i,r),Nit(o=oBt(a,!0,!0),zz(Ket((!a.b&&(a.b=new lR(RMe,a,4,7)),a.b),0),82)),Pit(o,zz(Ket((!a.c&&(a.c=new lR(RMe,a,5,8)),a.c),0),82)),X$t(i,o),l=new Wd(t.b);l.a=0){for(c=null,s=new E2(l.a,u+1);s.bo?1:GM(isNaN(0),isNaN(o)))<0&&(ait(O3t),(n.Math.abs(o-1)<=O3t||1==o||isNaN(o)&&isNaN(1)?0:o<1?-1:o>1?1:GM(isNaN(o),isNaN(1)))<0)&&(ait(O3t),(n.Math.abs(0-s)<=O3t||0==s||isNaN(0)&&isNaN(s)?0:0s?1:GM(isNaN(0),isNaN(s)))<0)&&(ait(O3t),(n.Math.abs(s-1)<=O3t||1==s||isNaN(s)&&isNaN(1)?0:s<1?-1:s>1?1:GM(isNaN(s),isNaN(1)))<0))}function xGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k;for(h=new lW(new ig(t));h.b!=h.c.a.d;)for(s=zz((l=u7(h)).d,56),e=zz(l.e,56),p=0,v=(null==(o=s.Tg()).i&&U$t(o),o.i).length;p=0&&p=u.c.c.length?Z3((cTt(),Sse),Cse):Z3((cTt(),Cse),Cse),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 YDt(s),Oqt((f1(0,s.c.length),zz(s.c[0],17)).d.i)||Wz(t.o,s)}function AGt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(y=Uz(t),c=new Nw,u=(a=t.c.length)-1,l=a+1;0!=y.a.c;){for(;0!=n.b;)CP(0!=n.b),w=zz(Oet(n,n.a.a),112),OQ(y.a,w),w.g=u--,P$t(w,e,n,i);for(;0!=e.b;)CP(0!=e.b),m=zz(Oet(e,e.a.a),112),OQ(y.a,m),m.g=l++,P$t(m,e,n,i);for(s=$Kt,p=new $d(new zF(new PN(new jd(y.a).a).b));oT(p.a.a);){if(g=zz(yP(p.a).cd(),112),!i&&g.b>0&&g.a<=0){c.c=P8(Ote,HWt,1,0,5,1),c.c[c.c.length]=g;break}(d=g.i-g.d)>=s&&(d>s&&(c.c=P8(Ote,HWt,1,0,5,1),s=d),c.c[c.c.length]=g)}0!=c.c.length&&(o=zz(PH(c,mmt(r,c.c.length)),112),OQ(y.a,o),o.g=l++,P$t(o,e,n,i),c.c=P8(Ote,HWt,1,0,5,1))}for(b=t.c.length+1,f=new Wd(t);f.a0&&(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}function IGt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p;for(d=i.d,f=i.c,s=(o=new PS(i.f.a+i.d.b+i.d.c,i.f.b+i.d.d+i.d.a)).b,l=new Wd(t.a);l.a0&&(t.c[e.c.p][e.p].d+=HOt(t.i,24)*cVt*.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 FGt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g;for(f=new Wd(t);f.ar.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)}}}function zGt(t){var e,n,i,r,a,o,s,c,u,l,h;for(u=new Wd(t);u.a0||l.j==SIe&&l.e.c.length-l.g.c.length<0)){e=!1;break}for(r=new Wd(l.g);r.a=l&&k>=w&&(d+=p.n.b+b.n.b+b.a.b-x,++c));if(i)for(s=new Wd(y.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 HGt(t,e){var n,i,r,a,o,s,c,u,l,h;for(i=new Wd(t.a.b);i.ajXt||e.o==rve&&u0&&Snt(w,v*k),x>0&&Int(w,x*_);for(eot(t.b,new he),e=new Nw,s=new cut(new Cd(t.c).a);s.b;)i=zz((o=nnt(s)).cd(),79),n=zz(o.dd(),395).a,r=oBt(i,!1,!1),X$t(h=dAt(SEt(i),UTt(r),n),r),(y=IEt(i))&&-1==_9(e,y,0)&&(e.c[e.c.length]=y,uX(y,(CP(0!=h.b),zz(h.a.a.c,8)),n));for(b=new cut(new Cd(t.d).a);b.b;)i=zz((p=nnt(b)).cd(),79),n=zz(p.dd(),395).a,r=oBt(i,!1,!1),h=dAt(DEt(i),Jct(UTt(r)),n),X$t(h=Jct(h),r),(y=MEt(i))&&-1==_9(e,y,0)&&(e.c[e.c.length]=y,uX(y,(CP(0!=h.b),zz(h.c.b.c,8)),n))}function WGt(t,e,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;if(0!=i.c.length){for(g=new Nw,d=new Wd(i);d.a1)for(n5(y,new uS(t,d=new hHt(g,y,r))),s.c[s.c.length]=d,h=y.a.ec().Kc();h.Ob();)v9(o,zz(h.Pb(),46).b);if(c.a.gc()>1)for(n5(c,new lS(t,d=new hHt(g,c,r))),s.c[s.c.length]=d,h=c.a.ec().Kc();h.Ob();)v9(o,zz(h.Pb(),46).b)}}function nYt(t){NE(t,new TAt(pk(mk(gk(wk(bk(new bs,p4t),"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),p4t))),s2(t,p4t,w3t,vwt(Pke)),s2(t,p4t,yJt,vwt(Rke)),s2(t,p4t,SJt,vwt(Ske)),s2(t,p4t,qJt,vwt(Ike)),s2(t,p4t,CJt,vwt(Mke)),s2(t,p4t,IJt,vwt(Cke)),s2(t,p4t,TJt,vwt(Dke)),s2(t,p4t,MJt,vwt(Nke)),s2(t,p4t,h4t,vwt(Eke)),s2(t,p4t,l4t,vwt(Tke)),s2(t,p4t,g4t,vwt(Oke)),s2(t,p4t,c4t,vwt(Lke)),s2(t,p4t,u4t,vwt(Bke)),s2(t,p4t,f4t,vwt(Fke)),s2(t,p4t,d4t,vwt(jke))}function iYt(t){var e;if(this.r=PK(new Tt,new Ct),this.b=new Hdt(zz(vZ($Ie),290)),this.p=new Hdt(zz(vZ($Ie),290)),this.i=new Hdt(zz(vZ(Rre),290)),this.e=t,this.o=new gD(t.rf()),this.D=t.Df()||Hv(AB(t.We((lWt(),TTe)))),this.A=zz(t.We((lWt(),RTe)),21),this.B=zz(t.We(HTe),21),this.q=zz(t.We(sCe),98),this.u=zz(t.We(hCe),21),!pEt(this.u))throw qw(new rx("Invalid port label placement: "+this.u));if(this.v=Hv(AB(t.We(dCe))),this.j=zz(t.We(BTe),21),!nLt(this.j))throw qw(new rx("Invalid node label placement: "+this.j));this.n=zz(ext(t,NTe),116),this.k=Uv(EB(ext(t,MCe))),this.d=Uv(EB(ext(t,ICe))),this.w=Uv(EB(ext(t,FCe))),this.s=Uv(EB(ext(t,DCe))),this.t=Uv(EB(ext(t,OCe))),this.C=zz(ext(t,PCe),142),this.c=2*this.d,e=!this.B.Hc((ejt(),qIe)),this.f=new Mbt(0,e,0),this.g=new Mbt(1,e,0),kv(this.f,(Fet(),Gie),this.g)}function rYt(t,e,i,r,a){var o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;for(v=0,b=0,p=0,g=1,y=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));y.e!=y.i.gc();)g+=$3(new cG(JL(bLt(w=zz(kwt(y),33)).a.Kc(),new l))),A=w.g,b=n.Math.max(b,A),d=w.f,p=n.Math.max(p,d),v+=A*d;for(s=v+2*r*r*g*(!t.a&&(t.a=new nY(YMe,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),m=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));m.e!=m.i.gc();)w=zz(kwt(m),33),E=a.b+(HOt(e,26)*aVt+HOt(e,27)*oVt)*(u-w.g),T=a.b+(HOt(e,26)*aVt+HOt(e,27)*oVt)*(c-w.f),Snt(w,E),Int(w,T);for(_=u+(a.b+a.c),k=c+(a.d+a.a),x=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));x.e!=x.i.gc();)for(f=new cG(JL(bLt(zz(kwt(x),33)).a.Kc(),new l));bDt(f);)eDt(h=zz(Y5(f),79))||qZt(h,e,_,k);jYt(t,_+=a.b+a.c,k+=a.d+a.a,!1,!0)}function aYt(t){var e,n,i,r,a,o,s,c,u,l,h;if(null==t)throw qw(new Ex(YWt));if(u=t,c=!1,(a=t.length)>0&&(d1(0,t.length),45!=(e=t.charCodeAt(0))&&43!=e||(t=t.substr(1),--a,c=45==e)),0==a)throw qw(new Ex(FXt+u+'"'));for(;t.length>0&&(d1(0,t.length),48==t.charCodeAt(0));)t=t.substr(1),--a;if(a>(r$t(),Bee)[10])throw qw(new Ex(FXt+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(Xlt(h,s)<0)throw qw(new Ex(FXt+u+'"'));h=odt(h,l)}h=rdt(h,i)}if(Xlt(h,0)>0)throw qw(new Ex(FXt+u+'"'));if(!c&&Xlt(h=k9(h),0)<0)throw qw(new Ex(FXt+u+'"'));return h}function oYt(t,e){var n,i,r,a,o,s,c;if(Jq(),this.a=new ZO(this),this.b=t,this.c=e,this.f=MY(z9((MCt(),JOe),e)),this.f.dc())if((s=vkt(JOe,t))==e)for(this.e=!0,this.d=new Nw,this.f=new fc,this.f.Fc(C9t),zz(Pqt($9(JOe,Zet(t)),""),26)==t&&this.f.Fc(oG(JOe,Zet(t))),r=ARt(JOe,t).Kc();r.Ob();)switch(i=zz(r.Pb(),170),BW(z9(JOe,i))){case 4:this.d.Fc(i);break;case 5:this.f.Gc(MY(z9(JOe,i)))}else if(JE(),zz(e,66).Oj())for(this.e=!0,this.f=null,this.d=new Nw,o=0,c=(null==t.i&&U$t(t),t.i).length;o=0&&o0&&(zz(cK(t.b,e),124).a.b=i)}function cYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(DAt(e,"Comment pre-processing",1),n=0,c=new Wd(t.a);c.a0&&(d1(0,e.length),64!=(s=e.charCodeAt(0)))){if(37==s&&(c=!1,0!=(l=e.lastIndexOf("%"))&&(l==h-1||(d1(l+1,e.length),c=46==e.charCodeAt(l+1))))){if(m=yR("%",o=e.substr(1,l-1))?null:LYt(o),i=0,c)try{i=djt(e.substr(l+2),$Kt,FWt)}catch(t){throw aL(t=dst(t),127)?qw(new L9(t)):qw(t)}for(p=Art(t.Wg());p.Ob();)if(aL(d=Tot(p),510)&&(w=(r=zz(d,590)).d,(null==m?null==w:yR(m,w))&&0==i--))return r;return null}if(f=-1==(u=e.lastIndexOf("."))?e:e.substr(0,u),n=0,-1!=u)try{n=djt(e.substr(u+1),$Kt,FWt)}catch(t){if(!aL(t=dst(t),127))throw qw(t);f=e}for(f=yR("%",f)?null:LYt(f),g=Art(t.Wg());g.Ob();)if(aL(d=Tot(g),191)&&(b=(a=zz(d,191)).ne(),(null==f?null==b:yR(f,b))&&0==n--))return a;return null}return $Ht(t,e)}function fYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(y=new Nw,h=new Wd(t.b);h.a=t.length)return{done:!0};var i=t[n++];return{value:[i,e.get(i)],done:!1}}}},YBt()||(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[rVt]=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 pYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(S$t(),null==t)return null;if(0==(h=8*t.length))return"";for(f=h/24|0,a=null,a=P8(MNe,KKt,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++]=KLe[d],a[o++]=KLe[g|u<<4],a[o++]=KLe[l<<2|p],a[o++]=KLe[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++]=KLe[d],a[o++]=KLe[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++]=KLe[d],a[o++]=KLe[g|u<<4],a[o++]=KLe[l<<2],a[o++]=61),qpt(a,0,a.length)}function bYt(t,e){var i,r,a,o,s,c;if(0==t.e&&t.p>0&&(t.p=-(t.p-1)),t.p>$Kt&&n4(e,t.p-lXt),s=e.q.getDate(),$Q(e,1),t.k>=0&&mJ(e,t.k),t.c>=0?$Q(e,t.c):t.k>=0?(r=35-new yct(e.q.getFullYear()-lXt,e.q.getMonth(),35).q.getDate(),$Q(e,n.Math.min(r,s))):$Q(e,s),t.f<0&&(t.f=e.q.getHours()),t.b>0&&t.f<12&&(t.f+=12),oL(e,24==t.f&&t.g?0:t.f),t.j>=0&&b6(e,t.j),t.n>=0&&Y8(e,t.n),t.i>=0&&pM(e,adt(odt(Dkt(fot(e.q.getTime()),XKt),XKt),t.i)),t.a&&(n4(a=new DA,a.q.getFullYear()-lXt-80),uT(fot(e.q.getTime()),fot(a.q.getTime()))&&n4(e,a.q.getFullYear()-lXt+100)),t.d>=0)if(-1==t.c)(i=(7+t.d-e.q.getDay())%7)>3&&(i-=7),c=e.q.getMonth(),$Q(e,e.q.getDate()+i),e.q.getMonth()!=c&&$Q(e,e.q.getDate()+(i>0?-7:7));else if(e.q.getDay()!=t.d)return!1;return t.o>$Kt&&(o=e.q.getTimezoneOffset(),pM(e,adt(fot(e.q.getTime()),60*(t.o-o)*XKt))),!0}function wYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;if(aL(r=vEt(e,(hWt(),pfe)),239)){for(d=zz(r,33),g=e.e,h=new gD(e.c),a=e.d,h.a+=a.b,h.b+=a.d,TN(zz(tOt(d,(HZt(),Hbe)),174),(ejt(),HIe))&&(Mf(f=zz(tOt(d,Gbe),116),a.a),jf(f,a.d),Df(f,a.b),$f(f,a.c)),n=new Nw,u=new Wd(e.a);u.a0&&Wz(t.p,f),Wz(t.o,f);p=u+(e-=r),h+=e*t.e,a5(t.a,c,rft(p)),a5(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}}function kYt(){var t;kYt=M,CIe=new WS(hQt,0),uIe=new WS(vQt,1),cIe=new WS(xQt,2),TIe=new WS(kQt,3),SIe=new WS(_Qt,4),TX(),gIe=new Dx(new VR(t=zz(Kk($Ie),9),zz(TF(t,t.length),9),0)),pIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[]))),lIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[]))),_Ie=fht(_U(TIe,Sst(Ux($Ie,1),QJt,61,0,[]))),EIe=fht(_U(SIe,Sst(Ux($Ie,1),QJt,61,0,[]))),vIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[TIe]))),dIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),kIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),bIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe]))),AIe=fht(_U(TIe,Sst(Ux($Ie,1),QJt,61,0,[SIe]))),hIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[TIe]))),yIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,SIe]))),fIe=fht(_U(cIe,Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe]))),xIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[TIe,SIe]))),wIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe]))),mIe=fht(_U(uIe,Sst(Ux($Ie,1),QJt,61,0,[cIe,TIe,SIe])))}function _Yt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m;if(0!=e.b){for(f=new VA,o=null,d=null,i=SQ(n.Math.floor(n.Math.log(e.b)*n.Math.LOG10E)+1),s=0,m=lwt(e,0);m.b!=m.d.c;)for(b=zz(d3(m),86),UI(d)!==UI(vEt(b,(UHt(),rxe)))&&(d=TB(vEt(b,rxe)),s=0),o=null!=d?d+p0(s++,i):p0(s++,i),hct(b,rxe,o),p=new gb(lwt(new db(b).a.d,0));__(p.a);)r5(f,g=zz(d3(p.a),188).c,f.c.b,f.c),hct(g,rxe,o);for(h=new Pw,a=0;a=u){CP(m.b>0),m.a.Xb(m.c=--m.b);break}b.a>l&&(a?(wst(a.b,b.b),a.a=n.Math.max(a.a,b.a),hW(m)):(Wz(b.b,f),b.c=n.Math.min(b.c,l),b.a=n.Math.max(b.a,u),a=b))}a||((a=new iy).c=l,a.a=u,vF(m,a),Wz(a.b,f))}for(c=e.b,h=0,w=new Wd(r);w.as?1:0:(t.b&&(t.b._b(a)&&(r=zz(t.b.xc(a),19).a),t.b._b(c)&&(s=zz(t.b.xc(c),19).a)),rs?1:0)):0!=e.e.c.length&&0!=n.g.c.length?1:-1}function TYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(DAt(e,D1t,1),g=new Nw,v=new Nw,u=new Wd(t.b);u.a0&&(x-=p),EHt(s,x),f=0,g=new Wd(s.a);g.a0),c.a.Xb(c.c=--c.b)),u=.4*r*f,!o&&c.be.d.c){if((d=t.c[e.a.d])==(b=t.c[h.a.d]))continue;ZNt(oE(aE(sE(rE(new qm,1),100),d),b))}}}function LYt(t){var e,n,i,r,a,o,s,c;if(Rqt(),null==t)return null;if((r=UM(t,QAt(37)))<0)return t;for(c=new fN(t.substr(0,r)),e=P8(NNe,y6t,25,4,15,1),s=0,i=0,o=t.length;rr+2&&nct((d1(r+1,t.length),t.charCodeAt(r+1)),IDe,MDe)&&nct((d1(r+2,t.length),t.charCodeAt(r+2)),IDe,MDe))if(n=Sq((d1(r+1,t.length),t.charCodeAt(r+1)),(d1(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:PZ(c,((31&e[0])<<6|63&e[1])&VKt);break;case 3:PZ(c,((15&e[0])<<12|(63&e[1])<<6|63&e[2])&VKt)}s=0,i=0}}else{for(a=0;a0){if(o+i>t.length)return!1;s=ZIt(t.substr(0,o+i),e)}else s=ZIt(t,e);switch(a){case 71:return s=YAt(t,o,Sst(Ux(Vee,1),lKt,2,6,[fXt,dXt]),e),r.e=s,!0;case 77:return wBt(t,e,r,s,o);case 76:return mBt(t,e,r,s,o);case 69:return aSt(t,e,o,r);case 99:return oSt(t,e,o,r);case 97:return s=YAt(t,o,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"]),e),r.b=s,!0;case 121:return yBt(t,e,o,s,n,r);case 100:return!(s<=0||(r.c=s,0));case 83:return!(s<0)&&_gt(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_&&(p.c=_-p.b),Wz(s.d,new PU(p,kft(s,p))),y=e==uIe?n.Math.max(y,b.b+l.b.rf().b):n.Math.min(y,b.b));for(y+=e==uIe?t.t:-t.t,(v=Sgt((s.e=y,s)))>0&&(zz(cK(t.b,e),124).a.b=v),h=d.Kc();h.Ob();)!(l=zz(h.Pb(),111)).c||l.c.d.c.length<=0||((p=l.c.i).c-=l.e.a,p.d-=l.e.b)}else sYt(t,e)}function BYt(t){var e,n,i,r,a,o,s,c,u,h;for(e=new Pw,o=new DL(t);o.e!=o.i.gc();){for(a=zz(kwt(o),33),n=new Fm,KW(Eae,a,n),h=new oe,i=zz(C4(new FH(null,new GY(new cG(JL(pLt(a).a.Kc(),new l)))),TU(h,y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[(Uut(),Yne)])))),83),Jnt(n,zz(i.xc((lN(),!0)),14),new se),r=zz(C4(DK(zz(i.xc(!1),15).Lc(),new ce),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne]))),15).Kc();r.Ob();)(u=IEt(zz(r.Pb(),79)))&&((s=zz(HI(DV(e.f,u)),21))||(s=DPt(u),_St(e.f,u,s)),zrt(n,s));for(i=zz(C4(new FH(null,new GY(new cG(JL(bLt(a).a.Kc(),new l)))),TU(h,y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne])))),83),Jnt(n,zz(i.xc(!0),14),new ue),c=zz(C4(DK(zz(i.xc(!1),15).Lc(),new le),y7(new q,new z,new it,Sst(Ux(tie,1),LKt,132,0,[Yne]))),15).Kc();c.Ob();)(u=MEt(zz(c.Pb(),79)))&&((s=zz(HI(DV(e.f,u)),21))||(s=DPt(u),_St(e.f,u,s)),zrt(n,s))}}function FYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p;if(cqt(),(c=Xlt(t,0)<0)&&(t=k9(t)),0==Xlt(t,0))switch(e){case 0:return"0";case 1:return KXt;case 2:return"0.00";case 3:return"0.000";case 4:return"0.0000";case 5:return"0.00000";case 6:return"0.000000";default:return(d=new Sx).a+=e<0?"0E+":"0E",d.a+=e==$Kt?"2147483648":""+-e,d.a}h=P8(MNe,KKt,25,1+(l=18),15,1),n=l,p=t;do{u=p,p=Dkt(p,10),h[--n]=pU(adt(48,rdt(u,odt(p,10))))&VKt}while(0!=Xlt(p,0));if(r=rdt(rdt(rdt(l,n),e),1),0==e)return c&&(h[--n]=45),qpt(h,n,l-n);if(e>0&&Xlt(r,-6)>=0){if(Xlt(r,0)>=0){for(a=n+pU(r),s=l-1;s>=a;s--)h[s+1]=h[s];return h[++a]=46,c&&(h[--n]=45),qpt(h,n,l-n+1)}for(o=2;uT(o,adt(k9(r),1));o++)h[--n]=48;return h[--n]=46,h[--n]=48,c&&(h[--n]=45),qpt(h,n,l-n)}return g=n+1,i=l,f=new Ix,c&&(f.a+="-"),i-g>=1?(PZ(f,h[n]),f.a+=".",f.a+=qpt(h,n+1,l-n-1)):f.a+=qpt(h,n,l-n),f.a+="E",Xlt(r,0)>0&&(f.a+="+"),f.a+=""+mG(r),f.a}function RYt(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=P8(Ote,HWt,1,0,5,1),t.i.c=P8(Ote,HWt,1,0,5,1),t.g.a.$b(),e)for(o=new Wd(e.a);o.a=1&&(k-l>0&&p>=0?(Snt(f,f.i+x),Int(f,f.j+u*l)):k-l<0&&g>=0&&(Snt(f,f.i+x*k),Int(f,f.j+u)));return Qwt(t,(lWt(),RTe),(vpt(),new VR(o=zz(Kk(VIe),9),zz(TF(o,o.length),9),0))),new PS(_,h)}function $Yt(t){var e,i,r,a,o,s,c,u,l,h,f;if(h=QQ(SAt(zz(Ket((!t.b&&(t.b=new lR(RMe,t,4,7)),t.b),0),82)))==QQ(SAt(zz(Ket((!t.c&&(t.c=new lR(RMe,t,5,8)),t.c),0),82))),s=new Uk,(e=zz(tOt(t,(Wut(),lSe)),74))&&e.b>=2){if(0==(!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i)e_(),i=new oc,h7((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),i);else if((!t.a&&(t.a=new nY($Me,t,6,6)),t.a).i>1)for(f=new aP((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));f.e!=f.i.gc();)Vkt(f);X$t(e,zz(Ket((!t.a&&(t.a=new nY($Me,t,6,6)),t.a),0),202))}if(h)for(r=new DL((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));r.e!=r.i.gc();)for(u=new DL((!(i=zz(kwt(r),202)).a&&(i.a=new OL(PMe,i,5)),i.a));u.e!=u.i.gc();)c=zz(kwt(u),469),s.a=n.Math.max(s.a,c.a),s.b=n.Math.max(s.b,c.b);for(o=new DL((!t.n&&(t.n=new nY(GMe,t,1,7)),t.n));o.e!=o.i.gc();)a=zz(kwt(o),137),(l=zz(tOt(a,bSe),8))&&TD(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 zYt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_;for(m=e.c.length,a=new URt(t.a,i,null,null),_=P8(PNe,UXt,25,m,15,1),g=P8(PNe,UXt,25,m,15,1),d=P8(PNe,UXt,25,m,15,1),p=0,c=0;c_[u]&&(p=u),h=new Wd(t.a.b);h.ag&&(o&&(hM(k,d),hM(A,rft(l.b-1))),I=i.b,M+=d+e,d=0,h=n.Math.max(h,i.b+i.c+S)),Snt(c,I),Int(c,M),h=n.Math.max(h,I+S+i.c),d=n.Math.max(d,f),I+=S+e;if(h=n.Math.max(h,r),(C=M+d+i.a)dJt,T=n.Math.abs(d.b-p.b)>dJt,(!i&&E&&T||i&&(E||T))&&Bq(w.a,x)),zrt(w.a,r),0==r.b?d=x:(CP(0!=r.b),d=zz(r.c.b.c,8)),Qot(g,f,b),sat(a)==A&&(mW(A.i)!=a.a&&DCt(b=new Uk,mW(A.i),y),hct(w,Ffe,b)),TTt(g,w,y),h.a.zc(g,h);TJ(w,k),EJ(w,A)}for(l=h.a.ec().Kc();l.Ob();)TJ(u=zz(l.Pb(),17),null),EJ(u,null);HTt(e)}function GYt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(1==t.gc())return zz(t.Xb(0),231);if(t.gc()<=0)return new v6;for(a=t.Kc();a.Ob();){for(i=zz(a.Pb(),231),p=0,h=FWt,f=FWt,u=$Kt,l=$Kt,g=new Wd(i.e);g.ac&&(v=0,x+=s+m,s=0),XRt(b,i,v,x),e=n.Math.max(e,v+w.a),s=n.Math.max(s,w.b),v+=w.a+m;return b}function YYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g;switch(l=new xy,t.a.g){case 3:f=zz(vEt(e.e,(hWt(),Nfe)),15),d=zz(vEt(e.j,Nfe),15),g=zz(vEt(e.f,Nfe),15),n=zz(vEt(e.e,Ofe),15),i=zz(vEt(e.j,Ofe),15),r=zz(vEt(e.f,Ofe),15),wst(o=new Nw,f),d.Jc(new va),wst(o,aL(d,152)?c6(zz(d,152)):aL(d,131)?zz(d,131).a:aL(d,54)?new hv(d):new SA(d)),wst(o,g),wst(a=new Nw,n),wst(a,aL(i,152)?c6(zz(i,152)):aL(i,131)?zz(i,131).a:aL(i,54)?new hv(i):new SA(i)),wst(a,r),hct(e.f,Nfe,o),hct(e.f,Ofe,a),hct(e.f,Pfe,e.f),hct(e.e,Nfe,null),hct(e.e,Ofe,null),hct(e.j,Nfe,null),hct(e.j,Ofe,null);break;case 1:zrt(l,e.e.a),Bq(l,e.i.n),zrt(l,iot(e.j.a)),Bq(l,e.a.n),zrt(l,e.f.a);break;default:zrt(l,e.e.a),zrt(l,iot(e.j.a)),zrt(l,e.f.a)}vX(e.f.a),zrt(e.f.a,l),TJ(e.f,e.e.c),s=zz(vEt(e.e,(HZt(),mbe)),74),u=zz(vEt(e.j,mbe),74),c=zz(vEt(e.f,mbe),74),(s||u||c)&&(CY(h=new xy,c),CY(h,u),CY(h,s),hct(e.f,mbe,h)),TJ(e.j,null),EJ(e.j,null),TJ(e.e,null),EJ(e.e,null),CJ(e.a,null),CJ(e.i,null),e.g&&YYt(t,e.g)}function ZYt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d,g,p,b;if(S$t(),null==t)return null;if((g=gft(a=K9(t)))%4!=0)return null;if(0==(p=g/4|0))return P8(NNe,y6t,25,0,15,1);for(h=null,e=0,n=0,i=0,r=0,o=0,s=0,c=0,u=0,d=0,f=0,l=0,h=P8(NNe,y6t,25,3*p,15,1);d>4)<<24>>24,h[f++]=((15&n)<<4|i>>2&15)<<24>>24,h[f++]=(i<<6|r)<<24>>24}return K_(o=a[l++])&&K_(s=a[l++])?(e=WLe[o],n=WLe[s],c=a[l++],u=a[l++],-1==WLe[c]||-1==WLe[u]?61==c&&61==u?0!=(15&n)?null:(sqt(h,0,b=P8(NNe,y6t,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=WLe[c]))?null:(sqt(h,0,b=P8(NNe,y6t,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=WLe[c],r=WLe[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}function WYt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y;for(DAt(e,D1t,1),f=zz(vEt(t,(HZt(),Jpe)),218),i=new Wd(t.b);i.a=2){for(d=!0,n=zz(t0(l=new Wd(r.j)),11),h=null;l.a0&&(a=zz(PH(w.c.a,_-1),10),s=t.i[a.p],E=n.Math.ceil(RO(t.n,a,w)),o=k.a.e-w.d.d-(s.a.e+a.o.b+a.d.a)-E),l=RXt,_0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)<0,p=v.a.e.e-v.a.a-(v.b.e.e-v.b.a)<0&&A.a.e.e-A.a.a-(A.b.e.e-A.b.a)>0,g=v.a.e.e+v.b.aA.b.e.e+A.a.a,x=0,!b&&!p&&(d?o+f>0?x=f:l-r>0&&(x=r):g&&(o+c>0?x=c:l-y>0&&(x=y))),k.a.e+=x,k.b&&(k.d.e+=x),1)))}function XYt(t,e,i){var r,a,o,s,c,u,l,h,f,d;if(r=new YK(e.qf().a,e.qf().b,e.rf().a,e.rf().b),a=new dD,t.c)for(s=new Wd(e.wf());s.au&&(i.a+=rL(P8(MNe,KKt,25,-u,15,1))),i.a+="Is",UM(c,QAt(32))>=0)for(r=0;r=i.o.b/2}w?(b=zz(vEt(i,(hWt(),Rfe)),15))?f?a=b:(r=zz(vEt(i,Bhe),15))?a=b.gc()<=r.gc()?b:r:(a=new Nw,hct(i,Bhe,a)):(a=new Nw,hct(i,Rfe,a)):(r=zz(vEt(i,(hWt(),Bhe)),15))?h?a=r:(b=zz(vEt(i,Rfe),15))?a=r.gc()<=b.gc()?r:b:(a=new Nw,hct(i,Rfe,a)):(a=new Nw,hct(i,Bhe,a)),a.Fc(t),hct(t,(hWt(),Rhe),n),e.d==n?(EJ(e,null),n.e.c.length+n.g.c.length==0&&SJ(n,null),wut(n)):(TJ(e,null),n.e.c.length+n.g.c.length==0&&SJ(n,null)),vX(e.a)}function nZt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I;for(m=new E2(t.b,0),p=0,u=zz((h=e.Kc()).Pb(),19).a,x=0,n=new Fm,_=new hD;m.b=t.a&&(r=xzt(t,m),f=n.Math.max(f,r.b),v=n.Math.max(v,r.d),Wz(c,new rI(m,r)));for(_=new Nw,h=0;h0),b.a.Xb(b.c=--b.b),vF(b,A=new qZ(t.b)),CP(b.b0?(l=0,w&&(l+=c),l+=(E-1)*s,y&&(l+=c),A&&y&&(l=n.Math.max(l,ePt(y,s,m,_))),l0){for(f=l<100?null:new $k(l),g=(u=new _at(e)).g,b=P8(DNe,hXt,25,l,15,1),i=0,y=new wet(l),r=0;r=0;)if(null!=d?Pht(d,g[c]):UI(d)===UI(g[c])){b.length<=i&&sqt(b,0,b=P8(DNe,hXt,25,2*b.length,15,1),0,i),b[i++]=r,h7(y,g[c]);break t}if(UI(d)===UI(s))break}}if(u=y,g=y.g,l=i,i>b.length&&sqt(b,0,b=P8(DNe,hXt,25,i,15,1),0,i),i>0){for(m=!0,a=0;a=0;)Nvt(t,b[o]);if(i!=l){for(r=l;--r>=i;)Nvt(u,r);sqt(b,0,b=P8(DNe,hXt,25,i,15,1),0,i)}e=u}}}else for(e=_vt(t,e),r=t.i;--r>=0;)e.Hc(t.g[r])&&(Nvt(t,r),m=!0);if(m){if(null!=b){for(h=1==(n=e.gc())?vJ(t,4,e.Kc().Pb(),null,b[0],p):vJ(t,6,e,b,b[0],p),f=n<100?null:new $k(n),r=e.Kc();r.Ob();)f=HR(t,zz(d=r.Pb(),72),f);f?(f.Ei(h),f.Fi()):got(t.e,h)}else{for(f=OR(e.gc()),r=e.Kc();r.Ob();)f=HR(t,zz(d=r.Pb(),72),f);f&&f.Fi()}return!0}return!1}function cZt(t,e){var n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y;for((n=new hmt(e)).a||wjt(e),u=dFt(e),c=new wQ,b=new VPt,p=new Wd(e.a);p.a0||i.o==ave&&a0?(h=zz(PH(f.c.a,o-1),10),A=RO(t.b,f,h),b=f.n.b-f.d.d-(h.n.b+h.o.b+h.d.a+A)):b=f.n.b-f.d.d,u=n.Math.min(b,u),o(o=r_t(t,n))?sRt(t,e,n):sRt(t,n,e),ro?1:0}return(i=zz(vEt(e,(hWt(),gfe)),19).a)>(a=zz(vEt(n,gfe),19).a)?sRt(t,e,n):sRt(t,n,e),ia?1:0}function dZt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p;if(Hv(AB(tOt(e,(lWt(),GTe)))))return TX(),TX(),lne;if(c=0!=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,u=!(l=xIt(e)).dc(),c||u){if(!(r=zz(tOt(e,yCe),149)))throw qw(new rx("Resolved algorithm is not set; apply a LayoutAlgorithmResolver before computing layout."));if(p=MS(r,(hDt(),tDe)),Pbt(e),!c&&u&&!p)return TX(),TX(),lne;if(s=new Nw,UI(tOt(e,_Te))===UI((cht(),wSe))&&(MS(r,VMe)||MS(r,XMe)))for(f=mFt(t,e),zrt(d=new VA,(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));0!=d.b;)Pbt(h=zz(0==d.b?null:(CP(0!=d.b),Oet(d,d.a.a)),33)),UI(tOt(h,_Te))===UI(ySe)||C8(h,nTe)&&!k5(r,tOt(h,yCe))?(wst(s,dZt(t,h,n,i)),Qwt(h,_Te,ySe),jRt(h)):zrt(d,(!h.a&&(h.a=new nY(YMe,h,10,11)),h.a));else for(f=(!e.a&&(e.a=new nY(YMe,e,10,11)),e.a).i,o=new DL((!e.a&&(e.a=new nY(YMe,e,10,11)),e.a));o.e!=o.i.gc();)wst(s,dZt(t,a=zz(kwt(o),33),n,i)),jRt(a);for(g=new Wd(s);g.a=0?hgt(s):Eft(hgt(s)),t.Ye(swe,d)),u=new Uk,f=!1,t.Xe(twe)?(qP(u,zz(t.We(twe),8)),f=!0):vL(u,o.a/2,o.b/2),d.g){case 4:hct(l,xbe,(Edt(),$fe)),hct(l,Uhe,(Jst(),Ole)),l.o.b=o.b,p<0&&(l.o.a=-p),USt(h,(kYt(),cIe)),f||(u.a=o.a),u.a-=o.a;break;case 2:hct(l,xbe,(Edt(),qfe)),hct(l,Uhe,(Jst(),Mle)),l.o.b=o.b,p<0&&(l.o.a=-p),USt(h,(kYt(),SIe)),f||(u.a=0);break;case 1:hct(l,ife,(G9(),She)),l.o.a=o.a,p<0&&(l.o.b=-p),USt(h,(kYt(),TIe)),f||(u.b=o.b),u.b-=o.b;break;case 3:hct(l,ife,(G9(),The)),l.o.a=o.a,p<0&&(l.o.b=-p),USt(h,(kYt(),uIe)),f||(u.b=0)}if(qP(h.n,u),hct(l,twe,u),e==YSe||e==WSe||e==ZSe){if(g=0,e==YSe&&t.Xe(iwe))switch(d.g){case 1:case 2:g=zz(t.We(iwe),19).a;break;case 3:case 4:g=-zz(t.We(iwe),19).a}else switch(d.g){case 4:case 2:g=a.b,e==WSe&&(g/=r.b);break;case 1:case 3:g=a.a,e==WSe&&(g/=r.a)}hct(l,Afe,g)}return hct(l,Xhe,d),l}function pZt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_;if((n=Uv(EB(vEt(t.a.j,(HZt(),jpe)))))<-1||!t.a.i||LR(zz(vEt(t.a.o,nwe),98))||sdt(t.a.o,(kYt(),cIe)).gc()<2&&sdt(t.a.o,SIe).gc()<2)return!0;if(t.a.c.Rf())return!1;for(v=0,y=0,m=new Nw,c=0,u=(s=t.a.e).length;c=n}function bZt(){function t(t){var e=this;this.dispatch=function(e){var n=e.data;switch(n.cmd){case"algorithms":var i=Cgt((TX(),new qd(new Md(fDe.b))));t.postMessage({id:n.id,data:i});break;case"categories":var r=Cgt((TX(),new qd(new Md(fDe.c))));t.postMessage({id:n.id,data:r});break;case"options":var a=Cgt((TX(),new qd(new Md(fDe.d))));t.postMessage({id:n.id,data:a});break;case"register":dUt(n.algorithms),t.postMessage({id:n.id});break;case"layout":Bzt(n.graph,n.layoutOptions||{},n.options||{}),t.postMessage({id:n.id,data:n.graph})}},this.saveDispatch=function(n){try{e.dispatch(n)}catch(e){t.postMessage({id:n.data.id,error:e})}}}function n(e){var n=this;this.dispatcher=new t({postMessage:function(t){n.onmessage({data:t})}}),this.postMessage=function(t){setTimeout((function(){n.dispatcher.saveDispatch({data:t})}),0)}}if(o_(),typeof document===wVt&&typeof self!==wVt){var r=new t(self);self.onmessage=r.saveDispatch}else typeof e!==wVt&&e.exports&&(Object.defineProperty(i,"__esModule",{value:!0}),e.exports={default:n,Worker:n})}function wZt(t){t.N||(t.N=!0,t.b=kot(t,0),Rrt(t.b,0),Rrt(t.b,1),Rrt(t.b,2),t.bb=kot(t,1),Rrt(t.bb,0),Rrt(t.bb,1),t.fb=kot(t,2),Rrt(t.fb,3),Rrt(t.fb,4),jrt(t.fb,5),t.qb=kot(t,3),Rrt(t.qb,0),jrt(t.qb,1),jrt(t.qb,2),Rrt(t.qb,3),Rrt(t.qb,4),jrt(t.qb,5),Rrt(t.qb,6),t.a=_ot(t,4),t.c=_ot(t,5),t.d=_ot(t,6),t.e=_ot(t,7),t.f=_ot(t,8),t.g=_ot(t,9),t.i=_ot(t,10),t.j=_ot(t,11),t.k=_ot(t,12),t.n=_ot(t,13),t.o=_ot(t,14),t.p=_ot(t,15),t.q=_ot(t,16),t.s=_ot(t,17),t.r=_ot(t,18),t.t=_ot(t,19),t.u=_ot(t,20),t.v=_ot(t,21),t.w=_ot(t,22),t.B=_ot(t,23),t.A=_ot(t,24),t.C=_ot(t,25),t.D=_ot(t,26),t.F=_ot(t,27),t.G=_ot(t,28),t.H=_ot(t,29),t.J=_ot(t,30),t.I=_ot(t,31),t.K=_ot(t,32),t.M=_ot(t,33),t.L=_ot(t,34),t.P=_ot(t,35),t.Q=_ot(t,36),t.R=_ot(t,37),t.S=_ot(t,38),t.T=_ot(t,39),t.U=_ot(t,40),t.V=_ot(t,41),t.X=_ot(t,42),t.W=_ot(t,43),t.Y=_ot(t,44),t.Z=_ot(t,45),t.$=_ot(t,46),t._=_ot(t,47),t.ab=_ot(t,48),t.cb=_ot(t,49),t.db=_ot(t,50),t.eb=_ot(t,51),t.gb=_ot(t,52),t.hb=_ot(t,53),t.ib=_ot(t,54),t.jb=_ot(t,55),t.kb=_ot(t,56),t.lb=_ot(t,57),t.mb=_ot(t,58),t.nb=_ot(t,59),t.ob=_ot(t,60),t.pb=_ot(t,61))}function mZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;if(y=0,0==e.f.a)for(w=new Wd(t);w.au&&0==(f1(u,e.c.length),zz(e.c[u],200)).a.c.length;)v9(e,(f1(u,e.c.length),e.c[u]));if(!c){--a;continue}if(Ojt(e,l,r,c,f,n,u,i)){h=!0;continue}if(f){if(Jzt(e,l,r,c,n,u,i)){h=!0;continue}if(Olt(l,r)){r.c=!0,h=!0;continue}}else if(Olt(l,r)){r.c=!0,h=!0;continue}if(h)continue}Olt(l,r)?(r.c=!0,h=!0,c&&(c.k=!1)):Gyt(r.q)}else OA(),Ext(l,r),--a,h=!0;return h}function xZt(t,e,i,r,a,o,s){var c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D;for(b=0,C=0,l=new Wd(t.b);l.ab&&(o&&(hM(_,g),hM(E,rft(h.b-1)),Wz(t.d,p),c.c=P8(Ote,HWt,1,0,5,1)),M=i.b,D+=g+e,g=0,f=n.Math.max(f,i.b+i.c+I)),c.c[c.c.length]=u,Twt(u,M,D),f=n.Math.max(f,M+I+i.c),g=n.Math.max(g,d),M+=I+e,p=u;if(wst(t.a,c),Wz(t.d,zz(PH(c,c.c.length-1),157)),f=n.Math.max(f,r),(S=D+g+i.a)1&&(s=n.Math.min(s,n.Math.abs(zz(Fwt(c.a,1),8).b-h.b)))));else for(p=new Wd(e.j);p.aa&&(o=d.a-a,s=FWt,r.c=P8(Ote,HWt,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(zz(Fwt(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(SJ(g=new ITt,e),USt(g,(kYt(),uIe)),g.n.a=e.o.a/2,SJ(b=new ITt,e),USt(b,TIe),b.n.a=e.o.a/2,b.n.b=e.o.b,u=new Wd(r);u.a=l.b?TJ(c,b):TJ(c,g)):(l=zz(bq(c.a),8),(0==c.a.b?b1(c.c):zz(wP(c.a),8)).b>=l.b?EJ(c,b):EJ(c,g)),(f=zz(vEt(c,(HZt(),mbe)),74))&&xgt(f,l,!0);e.n.a=a-e.o.a/2}}function AZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d;if(u=e,Lit(c=X3(t,L3(n),u),F2(u,U6t)),l=zz(lnt(t.g,kIt(GQ(u,E6t))),33),i=null,(o=GQ(u,"sourcePort"))&&(i=kIt(o)),h=zz(lnt(t.j,i),118),!l)throw qw(new nx("An edge must have a source node (edge id: '"+Vpt(u)+K6t));if(h&&!gW(WQ(h),l))throw qw(new nx("The source port of an edge must be a port of the edge's source node (edge id: '"+F2(u,U6t)+K6t));if(!c.b&&(c.b=new lR(RMe,c,4,7)),h7(c.b,h||l),f=zz(lnt(t.g,kIt(GQ(u,Q6t))),33),r=null,(s=GQ(u,"targetPort"))&&(r=kIt(s)),d=zz(lnt(t.j,r),118),!f)throw qw(new nx("An edge must have a target node (edge id: '"+Vpt(u)+K6t));if(d&&!gW(WQ(d),f))throw qw(new nx("The target port of an edge must be a port of the edge's target node (edge id: '"+F2(u,U6t)+K6t));if(!c.c&&(c.c=new lR(RMe,c,5,8)),h7(c.c,d||f),0==(!c.b&&(c.b=new lR(RMe,c,4,7)),c.b).i||0==(!c.c&&(c.c=new lR(RMe,c,5,8)),c.c).i)throw a=F2(u,U6t),qw(new nx(W6t+a+K6t));return CAt(u,c),lOt(u,c),Bct(t,u,c)}function EZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T;return h=I$t(qN(t,(kYt(),gIe)),e),g=svt(qN(t,pIe),e),v=svt(qN(t,_Ie),e),A=cvt(qN(t,EIe),e),f=cvt(qN(t,lIe),e),m=svt(qN(t,kIe),e),p=svt(qN(t,bIe),e),k=svt(qN(t,AIe),e),x=svt(qN(t,hIe),e),E=cvt(qN(t,dIe),e),w=svt(qN(t,vIe),e),y=svt(qN(t,yIe),e),_=svt(qN(t,fIe),e),T=cvt(qN(t,xIe),e),d=cvt(qN(t,wIe),e),b=svt(qN(t,mIe),e),n=Nct(Sst(Ux(PNe,1),UXt,25,15,[m.a,A.a,k.a,T.a])),i=Nct(Sst(Ux(PNe,1),UXt,25,15,[g.a,h.a,v.a,b.a])),r=w.a,a=Nct(Sst(Ux(PNe,1),UXt,25,15,[p.a,f.a,x.a,d.a])),u=Nct(Sst(Ux(PNe,1),UXt,25,15,[m.b,g.b,p.b,y.b])),c=Nct(Sst(Ux(PNe,1),UXt,25,15,[A.b,h.b,f.b,b.b])),l=E.b,s=Nct(Sst(Ux(PNe,1),UXt,25,15,[k.b,v.b,x.b,_.b])),g7(qN(t,gIe),n+r,u+l),g7(qN(t,mIe),n+r,u+l),g7(qN(t,pIe),n+r,0),g7(qN(t,_Ie),n+r,u+l+c),g7(qN(t,EIe),0,u+l),g7(qN(t,lIe),n+r+i,u+l),g7(qN(t,bIe),n+r+i,0),g7(qN(t,AIe),0,u+l+c),g7(qN(t,hIe),n+r+i,u+l+c),g7(qN(t,dIe),0,u),g7(qN(t,vIe),n,0),g7(qN(t,fIe),0,u+l+c),g7(qN(t,wIe),n+r+i,0),(o=new Uk).a=Nct(Sst(Ux(PNe,1),UXt,25,15,[n+i+r+a,E.a,y.a,_.a])),o.b=Nct(Sst(Ux(PNe,1),UXt,25,15,[u+c+l+s,w.b,T.b,d.b])),o}function TZt(t){var e,n,i,r,a,o,s,c,u,h,f,d,g,p,b;for(p=new Nw,f=new Wd(t.d.b);f.ar.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=zz(FZ(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 cG(JL(fdt(d).a.Kc(),new l));bDt(s);)0!=(o=zz(Y5(s),17)).a.b&&(e=zz(wP(o.a),8),o.d.j==(kYt(),uIe)&&((b=new Szt(e,new PS(e.a,r.d.d),r,o)).f.a=!0,b.a=o.d,p.c[p.c.length]=b),o.d.j==TIe&&((b=new Szt(e,new PS(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}function CZt(t,e,n){var i,r,a,o,s,c,u;if(DAt(n,"Network simplex node placement",1),t.e=e,t.n=zz(vEt(e,(hWt(),Dfe)),304),uHt(t),R_t(t),QA(gtt(new FH(null,new g1(t.e.b,16)),new qa),new ab(t)),QA(DK(gtt(DK(gtt(new FH(null,new g1(t.e.b,16)),new eo),new no),new io),new ro),new rb(t)),Hv(AB(vEt(t.e,(HZt(),Pbe))))&&(DAt(a=vat(n,1),"Straight Edges Pre-Processing",1),_Gt(t),HTt(a)),Tmt(t.f),r=zz(vEt(e,Pwe),19).a*t.f.a.c.length,KRt(Xx(Vx(zj(t.f),r),!1),vat(n,1)),0!=t.d.a.gc()){for(DAt(a=vat(n,1),"Flexible Where Space Processing",1),o=zz(ON(MG(OK(new FH(null,new g1(t.f.a,16)),new Ha),new Ba)),19).a,s=zz(ON(IG(OK(new FH(null,new g1(t.f.a,16)),new Ua),new Fa)),19).a-o,c=DN(new Hm,t.f),u=DN(new Hm,t.f),ZNt(oE(aE(rE(sE(new qm,2e4),s),c),u)),QA(DK(DK(LY(t.i),new Ga),new Ya),new GK(o,c,s,u)),i=t.d.a.ec().Kc();i.Ob();)zz(i.Pb(),213).g=1;KRt(Xx(Vx(zj(t.f),r),!1),vat(a,1)),HTt(a)}Hv(AB(vEt(e,Pbe)))&&(DAt(a=vat(n,1),"Straight Edges Post-Processing",1),CCt(t),HTt(a)),VUt(t),t.e=null,t.f=null,t.i=null,t.c=null,OY(t.k),t.j=null,t.a=null,t.o=null,t.d.a.$b(),HTt(n)}function SZt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;for(s=new Wd(t.a.b);s.a0)if(r=h.gc(),u=SQ(n.Math.floor((r+1)/2))-1,a=SQ(n.Math.ceil((r+1)/2))-1,e.o==ave)for(l=a;l>=u;l--)e.a[v.p]==v&&(p=zz(h.Xb(l),46),g=zz(p.a,10),!$A(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]=(lN(),!!(Hv(e.f[e.g[v.p].p])&v.k==(cTt(),Cse))),d=t.b.e[g.p]));else for(l=u;l<=a;l++)e.a[v.p]==v&&(w=zz(h.Xb(l),46),b=zz(w.a,10),!$A(i,w.b)&&d=g&&(m>g&&(d.c=P8(Ote,HWt,1,0,5,1),g=m),d.c[d.c.length]=o);0!=d.c.length&&(f=zz(PH(d,mmt(e,d.c.length)),128),C.a.Bc(f),f.s=p++,oLt(f,E,k),d.c=P8(Ote,HWt,1,0,5,1))}for(v=t.c.length+1,s=new Wd(t);s.aT.s&&(hW(n),v9(T.i,i),i.c>0&&(i.a=T,Wz(T.t,i),i.b=_,Wz(_.i,i)))}function DZt(t){var e,n,i,r,a;switch(e=t.c){case 11:return t.Ml();case 12:return t.Ol();case 14:return t.Ql();case 15:return t.Tl();case 16:return t.Rl();case 17:return t.Ul();case 21:return VZt(t),pWt(),pWt(),uNe;case 10:switch(t.a){case 65:return t.yl();case 90:return t.Dl();case 122:return t.Kl();case 98:return t.El();case 66:return t.zl();case 60:return t.Jl();case 62:return t.Hl()}}switch(a=kZt(t),e=t.c){case 3:return t.Zl(a);case 4:return t.Xl(a);case 5:return t.Yl(a);case 0:if(123==t.a&&t.d=48&&e<=57))throw qw(new ox(kWt((sO(),W8t))));for(i=e-48;r=48&&e<=57;)if((i=10*i+e-48)<0)throw qw(new ox(kWt((sO(),Q8t))));if(n=i,44==e){if(r>=t.j)throw qw(new ox(kWt((sO(),X8t))));if((e=hK(t.i,r++))>=48&&e<=57){for(n=e-48;r=48&&e<=57;)if((n=10*n+e-48)<0)throw qw(new ox(kWt((sO(),Q8t))));if(i>n)throw qw(new ox(kWt((sO(),V8t))))}else n=-1}if(125!=e)throw qw(new ox(kWt((sO(),K8t))));t.sl(r)?(pWt(),pWt(),a=new l4(9,a),t.d=r+1):(pWt(),pWt(),a=new l4(3,a),t.d=r),a.dm(i),a.cm(n),VZt(t)}}return a}function OZt(t,e,n,i,r){var a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E;for(g=new Q6(e.b),m=new Q6(e.b),f=new Q6(e.b),k=new Q6(e.b),p=new Q6(e.b),x=lwt(e,0);x.b!=x.d.c;)for(s=new Wd((y=zz(d3(x),11)).g);s.a0,b=y.g.c.length>0,u&&b?f.c[f.c.length]=y:u?g.c[g.c.length]=y:b&&(m.c[m.c.length]=y);for(d=new Wd(g);d.a1)for(d=new aP((!t.a&&(t.a=new nY($Me,t,6,6)),t.a));d.e!=d.i.gc();)Vkt(d);for(p=S,S>v+y?p=v+y:Sx+g?b=x+g:Iv-y&&px-g&&bS+C?_=S+C:vI+k?A=I+k:xS-C&&_I-k&&Ai&&(h=i-1),(f=L+HOt(e,24)*cVt*l-l/2)<0?f=1:f>r&&(f=r-1),e_(),_nt(a=new ac,h),Ant(a,f),h7((!s.a&&(s.a=new OL(PMe,s,5)),s.a),a)}function HZt(){HZt=M,lWt(),wwe=kCe,mwe=_Ce,ywe=ACe,vwe=ECe,kwe=TCe,_we=CCe,Twe=ICe,Swe=DCe,Iwe=OCe,Cwe=MCe,Mwe=LCe,Owe=NCe,Nwe=FCe,Ewe=SCe,fWt(),bwe=jge,xwe=$ge,Awe=zge,Dwe=qge,lwe=new ZD(wCe,rft(0)),hwe=Bge,fwe=Fge,dwe=Rge,Gwe=fpe,Fwe=Gge,Rwe=Wge,zwe=npe,jwe=Vge,$we=Jge,Zwe=wpe,Ywe=gpe,Hwe=cpe,qwe=ope,Uwe=lpe,Fbe=Cge,Rbe=Sge,rbe=Rde,abe=zde,Ybe=new WD(12),Gbe=new ZD(ZTe,Ybe),Tdt(),Jpe=new ZD(mTe,tbe=XCe),ewe=new ZD(oCe,0),gwe=new ZD(mCe,rft(1)),_pe=new ZD(aTe,bJt),Ube=GTe,nwe=sCe,swe=gCe,Gpe=fTe,xpe=iTe,ube=_Te,pwe=new ZD(xCe,(lN(),!0)),gbe=TTe,pbe=CTe,$be=RTe,Hbe=HTe,zbe=$Te,zht(),Ype=new ZD(dTe,Wpe=zCe),Obe=BTe,Dbe=NTe,awe=hCe,rwe=lCe,owe=dCe,owt(),new ZD(JTe,Kbe=HSe),Vbe=nCe,Qbe=iCe,Jbe=rCe,Xbe=eCe,Bwe=Uge,Cbe=fge,Tbe=lge,Pwe=Hge,xbe=nge,Upe=Ade,Hpe=kde,Ppe=sde,Bpe=cde,Rpe=dde,Fpe=ude,qpe=vde,Ibe=gge,Mbe=pge,wbe=Kde,jbe=Oge,Nbe=yge,sbe=Ude,Bbe=Ege,nbe=Nde,ibe=Bde,Npe=lTe,Lbe=bge,Cpe=Xfe,Tpe=Wfe,Epe=Zfe,hbe=Zde,lbe=Yde,fbe=Wde,qbe=zTe,mbe=MTe,obe=vTe,Vpe=bTe,Xpe=pTe,jpe=bde,iwe=uCe,Ape=uTe,dbe=ETe,twe=aCe,Zbe=KTe,Wbe=VTe,_be=age,Abe=sge,uwe=bCe,kpe=Yfe,Ebe=uge,Qpe=Mde,Kpe=Sde,Sbe=OTe,ybe=Jde,Pbe=kge,Lwe=PCe,Zpe=Tde,cwe=Nge,ebe=Ode,vbe=ege,$pe=mde,bbe=ITe,kbe=rge,zpe=yde,Lpe=ade,Dpe=nde,Ipe=tde,Mpe=ede,Ope=rde,Spe=Qfe,cbe=Gde}function UZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(cqt(),A=t.e,g=t.d,r=t.a,0==A)switch(e){case 0:return"0";case 1:return KXt;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 Sx).a+=e<0?"0E+":"0E",k.a+=-e,k.a}if(v=P8(MNe,KKt,25,1+(y=10*g+1+7),15,1),n=y,1==g)if((s=r[0])<0){S=n0(s,ZXt);do{p=S,S=Dkt(S,10),v[--n]=48+pU(rdt(p,odt(S,10)))&VKt}while(0!=Xlt(S,0))}else{S=s;do{p=S,S=S/10|0,v[--n]=p-10*S+48&VKt}while(0!=S)}else{sqt(r,0,T=P8(DNe,hXt,25,g,15,1),0,C=g);t:for(;;){for(_=0,u=C-1;u>=0;u--)w=fAt(adt(vG(_,32),n0(T[u],ZXt))),T[u]=pU(w),_=pU(xG(w,32));m=pU(_),b=n;do{v[--n]=48+m%10&VKt}while(0!=(m=m/10|0)&&0!=n);for(i=9-b+n,c=0;c0;c++)v[--n]=48;for(h=C-1;0==T[h];h--)if(0==h)break t;C=h+1}for(;48==v[n];)++n}if(d=A<0,o=y-n-e-1,0==e)return d&&(v[--n]=45),qpt(v,n,y-n);if(e>0&&o>=-6){if(o>=0){for(l=n+o,f=y-1;f>=l;f--)v[f+1]=v[f];return v[++l]=46,d&&(v[--n]=45),qpt(v,n,y-n+1)}for(h=2;h<1-o;h++)v[--n]=48;return v[--n]=46,v[--n]=48,d&&(v[--n]=45),qpt(v,n,y-n)}return E=n+1,a=y,x=new Ix,d&&(x.a+="-"),a-E>=1?(PZ(x,v[n]),x.a+=".",x.a+=qpt(v,n+1,y-n-1)):x.a+=qpt(v,n,y-n),x.a+="E",o>0&&(x.a+="+"),x.a+=""+o,x.a}function GZt(t,e){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x;switch(t.c=e,t.g=new Pw,UE(),ngt(new Cg(new Bv(t.c))),m=TB(tOt(t.c,(TEt(),pAe))),s=zz(tOt(t.c,wAe),316),v=zz(tOt(t.c,mAe),429),a=zz(tOt(t.c,lAe),482),y=zz(tOt(t.c,bAe),430),t.j=Uv(EB(tOt(t.c,yAe))),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 qw(new jv(P4t+(null!=s.f?s.f:""+s.g)))}if(t.d=new BQ(o,v,a),hct(t.d,(Wat(),Xre),AB(tOt(t.c,fAe))),t.d.c=Hv(AB(tOt(t.c,hAe))),0==VX(t.c).i)return t.d;for(l=new DL(VX(t.c));l.e!=l.i.gc();){for(f=(u=zz(kwt(l),33)).g/2,h=u.f/2,x=new PS(u.i+f,u.j+h);lY(t.g,x);)jP(x,(n.Math.random()-.5)*dJt,(n.Math.random()-.5)*dJt);g=zz(tOt(u,(lWt(),OTe)),142),p=new DJ(x,new YK(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))),Wz(t.d.i,p),KW(t.g,x,new rI(p,u))}switch(y.g){case 0:if(null==m)t.d.d=zz(PH(t.d.i,0),65);else for(w=new Wd(t.d.i);w.a1&&r5(h,m,h.c.b,h.c),vet(a)));m=y}return h}function ZZt(t,e,n){var i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D;for(DAt(n,"Greedy cycle removal",1),D=(y=e.a).c.length,t.a=P8(DNe,hXt,25,D,15,1),t.c=P8(DNe,hXt,25,D,15,1),t.b=P8(DNe,hXt,25,D,15,1),u=0,w=new Wd(y);w.a0?T+1:1);for(o=new Wd(x.g);o.a0?T+1:1)}0==t.c[u]?Bq(t.e,p):0==t.a[u]&&Bq(t.f,p),++u}for(g=-1,d=1,h=new Nw,t.d=zz(vEt(e,(hWt(),Tfe)),230);D>0;){for(;0!=t.e.b;)S=zz(pq(t.e),10),t.b[S.p]=g--,VRt(t,S),--D;for(;0!=t.f.b;)I=zz(pq(t.f),10),t.b[I.p]=d++,VRt(t,I),--D;if(D>0){for(f=$Kt,m=new Wd(y);m.a=f&&(v>f&&(h.c=P8(Ote,HWt,1,0,5,1),f=v),h.c[h.c.length]=p);l=t.Zf(h),t.b[l.p]=d++,VRt(t,l),--D}}for(C=y.c.length+1,u=0;ut.b[M]&&(nzt(i,!0),hct(e,Hhe,(lN(),!0)));t.a=null,t.c=null,t.b=null,vX(t.f),vX(t.e),HTt(n)}function WZt(t,e){var n,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w;for(i=new Nw,s=new Nw,b=e/2,d=t.gc(),r=zz(t.Xb(0),8),w=zz(t.Xb(1),8),Wz(i,(f1(0,(g=VDt(r.a,r.b,w.a,w.b,b)).c.length),zz(g.c[0],8))),Wz(s,(f1(1,g.c.length),zz(g.c[1],8))),u=2;u=0;c--)Bq(n,(f1(c,o.c.length),zz(o.c[c],8)));return n}function KZt(t){var e,n,i,r,a,o,s,c,u,l,h,f,d;if(o=!0,h=null,i=null,r=null,e=!1,d=xDe,u=null,a=null,(c=Xbt(t,s=0,DDe,ODe))=0&&yR(t.substr(s,"//".length),"//")?(c=Xbt(t,s+=2,LDe,NDe),i=t.substr(s,c-s),s=c):null==h||s!=t.length&&(d1(s,t.length),47==t.charCodeAt(s))||(o=!1,-1==(c=vN(t,QAt(35),s))&&(c=t.length),i=t.substr(s,c-s),s=c);if(!n&&s0&&58==hK(l,l.length-1)&&(r=l,s=c)),s=t.j)return t.a=-1,void(t.c=1);if(e=hK(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!=hK(t.i,t.d))break;if(++t.d>=t.j)throw qw(new ox(kWt((sO(),m8t))));switch(e=hK(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 qw(new ox(kWt((sO(),m8t))));if(61==(e=hK(t.i,t.d++)))i=16;else{if(33!=e)throw qw(new ox(kWt((sO(),y8t))));i=17}break;case 35:for(;t.d=t.j)throw qw(new ox(kWt((sO(),w8t))));t.a=hK(t.i,t.d++);break;default:i=0}t.c=i}else{switch(e){case 92:if(i=10,t.d>=t.j)throw qw(new ox(kWt((sO(),w8t))));t.a=hK(t.i,t.d++);break;case 45:512==(512&t.e)&&t.d=k||!Ppt(m,i))&&(i=r1(e,h)),CJ(m,i),a=new cG(JL(fdt(m).a.Kc(),new l));bDt(a);)r=zz(Y5(a),17),t.a[r.p]||(b=r.c.i,--t.e[b.p],0==t.e[b.p]&&$8(iEt(g,b)));for(u=h.c.length-1;u>=0;--u)Wz(e.b,(f1(u,h.c.length),zz(h.c[u],29)));e.a.c=P8(Ote,HWt,1,0,5,1),HTt(n)}else HTt(n)}function tWt(t){var e,n,i,r,a,o,s,c;for(t.b=1,VZt(t),e=null,0==t.c&&94==t.a?(VZt(t),pWt(),pWt(),QPt(e=new E0(4),0,cte),o=new E0(4)):(pWt(),pWt(),o=new E0(4)),r=!0;1!=(c=t.c);){if(0==c&&93==t.a&&!r){e&&(KUt(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:lqt(o,bjt(n)),i=!0;break;case 105:case 73:case 99:case 67:lqt(o,bjt(n)),(n=-1)<0&&(i=!0);break;case 112:case 80:if(!(s=FIt(t,n)))throw qw(new ox(kWt((sO(),D8t))));lqt(o,s),i=!0;break;default:n=UBt(t)}else if(24==c&&!r){if(e&&(KUt(e,o),o=e),KUt(o,tWt(t)),0!=t.c||93!=t.a)throw qw(new ox(kWt((sO(),P8t))));break}if(VZt(t),!i){if(0==c){if(91==n)throw qw(new ox(kWt((sO(),B8t))));if(93==n)throw qw(new ox(kWt((sO(),F8t))));if(45==n&&!r&&93!=t.a)throw qw(new ox(kWt((sO(),R8t))))}if(0!=t.c||45!=t.a||45==n&&r)QPt(o,n,n);else{if(VZt(t),1==(c=t.c))throw qw(new ox(kWt((sO(),L8t))));if(0==c&&93==t.a)QPt(o,n,n),QPt(o,45,45);else{if(0==c&&93==t.a||24==c)throw qw(new ox(kWt((sO(),R8t))));if(a=t.a,0==c){if(91==a)throw qw(new ox(kWt((sO(),B8t))));if(93==a)throw qw(new ox(kWt((sO(),F8t))));if(45==a)throw qw(new ox(kWt((sO(),R8t))))}else 10==c&&(a=UBt(t));if(VZt(t),n>a)throw qw(new ox(kWt((sO(),z8t))));QPt(o,n,a)}}}r=!1}if(1==t.c)throw qw(new ox(kWt((sO(),L8t))));return EOt(o),Uqt(o),t.b=0,VZt(t),o}function eWt(t){XOt(t.c,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#decimal"])),XOt(t.d,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#integer"])),XOt(t.e,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#boolean"])),XOt(t.f,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EBoolean",n8t,"EBoolean:Object"])),XOt(t.i,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#byte"])),XOt(t.g,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#hexBinary"])),XOt(t.j,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EByte",n8t,"EByte:Object"])),XOt(t.n,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EChar",n8t,"EChar:Object"])),XOt(t.t,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#double"])),XOt(t.u,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EDouble",n8t,"EDouble:Object"])),XOt(t.F,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#float"])),XOt(t.G,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EFloat",n8t,"EFloat:Object"])),XOt(t.I,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#int"])),XOt(t.J,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EInt",n8t,"EInt:Object"])),XOt(t.N,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#long"])),XOt(t.O,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"ELong",n8t,"ELong:Object"])),XOt(t.Z,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#short"])),XOt(t.$,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"EShort",n8t,"EShort:Object"])),XOt(t._,$7t,Sst(Ux(Vee,1),lKt,2,6,[J7t,"http://www.w3.org/2001/XMLSchema#string"]))}function nWt(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(1==t.c.length)return f1(0,t.c.length),zz(t.c[0],135);if(t.c.length<=0)return new C6;for(u=new Wd(t);u.af&&(C=0,S+=h+_,h=0),ALt(x,s,C,S),e=n.Math.max(e,C+k.a),h=n.Math.max(h,k.b),C+=k.a+_;for(v=new Pw,i=new Pw,E=new Wd(t);E.ayOt(a))&&(h=a);for(!h&&(f1(0,p.c.length),h=zz(p.c[0],180)),g=new Wd(e.b);g.a=-1900?1:0,cM(t,n>=4?Sst(Ux(Vee,1),lKt,2,6,[fXt,dXt])[o]:Sst(Ux(Vee,1),lKt,2,6,["BC","AD"])[o]);break;case 121:uwt(t,n,i);break;case 77:WRt(t,n,i);break;case 107:_tt(t,0==(s=r.q.getHours())?24:s,n);break;case 83:RLt(t,n,r);break;case 69:c=i.q.getDay(),cM(t,5==n?Sst(Ux(Vee,1),lKt,2,6,["S","M","T","W","T","F","S"])[c]:4==n?Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt])[c]:Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[c]);break;case 97:r.q.getHours()>=12&&r.q.getHours()<24?cM(t,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"])[1]):cM(t,Sst(Ux(Vee,1),lKt,2,6,["AM","PM"])[0]);break;case 104:_tt(t,0==(u=r.q.getHours()%12)?12:u,n);break;case 75:_tt(t,r.q.getHours()%12,n);break;case 72:_tt(t,r.q.getHours(),n);break;case 99:l=i.q.getDay(),5==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["S","M","T","W","T","F","S"])[l]):4==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,[gXt,pXt,bXt,wXt,mXt,yXt,vXt])[l]):3==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["Sun","Mon","Tue","Wed","Thu","Fri","Sat"])[l]):_tt(t,l,1);break;case 76:h=i.q.getMonth(),5==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["J","F","M","A","M","J","J","A","S","O","N","D"])[h]):4==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,[QKt,JKt,tXt,eXt,nXt,iXt,rXt,aXt,oXt,sXt,cXt,uXt])[h]):3==n?cM(t,Sst(Ux(Vee,1),lKt,2,6,["Jan","Feb","Mar","Apr",nXt,"Jun","Jul","Aug","Sep","Oct","Nov","Dec"])[h]):_tt(t,h+1,n);break;case 81:f=i.q.getMonth()/3|0,cM(t,n<4?Sst(Ux(Vee,1),lKt,2,6,["Q1","Q2","Q3","Q4"])[f]:Sst(Ux(Vee,1),lKt,2,6,["1st quarter","2nd quarter","3rd quarter","4th quarter"])[f]);break;case 100:_tt(t,i.q.getDate(),n);break;case 109:_tt(t,r.q.getMinutes(),n);break;case 115:_tt(t,r.q.getSeconds(),n);break;case 122:cM(t,n<4?a.c[0]:a.c[1]);break;case 118:cM(t,a.b);break;case 90:cM(t,n<3?eIt(a):3==n?pIt(a):bIt(a.a));break;default:return!1}return!0}function cWt(t,e,n,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S;if(nRt(e),c=zz(Ket((!e.b&&(e.b=new lR(RMe,e,4,7)),e.b),0),82),l=zz(Ket((!e.c&&(e.c=new lR(RMe,e,5,8)),e.c),0),82),s=SAt(c),u=SAt(l),o=0==(!e.a&&(e.a=new nY($Me,e,6,6)),e.a).i?null:zz(Ket((!e.a&&(e.a=new nY($Me,e,6,6)),e.a),0),202),k=zz(FZ(t.a,s),10),T=zz(FZ(t.a,u),10),_=null,C=null,aL(c,186)&&(aL(x=zz(FZ(t.a,c),299),11)?_=zz(x,11):aL(x,10)&&(k=zz(x,10),_=zz(PH(k.j,0),11))),aL(l,186)&&(aL(E=zz(FZ(t.a,l),299),11)?C=zz(E,11):aL(E,10)&&(T=zz(E,10),C=zz(PH(T.j,0),11))),!k||!T)throw qw(new ax("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(Uot(p=new gV,e),hct(p,(hWt(),pfe),e),hct(p,(HZt(),mbe),null),d=zz(vEt(i,Jhe),21),k==T&&d.Fc((gBt(),mhe)),_||(sit(),v=Hme,A=null,o&&mD(zz(vEt(k,nwe),98))&&(V3(A=new PS(o.j,o.k),ZQ(e)),e5(A,n),Iet(u,s)&&(v=qme,YF(A,k.n))),_=bqt(k,A,v,i)),C||(sit(),v=qme,S=null,o&&mD(zz(vEt(T,nwe),98))&&(V3(S=new PS(o.b,o.c),ZQ(e)),e5(S,n)),C=bqt(T,S,v,mW(T))),TJ(p,_),EJ(p,C),(_.e.c.length>1||_.g.c.length>1||C.e.c.length>1||C.g.c.length>1)&&d.Fc((gBt(),dhe)),f=new DL((!e.n&&(e.n=new nY(GMe,e,1,7)),e.n));f.e!=f.i.gc();)if(!Hv(AB(tOt(h=zz(kwt(f),137),Ube)))&&h.a)switch(b=Hlt(h),Wz(p.b,b),zz(vEt(b,Vpe),272).g){case 1:case 2:d.Fc((gBt(),hhe));break;case 0:d.Fc((gBt(),uhe)),hct(b,Vpe,(Ret(),GCe))}if(a=zz(vEt(i,Hpe),314),w=zz(vEt(i,jbe),315),r=a==(Dit(),ule)||w==(Pmt(),wme),o&&0!=(!o.a&&(o.a=new OL(PMe,o,5)),o.a).i&&r){for(m=UTt(o),g=new xy,y=lwt(m,0);y.b!=y.d.c;)Bq(g,new gD(zz(d3(y),8)));hct(p,bfe,g)}return p}function uWt(t){t.gb||(t.gb=!0,t.b=kot(t,0),Rrt(t.b,18),jrt(t.b,19),t.a=kot(t,1),Rrt(t.a,1),jrt(t.a,2),jrt(t.a,3),jrt(t.a,4),jrt(t.a,5),t.o=kot(t,2),Rrt(t.o,8),Rrt(t.o,9),jrt(t.o,10),jrt(t.o,11),jrt(t.o,12),jrt(t.o,13),jrt(t.o,14),jrt(t.o,15),jrt(t.o,16),jrt(t.o,17),jrt(t.o,18),jrt(t.o,19),jrt(t.o,20),jrt(t.o,21),jrt(t.o,22),jrt(t.o,23),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),cet(t.o),t.p=kot(t,3),Rrt(t.p,2),Rrt(t.p,3),Rrt(t.p,4),Rrt(t.p,5),jrt(t.p,6),jrt(t.p,7),cet(t.p),cet(t.p),t.q=kot(t,4),Rrt(t.q,8),t.v=kot(t,5),jrt(t.v,9),cet(t.v),cet(t.v),cet(t.v),t.w=kot(t,6),Rrt(t.w,2),Rrt(t.w,3),Rrt(t.w,4),jrt(t.w,5),t.B=kot(t,7),jrt(t.B,1),cet(t.B),cet(t.B),cet(t.B),t.Q=kot(t,8),jrt(t.Q,0),cet(t.Q),t.R=kot(t,9),Rrt(t.R,1),t.S=kot(t,10),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),cet(t.S),t.T=kot(t,11),jrt(t.T,10),jrt(t.T,11),jrt(t.T,12),jrt(t.T,13),jrt(t.T,14),cet(t.T),cet(t.T),t.U=kot(t,12),Rrt(t.U,2),Rrt(t.U,3),jrt(t.U,4),jrt(t.U,5),jrt(t.U,6),jrt(t.U,7),cet(t.U),t.V=kot(t,13),jrt(t.V,10),t.W=kot(t,14),Rrt(t.W,18),Rrt(t.W,19),Rrt(t.W,20),jrt(t.W,21),jrt(t.W,22),jrt(t.W,23),t.bb=kot(t,15),Rrt(t.bb,10),Rrt(t.bb,11),Rrt(t.bb,12),Rrt(t.bb,13),Rrt(t.bb,14),Rrt(t.bb,15),Rrt(t.bb,16),jrt(t.bb,17),cet(t.bb),cet(t.bb),t.eb=kot(t,16),Rrt(t.eb,2),Rrt(t.eb,3),Rrt(t.eb,4),Rrt(t.eb,5),Rrt(t.eb,6),Rrt(t.eb,7),jrt(t.eb,8),jrt(t.eb,9),t.ab=kot(t,17),Rrt(t.ab,0),Rrt(t.ab,1),t.H=kot(t,18),jrt(t.H,0),jrt(t.H,1),jrt(t.H,2),jrt(t.H,3),jrt(t.H,4),jrt(t.H,5),cet(t.H),t.db=kot(t,19),jrt(t.db,2),t.c=_ot(t,20),t.d=_ot(t,21),t.e=_ot(t,22),t.f=_ot(t,23),t.i=_ot(t,24),t.g=_ot(t,25),t.j=_ot(t,26),t.k=_ot(t,27),t.n=_ot(t,28),t.r=_ot(t,29),t.s=_ot(t,30),t.t=_ot(t,31),t.u=_ot(t,32),t.fb=_ot(t,33),t.A=_ot(t,34),t.C=_ot(t,35),t.D=_ot(t,36),t.F=_ot(t,37),t.G=_ot(t,38),t.I=_ot(t,39),t.J=_ot(t,40),t.L=_ot(t,41),t.M=_ot(t,42),t.N=_ot(t,43),t.O=_ot(t,44),t.P=_ot(t,45),t.X=_ot(t,46),t.Y=_ot(t,47),t.Z=_ot(t,48),t.$=_ot(t,49),t._=_ot(t,50),t.cb=_ot(t,51),t.K=_ot(t,52))}function lWt(){var t,e;lWt=M,nTe=new sw(p5t),yCe=new sw(b5t),pmt(),iTe=new OM(K2t,rTe=SEe),new Ow,aTe=new OM(XQt,null),oTe=new sw(w5t),p_t(),hTe=_U(JEe,Sst(Ux(HCe,1),LKt,291,0,[KEe])),lTe=new OM(c3t,hTe),fTe=new OM(W2t,(lN(),!1)),zht(),dTe=new OM(J2t,gTe=zCe),Tdt(),mTe=new OM(x2t,yTe=JCe),kTe=new OM(O4t,!1),cht(),_Te=new OM(b2t,ATe=mSe),WTe=new WD(12),ZTe=new OM(VQt,WTe),STe=new OM(_Jt,!1),ITe=new OM(v3t,!1),YTe=new OM(TJt,!1),V_t(),sCe=new OM(AJt,cCe=VSe),bCe=new sw(w3t),wCe=new sw(mJt),mCe=new sw(xJt),xCe=new sw(kJt),DTe=new xy,MTe=new OM(u3t,DTe),uTe=new OM(f3t,!1),ETe=new OM(d3t,!1),new sw(m5t),LTe=new fy,OTe=new OM(m3t,LTe),GTe=new OM(Y2t,!1),new Ow,vCe=new OM(y5t,1),new OM(v5t,!0),rft(0),new OM(x5t,rft(100)),new OM(k5t,!1),rft(0),new OM(_5t,rft(4e3)),rft(0),new OM(A5t,rft(400)),new OM(E5t,!1),new OM(T5t,!1),new OM(C5t,!0),new OM(S5t,!1),zgt(),sTe=new OM(g5t,cTe=nMe),kCe=new OM(N2t,10),_Ce=new OM(P2t,10),ACe=new OM(WQt,20),ECe=new OM(B2t,10),TCe=new OM(vJt,2),CCe=new OM(F2t,10),ICe=new OM(R2t,0),MCe=new OM(z2t,5),DCe=new OM(j2t,1),OCe=new OM($2t,1),LCe=new OM(yJt,20),NCe=new OM(q2t,10),FCe=new OM(H2t,10),SCe=new sw(U2t),BCe=new fD,PCe=new OM(y3t,BCe),VTe=new sw(b3t),KTe=new OM(p3t,XTe=!1),PTe=new WD(5),NTe=new OM(t3t,PTe),eOt(),e=zz(Kk(USe),9),FTe=new VR(e,zz(TF(e,e.length),9),0),BTe=new OM(IJt,FTe),owt(),JTe=new OM(i3t,tCe=zSe),nCe=new sw(r3t),iCe=new sw(a3t),rCe=new sw(o3t),eCe=new sw(s3t),t=zz(Kk(VIe),9),jTe=new VR(t,zz(TF(t,t.length),9),0),RTe=new OM(SJt,jTe),UTe=edt((ejt(),UIe)),HTe=new OM(CJt,UTe),qTe=new PS(0,0),zTe=new OM(qJt,qTe),$Te=new OM(Q2t,!1),Ret(),bTe=new OM(l3t,wTe=GCe),pTe=new OM(EJt,!1),new sw(I5t),rft(1),new OM(M5t,null),aCe=new sw(g3t),uCe=new sw(h3t),kYt(),gCe=new OM(Z2t,pCe=CIe),oCe=new sw(G2t),dIt(),fCe=edt(rIe),hCe=new OM(MJt,fCe),lCe=new OM(e3t,!1),dCe=new OM(n3t,!0),TTe=new OM(X2t,!1),CTe=new OM(V2t,!1),vTe=new OM(KQt,1),eEt(),new OM(D5t,xTe=oSe),QTe=!0}function hWt(){var t,e;hWt=M,pfe=new sw(DJt),$he=new sw("coordinateOrigin"),Efe=new sw("processors"),jhe=new iF("compoundNode",(lN(),!1)),nfe=new iF("insideConnections",!1),bfe=new sw("originalBendpoints"),wfe=new sw("originalDummyNodePosition"),mfe=new sw("originalLabelEdge"),Cfe=new sw("representedLabels"),Ghe=new sw("endLabels"),Yhe=new sw("endLabel.origin"),sfe=new iF("labelSide",(Wvt(),ESe)),dfe=new iF("maxEdgeThickness",0),Sfe=new iF("reversed",!1),Tfe=new sw(OJt),lfe=new iF("longEdgeSource",null),hfe=new iF("longEdgeTarget",null),ufe=new iF("longEdgeHasLabelDummies",!1),cfe=new iF("longEdgeBeforeLabelDummy",!1),Uhe=new iF("edgeConstraint",(Jst(),Dle)),rfe=new sw("inLayerLayoutUnit"),ife=new iF("inLayerConstraint",(G9(),Che)),afe=new iF("inLayerSuccessorConstraint",new Nw),ofe=new iF("inLayerSuccessorConstraintBetweenNonDummies",!1),_fe=new sw("portDummy"),zhe=new iF("crossingHint",rft(0)),Jhe=new iF("graphProperties",new VR(e=zz(Kk(Ahe),9),zz(TF(e,e.length),9),0)),Xhe=new iF("externalPortSide",(kYt(),CIe)),Vhe=new iF("externalPortSize",new Uk),Whe=new sw("externalPortReplacedDummies"),Khe=new sw("externalPortReplacedDummy"),Zhe=new iF("externalPortConnections",new VR(t=zz(Kk($Ie),9),zz(TF(t,t.length),9),0)),Afe=new iF(bQt,0),Phe=new sw("barycenterAssociates"),Rfe=new sw("TopSideComments"),Bhe=new sw("BottomSideComments"),Rhe=new sw("CommentConnectionPort"),efe=new iF("inputCollect",!1),xfe=new iF("outputCollect",!1),Hhe=new iF("cyclic",!1),qhe=new sw("crossHierarchyMap"),Ffe=new sw("targetOffset"),new iF("splineLabelSize",new Uk),Dfe=new sw("spacings"),kfe=new iF("partitionConstraint",!1),Fhe=new sw("breakingPoint.info"),Pfe=new sw("splines.survivingEdge"),Nfe=new sw("splines.route.start"),Ofe=new sw("splines.edgeChain"),vfe=new sw("originalPortConstraints"),Mfe=new sw("selfLoopHolder"),Lfe=new sw("splines.nsPortY"),gfe=new sw("modelOrder"),ffe=new sw("longEdgeTargetNode"),Qhe=new iF(Y1t,!1),Ife=new iF(Y1t,!1),tfe=new sw("layerConstraints.hiddenNodes"),yfe=new sw("layerConstraints.opposidePort"),Bfe=new sw("targetNode.modelOrder")}function fWt(){fWt=M,jtt(),Tde=new OM(Z1t,Cde=Tle),Ude=new OM(W1t,(lN(),!1)),G2(),Kde=new OM(K1t,Xde=Dhe),gge=new OM(X1t,!1),pge=new OM(V1t,!0),Yfe=new OM(Q1t,!1),Y9(),Nge=new OM(J1t,Pge=Rme),rft(1),Hge=new OM(t0t,rft(7)),Uge=new OM(e0t,!1),Gde=new OM(n0t,!1),Xmt(),Ade=new OM(i0t,Ede=vle),EAt(),fge=new OM(r0t,dge=eme),Edt(),nge=new OM(a0t,ige=Hfe),rft(-1),ege=new OM(o0t,rft(-1)),rft(-1),rge=new OM(s0t,rft(-1)),rft(-1),age=new OM(c0t,rft(4)),rft(-1),sge=new OM(u0t,rft(2)),lNt(),lge=new OM(l0t,hge=Ime),rft(0),uge=new OM(h0t,rft(0)),Jde=new OM(f0t,rft(FWt)),Dit(),kde=new OM(d0t,_de=lle),sde=new OM(g0t,!1),bde=new OM(p0t,.1),vde=new OM(b0t,!1),rft(-1),mde=new OM(w0t,rft(-1)),rft(-1),yde=new OM(m0t,rft(-1)),rft(0),cde=new OM(y0t,rft(40)),jot(),dde=new OM(v0t,gde=_he),ude=new OM(x0t,lde=xhe),Pmt(),Oge=new OM(k0t,Lge=bme),kge=new sw(_0t),b9(),bge=new OM(A0t,wge=Hle),qkt(),yge=new OM(E0t,vge=Xle),new Ow,Ege=new OM(T0t,.3),Cge=new sw(C0t),gmt(),Sge=new OM(S0t,Ige=fme),Hat(),Nde=new OM(I0t,Pde=Wme),D6(),Bde=new OM(M0t,Fde=Jme),Zut(),Rde=new OM(D0t,jde=rye),zde=new OM(O0t,.2),Ode=new OM(L0t,2),jge=new OM(N0t,null),zge=new OM(P0t,10),$ge=new OM(B0t,10),qge=new OM(F0t,20),rft(0),Bge=new OM(R0t,rft(0)),rft(0),Fge=new OM(j0t,rft(0)),rft(0),Rge=new OM($0t,rft(0)),Zfe=new OM(z0t,!1),JEt(),Xfe=new OM(q0t,Vfe=ahe),K8(),Wfe=new OM(H0t,Kfe=ole),Zde=new OM(U0t,!1),rft(0),Yde=new OM(G0t,rft(16)),rft(0),Wde=new OM(Y0t,rft(5)),Lst(),fpe=new OM(Z0t,dpe=dye),Gge=new OM(W0t,10),Wge=new OM(K0t,1),cit(),npe=new OM(X0t,ipe=ble),Vge=new sw(V0t),tpe=rft(1),rft(0),Jge=new OM(Q0t,tpe),bat(),wpe=new OM(J0t,mpe=sye),gpe=new sw(t2t),cpe=new OM(e2t,!0),ope=new OM(n2t,2),lpe=new OM(i2t,!0),wTt(),Mde=new OM(r2t,Dde=jle),LCt(),Sde=new OM(a2t,Ide=Jue),vct(),ade=new OM(o2t,ode=Nme),rde=new OM(s2t,!1),qht(),Qfe=new OM(c2t,Jfe=gse),Tlt(),nde=new OM(u2t,ide=ame),tde=new OM(l2t,0),ede=new OM(h2t,0),Qde=kle,Vde=ule,oge=tme,cge=tme,tge=Vwe,cht(),wde=wSe,xde=lle,pde=lle,hde=lle,fde=wSe,_ge=yme,Age=bme,mge=bme,xge=bme,Tge=mme,Dge=yme,Mge=yme,Tdt(),$de=QCe,qde=QCe,Hde=rye,Lde=VCe,Yge=gye,Zge=fye,Kge=gye,Xge=fye,rpe=gye,ape=fye,Qge=ple,epe=ble,ype=gye,vpe=fye,ppe=gye,bpe=fye,upe=fye,spe=fye,hpe=fye}function dWt(){dWt=M,rce=new tC("DIRECTION_PREPROCESSOR",0),ece=new tC("COMMENT_PREPROCESSOR",1),ace=new tC("EDGE_AND_LAYER_CONSTRAINT_EDGE_REVERSER",2),xce=new tC("INTERACTIVE_EXTERNAL_PORT_POSITIONER",3),$ce=new tC("PARTITION_PREPROCESSOR",4),Ece=new tC("LABEL_DUMMY_INSERTER",5),Yce=new tC("SELF_LOOP_PREPROCESSOR",6),Mce=new tC("LAYER_CONSTRAINT_PREPROCESSOR",7),Rce=new tC("PARTITION_MIDPROCESSOR",8),bce=new tC("HIGH_DEGREE_NODE_LAYER_PROCESSOR",9),Nce=new tC("NODE_PROMOTION",10),Ice=new tC("LAYER_CONSTRAINT_POSTPROCESSOR",11),jce=new tC("PARTITION_POSTPROCESSOR",12),fce=new tC("HIERARCHICAL_PORT_CONSTRAINT_PROCESSOR",13),Wce=new tC("SEMI_INTERACTIVE_CROSSMIN_PROCESSOR",14),Kse=new tC("BREAKING_POINT_INSERTER",15),Lce=new tC("LONG_EDGE_SPLITTER",16),qce=new tC("PORT_SIDE_PROCESSOR",17),kce=new tC("INVERTED_PORT_PROCESSOR",18),zce=new tC("PORT_LIST_SORTER",19),Xce=new tC("SORT_BY_INPUT_ORDER_OF_MODEL",20),Bce=new tC("NORTH_SOUTH_PORT_PREPROCESSOR",21),Xse=new tC("BREAKING_POINT_PROCESSOR",22),Fce=new tC(A1t,23),Vce=new tC(E1t,24),Uce=new tC("SELF_LOOP_PORT_RESTORER",25),Kce=new tC("SINGLE_EDGE_GRAPH_WRAPPER",26),_ce=new tC("IN_LAYER_CONSTRAINT_PROCESSOR",27),uce=new tC("END_NODE_PORT_LABEL_MANAGEMENT_PROCESSOR",28),Ace=new tC("LABEL_AND_NODE_SIZE_PROCESSOR",29),vce=new tC("INNERMOST_NODE_MARGIN_CALCULATOR",30),Zce=new tC("SELF_LOOP_ROUTER",31),Jse=new tC("COMMENT_NODE_MARGIN_CALCULATOR",32),sce=new tC("END_LABEL_PREPROCESSOR",33),Cce=new tC("LABEL_DUMMY_SWITCHER",34),Qse=new tC("CENTER_LABEL_MANAGEMENT_PROCESSOR",35),Sce=new tC("LABEL_SIDE_SELECTOR",36),mce=new tC("HYPEREDGE_DUMMY_MERGER",37),dce=new tC("HIERARCHICAL_PORT_DUMMY_SIZE_PROCESSOR",38),Dce=new tC("LAYER_SIZE_AND_GRAPH_HEIGHT_CALCULATOR",39),pce=new tC("HIERARCHICAL_PORT_POSITION_PROCESSOR",40),nce=new tC("CONSTRAINTS_POSTPROCESSOR",41),tce=new tC("COMMENT_POSTPROCESSOR",42),yce=new tC("HYPERNODE_PROCESSOR",43),gce=new tC("HIERARCHICAL_PORT_ORTHOGONAL_EDGE_ROUTER",44),Oce=new tC("LONG_EDGE_JOINER",45),Gce=new tC("SELF_LOOP_POSTPROCESSOR",46),Vse=new tC("BREAKING_POINT_REMOVER",47),Pce=new tC("NORTH_SOUTH_PORT_POSTPROCESSOR",48),wce=new tC("HORIZONTAL_COMPACTOR",49),Tce=new tC("LABEL_DUMMY_REMOVER",50),lce=new tC("FINAL_SPLINE_BENDPOINTS_CALCULATOR",51),cce=new tC("END_LABEL_SORTER",52),Hce=new tC("REVERSED_EDGE_RESTORER",53),oce=new tC("END_LABEL_POSTPROCESSOR",54),hce=new tC("HIERARCHICAL_NODE_RESIZER",55),ice=new tC("DIRECTION_POSTPROCESSOR",56)}function gWt(t,e,i){var r,a,o,s,c,u,l,h,f,d,g,p,b,w,m,y,v,x,k,_,A,E,T,C,S,I,M,D,O,L,N,P,B,F,R,j,$,z,q,H,U,G,Y,Z,W,K,X,V,Q,J,tt,et,nt,it,rt,at,ot,st;for(Q=0,L=0,B=(M=e).length;L0&&(t.a[H.p]=Q++)}for(it=0,N=0,F=(D=i).length;N0;){for(CP(Z.b>0),Y=0,c=new Wd((H=zz(Z.a.Xb(Z.c=--Z.b),11)).e);c.a0&&(H.j==(kYt(),uIe)?(t.a[H.p]=it,++it):(t.a[H.p]=it+R+$,++$))}it+=$}for(G=new Pw,p=new hD,O=0,P=(I=e).length;Ol.b&&(l.b=W)):H.i.c==V&&(Wl.c&&(l.c=W));for(G7(b,0,b.length,null),nt=P8(DNe,hXt,25,b.length,15,1),r=P8(DNe,hXt,25,it+1,15,1),m=0;m0;)A%2>0&&(a+=ot[A+1]),++ot[A=(A-1)/2|0];for(T=P8(Hye,HWt,362,2*b.length,0,1),x=0;x'?":yR(y8t,t)?"'(?<' or '(? toIndex: ",kVt=", toIndex: ",_Vt="Index: ",AVt=", Size: ",EVt="org.eclipse.elk.alg.common",TVt={62:1},CVt="org.eclipse.elk.alg.common.compaction",SVt="Scanline/EventHandler",IVt="org.eclipse.elk.alg.common.compaction.oned",MVt="CNode belongs to another CGroup.",DVt="ISpacingsHandler/1",OVt="The ",LVt=" instance has been finished already.",NVt="The direction ",PVt=" is not supported by the CGraph instance.",BVt="OneDimensionalCompactor",FVt="OneDimensionalCompactor/lambda$0$Type",RVt="Quadruplet",jVt="ScanlineConstraintCalculator",$Vt="ScanlineConstraintCalculator/ConstraintsScanlineHandler",zVt="ScanlineConstraintCalculator/ConstraintsScanlineHandler/lambda$0$Type",qVt="ScanlineConstraintCalculator/Timestamp",HVt="ScanlineConstraintCalculator/lambda$0$Type",UVt={169:1,45:1},GVt="org.eclipse.elk.alg.common.compaction.options",YVt="org.eclipse.elk.core.data",ZVt="org.eclipse.elk.polyomino.traversalStrategy",WVt="org.eclipse.elk.polyomino.lowLevelSort",KVt="org.eclipse.elk.polyomino.highLevelSort",XVt="org.eclipse.elk.polyomino.fill",VVt={130:1},QVt="polyomino",JVt="org.eclipse.elk.alg.common.networksimplex",tQt={177:1,3:1,4:1},eQt="org.eclipse.elk.alg.common.nodespacing",nQt="org.eclipse.elk.alg.common.nodespacing.cellsystem",iQt="CENTER",rQt={212:1,326:1},aQt={3:1,4:1,5:1,595:1},oQt="LEFT",sQt="RIGHT",cQt="Vertical alignment cannot be null",uQt="BOTTOM",lQt="org.eclipse.elk.alg.common.nodespacing.internal",hQt="UNDEFINED",fQt=.01,dQt="org.eclipse.elk.alg.common.nodespacing.internal.algorithm",gQt="LabelPlacer/lambda$0$Type",pQt="LabelPlacer/lambda$1$Type",bQt="portRatioOrPosition",wQt="org.eclipse.elk.alg.common.overlaps",mQt="DOWN",yQt="org.eclipse.elk.alg.common.polyomino",vQt="NORTH",xQt="EAST",kQt="SOUTH",_Qt="WEST",AQt="org.eclipse.elk.alg.common.polyomino.structures",EQt="Direction",TQt="Grid is only of size ",CQt=". Requested point (",SQt=") is out of bounds.",IQt=" Given center based coordinates were (",MQt="org.eclipse.elk.graph.properties",DQt="IPropertyHolder",OQt={3:1,94:1,134:1},LQt="org.eclipse.elk.alg.common.spore",NQt="org.eclipse.elk.alg.common.utils",PQt={209:1},BQt="org.eclipse.elk.core",FQt="Connected Components Compaction",RQt="org.eclipse.elk.alg.disco",jQt="org.eclipse.elk.alg.disco.graph",$Qt="org.eclipse.elk.alg.disco.options",zQt="CompactionStrategy",qQt="org.eclipse.elk.disco.componentCompaction.strategy",HQt="org.eclipse.elk.disco.componentCompaction.componentLayoutAlgorithm",UQt="org.eclipse.elk.disco.debug.discoGraph",GQt="org.eclipse.elk.disco.debug.discoPolys",YQt="componentCompaction",ZQt="org.eclipse.elk.disco",WQt="org.eclipse.elk.spacing.componentComponent",KQt="org.eclipse.elk.edge.thickness",XQt="org.eclipse.elk.aspectRatio",VQt="org.eclipse.elk.padding",QQt="org.eclipse.elk.alg.disco.transform",JQt=1.5707963267948966,tJt=17976931348623157e292,eJt={3:1,4:1,5:1,192:1},nJt={3:1,6:1,4:1,5:1,106:1,120:1},iJt="org.eclipse.elk.alg.force",rJt="ComponentsProcessor",aJt="ComponentsProcessor/1",oJt="org.eclipse.elk.alg.force.graph",sJt="Component Layout",cJt="org.eclipse.elk.alg.force.model",uJt="org.eclipse.elk.force.model",lJt="org.eclipse.elk.force.iterations",hJt="org.eclipse.elk.force.repulsivePower",fJt="org.eclipse.elk.force.temperature",dJt=.001,gJt="org.eclipse.elk.force.repulsion",pJt="org.eclipse.elk.alg.force.options",bJt=1.600000023841858,wJt="org.eclipse.elk.force",mJt="org.eclipse.elk.priority",yJt="org.eclipse.elk.spacing.nodeNode",vJt="org.eclipse.elk.spacing.edgeLabel",xJt="org.eclipse.elk.randomSeed",kJt="org.eclipse.elk.separateConnectedComponents",_Jt="org.eclipse.elk.interactive",AJt="org.eclipse.elk.portConstraints",EJt="org.eclipse.elk.edgeLabels.inline",TJt="org.eclipse.elk.omitNodeMicroLayout",CJt="org.eclipse.elk.nodeSize.options",SJt="org.eclipse.elk.nodeSize.constraints",IJt="org.eclipse.elk.nodeLabels.placement",MJt="org.eclipse.elk.portLabels.placement",DJt="origin",OJt="random",LJt="boundingBox.upLeft",NJt="boundingBox.lowRight",PJt="org.eclipse.elk.stress.fixed",BJt="org.eclipse.elk.stress.desiredEdgeLength",FJt="org.eclipse.elk.stress.dimension",RJt="org.eclipse.elk.stress.epsilon",jJt="org.eclipse.elk.stress.iterationLimit",$Jt="org.eclipse.elk.stress",zJt="ELK Stress",qJt="org.eclipse.elk.nodeSize.minimum",HJt="org.eclipse.elk.alg.force.stress",UJt="Layered layout",GJt="org.eclipse.elk.alg.layered",YJt="org.eclipse.elk.alg.layered.compaction.components",ZJt="org.eclipse.elk.alg.layered.compaction.oned",WJt="org.eclipse.elk.alg.layered.compaction.oned.algs",KJt="org.eclipse.elk.alg.layered.compaction.recthull",XJt="org.eclipse.elk.alg.layered.components",VJt="NONE",QJt={3:1,6:1,4:1,9:1,5:1,122:1},JJt={3:1,6:1,4:1,5:1,141:1,106:1,120:1},t1t="org.eclipse.elk.alg.layered.compound",e1t={51:1},n1t="org.eclipse.elk.alg.layered.graph",i1t=" -> ",r1t="Not supported by LGraph",a1t="Port side is undefined",o1t={3:1,6:1,4:1,5:1,474:1,141:1,106:1,120:1},s1t={3:1,6:1,4:1,5:1,141:1,193:1,203:1,106:1,120:1},c1t={3:1,6:1,4:1,5:1,141:1,1943:1,203:1,106:1,120:1},u1t="([{\"' \t\r\n",l1t=")]}\"' \t\r\n",h1t="The given string contains parts that cannot be parsed as numbers.",f1t="org.eclipse.elk.core.math",d1t={3:1,4:1,142:1,207:1,414:1},g1t={3:1,4:1,116:1,207:1,414:1},p1t="org.eclipse.elk.layered",b1t="org.eclipse.elk.alg.layered.graph.transform",w1t="ElkGraphImporter",m1t="ElkGraphImporter/lambda$0$Type",y1t="ElkGraphImporter/lambda$1$Type",v1t="ElkGraphImporter/lambda$2$Type",x1t="ElkGraphImporter/lambda$4$Type",k1t="Node margin calculation",_1t="org.eclipse.elk.alg.layered.intermediate",A1t="ONE_SIDED_GREEDY_SWITCH",E1t="TWO_SIDED_GREEDY_SWITCH",T1t="No implementation is available for the layout processor ",C1t="IntermediateProcessorStrategy",S1t="Node '",I1t="FIRST_SEPARATE",M1t="LAST_SEPARATE",D1t="Odd port side processing",O1t="org.eclipse.elk.alg.layered.intermediate.compaction",L1t="org.eclipse.elk.alg.layered.intermediate.greedyswitch",N1t="org.eclipse.elk.alg.layered.p3order.counting",P1t={225:1},B1t="org.eclipse.elk.alg.layered.intermediate.loops",F1t="org.eclipse.elk.alg.layered.intermediate.loops.ordering",R1t="org.eclipse.elk.alg.layered.intermediate.loops.routing",j1t="org.eclipse.elk.alg.layered.intermediate.preserveorder",$1t="org.eclipse.elk.alg.layered.intermediate.wrapping",z1t="org.eclipse.elk.alg.layered.options",q1t="INTERACTIVE",H1t="DEPTH_FIRST",U1t="EDGE_LENGTH",G1t="SELF_LOOPS",Y1t="firstTryWithInitialOrder",Z1t="org.eclipse.elk.layered.directionCongruency",W1t="org.eclipse.elk.layered.feedbackEdges",K1t="org.eclipse.elk.layered.interactiveReferencePoint",X1t="org.eclipse.elk.layered.mergeEdges",V1t="org.eclipse.elk.layered.mergeHierarchyEdges",Q1t="org.eclipse.elk.layered.allowNonFlowPortsToSwitchSides",J1t="org.eclipse.elk.layered.portSortingStrategy",t0t="org.eclipse.elk.layered.thoroughness",e0t="org.eclipse.elk.layered.unnecessaryBendpoints",n0t="org.eclipse.elk.layered.generatePositionAndLayerIds",i0t="org.eclipse.elk.layered.cycleBreaking.strategy",r0t="org.eclipse.elk.layered.layering.strategy",a0t="org.eclipse.elk.layered.layering.layerConstraint",o0t="org.eclipse.elk.layered.layering.layerChoiceConstraint",s0t="org.eclipse.elk.layered.layering.layerId",c0t="org.eclipse.elk.layered.layering.minWidth.upperBoundOnWidth",u0t="org.eclipse.elk.layered.layering.minWidth.upperLayerEstimationScalingFactor",l0t="org.eclipse.elk.layered.layering.nodePromotion.strategy",h0t="org.eclipse.elk.layered.layering.nodePromotion.maxIterations",f0t="org.eclipse.elk.layered.layering.coffmanGraham.layerBound",d0t="org.eclipse.elk.layered.crossingMinimization.strategy",g0t="org.eclipse.elk.layered.crossingMinimization.forceNodeModelOrder",p0t="org.eclipse.elk.layered.crossingMinimization.hierarchicalSweepiness",b0t="org.eclipse.elk.layered.crossingMinimization.semiInteractive",w0t="org.eclipse.elk.layered.crossingMinimization.positionChoiceConstraint",m0t="org.eclipse.elk.layered.crossingMinimization.positionId",y0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.activationThreshold",v0t="org.eclipse.elk.layered.crossingMinimization.greedySwitch.type",x0t="org.eclipse.elk.layered.crossingMinimization.greedySwitchHierarchical.type",k0t="org.eclipse.elk.layered.nodePlacement.strategy",_0t="org.eclipse.elk.layered.nodePlacement.favorStraightEdges",A0t="org.eclipse.elk.layered.nodePlacement.bk.edgeStraightening",E0t="org.eclipse.elk.layered.nodePlacement.bk.fixedAlignment",T0t="org.eclipse.elk.layered.nodePlacement.linearSegments.deflectionDampening",C0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility",S0t="org.eclipse.elk.layered.nodePlacement.networkSimplex.nodeFlexibility.default",I0t="org.eclipse.elk.layered.edgeRouting.selfLoopDistribution",M0t="org.eclipse.elk.layered.edgeRouting.selfLoopOrdering",D0t="org.eclipse.elk.layered.edgeRouting.splines.mode",O0t="org.eclipse.elk.layered.edgeRouting.splines.sloppy.layerSpacingFactor",L0t="org.eclipse.elk.layered.edgeRouting.polyline.slopedEdgeZoneWidth",N0t="org.eclipse.elk.layered.spacing.baseValue",P0t="org.eclipse.elk.layered.spacing.edgeNodeBetweenLayers",B0t="org.eclipse.elk.layered.spacing.edgeEdgeBetweenLayers",F0t="org.eclipse.elk.layered.spacing.nodeNodeBetweenLayers",R0t="org.eclipse.elk.layered.priority.direction",j0t="org.eclipse.elk.layered.priority.shortness",$0t="org.eclipse.elk.layered.priority.straightness",z0t="org.eclipse.elk.layered.compaction.connectedComponents",q0t="org.eclipse.elk.layered.compaction.postCompaction.strategy",H0t="org.eclipse.elk.layered.compaction.postCompaction.constraints",U0t="org.eclipse.elk.layered.highDegreeNodes.treatment",G0t="org.eclipse.elk.layered.highDegreeNodes.threshold",Y0t="org.eclipse.elk.layered.highDegreeNodes.treeHeight",Z0t="org.eclipse.elk.layered.wrapping.strategy",W0t="org.eclipse.elk.layered.wrapping.additionalEdgeSpacing",K0t="org.eclipse.elk.layered.wrapping.correctionFactor",X0t="org.eclipse.elk.layered.wrapping.cutting.strategy",V0t="org.eclipse.elk.layered.wrapping.cutting.cuts",Q0t="org.eclipse.elk.layered.wrapping.cutting.msd.freedom",J0t="org.eclipse.elk.layered.wrapping.validify.strategy",t2t="org.eclipse.elk.layered.wrapping.validify.forbiddenIndices",e2t="org.eclipse.elk.layered.wrapping.multiEdge.improveCuts",n2t="org.eclipse.elk.layered.wrapping.multiEdge.distancePenalty",i2t="org.eclipse.elk.layered.wrapping.multiEdge.improveWrappedEdges",r2t="org.eclipse.elk.layered.edgeLabels.sideSelection",a2t="org.eclipse.elk.layered.edgeLabels.centerLabelPlacementStrategy",o2t="org.eclipse.elk.layered.considerModelOrder.strategy",s2t="org.eclipse.elk.layered.considerModelOrder.noModelOrder",c2t="org.eclipse.elk.layered.considerModelOrder.components",u2t="org.eclipse.elk.layered.considerModelOrder.longEdgeStrategy",l2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterNodeInfluence",h2t="org.eclipse.elk.layered.considerModelOrder.crossingCounterPortInfluence",f2t="layering",d2t="layering.minWidth",g2t="layering.nodePromotion",p2t="crossingMinimization",b2t="org.eclipse.elk.hierarchyHandling",w2t="crossingMinimization.greedySwitch",m2t="nodePlacement",y2t="nodePlacement.bk",v2t="edgeRouting",x2t="org.eclipse.elk.edgeRouting",k2t="spacing",_2t="priority",A2t="compaction",E2t="compaction.postCompaction",T2t="Specifies whether and how post-process compaction is applied.",C2t="highDegreeNodes",S2t="wrapping",I2t="wrapping.cutting",M2t="wrapping.validify",D2t="wrapping.multiEdge",O2t="edgeLabels",L2t="considerModelOrder",N2t="org.eclipse.elk.spacing.commentComment",P2t="org.eclipse.elk.spacing.commentNode",B2t="org.eclipse.elk.spacing.edgeEdge",F2t="org.eclipse.elk.spacing.edgeNode",R2t="org.eclipse.elk.spacing.labelLabel",j2t="org.eclipse.elk.spacing.labelPortHorizontal",$2t="org.eclipse.elk.spacing.labelPortVertical",z2t="org.eclipse.elk.spacing.labelNode",q2t="org.eclipse.elk.spacing.nodeSelfLoop",H2t="org.eclipse.elk.spacing.portPort",U2t="org.eclipse.elk.spacing.individual",G2t="org.eclipse.elk.port.borderOffset",Y2t="org.eclipse.elk.noLayout",Z2t="org.eclipse.elk.port.side",W2t="org.eclipse.elk.debugMode",K2t="org.eclipse.elk.alignment",X2t="org.eclipse.elk.insideSelfLoops.activate",V2t="org.eclipse.elk.insideSelfLoops.yo",Q2t="org.eclipse.elk.nodeSize.fixedGraphSize",J2t="org.eclipse.elk.direction",t3t="org.eclipse.elk.nodeLabels.padding",e3t="org.eclipse.elk.portLabels.nextToPortIfPossible",n3t="org.eclipse.elk.portLabels.treatAsGroup",i3t="org.eclipse.elk.portAlignment.default",r3t="org.eclipse.elk.portAlignment.north",a3t="org.eclipse.elk.portAlignment.south",o3t="org.eclipse.elk.portAlignment.west",s3t="org.eclipse.elk.portAlignment.east",c3t="org.eclipse.elk.contentAlignment",u3t="org.eclipse.elk.junctionPoints",l3t="org.eclipse.elk.edgeLabels.placement",h3t="org.eclipse.elk.port.index",f3t="org.eclipse.elk.commentBox",d3t="org.eclipse.elk.hypernode",g3t="org.eclipse.elk.port.anchor",p3t="org.eclipse.elk.partitioning.activate",b3t="org.eclipse.elk.partitioning.partition",w3t="org.eclipse.elk.position",m3t="org.eclipse.elk.margins",y3t="org.eclipse.elk.spacing.portsSurrounding",v3t="org.eclipse.elk.interactiveLayout",x3t="org.eclipse.elk.core.util",k3t={3:1,4:1,5:1,593:1},_3t="NETWORK_SIMPLEX",A3t={123:1,51:1},E3t="org.eclipse.elk.alg.layered.p1cycles",T3t="org.eclipse.elk.alg.layered.p2layers",C3t={402:1,225:1},S3t={832:1,3:1,4:1},I3t="org.eclipse.elk.alg.layered.p3order",M3t="org.eclipse.elk.alg.layered.p4nodes",D3t={3:1,4:1,5:1,840:1},O3t=1e-5,L3t="org.eclipse.elk.alg.layered.p4nodes.bk",N3t="org.eclipse.elk.alg.layered.p5edges",P3t="org.eclipse.elk.alg.layered.p5edges.orthogonal",B3t="org.eclipse.elk.alg.layered.p5edges.orthogonal.direction",F3t=1e-6,R3t="org.eclipse.elk.alg.layered.p5edges.splines",j3t=.09999999999999998,$3t=1e-8,z3t=4.71238898038469,q3t=3.141592653589793,H3t="org.eclipse.elk.alg.mrtree",U3t="org.eclipse.elk.alg.mrtree.graph",G3t="org.eclipse.elk.alg.mrtree.intermediate",Y3t="Set neighbors in level",Z3t="DESCENDANTS",W3t="org.eclipse.elk.mrtree.weighting",K3t="org.eclipse.elk.mrtree.searchOrder",X3t="org.eclipse.elk.alg.mrtree.options",V3t="org.eclipse.elk.mrtree",Q3t="org.eclipse.elk.tree",J3t="org.eclipse.elk.alg.radial",t4t=6.283185307179586,e4t=5e-324,n4t="org.eclipse.elk.alg.radial.intermediate",i4t="org.eclipse.elk.alg.radial.intermediate.compaction",r4t={3:1,4:1,5:1,106:1},a4t="org.eclipse.elk.alg.radial.intermediate.optimization",o4t="No implementation is available for the layout option ",s4t="org.eclipse.elk.alg.radial.options",c4t="org.eclipse.elk.radial.orderId",u4t="org.eclipse.elk.radial.radius",l4t="org.eclipse.elk.radial.compactor",h4t="org.eclipse.elk.radial.compactionStepSize",f4t="org.eclipse.elk.radial.sorter",d4t="org.eclipse.elk.radial.wedgeCriteria",g4t="org.eclipse.elk.radial.optimizationCriteria",p4t="org.eclipse.elk.radial",b4t="org.eclipse.elk.alg.radial.p1position.wedge",w4t="org.eclipse.elk.alg.radial.sorting",m4t=5.497787143782138,y4t=3.9269908169872414,v4t=2.356194490192345,x4t="org.eclipse.elk.alg.rectpacking",k4t="org.eclipse.elk.alg.rectpacking.firstiteration",_4t="org.eclipse.elk.alg.rectpacking.options",A4t="org.eclipse.elk.rectpacking.optimizationGoal",E4t="org.eclipse.elk.rectpacking.lastPlaceShift",T4t="org.eclipse.elk.rectpacking.currentPosition",C4t="org.eclipse.elk.rectpacking.desiredPosition",S4t="org.eclipse.elk.rectpacking.onlyFirstIteration",I4t="org.eclipse.elk.rectpacking.rowCompaction",M4t="org.eclipse.elk.rectpacking.expandToAspectRatio",D4t="org.eclipse.elk.rectpacking.targetWidth",O4t="org.eclipse.elk.expandNodes",L4t="org.eclipse.elk.rectpacking",N4t="org.eclipse.elk.alg.rectpacking.util",P4t="No implementation available for ",B4t="org.eclipse.elk.alg.spore",F4t="org.eclipse.elk.alg.spore.options",R4t="org.eclipse.elk.sporeCompaction",j4t="org.eclipse.elk.underlyingLayoutAlgorithm",$4t="org.eclipse.elk.processingOrder.treeConstruction",z4t="org.eclipse.elk.processingOrder.spanningTreeCostFunction",q4t="org.eclipse.elk.processingOrder.preferredRoot",H4t="org.eclipse.elk.processingOrder.rootSelection",U4t="org.eclipse.elk.structure.structureExtractionStrategy",G4t="org.eclipse.elk.compaction.compactionStrategy",Y4t="org.eclipse.elk.compaction.orthogonal",Z4t="org.eclipse.elk.overlapRemoval.maxIterations",W4t="org.eclipse.elk.overlapRemoval.runScanline",K4t="processingOrder",X4t="overlapRemoval",V4t="org.eclipse.elk.sporeOverlap",Q4t="org.eclipse.elk.alg.spore.p1structure",J4t="org.eclipse.elk.alg.spore.p2processingorder",t5t="org.eclipse.elk.alg.spore.p3execution",e5t="Invalid index: ",n5t="org.eclipse.elk.core.alg",i5t={331:1},r5t={288:1},a5t="Make sure its type is registered with the ",o5t=" utility class.",s5t="true",c5t="false",u5t="Couldn't clone property '",l5t=.05,h5t="org.eclipse.elk.core.options",f5t=1.2999999523162842,d5t="org.eclipse.elk.box",g5t="org.eclipse.elk.box.packingMode",p5t="org.eclipse.elk.algorithm",b5t="org.eclipse.elk.resolvedAlgorithm",w5t="org.eclipse.elk.bendPoints",m5t="org.eclipse.elk.labelManager",y5t="org.eclipse.elk.scaleFactor",v5t="org.eclipse.elk.animate",x5t="org.eclipse.elk.animTimeFactor",k5t="org.eclipse.elk.layoutAncestors",_5t="org.eclipse.elk.maxAnimTime",A5t="org.eclipse.elk.minAnimTime",E5t="org.eclipse.elk.progressBar",T5t="org.eclipse.elk.validateGraph",C5t="org.eclipse.elk.validateOptions",S5t="org.eclipse.elk.zoomToFit",I5t="org.eclipse.elk.font.name",M5t="org.eclipse.elk.font.size",D5t="org.eclipse.elk.edge.type",O5t="partitioning",L5t="nodeLabels",N5t="portAlignment",P5t="nodeSize",B5t="port",F5t="portLabels",R5t="insideSelfLoops",j5t="org.eclipse.elk.fixed",$5t="org.eclipse.elk.random",z5t="port must have a parent node to calculate the port side",q5t="The edge needs to have exactly one edge section. Found: ",H5t="org.eclipse.elk.core.util.adapters",U5t="org.eclipse.emf.ecore",G5t="org.eclipse.elk.graph",Y5t="EMapPropertyHolder",Z5t="ElkBendPoint",W5t="ElkGraphElement",K5t="ElkConnectableShape",X5t="ElkEdge",V5t="ElkEdgeSection",Q5t="EModelElement",J5t="ENamedElement",t6t="ElkLabel",e6t="ElkNode",n6t="ElkPort",i6t={92:1,90:1},r6t="org.eclipse.emf.common.notify.impl",a6t="The feature '",o6t="' is not a valid changeable feature",s6t="Expecting null",c6t="' is not a valid feature",u6t="The feature ID",l6t=" is not a valid feature ID",h6t=32768,f6t={105:1,92:1,90:1,56:1,49:1,97:1},d6t="org.eclipse.emf.ecore.impl",g6t="org.eclipse.elk.graph.impl",p6t="Recursive containment not allowed for ",b6t="The datatype '",w6t="' is not a valid classifier",m6t="The value '",y6t={190:1,3:1,4:1},v6t="The class '",x6t="http://www.eclipse.org/elk/ElkGraph",k6t=1024,_6t="property",A6t="value",E6t="source",T6t="properties",C6t="identifier",S6t="height",I6t="width",M6t="parent",D6t="text",O6t="children",L6t="hierarchical",N6t="sources",P6t="targets",B6t="sections",F6t="bendPoints",R6t="outgoingShape",j6t="incomingShape",$6t="outgoingSections",z6t="incomingSections",q6t="org.eclipse.emf.common.util",H6t="Severe implementation error in the Json to ElkGraph importer.",U6t="id",G6t="org.eclipse.elk.graph.json",Y6t="Unhandled parameter types: ",Z6t="startPoint",W6t="An edge must have at least one source and one target (edge id: '",K6t="').",X6t="Referenced edge section does not exist: ",V6t=" (edge id: '",Q6t="target",J6t="sourcePoint",t8t="targetPoint",e8t="group",n8t="name",i8t="connectableShape cannot be null",r8t="edge cannot be null",a8t="Passed edge is not 'simple'.",o8t="org.eclipse.elk.graph.util",s8t="The 'no duplicates' constraint is violated",c8t="targetIndex=",u8t=", size=",l8t="sourceIndex=",h8t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1},f8t={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},d8t="logging",g8t="measureExecutionTime",p8t="parser.parse.1",b8t="parser.parse.2",w8t="parser.next.1",m8t="parser.next.2",y8t="parser.next.3",v8t="parser.next.4",x8t="parser.factor.1",k8t="parser.factor.2",_8t="parser.factor.3",A8t="parser.factor.4",E8t="parser.factor.5",T8t="parser.factor.6",C8t="parser.atom.1",S8t="parser.atom.2",I8t="parser.atom.3",M8t="parser.atom.4",D8t="parser.atom.5",O8t="parser.cc.1",L8t="parser.cc.2",N8t="parser.cc.3",P8t="parser.cc.5",B8t="parser.cc.6",F8t="parser.cc.7",R8t="parser.cc.8",j8t="parser.ope.1",$8t="parser.ope.2",z8t="parser.ope.3",q8t="parser.descape.1",H8t="parser.descape.2",U8t="parser.descape.3",G8t="parser.descape.4",Y8t="parser.descape.5",Z8t="parser.process.1",W8t="parser.quantifier.1",K8t="parser.quantifier.2",X8t="parser.quantifier.3",V8t="parser.quantifier.4",Q8t="parser.quantifier.5",J8t="org.eclipse.emf.common.notify",t7t={415:1,672:1},e7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1},n7t={366:1,143:1},i7t="index=",r7t={3:1,4:1,5:1,126:1},a7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,58:1},o7t={3:1,6:1,4:1,5:1,192:1},s7t={3:1,4:1,5:1,165:1,367:1},c7t=";/?:@&=+$,",u7t="invalid authority: ",l7t="EAnnotation",h7t="ETypedElement",f7t="EStructuralFeature",d7t="EAttribute",g7t="EClassifier",p7t="EEnumLiteral",b7t="EGenericType",w7t="EOperation",m7t="EParameter",y7t="EReference",v7t="ETypeParameter",x7t="org.eclipse.emf.ecore.util",k7t={76:1},_7t={3:1,20:1,14:1,15:1,58:1,589:1,76:1,69:1,95:1},A7t="org.eclipse.emf.ecore.util.FeatureMap$Entry",E7t=8192,T7t=2048,C7t="byte",S7t="char",I7t="double",M7t="float",D7t="int",O7t="long",L7t="short",N7t="java.lang.Object",P7t={3:1,4:1,5:1,247:1},B7t={3:1,4:1,5:1,673:1},F7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,69:1},R7t={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},j7t="mixed",$7t="http:///org/eclipse/emf/ecore/util/ExtendedMetaData",z7t="kind",q7t={3:1,4:1,5:1,674:1},H7t={3:1,4:1,20:1,28:1,52:1,14:1,15:1,67:1,58:1,76:1,69:1,95:1},U7t={20:1,28:1,52:1,14:1,15:1,58:1,69:1},G7t={47:1,125:1,279:1},Y7t={72:1,332:1},Z7t="The value of type '",W7t="' must be of type '",K7t=1316,X7t="http://www.eclipse.org/emf/2002/Ecore",V7t=-32768,Q7t="constraints",J7t="baseType",t9t="getEStructuralFeature",e9t="getFeatureID",n9t="feature",i9t="getOperationID",r9t="operation",a9t="defaultValue",o9t="eTypeParameters",s9t="isInstance",c9t="getEEnumLiteral",u9t="eContainingClass",l9t={55:1},h9t={3:1,4:1,5:1,119:1},f9t="org.eclipse.emf.ecore.resource",d9t={92:1,90:1,591:1,1935:1},g9t="org.eclipse.emf.ecore.resource.impl",p9t="unspecified",b9t="simple",w9t="attribute",m9t="attributeWildcard",y9t="element",v9t="elementWildcard",x9t="collapse",k9t="itemType",_9t="namespace",A9t="##targetNamespace",E9t="whiteSpace",T9t="wildcards",C9t="http://www.eclipse.org/emf/2003/XMLType",S9t="##any",I9t="uninitialized",M9t="The multiplicity constraint is violated",D9t="org.eclipse.emf.ecore.xml.type",O9t="ProcessingInstruction",L9t="SimpleAnyType",N9t="XMLTypeDocumentRoot",P9t="org.eclipse.emf.ecore.xml.type.impl",B9t="INF",F9t="processing",R9t="ENTITIES_._base",j9t="minLength",$9t="ENTITY",z9t="NCName",q9t="IDREFS_._base",H9t="integer",U9t="token",G9t="pattern",Y9t="[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*",Z9t="\\i\\c*",W9t="[\\i-[:]][\\c-[:]]*",K9t="nonPositiveInteger",X9t="maxInclusive",V9t="NMTOKEN",Q9t="NMTOKENS_._base",J9t="nonNegativeInteger",tte="minInclusive",ete="normalizedString",nte="unsignedByte",ite="unsignedInt",rte="18446744073709551615",ate="unsignedShort",ote="processingInstruction",ste="org.eclipse.emf.ecore.xml.type.internal",cte=1114111,ute="Internal Error: shorthands: \\u",lte="xml:isDigit",hte="xml:isWord",fte="xml:isSpace",dte="xml:isNameChar",gte="xml:isInitialNameChar",pte="09٠٩۰۹०९০৯੦੯૦૯୦୯௧௯౦౯೦೯൦൯๐๙໐໙༠༩",bte="AZazÀÖØöøıĴľŁňŊžƀǃǍǰǴǵǺȗɐʨʻˁΆΆΈΊΌΌΎΡΣώϐϖϚϚϜϜϞϞϠϠϢϳЁЌЎяёќўҁҐӄӇӈӋӌӐӫӮӵӸӹԱՖՙՙաֆאתװײءغفيٱڷںھۀێېۓەەۥۦअहऽऽक़ॡঅঌএঐওনপরললশহড়ঢ়য়ৡৰৱਅਊਏਐਓਨਪਰਲਲ਼ਵਸ਼ਸਹਖ਼ੜਫ਼ਫ਼ੲੴઅઋઍઍએઑઓનપરલળવહઽઽૠૠଅଌଏଐଓନପରଲଳଶହଽଽଡ଼ଢ଼ୟୡஅஊஎஐஒகஙசஜஜஞடணதநபமவஷஹఅఌఎఐఒనపళవహౠౡಅಌಎಐಒನಪಳವಹೞೞೠೡഅഌഎഐഒനപഹൠൡกฮะะาำเๅກຂຄຄງຈຊຊຍຍດທນຟມຣລລວວສຫອຮະະາຳຽຽເໄཀཇཉཀྵႠჅაჶᄀᄀᄂᄃᄅᄇᄉᄉᄋᄌᄎᄒᄼᄼᄾᄾᅀᅀᅌᅌᅎᅎᅐᅐᅔᅕᅙᅙᅟᅡᅣᅣᅥᅥᅧᅧᅩᅩᅭᅮᅲᅳᅵᅵᆞᆞᆨᆨᆫᆫᆮᆯᆷᆸᆺᆺᆼᇂᇫᇫᇰᇰᇹᇹḀẛẠỹἀἕἘἝἠὅὈὍὐὗὙὙὛὛὝὝὟώᾀᾴᾶᾼιιῂῄῆῌῐΐῖΊῠῬῲῴῶῼΩΩKÅ℮℮ↀↂ〇〇〡〩ぁゔァヺㄅㄬ一龥가힣",wte="Private Use",mte="ASSIGNED",yte="\0€ÿĀſƀɏɐʯʰ˿̀ͯͰϿЀӿ԰֏֐׿؀ۿ܀ݏހ޿ऀॿঀ৿਀੿઀૿଀୿஀௿ఀ౿ಀ೿ഀൿ඀෿฀๿຀໿ༀ࿿က႟Ⴀჿᄀᇿሀ፿Ꭰ᏿᐀ᙿ ᚟ᚠ᛿ក៿᠀᢯Ḁỿἀ῿ ⁰₟₠⃏⃐⃿℀⅏⅐↏←⇿∀⋿⌀⏿␀␿⑀⑟①⓿─╿▀▟■◿☀⛿✀➿⠀⣿⺀⻿⼀⿟⿰⿿ 〿぀ゟ゠ヿ㄀ㄯ㄰㆏㆐㆟ㆠㆿ㈀㋿㌀㏿㐀䶵一鿿ꀀ꒏꒐꓏가힣豈﫿ffﭏﭐ﷿︠︯︰﹏﹐﹯ﹰ﻾\ufeff\ufeff＀￯",vte="UNASSIGNED",xte={3:1,117:1},kte="org.eclipse.emf.ecore.xml.type.util",_te={3:1,4:1,5:1,368:1},Ate="org.eclipse.xtext.xbase.lib",Ete="Cannot add elements to a Range",Tte="Cannot set elements in a Range",Cte="Cannot remove elements from a Range",Ste="locale",Ite="default",Mte="user.agent";n.goog=n.goog||{},n.goog.global=n.goog.global||n,KEt(),pDt(1,null,{},r),TWt.Fb=function(t){return $M(this,t)},TWt.Gb=function(){return this.gm},TWt.Hb=function(){return CN(this)},TWt.Ib=function(){return t_(nut(this))+"@"+(eut(this)>>>0).toString(16)},TWt.equals=function(t){return this.Fb(t)},TWt.hashCode=function(){return this.Hb()},TWt.toString=function(){return this.Ib()},pDt(290,1,{290:1,2026:1},mct),TWt.le=function(t){var e;return(e=new mct).i=4,e.c=t>1?bJ(this,t-1):this,e},TWt.me=function(){return _B(this),this.b},TWt.ne=function(){return t_(this)},TWt.oe=function(){return _B(this),this.k},TWt.pe=function(){return 0!=(4&this.i)},TWt.qe=function(){return 0!=(1&this.i)},TWt.Ib=function(){return set(this)},TWt.i=0;var Dte,Ote=mZ(RWt,"Object",1),Lte=mZ(RWt,"Class",290);pDt(1998,1,jWt),mZ($Wt,"Optional",1998),pDt(1170,1998,jWt,a),TWt.Fb=function(t){return t===this},TWt.Hb=function(){return 2040732332},TWt.Ib=function(){return"Optional.absent()"},TWt.Jb=function(t){return vZ(t),iv(),Dte},mZ($Wt,"Absent",1170),pDt(628,1,{},yx),mZ($Wt,"Joiner",628);var Nte=dH($Wt,"Predicate");pDt(582,1,{169:1,582:1,3:1,45:1},zh),TWt.Mb=function(t){return jct(this,t)},TWt.Lb=function(t){return jct(this,t)},TWt.Fb=function(t){var e;return!!aL(t,582)&&(e=zz(t,582),PDt(this.a,e.a))},TWt.Hb=function(){return zct(this.a)+306654252},TWt.Ib=function(){return pCt(this.a)},mZ($Wt,"Predicates/AndPredicate",582),pDt(408,1998,{408:1,3:1},qh),TWt.Fb=function(t){var e;return!!aL(t,408)&&(e=zz(t,408),Pht(this.a,e.a))},TWt.Hb=function(){return 1502476572+eut(this.a)},TWt.Ib=function(){return GWt+this.a+")"},TWt.Jb=function(t){return new qh(WX(t.Kb(this.a),"the Function passed to Optional.transform() must not return null."))},mZ($Wt,"Present",408),pDt(198,1,ZWt),TWt.Nb=function(t){hY(this,t)},TWt.Qb=function(){dx()},mZ(WWt,"UnmodifiableIterator",198),pDt(1978,198,KWt),TWt.Qb=function(){dx()},TWt.Rb=function(t){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(WWt,"UnmodifiableListIterator",1978),pDt(386,1978,KWt),TWt.Ob=function(){return this.c0},TWt.Pb=function(){if(this.c>=this.d)throw qw(new vm);return this.Xb(this.c++)},TWt.Tb=function(){return this.c},TWt.Ub=function(){if(this.c<=0)throw qw(new vm);return this.Xb(--this.c)},TWt.Vb=function(){return this.c-1},TWt.c=0,TWt.d=0,mZ(WWt,"AbstractIndexedListIterator",386),pDt(699,198,ZWt),TWt.Ob=function(){return trt(this)},TWt.Pb=function(){return C9(this)},TWt.e=1,mZ(WWt,"AbstractIterator",699),pDt(1986,1,{224:1}),TWt.Zb=function(){return this.f||(this.f=this.ac())},TWt.Fb=function(t){return _ut(this,t)},TWt.Hb=function(){return eut(this.Zb())},TWt.dc=function(){return 0==this.gc()},TWt.ec=function(){return bG(this)},TWt.Ib=function(){return qdt(this.Zb())},mZ(WWt,"AbstractMultimap",1986),pDt(726,1986,XWt),TWt.$b=function(){pit(this)},TWt._b=function(t){return Wk(this,t)},TWt.ac=function(){return new wA(this,this.c)},TWt.ic=function(t){return this.hc()},TWt.bc=function(){return new qL(this,this.c)},TWt.jc=function(){return this.mc(this.hc())},TWt.kc=function(){return new qy(this)},TWt.lc=function(){return UAt(this.c.vc().Nc(),new s,64,this.d)},TWt.cc=function(t){return l6(this,t)},TWt.fc=function(t){return Plt(this,t)},TWt.gc=function(){return this.d},TWt.mc=function(t){return TX(),new qd(t)},TWt.nc=function(){return new zy(this)},TWt.oc=function(){return UAt(this.c.Cc().Nc(),new o,64,this.d)},TWt.pc=function(t,e){return new W6(this,t,e,null)},TWt.d=0,mZ(WWt,"AbstractMapBasedMultimap",726),pDt(1631,726,XWt),TWt.hc=function(){return new Q6(this.a)},TWt.jc=function(){return TX(),TX(),lne},TWt.cc=function(t){return zz(l6(this,t),15)},TWt.fc=function(t){return zz(Plt(this,t),15)},TWt.Zb=function(){return MX(this)},TWt.Fb=function(t){return _ut(this,t)},TWt.qc=function(t){return zz(l6(this,t),15)},TWt.rc=function(t){return zz(Plt(this,t),15)},TWt.mc=function(t){return rV(zz(t,15))},TWt.pc=function(t,e){return i3(this,t,zz(e,15),null)},mZ(WWt,"AbstractListMultimap",1631),pDt(732,1,VWt),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.c.Ob()||this.e.Ob()},TWt.Pb=function(){var t;return this.e.Ob()||(t=zz(this.c.Pb(),42),this.b=t.cd(),this.a=zz(t.dd(),14),this.e=this.a.Kc()),this.sc(this.b,this.e.Pb())},TWt.Qb=function(){this.e.Qb(),this.a.dc()&&this.c.Qb(),--this.d.d},mZ(WWt,"AbstractMapBasedMultimap/Itr",732),pDt(1099,732,VWt,zy),TWt.sc=function(t,e){return e},mZ(WWt,"AbstractMapBasedMultimap/1",1099),pDt(1100,1,{},o),TWt.Kb=function(t){return zz(t,14).Nc()},mZ(WWt,"AbstractMapBasedMultimap/1methodref$spliterator$Type",1100),pDt(1101,732,VWt,qy),TWt.sc=function(t,e){return new mA(t,e)},mZ(WWt,"AbstractMapBasedMultimap/2",1101);var Pte=dH(QWt,"Map");pDt(1967,1,JWt),TWt.wc=function(t){eot(this,t)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.$b=function(){this.vc().$b()},TWt.tc=function(t){return Tyt(this,t)},TWt._b=function(t){return!!z_t(this,t,!1)},TWt.uc=function(t){var e,n;for(e=this.vc().Kc();e.Ob();)if(n=zz(e.Pb(),42).dd(),UI(t)===UI(n)||null!=t&&Pht(t,n))return!0;return!1},TWt.Fb=function(t){var e,n,i;if(t===this)return!0;if(!aL(t,83))return!1;if(i=zz(t,83),this.gc()!=i.gc())return!1;for(n=i.vc().Kc();n.Ob();)if(e=zz(n.Pb(),42),!this.tc(e))return!1;return!0},TWt.xc=function(t){return HI(z_t(this,t,!1))},TWt.Hb=function(){return Hst(this.vc())},TWt.dc=function(){return 0==this.gc()},TWt.ec=function(){return new Sd(this)},TWt.zc=function(t,e){throw qw(new ex("Put not supported on this map"))},TWt.Ac=function(t){Eat(this,t)},TWt.Bc=function(t){return HI(z_t(this,t,!0))},TWt.gc=function(){return this.vc().gc()},TWt.Ib=function(){return eAt(this)},TWt.Cc=function(){return new Md(this)},mZ(QWt,"AbstractMap",1967),pDt(1987,1967,JWt),TWt.bc=function(){return new TA(this)},TWt.vc=function(){return pG(this)},TWt.ec=function(){return this.g||(this.g=this.bc())},TWt.Cc=function(){return this.i||(this.i=new CA(this))},mZ(WWt,"Maps/ViewCachingAbstractMap",1987),pDt(389,1987,JWt,wA),TWt.xc=function(t){return ket(this,t)},TWt.Bc=function(t){return tlt(this,t)},TWt.$b=function(){this.d==this.e.c?this.e.$b():SH(new MH(this))},TWt._b=function(t){return wht(this.d,t)},TWt.Ec=function(){return new Yh(this)},TWt.Dc=function(){return this.Ec()},TWt.Fb=function(t){return this===t||Pht(this.d,t)},TWt.Hb=function(){return eut(this.d)},TWt.ec=function(){return this.e.ec()},TWt.gc=function(){return this.d.gc()},TWt.Ib=function(){return qdt(this.d)},mZ(WWt,"AbstractMapBasedMultimap/AsMap",389);var Bte=dH(RWt,"Iterable");pDt(28,1,tKt),TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return this.Oc()},TWt.Nc=function(){return new g1(this,0)},TWt.Oc=function(){return new FH(null,this.Nc())},TWt.Fc=function(t){throw qw(new ex("Add not supported on this collection"))},TWt.Gc=function(t){return zrt(this,t)},TWt.$b=function(){AK(this)},TWt.Hc=function(t){return xgt(this,t,!1)},TWt.Ic=function(t){return ust(this,t)},TWt.dc=function(){return 0==this.gc()},TWt.Mc=function(t){return xgt(this,t,!0)},TWt.Pc=function(){return aG(this)},TWt.Qc=function(t){return Ayt(this,t)},TWt.Ib=function(){return NEt(this)},mZ(QWt,"AbstractCollection",28);var Fte=dH(QWt,"Set");pDt(eKt,28,nKt),TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return rbt(this,t)},TWt.Hb=function(){return Hst(this)},mZ(QWt,"AbstractSet",eKt),pDt(1970,eKt,nKt),mZ(WWt,"Sets/ImprovedAbstractSet",1970),pDt(1971,1970,nKt),TWt.$b=function(){this.Rc().$b()},TWt.Hc=function(t){return rpt(this,t)},TWt.dc=function(){return this.Rc().dc()},TWt.Mc=function(t){var e;return!!this.Hc(t)&&(e=zz(t,42),this.Rc().ec().Mc(e.cd()))},TWt.gc=function(){return this.Rc().gc()},mZ(WWt,"Maps/EntrySet",1971),pDt(1097,1971,nKt,Yh),TWt.Hc=function(t){return pht(this.a.d.vc(),t)},TWt.Kc=function(){return new MH(this.a)},TWt.Rc=function(){return this.a},TWt.Mc=function(t){var e;return!!pht(this.a.d.vc(),t)&&(e=zz(t,42),q5(this.a.e,e.cd()),!0)},TWt.Nc=function(){return Fz(this.a.d.vc().Nc(),new Zh(this.a))},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries",1097),pDt(1098,1,{},Zh),TWt.Kb=function(t){return i5(this.a,zz(t,42))},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapEntries/0methodref$wrapEntry$Type",1098),pDt(730,1,VWt,MH),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){var t;return t=zz(this.b.Pb(),42),this.a=zz(t.dd(),14),i5(this.c,t)},TWt.Ob=function(){return this.b.Ob()},TWt.Qb=function(){hot(!!this.a),this.b.Qb(),this.c.e.d-=this.a.gc(),this.a.$b(),this.a=null},mZ(WWt,"AbstractMapBasedMultimap/AsMap/AsMapIterator",730),pDt(532,1970,nKt,TA),TWt.$b=function(){this.b.$b()},TWt.Hc=function(t){return this.b._b(t)},TWt.Jc=function(t){vZ(t),this.b.wc(new mf(t))},TWt.dc=function(){return this.b.dc()},TWt.Kc=function(){return new fv(this.b.vc().Kc())},TWt.Mc=function(t){return!!this.b._b(t)&&(this.b.Bc(t),!0)},TWt.gc=function(){return this.b.gc()},mZ(WWt,"Maps/KeySet",532),pDt(318,532,nKt,qL),TWt.$b=function(){SH(new nA(this,this.b.vc().Kc()))},TWt.Ic=function(t){return this.b.ec().Ic(t)},TWt.Fb=function(t){return this===t||Pht(this.b.ec(),t)},TWt.Hb=function(){return eut(this.b.ec())},TWt.Kc=function(){return new nA(this,this.b.vc().Kc())},TWt.Mc=function(t){var e,n;return n=0,(e=zz(this.b.Bc(t),14))&&(n=e.gc(),e.$b(),this.a.d-=n),n>0},TWt.Nc=function(){return this.b.ec().Nc()},mZ(WWt,"AbstractMapBasedMultimap/KeySet",318),pDt(731,1,VWt,nA),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.c.Ob()},TWt.Pb=function(){return this.a=zz(this.c.Pb(),42),this.a.cd()},TWt.Qb=function(){var t;hot(!!this.a),t=zz(this.a.dd(),14),this.c.Qb(),this.b.a.d-=t.gc(),t.$b(),this.a=null},mZ(WWt,"AbstractMapBasedMultimap/KeySet/1",731),pDt(491,389,{83:1,161:1},SB),TWt.bc=function(){return this.Sc()},TWt.ec=function(){return this.Tc()},TWt.Sc=function(){return new tA(this.c,this.Uc())},TWt.Tc=function(){return this.b||(this.b=this.Sc())},TWt.Uc=function(){return zz(this.d,161)},mZ(WWt,"AbstractMapBasedMultimap/SortedAsMap",491),pDt(542,491,iKt,IB),TWt.bc=function(){return new eA(this.a,zz(zz(this.d,161),171))},TWt.Sc=function(){return new eA(this.a,zz(zz(this.d,161),171))},TWt.ec=function(){return zz(this.b||(this.b=new eA(this.a,zz(zz(this.d,161),171))),271)},TWt.Tc=function(){return zz(this.b||(this.b=new eA(this.a,zz(zz(this.d,161),171))),271)},TWt.Uc=function(){return zz(zz(this.d,161),171)},mZ(WWt,"AbstractMapBasedMultimap/NavigableAsMap",542),pDt(490,318,rKt,tA),TWt.Nc=function(){return this.b.ec().Nc()},mZ(WWt,"AbstractMapBasedMultimap/SortedKeySet",490),pDt(388,490,aKt,eA),mZ(WWt,"AbstractMapBasedMultimap/NavigableKeySet",388),pDt(541,28,tKt,W6),TWt.Fc=function(t){var e,n;return Ydt(this),n=this.d.dc(),(e=this.d.Fc(t))&&(++this.f.d,n&&kF(this)),e},TWt.Gc=function(t){var e,n,i;return!t.dc()&&(Ydt(this),i=this.d.gc(),(e=this.d.Gc(t))&&(n=this.d.gc(),this.f.d+=n-i,0==i&&kF(this)),e)},TWt.$b=function(){var t;Ydt(this),0!=(t=this.d.gc())&&(this.d.$b(),this.f.d-=t,OU(this))},TWt.Hc=function(t){return Ydt(this),this.d.Hc(t)},TWt.Ic=function(t){return Ydt(this),this.d.Ic(t)},TWt.Fb=function(t){return t===this||(Ydt(this),Pht(this.d,t))},TWt.Hb=function(){return Ydt(this),eut(this.d)},TWt.Kc=function(){return Ydt(this),new Xz(this)},TWt.Mc=function(t){var e;return Ydt(this),(e=this.d.Mc(t))&&(--this.f.d,OU(this)),e},TWt.gc=function(){return eM(this)},TWt.Nc=function(){return Ydt(this),this.d.Nc()},TWt.Ib=function(){return Ydt(this),qdt(this.d)},mZ(WWt,"AbstractMapBasedMultimap/WrappedCollection",541);var Rte=dH(QWt,"List");pDt(728,541,{20:1,28:1,14:1,15:1},uG),TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return Ydt(this),this.d.Nc()},TWt.Vc=function(t,e){var n;Ydt(this),n=this.d.dc(),zz(this.d,15).Vc(t,e),++this.a.d,n&&kF(this)},TWt.Wc=function(t,e){var n,i,r;return!e.dc()&&(Ydt(this),r=this.d.gc(),(n=zz(this.d,15).Wc(t,e))&&(i=this.d.gc(),this.a.d+=i-r,0==r&&kF(this)),n)},TWt.Xb=function(t){return Ydt(this),zz(this.d,15).Xb(t)},TWt.Xc=function(t){return Ydt(this),zz(this.d,15).Xc(t)},TWt.Yc=function(){return Ydt(this),new bO(this)},TWt.Zc=function(t){return Ydt(this),new bX(this,t)},TWt.$c=function(t){var e;return Ydt(this),e=zz(this.d,15).$c(t),--this.a.d,OU(this),e},TWt._c=function(t,e){return Ydt(this),zz(this.d,15)._c(t,e)},TWt.bd=function(t,e){return Ydt(this),i3(this.a,this.e,zz(this.d,15).bd(t,e),this.b?this.b:this)},mZ(WWt,"AbstractMapBasedMultimap/WrappedList",728),pDt(1096,728,{20:1,28:1,14:1,15:1,54:1},MP),mZ(WWt,"AbstractMapBasedMultimap/RandomAccessWrappedList",1096),pDt(620,1,VWt,Xz),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return EK(this),this.b.Ob()},TWt.Pb=function(){return EK(this),this.b.Pb()},TWt.Qb=function(){nN(this)},mZ(WWt,"AbstractMapBasedMultimap/WrappedCollection/WrappedIterator",620),pDt(729,620,oKt,bO,bX),TWt.Qb=function(){nN(this)},TWt.Rb=function(t){var e;e=0==eM(this.a),(EK(this),zz(this.b,125)).Rb(t),++this.a.a.d,e&&kF(this.a)},TWt.Sb=function(){return(EK(this),zz(this.b,125)).Sb()},TWt.Tb=function(){return(EK(this),zz(this.b,125)).Tb()},TWt.Ub=function(){return(EK(this),zz(this.b,125)).Ub()},TWt.Vb=function(){return(EK(this),zz(this.b,125)).Vb()},TWt.Wb=function(t){(EK(this),zz(this.b,125)).Wb(t)},mZ(WWt,"AbstractMapBasedMultimap/WrappedList/WrappedListIterator",729),pDt(727,541,rKt,NB),TWt.Nc=function(){return Ydt(this),this.d.Nc()},mZ(WWt,"AbstractMapBasedMultimap/WrappedSortedSet",727),pDt(1095,727,aKt,DD),mZ(WWt,"AbstractMapBasedMultimap/WrappedNavigableSet",1095),pDt(1094,541,nKt,PB),TWt.Nc=function(){return Ydt(this),this.d.Nc()},mZ(WWt,"AbstractMapBasedMultimap/WrappedSet",1094),pDt(1103,1,{},s),TWt.Kb=function(t){return $6(zz(t,42))},mZ(WWt,"AbstractMapBasedMultimap/lambda$1$Type",1103),pDt(1102,1,{},Wh),TWt.Kb=function(t){return new mA(this.a,t)},mZ(WWt,"AbstractMapBasedMultimap/lambda$2$Type",1102);var jte,$te,zte,qte,Hte=dH(QWt,"Map/Entry");pDt(345,1,sKt),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),gW(this.cd(),e.cd())&&gW(this.dd(),e.dd()))},TWt.Hb=function(){var t,e;return t=this.cd(),e=this.dd(),(null==t?0:eut(t))^(null==e?0:eut(e))},TWt.ed=function(t){throw qw(new wm)},TWt.Ib=function(){return this.cd()+"="+this.dd()},mZ(WWt,cKt,345),pDt(1988,28,tKt),TWt.$b=function(){this.fd().$b()},TWt.Hc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),q0(this.fd(),e.cd(),e.dd()))},TWt.Mc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),H0(this.fd(),e.cd(),e.dd()))},TWt.gc=function(){return this.fd().d},mZ(WWt,"Multimaps/Entries",1988),pDt(733,1988,tKt,Kh),TWt.Kc=function(){return this.a.kc()},TWt.fd=function(){return this.a},TWt.Nc=function(){return this.a.lc()},mZ(WWt,"AbstractMultimap/Entries",733),pDt(734,733,nKt,Hy),TWt.Nc=function(){return this.a.lc()},TWt.Fb=function(t){return YTt(this,t)},TWt.Hb=function(){return qrt(this)},mZ(WWt,"AbstractMultimap/EntrySet",734),pDt(735,28,tKt,Xh),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return Mut(this.a,t)},TWt.Kc=function(){return this.a.nc()},TWt.gc=function(){return this.a.d},TWt.Nc=function(){return this.a.oc()},mZ(WWt,"AbstractMultimap/Values",735),pDt(1989,28,{835:1,20:1,28:1,14:1}),TWt.Jc=function(t){vZ(t),_K(this).Jc(new wf(t))},TWt.Nc=function(){var t;return UAt(t=_K(this).Nc(),new v,64|1296&t.qd(),this.a.d)},TWt.Fc=function(t){return gx(),!0},TWt.Gc=function(t){return vZ(this),vZ(t),aL(t,543)?f2(zz(t,835)):!t.dc()&&htt(this,t.Kc())},TWt.Hc=function(t){var e;return((e=zz(dht(MX(this.a),t),14))?e.gc():0)>0},TWt.Fb=function(t){return hOt(this,t)},TWt.Hb=function(){return eut(_K(this))},TWt.dc=function(){return _K(this).dc()},TWt.Mc=function(t){return AIt(this,t,1)>0},TWt.Ib=function(){return qdt(_K(this))},mZ(WWt,"AbstractMultiset",1989),pDt(1991,1970,nKt),TWt.$b=function(){pit(this.a.a)},TWt.Hc=function(t){var e;return!(!aL(t,492)||(e=zz(t,416),zz(e.a.dd(),14).gc()<=0||a1(this.a,e.a.cd())!=zz(e.a.dd(),14).gc()))},TWt.Mc=function(t){var e,n,i;return!(!aL(t,492)||(e=(n=zz(t,416)).a.cd(),0==(i=zz(n.a.dd(),14).gc())))&&EIt(this.a,e,i)},mZ(WWt,"Multisets/EntrySet",1991),pDt(1109,1991,nKt,Vh),TWt.Kc=function(){return new gv(pG(MX(this.a.a)).Kc())},TWt.gc=function(){return MX(this.a.a).gc()},mZ(WWt,"AbstractMultiset/EntrySet",1109),pDt(619,726,XWt),TWt.hc=function(){return this.gd()},TWt.jc=function(){return this.hd()},TWt.cc=function(t){return this.jd(t)},TWt.fc=function(t){return this.kd(t)},TWt.Zb=function(){return this.f||(this.f=this.ac())},TWt.hd=function(){return TX(),TX(),fne},TWt.Fb=function(t){return _ut(this,t)},TWt.jd=function(t){return zz(l6(this,t),21)},TWt.kd=function(t){return zz(Plt(this,t),21)},TWt.mc=function(t){return TX(),new Dx(zz(t,21))},TWt.pc=function(t,e){return new PB(this,t,zz(e,21))},mZ(WWt,"AbstractSetMultimap",619),pDt(1657,619,XWt),TWt.hc=function(){return new p_(this.b)},TWt.gd=function(){return new p_(this.b)},TWt.jc=function(){return IZ(new p_(this.b))},TWt.hd=function(){return IZ(new p_(this.b))},TWt.cc=function(t){return zz(zz(l6(this,t),21),84)},TWt.jd=function(t){return zz(zz(l6(this,t),21),84)},TWt.fc=function(t){return zz(zz(Plt(this,t),21),84)},TWt.kd=function(t){return zz(zz(Plt(this,t),21),84)},TWt.mc=function(t){return aL(t,271)?IZ(zz(t,271)):(TX(),new pN(zz(t,84)))},TWt.Zb=function(){return this.f||(this.f=aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c))},TWt.pc=function(t,e){return aL(e,271)?new DD(this,t,zz(e,271)):new NB(this,t,zz(e,84))},mZ(WWt,"AbstractSortedSetMultimap",1657),pDt(1658,1657,XWt),TWt.Zb=function(){return zz(zz(this.f||(this.f=aL(this.c,171)?new IB(this,zz(this.c,171)):aL(this.c,161)?new SB(this,zz(this.c,161)):new wA(this,this.c)),161),171)},TWt.ec=function(){return zz(zz(this.i||(this.i=aL(this.c,171)?new eA(this,zz(this.c,171)):aL(this.c,161)?new tA(this,zz(this.c,161)):new qL(this,this.c)),84),271)},TWt.bc=function(){return aL(this.c,171)?new eA(this,zz(this.c,171)):aL(this.c,161)?new tA(this,zz(this.c,161)):new qL(this,this.c)},mZ(WWt,"AbstractSortedKeySortedSetMultimap",1658),pDt(2010,1,{1947:1}),TWt.Fb=function(t){return Ikt(this,t)},TWt.Hb=function(){return Hst(this.g||(this.g=new Qh(this)))},TWt.Ib=function(){return eAt(this.f||(this.f=new YL(this)))},mZ(WWt,"AbstractTable",2010),pDt(665,eKt,nKt,Qh),TWt.$b=function(){px()},TWt.Hc=function(t){var e,n;return!!aL(t,468)&&(e=zz(t,682),!!(n=zz(dht(kZ(this.a),WI(e.c.e,e.b)),83))&&pht(n.vc(),new mA(WI(e.c.c,e.a),Y6(e.c,e.b,e.a))))},TWt.Kc=function(){return JX(this.a)},TWt.Mc=function(t){var e,n;return!!aL(t,468)&&(e=zz(t,682),!!(n=zz(dht(kZ(this.a),WI(e.c.e,e.b)),83))&&bht(n.vc(),new mA(WI(e.c.c,e.a),Y6(e.c,e.b,e.a))))},TWt.gc=function(){return GH(this.a)},TWt.Nc=function(){return C2(this.a)},mZ(WWt,"AbstractTable/CellSet",665),pDt(1928,28,tKt,Jh),TWt.$b=function(){px()},TWt.Hc=function(t){return hAt(this.a,t)},TWt.Kc=function(){return tV(this.a)},TWt.gc=function(){return GH(this.a)},TWt.Nc=function(){return V0(this.a)},mZ(WWt,"AbstractTable/Values",1928),pDt(1632,1631,XWt),mZ(WWt,"ArrayListMultimapGwtSerializationDependencies",1632),pDt(513,1632,XWt,cx,c1),TWt.hc=function(){return new Q6(this.a)},TWt.a=0,mZ(WWt,"ArrayListMultimap",513),pDt(664,2010,{664:1,1947:1,3:1},yMt),mZ(WWt,"ArrayTable",664),pDt(1924,386,KWt,HL),TWt.Xb=function(t){return new wct(this.a,t)},mZ(WWt,"ArrayTable/1",1924),pDt(1925,1,{},Hh),TWt.ld=function(t){return new wct(this.a,t)},mZ(WWt,"ArrayTable/1methodref$getCell$Type",1925),pDt(2011,1,{682:1}),TWt.Fb=function(t){var e;return t===this||!!aL(t,468)&&(e=zz(t,682),gW(WI(this.c.e,this.b),WI(e.c.e,e.b))&&gW(WI(this.c.c,this.a),WI(e.c.c,e.a))&&gW(Y6(this.c,this.b,this.a),Y6(e.c,e.b,e.a)))},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[WI(this.c.e,this.b),WI(this.c.c,this.a),Y6(this.c,this.b,this.a)]))},TWt.Ib=function(){return"("+WI(this.c.e,this.b)+","+WI(this.c.c,this.a)+")="+Y6(this.c,this.b,this.a)},mZ(WWt,"Tables/AbstractCell",2011),pDt(468,2011,{468:1,682:1},wct),TWt.a=0,TWt.b=0,TWt.d=0,mZ(WWt,"ArrayTable/2",468),pDt(1927,1,{},Uh),TWt.ld=function(t){return V7(this.a,t)},mZ(WWt,"ArrayTable/2methodref$getValue$Type",1927),pDt(1926,386,KWt,UL),TWt.Xb=function(t){return V7(this.a,t)},mZ(WWt,"ArrayTable/3",1926),pDt(1979,1967,JWt),TWt.$b=function(){SH(this.kc())},TWt.vc=function(){return new yf(this)},TWt.lc=function(){return new SK(this.kc(),this.gc())},mZ(WWt,"Maps/IteratorBasedAbstractMap",1979),pDt(828,1979,JWt),TWt.$b=function(){throw qw(new wm)},TWt._b=function(t){return Vk(this.c,t)},TWt.kc=function(){return new GL(this,this.c.b.c.gc())},TWt.lc=function(){return vH(this.c.b.c.gc(),16,new Gh(this))},TWt.xc=function(t){var e;return(e=zz(YR(this.c,t),19))?this.nd(e.a):null},TWt.dc=function(){return this.c.b.c.dc()},TWt.ec=function(){return dG(this.c)},TWt.zc=function(t,e){var n;if(!(n=zz(YR(this.c,t),19)))throw qw(new jv(this.md()+" "+t+" not in "+dG(this.c)));return this.od(n.a,e)},TWt.Bc=function(t){throw qw(new wm)},TWt.gc=function(){return this.c.b.c.gc()},mZ(WWt,"ArrayTable/ArrayMap",828),pDt(1923,1,{},Gh),TWt.ld=function(t){return MZ(this.a,t)},mZ(WWt,"ArrayTable/ArrayMap/0methodref$getEntry$Type",1923),pDt(1921,345,sKt,uA),TWt.cd=function(){return VL(this.a,this.b)},TWt.dd=function(){return this.a.nd(this.b)},TWt.ed=function(t){return this.a.od(this.b,t)},TWt.b=0,mZ(WWt,"ArrayTable/ArrayMap/1",1921),pDt(1922,386,KWt,GL),TWt.Xb=function(t){return MZ(this.a,t)},mZ(WWt,"ArrayTable/ArrayMap/2",1922),pDt(1920,828,JWt,aY),TWt.md=function(){return"Column"},TWt.nd=function(t){return Y6(this.b,this.a,t)},TWt.od=function(t,e){return Cst(this.b,this.a,t,e)},TWt.a=0,mZ(WWt,"ArrayTable/Row",1920),pDt(829,828,JWt,YL),TWt.nd=function(t){return new aY(this.a,t)},TWt.zc=function(t,e){return zz(e,83),bx()},TWt.od=function(t,e){return zz(e,83),wx()},TWt.md=function(){return"Row"},mZ(WWt,"ArrayTable/RowMap",829),pDt(1120,1,fKt,lA),TWt.qd=function(){return-262&this.a.qd()},TWt.rd=function(){return this.a.rd()},TWt.Nb=function(t){this.a.Nb(new aA(t,this.b))},TWt.sd=function(t){return this.a.sd(new rA(t,this.b))},mZ(WWt,"CollectSpliterators/1",1120),pDt(1121,1,dKt,rA),TWt.td=function(t){this.a.td(this.b.Kb(t))},mZ(WWt,"CollectSpliterators/1/lambda$0$Type",1121),pDt(1122,1,dKt,aA),TWt.td=function(t){this.a.td(this.b.Kb(t))},mZ(WWt,"CollectSpliterators/1/lambda$1$Type",1122),pDt(1123,1,fKt,H2),TWt.qd=function(){return this.a},TWt.rd=function(){return this.d&&(this.b=AO(this.b,this.d.rd())),AO(this.b,0)},TWt.Nb=function(t){this.d&&(this.d.Nb(t),this.d=null),this.c.Nb(new iA(this.e,t)),this.b=0},TWt.sd=function(t){for(;;){if(this.d&&this.d.sd(t))return QI(this.b,gKt)&&(this.b=rdt(this.b,1)),!0;if(this.d=null,!this.c.sd(new oA(this,this.e)))return!1}},TWt.a=0,TWt.b=0,mZ(WWt,"CollectSpliterators/1FlatMapSpliterator",1123),pDt(1124,1,dKt,oA),TWt.td=function(t){pR(this.a,this.b,t)},mZ(WWt,"CollectSpliterators/1FlatMapSpliterator/lambda$0$Type",1124),pDt(1125,1,dKt,iA),TWt.td=function(t){cL(this.b,this.a,t)},mZ(WWt,"CollectSpliterators/1FlatMapSpliterator/lambda$1$Type",1125),pDt(1117,1,fKt,gR),TWt.qd=function(){return 16464|this.b},TWt.rd=function(){return this.a.rd()},TWt.Nb=function(t){this.a.xe(new cA(t,this.c))},TWt.sd=function(t){return this.a.ye(new sA(t,this.c))},TWt.b=0,mZ(WWt,"CollectSpliterators/1WithCharacteristics",1117),pDt(1118,1,pKt,sA),TWt.ud=function(t){this.a.td(this.b.ld(t))},mZ(WWt,"CollectSpliterators/1WithCharacteristics/lambda$0$Type",1118),pDt(1119,1,pKt,cA),TWt.ud=function(t){this.a.td(this.b.ld(t))},mZ(WWt,"CollectSpliterators/1WithCharacteristics/lambda$1$Type",1119),pDt(245,1,bKt),TWt.wd=function(t){return this.vd(zz(t,245))},TWt.vd=function(t){var e;return t==(ev(),$te)?1:t==(nv(),jte)?-1:(tH(),0!=(e=Pat(this.a,t.a))?e:aL(this,519)==aL(t,519)?0:aL(this,519)?1:-1)},TWt.zd=function(){return this.a},TWt.Fb=function(t){return Bpt(this,t)},mZ(WWt,"Cut",245),pDt(1761,245,bKt,Nx),TWt.vd=function(t){return t==this?0:1},TWt.xd=function(t){throw qw(new lm)},TWt.yd=function(t){t.a+="+∞)"},TWt.zd=function(){throw qw(new $v(wKt))},TWt.Hb=function(){return OA(),imt(this)},TWt.Ad=function(t){return!1},TWt.Ib=function(){return"+∞"},mZ(WWt,"Cut/AboveAll",1761),pDt(519,245,{245:1,519:1,3:1,35:1},iN),TWt.xd=function(t){sM((t.a+="(",t),this.a)},TWt.yd=function(t){PZ(sM(t,this.a),93)},TWt.Hb=function(){return~eut(this.a)},TWt.Ad=function(t){return tH(),Pat(this.a,t)<0},TWt.Ib=function(){return"/"+this.a+"\\"},mZ(WWt,"Cut/AboveValue",519),pDt(1760,245,bKt,Px),TWt.vd=function(t){return t==this?0:-1},TWt.xd=function(t){t.a+="(-∞"},TWt.yd=function(t){throw qw(new lm)},TWt.zd=function(){throw qw(new $v(wKt))},TWt.Hb=function(){return OA(),imt(this)},TWt.Ad=function(t){return!0},TWt.Ib=function(){return"-∞"},mZ(WWt,"Cut/BelowAll",1760),pDt(1762,245,bKt,rN),TWt.xd=function(t){sM((t.a+="[",t),this.a)},TWt.yd=function(t){PZ(sM(t,this.a),41)},TWt.Hb=function(){return eut(this.a)},TWt.Ad=function(t){return tH(),Pat(this.a,t)<=0},TWt.Ib=function(){return"\\"+this.a+"/"},mZ(WWt,"Cut/BelowValue",1762),pDt(537,1,mKt),TWt.Jc=function(t){n5(this,t)},TWt.Ib=function(){return Hft(zz(WX(this,"use Optional.orNull() instead of Optional.or(null)"),20).Kc())},mZ(WWt,"FluentIterable",537),pDt(433,537,mKt,MM),TWt.Kc=function(){return new cG(JL(this.a.Kc(),new l))},mZ(WWt,"FluentIterable/2",433),pDt(1046,537,mKt,DM),TWt.Kc=function(){return NY(this)},mZ(WWt,"FluentIterable/3",1046),pDt(708,386,KWt,WL),TWt.Xb=function(t){return this.a[t].Kc()},mZ(WWt,"FluentIterable/3/1",708),pDt(1972,1,{}),TWt.Ib=function(){return qdt(this.Bd().b)},mZ(WWt,"ForwardingObject",1972),pDt(1973,1972,yKt),TWt.Bd=function(){return this.Cd()},TWt.Jc=function(t){n5(this,t)},TWt.Lc=function(){return this.Oc()},TWt.Nc=function(){return new g1(this,0)},TWt.Oc=function(){return new FH(null,this.Nc())},TWt.Fc=function(t){return this.Cd(),c_()},TWt.Gc=function(t){return this.Cd(),u_()},TWt.$b=function(){this.Cd(),l_()},TWt.Hc=function(t){return this.Cd().Hc(t)},TWt.Ic=function(t){return this.Cd().Ic(t)},TWt.dc=function(){return this.Cd().b.dc()},TWt.Kc=function(){return this.Cd().Kc()},TWt.Mc=function(t){return this.Cd(),h_()},TWt.gc=function(){return this.Cd().b.gc()},TWt.Pc=function(){return this.Cd().Pc()},TWt.Qc=function(t){return this.Cd().Qc(t)},mZ(WWt,"ForwardingCollection",1973),pDt(1980,28,vKt),TWt.Kc=function(){return this.Ed()},TWt.Fc=function(t){throw qw(new wm)},TWt.Gc=function(t){throw qw(new wm)},TWt.$b=function(){throw qw(new wm)},TWt.Hc=function(t){return null!=t&&xgt(this,t,!1)},TWt.Dd=function(){switch(this.gc()){case 0:return WZ(),WZ(),zte;case 1:return WZ(),new CH(vZ(this.Ed().Pb()));default:return new oY(this,this.Pc())}},TWt.Mc=function(t){throw qw(new wm)},mZ(WWt,"ImmutableCollection",1980),pDt(712,1980,vKt,rm),TWt.Kc=function(){return L7(this.a.Kc())},TWt.Hc=function(t){return null!=t&&this.a.Hc(t)},TWt.Ic=function(t){return this.a.Ic(t)},TWt.dc=function(){return this.a.dc()},TWt.Ed=function(){return L7(this.a.Kc())},TWt.gc=function(){return this.a.gc()},TWt.Pc=function(){return this.a.Pc()},TWt.Qc=function(t){return this.a.Qc(t)},TWt.Ib=function(){return qdt(this.a)},mZ(WWt,"ForwardingImmutableCollection",712),pDt(152,1980,xKt),TWt.Kc=function(){return this.Ed()},TWt.Yc=function(){return this.Fd(0)},TWt.Zc=function(t){return this.Fd(t)},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.bd=function(t,e){return this.Gd(t,e)},TWt.Vc=function(t,e){throw qw(new wm)},TWt.Wc=function(t,e){throw qw(new wm)},TWt.Fb=function(t){return UDt(this,t)},TWt.Hb=function(){return Mot(this)},TWt.Xc=function(t){return null==t?-1:Eyt(this,t)},TWt.Ed=function(){return this.Fd(0)},TWt.Fd=function(t){return iP(this,t)},TWt.$c=function(t){throw qw(new wm)},TWt._c=function(t,e){throw qw(new wm)},TWt.Gd=function(t,e){return lht(new u1(new IA(this),t,e))},mZ(WWt,"ImmutableList",152),pDt(2006,152,xKt),TWt.Kc=function(){return L7(this.Hd().Kc())},TWt.bd=function(t,e){return lht(this.Hd().bd(t,e))},TWt.Hc=function(t){return null!=t&&this.Hd().Hc(t)},TWt.Ic=function(t){return this.Hd().Ic(t)},TWt.Fb=function(t){return Pht(this.Hd(),t)},TWt.Xb=function(t){return WI(this,t)},TWt.Hb=function(){return eut(this.Hd())},TWt.Xc=function(t){return this.Hd().Xc(t)},TWt.dc=function(){return this.Hd().dc()},TWt.Ed=function(){return L7(this.Hd().Kc())},TWt.gc=function(){return this.Hd().gc()},TWt.Gd=function(t,e){return lht(this.Hd().bd(t,e))},TWt.Pc=function(){return this.Hd().Qc(P8(Ote,HWt,1,this.Hd().gc(),5,1))},TWt.Qc=function(t){return this.Hd().Qc(t)},TWt.Ib=function(){return qdt(this.Hd())},mZ(WWt,"ForwardingImmutableList",2006),pDt(714,1,_Kt),TWt.vc=function(){return fG(this)},TWt.wc=function(t){eot(this,t)},TWt.ec=function(){return dG(this)},TWt.yc=function(t,e,n){return tdt(this,t,e,n)},TWt.Cc=function(){return this.Ld()},TWt.$b=function(){throw qw(new wm)},TWt._b=function(t){return null!=this.xc(t)},TWt.uc=function(t){return this.Ld().Hc(t)},TWt.Jd=function(){return new am(this)},TWt.Kd=function(){return new om(this)},TWt.Fb=function(t){return Lut(this,t)},TWt.Hb=function(){return fG(this).Hb()},TWt.dc=function(){return 0==this.gc()},TWt.zc=function(t,e){return mx()},TWt.Bc=function(t){throw qw(new wm)},TWt.Ib=function(){return fTt(this)},TWt.Ld=function(){return this.e?this.e:this.e=this.Kd()},TWt.c=null,TWt.d=null,TWt.e=null,mZ(WWt,"ImmutableMap",714),pDt(715,714,_Kt),TWt._b=function(t){return Vk(this,t)},TWt.uc=function(t){return jA(this.b,t)},TWt.Id=function(){return hht(new ef(this))},TWt.Jd=function(){return hht(iK(this.b))},TWt.Kd=function(){return uj(),new rm(eK(this.b))},TWt.Fb=function(t){return zA(this.b,t)},TWt.xc=function(t){return YR(this,t)},TWt.Hb=function(){return eut(this.b.c)},TWt.dc=function(){return this.b.c.dc()},TWt.gc=function(){return this.b.c.gc()},TWt.Ib=function(){return qdt(this.b.c)},mZ(WWt,"ForwardingImmutableMap",715),pDt(1974,1973,AKt),TWt.Bd=function(){return this.Md()},TWt.Cd=function(){return this.Md()},TWt.Nc=function(){return new g1(this,1)},TWt.Fb=function(t){return t===this||this.Md().Fb(t)},TWt.Hb=function(){return this.Md().Hb()},mZ(WWt,"ForwardingSet",1974),pDt(1069,1974,AKt,ef),TWt.Bd=function(){return nK(this.a.b)},TWt.Cd=function(){return nK(this.a.b)},TWt.Hc=function(t){if(aL(t,42)&&null==zz(t,42).cd())return!1;try{return RA(nK(this.a.b),t)}catch(t){if(aL(t=dst(t),205))return!1;throw qw(t)}},TWt.Md=function(){return nK(this.a.b)},TWt.Qc=function(t){var e;return e=IV(nK(this.a.b),t),nK(this.a.b).b.gc()=0?"+":"")+(i/60|0),e=YM(n.Math.abs(i)%60),(mEt(),wne)[this.q.getDay()]+" "+mne[this.q.getMonth()]+" "+YM(this.q.getDate())+" "+YM(this.q.getHours())+":"+YM(this.q.getMinutes())+":"+YM(this.q.getSeconds())+" GMT"+t+e+" "+this.q.getFullYear()};var uee,lee,hee,fee,dee,gee,pee,bee,wee,mee,yee,vee=mZ(QWt,"Date",199);pDt(1915,199,EXt,Qxt),TWt.a=!1,TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0,TWt.f=0,TWt.g=!1,TWt.i=0,TWt.j=0,TWt.k=0,TWt.n=0,TWt.o=0,TWt.p=0,mZ("com.google.gwt.i18n.shared.impl","DateRecord",1915),pDt(1966,1,{}),TWt.fe=function(){return null},TWt.ge=function(){return null},TWt.he=function(){return null},TWt.ie=function(){return null},TWt.je=function(){return null},mZ(TXt,"JSONValue",1966),pDt(216,1966,{216:1},Sf,Af),TWt.Fb=function(t){return!!aL(t,216)&&m0(this.a,zz(t,216).a)},TWt.ee=function(){return Hw},TWt.Hb=function(){return eV(this.a)},TWt.fe=function(){return this},TWt.Ib=function(){var t,e,n;for(n=new fN("["),e=0,t=this.a.length;e0&&(n.a+=","),sM(n,ptt(this,e));return n.a+="]",n.a},mZ(TXt,"JSONArray",216),pDt(483,1966,{483:1},Ef),TWt.ee=function(){return Uw},TWt.ge=function(){return this},TWt.Ib=function(){return lN(),""+this.a},TWt.a=!1,mZ(TXt,"JSONBoolean",483),pDt(985,60,qKt,bv),mZ(TXt,"JSONException",985),pDt(1023,1966,{},m),TWt.ee=function(){return Kw},TWt.Ib=function(){return YWt},mZ(TXt,"JSONNull",1023),pDt(258,1966,{258:1},Tf),TWt.Fb=function(t){return!!aL(t,258)&&this.a==zz(t,258).a},TWt.ee=function(){return Gw},TWt.Hb=function(){return KM(this.a)},TWt.he=function(){return this},TWt.Ib=function(){return this.a+""},TWt.a=0,mZ(TXt,"JSONNumber",258),pDt(183,1966,{183:1},wv,Cf),TWt.Fb=function(t){return!!aL(t,183)&&m0(this.a,zz(t,183).a)},TWt.ee=function(){return Yw},TWt.Hb=function(){return eV(this.a)},TWt.ie=function(){return this},TWt.Ib=function(){var t,e,n,i,r,a;for(a=new fN("{"),t=!0,i=0,r=(n=_rt(this,P8(Vee,lKt,2,0,6,1))).length;i=0?":"+this.c:"")+")"},TWt.c=0;var zee=mZ(RWt,"StackTraceElement",310);DWt={3:1,475:1,35:1,2:1};var qee,Hee,Uee,Gee,Yee,Zee,Wee,Kee,Xee,Vee=mZ(RWt,UKt,2);pDt(107,418,{475:1},Tx,Cx,hN),mZ(RWt,"StringBuffer",107),pDt(100,418,{475:1},Sx,Ix,fN),mZ(RWt,"StringBuilder",100),pDt(687,73,PXt,Mx),mZ(RWt,"StringIndexOutOfBoundsException",687),pDt(2043,1,{}),pDt(844,1,{},P),TWt.Kb=function(t){return zz(t,78).e},mZ(RWt,"Throwable/lambda$0$Type",844),pDt(41,60,{3:1,102:1,60:1,78:1,41:1},wm,ex),mZ(RWt,"UnsupportedOperationException",41),pDt(240,236,{3:1,35:1,236:1,240:1},xtt,g_),TWt.wd=function(t){return Jjt(this,zz(t,240))},TWt.ke=function(){return gTt(iHt(this))},TWt.Fb=function(t){var e;return this===t||!!aL(t,240)&&(e=zz(t,240),this.e==e.e&&0==Jjt(this,e))},TWt.Hb=function(){var t;return 0!=this.b?this.b:this.a<54?(t=fot(this.f),this.b=pU(n0(t,-1)),this.b=33*this.b+pU(n0(xG(t,32),-1)),this.b=17*this.b+SQ(this.e),this.b):(this.b=17*jlt(this.c)+SQ(this.e),this.b)},TWt.Ib=function(){return iHt(this)},TWt.a=0,TWt.b=0,TWt.d=0,TWt.e=0,TWt.f=0;var Qee,Jee,tne,ene,nne,ine,rne=mZ("java.math","BigDecimal",240);pDt(91,236,{3:1,35:1,236:1,91:1},Rwt,Z6,fY,y_t,Ibt,OD),TWt.wd=function(t){return nbt(this,zz(t,91))},TWt.ke=function(){return gTt(UZt(this,0))},TWt.Fb=function(t){return lgt(this,t)},TWt.Hb=function(){return jlt(this)},TWt.Ib=function(){return UZt(this,0)},TWt.b=-2,TWt.c=0,TWt.d=0,TWt.e=0;var ane,one,sne,cne,une=mZ("java.math","BigInteger",91);pDt(488,1967,JWt),TWt.$b=function(){OY(this)},TWt._b=function(t){return lY(this,t)},TWt.uc=function(t){return Nut(this,t,this.g)||Nut(this,t,this.f)},TWt.vc=function(){return new Cd(this)},TWt.xc=function(t){return FZ(this,t)},TWt.zc=function(t,e){return KW(this,t,e)},TWt.Bc=function(t){return m6(this,t)},TWt.gc=function(){return NA(this)},mZ(QWt,"AbstractHashMap",488),pDt(261,eKt,nKt,Cd),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return y2(this,t)},TWt.Kc=function(){return new cut(this.a)},TWt.Mc=function(t){var e;return!!y2(this,t)&&(e=zz(t,42).cd(),this.a.Bc(e),!0)},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractHashMap/EntrySet",261),pDt(262,1,VWt,cut),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return nnt(this)},TWt.Ob=function(){return this.b},TWt.Qb=function(){c7(this)},TWt.b=!1,mZ(QWt,"AbstractHashMap/EntrySetIterator",262),pDt(417,1,VWt,Td),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return oT(this)},TWt.Pb=function(){return yX(this)},TWt.Qb=function(){hW(this)},TWt.b=0,TWt.c=-1,mZ(QWt,"AbstractList/IteratorImpl",417),pDt(96,417,oKt,E2),TWt.Qb=function(){hW(this)},TWt.Rb=function(t){vF(this,t)},TWt.Sb=function(){return this.b>0},TWt.Tb=function(){return this.b},TWt.Ub=function(){return CP(this.b>0),this.a.Xb(this.c=--this.b)},TWt.Vb=function(){return this.b-1},TWt.Wb=function(t){EP(-1!=this.c),this.a._c(this.c,t)},mZ(QWt,"AbstractList/ListIteratorImpl",96),pDt(219,52,NKt,u1),TWt.Vc=function(t,e){LJ(t,this.b),this.c.Vc(this.a+t,e),++this.b},TWt.Xb=function(t){return f1(t,this.b),this.c.Xb(this.a+t)},TWt.$c=function(t){var e;return f1(t,this.b),e=this.c.$c(this.a+t),--this.b,e},TWt._c=function(t,e){return f1(t,this.b),this.c._c(this.a+t,e)},TWt.gc=function(){return this.b},TWt.a=0,TWt.b=0,mZ(QWt,"AbstractList/SubList",219),pDt(384,eKt,nKt,Sd),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return this.a._b(t)},TWt.Kc=function(){return new Id(this.a.vc().Kc())},TWt.Mc=function(t){return!!this.a._b(t)&&(this.a.Bc(t),!0)},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractMap/1",384),pDt(691,1,VWt,Id),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).cd()},TWt.Qb=function(){this.a.Qb()},mZ(QWt,"AbstractMap/1/1",691),pDt(226,28,tKt,Md),TWt.$b=function(){this.a.$b()},TWt.Hc=function(t){return this.a.uc(t)},TWt.Kc=function(){return new Rd(this.a.vc().Kc())},TWt.gc=function(){return this.a.gc()},mZ(QWt,"AbstractMap/2",226),pDt(294,1,VWt,Rd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a.Ob()},TWt.Pb=function(){return zz(this.a.Pb(),42).dd()},TWt.Qb=function(){this.a.Qb()},mZ(QWt,"AbstractMap/2/1",294),pDt(484,1,{484:1,42:1}),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),aK(this.d,e.cd())&&aK(this.e,e.dd()))},TWt.cd=function(){return this.d},TWt.dd=function(){return this.e},TWt.Hb=function(){return RD(this.d)^RD(this.e)},TWt.ed=function(t){return wF(this,t)},TWt.Ib=function(){return this.d+"="+this.e},mZ(QWt,"AbstractMap/AbstractEntry",484),pDt(383,484,{484:1,383:1,42:1},CT),mZ(QWt,"AbstractMap/SimpleEntry",383),pDt(1984,1,XXt),TWt.Fb=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),aK(this.cd(),e.cd())&&aK(this.dd(),e.dd()))},TWt.Hb=function(){return RD(this.cd())^RD(this.dd())},TWt.Ib=function(){return this.cd()+"="+this.dd()},mZ(QWt,cKt,1984),pDt(1992,1967,iKt),TWt.tc=function(t){return H5(this,t)},TWt._b=function(t){return BR(this,t)},TWt.vc=function(){return new zd(this)},TWt.xc=function(t){return HI(dut(this,t))},TWt.ec=function(){return new jd(this)},mZ(QWt,"AbstractNavigableMap",1992),pDt(739,eKt,nKt,zd),TWt.Hc=function(t){return aL(t,42)&&H5(this.b,zz(t,42))},TWt.Kc=function(){return new zF(this.b)},TWt.Mc=function(t){var e;return!!aL(t,42)&&(e=zz(t,42),G8(this.b,e))},TWt.gc=function(){return this.b.c},mZ(QWt,"AbstractNavigableMap/EntrySet",739),pDt(493,eKt,aKt,jd),TWt.Nc=function(){return new gT(this)},TWt.$b=function(){yv(this.a)},TWt.Hc=function(t){return BR(this.a,t)},TWt.Kc=function(){return new $d(new zF(new PN(this.a).b))},TWt.Mc=function(t){return!!BR(this.a,t)&&(OQ(this.a,t),!0)},TWt.gc=function(){return this.a.c},mZ(QWt,"AbstractNavigableMap/NavigableKeySet",493),pDt(494,1,VWt,$d),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return oT(this.a.a)},TWt.Pb=function(){return yP(this.a).cd()},TWt.Qb=function(){nj(this.a)},mZ(QWt,"AbstractNavigableMap/NavigableKeySet/1",494),pDt(2004,28,tKt),TWt.Fc=function(t){return $8(iEt(this,t)),!0},TWt.Gc=function(t){return xW(t),mq(t!=this,"Can't add a queue to itself"),zrt(this,t)},TWt.$b=function(){for(;null!=ytt(this););},mZ(QWt,"AbstractQueue",2004),pDt(302,28,{4:1,20:1,28:1,14:1},Lw,p1),TWt.Fc=function(t){return g3(this,t),!0},TWt.$b=function(){c4(this)},TWt.Hc=function(t){return pst(new dK(this),t)},TWt.dc=function(){return Wv(this)},TWt.Kc=function(){return new dK(this)},TWt.Mc=function(t){return UQ(new dK(this),t)},TWt.gc=function(){return this.c-this.b&this.a.length-1},TWt.Nc=function(){return new g1(this,272)},TWt.Qc=function(t){var e;return e=this.c-this.b&this.a.length-1,t.lengthe&&OZ(t,e,null),t},TWt.b=0,TWt.c=0,mZ(QWt,"ArrayDeque",302),pDt(446,1,VWt,dK),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return this.a!=this.b},TWt.Pb=function(){return $lt(this)},TWt.Qb=function(){iit(this)},TWt.a=0,TWt.b=0,TWt.c=-1,mZ(QWt,"ArrayDeque/IteratorImpl",446),pDt(12,52,VXt,Nw,Q6,ej),TWt.Vc=function(t,e){xU(this,t,e)},TWt.Fc=function(t){return Wz(this,t)},TWt.Wc=function(t,e){return ult(this,t,e)},TWt.Gc=function(t){return wst(this,t)},TWt.$b=function(){this.c=P8(Ote,HWt,1,0,5,1)},TWt.Hc=function(t){return-1!=_9(this,t,0)},TWt.Jc=function(t){Det(this,t)},TWt.Xb=function(t){return PH(this,t)},TWt.Xc=function(t){return _9(this,t,0)},TWt.dc=function(){return 0==this.c.length},TWt.Kc=function(){return new Wd(this)},TWt.$c=function(t){return u6(this,t)},TWt.Mc=function(t){return v9(this,t)},TWt.Ud=function(t,e){l1(this,t,e)},TWt._c=function(t,e){return a5(this,t,e)},TWt.gc=function(){return this.c.length},TWt.ad=function(t){yO(this,t)},TWt.Pc=function(){return dP(this)},TWt.Qc=function(t){return Vbt(this,t)};var lne,hne,fne,dne,gne,pne,bne,wne,mne,yne=mZ(QWt,"ArrayList",12);pDt(7,1,VWt,Wd),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return vO(this)},TWt.Pb=function(){return t0(this)},TWt.Qb=function(){DY(this)},TWt.a=0,TWt.b=-1,mZ(QWt,"ArrayList/1",7),pDt(2013,n.Function,{},A),TWt.te=function(t,e){return Sft(t,e)},pDt(154,52,QXt,Qv),TWt.Hc=function(t){return-1!=git(this,t)},TWt.Jc=function(t){var e,n,i,r;for(xW(t),i=0,r=(n=this.a).length;i>>0).toString(16))},TWt.f=0,TWt.i=jXt;var uie,lie,hie,fie,die=mZ(IVt,"CNode",57);pDt(814,1,{},Wm),mZ(IVt,"CNode/CNodeBuilder",814),pDt(1525,1,{},gt),TWt.Oe=function(t,e){return 0},TWt.Pe=function(t,e){return 0},mZ(IVt,DVt,1525),pDt(1790,1,{},pt),TWt.Le=function(t){var e,i,r,a,o,s,c,u,l,h,f,d,g,p,b;for(l=RXt,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},TWt.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=Qdt(this,Dxt(this,null,!0));else for(Fet(),i=0,r=(e=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).length;i0?a+this.n.b+this.n.c:0},TWt.Te=function(){var t,e,n,i,r;if(this.g)for(t=Dxt(this,null,!1),Fet(),i=0,r=(n=Sst(Ux(Kie,1),LKt,232,0,[Uie,Gie,Yie])).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),X5(this,Gie,e.d+t.d+r[0]-(r[1]-i)/2,r)},TWt.b=null,TWt.d=0,TWt.e=!1,TWt.f=!1,TWt.g=!1;var Xie,Vie,Qie,Jie=0,tre=0;mZ(nQt,"GridContainerCell",1473),pDt(461,22,{3:1,35:1,22:1,461:1},UT);var ere,nre=qnt(nQt,"HorizontalLabelAlignment",461,Zte,y1,bj);pDt(306,212,{212:1,306:1},vQ,pet,RV),TWt.Re=function(){return Wq(this)},TWt.Se=function(){return Kq(this)},TWt.a=0,TWt.c=!1;var ire,rre,are,ore=mZ(nQt,"LabelCell",306);pDt(244,326,{212:1,326:1,244:1},Mbt),TWt.Re=function(){return TIt(this)},TWt.Se=function(){return CIt(this)},TWt.Te=function(){$$t(this)},TWt.Ue=function(){G$t(this)},TWt.b=0,TWt.c=0,TWt.d=!1,mZ(nQt,"StripContainerCell",244),pDt(1626,1,FKt,kt),TWt.Mb=function(t){return Xv(zz(t,212))},mZ(nQt,"StripContainerCell/lambda$0$Type",1626),pDt(1627,1,{},_t),TWt.Fe=function(t){return zz(t,212).Se()},mZ(nQt,"StripContainerCell/lambda$1$Type",1627),pDt(1628,1,FKt,At),TWt.Mb=function(t){return Vv(zz(t,212))},mZ(nQt,"StripContainerCell/lambda$2$Type",1628),pDt(1629,1,{},Et),TWt.Fe=function(t){return zz(t,212).Re()},mZ(nQt,"StripContainerCell/lambda$3$Type",1629),pDt(462,22,{3:1,35:1,22:1,462:1},GT);var sre,cre,ure,lre,hre,fre,dre,gre,pre,bre,wre,mre,yre,vre,xre,kre,_re,Are,Ere,Tre,Cre,Sre,Ire,Mre=qnt(nQt,"VerticalLabelAlignment",462,Zte,v1,wj);pDt(789,1,{},iYt),TWt.c=0,TWt.d=0,TWt.k=0,TWt.s=0,TWt.t=0,TWt.v=!1,TWt.w=0,TWt.D=!1,mZ(lQt,"NodeContext",789),pDt(1471,1,TVt,Tt),TWt.ue=function(t,e){return VM(zz(t,61),zz(e,61))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(lQt,"NodeContext/0methodref$comparePortSides$Type",1471),pDt(1472,1,TVt,Ct),TWt.ue=function(t,e){return ZAt(zz(t,111),zz(e,111))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(lQt,"NodeContext/1methodref$comparePortContexts$Type",1472),pDt(159,22,{3:1,35:1,22:1,159:1},uat);var Dre,Ore,Lre,Nre,Pre,Bre,Fre,Rre=qnt(lQt,"NodeLabelLocation",159,Zte,nwt,mj);pDt(111,1,{111:1},TMt),TWt.a=!1,mZ(lQt,"PortContext",111),pDt(1476,1,dKt,St),TWt.td=function(t){S_(zz(t,306))},mZ(dQt,gQt,1476),pDt(1477,1,FKt,It),TWt.Mb=function(t){return!!zz(t,111).c},mZ(dQt,pQt,1477),pDt(1478,1,dKt,Mt),TWt.td=function(t){S_(zz(t,111).c)},mZ(dQt,"LabelPlacer/lambda$2$Type",1478),pDt(1475,1,dKt,Ot),TWt.td=function(t){HB(),Vw(zz(t,111))},mZ(dQt,"NodeLabelAndSizeUtilities/lambda$0$Type",1475),pDt(790,1,dKt,Oj),TWt.td=function(t){FE(this.b,this.c,this.a,zz(t,181))},TWt.a=!1,TWt.c=!1,mZ(dQt,"NodeLabelCellCreator/lambda$0$Type",790),pDt(1474,1,dKt,Sg),TWt.td=function(t){Im(this.a,zz(t,181))},mZ(dQt,"PortContextCreator/lambda$0$Type",1474),pDt(1829,1,{},Lt),mZ(wQt,"GreedyRectangleStripOverlapRemover",1829),pDt(1830,1,TVt,Dt),TWt.ue=function(t,e){return $N(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"GreedyRectangleStripOverlapRemover/0methodref$compareByYCoordinate$Type",1830),pDt(1786,1,{},Jm),TWt.a=5,TWt.e=0,mZ(wQt,"RectangleStripOverlapRemover",1786),pDt(1787,1,TVt,Pt),TWt.ue=function(t,e){return zN(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"RectangleStripOverlapRemover/0methodref$compareLeftRectangleBorders$Type",1787),pDt(1789,1,TVt,Bt),TWt.ue=function(t,e){return QY(zz(t,222),zz(e,222))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(wQt,"RectangleStripOverlapRemover/1methodref$compareRightRectangleBorders$Type",1789),pDt(406,22,{3:1,35:1,22:1,406:1},YT);var jre,$re,zre,qre,Hre,Ure=qnt(wQt,"RectangleStripOverlapRemover/OverlapRemovalDirection",406,Zte,V2,yj);pDt(222,1,{222:1},PU),mZ(wQt,"RectangleStripOverlapRemover/RectangleNode",222),pDt(1788,1,dKt,Ig),TWt.td=function(t){Iyt(this.a,zz(t,222))},mZ(wQt,"RectangleStripOverlapRemover/lambda$1$Type",1788),pDt(1304,1,TVt,Ft),TWt.ue=function(t,e){return Yqt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator",1304),pDt(1307,1,{},Rt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$0$Type",1307),pDt(1308,1,FKt,jt),TWt.Mb=function(t){return zz(t,323).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$1$Type",1308),pDt(1309,1,FKt,$t),TWt.Mb=function(t){return zz(t,323).a},mZ(yQt,"PolyominoCompactor/CornerCasesGreaterThanRestComparator/lambda$2$Type",1309),pDt(1302,1,TVt,zt),TWt.ue=function(t,e){return KFt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator",1302),pDt(1305,1,{},Nt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionDirectionsComparator/lambda$0$Type",1305),pDt(767,1,TVt,qt),TWt.ue=function(t,e){return Zot(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinNumOfExtensionsComparator",767),pDt(1300,1,TVt,Ht),TWt.ue=function(t,e){return Vit(zz(t,321),zz(e,321))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinPerimeterComparator",1300),pDt(1301,1,TVt,Ut),TWt.ue=function(t,e){return smt(zz(t,321),zz(e,321))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/MinPerimeterComparatorWithShape",1301),pDt(1303,1,TVt,Gt),TWt.ue=function(t,e){return qRt(zz(t,167),zz(e,167))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(yQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator",1303),pDt(1306,1,{},Yt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"PolyominoCompactor/SingleExtensionSideGreaterThanRestComparator/lambda$0$Type",1306),pDt(777,1,{},BT),TWt.Ce=function(t,e){return M2(this,zz(t,46),zz(e,167))},mZ(yQt,"SuccessorCombination",777),pDt(644,1,{},Zt),TWt.Ce=function(t,e){var n;return WIt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorJitter",644),pDt(643,1,{},Wt),TWt.Ce=function(t,e){var n;return gPt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorLineByLine",643),pDt(568,1,{},Kt),TWt.Ce=function(t,e){var n;return fOt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorManhattan",568),pDt(1356,1,{},Xt),TWt.Ce=function(t,e){var n;return _Nt((n=zz(t,46),zz(e,167),n))},mZ(yQt,"SuccessorMaxNormWindingInMathPosSense",1356),pDt(400,1,{},Mg),TWt.Ce=function(t,e){return zY(this,t,e)},TWt.c=!1,TWt.d=!1,TWt.e=!1,TWt.f=!1,mZ(yQt,"SuccessorQuadrantsGeneric",400),pDt(1357,1,{},Vt),TWt.Kb=function(t){return zz(t,324).a},mZ(yQt,"SuccessorQuadrantsGeneric/lambda$0$Type",1357),pDt(323,22,{3:1,35:1,22:1,323:1},jT),TWt.a=!1;var Gre,Yre=qnt(AQt,EQt,323,Zte,t3,vj);pDt(1298,1,{}),TWt.Ib=function(){var t,e,n,i,r,a;for(n=" ",t=rft(0),r=0;r=0?"b"+t+"["+s5(this.a)+"]":"b["+s5(this.a)+"]":"b_"+CN(this)},mZ(oJt,"FBendpoint",559),pDt(282,134,{3:1,282:1,94:1,134:1},IF),TWt.Ib=function(){return s5(this)},mZ(oJt,"FEdge",282),pDt(231,134,{3:1,231:1,94:1,134:1},v6);var Sae,Iae,Mae,Dae,Oae,Lae,Nae,Pae,Bae,Fae,Rae=mZ(oJt,"FGraph",231);pDt(447,357,{3:1,447:1,357:1,94:1,134:1},y4),TWt.Ib=function(){return null==this.b||0==this.b.length?"l["+s5(this.a)+"]":"l_"+this.b},mZ(oJt,"FLabel",447),pDt(144,357,{3:1,144:1,357:1,94:1,134:1},HZ),TWt.Ib=function(){return w0(this)},TWt.b=0,mZ(oJt,"FNode",144),pDt(2003,1,{}),TWt.bf=function(t){l$t(this,t)},TWt.cf=function(){Uyt(this)},TWt.d=0,mZ(cJt,"AbstractForceModel",2003),pDt(631,2003,{631:1},Not),TWt.af=function(t,e){var i,r,a,o;return nIt(this.f,t,e),a=ZF(zO(e.d),t.d),o=n.Math.sqrt(a.a*a.a+a.b*a.b),r=n.Math.max(0,o-fW(t.e)/2-fW(e.e)/2),xL(a,((i=Uct(this.e,t,e))>0?-jY(r,this.c)*i:PP(r,this.b)*zz(vEt(t,(fFt(),Jae)),19).a)/o),a},TWt.bf=function(t){l$t(this,t),this.a=zz(vEt(t,(fFt(),Hae)),19).a,this.c=Uv(EB(vEt(t,aoe))),this.b=Uv(EB(vEt(t,eoe)))},TWt.df=function(t){return t0&&(o-=Tv(r,this.a)*i),xL(a,o*this.b/s),a},TWt.bf=function(t){var e,i,r,a,o,s,c;for(l$t(this,t),this.b=Uv(EB(vEt(t,(fFt(),ooe)))),this.c=this.b/zz(vEt(t,Hae),19).a,r=t.e.c.length,o=0,a=0,c=new Wd(t.e);c.a0},TWt.a=0,TWt.b=0,TWt.c=0,mZ(cJt,"FruchtermanReingoldModel",632),pDt(849,1,VVt,Gl),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,uJt),""),"Force Model"),"Determines the model for force calculation."),Mae),(SCt(),bEe)),Ooe),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,lJt),""),"Iterations"),"The number of iterations on the force model."),rft(300)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,hJt),""),"Repulsive Power"),"Determines how many bend points are added to the edge; such bend points are regarded as repelling particles in the force model"),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,fJt),""),"FR Temperature"),"The temperature is used as a scaling factor for particle displacements."),dJt),pEe),See),edt(lEe)))),o2(t,fJt,uJt,Pae),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,gJt),""),"Eades Repulsion"),"Factor for repulsive forces in Eades' model."),5),pEe),See),edt(lEe)))),o2(t,gJt,uJt,Oae),mYt((new Yl,t))},mZ(pJt,"ForceMetaDataProvider",849),pDt(424,22,{3:1,35:1,22:1,424:1},ZT);var jae,$ae,zae,qae,Hae,Uae,Gae,Yae,Zae,Wae,Kae,Xae,Vae,Qae,Jae,toe,eoe,noe,ioe,roe,aoe,ooe,soe,coe,uoe,loe,hoe,foe,doe,goe,poe,boe,woe,moe,yoe,voe,xoe,koe,_oe,Aoe,Eoe,Toe,Coe,Soe,Ioe,Moe,Doe,Ooe=qnt(pJt,"ForceModelStrategy",424,Zte,oQ,_j);pDt(988,1,VVt,Yl),TWt.Qe=function(t){mYt(t)},mZ(pJt,"ForceOptions",988),pDt(989,1,{},ge),TWt.$e=function(){return new Um},TWt._e=function(t){},mZ(pJt,"ForceOptions/ForceFactory",989),pDt(850,1,VVt,Zl),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,PJt),""),"Fixed Position"),"Prevent that the node is moved by the layout algorithm."),(lN(),!1)),(SCt(),gEe)),kee),edt((awt(),uEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,BJt),""),"Desired Edge Length"),"Either specified for parent nodes or for individual edges, where the latter takes higher precedence."),100),pEe),See),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[sEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,FJt),""),"Layout Dimension"),"Dimensions that are permitted to be altered during layout."),doe),bEe),qoe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,RJt),""),"Stress Epsilon"),"Termination criterion for the iterative process."),dJt),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,jJt),""),"Iteration Limit"),"Maximum number of performed iterations. Takes higher precedence than 'epsilon'."),rft(FWt)),mEe),Oee),edt(lEe)))),ZUt((new Wl,t))},mZ(pJt,"StressMetaDataProvider",850),pDt(992,1,VVt,Wl),TWt.Qe=function(t){ZUt(t)},mZ(pJt,"StressOptions",992),pDt(993,1,{},pe),TWt.$e=function(){return new MF},TWt._e=function(t){},mZ(pJt,"StressOptions/StressFactory",993),pDt(1128,209,PQt,MF),TWt.Ze=function(t,e){var n,i,r,a;for(DAt(e,zJt,1),Hv(AB(tOt(t,(axt(),xoe))))?Hv(AB(tOt(t,Coe)))||kQ(new Ag((UE(),new Bv(t)))):yLt(new Um,t,vat(e,1)),i=fct(t),a=(n=H$t(this.a,i)).Kc();a.Ob();)(r=zz(a.Pb(),231)).e.c.length<=1||(Hqt(this.b,r),rOt(this.b),Det(r.d,new be));CYt(i=GYt(n)),HTt(e)},mZ(HJt,"StressLayoutProvider",1128),pDt(1129,1,dKt,be),TWt.td=function(t){$zt(zz(t,447))},mZ(HJt,"StressLayoutProvider/lambda$0$Type",1129),pDt(990,1,{},Am),TWt.c=0,TWt.e=0,TWt.g=0,mZ(HJt,"StressMajorization",990),pDt(379,22,{3:1,35:1,22:1,379:1},WT);var Loe,Noe,Poe,Boe,Foe,Roe,joe,$oe,zoe,qoe=qnt(HJt,"StressMajorization/Dimension",379,Zte,k1,Aj);pDt(991,1,TVt,Pg),TWt.ue=function(t,e){return TR(this.a,zz(t,144),zz(e,144))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(HJt,"StressMajorization/lambda$0$Type",991),pDt(1229,1,{},B0),mZ(GJt,"ElkLayered",1229),pDt(1230,1,dKt,we),TWt.td=function(t){RIt(zz(t,37))},mZ(GJt,"ElkLayered/lambda$0$Type",1230),pDt(1231,1,dKt,Bg),TWt.td=function(t){CR(this.a,zz(t,37))},mZ(GJt,"ElkLayered/lambda$1$Type",1231),pDt(1263,1,{},OO),mZ(GJt,"GraphConfigurator",1263),pDt(759,1,dKt,Fg),TWt.td=function(t){XEt(this.a,zz(t,10))},mZ(GJt,"GraphConfigurator/lambda$0$Type",759),pDt(760,1,{},me),TWt.Kb=function(t){return nkt(),new FH(null,new g1(zz(t,29).a,16))},mZ(GJt,"GraphConfigurator/lambda$1$Type",760),pDt(761,1,dKt,Rg),TWt.td=function(t){XEt(this.a,zz(t,10))},mZ(GJt,"GraphConfigurator/lambda$2$Type",761),pDt(1127,209,PQt,Ym),TWt.Ze=function(t,e){var n;n=Czt(new ey,t),UI(tOt(t,(HZt(),ube)))===UI((cht(),wSe))?agt(this.a,n,e):pMt(this.a,n,e),wYt(new Xl,n)},mZ(GJt,"LayeredLayoutProvider",1127),pDt(356,22,{3:1,35:1,22:1,356:1},KT);var Hoe,Uoe,Goe,Yoe=qnt(GJt,"LayeredPhases",356,Zte,u5,Ej);pDt(1651,1,{},yit),TWt.i=0,mZ(YJt,"ComponentsToCGraphTransformer",1651),pDt(1652,1,{},ye),TWt.ef=function(t,e){return n.Math.min(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},TWt.ff=function(t,e){return n.Math.min(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},mZ(YJt,"ComponentsToCGraphTransformer/1",1652),pDt(81,1,{81:1}),TWt.i=0,TWt.k=!0,TWt.o=jXt;var Zoe,Woe,Koe,Xoe=mZ(ZJt,"CNode",81);pDt(460,81,{460:1,81:1},NN,Cbt),TWt.Ib=function(){return""},mZ(YJt,"ComponentsToCGraphTransformer/CRectNode",460),pDt(1623,1,{},ve),mZ(YJt,"OneDimensionalComponentsCompaction",1623),pDt(1624,1,{},xe),TWt.Kb=function(t){return PJ(zz(t,46))},TWt.Fb=function(t){return this===t},mZ(YJt,"OneDimensionalComponentsCompaction/lambda$0$Type",1624),pDt(1625,1,{},ke),TWt.Kb=function(t){return Agt(zz(t,46))},TWt.Fb=function(t){return this===t},mZ(YJt,"OneDimensionalComponentsCompaction/lambda$1$Type",1625),pDt(1654,1,{},zZ),mZ(ZJt,"CGraph",1654),pDt(189,1,{189:1},Sbt),TWt.b=0,TWt.c=0,TWt.e=0,TWt.g=!0,TWt.i=jXt,mZ(ZJt,"CGroup",189),pDt(1653,1,{},Te),TWt.ef=function(t,e){return n.Math.max(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},TWt.ff=function(t,e){return n.Math.max(null!=t.a?Uv(t.a):t.c.i,null!=e.a?Uv(e.a):e.c.i)},mZ(ZJt,DVt,1653),pDt(1655,1,{},lMt),TWt.d=!1;var Voe=mZ(ZJt,BVt,1655);pDt(1656,1,{},Ce),TWt.Kb=function(t){return xE(),lN(),0!=zz(zz(t,46).a,81).d.e},TWt.Fb=function(t){return this===t},mZ(ZJt,FVt,1656),pDt(823,1,{},TH),TWt.a=!1,TWt.b=!1,TWt.c=!1,TWt.d=!1,mZ(ZJt,RVt,823),pDt(1825,1,{},BU),mZ(WJt,jVt,1825);var Qoe=dH(KJt,SVt);pDt(1826,1,{369:1},fV),TWt.Ke=function(t){GPt(this,zz(t,466))},mZ(WJt,$Vt,1826),pDt(1827,1,TVt,Se),TWt.ue=function(t,e){return cX(zz(t,81),zz(e,81))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(WJt,zVt,1827),pDt(466,1,{466:1},hC),TWt.a=!1,mZ(WJt,qVt,466),pDt(1828,1,TVt,Ie),TWt.ue=function(t,e){return ekt(zz(t,466),zz(e,466))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(WJt,HVt,1828),pDt(140,1,{140:1},pC,yq),TWt.Fb=function(t){var e;return null!=t&&ise==nut(t)&&(e=zz(t,140),aK(this.c,e.c)&&aK(this.d,e.d))},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[this.c,this.d]))},TWt.Ib=function(){return"("+this.c+zWt+this.d+(this.a?"cx":"")+this.b+")"},TWt.a=!0,TWt.c=0,TWt.d=0;var Joe,tse,ese,nse,ise=mZ(KJt,"Point",140);pDt(405,22,{3:1,35:1,22:1,405:1},XT);var rse,ase,ose,sse,cse,use,lse,hse,fse,dse,gse,pse=qnt(KJt,"Point/Quadrant",405,Zte,e3,Tj);pDt(1642,1,{},Km),TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,TWt.f=null,mZ(KJt,"RectilinearConvexHull",1642),pDt(574,1,{369:1},Ewt),TWt.Ke=function(t){j7(this,zz(t,140))},TWt.b=0,mZ(KJt,"RectilinearConvexHull/MaximalElementsEventHandler",574),pDt(1644,1,TVt,Ae),TWt.ue=function(t,e){return BK(EB(t),EB(e))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/MaximalElementsEventHandler/lambda$0$Type",1644),pDt(1643,1,{369:1},fet),TWt.Ke=function(t){SNt(this,zz(t,140))},TWt.a=0,TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,mZ(KJt,"RectilinearConvexHull/RectangleEventHandler",1643),pDt(1645,1,TVt,Ee),TWt.ue=function(t,e){return s0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$0$Type",1645),pDt(1646,1,TVt,_e),TWt.ue=function(t,e){return c0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$1$Type",1646),pDt(1647,1,TVt,Me),TWt.ue=function(t,e){return l0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$2$Type",1647),pDt(1648,1,TVt,De),TWt.ue=function(t,e){return u0(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$3$Type",1648),pDt(1649,1,TVt,Oe),TWt.ue=function(t,e){return _Et(zz(t,140),zz(e,140))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(KJt,"RectilinearConvexHull/lambda$4$Type",1649),pDt(1650,1,{},MJ),mZ(KJt,"Scanline",1650),pDt(2005,1,{}),mZ(XJt,"AbstractGraphPlacer",2005),pDt(325,1,{325:1},ZP),TWt.mf=function(t){return!!this.nf(t)&&(JIt(this.b,zz(vEt(t,(hWt(),Zhe)),21),t),!0)},TWt.nf=function(t){var e,n,i;for(e=zz(vEt(t,(hWt(),Zhe)),21),i=zz(l6(hse,e),21).Kc();i.Ob();)if(n=zz(i.Pb(),21),!zz(l6(this.b,n),15).dc())return!1;return!0},mZ(XJt,"ComponentGroup",325),pDt(765,2005,{},Xm),TWt.of=function(t){var e;for(e=new Wd(this.a);e.ad&&(x=0,k+=f+a,f=0),tRt(s,x+(b=s.c).a,k+b.b),xM(b),i=n.Math.max(i,x+m.a),f=n.Math.max(f,m.b),x+=m.a+a;if(e.f.a=i,e.f.b=k+f,Hv(AB(vEt(o,Epe)))){for(jZt(r=new Le,t,a),h=t.Kc();h.Ob();)YF(xM(zz(h.Pb(),37).c),r.e);YF(xM(e.f),r.a)}p7(e,t)}else(y=zz(t.Xb(0),37))!=e&&(e.a.c=P8(Ote,HWt,1,0,5,1),LRt(e,y,0,0),Uot(e,y),xX(e.d,y.d),e.f.a=y.f.a,e.f.b=y.f.b)},mZ(XJt,"SimpleRowGraphPlacer",1291),pDt(1292,1,TVt,Be),TWt.ue=function(t,e){return Yot(zz(t,37),zz(e,37))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(XJt,"SimpleRowGraphPlacer/1",1292),pDt(1262,1,UVt,Fe),TWt.Lb=function(t){var e;return!!(e=zz(vEt(zz(t,243).b,(HZt(),mbe)),74))&&0!=e.b},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){var e;return!!(e=zz(vEt(zz(t,243).b,(HZt(),mbe)),74))&&0!=e.b},mZ(t1t,"CompoundGraphPostprocessor/1",1262),pDt(1261,1,e1t,ny),TWt.pf=function(t,e){vmt(this,zz(t,37),e)},mZ(t1t,"CompoundGraphPreprocessor",1261),pDt(441,1,{441:1},Yht),TWt.c=!1,mZ(t1t,"CompoundGraphPreprocessor/ExternalPort",441),pDt(243,1,{243:1},Lj),TWt.Ib=function(){return pP(this.c)+":"+DIt(this.b)},mZ(t1t,"CrossHierarchyEdge",243),pDt(763,1,TVt,jg),TWt.ue=function(t,e){return Xvt(this,zz(t,243),zz(e,243))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(t1t,"CrossHierarchyEdgeComparator",763),pDt(299,134,{3:1,299:1,94:1,134:1}),TWt.p=0,mZ(n1t,"LGraphElement",299),pDt(17,299,{3:1,17:1,299:1,94:1,134:1},gV),TWt.Ib=function(){return DIt(this)};var vse=mZ(n1t,"LEdge",17);pDt(37,299,{3:1,20:1,37:1,299:1,94:1,134:1},vit),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Wd(this.b)},TWt.Ib=function(){return 0==this.b.c.length?"G-unlayered"+NEt(this.a):0==this.a.c.length?"G-layered"+NEt(this.b):"G[layerless"+NEt(this.a)+", layers"+NEt(this.b)+"]"};var xse,kse=mZ(n1t,"LGraph",37);pDt(657,1,{}),TWt.qf=function(){return this.e.n},TWt.We=function(t){return vEt(this.e,t)},TWt.rf=function(){return this.e.o},TWt.sf=function(){return this.e.p},TWt.Xe=function(t){return LP(this.e,t)},TWt.tf=function(t){this.e.n.a=t.a,this.e.n.b=t.b},TWt.uf=function(t){this.e.o.a=t.a,this.e.o.b=t.b},TWt.vf=function(t){this.e.p=t},mZ(n1t,"LGraphAdapters/AbstractLShapeAdapter",657),pDt(577,1,{839:1},$g),TWt.wf=function(){var t,e;if(!this.b)for(this.b=uP(this.a.b.c.length),e=new Wd(this.a.b);e.a0&&Flt((d1(e-1,t.length),t.charCodeAt(e-1)),l1t);)--e;if(r> ",t),mvt(n)),cM(sM((t.a+="[",t),n.i),"]")),t.a},TWt.c=!0,TWt.d=!1;var $se,zse,qse,Hse,Use=mZ(n1t,"LPort",11);pDt(397,1,mKt,qg),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Hg(new Wd(this.a.e))},mZ(n1t,"LPort/1",397),pDt(1290,1,VWt,Hg),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(t0(this.a),17).c},TWt.Ob=function(){return vO(this.a)},TWt.Qb=function(){DY(this.a)},mZ(n1t,"LPort/1/1",1290),pDt(359,1,mKt,Ug),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Gg(new Wd(this.a.g))},mZ(n1t,"LPort/2",359),pDt(762,1,VWt,Gg),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(t0(this.a),17).d},TWt.Ob=function(){return vO(this.a)},TWt.Qb=function(){DY(this.a)},mZ(n1t,"LPort/2/1",762),pDt(1283,1,mKt,lC),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new y6(this)},mZ(n1t,"LPort/CombineIter",1283),pDt(201,1,VWt,y6),TWt.Nb=function(t){hY(this,t)},TWt.Qb=function(){s_()},TWt.Ob=function(){return GN(this)},TWt.Pb=function(){return vO(this.a)?t0(this.a):t0(this.b)},mZ(n1t,"LPort/CombineIter/1",201),pDt(1285,1,UVt,$e),TWt.Lb=function(t){return DG(t)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),0!=zz(t,11).e.c.length},mZ(n1t,"LPort/lambda$0$Type",1285),pDt(1284,1,UVt,ze),TWt.Lb=function(t){return OG(t)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),0!=zz(t,11).g.c.length},mZ(n1t,"LPort/lambda$1$Type",1284),pDt(1286,1,UVt,qe),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),uIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),uIe)},mZ(n1t,"LPort/lambda$2$Type",1286),pDt(1287,1,UVt,He),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),cIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),cIe)},mZ(n1t,"LPort/lambda$3$Type",1287),pDt(1288,1,UVt,Ue),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),TIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),TIe)},mZ(n1t,"LPort/lambda$4$Type",1288),pDt(1289,1,UVt,Ge),TWt.Lb=function(t){return wat(),zz(t,11).j==(kYt(),SIe)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return wat(),zz(t,11).j==(kYt(),SIe)},mZ(n1t,"LPort/lambda$5$Type",1289),pDt(29,299,{3:1,20:1,299:1,29:1,94:1,134:1},qZ),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new Wd(this.a)},TWt.Ib=function(){return"L_"+_9(this.b.b,this,0)+NEt(this.a)},mZ(n1t,"Layer",29),pDt(1342,1,{},ey),mZ(b1t,w1t,1342),pDt(1346,1,{},Ye),TWt.Kb=function(t){return SAt(zz(t,82))},mZ(b1t,"ElkGraphImporter/0methodref$connectableShapeToNode$Type",1346),pDt(1349,1,{},Ze),TWt.Kb=function(t){return SAt(zz(t,82))},mZ(b1t,"ElkGraphImporter/1methodref$connectableShapeToNode$Type",1349),pDt(1343,1,dKt,Yg),TWt.td=function(t){SMt(this.a,zz(t,118))},mZ(b1t,m1t,1343),pDt(1344,1,dKt,Zg),TWt.td=function(t){SMt(this.a,zz(t,118))},mZ(b1t,y1t,1344),pDt(1345,1,{},We),TWt.Kb=function(t){return new FH(null,new g1(wK(zz(t,79)),16))},mZ(b1t,v1t,1345),pDt(1347,1,FKt,Wg),TWt.Mb=function(t){return jD(this.a,zz(t,33))},mZ(b1t,x1t,1347),pDt(1348,1,{},Ke),TWt.Kb=function(t){return new FH(null,new g1(mK(zz(t,79)),16))},mZ(b1t,"ElkGraphImporter/lambda$5$Type",1348),pDt(1350,1,FKt,Kg),TWt.Mb=function(t){return $D(this.a,zz(t,33))},mZ(b1t,"ElkGraphImporter/lambda$7$Type",1350),pDt(1351,1,FKt,Xe),TWt.Mb=function(t){return DX(zz(t,79))},mZ(b1t,"ElkGraphImporter/lambda$8$Type",1351),pDt(1278,1,{},Xl),mZ(b1t,"ElkGraphLayoutTransferrer",1278),pDt(1279,1,FKt,Xg),TWt.Mb=function(t){return QF(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$0$Type",1279),pDt(1280,1,dKt,Vg),TWt.td=function(t){yE(),Wz(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$1$Type",1280),pDt(1281,1,FKt,Qg),TWt.Mb=function(t){return YB(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$2$Type",1281),pDt(1282,1,dKt,Jg),TWt.td=function(t){yE(),Wz(this.a,zz(t,17))},mZ(b1t,"ElkGraphLayoutTransferrer/lambda$3$Type",1282),pDt(1485,1,e1t,Ve),TWt.pf=function(t,e){Xrt(zz(t,37),e)},mZ(_1t,"CommentNodeMarginCalculator",1485),pDt(1486,1,{},Qe),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"CommentNodeMarginCalculator/lambda$0$Type",1486),pDt(1487,1,dKt,Je),TWt.td=function(t){nqt(zz(t,10))},mZ(_1t,"CommentNodeMarginCalculator/lambda$1$Type",1487),pDt(1488,1,e1t,tn),TWt.pf=function(t,e){sBt(zz(t,37),e)},mZ(_1t,"CommentPostprocessor",1488),pDt(1489,1,e1t,en),TWt.pf=function(t,e){cYt(zz(t,37),e)},mZ(_1t,"CommentPreprocessor",1489),pDt(1490,1,e1t,nn),TWt.pf=function(t,e){_Lt(zz(t,37),e)},mZ(_1t,"ConstraintsPostprocessor",1490),pDt(1491,1,e1t,rn),TWt.pf=function(t,e){oot(zz(t,37),e)},mZ(_1t,"EdgeAndLayerConstraintEdgeReverser",1491),pDt(1492,1,e1t,an),TWt.pf=function(t,e){Ggt(zz(t,37),e)},mZ(_1t,"EndLabelPostprocessor",1492),pDt(1493,1,{},on),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelPostprocessor/lambda$0$Type",1493),pDt(1494,1,FKt,sn),TWt.Mb=function(t){return EV(zz(t,10))},mZ(_1t,"EndLabelPostprocessor/lambda$1$Type",1494),pDt(1495,1,dKt,cn),TWt.td=function(t){ikt(zz(t,10))},mZ(_1t,"EndLabelPostprocessor/lambda$2$Type",1495),pDt(1496,1,e1t,un),TWt.pf=function(t,e){tSt(zz(t,37),e)},mZ(_1t,"EndLabelPreprocessor",1496),pDt(1497,1,{},ln),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelPreprocessor/lambda$0$Type",1497),pDt(1498,1,dKt,Bj),TWt.td=function(t){RE(this.a,this.b,this.c,zz(t,10))},TWt.a=0,TWt.b=0,TWt.c=!1,mZ(_1t,"EndLabelPreprocessor/lambda$1$Type",1498),pDt(1499,1,FKt,hn),TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),ZCe))},mZ(_1t,"EndLabelPreprocessor/lambda$2$Type",1499),pDt(1500,1,dKt,tp),TWt.td=function(t){Bq(this.a,zz(t,70))},mZ(_1t,"EndLabelPreprocessor/lambda$3$Type",1500),pDt(1501,1,FKt,fn),TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),YCe))},mZ(_1t,"EndLabelPreprocessor/lambda$4$Type",1501),pDt(1502,1,dKt,ep),TWt.td=function(t){Bq(this.a,zz(t,70))},mZ(_1t,"EndLabelPreprocessor/lambda$5$Type",1502),pDt(1551,1,e1t,Kl),TWt.pf=function(t,e){Ift(zz(t,37),e)},mZ(_1t,"EndLabelSorter",1551),pDt(1552,1,TVt,dn),TWt.ue=function(t,e){return Hbt(zz(t,456),zz(e,456))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"EndLabelSorter/1",1552),pDt(456,1,{456:1},AX),mZ(_1t,"EndLabelSorter/LabelGroup",456),pDt(1553,1,{},gn),TWt.Kb=function(t){return _E(),new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"EndLabelSorter/lambda$0$Type",1553),pDt(1554,1,FKt,pn),TWt.Mb=function(t){return _E(),zz(t,10).k==(cTt(),Sse)},mZ(_1t,"EndLabelSorter/lambda$1$Type",1554),pDt(1555,1,dKt,bn),TWt.td=function(t){uTt(zz(t,10))},mZ(_1t,"EndLabelSorter/lambda$2$Type",1555),pDt(1556,1,FKt,wn),TWt.Mb=function(t){return _E(),UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),YCe))},mZ(_1t,"EndLabelSorter/lambda$3$Type",1556),pDt(1557,1,FKt,mn),TWt.Mb=function(t){return _E(),UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),ZCe))},mZ(_1t,"EndLabelSorter/lambda$4$Type",1557),pDt(1503,1,e1t,yn),TWt.pf=function(t,e){Mqt(this,zz(t,37))},TWt.b=0,TWt.c=0,mZ(_1t,"FinalSplineBendpointsCalculator",1503),pDt(1504,1,{},vn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$0$Type",1504),pDt(1505,1,{},xn),TWt.Kb=function(t){return new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$1$Type",1505),pDt(1506,1,FKt,kn),TWt.Mb=function(t){return!d5(zz(t,17))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$2$Type",1506),pDt(1507,1,FKt,_n),TWt.Mb=function(t){return LP(zz(t,17),(hWt(),Nfe))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$3$Type",1507),pDt(1508,1,dKt,np),TWt.td=function(t){YRt(this.a,zz(t,128))},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$4$Type",1508),pDt(1509,1,dKt,An),TWt.td=function(t){JCt(zz(t,17).a)},mZ(_1t,"FinalSplineBendpointsCalculator/lambda$5$Type",1509),pDt(792,1,e1t,ip),TWt.pf=function(t,e){XHt(this,zz(t,37),e)},mZ(_1t,"GraphTransformer",792),pDt(511,22,{3:1,35:1,22:1,511:1},JT);var Gse,Yse,Zse,Wse=qnt(_1t,"GraphTransformer/Mode",511,Zte,sQ,ez);pDt(1510,1,e1t,En),TWt.pf=function(t,e){iPt(zz(t,37),e)},mZ(_1t,"HierarchicalNodeResizingProcessor",1510),pDt(1511,1,e1t,Tn),TWt.pf=function(t,e){drt(zz(t,37),e)},mZ(_1t,"HierarchicalPortConstraintProcessor",1511),pDt(1512,1,TVt,Cn),TWt.ue=function(t,e){return Mwt(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortConstraintProcessor/NodeComparator",1512),pDt(1513,1,e1t,Sn),TWt.pf=function(t,e){_zt(zz(t,37),e)},mZ(_1t,"HierarchicalPortDummySizeProcessor",1513),pDt(1514,1,e1t,In),TWt.pf=function(t,e){JBt(this,zz(t,37),e)},TWt.a=0,mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter",1514),pDt(1515,1,TVt,Mn),TWt.ue=function(t,e){return jN(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter/1",1515),pDt(1516,1,TVt,Dn),TWt.ue=function(t,e){return C7(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"HierarchicalPortOrthogonalEdgeRouter/2",1516),pDt(1517,1,e1t,On),TWt.pf=function(t,e){AEt(zz(t,37),e)},mZ(_1t,"HierarchicalPortPositionProcessor",1517),pDt(1518,1,e1t,Vl),TWt.pf=function(t,e){aZt(this,zz(t,37))},TWt.a=0,TWt.c=0,mZ(_1t,"HighDegreeNodeLayeringProcessor",1518),pDt(571,1,{571:1},Ln),TWt.b=-1,TWt.d=-1,mZ(_1t,"HighDegreeNodeLayeringProcessor/HighDegreeNodeInformation",571),pDt(1519,1,{},Nn),TWt.Kb=function(t){return Hj(),fdt(zz(t,10))},TWt.Fb=function(t){return this===t},mZ(_1t,"HighDegreeNodeLayeringProcessor/lambda$0$Type",1519),pDt(1520,1,{},Pn),TWt.Kb=function(t){return Hj(),ddt(zz(t,10))},TWt.Fb=function(t){return this===t},mZ(_1t,"HighDegreeNodeLayeringProcessor/lambda$1$Type",1520),pDt(1526,1,e1t,Bn),TWt.pf=function(t,e){b$t(this,zz(t,37),e)},mZ(_1t,"HyperedgeDummyMerger",1526),pDt(793,1,{},Fj),TWt.a=!1,TWt.b=!1,TWt.c=!1,mZ(_1t,"HyperedgeDummyMerger/MergeState",793),pDt(1527,1,{},Fn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"HyperedgeDummyMerger/lambda$0$Type",1527),pDt(1528,1,{},Rn),TWt.Kb=function(t){return new FH(null,new g1(zz(t,10).j,16))},mZ(_1t,"HyperedgeDummyMerger/lambda$1$Type",1528),pDt(1529,1,dKt,jn),TWt.td=function(t){zz(t,11).p=-1},mZ(_1t,"HyperedgeDummyMerger/lambda$2$Type",1529),pDt(1530,1,e1t,$n),TWt.pf=function(t,e){g$t(zz(t,37),e)},mZ(_1t,"HypernodesProcessor",1530),pDt(1531,1,e1t,zn),TWt.pf=function(t,e){p$t(zz(t,37),e)},mZ(_1t,"InLayerConstraintProcessor",1531),pDt(1532,1,e1t,qn),TWt.pf=function(t,e){Nat(zz(t,37),e)},mZ(_1t,"InnermostNodeMarginCalculator",1532),pDt(1533,1,e1t,Hn),TWt.pf=function(t,e){XGt(this,zz(t,37))},TWt.a=jXt,TWt.b=jXt,TWt.c=RXt,TWt.d=RXt;var Kse,Xse,Vse,Qse,Jse,tce,ece,nce,ice,rce,ace,oce,sce,cce,uce,lce,hce,fce,dce,gce,pce,bce,wce,mce,yce,vce,xce,kce,_ce,Ace,Ece,Tce,Cce,Sce,Ice,Mce,Dce,Oce,Lce,Nce,Pce,Bce,Fce,Rce,jce,$ce,zce,qce,Hce,Uce,Gce,Yce,Zce,Wce,Kce,Xce,Vce,Qce=mZ(_1t,"InteractiveExternalPortPositioner",1533);pDt(1534,1,{},Un),TWt.Kb=function(t){return zz(t,17).d.i},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$0$Type",1534),pDt(1535,1,{},rp),TWt.Kb=function(t){return HN(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$1$Type",1535),pDt(1536,1,{},Gn),TWt.Kb=function(t){return zz(t,17).c.i},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$2$Type",1536),pDt(1537,1,{},ap),TWt.Kb=function(t){return UN(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$3$Type",1537),pDt(1538,1,{},op),TWt.Kb=function(t){return WF(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$4$Type",1538),pDt(1539,1,{},sp),TWt.Kb=function(t){return KF(this.a,EB(t))},TWt.Fb=function(t){return this===t},mZ(_1t,"InteractiveExternalPortPositioner/lambda$5$Type",1539),pDt(77,22,{3:1,35:1,22:1,77:1,234:1},tC),TWt.Kf=function(){switch(this.g){case 15:return new pa;case 22:return new ba;case 47:return new ya;case 28:case 35:return new ni;case 32:return new Ve;case 42:return new tn;case 1:return new en;case 41:return new nn;case 56:return new ip((Crt(),Hse));case 0:return new ip((Crt(),qse));case 2:return new rn;case 54:return new an;case 33:return new un;case 51:return new yn;case 55:return new En;case 13:return new Tn;case 38:return new Sn;case 44:return new In;case 40:return new On;case 9:return new Vl;case 49:return new cP;case 37:return new Bn;case 43:return new $n;case 27:return new zn;case 30:return new qn;case 3:return new Hn;case 18:return new Zn;case 29:return new Wn;case 5:return new Ql;case 50:return new Yn;case 34:return new Jl;case 36:return new ii;case 52:return new Kl;case 11:return new ai;case 7:return new eh;case 39:return new oi;case 45:return new si;case 16:return new ci;case 10:return new ui;case 48:return new hi;case 21:return new fi;case 23:return new Nv((uit(),Dye));case 8:return new gi;case 12:return new bi;case 4:return new wi;case 19:return new ah;case 17:return new Ci;case 53:return new Si;case 6:return new zi;case 25:return new oy;case 46:return new Ni;case 31:return new PF;case 14:return new Ki;case 26:return new Ta;case 20:return new tr;case 24:return new Nv((uit(),Oye));default:throw qw(new jv(T1t+(null!=this.f?this.f:""+this.g)))}};var Jce,tue,eue,nue,iue,rue,aue,oue,sue=qnt(_1t,C1t,77,Zte,ANt,tz);pDt(1540,1,e1t,Zn),TWt.pf=function(t,e){JGt(zz(t,37),e)},mZ(_1t,"InvertedPortProcessor",1540),pDt(1541,1,e1t,Wn),TWt.pf=function(t,e){NRt(zz(t,37),e)},mZ(_1t,"LabelAndNodeSizeProcessor",1541),pDt(1542,1,FKt,Kn),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"LabelAndNodeSizeProcessor/lambda$0$Type",1542),pDt(1543,1,FKt,Xn),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Ese)},mZ(_1t,"LabelAndNodeSizeProcessor/lambda$1$Type",1543),pDt(1544,1,dKt,Rj),TWt.td=function(t){jE(this.b,this.a,this.c,zz(t,10))},TWt.a=!1,TWt.c=!1,mZ(_1t,"LabelAndNodeSizeProcessor/lambda$2$Type",1544),pDt(1545,1,e1t,Ql),TWt.pf=function(t,e){fGt(zz(t,37),e)},mZ(_1t,"LabelDummyInserter",1545),pDt(1546,1,UVt,Vn),TWt.Lb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),GCe))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return UI(vEt(zz(t,70),(HZt(),Vpe)))===UI((Ret(),GCe))},mZ(_1t,"LabelDummyInserter/1",1546),pDt(1547,1,e1t,Yn),TWt.pf=function(t,e){SHt(zz(t,37),e)},mZ(_1t,"LabelDummyRemover",1547),pDt(1548,1,FKt,Qn),TWt.Mb=function(t){return Hv(AB(vEt(zz(t,70),(HZt(),Xpe))))},mZ(_1t,"LabelDummyRemover/lambda$0$Type",1548),pDt(1359,1,e1t,Jl),TWt.pf=function(t,e){EUt(this,zz(t,37),e)},TWt.a=null,mZ(_1t,"LabelDummySwitcher",1359),pDt(286,1,{286:1},oRt),TWt.c=0,TWt.d=null,TWt.f=0,mZ(_1t,"LabelDummySwitcher/LabelDummyInfo",286),pDt(1360,1,{},Jn),TWt.Kb=function(t){return Mrt(),new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"LabelDummySwitcher/lambda$0$Type",1360),pDt(1361,1,FKt,ti),TWt.Mb=function(t){return Mrt(),zz(t,10).k==(cTt(),Tse)},mZ(_1t,"LabelDummySwitcher/lambda$1$Type",1361),pDt(1362,1,{},lp),TWt.Kb=function(t){return ZB(this.a,zz(t,10))},mZ(_1t,"LabelDummySwitcher/lambda$2$Type",1362),pDt(1363,1,dKt,hp),TWt.td=function(t){VZ(this.a,zz(t,286))},mZ(_1t,"LabelDummySwitcher/lambda$3$Type",1363),pDt(1364,1,TVt,ei),TWt.ue=function(t,e){return LG(zz(t,286),zz(e,286))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"LabelDummySwitcher/lambda$4$Type",1364),pDt(791,1,e1t,ni),TWt.pf=function(t,e){V6(zz(t,37),e)},mZ(_1t,"LabelManagementProcessor",791),pDt(1549,1,e1t,ii),TWt.pf=function(t,e){PPt(zz(t,37),e)},mZ(_1t,"LabelSideSelector",1549),pDt(1550,1,FKt,ri),TWt.Mb=function(t){return Hv(AB(vEt(zz(t,70),(HZt(),Xpe))))},mZ(_1t,"LabelSideSelector/lambda$0$Type",1550),pDt(1558,1,e1t,ai),TWt.pf=function(t,e){Azt(zz(t,37),e)},mZ(_1t,"LayerConstraintPostprocessor",1558),pDt(1559,1,e1t,eh),TWt.pf=function(t,e){aOt(zz(t,37),e)},mZ(_1t,"LayerConstraintPreprocessor",1559),pDt(360,22,{3:1,35:1,22:1,360:1},eC);var cue,uue,lue,hue,fue,due,gue,pue,bue,wue=qnt(_1t,"LayerConstraintPreprocessor/HiddenNodeConnections",360,Zte,n3,Gj);pDt(1560,1,e1t,oi),TWt.pf=function(t,e){AHt(zz(t,37),e)},mZ(_1t,"LayerSizeAndGraphHeightCalculator",1560),pDt(1561,1,e1t,si),TWt.pf=function(t,e){OLt(zz(t,37),e)},mZ(_1t,"LongEdgeJoiner",1561),pDt(1562,1,e1t,ci),TWt.pf=function(t,e){Kqt(zz(t,37),e)},mZ(_1t,"LongEdgeSplitter",1562),pDt(1563,1,e1t,ui),TWt.pf=function(t,e){SUt(this,zz(t,37),e)},TWt.d=0,TWt.e=0,TWt.i=0,TWt.j=0,TWt.k=0,TWt.n=0,mZ(_1t,"NodePromotion",1563),pDt(1564,1,{},li),TWt.Kb=function(t){return zz(t,46),lN(),!0},TWt.Fb=function(t){return this===t},mZ(_1t,"NodePromotion/lambda$0$Type",1564),pDt(1565,1,{},cp),TWt.Kb=function(t){return oK(this.a,zz(t,46))},TWt.Fb=function(t){return this===t},TWt.a=0,mZ(_1t,"NodePromotion/lambda$1$Type",1565),pDt(1566,1,{},up),TWt.Kb=function(t){return sK(this.a,zz(t,46))},TWt.Fb=function(t){return this===t},TWt.a=0,mZ(_1t,"NodePromotion/lambda$2$Type",1566),pDt(1567,1,e1t,hi),TWt.pf=function(t,e){WYt(zz(t,37),e)},mZ(_1t,"NorthSouthPortPostprocessor",1567),pDt(1568,1,e1t,fi),TWt.pf=function(t,e){TYt(zz(t,37),e)},mZ(_1t,"NorthSouthPortPreprocessor",1568),pDt(1569,1,TVt,di),TWt.ue=function(t,e){return tst(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"NorthSouthPortPreprocessor/lambda$0$Type",1569),pDt(1570,1,e1t,gi),TWt.pf=function(t,e){Ljt(zz(t,37),e)},mZ(_1t,"PartitionMidprocessor",1570),pDt(1571,1,FKt,pi),TWt.Mb=function(t){return LP(zz(t,10),(HZt(),Wbe))},mZ(_1t,"PartitionMidprocessor/lambda$0$Type",1571),pDt(1572,1,dKt,fp),TWt.td=function(t){OX(this.a,zz(t,10))},mZ(_1t,"PartitionMidprocessor/lambda$1$Type",1572),pDt(1573,1,e1t,bi),TWt.pf=function(t,e){pNt(zz(t,37),e)},mZ(_1t,"PartitionPostprocessor",1573),pDt(1574,1,e1t,wi),TWt.pf=function(t,e){PMt(zz(t,37),e)},mZ(_1t,"PartitionPreprocessor",1574),pDt(1575,1,FKt,mi),TWt.Mb=function(t){return LP(zz(t,10),(HZt(),Wbe))},mZ(_1t,"PartitionPreprocessor/lambda$0$Type",1575),pDt(1576,1,{},yi),TWt.Kb=function(t){return new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(_1t,"PartitionPreprocessor/lambda$1$Type",1576),pDt(1577,1,FKt,vi),TWt.Mb=function(t){return Nbt(zz(t,17))},mZ(_1t,"PartitionPreprocessor/lambda$2$Type",1577),pDt(1578,1,dKt,xi),TWt.td=function(t){Rst(zz(t,17))},mZ(_1t,"PartitionPreprocessor/lambda$3$Type",1578),pDt(1579,1,e1t,ah),TWt.pf=function(t,e){cjt(zz(t,37),e)},mZ(_1t,"PortListSorter",1579),pDt(1580,1,{},ki),TWt.Kb=function(t){return Yut(),zz(t,11).e},mZ(_1t,"PortListSorter/lambda$0$Type",1580),pDt(1581,1,{},_i),TWt.Kb=function(t){return Yut(),zz(t,11).g},mZ(_1t,"PortListSorter/lambda$1$Type",1581),pDt(1582,1,TVt,Ai),TWt.ue=function(t,e){return A4(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$2$Type",1582),pDt(1583,1,TVt,Ei),TWt.ue=function(t,e){return Dvt(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$3$Type",1583),pDt(1584,1,TVt,Ti),TWt.ue=function(t,e){return e$t(zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"PortListSorter/lambda$4$Type",1584),pDt(1585,1,e1t,Ci),TWt.pf=function(t,e){KDt(zz(t,37),e)},mZ(_1t,"PortSideProcessor",1585),pDt(1586,1,e1t,Si),TWt.pf=function(t,e){MFt(zz(t,37),e)},mZ(_1t,"ReversedEdgeRestorer",1586),pDt(1591,1,e1t,oy),TWt.pf=function(t,e){Qyt(this,zz(t,37),e)},mZ(_1t,"SelfLoopPortRestorer",1591),pDt(1592,1,{},Ii),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopPortRestorer/lambda$0$Type",1592),pDt(1593,1,FKt,Mi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopPortRestorer/lambda$1$Type",1593),pDt(1594,1,FKt,Di),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopPortRestorer/lambda$2$Type",1594),pDt(1595,1,{},Oi),TWt.Kb=function(t){return zz(vEt(zz(t,10),(hWt(),Mfe)),403)},mZ(_1t,"SelfLoopPortRestorer/lambda$3$Type",1595),pDt(1596,1,dKt,dp),TWt.td=function(t){CTt(this.a,zz(t,403))},mZ(_1t,"SelfLoopPortRestorer/lambda$4$Type",1596),pDt(794,1,dKt,Li),TWt.td=function(t){eCt(zz(t,101))},mZ(_1t,"SelfLoopPortRestorer/lambda$5$Type",794),pDt(1597,1,e1t,Ni),TWt.pf=function(t,e){Nwt(zz(t,37),e)},mZ(_1t,"SelfLoopPostProcessor",1597),pDt(1598,1,{},Pi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopPostProcessor/lambda$0$Type",1598),pDt(1599,1,FKt,Bi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopPostProcessor/lambda$1$Type",1599),pDt(1600,1,FKt,Fi),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopPostProcessor/lambda$2$Type",1600),pDt(1601,1,dKt,Ri),TWt.td=function(t){Nkt(zz(t,10))},mZ(_1t,"SelfLoopPostProcessor/lambda$3$Type",1601),pDt(1602,1,{},ji),TWt.Kb=function(t){return new FH(null,new g1(zz(t,101).f,1))},mZ(_1t,"SelfLoopPostProcessor/lambda$4$Type",1602),pDt(1603,1,dKt,gp),TWt.td=function(t){o3(this.a,zz(t,409))},mZ(_1t,"SelfLoopPostProcessor/lambda$5$Type",1603),pDt(1604,1,FKt,$i),TWt.Mb=function(t){return!!zz(t,101).i},mZ(_1t,"SelfLoopPostProcessor/lambda$6$Type",1604),pDt(1605,1,dKt,pp),TWt.td=function(t){Av(this.a,zz(t,101))},mZ(_1t,"SelfLoopPostProcessor/lambda$7$Type",1605),pDt(1587,1,e1t,zi),TWt.pf=function(t,e){tLt(zz(t,37),e)},mZ(_1t,"SelfLoopPreProcessor",1587),pDt(1588,1,{},qi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,101).f,1))},mZ(_1t,"SelfLoopPreProcessor/lambda$0$Type",1588),pDt(1589,1,{},Hi),TWt.Kb=function(t){return zz(t,409).a},mZ(_1t,"SelfLoopPreProcessor/lambda$1$Type",1589),pDt(1590,1,dKt,Ui),TWt.td=function(t){HO(zz(t,17))},mZ(_1t,"SelfLoopPreProcessor/lambda$2$Type",1590),pDt(1606,1,e1t,PF),TWt.pf=function(t,e){lTt(this,zz(t,37),e)},mZ(_1t,"SelfLoopRouter",1606),pDt(1607,1,{},Gi),TWt.Kb=function(t){return new FH(null,new g1(zz(t,29).a,16))},mZ(_1t,"SelfLoopRouter/lambda$0$Type",1607),pDt(1608,1,FKt,Yi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SelfLoopRouter/lambda$1$Type",1608),pDt(1609,1,FKt,Zi),TWt.Mb=function(t){return LP(zz(t,10),(hWt(),Mfe))},mZ(_1t,"SelfLoopRouter/lambda$2$Type",1609),pDt(1610,1,{},Wi),TWt.Kb=function(t){return zz(vEt(zz(t,10),(hWt(),Mfe)),403)},mZ(_1t,"SelfLoopRouter/lambda$3$Type",1610),pDt(1611,1,dKt,nC),TWt.td=function(t){XK(this.a,this.b,zz(t,403))},mZ(_1t,"SelfLoopRouter/lambda$4$Type",1611),pDt(1612,1,e1t,Ki),TWt.pf=function(t,e){fPt(zz(t,37),e)},mZ(_1t,"SemiInteractiveCrossMinProcessor",1612),pDt(1613,1,FKt,Xi),TWt.Mb=function(t){return zz(t,10).k==(cTt(),Sse)},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$0$Type",1613),pDt(1614,1,FKt,Vi),TWt.Mb=function(t){return UH(zz(t,10))._b((HZt(),uwe))},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$1$Type",1614),pDt(1615,1,TVt,Qi),TWt.ue=function(t,e){return brt(zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$2$Type",1615),pDt(1616,1,{},Ji),TWt.Ce=function(t,e){return ZX(zz(t,10),zz(e,10))},mZ(_1t,"SemiInteractiveCrossMinProcessor/lambda$3$Type",1616),pDt(1618,1,e1t,tr),TWt.pf=function(t,e){Tzt(zz(t,37),e)},mZ(_1t,"SortByInputModelProcessor",1618),pDt(1619,1,FKt,er),TWt.Mb=function(t){return 0!=zz(t,11).g.c.length},mZ(_1t,"SortByInputModelProcessor/lambda$0$Type",1619),pDt(1620,1,dKt,bp),TWt.td=function(t){fCt(this.a,zz(t,11))},mZ(_1t,"SortByInputModelProcessor/lambda$1$Type",1620),pDt(1693,803,{},wrt),TWt.Me=function(t){var e,n,i,r;switch(this.c=t,this.a.g){case 2:e=new Nw,QA(DK(new FH(null,new g1(this.c.a.b,16)),new pr),new sC(this,e)),mSt(this,new rr),Det(e,new ar),e.c=P8(Ote,HWt,1,0,5,1),QA(DK(new FH(null,new g1(this.c.a.b,16)),new or),new mp(e)),mSt(this,new sr),Det(e,new cr),e.c=P8(Ote,HWt,1,0,5,1),n=kO(rat(LK(new FH(null,new g1(this.c.a.b,16)),new yp(this))),new ur),QA(new FH(null,new g1(this.c.a.a,16)),new rC(n,e)),mSt(this,new hr),Det(e,new nr),e.c=P8(Ote,HWt,1,0,5,1);break;case 3:i=new Nw,mSt(this,new ir),r=kO(rat(LK(new FH(null,new g1(this.c.a.b,16)),new wp(this))),new lr),QA(DK(new FH(null,new g1(this.c.a.b,16)),new fr),new oC(r,i)),mSt(this,new dr),Det(i,new gr),i.c=P8(Ote,HWt,1,0,5,1);break;default:throw qw(new xm)}},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation",1693),pDt(1694,1,UVt,ir),TWt.Lb=function(t){return aL(zz(t,57).g,145)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$0$Type",1694),pDt(1695,1,{},wp),TWt.Fe=function(t){return GSt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$1$Type",1695),pDt(1703,1,RKt,iC),TWt.Vd=function(){zxt(this.a,this.b,-1)},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$10$Type",1703),pDt(1705,1,UVt,rr),TWt.Lb=function(t){return aL(zz(t,57).g,145)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$11$Type",1705),pDt(1706,1,dKt,ar),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$12$Type",1706),pDt(1707,1,FKt,or),TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$13$Type",1707),pDt(1709,1,dKt,mp),TWt.td=function(t){Adt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$14$Type",1709),pDt(1708,1,RKt,fC),TWt.Vd=function(){zxt(this.b,this.a,-1)},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$15$Type",1708),pDt(1710,1,UVt,sr),TWt.Lb=function(t){return aL(zz(t,57).g,10)},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$16$Type",1710),pDt(1711,1,dKt,cr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$17$Type",1711),pDt(1712,1,{},yp),TWt.Fe=function(t){return YSt(this.a,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$18$Type",1712),pDt(1713,1,{},ur),TWt.De=function(){return 0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$19$Type",1713),pDt(1696,1,{},lr),TWt.De=function(){return 0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$2$Type",1696),pDt(1715,1,dKt,rC),TWt.td=function(t){qU(this.a,this.b,zz(t,307))},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$20$Type",1715),pDt(1714,1,RKt,aC),TWt.Vd=function(){XDt(this.a,this.b,-1)},TWt.b=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$21$Type",1714),pDt(1716,1,UVt,hr),TWt.Lb=function(t){return zz(t,57),!0},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return zz(t,57),!0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$22$Type",1716),pDt(1717,1,dKt,nr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$23$Type",1717),pDt(1697,1,FKt,fr),TWt.Mb=function(t){return aL(zz(t,57).g,10)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$3$Type",1697),pDt(1699,1,dKt,oC),TWt.td=function(t){HU(this.a,this.b,zz(t,57))},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$4$Type",1699),pDt(1698,1,RKt,dC),TWt.Vd=function(){zxt(this.b,this.a,-1)},TWt.a=0,mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$5$Type",1698),pDt(1700,1,UVt,dr),TWt.Lb=function(t){return zz(t,57),!0},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return zz(t,57),!0},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$6$Type",1700),pDt(1701,1,dKt,gr),TWt.td=function(t){zz(t,365).Vd()},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$7$Type",1701),pDt(1702,1,FKt,pr),TWt.Mb=function(t){return aL(zz(t,57).g,145)},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$8$Type",1702),pDt(1704,1,dKt,sC),TWt.td=function(t){Eet(this.a,this.b,zz(t,57))},mZ(O1t,"EdgeAwareScanlineConstraintCalculation/lambda$9$Type",1704),pDt(1521,1,e1t,cP),TWt.pf=function(t,e){oHt(this,zz(t,37),e)},mZ(O1t,"HorizontalGraphCompactor",1521),pDt(1522,1,{},vp),TWt.Oe=function(t,e){var n,i;return J9(t,e)?0:(n=h2(t),i=h2(e),n&&n.k==(cTt(),Ese)||i&&i.k==(cTt(),Ese)?0:YN(zz(vEt(this.a.a,(hWt(),Dfe)),304),n?n.k:(cTt(),Cse),i?i.k:(cTt(),Cse)))},TWt.Pe=function(t,e){var n,i;return J9(t,e)?1:(n=h2(t),i=h2(e),ZN(zz(vEt(this.a.a,(hWt(),Dfe)),304),n?n.k:(cTt(),Cse),i?i.k:(cTt(),Cse)))},mZ(O1t,"HorizontalGraphCompactor/1",1522),pDt(1523,1,{},br),TWt.Ne=function(t,e){return EE(),0==t.a.i},mZ(O1t,"HorizontalGraphCompactor/lambda$0$Type",1523),pDt(1524,1,{},xp),TWt.Ne=function(t,e){return jX(this.a,t,e)},mZ(O1t,"HorizontalGraphCompactor/lambda$1$Type",1524),pDt(1664,1,{},I9),mZ(O1t,"LGraphToCGraphTransformer",1664),pDt(1672,1,FKt,wr),TWt.Mb=function(t){return null!=t},mZ(O1t,"LGraphToCGraphTransformer/0methodref$nonNull$Type",1672),pDt(1665,1,{},mr),TWt.Kb=function(t){return Uj(),qdt(vEt(zz(zz(t,57).g,10),(hWt(),pfe)))},mZ(O1t,"LGraphToCGraphTransformer/lambda$0$Type",1665),pDt(1666,1,{},yr),TWt.Kb=function(t){return Uj(),vht(zz(zz(t,57).g,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$1$Type",1666),pDt(1675,1,FKt,vr),TWt.Mb=function(t){return Uj(),aL(zz(t,57).g,10)},mZ(O1t,"LGraphToCGraphTransformer/lambda$10$Type",1675),pDt(1676,1,dKt,xr),TWt.td=function(t){RX(zz(t,57))},mZ(O1t,"LGraphToCGraphTransformer/lambda$11$Type",1676),pDt(1677,1,FKt,kr),TWt.Mb=function(t){return Uj(),aL(zz(t,57).g,145)},mZ(O1t,"LGraphToCGraphTransformer/lambda$12$Type",1677),pDt(1681,1,dKt,_r),TWt.td=function(t){yht(zz(t,57))},mZ(O1t,"LGraphToCGraphTransformer/lambda$13$Type",1681),pDt(1678,1,dKt,kp),TWt.td=function(t){sD(this.a,zz(t,8))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$14$Type",1678),pDt(1679,1,dKt,_p),TWt.td=function(t){uD(this.a,zz(t,110))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$15$Type",1679),pDt(1680,1,dKt,Ap),TWt.td=function(t){cD(this.a,zz(t,8))},TWt.a=0,mZ(O1t,"LGraphToCGraphTransformer/lambda$16$Type",1680),pDt(1682,1,{},Ar),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$17$Type",1682),pDt(1683,1,FKt,Er),TWt.Mb=function(t){return Uj(),d5(zz(t,17))},mZ(O1t,"LGraphToCGraphTransformer/lambda$18$Type",1683),pDt(1684,1,dKt,Ep),TWt.td=function(t){Ttt(this.a,zz(t,17))},mZ(O1t,"LGraphToCGraphTransformer/lambda$19$Type",1684),pDt(1668,1,dKt,Tp),TWt.td=function(t){f0(this.a,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$2$Type",1668),pDt(1685,1,{},Tr),TWt.Kb=function(t){return Uj(),new FH(null,new g1(zz(t,29).a,16))},mZ(O1t,"LGraphToCGraphTransformer/lambda$20$Type",1685),pDt(1686,1,{},Cr),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$21$Type",1686),pDt(1687,1,{},Sr),TWt.Kb=function(t){return Uj(),zz(vEt(zz(t,17),(hWt(),Nfe)),15)},mZ(O1t,"LGraphToCGraphTransformer/lambda$22$Type",1687),pDt(1688,1,FKt,Ir),TWt.Mb=function(t){return eP(zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$23$Type",1688),pDt(1689,1,dKt,Cp),TWt.td=function(t){SSt(this.a,zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$24$Type",1689),pDt(1667,1,dKt,cC),TWt.td=function(t){q3(this.a,this.b,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$3$Type",1667),pDt(1669,1,{},Mr),TWt.Kb=function(t){return Uj(),new FH(null,new g1(zz(t,29).a,16))},mZ(O1t,"LGraphToCGraphTransformer/lambda$4$Type",1669),pDt(1670,1,{},Dr),TWt.Kb=function(t){return Uj(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(O1t,"LGraphToCGraphTransformer/lambda$5$Type",1670),pDt(1671,1,{},Or),TWt.Kb=function(t){return Uj(),zz(vEt(zz(t,17),(hWt(),Nfe)),15)},mZ(O1t,"LGraphToCGraphTransformer/lambda$6$Type",1671),pDt(1673,1,dKt,Sp),TWt.td=function(t){jIt(this.a,zz(t,15))},mZ(O1t,"LGraphToCGraphTransformer/lambda$8$Type",1673),pDt(1674,1,dKt,uC),TWt.td=function(t){PO(this.a,this.b,zz(t,145))},mZ(O1t,"LGraphToCGraphTransformer/lambda$9$Type",1674),pDt(1663,1,{},Lr),TWt.Le=function(t){var e,n,i,r,a;for(this.a=t,this.d=new $m,this.c=P8(Hie,HWt,121,this.a.a.a.c.length,0,1),this.b=0,n=new Wd(this.a.a.a);n.a=b&&(Wz(o,rft(h)),y=n.Math.max(y,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/y,1/e.b/c))>r&&(r=g,i=o)}return i},TWt.Wf=function(){return!1},mZ($1t,"MSDCutIndexHeuristic",802),pDt(1617,1,e1t,Ta),TWt.pf=function(t,e){gzt(zz(t,37),e)},mZ($1t,"SingleEdgeGraphWrapper",1617),pDt(227,22,{3:1,35:1,22:1,227:1},kC);var rle,ale,ole,sle=qnt(z1t,"CenterEdgeLabelPlacementStrategy",227,Zte,J8,Wj);pDt(422,22,{3:1,35:1,22:1,422:1},_C);var cle,ule,lle,hle,fle=qnt(z1t,"ConstraintCalculationStrategy",422,Zte,UV,Kj);pDt(314,22,{3:1,35:1,22:1,314:1,246:1,234:1},AC),TWt.Kf=function(){return lIt(this)},TWt.Xf=function(){return lIt(this)};var dle,gle,ple,ble,wle=qnt(z1t,"CrossingMinimizationStrategy",314,Zte,A1,Xj);pDt(337,22,{3:1,35:1,22:1,337:1},EC);var mle,yle,vle,xle,kle,_le,Ale=qnt(z1t,"CuttingStrategy",337,Zte,E1,Jj);pDt(335,22,{3:1,35:1,22:1,335:1,246:1,234:1},TC),TWt.Kf=function(){return RDt(this)},TWt.Xf=function(){return RDt(this)};var Ele,Tle,Cle,Sle=qnt(z1t,"CycleBreakingStrategy",335,Zte,L5,t$);pDt(419,22,{3:1,35:1,22:1,419:1},CC);var Ile,Mle,Dle,Ole,Lle=qnt(z1t,"DirectionCongruency",419,Zte,HV,e$);pDt(450,22,{3:1,35:1,22:1,450:1},SC);var Nle,Ple,Ble,Fle,Rle,jle,$le,zle=qnt(z1t,"EdgeConstraint",450,Zte,T1,n$);pDt(276,22,{3:1,35:1,22:1,276:1},IC);var qle,Hle,Ule,Gle=qnt(z1t,"EdgeLabelSideSelection",276,Zte,i7,i$);pDt(479,22,{3:1,35:1,22:1,479:1},MC);var Yle,Zle,Wle,Kle,Xle,Vle,Qle,Jle=qnt(z1t,"EdgeStraighteningStrategy",479,Zte,qV,r$);pDt(274,22,{3:1,35:1,22:1,274:1},DC);var the,ehe,nhe,ihe,rhe,ahe,ohe,she=qnt(z1t,"FixedAlignment",274,Zte,e7,a$);pDt(275,22,{3:1,35:1,22:1,275:1},OC);var che,uhe,lhe,hhe,fhe,dhe,ghe,phe,bhe,whe,mhe,yhe=qnt(z1t,"GraphCompactionStrategy",275,Zte,t7,o$);pDt(256,22,{3:1,35:1,22:1,256:1},LC);var vhe,xhe,khe,_he,Ahe=qnt(z1t,"GraphProperties",256,Zte,gat,s$);pDt(292,22,{3:1,35:1,22:1,292:1},NC);var Ehe,The,Che,She,Ihe=qnt(z1t,"GreedySwitchType",292,Zte,I1,c$);pDt(303,22,{3:1,35:1,22:1,303:1},PC);var Mhe,Dhe,Ohe,Lhe=qnt(z1t,"InLayerConstraint",303,Zte,S1,u$);pDt(420,22,{3:1,35:1,22:1,420:1},BC);var Nhe,Phe,Bhe,Fhe,Rhe,jhe,$he,zhe,qhe,Hhe,Uhe,Ghe,Yhe,Zhe,Whe,Khe,Xhe,Vhe,Qhe,Jhe,tfe,efe,nfe,ife,rfe,afe,ofe,sfe,cfe,ufe,lfe,hfe,ffe,dfe,gfe,pfe,bfe,wfe,mfe,yfe,vfe,xfe,kfe,_fe,Afe,Efe,Tfe,Cfe,Sfe,Ife,Mfe,Dfe,Ofe,Lfe,Nfe,Pfe,Bfe,Ffe,Rfe,jfe,$fe,zfe,qfe,Hfe,Ufe=qnt(z1t,"InteractiveReferencePoint",420,Zte,GV,l$);pDt(163,22,{3:1,35:1,22:1,163:1},zC);var Gfe,Yfe,Zfe,Wfe,Kfe,Xfe,Vfe,Qfe,Jfe,tde,ede,nde,ide,rde,ade,ode,sde,cde,ude,lde,hde,fde,dde,gde,pde,bde,wde,mde,yde,vde,xde,kde,_de,Ade,Ede,Tde,Cde,Sde,Ide,Mde,Dde,Ode,Lde,Nde,Pde,Bde,Fde,Rde,jde,$de,zde,qde,Hde,Ude,Gde,Yde,Zde,Wde,Kde,Xde,Vde,Qde,Jde,tge,ege,nge,ige,rge,age,oge,sge,cge,uge,lge,hge,fge,dge,gge,pge,bge,wge,mge,yge,vge,xge,kge,_ge,Age,Ege,Tge,Cge,Sge,Ige,Mge,Dge,Oge,Lge,Nge,Pge,Bge,Fge,Rge,jge,$ge,zge,qge,Hge,Uge,Gge,Yge,Zge,Wge,Kge,Xge,Vge,Qge,Jge,tpe,epe,npe,ipe,rpe,ape,ope,spe,cpe,upe,lpe,hpe,fpe,dpe,gpe,ppe,bpe,wpe,mpe,ype,vpe,xpe,kpe,_pe,Ape,Epe,Tpe,Cpe,Spe,Ipe,Mpe,Dpe,Ope,Lpe,Npe,Ppe,Bpe,Fpe,Rpe,jpe,$pe,zpe,qpe,Hpe,Upe,Gpe,Ype,Zpe,Wpe,Kpe,Xpe,Vpe,Qpe,Jpe,tbe,ebe,nbe,ibe,rbe,abe,obe,sbe,cbe,ube,lbe,hbe,fbe,dbe,gbe,pbe,bbe,wbe,mbe,ybe,vbe,xbe,kbe,_be,Abe,Ebe,Tbe,Cbe,Sbe,Ibe,Mbe,Dbe,Obe,Lbe,Nbe,Pbe,Bbe,Fbe,Rbe,jbe,$be,zbe,qbe,Hbe,Ube,Gbe,Ybe,Zbe,Wbe,Kbe,Xbe,Vbe,Qbe,Jbe,twe,ewe,nwe,iwe,rwe,awe,owe,swe,cwe,uwe,lwe,hwe,fwe,dwe,gwe,pwe,bwe,wwe,mwe,ywe,vwe,xwe,kwe,_we,Awe,Ewe,Twe,Cwe,Swe,Iwe,Mwe,Dwe,Owe,Lwe,Nwe,Pwe,Bwe,Fwe,Rwe,jwe,$we,zwe,qwe,Hwe,Uwe,Gwe,Ywe,Zwe,Wwe,Kwe,Xwe,Vwe,Qwe,Jwe,tme,eme,nme,ime=qnt(z1t,"LayerConstraint",163,Zte,B5,h$);pDt(848,1,VVt,uh),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z1t),""),"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."),Cde),(SCt(),bEe)),Lle),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W1t),""),"Feedback Edges"),"Whether feedback edges should be highlighted by routing around the nodes."),(lN(),!1)),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K1t),""),"Interactive Reference Point"),"Determines which point of a node is considered by interactive layout phases."),Xde),bEe),Ufe),edt(lEe)))),o2(t,K1t,i0t,Qde),o2(t,K1t,d0t,Vde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X1t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,V1t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Ck(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q1t),""),"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),gEe),kee),edt(hEe)),Sst(Ux(Vee,1),lKt,2,6,["org.eclipse.elk.layered.northOrSouthPort"])))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J1t),""),"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."),Pge),bEe),Gme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,t0t),""),"Thoroughness"),"How much effort should be spent to produce a nice layout."),rft(7)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e0t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n0t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i0t),"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)."),Ede),bEe),Sle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,r0t),f2t),"Node Layering Strategy"),"Strategy for node layering."),dge),bEe),cme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,a0t),f2t),"Layer Constraint"),"Determines a constraint on the placement of the node regarding the layering."),ige),bEe),ime),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,o0t),f2t),"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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,s0t),f2t),"Layer ID"),"Layer identifier that was calculated by ELK Layered for a node. This is only generated if interactiveLayot or generatePositionAndLayerIds is set."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c0t),d2t),"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."),rft(4)),mEe),Oee),edt(lEe)))),o2(t,c0t,r0t,oge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u0t),d2t),"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."),rft(2)),mEe),Oee),edt(lEe)))),o2(t,u0t,r0t,cge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l0t),g2t),"Node Promotion Strategy"),"Reduces number of dummy nodes after layering phase (if possible)."),hge),bEe),Bme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,h0t),g2t),"Max Node Promotion Iterations"),"Limits the number of iterations for node promotion."),rft(0)),mEe),Oee),edt(lEe)))),o2(t,h0t,l0t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,f0t),"layering.coffmanGraham"),"Layer Bound"),"The maximum number of nodes allowed per layer."),rft(FWt)),mEe),Oee),edt(lEe)))),o2(t,f0t,r0t,tge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,d0t),p2t),"Crossing Minimization Strategy"),"Strategy for crossing minimization."),_de),bEe),wle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,g0t),p2t),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,p0t),p2t),"Hierarchical Sweepiness"),"How likely it is to use cross-hierarchy (1) vs bottom-up (-1)."),.1),pEe),See),edt(lEe)))),o2(t,p0t,b2t,wde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,b0t),p2t),"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),gEe),kee),edt(lEe)))),o2(t,b0t,d0t,xde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,w0t),p2t),"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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,m0t),p2t),"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."),rft(-1)),mEe),Oee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y0t),w2t),"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."),rft(40)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v0t),w2t),"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."),gde),bEe),Ihe),edt(lEe)))),o2(t,v0t,d0t,pde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x0t),"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."),lde),bEe),Ihe),edt(lEe)))),o2(t,x0t,d0t,hde),o2(t,x0t,b2t,fde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,k0t),m2t),"Node Placement Strategy"),"Strategy for node placement."),Lge),bEe),Dme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,_0t),m2t),"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."),gEe),kee),edt(lEe)))),o2(t,_0t,k0t,_ge),o2(t,_0t,k0t,Age),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,A0t),y2t),"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."),wge),bEe),Jle),edt(lEe)))),o2(t,A0t,k0t,mge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,E0t),y2t),"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."),vge),bEe),she),edt(lEe)))),o2(t,E0t,k0t,xge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,T0t),"nodePlacement.linearSegments"),"Linear Segments Deflection Dampening"),"Dampens the movement of nodes to keep the diagram from getting too large."),.3),pEe),See),edt(lEe)))),o2(t,T0t,k0t,Tge),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,C0t),"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."),bEe),xme),edt(uEe)))),o2(t,C0t,k0t,Dge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,S0t),"nodePlacement.networkSimplex.nodeFlexibility"),"Node Flexibility Default"),"Default value of the 'nodeFlexibility' option for the children of a hierarchical node."),Ige),bEe),xme),edt(lEe)))),o2(t,S0t,k0t,Mge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,I0t),v2t),"Self-Loop Distribution"),"Alter the distribution of the loops around the node. It only takes effect for PortConstraints.FREE."),Pde),bEe),tye),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,M0t),v2t),"Self-Loop Ordering"),"Alter the ordering of the loops they can either be stacked or sequenced. It only takes effect for PortConstraints.FREE."),Fde),bEe),aye),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,D0t),"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."),jde),bEe),lye),edt(lEe)))),o2(t,D0t,x2t,$de),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,O0t),"edgeRouting.splines.sloppy"),"Sloppy Spline Layer Spacing Factor"),"Spacing factor for routing area between layers when using sloppy spline routing."),.2),pEe),See),edt(lEe)))),o2(t,O0t,x2t,qde),o2(t,O0t,D0t,Hde),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,L0t),"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),pEe),See),edt(lEe)))),o2(t,L0t,x2t,Lde),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,N0t),k2t),"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."),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,P0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,B0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,F0t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,R0t),_2t),"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."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,j0t),_2t),"Shortness Priority"),"Defines how important it is to keep an edge as short as possible. This option is evaluated during the layering phase."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,$0t),_2t),"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."),rft(0)),mEe),Oee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,z0t),A2t),FQt),"Tries to further compact components (disconnected sub-graphs)."),!1),gEe),kee),edt(lEe)))),o2(t,z0t,kJt,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,q0t),E2t),"Post Compaction Strategy"),T2t),Vfe),bEe),yhe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,H0t),E2t),"Post Compaction Constraint Calculation"),T2t),Kfe),bEe),fle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,U0t),C2t),"High Degree Node Treatment"),"Makes room around high degree nodes to place leafs and trees."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,G0t),C2t),"High Degree Node Threshold"),"Whether a node is considered to have a high degree."),rft(16)),mEe),Oee),edt(lEe)))),o2(t,G0t,U0t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Y0t),C2t),"High Degree Node Maximum Tree Height"),"Maximum height of a subtree connected to a high degree node to be moved to separate layers."),rft(5)),mEe),Oee),edt(lEe)))),o2(t,Y0t,U0t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z0t),S2t),"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'."),dpe),bEe),Tye),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W0t),S2t),"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),pEe),See),edt(lEe)))),o2(t,W0t,Z0t,Yge),o2(t,W0t,Z0t,Zge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K0t),S2t),"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),pEe),See),edt(lEe)))),o2(t,K0t,Z0t,Kge),o2(t,K0t,Z0t,Xge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X0t),I2t),"Cutting Strategy"),"The strategy by which the layer indexes are determined at which the layering crumbles into chunks."),ipe),bEe),Ale),edt(lEe)))),o2(t,X0t,Z0t,rpe),o2(t,X0t,Z0t,ape),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,V0t),I2t),"Manually Specified Cuts"),"Allows the user to specify her own cuts for a certain graph."),yEe),Rte),edt(lEe)))),o2(t,V0t,X0t,Qge),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q0t),"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."),tpe),mEe),Oee),edt(lEe)))),o2(t,Q0t,X0t,epe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J0t),M2t),"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."),mpe),bEe),pye),edt(lEe)))),o2(t,J0t,Z0t,ype),o2(t,J0t,Z0t,vpe),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,t2t),M2t),"Valid Indices for Wrapping"),null),yEe),Rte),edt(lEe)))),o2(t,t2t,Z0t,ppe),o2(t,t2t,Z0t,bpe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e2t),D2t),"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),gEe),kee),edt(lEe)))),o2(t,e2t,Z0t,upe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n2t),D2t),"Distance Penalty When Improving Cuts"),null),2),pEe),See),edt(lEe)))),o2(t,n2t,Z0t,spe),o2(t,n2t,e2t,!0),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i2t),D2t),"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),gEe),kee),edt(lEe)))),o2(t,i2t,Z0t,hpe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,r2t),O2t),"Edge Label Side Selection"),"Method to decide on edge label sides."),Dde),bEe),Gle),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,a2t),O2t),"Edge Center Label Placement Strategy"),"Determines in which layer center labels of long edges should be placed."),Ide),bEe),sle),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,o2t),L2t),"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."),ode),bEe),$me),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,s2t),L2t),"No Model Order"),"Set on a node to not set a model order for this node even though it is a real node."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c2t),L2t),"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."),Jfe),bEe),yse),edt(lEe)))),o2(t,c2t,kJt,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u2t),L2t),"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."),ide),bEe),gme),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l2t),L2t),"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),pEe),See),edt(lEe)))),o2(t,l2t,o2t,null),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,h2t),L2t),"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),pEe),See),edt(lEe)))),o2(t,h2t,o2t,null),yWt((new fh,t))},mZ(z1t,"LayeredMetaDataProvider",848),pDt(986,1,VVt,fh),TWt.Qe=function(t){yWt(t)},mZ(z1t,"LayeredOptions",986),pDt(987,1,{},Sa),TWt.$e=function(){return new Ym},TWt._e=function(t){},mZ(z1t,"LayeredOptions/LayeredFactory",987),pDt(1372,1,{}),TWt.a=0,mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder",1372),pDt(779,1372,{},cgt),mZ(z1t,"LayeredSpacings/LayeredSpacingsBuilder",779),pDt(313,22,{3:1,35:1,22:1,313:1,246:1,234:1},FC),TWt.Kf=function(){return aLt(this)},TWt.Xf=function(){return aLt(this)};var rme,ame,ome,sme,cme=qnt(z1t,"LayeringStrategy",313,Zte,n7,f$);pDt(378,22,{3:1,35:1,22:1,378:1},RC);var ume,lme,hme,fme,dme,gme=qnt(z1t,"LongEdgeOrderingStrategy",378,Zte,_1,d$);pDt(197,22,{3:1,35:1,22:1,197:1},jC);var pme,bme,wme,mme,yme,vme,xme=qnt(z1t,"NodeFlexibility",197,Zte,x3,g$);pDt(315,22,{3:1,35:1,22:1,315:1,246:1,234:1},$C),TWt.Kf=function(){return FDt(this)},TWt.Xf=function(){return FDt(this)};var kme,_me,Ame,Eme,Tme,Cme,Sme,Ime,Mme,Dme=qnt(z1t,"NodePlacementStrategy",315,Zte,O5,v$);pDt(260,22,{3:1,35:1,22:1,260:1},qC);var Ome,Lme,Nme,Pme,Bme=qnt(z1t,"NodePromotionStrategy",260,Zte,qet,b$);pDt(339,22,{3:1,35:1,22:1,339:1},HC);var Fme,Rme,jme,$me=qnt(z1t,"OrderingStrategy",339,Zte,D1,w$);pDt(421,22,{3:1,35:1,22:1,421:1},UC);var zme,qme,Hme,Ume,Gme=qnt(z1t,"PortSortingStrategy",421,Zte,YV,m$);pDt(452,22,{3:1,35:1,22:1,452:1},GC);var Yme,Zme,Wme,Kme,Xme=qnt(z1t,"PortType",452,Zte,M1,p$);pDt(375,22,{3:1,35:1,22:1,375:1},YC);var Vme,Qme,Jme,tye=qnt(z1t,"SelfLoopDistributionStrategy",375,Zte,O1,y$);pDt(376,22,{3:1,35:1,22:1,376:1},ZC);var eye,nye,iye,rye,aye=qnt(z1t,"SelfLoopOrderingStrategy",376,Zte,zV,x$);pDt(304,1,{304:1},lUt),mZ(z1t,"Spacings",304),pDt(336,22,{3:1,35:1,22:1,336:1},WC);var oye,sye,cye,uye,lye=qnt(z1t,"SplineRoutingMode",336,Zte,N1,k$);pDt(338,22,{3:1,35:1,22:1,338:1},KC);var hye,fye,dye,gye,pye=qnt(z1t,"ValidifyStrategy",338,Zte,P1,_$);pDt(377,22,{3:1,35:1,22:1,377:1},XC);var bye,wye,mye,yye,vye,xye,kye,_ye,Aye,Eye,Tye=qnt(z1t,"WrappingStrategy",377,Zte,L1,A$);pDt(1383,1,A3t,dh),TWt.Yf=function(t){return zz(t,37),wye},TWt.pf=function(t,e){Jqt(this,zz(t,37),e)},mZ(E3t,"DepthFirstCycleBreaker",1383),pDt(782,1,A3t,RU),TWt.Yf=function(t){return zz(t,37),mye},TWt.pf=function(t,e){ZZt(this,zz(t,37),e)},TWt.Zf=function(t){return zz(PH(t,mmt(this.d,t.c.length)),10)},mZ(E3t,"GreedyCycleBreaker",782),pDt(1386,782,A3t,AI),TWt.Zf=function(t){var e,n,i,r;for(r=null,e=FWt,i=new Wd(t);i.a1&&(Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),(HZt(),Ppe))))?ROt(t,this.d,zz(this,660)):(TX(),yO(t,this.d)),qot(this.e,t))},TWt.Sf=function(t,e,n,i){var r,a,o,s,c,u,l;for(e!=QH(n,t.length)&&(a=t[e-(n?1:-1)],U6(this.f,a,n?(sit(),Hme):(sit(),qme))),r=t[e][0],l=!i||r.k==(cTt(),Ese),u=s6(t[e]),this.ag(u,l,!1,n),o=0,c=new Wd(u);c.a"),t0?sJ(this.a,t[e-1],t[e]):!n&&e1&&(Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),(HZt(),Ppe))))?ROt(t,this.d,this):(TX(),yO(t,this.d)),Hv(AB(vEt(mW((f1(0,t.c.length),zz(t.c[0],10))),Ppe)))||qot(this.e,t))},mZ(I3t,"ModelOrderBarycenterHeuristic",660),pDt(1803,1,TVt,Wp),TWt.ue=function(t,e){return jTt(this.a,zz(t,10),zz(e,10))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(I3t,"ModelOrderBarycenterHeuristic/lambda$0$Type",1803),pDt(1403,1,A3t,xh),TWt.Yf=function(t){var e;return zz(t,37),pH(e=xD(Bye),(xEt(),joe),(dWt(),zce)),e},TWt.pf=function(t,e){yV((zz(t,37),e))},mZ(I3t,"NoCrossingMinimizer",1403),pDt(796,402,C3t,Fk),TWt.$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==(kYt(),cIe)?this.b[t]=!0:r.j==SIe&&t>0&&(this.b[t-1]=!0))},TWt.f=0,mZ(N1t,"AllCrossingsCounter",1798),pDt(587,1,{},vrt),TWt.b=0,TWt.d=0,mZ(N1t,"BinaryIndexedTree",587),pDt(524,1,{},XR),mZ(N1t,"CrossingsCounter",524),pDt(1906,1,TVt,Kp),TWt.ue=function(t,e){return ZH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$0$Type",1906),pDt(1907,1,TVt,Xp),TWt.ue=function(t,e){return WH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$1$Type",1907),pDt(1908,1,TVt,Vp),TWt.ue=function(t,e){return KH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$2$Type",1908),pDt(1909,1,TVt,Qp),TWt.ue=function(t,e){return XH(this.a,zz(t,11),zz(e,11))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(N1t,"CrossingsCounter/lambda$3$Type",1909),pDt(1910,1,dKt,Jp),TWt.td=function(t){w9(this.a,zz(t,11))},mZ(N1t,"CrossingsCounter/lambda$4$Type",1910),pDt(1911,1,FKt,tb),TWt.Mb=function(t){return vI(this.a,zz(t,11))},mZ(N1t,"CrossingsCounter/lambda$5$Type",1911),pDt(1912,1,dKt,eb),TWt.td=function(t){yI(this,t)},mZ(N1t,"CrossingsCounter/lambda$6$Type",1912),pDt(1913,1,dKt,JC),TWt.td=function(t){var e;lq(),p3(this.b,(e=this.a,zz(t,11),e))},mZ(N1t,"CrossingsCounter/lambda$7$Type",1913),pDt(826,1,UVt,Pa),TWt.Lb=function(t){return lq(),LP(zz(t,11),(hWt(),_fe))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return lq(),LP(zz(t,11),(hWt(),_fe))},mZ(N1t,"CrossingsCounter/lambda$8$Type",826),pDt(1905,1,{},nb),mZ(N1t,"HyperedgeCrossingsCounter",1905),pDt(467,1,{35:1,467:1},BF),TWt.wd=function(t){return ybt(this,zz(t,467))},TWt.b=0,TWt.c=0,TWt.e=0,TWt.f=0;var $ye=mZ(N1t,"HyperedgeCrossingsCounter/Hyperedge",467);pDt(362,1,{35:1,362:1},HK),TWt.wd=function(t){return dOt(this,zz(t,362))},TWt.b=0,TWt.c=0;var zye,qye,Hye=mZ(N1t,"HyperedgeCrossingsCounter/HyperedgeCorner",362);pDt(523,22,{3:1,35:1,22:1,523:1},QC);var Uye,Gye,Yye,Zye,Wye,Kye=qnt(N1t,"HyperedgeCrossingsCounter/HyperedgeCorner/Type",523,Zte,ZV,T$);pDt(1405,1,A3t,hh),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Gye:null},TWt.pf=function(t,e){dkt(this,zz(t,37),e)},mZ(M3t,"InteractiveNodePlacer",1405),pDt(1406,1,A3t,lh),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Yye:null},TWt.pf=function(t,e){_yt(this,zz(t,37),e)},mZ(M3t,"LinearSegmentsNodePlacer",1406),pDt(257,1,{35:1,257:1},ry),TWt.wd=function(t){return sk(this,zz(t,257))},TWt.Fb=function(t){var e;return!!aL(t,257)&&(e=zz(t,257),this.b==e.b)},TWt.Hb=function(){return this.b},TWt.Ib=function(){return"ls"+NEt(this.e)},TWt.a=0,TWt.b=0,TWt.c=-1,TWt.d=-1,TWt.g=0;var Xye,Vye=mZ(M3t,"LinearSegmentsNodePlacer/LinearSegment",257);pDt(1408,1,A3t,jU),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Xye:null},TWt.pf=function(t,e){CZt(this,zz(t,37),e)},TWt.b=0,TWt.g=0,mZ(M3t,"NetworkSimplexPlacer",1408),pDt(1427,1,TVt,Ba),TWt.ue=function(t,e){return _O(zz(t,19).a,zz(e,19).a)},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(M3t,"NetworkSimplexPlacer/0methodref$compare$Type",1427),pDt(1429,1,TVt,Fa),TWt.ue=function(t,e){return _O(zz(t,19).a,zz(e,19).a)},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(M3t,"NetworkSimplexPlacer/1methodref$compare$Type",1429),pDt(649,1,{649:1},tS);var Qye=mZ(M3t,"NetworkSimplexPlacer/EdgeRep",649);pDt(401,1,{401:1},UK),TWt.b=!1;var Jye,tve,eve,nve=mZ(M3t,"NetworkSimplexPlacer/NodeRep",401);pDt(508,12,{3:1,4:1,20:1,28:1,52:1,12:1,14:1,15:1,54:1,508:1},sy),mZ(M3t,"NetworkSimplexPlacer/Path",508),pDt(1409,1,{},Ra),TWt.Kb=function(t){return zz(t,17).d.i.k},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$0$Type",1409),pDt(1410,1,FKt,ja),TWt.Mb=function(t){return zz(t,267)==(cTt(),Cse)},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$1$Type",1410),pDt(1411,1,{},$a),TWt.Kb=function(t){return zz(t,17).d.i},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$2$Type",1411),pDt(1412,1,FKt,ib),TWt.Mb=function(t){return qB(npt(zz(t,10)))},mZ(M3t,"NetworkSimplexPlacer/Path/lambda$3$Type",1412),pDt(1413,1,FKt,za),TWt.Mb=function(t){return lH(zz(t,11))},mZ(M3t,"NetworkSimplexPlacer/lambda$0$Type",1413),pDt(1414,1,dKt,eS),TWt.td=function(t){BO(this.a,this.b,zz(t,11))},mZ(M3t,"NetworkSimplexPlacer/lambda$1$Type",1414),pDt(1423,1,dKt,rb),TWt.td=function(t){KSt(this.a,zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$10$Type",1423),pDt(1424,1,{},qa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$11$Type",1424),pDt(1425,1,dKt,ab),TWt.td=function(t){qBt(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$12$Type",1425),pDt(1426,1,{},Ha),TWt.Kb=function(t){return zJ(),rft(zz(t,121).e)},mZ(M3t,"NetworkSimplexPlacer/lambda$13$Type",1426),pDt(1428,1,{},Ua),TWt.Kb=function(t){return zJ(),rft(zz(t,121).e)},mZ(M3t,"NetworkSimplexPlacer/lambda$15$Type",1428),pDt(1430,1,FKt,Ga),TWt.Mb=function(t){return zJ(),zz(t,401).c.k==(cTt(),Sse)},mZ(M3t,"NetworkSimplexPlacer/lambda$17$Type",1430),pDt(1431,1,FKt,Ya),TWt.Mb=function(t){return zJ(),zz(t,401).c.j.c.length>1},mZ(M3t,"NetworkSimplexPlacer/lambda$18$Type",1431),pDt(1432,1,dKt,GK),TWt.td=function(t){ogt(this.c,this.b,this.d,this.a,zz(t,401))},TWt.c=0,TWt.d=0,mZ(M3t,"NetworkSimplexPlacer/lambda$19$Type",1432),pDt(1415,1,{},Za),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$2$Type",1415),pDt(1433,1,dKt,ob),TWt.td=function(t){NO(this.a,zz(t,11))},TWt.a=0,mZ(M3t,"NetworkSimplexPlacer/lambda$20$Type",1433),pDt(1434,1,{},Wa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$21$Type",1434),pDt(1435,1,dKt,sb),TWt.td=function(t){pL(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$22$Type",1435),pDt(1436,1,FKt,Ka),TWt.Mb=function(t){return qB(t)},mZ(M3t,"NetworkSimplexPlacer/lambda$23$Type",1436),pDt(1437,1,{},Xa),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$24$Type",1437),pDt(1438,1,FKt,cb),TWt.Mb=function(t){return _M(this.a,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$25$Type",1438),pDt(1439,1,dKt,nS),TWt.td=function(t){TCt(this.a,this.b,zz(t,10))},mZ(M3t,"NetworkSimplexPlacer/lambda$26$Type",1439),pDt(1440,1,FKt,Va),TWt.Mb=function(t){return zJ(),!d5(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$27$Type",1440),pDt(1441,1,FKt,Qa),TWt.Mb=function(t){return zJ(),!d5(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$28$Type",1441),pDt(1442,1,{},ub),TWt.Ce=function(t,e){return uL(this.a,zz(t,29),zz(e,29))},mZ(M3t,"NetworkSimplexPlacer/lambda$29$Type",1442),pDt(1416,1,{},Ja),TWt.Kb=function(t){return zJ(),new FH(null,new GY(new cG(JL(ddt(zz(t,10)).a.Kc(),new l))))},mZ(M3t,"NetworkSimplexPlacer/lambda$3$Type",1416),pDt(1417,1,FKt,to),TWt.Mb=function(t){return zJ(),e2(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$4$Type",1417),pDt(1418,1,dKt,lb),TWt.td=function(t){rzt(this.a,zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$5$Type",1418),pDt(1419,1,{},eo),TWt.Kb=function(t){return zJ(),new FH(null,new g1(zz(t,29).a,16))},mZ(M3t,"NetworkSimplexPlacer/lambda$6$Type",1419),pDt(1420,1,FKt,no),TWt.Mb=function(t){return zJ(),zz(t,10).k==(cTt(),Sse)},mZ(M3t,"NetworkSimplexPlacer/lambda$7$Type",1420),pDt(1421,1,{},io),TWt.Kb=function(t){return zJ(),new FH(null,new GY(new cG(JL(hdt(zz(t,10)).a.Kc(),new l))))},mZ(M3t,"NetworkSimplexPlacer/lambda$8$Type",1421),pDt(1422,1,FKt,ro),TWt.Mb=function(t){return zJ(),Yq(zz(t,17))},mZ(M3t,"NetworkSimplexPlacer/lambda$9$Type",1422),pDt(1404,1,A3t,Ch),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?Jye:null},TWt.pf=function(t,e){kqt(zz(t,37),e)},mZ(M3t,"SimpleNodePlacer",1404),pDt(180,1,{180:1},URt),TWt.Ib=function(){var t;return t="",this.c==(bQ(),eve)?t+=sQt:this.c==tve&&(t+=oQt),this.o==(cJ(),rve)?t+=mQt:this.o==ave?t+="UP":t+="BALANCED",t},mZ(L3t,"BKAlignedLayout",180),pDt(516,22,{3:1,35:1,22:1,516:1},aS);var ive,rve,ave,ove=qnt(L3t,"BKAlignedLayout/HDirection",516,Zte,KV,C$);pDt(515,22,{3:1,35:1,22:1,515:1},rS);var sve,cve,uve,lve,hve,fve,dve,gve,pve,bve,wve,mve,yve,vve,xve,kve,_ve,Ave,Eve,Tve=qnt(L3t,"BKAlignedLayout/VDirection",515,Zte,XV,S$);pDt(1634,1,{},iS),mZ(L3t,"BKAligner",1634),pDt(1637,1,{},Jvt),mZ(L3t,"BKCompactor",1637),pDt(654,1,{654:1},ao),TWt.a=0,mZ(L3t,"BKCompactor/ClassEdge",654),pDt(458,1,{458:1},ay),TWt.a=null,TWt.b=0,mZ(L3t,"BKCompactor/ClassNode",458),pDt(1407,1,A3t,kI),TWt.Yf=function(t){return zz(vEt(zz(t,37),(hWt(),Jhe)),21).Hc((gBt(),fhe))?cve:null},TWt.pf=function(t,e){aWt(this,zz(t,37),e)},TWt.d=!1,mZ(L3t,"BKNodePlacer",1407),pDt(1635,1,{},oo),TWt.d=0,mZ(L3t,"NeighborhoodInformation",1635),pDt(1636,1,TVt,hb),TWt.ue=function(t,e){return Tet(this,zz(t,46),zz(e,46))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(L3t,"NeighborhoodInformation/NeighborComparator",1636),pDt(808,1,{}),mZ(L3t,"ThresholdStrategy",808),pDt(1763,808,{},py),TWt.bg=function(t,e,n){return this.a.o==(cJ(),ave)?RXt:jXt},TWt.cg=function(){},mZ(L3t,"ThresholdStrategy/NullThresholdStrategy",1763),pDt(579,1,{579:1},oS),TWt.c=!1,TWt.d=!1,mZ(L3t,"ThresholdStrategy/Postprocessable",579),pDt(1764,808,{},by),TWt.bg=function(t,e,n){var i,r,a;return r=e==n,i=this.a.a[n.p]==e,r||i?(a=t,this.a.c,bQ(),r&&(a=Eqt(this,e,!0)),!isNaN(a)&&!isFinite(a)&&i&&(a=Eqt(this,n,!1)),a):t},TWt.cg=function(){for(var t,e,n;0!=this.d.b;)(e=o$t(this,n=zz(CQ(this.d),579))).a&&(t=e.a,(Hv(this.a.f[this.a.g[n.b.p].p])||d5(t)||t.c.i.c!=t.d.i.c)&&(gOt(this,n)||rD(this.e,n)));for(;0!=this.e.a.c.length;)gOt(this,zz(nlt(this.e),579))},mZ(L3t,"ThresholdStrategy/SimpleThresholdStrategy",1764),pDt(635,1,{635:1,246:1,234:1},so),TWt.Kf=function(){return Eot(this)},TWt.Xf=function(){return Eot(this)},mZ(N3t,"EdgeRouterFactory",635),pDt(1458,1,A3t,Sh),TWt.Yf=function(t){return ZPt(zz(t,37))},TWt.pf=function(t,e){Fqt(zz(t,37),e)},mZ(N3t,"OrthogonalEdgeRouter",1458),pDt(1451,1,A3t,_I),TWt.Yf=function(t){return Akt(zz(t,37))},TWt.pf=function(t,e){DYt(this,zz(t,37),e)},mZ(N3t,"PolylineEdgeRouter",1451),pDt(1452,1,UVt,co),TWt.Lb=function(t){return Vot(zz(t,10))},TWt.Fb=function(t){return this===t},TWt.Mb=function(t){return Vot(zz(t,10))},mZ(N3t,"PolylineEdgeRouter/1",1452),pDt(1809,1,FKt,uo),TWt.Mb=function(t){return zz(t,129).c==(M6(),Ave)},mZ(P3t,"HyperEdgeCycleDetector/lambda$0$Type",1809),pDt(1810,1,{},lo),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$1$Type",1810),pDt(1811,1,FKt,ho),TWt.Mb=function(t){return zz(t,129).c==(M6(),Ave)},mZ(P3t,"HyperEdgeCycleDetector/lambda$2$Type",1811),pDt(1812,1,{},fo),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$3$Type",1812),pDt(1813,1,{},go),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$4$Type",1813),pDt(1814,1,{},po),TWt.Ge=function(t){return zz(t,129).d},mZ(P3t,"HyperEdgeCycleDetector/lambda$5$Type",1814),pDt(112,1,{35:1,112:1},zot),TWt.wd=function(t){return ck(this,zz(t,112))},TWt.Fb=function(t){var e;return!!aL(t,112)&&(e=zz(t,112),this.g==e.g)},TWt.Hb=function(){return this.g},TWt.Ib=function(){var t,e,n,i;for(t=new fN("{"),i=new Wd(this.n);i.a"+this.b+" ("+gP(this.c)+")"},TWt.d=0,mZ(P3t,"HyperEdgeSegmentDependency",129),pDt(520,22,{3:1,35:1,22:1,520:1},sS);var Cve,Sve,Ive,Mve,Dve,Ove,Lve,Nve,Pve=qnt(P3t,"HyperEdgeSegmentDependency/DependencyType",520,Zte,WV,I$);pDt(1815,1,{},fb),mZ(P3t,"HyperEdgeSegmentSplitter",1815),pDt(1816,1,{},Gk),TWt.a=0,TWt.b=0,mZ(P3t,"HyperEdgeSegmentSplitter/AreaRating",1816),pDt(329,1,{329:1},xz),TWt.a=0,TWt.b=0,TWt.c=0,mZ(P3t,"HyperEdgeSegmentSplitter/FreeArea",329),pDt(1817,1,TVt,_o),TWt.ue=function(t,e){return MR(zz(t,112),zz(e,112))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$0$Type",1817),pDt(1818,1,dKt,ZK),TWt.td=function(t){t4(this.a,this.d,this.c,this.b,zz(t,112))},TWt.b=0,mZ(P3t,"HyperEdgeSegmentSplitter/lambda$1$Type",1818),pDt(1819,1,{},Ao),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).e,16))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$2$Type",1819),pDt(1820,1,{},Eo),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).j,16))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$3$Type",1820),pDt(1821,1,{},To),TWt.Fe=function(t){return Uv(EB(t))},mZ(P3t,"HyperEdgeSegmentSplitter/lambda$4$Type",1821),pDt(655,1,{},hZ),TWt.a=0,TWt.b=0,TWt.c=0,mZ(P3t,"OrthogonalRoutingGenerator",655),pDt(1638,1,{},Co),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).e,16))},mZ(P3t,"OrthogonalRoutingGenerator/lambda$0$Type",1638),pDt(1639,1,{},So),TWt.Kb=function(t){return new FH(null,new g1(zz(t,112).j,16))},mZ(P3t,"OrthogonalRoutingGenerator/lambda$1$Type",1639),pDt(661,1,{}),mZ(B3t,"BaseRoutingDirectionStrategy",661),pDt(1807,661,{},wy),TWt.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.adJt&&(a=t,r=new PS(f,o=h),Bq(s.a,r),zjt(this,s,a,r,!1),(d=t.r)&&(r=new PS(g=Uv(EB(Fwt(d.e,0))),o),Bq(s.a,r),zjt(this,s,a,r,!1),a=d,r=new PS(g,o=e+d.o*i),Bq(s.a,r),zjt(this,s,a,r,!1)),r=new PS(b,o),Bq(s.a,r),zjt(this,s,a,r,!1)))},TWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},TWt.fg=function(){return kYt(),TIe},TWt.gg=function(){return kYt(),uIe},mZ(B3t,"NorthToSouthRoutingStrategy",1807),pDt(1808,661,{},my),TWt.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.adJt&&(a=t,r=new PS(f,o=h),Bq(s.a,r),zjt(this,s,a,r,!1),(d=t.r)&&(r=new PS(g=Uv(EB(Fwt(d.e,0))),o),Bq(s.a,r),zjt(this,s,a,r,!1),a=d,r=new PS(g,o=e-d.o*i),Bq(s.a,r),zjt(this,s,a,r,!1)),r=new PS(b,o),Bq(s.a,r),zjt(this,s,a,r,!1)))},TWt.eg=function(t){return t.i.n.a+t.n.a+t.a.a},TWt.fg=function(){return kYt(),uIe},TWt.gg=function(){return kYt(),TIe},mZ(B3t,"SouthToNorthRoutingStrategy",1808),pDt(1806,661,{},yy),TWt.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.adJt&&(a=t,r=new PS(o=h,f),Bq(s.a,r),zjt(this,s,a,r,!0),(d=t.r)&&(r=new PS(o,g=Uv(EB(Fwt(d.e,0)))),Bq(s.a,r),zjt(this,s,a,r,!0),a=d,r=new PS(o=e+d.o*i,g),Bq(s.a,r),zjt(this,s,a,r,!0)),r=new PS(o,b),Bq(s.a,r),zjt(this,s,a,r,!0)))},TWt.eg=function(t){return t.i.n.b+t.n.b+t.a.b},TWt.fg=function(){return kYt(),cIe},TWt.gg=function(){return kYt(),SIe},mZ(B3t,"WestToEastRoutingStrategy",1806),pDt(813,1,{},uzt),TWt.Ib=function(){return NEt(this.a)},TWt.b=0,TWt.c=!1,TWt.d=!1,TWt.f=0,mZ(R3t,"NubSpline",813),pDt(407,1,{407:1},APt,gQ),mZ(R3t,"NubSpline/PolarCP",407),pDt(1453,1,A3t,hvt),TWt.Yf=function(t){return aAt(zz(t,37))},TWt.pf=function(t,e){oZt(this,zz(t,37),e)},mZ(R3t,"SplineEdgeRouter",1453),pDt(268,1,{268:1},T6),TWt.Ib=function(){return this.a+" ->("+this.c+") "+this.b},TWt.c=0,mZ(R3t,"SplineEdgeRouter/Dependency",268),pDt(455,22,{3:1,35:1,22:1,455:1},cS);var Bve,Fve,Rve,jve,$ve,zve=qnt(R3t,"SplineEdgeRouter/SideToProcess",455,Zte,VV,M$);pDt(1454,1,FKt,xo),TWt.Mb=function(t){return wPt(),!zz(t,128).o},mZ(R3t,"SplineEdgeRouter/lambda$0$Type",1454),pDt(1455,1,{},vo),TWt.Ge=function(t){return wPt(),zz(t,128).v+1},mZ(R3t,"SplineEdgeRouter/lambda$1$Type",1455),pDt(1456,1,dKt,uS),TWt.td=function(t){iH(this.a,this.b,zz(t,46))},mZ(R3t,"SplineEdgeRouter/lambda$2$Type",1456),pDt(1457,1,dKt,lS),TWt.td=function(t){rH(this.a,this.b,zz(t,46))},mZ(R3t,"SplineEdgeRouter/lambda$3$Type",1457),pDt(128,1,{35:1,128:1},nSt,hHt),TWt.wd=function(t){return uk(this,zz(t,128))},TWt.b=0,TWt.e=!1,TWt.f=0,TWt.g=0,TWt.j=!1,TWt.k=!1,TWt.n=0,TWt.o=!1,TWt.p=!1,TWt.q=!1,TWt.s=0,TWt.u=0,TWt.v=0,TWt.F=0,mZ(R3t,"SplineSegment",128),pDt(459,1,{459:1},ko),TWt.a=0,TWt.b=!1,TWt.c=!1,TWt.d=!1,TWt.e=!1,TWt.f=0,mZ(R3t,"SplineSegment/EdgeInformation",459),pDt(1234,1,{},bo),mZ(H3t,rJt,1234),pDt(1235,1,TVt,wo),TWt.ue=function(t,e){return MIt(zz(t,135),zz(e,135))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(H3t,aJt,1235),pDt(1233,1,{},D_),mZ(H3t,"MrTree",1233),pDt(393,22,{3:1,35:1,22:1,393:1,246:1,234:1},hS),TWt.Kf=function(){return OIt(this)},TWt.Xf=function(){return OIt(this)};var qve,Hve=qnt(H3t,"TreeLayoutPhases",393,Zte,k3,D$);pDt(1130,209,PQt,jF),TWt.Ze=function(t,e){var n,i,r,a,o,s;for(Hv(AB(tOt(t,(IDt(),Sxe))))||kQ(new Ag((UE(),new Bv(t)))),Uot(o=new C6,t),hct(o,(UHt(),uxe),t),yjt(t,o,s=new Pw),Kjt(t,o,s),a=o,i=new Wd(r=Bjt(this.a,a));i.a"+b0(this.c):"e_"+eut(this)},mZ(U3t,"TEdge",188),pDt(135,134,{3:1,135:1,94:1,134:1},C6),TWt.Ib=function(){var t,e,n,i,r;for(r=null,i=lwt(this.b,0);i.b!=i.d.c;)r+=(null==(n=zz(d3(i),86)).c||0==n.c.length?"n_"+n.g:"n_"+n.c)+"\n";for(e=lwt(this.a,0);e.b!=e.d.c;)r+=((t=zz(d3(e),188)).b&&t.c?b0(t.b)+"->"+b0(t.c):"e_"+eut(t))+"\n";return r};var Uve=mZ(U3t,"TGraph",135);pDt(633,502,{3:1,502:1,633:1,94:1,134:1}),mZ(U3t,"TShape",633),pDt(86,633,{3:1,502:1,86:1,633:1,94:1,134:1},out),TWt.Ib=function(){return b0(this)};var Gve,Yve,Zve,Wve,Kve,Xve,Vve=mZ(U3t,"TNode",86);pDt(255,1,mKt,db),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return new gb(lwt(this.a.d,0))},mZ(U3t,"TNode/2",255),pDt(358,1,VWt,gb),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(d3(this.a),188).c},TWt.Ob=function(){return __(this.a)},TWt.Qb=function(){vet(this.a)},mZ(U3t,"TNode/2/1",358),pDt(1840,1,e1t,RF),TWt.pf=function(t,e){B$t(this,zz(t,135),e)},mZ(G3t,"FanProcessor",1840),pDt(327,22,{3:1,35:1,22:1,327:1,234:1},fS),TWt.Kf=function(){switch(this.g){case 0:return new Xy;case 1:return new RF;case 2:return new Do;case 3:return new Io;case 4:return new Lo;case 5:return new No;default:throw qw(new jv(T1t+(null!=this.f?this.f:""+this.g)))}};var Qve,Jve,txe,exe,nxe,ixe,rxe,axe,oxe,sxe,cxe,uxe,lxe,hxe,fxe,dxe,gxe,pxe,bxe,wxe,mxe,yxe,vxe,xxe,kxe,_xe,Axe,Exe,Txe,Cxe,Sxe,Ixe,Mxe,Dxe,Oxe,Lxe,Nxe,Pxe,Bxe,Fxe,Rxe,jxe=qnt(G3t,C1t,327,Zte,r7,O$);pDt(1843,1,e1t,Io),TWt.pf=function(t,e){cOt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"LevelHeightProcessor",1843),pDt(1844,1,mKt,Mo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(G3t,"LevelHeightProcessor/1",1844),pDt(1841,1,e1t,Do),TWt.pf=function(t,e){VCt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"NeighborsProcessor",1841),pDt(1842,1,mKt,Oo),TWt.Jc=function(t){n5(this,t)},TWt.Kc=function(){return TX(),LA(),dne},mZ(G3t,"NeighborsProcessor/1",1842),pDt(1845,1,e1t,Lo),TWt.pf=function(t,e){sOt(this,zz(t,135),e)},TWt.a=0,mZ(G3t,"NodePositionProcessor",1845),pDt(1839,1,e1t,Xy),TWt.pf=function(t,e){tHt(this,zz(t,135))},mZ(G3t,"RootProcessor",1839),pDt(1846,1,e1t,No),TWt.pf=function(t,e){bft(zz(t,135))},mZ(G3t,"Untreeifyer",1846),pDt(851,1,VVt,Th),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W3t),""),"Weighting of Nodes"),"Which weighting to use when computing a node order."),xxe),(SCt(),bEe)),Hxe),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K3t),""),"Search Order"),"Which search order to use when computing a spanning tree."),yxe),bEe),Qxe),edt(lEe)))),jUt((new Eh,t))},mZ(X3t,"MrTreeMetaDataProvider",851),pDt(994,1,VVt,Eh),TWt.Qe=function(t){jUt(t)},mZ(X3t,"MrTreeOptions",994),pDt(995,1,{},Po),TWt.$e=function(){return new jF},TWt._e=function(t){},mZ(X3t,"MrTreeOptions/MrtreeFactory",995),pDt(480,22,{3:1,35:1,22:1,480:1},dS);var $xe,zxe,qxe,Hxe=qnt(X3t,"OrderWeighting",480,Zte,JV,L$);pDt(425,22,{3:1,35:1,22:1,425:1},gS);var Uxe,Gxe,Yxe,Zxe,Wxe,Kxe,Xxe,Vxe,Qxe=qnt(X3t,"TreeifyingOrder",425,Zte,QV,P$);pDt(1459,1,A3t,bh),TWt.Yf=function(t){return zz(t,135),Gxe},TWt.pf=function(t,e){xat(this,zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p1treeify","DFSTreeifyer",1459),pDt(1460,1,A3t,wh),TWt.Yf=function(t){return zz(t,135),Yxe},TWt.pf=function(t,e){fSt(this,zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p2order","NodeOrderer",1460),pDt(1461,1,A3t,ph),TWt.Yf=function(t){return zz(t,135),Zxe},TWt.pf=function(t,e){eFt(this,zz(t,135),e)},TWt.a=0,mZ("org.eclipse.elk.alg.mrtree.p3place","NodePlacer",1461),pDt(1462,1,A3t,mh),TWt.Yf=function(t){return zz(t,135),Wxe},TWt.pf=function(t,e){Bxt(zz(t,135),e)},mZ("org.eclipse.elk.alg.mrtree.p4route","EdgeRouter",1462),pDt(495,22,{3:1,35:1,22:1,495:1,246:1,234:1},pS),TWt.Kf=function(){return ggt(this)},TWt.Xf=function(){return ggt(this)};var Jxe,tke,eke,nke,ike=qnt(J3t,"RadialLayoutPhases",495,Zte,tQ,N$);pDt(1131,209,PQt,M_),TWt.Ze=function(t,e){var n,i,r;if(DAt(e,"Radial layout",ASt(this,t).c.length),Hv(AB(tOt(t,(Zvt(),Dke))))||kQ(new Ag((UE(),new Bv(t)))),r=cAt(t),Qwt(t,(gB(),Kxe),r),!r)throw qw(new jv("The given graph is not a tree!"));for(0==(n=Uv(EB(tOt(t,Bke))))&&(n=fIt(t)),Qwt(t,Bke,n),i=new Wd(ASt(this,t));i.a0&&Blt((d1(e-1,t.length),t.charCodeAt(e-1)),l1t);)--e;if(n>=e)throw qw(new jv("The given string does not contain any numbers."));if(2!=(i=kRt(t.substr(n,e-n),",|;|\r|\n")).length)throw qw(new jv("Exactly two numbers are expected, "+i.length+" were found."));try{this.a=gTt(REt(i[0])),this.b=gTt(REt(i[1]))}catch(t){throw aL(t=dst(t),127)?qw(new jv(h1t+t)):qw(t)}},TWt.Ib=function(){return"("+this.a+","+this.b+")"},TWt.a=0,TWt.b=0;var CEe=mZ(f1t,"KVector",8);pDt(74,68,{3:1,4:1,20:1,28:1,52:1,14:1,68:1,15:1,74:1,414:1},xy,Rk,YP),TWt.Pc=function(){return Xut(this)},TWt.Jf=function(t){var e,n,i,r,a;n=kRt(t,",|;|\\(|\\)|\\[|\\]|\\{|\\}| |\t|\n"),vX(this);try{for(e=0,r=0,i=0,a=0;e0&&(r%2==0?i=gTt(n[e]):a=gTt(n[e]),r>0&&r%2!=0&&Bq(this,new PS(i,a)),++r),++e}catch(t){throw aL(t=dst(t),127)?qw(new jv("The given string does not match the expected format for vectors."+t)):qw(t)}},TWt.Ib=function(){var t,e,n;for(t=new fN("("),e=lwt(this,0);e.b!=e.d.c;)cM(t,(n=zz(d3(e),8)).a+","+n.b),e.b!=e.d.c&&(t.a+="; ");return(t.a+=")",t).a};var SEe,IEe,MEe,DEe,OEe,LEe,NEe=mZ(f1t,"KVectorChain",74);pDt(248,22,{3:1,35:1,22:1,248:1},BS);var PEe,BEe,FEe,REe,jEe,$Ee,zEe,qEe,HEe,UEe,GEe,YEe,ZEe,WEe,KEe,XEe,VEe,QEe,JEe,tTe=qnt(h5t,"Alignment",248,Zte,Q8,Q$);pDt(979,1,VVt,Oh),TWt.Qe=function(t){Gjt(t)},mZ(h5t,"BoxLayouterOptions",979),pDt(980,1,{},Bs),TWt.$e=function(){return new Gs},TWt._e=function(t){},mZ(h5t,"BoxLayouterOptions/BoxFactory",980),pDt(291,22,{3:1,35:1,22:1,291:1},FS);var eTe,nTe,iTe,rTe,aTe,oTe,sTe,cTe,uTe,lTe,hTe,fTe,dTe,gTe,pTe,bTe,wTe,mTe,yTe,vTe,xTe,kTe,_Te,ATe,ETe,TTe,CTe,STe,ITe,MTe,DTe,OTe,LTe,NTe,PTe,BTe,FTe,RTe,jTe,$Te,zTe,qTe,HTe,UTe,GTe,YTe,ZTe,WTe,KTe,XTe,VTe,QTe,JTe,tCe,eCe,nCe,iCe,rCe,aCe,oCe,sCe,cCe,uCe,lCe,hCe,fCe,dCe,gCe,pCe,bCe,wCe,mCe,yCe,vCe,xCe,kCe,_Ce,ACe,ECe,TCe,CCe,SCe,ICe,MCe,DCe,OCe,LCe,NCe,PCe,BCe,FCe,RCe,jCe,$Ce,zCe,qCe,HCe=qnt(h5t,"ContentAlignment",291,Zte,V8,J$);pDt(684,1,VVt,Lh),TWt.Qe=function(t){Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,p5t),""),"Layout Algorithm"),"Select a specific layout algorithm."),(SCt(),vEe)),Vee),edt((awt(),lEe))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,b5t),""),"Resolved Layout Algorithm"),"Meta data associated with the selected algorithm."),yEe),oEe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,K2t),""),"Alignment"),"Alignment of the selected node relative to other nodes; the exact meaning depends on the used algorithm."),rTe),bEe),tTe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,XQt),""),"Aspect Ratio"),"The desired aspect ratio of the drawing, that is the quotient of width by height."),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,w5t),""),"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."),yEe),NEe),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,c3t),""),"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."),hTe),wEe),HCe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,W2t),""),"Debug Mode"),"Whether additional debug information shall be generated."),(lN(),!1)),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,J2t),""),EQt),"Overall direction of edges: horizontal (right / left) or vertical (down / up)."),gTe),bEe),WCe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x2t),""),"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."),yTe),bEe),cSe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,O4t),""),"Expand Nodes"),"If active, nodes are expanded to fill the area of their parent."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,b2t),""),"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`."),ATe),bEe),TSe),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,VQt),""),"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."),WTe),yEe),jse),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,_Jt),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v3t),""),"interactive Layout"),"Whether the graph should be changeable interactively and by setting constraints"),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,TJt),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,AJt),""),"Port Constraints"),"Defines constraints of the position of the ports of a node."),cCe),bEe),oIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,w3t),""),"Position"),"The position of a node, port, or label. This is used by the 'Fixed Layout' algorithm to specify a pre-defined position."),yEe),CEe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,mJt),""),"Priority"),"Defines the priority of an object; its meaning depends on the specific layout algorithm and the context where it is used."),mEe),Oee),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,xJt),""),"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)."),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,kJt),""),"Separate Connected Components"),"Whether each connected component should be processed separately."),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,u3t),""),"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."),DTe),yEe),NEe),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,f3t),""),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,d3t),""),"Hypernode"),"Whether the node should be handled as a hypernode."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,m5t),""),"Label Manager"),"Label managers can shorten labels upon a layout algorithm's request."),yEe),RNe),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,m3t),""),"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."),LTe),yEe),_se),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Y2t),""),"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),gEe),kee),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe,hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y5t),""),"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),pEe),See),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,v5t),""),"Animate"),"Whether the shift from the old layout to the new computed layout shall be animated."),!0),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,x5t),""),"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'."),rft(100)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,k5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,_5t),""),"Maximal Animation Time"),"The maximal time for animations, in milliseconds."),rft(4e3)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,A5t),""),"Minimal Animation Time"),"The minimal time for animations, in milliseconds."),rft(400)),mEe),Oee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,E5t),""),"Progress Bar"),"Whether a progress bar shall be displayed during layout computations."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,T5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,C5t),""),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,S5t),""),"Zoom to Fit"),"Whether the zoom level shall be set to view the whole diagram after layout."),!1),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,g5t),"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."),cTe),bEe),aMe),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,N2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,P2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,WQt),k2t),"Components Spacing"),"Spacing to be preserved between pairs of connected components. This option is only relevant if 'separateConnectedComponents' is activated."),20),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,B2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,vJt),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,F2t),k2t),"Edge Node Spacing"),"Spacing to be preserved between nodes and edges."),10),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,R2t),k2t),"Label Spacing"),"Determines the amount of space to be left between two labels of the same graph element."),0),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,z2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,j2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,$2t),k2t),"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),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,yJt),k2t),"Node Spacing"),"The minimal distance to be preserved between each two nodes."),20),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,q2t),k2t),"Node Self Loop Spacing"),"Spacing to be preserved between a node and its self loops."),10),pEe),See),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,H2t),k2t),"Port Spacing"),"Spacing between pairs of ports of the same node."),10),pEe),See),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,U2t),k2t),"Individual Spacing"),"Allows to specify individual spacing values for graph elements that shall be different from the value specified for the element's parent."),yEe),lMe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[sEe,hEe,cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,y3t),k2t),"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."),BCe),yEe),_se),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,b3t),O5t),"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)."),mEe),Oee),_U(lEe,Sst(Ux(kEe,1),LKt,175,0,[uEe]))))),o2(t,b3t,p3t,QTe),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,p3t),O5t),"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."),XTe),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,t3t),L5t),"Node Label Padding"),"Define padding for node labels that are placed inside of a node."),PTe),yEe),jse),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,IJt),L5t),"Node Label Placement"),"Hints for where node labels are to be placed; if empty, the node label's position is not modified."),FTe),wEe),USe),_U(uEe,Sst(Ux(kEe,1),LKt,175,0,[cEe]))))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,i3t),N5t),"Port Alignment"),"Defines the default port distribution for a node. May be overridden for each side individually."),tCe),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,r3t),N5t),"Port Alignment (North)"),"Defines how ports on the northern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,a3t),N5t),"Port Alignment (South)"),"Defines how ports on the southern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,o3t),N5t),"Port Alignment (West)"),"Defines how ports on the western side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,s3t),N5t),"Port Alignment (East)"),"Defines how ports on the eastern side are placed, overriding the node's general port alignment."),bEe),QSe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,SJt),P5t),"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."),jTe),wEe),VIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,CJt),P5t),"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."),UTe),wEe),iMe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,qJt),P5t),"Node Size Minimum"),"The minimal size to which a node can be reduced."),qTe),yEe),CEe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Q2t),P5t),"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),gEe),kee),edt(lEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,l3t),O2t),"Edge Label Placement"),"Gives a hint on where to put edge labels."),wTe),bEe),tSe),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,EJt),O2t),"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),gEe),kee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,I5t),"font"),"Font Name"),"Font name used for a label."),vEe),Vee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,M5t),"font"),"Font Size"),"Font size used for a label."),mEe),Oee),edt(cEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,g3t),B5t),"Port Anchor Offset"),"The offset to the port position where connections shall be attached."),yEe),CEe),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,h3t),B5t),"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."),mEe),Oee),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,Z2t),B5t),"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."),pCe),bEe),$Ie),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(_k(Sk(Ek(Tk(new zs,G2t),B5t),"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."),pEe),See),edt(hEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,MJt),F5t),"Port Label Placement"),"Decides on a placement method for port labels; if empty, the node label's position is not modified."),fCe),wEe),IIe),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,e3t),F5t),"Port Labels Next to Port"),"Use 'portLabels.placement': NEXT_TO_PORT_OF_POSSIBLE."),!1),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,n3t),F5t),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,X2t),R5t),"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),gEe),kee),edt(uEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,V2t),R5t),"Inside Self Loop"),"Whether a self loop should be routed inside a node instead of around that node."),!1),gEe),kee),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,KQt),"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),pEe),See),edt(sEe)))),Odt(t,new gCt(Mk(Ik(Dk(Ak(_k(Sk(Ek(Tk(new zs,D5t),"edge"),"Edge Type"),"The type of an edge. This is usually used for UML class diagrams, where associations must be handled differently from generalizations."),xTe),bEe),vSe),edt(sEe)))),PE(t,new YJ(vk(kk(xk(new ms,p1t),"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.'))),PE(t,new YJ(vk(kk(xk(new ms,"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.'))),PE(t,new YJ(vk(kk(xk(new ms,wJt),"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."))),PE(t,new YJ(vk(kk(xk(new ms,"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."))),PE(t,new YJ(vk(kk(xk(new ms,Q3t),"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."))),PE(t,new YJ(vk(kk(xk(new ms,"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."))),PE(t,new YJ(vk(kk(xk(new ms,p4t),"Radial"),"Radial layout algorithms usually position the nodes of the graph on concentric circles."))),gRt((new Nh,t)),Gjt((new Oh,t)),RBt((new Ph,t))},mZ(h5t,"CoreOptions",684),pDt(103,22,{3:1,35:1,22:1,103:1},RS);var UCe,GCe,YCe,ZCe,WCe=qnt(h5t,EQt,103,Zte,S5,nz);pDt(272,22,{3:1,35:1,22:1,272:1},jS);var KCe,XCe,VCe,QCe,JCe,tSe=qnt(h5t,"EdgeLabelPlacement",272,Zte,H1,iz);pDt(218,22,{3:1,35:1,22:1,218:1},$S);var eSe,nSe,iSe,rSe,aSe,oSe,sSe,cSe=qnt(h5t,"EdgeRouting",218,Zte,T3,rz);pDt(312,22,{3:1,35:1,22:1,312:1},zS);var uSe,lSe,hSe,fSe,dSe,gSe,pSe,bSe,wSe,mSe,ySe,vSe=qnt(h5t,"EdgeType",312,Zte,o7,az);pDt(977,1,VVt,Nh),TWt.Qe=function(t){gRt(t)},mZ(h5t,"FixedLayouterOptions",977),pDt(978,1,{},Xs),TWt.$e=function(){return new Hs},TWt._e=function(t){},mZ(h5t,"FixedLayouterOptions/FixedFactory",978),pDt(334,22,{3:1,35:1,22:1,334:1},qS);var xSe,kSe,_Se,ASe,ESe,TSe=qnt(h5t,"HierarchyHandling",334,Zte,q1,oz);pDt(285,22,{3:1,35:1,22:1,285:1},HS);var CSe,SSe,ISe,MSe,DSe,OSe,LSe,NSe,PSe,BSe,FSe=qnt(h5t,"LabelSide",285,Zte,E3,sz);pDt(93,22,{3:1,35:1,22:1,93:1},US);var RSe,jSe,$Se,zSe,qSe,HSe,USe=qnt(h5t,"NodeLabelPlacement",93,Zte,knt,cz);pDt(249,22,{3:1,35:1,22:1,249:1},GS);var GSe,YSe,ZSe,WSe,KSe,XSe,VSe,QSe=qnt(h5t,"PortAlignment",249,Zte,I5,uz);pDt(98,22,{3:1,35:1,22:1,98:1},YS);var JSe,tIe,eIe,nIe,iIe,rIe,aIe,oIe=qnt(h5t,"PortConstraints",98,Zte,T8,lz);pDt(273,22,{3:1,35:1,22:1,273:1},ZS);var sIe,cIe,uIe,lIe,hIe,fIe,dIe,gIe,pIe,bIe,wIe,mIe,yIe,vIe,xIe,kIe,_Ie,AIe,EIe,TIe,CIe,SIe,IIe=qnt(h5t,"PortLabelPlacement",273,Zte,a7,hz);pDt(61,22,{3:1,35:1,22:1,61:1},WS);var MIe,DIe,OIe,LIe,NIe,PIe,BIe,FIe,RIe,jIe,$Ie=qnt(h5t,"PortSide",61,Zte,l5,gz);pDt(981,1,VVt,Ph),TWt.Qe=function(t){RBt(t)},mZ(h5t,"RandomLayouterOptions",981),pDt(982,1,{},Vs),TWt.$e=function(){return new ec},TWt._e=function(t){},mZ(h5t,"RandomLayouterOptions/RandomFactory",982),pDt(374,22,{3:1,35:1,22:1,374:1},KS);var zIe,qIe,HIe,UIe,GIe,YIe,ZIe,WIe,KIe,XIe,VIe=qnt(h5t,"SizeConstraint",374,Zte,A3,fz);pDt(259,22,{3:1,35:1,22:1,259:1},XS);var QIe,JIe,tMe,eMe,nMe,iMe=qnt(h5t,"SizeOptions",259,Zte,Ait,dz);pDt(370,1,{1949:1},Zy),TWt.b=!1,TWt.c=0,TWt.d=-1,TWt.e=null,TWt.f=null,TWt.g=-1,TWt.j=!1,TWt.k=!1,TWt.n=!1,TWt.o=0,TWt.q=0,TWt.r=0,mZ(x3t,"BasicProgressMonitor",370),pDt(972,209,PQt,Gs),TWt.Ze=function(t,e){var n,i,r,a,o,s,c,u,l;DAt(e,"Box layout",2),r=Gv(EB(tOt(t,(CEt(),ZEe)))),a=zz(tOt(t,UEe),116),n=Hv(AB(tOt(t,jEe))),i=Hv(AB(tOt(t,$Ee))),0===zz(tOt(t,FEe),311).g?(s=new ej((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a)),TX(),yO(s,new Tb(i)),o=s,c=WCt(t),(null==(u=EB(tOt(t,BEe)))||(xW(u),u<=0))&&(u=1.3),jYt(t,(l=HYt(o,r,a,c.a,c.b,n,(xW(u),u))).a,l.b,!1,!0)):kHt(t,r,a,n),HTt(e)},mZ(x3t,"BoxLayoutProvider",972),pDt(973,1,TVt,Tb),TWt.ue=function(t,e){return hNt(this,zz(t,33),zz(e,33))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},TWt.a=!1,mZ(x3t,"BoxLayoutProvider/1",973),pDt(157,1,{157:1},Get,GP),TWt.Ib=function(){return this.c?YFt(this.c):NEt(this.b)},mZ(x3t,"BoxLayoutProvider/Group",157),pDt(311,22,{3:1,35:1,22:1,311:1},VS);var rMe,aMe=qnt(x3t,"BoxLayoutProvider/PackingMode",311,Zte,C3,pz);pDt(974,1,TVt,Ys),TWt.ue=function(t,e){return BX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$0$Type",974),pDt(975,1,TVt,Zs),TWt.ue=function(t,e){return aX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$1$Type",975),pDt(976,1,TVt,Ws),TWt.ue=function(t,e){return oX(zz(t,157),zz(e,157))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(x3t,"BoxLayoutProvider/lambda$2$Type",976),pDt(1365,1,{831:1},Ks),TWt.qg=function(t,e){return DE(),!aL(e,160)||T_((Pst(),zz(t,160)),e)},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$0$Type",1365),pDt(1366,1,dKt,Cb),TWt.td=function(t){Jut(this.a,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$1$Type",1366),pDt(1367,1,dKt,Us),TWt.td=function(t){zz(t,94),DE()},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$2$Type",1367),pDt(1371,1,dKt,Sb),TWt.td=function(t){Drt(this.a,zz(t,94))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$3$Type",1371),pDt(1369,1,FKt,QS),TWt.Mb=function(t){return Xct(this.a,this.b,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$4$Type",1369),pDt(1368,1,FKt,JS),TWt.Mb=function(t){return OP(this.a,this.b,zz(t,831))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$5$Type",1368),pDt(1370,1,dKt,tI),TWt.td=function(t){$G(this.a,this.b,zz(t,146))},mZ(x3t,"ElkSpacings/AbstractSpacingsBuilder/lambda$6$Type",1370),pDt(935,1,{},qs),TWt.Kb=function(t){return vD(t)},TWt.Fb=function(t){return this===t},mZ(x3t,"ElkUtil/lambda$0$Type",935),pDt(936,1,dKt,eI),TWt.td=function(t){aMt(this.a,this.b,zz(t,79))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$1$Type",936),pDt(937,1,dKt,nI),TWt.td=function(t){_v(this.a,this.b,zz(t,202))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$2$Type",937),pDt(938,1,dKt,iI),TWt.td=function(t){eO(this.a,this.b,zz(t,137))},TWt.a=0,TWt.b=0,mZ(x3t,"ElkUtil/lambda$3$Type",938),pDt(939,1,dKt,Ib),TWt.td=function(t){aH(this.a,zz(t,469))},mZ(x3t,"ElkUtil/lambda$4$Type",939),pDt(342,1,{35:1,342:1},Ow),TWt.wd=function(t){return mL(this,zz(t,236))},TWt.Fb=function(t){var e;return!!aL(t,342)&&(e=zz(t,342),this.a==e.a)},TWt.Hb=function(){return SQ(this.a)},TWt.Ib=function(){return this.a+" (exclusive)"},TWt.a=0,mZ(x3t,"ExclusiveBounds/ExclusiveLowerBound",342),pDt(1138,209,PQt,Hs),TWt.Ze=function(t,e){var i,r,a,o,s,c,u,h,f,d,g,p,b,w,m,y,v,x,k,_,A;for(DAt(e,"Fixed Layout",1),o=zz(tOt(t,(lWt(),mTe)),218),d=0,g=0,m=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));m.e!=m.i.gc();){for(b=zz(kwt(m),33),(A=zz(tOt(b,(Wut(),bSe)),8))&&(TD(b,A.a,A.b),zz(tOt(b,hSe),174).Hc((vpt(),BIe))&&(p=zz(tOt(b,dSe),8)).a>0&&p.b>0&&jYt(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 DL((!b.n&&(b.n=new nY(GMe,b,1,7)),b.n));h.e!=h.i.gc();)c=zz(kwt(h),137),(A=zz(tOt(c,bSe),8))&&TD(c,A.a,A.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 DL((!b.c&&(b.c=new nY(ZMe,b,9,9)),b.c));x.e!=x.i.gc();)for(v=zz(kwt(x),118),(A=zz(tOt(v,bSe),8))&&TD(v,A.a,A.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 DL((!v.n&&(v.n=new nY(GMe,v,1,7)),v.n));u.e!=u.i.gc();)c=zz(kwt(u),137),(A=zz(tOt(c,bSe),8))&&TD(c,A.a,A.b),d=n.Math.max(d,k+c.i+c.g),g=n.Math.max(g,_+c.j+c.f);for(a=new cG(JL(bLt(b).a.Kc(),new l));bDt(a);)f=$Yt(i=zz(Y5(a),79)),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b);for(r=new cG(JL(pLt(b).a.Kc(),new l));bDt(r);)QQ(SEt(i=zz(Y5(r),79)))!=t&&(f=$Yt(i),d=n.Math.max(d,f.a),g=n.Math.max(g,f.b))}if(o==(Tdt(),XCe))for(w=new DL((!t.a&&(t.a=new nY(YMe,t,10,11)),t.a));w.e!=w.i.gc();)for(r=new cG(JL(bLt(b=zz(kwt(w),33)).a.Kc(),new l));bDt(r);)0==(s=a$t(i=zz(Y5(r),79))).b?Qwt(i,MTe,null):Qwt(i,MTe,s);Hv(AB(tOt(t,(Wut(),fSe))))||jYt(t,d+(y=zz(tOt(t,gSe),116)).b+y.c,g+y.d+y.a,!0,!0),HTt(e)},mZ(x3t,"FixedLayoutProvider",1138),pDt(373,134,{3:1,414:1,373:1,94:1,134:1},Qs,rtt),TWt.Jf=function(t){var e,n,i,r,a,o,s;if(t)try{for(o=kRt(t,";,;"),r=0,a=(i=o).length;r>16&VKt|t^(n&VKt)<<16},TWt.Kc=function(){return new Mb(this)},TWt.Ib=function(){return null==this.a&&null==this.b?"pair(null,null)":null==this.a?"pair(null,"+qdt(this.b)+")":null==this.b?"pair("+qdt(this.a)+",null)":"pair("+qdt(this.a)+","+qdt(this.b)+")"},mZ(x3t,"Pair",46),pDt(983,1,VWt,Mb),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return!this.c&&(!this.b&&null!=this.a.a||null!=this.a.b)},TWt.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 qw(new vm)},TWt.Qb=function(){throw this.c&&null!=this.a.b?this.a.b=null:this.b&&null!=this.a.a&&(this.a.a=null),qw(new pm)},TWt.b=!1,TWt.c=!1,mZ(x3t,"Pair/1",983),pDt(448,1,{448:1},KK),TWt.Fb=function(t){return aK(this.a,zz(t,448).a)&&aK(this.c,zz(t,448).c)&&aK(this.d,zz(t,448).d)&&aK(this.b,zz(t,448).b)},TWt.Hb=function(){return flt(Sst(Ux(Ote,1),HWt,1,5,[this.a,this.c,this.d,this.b]))},TWt.Ib=function(){return"("+this.a+zWt+this.c+zWt+this.d+zWt+this.b+")"},mZ(x3t,"Quadruple",448),pDt(1126,209,PQt,ec),TWt.Ze=function(t,e){var n;DAt(e,"Random Layout",1),0!=(!t.a&&(t.a=new nY(YMe,t,10,11)),t.a).i?(rYt(t,(n=zz(tOt(t,(ypt(),NIe)),19))&&0!=n.a?new S4(n.a):new ldt,Gv(EB(tOt(t,DIe))),Gv(EB(tOt(t,PIe))),zz(tOt(t,OIe),116)),HTt(e)):HTt(e)},mZ(x3t,"RandomLayoutProvider",1126),pDt(553,1,{}),TWt.qf=function(){return new PS(this.f.i,this.f.j)},TWt.We=function(t){return _V(t,(lWt(),oCe))?tOt(this.f,dMe):tOt(this.f,t)},TWt.rf=function(){return new PS(this.f.g,this.f.f)},TWt.sf=function(){return this.g},TWt.Xe=function(t){return C8(this.f,t)},TWt.tf=function(t){Snt(this.f,t.a),Int(this.f,t.b)},TWt.uf=function(t){Cnt(this.f,t.a),Tnt(this.f,t.b)},TWt.vf=function(t){this.g=t},TWt.g=0,mZ(H5t,"ElkGraphAdapters/AbstractElkGraphElementAdapter",553),pDt(554,1,{839:1},Db),TWt.wf=function(){var t,e;if(!this.b)for(this.b=S2(yK(this.a).i),e=new DL(yK(this.a));e.e!=e.i.gc();)t=zz(kwt(e),137),Wz(this.b,new Fv(t));return this.b},TWt.b=null,mZ(H5t,"ElkGraphAdapters/ElkEdgeAdapter",554),pDt(301,553,{},Bv),TWt.xf=function(){return ivt(this)},TWt.a=null,mZ(H5t,"ElkGraphAdapters/ElkGraphAdapter",301),pDt(630,553,{181:1},Fv),mZ(H5t,"ElkGraphAdapters/ElkLabelAdapter",630),pDt(629,553,{680:1},QN),TWt.wf=function(){return evt(this)},TWt.Af=function(){var t;return!(t=zz(tOt(this.f,(lWt(),OTe)),142))&&(t=new fy),t},TWt.Cf=function(){return nvt(this)},TWt.Ef=function(t){var e;e=new Dj(t),Qwt(this.f,(lWt(),OTe),e)},TWt.Ff=function(t){Qwt(this.f,(lWt(),ZTe),new Mj(t))},TWt.yf=function(){return this.d},TWt.zf=function(){var t,e;if(!this.a)for(this.a=new Nw,e=new cG(JL(pLt(zz(this.f,33)).a.Kc(),new l));bDt(e);)t=zz(Y5(e),79),Wz(this.a,new Db(t));return this.a},TWt.Bf=function(){var t,e;if(!this.c)for(this.c=new Nw,e=new cG(JL(bLt(zz(this.f,33)).a.Kc(),new l));bDt(e);)t=zz(Y5(e),79),Wz(this.c,new Db(t));return this.c},TWt.Df=function(){return 0!=VX(zz(this.f,33)).i||Hv(AB(zz(this.f,33).We((lWt(),TTe))))},TWt.Gf=function(){j9(this,(UE(),fMe))},TWt.a=null,TWt.b=null,TWt.c=null,TWt.d=null,TWt.e=null,mZ(H5t,"ElkGraphAdapters/ElkNodeAdapter",629),pDt(1266,553,{838:1},cw),TWt.wf=function(){return kvt(this)},TWt.zf=function(){var t,e;if(!this.a)for(this.a=uP(zz(this.f,118).xg().i),e=new DL(zz(this.f,118).xg());e.e!=e.i.gc();)t=zz(kwt(e),79),Wz(this.a,new Db(t));return this.a},TWt.Bf=function(){var t,e;if(!this.c)for(this.c=uP(zz(this.f,118).yg().i),e=new DL(zz(this.f,118).yg());e.e!=e.i.gc();)t=zz(kwt(e),79),Wz(this.c,new Db(t));return this.c},TWt.Hf=function(){return zz(zz(this.f,118).We((lWt(),gCe)),61)},TWt.If=function(){var t,e,n,i,r,a,o;for(i=WQ(zz(this.f,118)),n=new DL(zz(this.f,118).yg());n.e!=n.i.gc();)for(o=new DL((!(t=zz(kwt(n),79)).c&&(t.c=new lR(RMe,t,5,8)),t.c));o.e!=o.i.gc();){if(Iet(SAt(a=zz(kwt(o),82)),i))return!0;if(SAt(a)==i&&Hv(AB(tOt(t,(lWt(),CTe)))))return!0}for(e=new DL(zz(this.f,118).xg());e.e!=e.i.gc();)for(r=new DL((!(t=zz(kwt(e),79)).b&&(t.b=new lR(RMe,t,4,7)),t.b));r.e!=r.i.gc();)if(Iet(SAt(zz(kwt(r),82)),i))return!0;return!1},TWt.a=null,TWt.b=null,TWt.c=null,mZ(H5t,"ElkGraphAdapters/ElkPortAdapter",1266),pDt(1267,1,TVt,nc),TWt.ue=function(t,e){return GFt(zz(t,118),zz(e,118))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(H5t,"ElkGraphAdapters/PortComparator",1267);var pMe,bMe,wMe,mMe,yMe,vMe,xMe,kMe,_Me,AMe,EMe,TMe,CMe,SMe,IMe,MMe,DMe,OMe,LMe=dH(U5t,"EObject"),NMe=dH(G5t,Y5t),PMe=dH(G5t,Z5t),BMe=dH(G5t,W5t),FMe=dH(G5t,"ElkShape"),RMe=dH(G5t,K5t),jMe=dH(G5t,X5t),$Me=dH(G5t,V5t),zMe=dH(U5t,Q5t),qMe=dH(U5t,"EFactory"),HMe=dH(U5t,J5t),UMe=dH(U5t,"EPackage"),GMe=dH(G5t,t6t),YMe=dH(G5t,e6t),ZMe=dH(G5t,n6t);pDt(90,1,i6t),TWt.Jg=function(){return this.Kg(),null},TWt.Kg=function(){return null},TWt.Lg=function(){return this.Kg(),!1},TWt.Mg=function(){return!1},TWt.Ng=function(t){got(this,t)},mZ(r6t,"BasicNotifierImpl",90),pDt(97,90,f6t),TWt.nh=function(){return yD(this)},TWt.Og=function(t,e){return t},TWt.Pg=function(){throw qw(new wm)},TWt.Qg=function(t){var e;return e=Imt(zz(iet(this.Tg(),this.Vg()),18)),this.eh().ih(this,e.n,e.f,t)},TWt.Rg=function(t,e){throw qw(new wm)},TWt.Sg=function(t,e,n){return Ejt(this,t,e,n)},TWt.Tg=function(){var t;return this.Pg()&&(t=this.Pg().ck())?t:this.zh()},TWt.Ug=function(){return oDt(this)},TWt.Vg=function(){throw qw(new wm)},TWt.Wg=function(){var t,e;return!(e=this.ph().dk())&&this.Pg().ik((XE(),e=null==(t=fQ(U$t(this.Tg())))?NOe:new XN(this,t))),e},TWt.Xg=function(t,e){return t},TWt.Yg=function(t){return t.Gj()?t.aj():Ogt(this.Tg(),t)},TWt.Zg=function(){var t;return(t=this.Pg())?t.fk():null},TWt.$g=function(){return this.Pg()?this.Pg().ck():null},TWt._g=function(t,e,n){return tmt(this,t,e,n)},TWt.ah=function(t){return T7(this,t)},TWt.bh=function(t,e){return K5(this,t,e)},TWt.dh=function(){var t;return!!(t=this.Pg())&&t.gk()},TWt.eh=function(){throw qw(new wm)},TWt.fh=function(){return Qpt(this)},TWt.gh=function(t,e,n,i){return Pwt(this,t,e,i)},TWt.hh=function(t,e,n){return zz(iet(this.Tg(),e),66).Nj().Qj(this,this.yh(),e-this.Ah(),t,n)},TWt.ih=function(t,e,n,i){return cQ(this,t,e,i)},TWt.jh=function(t,e,n){return zz(iet(this.Tg(),e),66).Nj().Rj(this,this.yh(),e-this.Ah(),t,n)},TWt.kh=function(){return!!this.Pg()&&!!this.Pg().ek()},TWt.lh=function(t){return ywt(this,t)},TWt.mh=function(t){return JQ(this,t)},TWt.oh=function(t){return $Ht(this,t)},TWt.ph=function(){throw qw(new wm)},TWt.qh=function(){return this.Pg()?this.Pg().ek():null},TWt.rh=function(){return Qpt(this)},TWt.sh=function(t,e){xSt(this,t,e)},TWt.th=function(t){this.ph().hk(t)},TWt.uh=function(t){this.ph().kk(t)},TWt.vh=function(t){this.ph().jk(t)},TWt.wh=function(t,e){var n,i,r,a;return(a=this.Zg())&&t&&(e=$wt(a.Vk(),this,e),a.Zk(this)),(i=this.eh())&&(0!=(wRt(this,this.eh(),this.Vg()).Bb&qXt)?(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},TWt.xh=function(t){var e,n,i,r,a,o,s;if((a=Ogt(n=this.Tg(),t))>=(e=this.Ah()))return zz(t,66).Nj().Uj(this,this.yh(),a-e);if(a<=-1){if(!(o=zHt((MCt(),JOe),n,t)))throw qw(new jv(a6t+t.ne()+c6t));if(JE(),zz(o,66).Oj()||(o=J1(z9(JOe,o))),r=zz((i=this.Yg(o))>=0?this._g(i,!0,!0):oMt(this,o,!0),153),(s=o.Zj())>1||-1==s)return zz(zz(r,215).hl(t,!1),76)}else if(t.$j())return zz((i=this.Yg(t))>=0?this._g(i,!1,!0):oMt(this,t,!1),76);return new II(this,t)},TWt.yh=function(){return X9(this)},TWt.zh=function(){return(XZ(),eOe).S},TWt.Ah=function(){return dZ(this.zh())},TWt.Bh=function(t){vCt(this,t)},TWt.Ib=function(){return SOt(this)},mZ(d6t,"BasicEObjectImpl",97),pDt(114,97,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1}),TWt.Ch=function(t){return V9(this)[t]},TWt.Dh=function(t,e){OZ(V9(this),t,e)},TWt.Eh=function(t){OZ(V9(this),t,null)},TWt.Jg=function(){return zz(xot(this,4),126)},TWt.Kg=function(){throw qw(new wm)},TWt.Lg=function(){return 0!=(4&this.Db)},TWt.Pg=function(){throw qw(new wm)},TWt.Fh=function(t){hbt(this,2,t)},TWt.Rg=function(t,e){this.Db=e<<16|255&this.Db,this.Fh(t)},TWt.Tg=function(){return kV(this)},TWt.Vg=function(){return this.Db>>16},TWt.Wg=function(){var t;return XE(),null==(t=fQ(U$t(zz(xot(this,16),26)||this.zh())))?NOe:new XN(this,t)},TWt.Mg=function(){return 0==(1&this.Db)},TWt.Zg=function(){return zz(xot(this,128),1935)},TWt.$g=function(){return zz(xot(this,16),26)},TWt.dh=function(){return 0!=(32&this.Db)},TWt.eh=function(){return zz(xot(this,2),49)},TWt.kh=function(){return 0!=(64&this.Db)},TWt.ph=function(){throw qw(new wm)},TWt.qh=function(){return zz(xot(this,64),281)},TWt.th=function(t){hbt(this,16,t)},TWt.uh=function(t){hbt(this,128,t)},TWt.vh=function(t){hbt(this,64,t)},TWt.yh=function(){return fbt(this)},TWt.Db=0,mZ(d6t,"MinimalEObjectImpl",114),pDt(115,114,{105:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),TWt.Fh=function(t){this.Cb=t},TWt.eh=function(){return this.Cb},mZ(d6t,"MinimalEObjectImpl/Container",115),pDt(1985,115,{105:1,413:1,94:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1}),TWt._g=function(t,e,n){return Avt(this,t,e,n)},TWt.jh=function(t,e,n){return iTt(this,t,e,n)},TWt.lh=function(t){return y0(this,t)},TWt.sh=function(t,e){aut(this,t,e)},TWt.zh=function(){return IZt(),CMe},TWt.Bh=function(t){Yst(this,t)},TWt.Ve=function(){return dwt(this)},TWt.We=function(t){return tOt(this,t)},TWt.Xe=function(t){return C8(this,t)},TWt.Ye=function(t,e){return Qwt(this,t,e)},mZ(g6t,"EMapPropertyHolderImpl",1985),pDt(567,115,{105:1,469:1,92:1,90:1,56:1,108:1,49:1,97:1,114:1,115:1},ac),TWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return tmt(this,t,e,n)},TWt.lh=function(t){switch(t){case 0:return 0!=this.a;case 1:return 0!=this.b}return ywt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return void _nt(this,Uv(EB(e)));case 1:return void Ant(this,Uv(EB(e)))}xSt(this,t,e)},TWt.zh=function(){return IZt(),wMe},TWt.Bh=function(t){switch(t){case 0:return void _nt(this,0);case 1:return void Ant(this,0)}vCt(this,t)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):((t=new hN(SOt(this))).a+=" (x: ",m_(t,this.a),t.a+=", y: ",m_(t,this.b),t.a+=")",t.a)},TWt.a=0,TWt.b=0,mZ(g6t,"ElkBendPointImpl",567),pDt(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}),TWt._g=function(t,e,n){return $ht(this,t,e,n)},TWt.hh=function(t,e,n){return zAt(this,t,e,n)},TWt.jh=function(t,e,n){return ast(this,t,e,n)},TWt.lh=function(t){return Aot(this,t)},TWt.sh=function(t,e){Gkt(this,t,e)},TWt.zh=function(){return IZt(),xMe},TWt.Bh=function(t){uht(this,t)},TWt.zg=function(){return this.k},TWt.Ag=function(){return yK(this)},TWt.Ib=function(){return Qft(this)},TWt.k=null,mZ(g6t,"ElkGraphElementImpl",723),pDt(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}),TWt._g=function(t,e,n){return Rdt(this,t,e,n)},TWt.lh=function(t){return fgt(this,t)},TWt.sh=function(t,e){Ykt(this,t,e)},TWt.zh=function(){return IZt(),TMe},TWt.Bh=function(t){Fgt(this,t)},TWt.Bg=function(){return this.f},TWt.Cg=function(){return this.g},TWt.Dg=function(){return this.i},TWt.Eg=function(){return this.j},TWt.Fg=function(t,e){ED(this,t,e)},TWt.Gg=function(t,e){TD(this,t,e)},TWt.Hg=function(t){Snt(this,t)},TWt.Ig=function(t){Int(this,t)},TWt.Ib=function(){return vTt(this)},TWt.f=0,TWt.g=0,TWt.i=0,TWt.j=0,mZ(g6t,"ElkShapeImpl",724),pDt(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}),TWt._g=function(t,e,n){return Hmt(this,t,e,n)},TWt.hh=function(t,e,n){return bkt(this,t,e,n)},TWt.jh=function(t,e,n){return wkt(this,t,e,n)},TWt.lh=function(t){return Gct(this,t)},TWt.sh=function(t,e){NDt(this,t,e)},TWt.zh=function(){return IZt(),mMe},TWt.Bh=function(t){Bwt(this,t)},TWt.xg=function(){return!this.d&&(this.d=new lR(jMe,this,8,5)),this.d},TWt.yg=function(){return!this.e&&(this.e=new lR(jMe,this,7,4)),this.e},mZ(g6t,"ElkConnectableShapeImpl",725),pDt(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),TWt.Qg=function(t){return Txt(this,t)},TWt._g=function(t,e,n){switch(t){case 3:return ZQ(this);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),this.b;case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),this.c;case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),this.a;case 7:return lN(),!this.b&&(this.b=new lR(RMe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new lR(RMe,this,5,8)),this.c.i<=1));case 8:return lN(),!!eDt(this);case 9:return lN(),!!VIt(this);case 10:return lN(),!this.b&&(this.b=new lR(RMe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new lR(RMe,this,5,8)),0!=this.c.i)}return $ht(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?Txt(this,n):this.Cb.ih(this,-1-i,null,n)),KB(this,zz(t,33),n);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),Qgt(this.b,t,n);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),Qgt(this.c,t,n);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),Qgt(this.a,t,n)}return zAt(this,t,e,n)},TWt.jh=function(t,e,n){switch(e){case 3:return KB(this,null,n);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),$wt(this.b,t,n);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),$wt(this.c,t,n);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),$wt(this.a,t,n)}return ast(this,t,e,n)},TWt.lh=function(t){switch(t){case 3:return!!ZQ(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 lR(RMe,this,4,7)),!(this.b.i<=1&&(!this.c&&(this.c=new lR(RMe,this,5,8)),this.c.i<=1));case 8:return eDt(this);case 9:return VIt(this);case 10:return!this.b&&(this.b=new lR(RMe,this,4,7)),0!=this.b.i&&(!this.c&&(this.c=new lR(RMe,this,5,8)),0!=this.c.i)}return Aot(this,t)},TWt.sh=function(t,e){switch(t){case 3:return void HLt(this,zz(e,33));case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),lHt(this.b),!this.b&&(this.b=new lR(RMe,this,4,7)),void wZ(this.b,zz(e,14));case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),lHt(this.c),!this.c&&(this.c=new lR(RMe,this,5,8)),void wZ(this.c,zz(e,14));case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),lHt(this.a),!this.a&&(this.a=new nY($Me,this,6,6)),void wZ(this.a,zz(e,14))}Gkt(this,t,e)},TWt.zh=function(){return IZt(),yMe},TWt.Bh=function(t){switch(t){case 3:return void HLt(this,null);case 4:return!this.b&&(this.b=new lR(RMe,this,4,7)),void lHt(this.b);case 5:return!this.c&&(this.c=new lR(RMe,this,5,8)),void lHt(this.c);case 6:return!this.a&&(this.a=new nY($Me,this,6,6)),void lHt(this.a)}uht(this,t)},TWt.Ib=function(){return dqt(this)},mZ(g6t,"ElkEdgeImpl",352),pDt(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),TWt.Qg=function(t){return lxt(this,t)},TWt._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 OL(PMe,this,5)),this.a;case 6:return KQ(this);case 7:return e?Smt(this):this.i;case 8:return e?Cmt(this):this.f;case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),this.g;case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),this.e;case 11:return this.d}return Avt(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?lxt(this,n):this.Cb.ih(this,-1-i,null,n)),XB(this,zz(t,79),n);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),Qgt(this.g,t,n);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),Qgt(this.e,t,n)}return zz(iet(zz(xot(this,16),26)||(IZt(),vMe),e),66).Nj().Qj(this,fbt(this),e-dZ((IZt(),vMe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 5:return!this.a&&(this.a=new OL(PMe,this,5)),$wt(this.a,t,n);case 6:return XB(this,null,n);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),$wt(this.g,t,n);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),$wt(this.e,t,n)}return iTt(this,t,e,n)},TWt.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!!KQ(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 y0(this,t)},TWt.sh=function(t,e){switch(t){case 1:return void Mnt(this,Uv(EB(e)));case 2:return void Ont(this,Uv(EB(e)));case 3:return void Ent(this,Uv(EB(e)));case 4:return void Dnt(this,Uv(EB(e)));case 5:return!this.a&&(this.a=new OL(PMe,this,5)),lHt(this.a),!this.a&&(this.a=new OL(PMe,this,5)),void wZ(this.a,zz(e,14));case 6:return void zLt(this,zz(e,79));case 7:return void Pit(this,zz(e,82));case 8:return void Nit(this,zz(e,82));case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),lHt(this.g),!this.g&&(this.g=new lR($Me,this,9,10)),void wZ(this.g,zz(e,14));case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),lHt(this.e),!this.e&&(this.e=new lR($Me,this,10,9)),void wZ(this.e,zz(e,14));case 11:return void ort(this,TB(e))}aut(this,t,e)},TWt.zh=function(){return IZt(),vMe},TWt.Bh=function(t){switch(t){case 1:return void Mnt(this,0);case 2:return void Ont(this,0);case 3:return void Ent(this,0);case 4:return void Dnt(this,0);case 5:return!this.a&&(this.a=new OL(PMe,this,5)),void lHt(this.a);case 6:return void zLt(this,null);case 7:return void Pit(this,null);case 8:return void Nit(this,null);case 9:return!this.g&&(this.g=new lR($Me,this,9,10)),void lHt(this.g);case 10:return!this.e&&(this.e=new lR($Me,this,10,9)),void lHt(this.e);case 11:return void ort(this,null)}Yst(this,t)},TWt.Ib=function(){return RMt(this)},TWt.b=0,TWt.c=0,TWt.d=null,TWt.j=0,TWt.k=0,mZ(g6t,"ElkEdgeSectionImpl",439),pDt(150,115,{105:1,92:1,90:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1}),TWt._g=function(t,e,n){return 0==t?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab):Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n)):zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){return 0==e?(!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n)):zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){return 0==t?!!this.Ab&&0!=this.Ab.i:M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.oh=function(t){return hYt(this,t)},TWt.sh=function(t,e){if(0===t)return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.uh=function(t){hbt(this,128,t)},TWt.zh=function(){return wWt(),dOe},TWt.Bh=function(t){if(0===t)return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){this.Bb|=1},TWt.Hh=function(t){return Pjt(this,t)},TWt.Bb=0,mZ(d6t,"EModelElementImpl",150),pDt(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},Bh),TWt.Ih=function(t,e){return UUt(this,t,e)},TWt.Jh=function(t){var e,n,i,r;if(this.a!=Zet(t)||0!=(256&t.Bb))throw qw(new jv(v6t+t.zb+w6t));for(n=xV(t);0!=o4(n.a).i;){if(rvt(e=zz(iUt(n,0,aL(r=zz(Ket(o4(n.a),0),87).c,88)?zz(r,26):(wWt(),pOe)),26)))return zz(i=Zet(e).Nh().Jh(e),49).th(t),i;n=xV(e)}return"java.util.Map$Entry"==(null!=t.D?t.D:t.B)?new hH(t):new kq(t)},TWt.Kh=function(t,e){return BZt(this,t,e)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.a}return Y7(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t),e,n)},TWt.hh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 1:return this.a&&(n=zz(this.a,49).ih(this,4,UMe,n)),Jlt(this,zz(t,235),n)}return zz(iet(zz(xot(this,16),26)||(wWt(),lOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),lOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 1:return Jlt(this,null,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),lOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),lOe)),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return!!this.a}return M3(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void BEt(this,zz(e,235))}Ndt(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t),e)},TWt.zh=function(){return wWt(),lOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void BEt(this,null)}Uht(this,t-dZ((wWt(),lOe)),iet(zz(xot(this,16),26)||lOe,t))},mZ(d6t,"EFactoryImpl",704),pDt(k6t,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),TWt.Ih=function(t,e){switch(t.yj()){case 12:return zz(e,146).tg();case 13:return qdt(e);default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 4:return new cc;case 6:return new ky;case 7:return new _y;case 8:return new rc;case 9:return new ac;case 10:return new oc;case 11:return new lc;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.Kh=function(t,e){switch(t.yj()){case 13:case 12:return null;default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(g6t,"ElkGraphFactoryImpl",k6t),pDt(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}),TWt.Wg=function(){var t;return null==(t=fQ(U$t(zz(xot(this,16),26)||this.zh())))?(XE(),XE(),NOe):new WP(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.ne()}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.Ab&&0!=this.Ab.i;case 1:return null!=this.zb}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void this.Lh(TB(e))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),gOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void this.Lh(null)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.ne=function(){return this.zb},TWt.Lh=function(t){Prt(this,t)},TWt.Ib=function(){return kht(this)},TWt.zb=null,mZ(d6t,"ENamedElementImpl",438),pDt(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},mV),TWt.Qg=function(t){return pxt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,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 QG(this,qDe,this)),this.rb;case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),this.vb;case 7:return e?this.Db>>16==7?zz(this.Cb,235):null:XQ(this)}return Y7(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 4:return this.sb&&(n=zz(this.sb,49).ih(this,1,qMe,n)),_ht(this,zz(t,471),n);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),Qgt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),Qgt(this.vb,t,n);case 7:return this.Cb&&(n=(i=this.Db>>16)>=0?pxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,7,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),mOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),mOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 4:return _ht(this,null,n);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),$wt(this.rb,t,n);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),$wt(this.vb,t,n);case 7:return Ejt(this,null,7,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),mOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),mOe)),t,n)},TWt.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!!XQ(this)}return M3(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t))},TWt.oh=function(t){return NNt(this,t)||hYt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Frt(this,TB(e));case 3:return void Brt(this,TB(e));case 4:return void rTt(this,zz(e,471));case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),lHt(this.rb),!this.rb&&(this.rb=new QG(this,qDe,this)),void wZ(this.rb,zz(e,14));case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),lHt(this.vb),!this.vb&&(this.vb=new nR(UMe,this,6,7)),void wZ(this.vb,zz(e,14))}Ndt(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t),e)},TWt.vh=function(t){var e,n;if(t&&this.rb)for(n=new DL(this.rb);n.e!=n.i.gc();)aL(e=kwt(n),351)&&(zz(e,351).w=null);hbt(this,64,t)},TWt.zh=function(){return wWt(),mOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Frt(this,null);case 3:return void Brt(this,null);case 4:return void rTt(this,null);case 5:return!this.rb&&(this.rb=new QG(this,qDe,this)),void lHt(this.rb);case 6:return!this.vb&&(this.vb=new nR(UMe,this,6,7)),void lHt(this.vb)}Uht(this,t-dZ((wWt(),mOe)),iet(zz(xot(this,16),26)||mOe,t))},TWt.Gh=function(){Evt(this)},TWt.Mh=function(){return!this.rb&&(this.rb=new QG(this,qDe,this)),this.rb},TWt.Nh=function(){return this.sb},TWt.Oh=function(){return this.ub},TWt.Ph=function(){return this.xb},TWt.Qh=function(){return this.yb},TWt.Rh=function(t){this.ub=t},TWt.Ib=function(){var t;return 0!=(64&this.Db)?kht(this):((t=new hN(kht(this))).a+=" (nsURI: ",aM(t,this.yb),t.a+=", nsPrefix: ",aM(t,this.xb),t.a+=")",t.a)},TWt.xb=null,TWt.yb=null,mZ(d6t,"EPackageImpl",179),pDt(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},lDt),TWt.q=!1,TWt.r=!1;var WMe=!1;mZ(g6t,"ElkGraphPackageImpl",555),pDt(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),TWt.Qg=function(t){return hxt(this,t)},TWt._g=function(t,e,n){switch(t){case 7:return VQ(this);case 8:return this.a}return Rdt(this,t,e,n)},TWt.hh=function(t,e,n){var i;return 7===e?(this.Cb&&(n=(i=this.Db>>16)>=0?hxt(this,n):this.Cb.ih(this,-1-i,null,n)),KU(this,zz(t,160),n)):zAt(this,t,e,n)},TWt.jh=function(t,e,n){return 7==e?KU(this,null,n):ast(this,t,e,n)},TWt.lh=function(t){switch(t){case 7:return!!VQ(this);case 8:return!yR("",this.a)}return fgt(this,t)},TWt.sh=function(t,e){switch(t){case 7:return void MNt(this,zz(e,160));case 8:return void Bit(this,TB(e))}Ykt(this,t,e)},TWt.zh=function(){return IZt(),kMe},TWt.Bh=function(t){switch(t){case 7:return void MNt(this,null);case 8:return void Bit(this,"")}Fgt(this,t)},TWt.Ib=function(){return oCt(this)},TWt.a="",mZ(g6t,"ElkLabelImpl",354),pDt(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},ky),TWt.Qg=function(t){return Cxt(this,t)},TWt._g=function(t,e,n){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),this.c;case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),this.a;case 11:return QQ(this);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),this.b;case 13:return lN(),!this.a&&(this.a=new nY(YMe,this,10,11)),this.a.i>0}return Hmt(this,t,e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),Qgt(this.c,t,n);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),Qgt(this.a,t,n);case 11:return this.Cb&&(n=(i=this.Db>>16)>=0?Cxt(this,n):this.Cb.ih(this,-1-i,null,n)),GF(this,zz(t,33),n);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),Qgt(this.b,t,n)}return bkt(this,t,e,n)},TWt.jh=function(t,e,n){switch(e){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),$wt(this.c,t,n);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),$wt(this.a,t,n);case 11:return GF(this,null,n);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),$wt(this.b,t,n)}return wkt(this,t,e,n)},TWt.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!!QQ(this);case 12:return!!this.b&&0!=this.b.i;case 13:return!this.a&&(this.a=new nY(YMe,this,10,11)),this.a.i>0}return Gct(this,t)},TWt.sh=function(t,e){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),lHt(this.c),!this.c&&(this.c=new nY(ZMe,this,9,9)),void wZ(this.c,zz(e,14));case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),lHt(this.a),!this.a&&(this.a=new nY(YMe,this,10,11)),void wZ(this.a,zz(e,14));case 11:return void eNt(this,zz(e,33));case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),lHt(this.b),!this.b&&(this.b=new nY(jMe,this,12,3)),void wZ(this.b,zz(e,14))}NDt(this,t,e)},TWt.zh=function(){return IZt(),_Me},TWt.Bh=function(t){switch(t){case 9:return!this.c&&(this.c=new nY(ZMe,this,9,9)),void lHt(this.c);case 10:return!this.a&&(this.a=new nY(YMe,this,10,11)),void lHt(this.a);case 11:return void eNt(this,null);case 12:return!this.b&&(this.b=new nY(jMe,this,12,3)),void lHt(this.b)}Bwt(this,t)},TWt.Ib=function(){return YFt(this)},mZ(g6t,"ElkNodeImpl",239),pDt(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},_y),TWt.Qg=function(t){return fxt(this,t)},TWt._g=function(t,e,n){return 9==t?WQ(this):Hmt(this,t,e,n)},TWt.hh=function(t,e,n){var i;return 9===e?(this.Cb&&(n=(i=this.Db>>16)>=0?fxt(this,n):this.Cb.ih(this,-1-i,null,n)),VB(this,zz(t,33),n)):bkt(this,t,e,n)},TWt.jh=function(t,e,n){return 9==e?VB(this,null,n):wkt(this,t,e,n)},TWt.lh=function(t){return 9==t?!!WQ(this):Gct(this,t)},TWt.sh=function(t,e){9!==t?NDt(this,t,e):qLt(this,zz(e,33))},TWt.zh=function(){return IZt(),AMe},TWt.Bh=function(t){9!==t?Bwt(this,t):qLt(this,null)},TWt.Ib=function(){return ZFt(this)},mZ(g6t,"ElkPortImpl",186);var KMe=dH(q6t,"BasicEMap/Entry");pDt(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),TWt.Fb=function(t){return this===t},TWt.cd=function(){return this.b},TWt.Hb=function(){return CN(this)},TWt.Uh=function(t){Fit(this,zz(t,146))},TWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return tmt(this,t,e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.b;case 1:return null!=this.c}return ywt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return void Fit(this,zz(e,146));case 1:return void $it(this,e)}xSt(this,t,e)},TWt.zh=function(){return IZt(),EMe},TWt.Bh=function(t){switch(t){case 0:return void Fit(this,null);case 1:return void $it(this,null)}vCt(this,t)},TWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=t?eut(t):0),this.a},TWt.dd=function(){return this.c},TWt.Th=function(t){this.a=t},TWt.ed=function(t){var e;return e=this.c,$it(this,t),e},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):(cM(cM(cM(t=new Sx,this.b?this.b.tg():YWt),i1t),xN(this.c)),t.a)},TWt.a=-1,TWt.c=null;var XMe,VMe,QMe,JMe,tDe,eDe,nDe,iDe,rDe=mZ(g6t,"ElkPropertyToValueMapEntryImpl",1092);pDt(984,1,{},dc),mZ(G6t,"JsonAdapter",984),pDt(210,60,qKt,nx),mZ(G6t,"JsonImportException",210),pDt(857,1,{},bxt),mZ(G6t,"JsonImporter",857),pDt(891,1,{},oI),mZ(G6t,"JsonImporter/lambda$0$Type",891),pDt(892,1,{},sI),mZ(G6t,"JsonImporter/lambda$1$Type",892),pDt(900,1,{},Ob),mZ(G6t,"JsonImporter/lambda$10$Type",900),pDt(902,1,{},cI),mZ(G6t,"JsonImporter/lambda$11$Type",902),pDt(903,1,{},uI),mZ(G6t,"JsonImporter/lambda$12$Type",903),pDt(909,1,{},hX),mZ(G6t,"JsonImporter/lambda$13$Type",909),pDt(908,1,{},lX),mZ(G6t,"JsonImporter/lambda$14$Type",908),pDt(904,1,{},lI),mZ(G6t,"JsonImporter/lambda$15$Type",904),pDt(905,1,{},hI),mZ(G6t,"JsonImporter/lambda$16$Type",905),pDt(906,1,{},fI),mZ(G6t,"JsonImporter/lambda$17$Type",906),pDt(907,1,{},dI),mZ(G6t,"JsonImporter/lambda$18$Type",907),pDt(912,1,{},Lb),mZ(G6t,"JsonImporter/lambda$19$Type",912),pDt(893,1,{},Nb),mZ(G6t,"JsonImporter/lambda$2$Type",893),pDt(910,1,{},Pb),mZ(G6t,"JsonImporter/lambda$20$Type",910),pDt(911,1,{},Bb),mZ(G6t,"JsonImporter/lambda$21$Type",911),pDt(915,1,{},Fb),mZ(G6t,"JsonImporter/lambda$22$Type",915),pDt(913,1,{},Rb),mZ(G6t,"JsonImporter/lambda$23$Type",913),pDt(914,1,{},jb),mZ(G6t,"JsonImporter/lambda$24$Type",914),pDt(917,1,{},$b),mZ(G6t,"JsonImporter/lambda$25$Type",917),pDt(916,1,{},zb),mZ(G6t,"JsonImporter/lambda$26$Type",916),pDt(918,1,dKt,gI),TWt.td=function(t){_7(this.b,this.a,TB(t))},mZ(G6t,"JsonImporter/lambda$27$Type",918),pDt(919,1,dKt,pI),TWt.td=function(t){A7(this.b,this.a,TB(t))},mZ(G6t,"JsonImporter/lambda$28$Type",919),pDt(920,1,{},bI),mZ(G6t,"JsonImporter/lambda$29$Type",920),pDt(896,1,{},qb),mZ(G6t,"JsonImporter/lambda$3$Type",896),pDt(921,1,{},wI),mZ(G6t,"JsonImporter/lambda$30$Type",921),pDt(922,1,{},Hb),mZ(G6t,"JsonImporter/lambda$31$Type",922),pDt(923,1,{},Ub),mZ(G6t,"JsonImporter/lambda$32$Type",923),pDt(924,1,{},Gb),mZ(G6t,"JsonImporter/lambda$33$Type",924),pDt(925,1,{},Yb),mZ(G6t,"JsonImporter/lambda$34$Type",925),pDt(859,1,{},Zb),mZ(G6t,"JsonImporter/lambda$35$Type",859),pDt(929,1,{},Ez),mZ(G6t,"JsonImporter/lambda$36$Type",929),pDt(926,1,dKt,Wb),TWt.td=function(t){V4(this.a,zz(t,469))},mZ(G6t,"JsonImporter/lambda$37$Type",926),pDt(927,1,dKt,TI),TWt.td=function(t){fM(this.a,this.b,zz(t,202))},mZ(G6t,"JsonImporter/lambda$38$Type",927),pDt(928,1,dKt,CI),TWt.td=function(t){dM(this.a,this.b,zz(t,202))},mZ(G6t,"JsonImporter/lambda$39$Type",928),pDt(894,1,{},Kb),mZ(G6t,"JsonImporter/lambda$4$Type",894),pDt(930,1,dKt,Xb),TWt.td=function(t){Q4(this.a,zz(t,8))},mZ(G6t,"JsonImporter/lambda$40$Type",930),pDt(895,1,{},Vb),mZ(G6t,"JsonImporter/lambda$5$Type",895),pDt(899,1,{},Qb),mZ(G6t,"JsonImporter/lambda$6$Type",899),pDt(897,1,{},Jb),mZ(G6t,"JsonImporter/lambda$7$Type",897),pDt(898,1,{},tw),mZ(G6t,"JsonImporter/lambda$8$Type",898),pDt(901,1,{},ew),mZ(G6t,"JsonImporter/lambda$9$Type",901),pDt(948,1,dKt,nw),TWt.td=function(t){tW(this.a,new UZ(TB(t)))},mZ(G6t,"JsonMetaDataConverter/lambda$0$Type",948),pDt(949,1,dKt,iw),TWt.td=function(t){jZ(this.a,zz(t,237))},mZ(G6t,"JsonMetaDataConverter/lambda$1$Type",949),pDt(950,1,dKt,rw),TWt.td=function(t){e1(this.a,zz(t,149))},mZ(G6t,"JsonMetaDataConverter/lambda$2$Type",950),pDt(951,1,dKt,aw),TWt.td=function(t){$Z(this.a,zz(t,175))},mZ(G6t,"JsonMetaDataConverter/lambda$3$Type",951),pDt(237,22,{3:1,35:1,22:1,237:1},EI);var aDe,oDe=qnt(MQt,"GraphFeature",237,Zte,jet,wz);pDt(13,1,{35:1,146:1},sw,iF,OM,ZD),TWt.wd=function(t){return wL(this,zz(t,146))},TWt.Fb=function(t){return _V(this,t)},TWt.wg=function(){return vwt(this)},TWt.tg=function(){return this.b},TWt.Hb=function(){return ymt(this.b)},TWt.Ib=function(){return this.b},mZ(MQt,"Property",13),pDt(818,1,TVt,ow),TWt.ue=function(t,e){return $ft(this,zz(t,94),zz(e,94))},TWt.Fb=function(t){return this===t},TWt.ve=function(){return new tg(this)},mZ(MQt,"PropertyHolderComparator",818),pDt(695,1,VWt,uw),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return D7(this)},TWt.Qb=function(){s_()},TWt.Ob=function(){return!!this.a},mZ(o8t,"ElkGraphUtil/AncestorIterator",695);var sDe=dH(q6t,"EList");pDt(67,52,{20:1,28:1,52:1,14:1,15:1,67:1,58:1}),TWt.Vc=function(t,e){lft(this,t,e)},TWt.Fc=function(t){return h7(this,t)},TWt.Wc=function(t,e){return uct(this,t,e)},TWt.Gc=function(t){return wZ(this,t)},TWt.Zh=function(){return new oP(this)},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},TWt.ai=function(){return!0},TWt.bi=function(t,e){},TWt.ci=function(){},TWt.di=function(t,e){L8(this,t,e)},TWt.ei=function(t,e,n){},TWt.fi=function(t,e){},TWt.gi=function(t,e,n){},TWt.Fb=function(t){return VBt(this,t)},TWt.Hb=function(){return Tst(this)},TWt.hi=function(){return!1},TWt.Kc=function(){return new DL(this)},TWt.Yc=function(){return new aP(this)},TWt.Zc=function(t){var e;if(e=this.gc(),t<0||t>e)throw qw(new eR(t,e));return new UY(this,t)},TWt.ji=function(t,e){this.ii(t,this.Xc(e))},TWt.Mc=function(t){return utt(this,t)},TWt.li=function(t,e){return e},TWt._c=function(t,e){return umt(this,t,e)},TWt.Ib=function(){return Jdt(this)},TWt.ni=function(){return!0},TWt.oi=function(t,e){return But(this,e)},mZ(q6t,"AbstractEList",67),pDt(63,67,h8t,bc,wet,_at),TWt.Vh=function(t,e){return qAt(this,t,e)},TWt.Wh=function(t){return gyt(this,t)},TWt.Xh=function(t,e){Mht(this,t,e)},TWt.Yh=function(t){a6(this,t)},TWt.pi=function(t){return $7(this,t)},TWt.$b=function(){o6(this)},TWt.Hc=function(t){return Ckt(this,t)},TWt.Xb=function(t){return Ket(this,t)},TWt.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)},TWt.mi=function(t,e){return this.Ui(t,this.oi(t,e))},TWt.gc=function(){return this.Vi()},TWt.Pc=function(){return this.Wi()},TWt.Qc=function(t){return this.Xi(t)},TWt.Ib=function(){return this.Yi()},mZ(q6t,"DelegatingEList",1995),pDt(1996,1995,e7t),TWt.Vh=function(t,e){return c$t(this,t,e)},TWt.Wh=function(t){return this.Vh(this.Vi(),t)},TWt.Xh=function(t,e){iDt(this,t,e)},TWt.Yh=function(t){DMt(this,t)},TWt.ai=function(){return!this.bj()},TWt.$b=function(){yHt(this)},TWt.Zi=function(t,e,n,i,r){return new NV(this,t,e,n,i,r)},TWt.$i=function(t){got(this.Ai(),t)},TWt._i=function(){return null},TWt.aj=function(){return-1},TWt.Ai=function(){return null},TWt.bj=function(){return!1},TWt.cj=function(t,e){return e},TWt.dj=function(t,e){return e},TWt.ej=function(){return!1},TWt.fj=function(){return!this.Ri()},TWt.ii=function(t,e){var n,i;return this.ej()?(i=this.fj(),n=OEt(this,t,e),this.$i(this.Zi(7,rft(e),n,t,i)),n):OEt(this,t,e)},TWt.$c=function(t){var e,n,i,r;return this.ej()?(n=null,i=this.fj(),e=this.Zi(4,r=gH(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=gH(this,t),this.bj()&&r&&(n=this.dj(r,null))&&n.Fi(),r)},TWt.mi=function(t,e){return u$t(this,t,e)},mZ(r6t,"DelegatingNotifyingListImpl",1996),pDt(143,1,n7t),TWt.Ei=function(t){return j_t(this,t)},TWt.Fi=function(){O9(this)},TWt.xi=function(){return this.d},TWt._i=function(){return null},TWt.gj=function(){return null},TWt.yi=function(t){return-1},TWt.zi=function(){return RPt(this)},TWt.Ai=function(){return null},TWt.Bi=function(){return jPt(this)},TWt.Ci=function(){return this.o<0?this.o<-2?-2-this.o-1:-1:this.o},TWt.hj=function(){return!1},TWt.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(UI(t.Ai())===UI(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()&&UI(t.Ai())===UI(this.Ai())&&this.yi(null)==t.yi(null))return o=nUt(this),a=this.o<0?this.o<-2?-2-this.o-1:-1:this.o,i=t.Ci(),this.d=6,c=new wet(2),a<=i?(h7(c,this.n),h7(c,t.Bi()),this.g=Sst(Ux(DNe,1),hXt,25,15,[this.o=a,i+1])):(h7(c,t.Bi()),h7(c,this.n),this.g=Sst(Ux(DNe,1),hXt,25,15,[this.o=i,a])),this.n=c,o||(this.o=-2-this.o-1),!0;break;case 6:if(4===t.xi()&&UI(t.Ai())===UI(this.Ai())&&this.yi(null)==t.yi(null)){for(o=nUt(this),i=t.Ci(),s=zz(this.g,48),n=P8(DNe,hXt,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:y_(n,this.d)}if(dRt(this)&&(n.a+=", touch: true"),n.a+=", position: ",y_(n,this.o<0?this.o<-2?-2-this.o-1:-1:this.o),n.a+=", notifier: ",rM(n,this.Ai()),n.a+=", feature: ",rM(n,this._i()),n.a+=", oldValue: ",rM(n,jPt(this)),n.a+=", newValue: ",6==this.d&&aL(this.g,48)){for(e=zz(this.g,48),n.a+="[",t=0;t10?(this.b&&this.c.j==this.a||(this.b=new OH(this),this.a=this.j),$A(this.b,t)):Ckt(this,t)},TWt.ni=function(){return!0},TWt.a=0,mZ(q6t,"AbstractEList/1",953),pDt(295,73,PXt,eR),mZ(q6t,"AbstractEList/BasicIndexOutOfBoundsException",295),pDt(40,1,VWt,DL),TWt.Nb=function(t){hY(this,t)},TWt.mj=function(){if(this.i.j!=this.f)throw qw(new mm)},TWt.nj=function(){return kwt(this)},TWt.Ob=function(){return this.e!=this.i.gc()},TWt.Pb=function(){return this.nj()},TWt.Qb=function(){Vkt(this)},TWt.e=0,TWt.f=0,TWt.g=-1,mZ(q6t,"AbstractEList/EIterator",40),pDt(278,40,oKt,aP,UY),TWt.Qb=function(){Vkt(this)},TWt.Rb=function(t){upt(this,t)},TWt.oj=function(){var t;try{return t=this.d.Xb(--this.e),this.mj(),this.g=this.e,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.pj=function(t){kyt(this,t)},TWt.Sb=function(){return 0!=this.e},TWt.Tb=function(){return this.e},TWt.Ub=function(){return this.oj()},TWt.Vb=function(){return this.e-1},TWt.Wb=function(t){this.pj(t)},mZ(q6t,"AbstractEList/EListIterator",278),pDt(341,40,VWt,oP),TWt.nj=function(){return _wt(this)},TWt.Qb=function(){throw qw(new wm)},mZ(q6t,"AbstractEList/NonResolvingEIterator",341),pDt(385,278,oKt,sP,FR),TWt.Rb=function(t){throw qw(new wm)},TWt.nj=function(){var t;try{return t=this.c.ki(this.e),this.mj(),this.g=this.e++,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.oj=function(){var t;try{return t=this.c.ki(--this.e),this.mj(),this.g=this.e,t}catch(t){throw aL(t=dst(t),73)?(this.mj(),qw(new vm)):qw(t)}},TWt.Qb=function(){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(q6t,"AbstractEList/NonResolvingEListIterator",385),pDt(1982,67,a7t),TWt.Vh=function(t,e){var n,i,r,a,o,s,c,u,l;if(0!=(i=e.gc())){for(n=Sut(this,(u=null==(c=zz(xot(this.a,4),126))?0:c.length)+i),(l=u-t)>0&&sqt(c,t,n,t+i,l),s=e.Kc(),a=0;an)throw qw(new eR(t,n));return new zW(this,t)},TWt.$b=function(){var t,e;++this.j,e=null==(t=zz(xot(this.a,4),126))?0:t.length,zbt(this,null),L8(this,e,t)},TWt.Hc=function(t){var e,n,i,r;if(null!=(e=zz(xot(this.a,4),126)))if(null!=t){for(i=0,r=(n=e).length;i=(n=null==(e=zz(xot(this.a,4),126))?0:e.length))throw qw(new eR(t,n));return e[t]},TWt.Xc=function(t){var e,n,i;if(null!=(e=zz(xot(this.a,4),126)))if(null!=t){for(n=0,i=e.length;nn)throw qw(new eR(t,n));return new $W(this,t)},TWt.ii=function(t,e){var n,i,r;if(t>=(r=null==(n=Lpt(this))?0:n.length))throw qw(new Dv(c8t+t+u8t+r));if(e>=r)throw qw(new Dv(l8t+e+u8t+r));return i=n[e],t!=e&&(t0&&sqt(t,0,e,0,n),e},TWt.Qc=function(t){var e,n;return(n=null==(e=zz(xot(this.a,4),126))?0:e.length)>0&&(t.lengthn&&OZ(t,n,null),t},mZ(q6t,"ArrayDelegatingEList",1982),pDt(1038,40,VWt,E5),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},TWt.Qb=function(){Vkt(this),this.a=zz(xot(this.b.a,4),126)},mZ(q6t,"ArrayDelegatingEList/EIterator",1038),pDt(706,278,oKt,XG,$W),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},TWt.pj=function(t){kyt(this,t),this.a=zz(xot(this.b.a,4),126)},TWt.Qb=function(){Vkt(this),this.a=zz(xot(this.b.a,4),126)},mZ(q6t,"ArrayDelegatingEList/EListIterator",706),pDt(1039,341,VWt,T5),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},mZ(q6t,"ArrayDelegatingEList/NonResolvingEIterator",1039),pDt(707,385,oKt,VG,zW),TWt.mj=function(){if(this.b.j!=this.f||UI(zz(xot(this.b.a,4),126))!==UI(this.a))throw qw(new mm)},mZ(q6t,"ArrayDelegatingEList/NonResolvingEListIterator",707),pDt(606,295,PXt,LM),mZ(q6t,"BasicEList/BasicIndexOutOfBoundsException",606),pDt(696,63,h8t,BI),TWt.Vc=function(t,e){throw qw(new wm)},TWt.Fc=function(t){throw qw(new wm)},TWt.Wc=function(t,e){throw qw(new wm)},TWt.Gc=function(t){throw qw(new wm)},TWt.$b=function(){throw qw(new wm)},TWt.qi=function(t){throw qw(new wm)},TWt.Kc=function(){return this.Zh()},TWt.Yc=function(){return this.$h()},TWt.Zc=function(t){return this._h(t)},TWt.ii=function(t,e){throw qw(new wm)},TWt.ji=function(t,e){throw qw(new wm)},TWt.$c=function(t){throw qw(new wm)},TWt.Mc=function(t){throw qw(new wm)},TWt._c=function(t,e){throw qw(new wm)},mZ(q6t,"BasicEList/UnmodifiableEList",696),pDt(705,1,{3:1,20:1,14:1,15:1,58:1,589:1}),TWt.Vc=function(t,e){XO(this,t,zz(e,42))},TWt.Fc=function(t){return oB(this,zz(t,42))},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return zz(Ket(this.c,t),133)},TWt.ii=function(t,e){return zz(this.c.ii(t,e),42)},TWt.ji=function(t,e){VO(this,t,zz(e,42))},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return zz(this.c.$c(t),42)},TWt._c=function(t,e){return sZ(this,t,zz(e,42))},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.Wc=function(t,e){return this.c.Wc(t,e)},TWt.Gc=function(t){return this.c.Gc(t)},TWt.$b=function(){this.c.$b()},TWt.Hc=function(t){return this.c.Hc(t)},TWt.Ic=function(t){return ust(this.c,t)},TWt.qj=function(){var t,e;if(null==this.d){for(this.d=P8(cDe,o7t,63,2*this.f+1,0,1),e=this.e,this.f=0,t=this.c.Kc();t.e!=t.i.gc();)Mmt(this,zz(t.nj(),133));this.e=e}},TWt.Fb=function(t){return NR(this,t)},TWt.Hb=function(){return Tst(this.c)},TWt.Xc=function(t){return this.c.Xc(t)},TWt.rj=function(){this.c=new lw(this)},TWt.dc=function(){return 0==this.f},TWt.Kc=function(){return this.c.Kc()},TWt.Yc=function(){return this.c.Yc()},TWt.Zc=function(t){return this.c.Zc(t)},TWt.sj=function(){return D8(this)},TWt.tj=function(t,e,n){return new Tz(t,e,n)},TWt.uj=function(){return new mc},TWt.Mc=function(t){return hit(this,t)},TWt.gc=function(){return this.f},TWt.bd=function(t,e){return new u1(this.c,t,e)},TWt.Pc=function(){return this.c.Pc()},TWt.Qc=function(t){return this.c.Qc(t)},TWt.Ib=function(){return Jdt(this.c)},TWt.e=0,TWt.f=0,mZ(q6t,"BasicEMap",705),pDt(1033,63,h8t,lw),TWt.bi=function(t,e){Dm(this,zz(e,133))},TWt.ei=function(t,e,n){var i;++(i=this,zz(e,133),i).a.e},TWt.fi=function(t,e){Om(this,zz(e,133))},TWt.gi=function(t,e,n){KN(this,zz(e,133),zz(n,133))},TWt.di=function(t,e){sot(this.a)},mZ(q6t,"BasicEMap/1",1033),pDt(1034,63,h8t,mc),TWt.ri=function(t){return P8(mDe,s7t,612,t,0,1)},mZ(q6t,"BasicEMap/2",1034),pDt(1035,eKt,nKt,hw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){return apt(this.a,t)},TWt.Kc=function(){return 0==this.a.f?(pB(),wDe.a):new zk(this.a)},TWt.Mc=function(t){var e;return e=this.a.f,Kpt(this.a,t),this.a.f!=e},TWt.gc=function(){return this.a.f},mZ(q6t,"BasicEMap/3",1035),pDt(1036,28,tKt,fw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){return QBt(this.a,t)},TWt.Kc=function(){return 0==this.a.f?(pB(),wDe.a):new qk(this.a)},TWt.gc=function(){return this.a.f},mZ(q6t,"BasicEMap/4",1036),pDt(1037,eKt,nKt,dw),TWt.$b=function(){this.a.c.$b()},TWt.Hc=function(t){var e,n,i,r,a,o,s,c,u;if(this.a.f>0&&aL(t,42)&&(this.a.qj(),r=null==(s=(c=zz(t,42)).cd())?0:eut(s),a=nF(this.a,r),e=this.a.d[a]))for(n=zz(e.g,367),u=e.i,o=0;o"+this.c},TWt.a=0;var wDe,mDe=mZ(q6t,"BasicEMap/EntryImpl",612);pDt(536,1,{},uc),mZ(q6t,"BasicEMap/View",536),pDt(768,1,{}),TWt.Fb=function(t){return PDt((TX(),lne),t)},TWt.Hb=function(){return zct((TX(),lne))},TWt.Ib=function(){return NEt((TX(),lne))},mZ(q6t,"ECollections/BasicEmptyUnmodifiableEList",768),pDt(1312,1,oKt,yc),TWt.Nb=function(t){hY(this,t)},TWt.Rb=function(t){throw qw(new wm)},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},TWt.Pb=function(){throw qw(new vm)},TWt.Tb=function(){return 0},TWt.Ub=function(){throw qw(new vm)},TWt.Vb=function(){return-1},TWt.Qb=function(){throw qw(new wm)},TWt.Wb=function(t){throw qw(new wm)},mZ(q6t,"ECollections/BasicEmptyUnmodifiableEList/1",1312),pDt(1310,768,{20:1,14:1,15:1,58:1},Ay),TWt.Vc=function(t,e){N_()},TWt.Fc=function(t){return P_()},TWt.Wc=function(t,e){return B_()},TWt.Gc=function(t){return F_()},TWt.$b=function(){R_()},TWt.Hc=function(t){return!1},TWt.Ic=function(t){return!1},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return vM((TX(),t)),null},TWt.Xc=function(t){return-1},TWt.dc=function(){return!0},TWt.Kc=function(){return this.a},TWt.Yc=function(){return this.a},TWt.Zc=function(t){return this.a},TWt.ii=function(t,e){return j_()},TWt.ji=function(t,e){$_()},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return z_()},TWt.Mc=function(t){return q_()},TWt._c=function(t,e){return H_()},TWt.gc=function(){return 0},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.bd=function(t,e){return TX(),new u1(lne,t,e)},TWt.Pc=function(){return aG((TX(),lne))},TWt.Qc=function(t){return TX(),Ayt(lne,t)},mZ(q6t,"ECollections/EmptyUnmodifiableEList",1310),pDt(1311,768,{20:1,14:1,15:1,58:1,589:1},Ey),TWt.Vc=function(t,e){N_()},TWt.Fc=function(t){return P_()},TWt.Wc=function(t,e){return B_()},TWt.Gc=function(t){return F_()},TWt.$b=function(){R_()},TWt.Hc=function(t){return!1},TWt.Ic=function(t){return!1},TWt.Jc=function(t){n5(this,t)},TWt.Xb=function(t){return vM((TX(),t)),null},TWt.Xc=function(t){return-1},TWt.dc=function(){return!0},TWt.Kc=function(){return this.a},TWt.Yc=function(){return this.a},TWt.Zc=function(t){return this.a},TWt.ii=function(t,e){return j_()},TWt.ji=function(t,e){$_()},TWt.Lc=function(){return new FH(null,new g1(this,16))},TWt.$c=function(t){return z_()},TWt.Mc=function(t){return q_()},TWt._c=function(t,e){return H_()},TWt.gc=function(){return 0},TWt.ad=function(t){$rt(this,t)},TWt.Nc=function(){return new g1(this,16)},TWt.Oc=function(){return new FH(null,new g1(this,16))},TWt.bd=function(t,e){return TX(),new u1(lne,t,e)},TWt.Pc=function(){return aG((TX(),lne))},TWt.Qc=function(t){return TX(),Ayt(lne,t)},TWt.sj=function(){return TX(),TX(),hne},mZ(q6t,"ECollections/EmptyUnmodifiableEMap",1311);var yDe,vDe=dH(q6t,"Enumerator");pDt(281,1,{281:1},aFt),TWt.Fb=function(t){var e;return this===t||!!aL(t,281)&&(e=zz(t,281),this.f==e.f&&mU(this.i,e.i)&&wU(this.a,0!=(256&this.f)?0!=(256&e.f)?e.a:null:0!=(256&e.f)?null:e.a)&&wU(this.d,e.d)&&wU(this.g,e.g)&&wU(this.e,e.e)&&Cwt(this,e))},TWt.Hb=function(){return this.f},TWt.Ib=function(){return Tjt(this)},TWt.f=0;var xDe,kDe,_De,ADe=0,EDe=0,TDe=0,CDe=0,SDe=0,IDe=0,MDe=0,DDe=0,ODe=0,LDe=0,NDe=0,PDe=0,BDe=0;mZ(q6t,"URI",281),pDt(1091,43,nVt,Ty),TWt.zc=function(t,e){return zz(yJ(this,TB(t),zz(e,281)),281)},mZ(q6t,"URI/URICache",1091),pDt(497,63,h8t,fc,rU),TWt.hi=function(){return!0},mZ(q6t,"UniqueEList",497),pDt(581,60,qKt,L9),mZ(q6t,"WrappedException",581);var FDe,RDe=dH(U5t,l7t),jDe=dH(U5t,h7t),$De=dH(U5t,f7t),zDe=dH(U5t,d7t),qDe=dH(U5t,g7t),HDe=dH(U5t,"EClass"),UDe=dH(U5t,"EDataType");pDt(1183,43,nVt,Cy),TWt.xc=function(t){return ZI(t)?TQ(this,t):HI(DV(this.f,t))},mZ(U5t,"EDataType/Internal/ConversionDelegate/Factory/Registry/Impl",1183);var GDe,YDe,ZDe=dH(U5t,"EEnum"),WDe=dH(U5t,p7t),KDe=dH(U5t,b7t),XDe=dH(U5t,w7t),VDe=dH(U5t,m7t),QDe=dH(U5t,y7t);pDt(1029,1,{},hc),TWt.Ib=function(){return"NIL"},mZ(U5t,"EStructuralFeature/Internal/DynamicValueHolder/1",1029),pDt(1028,43,nVt,Sy),TWt.xc=function(t){return ZI(t)?TQ(this,t):HI(DV(this.f,t))},mZ(U5t,"EStructuralFeature/Internal/SettingDelegate/Factory/Registry/Impl",1028);var JDe,tOe,eOe,nOe,iOe,rOe,aOe,oOe,sOe,cOe,uOe,lOe,hOe,fOe,dOe,gOe,pOe,bOe,wOe,mOe,yOe,vOe,xOe,kOe,_Oe,AOe,EOe,TOe,COe,SOe,IOe,MOe=dH(U5t,v7t),DOe=dH(U5t,"EValidator/PatternMatcher"),OOe=dH(x7t,"FeatureMap/Entry");pDt(535,1,{72:1},SI),TWt.ak=function(){return this.a},TWt.dd=function(){return this.b},mZ(d6t,"BasicEObjectImpl/1",535),pDt(1027,1,k7t,II),TWt.Wj=function(t){return K5(this.a,this.b,t)},TWt.fj=function(){return JQ(this.a,this.b)},TWt.Wb=function(t){NQ(this.a,this.b,t)},TWt.Xj=function(){CW(this.a,this.b)},mZ(d6t,"BasicEObjectImpl/4",1027),pDt(1983,1,{108:1}),TWt.bk=function(t){this.e=0==t?EOe:P8(Ote,HWt,1,t,5,1)},TWt.Ch=function(t){return this.e[t]},TWt.Dh=function(t,e){this.e[t]=e},TWt.Eh=function(t){this.e[t]=null},TWt.ck=function(){return this.c},TWt.dk=function(){throw qw(new wm)},TWt.ek=function(){throw qw(new wm)},TWt.fk=function(){return this.d},TWt.gk=function(){return null!=this.e},TWt.hk=function(t){this.c=t},TWt.ik=function(t){throw qw(new wm)},TWt.jk=function(t){throw qw(new wm)},TWt.kk=function(t){this.d=t},mZ(d6t,"BasicEObjectImpl/EPropertiesHolderBaseImpl",1983),pDt(185,1983,{108:1},Fh),TWt.dk=function(){return this.a},TWt.ek=function(){return this.b},TWt.ik=function(t){this.a=t},TWt.jk=function(t){this.b=t},mZ(d6t,"BasicEObjectImpl/EPropertiesHolderImpl",185),pDt(506,97,f6t,vc),TWt.Kg=function(){return this.f},TWt.Pg=function(){return this.k},TWt.Rg=function(t,e){this.g=t,this.i=e},TWt.Tg=function(){return 0==(2&this.j)?this.zh():this.ph().ck()},TWt.Vg=function(){return this.i},TWt.Mg=function(){return 0!=(1&this.j)},TWt.eh=function(){return this.g},TWt.kh=function(){return 0!=(4&this.j)},TWt.ph=function(){return!this.k&&(this.k=new Fh),this.k},TWt.th=function(t){this.ph().hk(t),t?this.j|=2:this.j&=-3},TWt.vh=function(t){this.ph().jk(t),t?this.j|=4:this.j&=-5},TWt.zh=function(){return(XZ(),eOe).S},TWt.i=0,TWt.j=1,mZ(d6t,"EObjectImpl",506),pDt(780,506,{105:1,92:1,90:1,56:1,108:1,49:1,97:1},kq),TWt.Ch=function(t){return this.e[t]},TWt.Dh=function(t,e){this.e[t]=e},TWt.Eh=function(t){this.e[t]=null},TWt.Tg=function(){return this.d},TWt.Yg=function(t){return Ogt(this.d,t)},TWt.$g=function(){return this.d},TWt.dh=function(){return null!=this.e},TWt.ph=function(){return!this.k&&(this.k=new xc),this.k},TWt.th=function(t){this.d=t},TWt.yh=function(){var t;return null==this.e&&(t=dZ(this.d),this.e=0==t?TOe:P8(Ote,HWt,1,t,5,1)),this},TWt.Ah=function(){return 0},mZ(d6t,"DynamicEObjectImpl",780),pDt(1376,780,{105:1,42:1,92:1,90:1,133:1,56:1,108:1,49:1,97:1},hH),TWt.Fb=function(t){return this===t},TWt.Hb=function(){return CN(this)},TWt.th=function(t){this.d=t,this.b=PNt(t,"key"),this.c=PNt(t,A6t)},TWt.Sh=function(){var t;return-1==this.a&&(t=Q9(this,this.b),this.a=null==t?0:eut(t)),this.a},TWt.cd=function(){return Q9(this,this.b)},TWt.dd=function(){return Q9(this,this.c)},TWt.Th=function(t){this.a=t},TWt.Uh=function(t){NQ(this,this.b,t)},TWt.ed=function(t){var e;return e=Q9(this,this.c),NQ(this,this.c,t),e},TWt.a=0,mZ(d6t,"DynamicEObjectImpl/BasicEMapEntry",1376),pDt(1377,1,{108:1},xc),TWt.bk=function(t){throw qw(new wm)},TWt.Ch=function(t){throw qw(new wm)},TWt.Dh=function(t,e){throw qw(new wm)},TWt.Eh=function(t){throw qw(new wm)},TWt.ck=function(){throw qw(new wm)},TWt.dk=function(){return this.a},TWt.ek=function(){return this.b},TWt.fk=function(){return this.c},TWt.gk=function(){throw qw(new wm)},TWt.hk=function(t){throw qw(new wm)},TWt.ik=function(t){this.a=t},TWt.jk=function(t){this.b=t},TWt.kk=function(t){this.c=t},mZ(d6t,"DynamicEObjectImpl/DynamicEPropertiesHolderImpl",1377),pDt(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),TWt.Qg=function(t){return gxt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.d;case 2:return n?(!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),this.b):(!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),D8(this.b));case 3:return dJ(this);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),this.a;case 5:return!this.c&&(this.c=new FL(LMe,this,5)),this.c}return Y7(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 3:return this.Cb&&(n=(i=this.Db>>16)>=0?gxt(this,n):this.Cb.ih(this,-1-i,null,n)),XU(this,zz(t,147),n)}return zz(iet(zz(xot(this,16),26)||(wWt(),nOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),nOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),zR(this.b,t,n);case 3:return XU(this,null,n);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),nOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),nOe)),t,n)},TWt.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!!dJ(this);case 4:return!!this.a&&0!=this.a.i;case 5:return!!this.c&&0!=this.c.i}return M3(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void wH(this,TB(e));case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),void not(this.b,e);case 3:return void DNt(this,zz(e,147));case 4:return!this.a&&(this.a=new OL(LMe,this,4)),lHt(this.a),!this.a&&(this.a=new OL(LMe,this,4)),void wZ(this.a,zz(e,14));case 5:return!this.c&&(this.c=new FL(LMe,this,5)),lHt(this.c),!this.c&&(this.c=new FL(LMe,this,5)),void wZ(this.c,zz(e,14))}Ndt(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t),e)},TWt.zh=function(){return wWt(),nOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void qit(this,null);case 2:return!this.b&&(this.b=new QP((wWt(),xOe),ZOe,this)),void this.b.c.$b();case 3:return void DNt(this,null);case 4:return!this.a&&(this.a=new OL(LMe,this,4)),void lHt(this.a);case 5:return!this.c&&(this.c=new FL(LMe,this,5)),void lHt(this.c)}Uht(this,t-dZ((wWt(),nOe)),iet(zz(xot(this,16),26)||nOe,t))},TWt.Ib=function(){return Xht(this)},TWt.d=null,mZ(d6t,"EAnnotationImpl",510),pDt(151,705,_7t,v7),TWt.Xh=function(t,e){tO(this,t,zz(e,42))},TWt.lk=function(t,e){return $R(this,zz(t,42),e)},TWt.pi=function(t){return zz(zz(this.c,69).pi(t),133)},TWt.Zh=function(){return zz(this.c,69).Zh()},TWt.$h=function(){return zz(this.c,69).$h()},TWt._h=function(t){return zz(this.c,69)._h(t)},TWt.mk=function(t,e){return zR(this,t,e)},TWt.Wj=function(t){return zz(this.c,76).Wj(t)},TWt.rj=function(){},TWt.fj=function(){return zz(this.c,76).fj()},TWt.tj=function(t,e,n){var i;return(i=zz(Zet(this.b).Nh().Jh(this.b),133)).Th(t),i.Uh(e),i.ed(n),i},TWt.uj=function(){return new Iw(this)},TWt.Wb=function(t){not(this,t)},TWt.Xj=function(){zz(this.c,76).Xj()},mZ(x7t,"EcoreEMap",151),pDt(158,151,_7t,QP),TWt.qj=function(){var t,e,n,i,r;if(null==this.d){for(r=P8(cDe,o7t,63,2*this.f+1,0,1),n=this.c.Kc();n.e!=n.i.gc();)!(t=r[i=((e=zz(n.nj(),133)).Sh()&FWt)%r.length])&&(t=r[i]=new Iw(this)),t.Fc(e);this.d=r}},mZ(d6t,"EAnnotationImpl/1",158),pDt(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}),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!this.$j();case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i)}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void this.Lh(TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void this.ok(zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi())}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),_Oe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void this.Lh(null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void this.ok(1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi())}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){Mxt(this),this.Bb|=1},TWt.Yj=function(){return Mxt(this)},TWt.Zj=function(){return this.t},TWt.$j=function(){var t;return(t=this.t)>1||-1==t},TWt.hi=function(){return 0!=(512&this.Bb)},TWt.nk=function(t,e){return Sht(this,t,e)},TWt.ok=function(t){Pnt(this,t)},TWt.Ib=function(){return jMt(this)},TWt.s=0,TWt.t=1,mZ(d6t,"ETypedElementImpl",284),pDt(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}),TWt.Qg=function(t){return Pvt(this,t)},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!this.$j();case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this)}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 17:return this.Cb&&(n=(i=this.Db>>16)>=0?Pvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,17,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 17:return Ejt(this,null,17,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this)}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void this.ok(zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),kOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void this.ok(1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.Gh=function(){xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.Gj=function(){return this.f},TWt.zj=function(){return ULt(this)},TWt.Hj=function(){return pJ(this)},TWt.Lj=function(){return null},TWt.pk=function(){return this.k},TWt.aj=function(){return this.n},TWt.Mj=function(){return u_t(this)},TWt.Nj=function(){var t,e,n,i,r,a,o,s,c;return this.p||((null==(n=pJ(this)).i&&U$t(n),n.i).length,(i=this.Lj())&&dZ(pJ(i)),t=(o=(r=Mxt(this)).Bj())?0!=(1&o.i)?o==ONe?kee:o==DNe?Oee:o==BNe?Iee:o==PNe?See:o==LNe?Ree:o==FNe?$ee:o==NNe?Eee:Cee:o:null,e=ULt(this),s=r.zj(),gdt(this),0!=(this.Bb&hKt)&&((a=vkt((MCt(),JOe),n))&&a!=this||(a=J1(z9(JOe,this))))?this.p=new DI(this,a):this.$j()?this.rk()?i?0!=(this.Bb&E7t)?t?this.sk()?this.p=new fX(47,t,this,i):this.p=new fX(5,t,this,i):this.sk()?this.p=new g4(46,this,i):this.p=new g4(4,this,i):t?this.sk()?this.p=new fX(49,t,this,i):this.p=new fX(7,t,this,i):this.sk()?this.p=new g4(48,this,i):this.p=new g4(6,this,i):0!=(this.Bb&E7t)?t?t==Hte?this.p=new Cz(50,KMe,this):this.sk()?this.p=new Cz(43,t,this):this.p=new Cz(1,t,this):this.sk()?this.p=new FV(42,this):this.p=new FV(0,this):t?t==Hte?this.p=new Cz(41,KMe,this):this.sk()?this.p=new Cz(45,t,this):this.p=new Cz(3,t,this):this.sk()?this.p=new FV(44,this):this.p=new FV(2,this):aL(r,148)?t==OOe?this.p=new FV(40,this):0!=(512&this.Bb)?0!=(this.Bb&E7t)?this.p=t?new Cz(9,t,this):new FV(8,this):this.p=t?new Cz(11,t,this):new FV(10,this):0!=(this.Bb&E7t)?this.p=t?new Cz(13,t,this):new FV(12,this):this.p=t?new Cz(15,t,this):new FV(14,this):i?(c=i.t)>1||-1==c?this.sk()?0!=(this.Bb&E7t)?this.p=t?new fX(25,t,this,i):new g4(24,this,i):this.p=t?new fX(27,t,this,i):new g4(26,this,i):0!=(this.Bb&E7t)?this.p=t?new fX(29,t,this,i):new g4(28,this,i):this.p=t?new fX(31,t,this,i):new g4(30,this,i):this.sk()?0!=(this.Bb&E7t)?this.p=t?new fX(33,t,this,i):new g4(32,this,i):this.p=t?new fX(35,t,this,i):new g4(34,this,i):0!=(this.Bb&E7t)?this.p=t?new fX(37,t,this,i):new g4(36,this,i):this.p=t?new fX(39,t,this,i):new g4(38,this,i):this.sk()?0!=(this.Bb&E7t)?this.p=t?new Cz(17,t,this):new FV(16,this):this.p=t?new Cz(19,t,this):new FV(18,this):0!=(this.Bb&E7t)?this.p=t?new Cz(21,t,this):new FV(20,this):this.p=t?new Cz(23,t,this):new FV(22,this):this.qk()?this.sk()?this.p=new Sz(zz(r,26),this,i):this.p=new yQ(zz(r,26),this,i):aL(r,148)?t==OOe?this.p=new FV(40,this):0!=(this.Bb&E7t)?this.p=t?new tG(e,s,this,(qgt(),o==DNe?HOe:o==ONe?ROe:o==LNe?UOe:o==BNe?qOe:o==PNe?zOe:o==FNe?YOe:o==NNe?jOe:o==MNe?$Oe:GOe)):new pX(zz(r,148),e,s,this):this.p=t?new JU(e,s,this,(qgt(),o==DNe?HOe:o==ONe?ROe:o==LNe?UOe:o==BNe?qOe:o==PNe?zOe:o==FNe?YOe:o==NNe?jOe:o==MNe?$Oe:GOe)):new gX(zz(r,148),e,s,this):this.rk()?i?0!=(this.Bb&E7t)?this.sk()?this.p=new Nz(zz(r,26),this,i):this.p=new Lz(zz(r,26),this,i):this.sk()?this.p=new Oz(zz(r,26),this,i):this.p=new Iz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.sk()?this.p=new nB(zz(r,26),this):this.p=new eB(zz(r,26),this):this.sk()?this.p=new tB(zz(r,26),this):this.p=new JP(zz(r,26),this):this.sk()?i?0!=(this.Bb&E7t)?this.p=new Pz(zz(r,26),this,i):this.p=new Mz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.p=new rB(zz(r,26),this):this.p=new iB(zz(r,26),this):i?0!=(this.Bb&E7t)?this.p=new Bz(zz(r,26),this,i):this.p=new Dz(zz(r,26),this,i):0!=(this.Bb&E7t)?this.p=new aB(zz(r,26),this):this.p=new aU(zz(r,26),this)),this.p},TWt.Ij=function(){return 0!=(this.Bb&k6t)},TWt.qk=function(){return!1},TWt.rk=function(){return!1},TWt.Jj=function(){return 0!=(this.Bb&hKt)},TWt.Oj=function(){return ltt(this)},TWt.sk=function(){return!1},TWt.Kj=function(){return 0!=(this.Bb&E7t)},TWt.tk=function(t){this.k=t},TWt.Lh=function(t){QJ(this,t)},TWt.Ib=function(){return AFt(this)},TWt.e=!1,TWt.n=0,mZ(d6t,"EStructuralFeatureImpl",449),pDt(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},My),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),!!PIt(this);case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this);case 18:return lN(),0!=(this.Bb&h6t);case 19:return e?cst(this):P6(this)}return Y7(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t),e,n)},TWt.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 PIt(this);case 7:return this.s>=1;case 8:return!!this.r&&!this.q.e&&0==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this);case 18:return 0!=(this.Bb&h6t);case 19:return!!P6(this)}return M3(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Yk(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)));case 18:return void Gft(this,Hv(AB(e)))}Ndt(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t),e)},TWt.zh=function(){return wWt(),iOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return this.b=0,void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1);case 18:return void Gft(this,!1)}Uht(this,t-dZ((wWt(),iOe)),iet(zz(xot(this,16),26)||iOe,t))},TWt.Gh=function(){cst(this),xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.$j=function(){return PIt(this)},TWt.nk=function(t,e){return this.b=0,this.a=null,Sht(this,t,e)},TWt.ok=function(t){Yk(this,t)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?AFt(this):((t=new hN(AFt(this))).a+=" (iD: ",v_(t,0!=(this.Bb&h6t)),t.a+=")",t.a)},TWt.b=0,mZ(d6t,"EAttributeImpl",322),pDt(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}),TWt.uk=function(t){return t.Tg()==this},TWt.Qg=function(t){return fvt(this,t)},TWt.Rg=function(t,e){this.w=null,this.Db=e<<16|255&this.Db,this.Cb=t},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return this.zj();case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A}return Y7(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Qj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n)}return zz(iet(zz(xot(this,16),26)||this.zh(),e),66).Nj().Rj(this,fbt(this),e-dZ(this.zh()),t,n)},TWt.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!!rvt(this);case 4:return null!=this.zj();case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(this);case 7:return!!this.A&&0!=this.A.i}return M3(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14))}Ndt(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t),e)},TWt.zh=function(){return wWt(),aOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A)}Uht(this,t-dZ(this.zh()),iet(zz(xot(this,16),26)||this.zh(),t))},TWt.yj=function(){var t;return-1==this.G&&(this.G=(t=Zet(this))?cmt(t.Mh(),this):-1),this.G},TWt.zj=function(){return null},TWt.Aj=function(){return Zet(this)},TWt.vk=function(){return this.v},TWt.Bj=function(){return rvt(this)},TWt.Cj=function(){return null!=this.D?this.D:this.B},TWt.Dj=function(){return this.F},TWt.wj=function(t){return C$t(this,t)},TWt.wk=function(t){this.v=t},TWt.xk=function(t){Zrt(this,t)},TWt.yk=function(t){this.C=t},TWt.Lh=function(t){JJ(this,t)},TWt.Ib=function(){return Igt(this)},TWt.C=null,TWt.D=null,TWt.G=-1,mZ(d6t,"EClassifierImpl",351),pDt(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},Rh),TWt.uk=function(t){return XF(this,t.Tg())},TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return null!=this.D?this.D:this.B;case 3:return rvt(this);case 4:return null;case 5:return this.F;case 6:return e?Zet(this):gJ(this);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),this.A;case 8:return lN(),0!=(256&this.Bb);case 9:return lN(),0!=(512&this.Bb);case 10:return xV(this);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),this.q;case 12:return Qzt(this);case 13:return Rzt(this);case 14:return Rzt(this),this.r;case 15:return Qzt(this),this.k;case 16:return KCt(this);case 17:return wzt(this);case 18:return U$t(this);case 19:return ILt(this);case 20:return Qzt(this),this.o;case 21:return!this.s&&(this.s=new nY($De,this,21,17)),this.s;case 22:return o4(this);case 23:return HBt(this)}return Y7(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 6:return this.Cb&&(n=(i=this.Db>>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),Qgt(this.q,t,n);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),Qgt(this.s,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),rOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),rOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n);case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),$wt(this.q,t,n);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),$wt(this.s,t,n);case 22:return $wt(o4(this),t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),rOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),rOe)),t,n)},TWt.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!!rvt(this);case 4:return!1;case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(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==o4(this.u.a).i||this.n&&Rmt(this.n));case 11:return!!this.q&&0!=this.q.i;case 12:return 0!=Qzt(this).i;case 13:return 0!=Rzt(this).i;case 14:return Rzt(this),0!=this.r.i;case 15:return Qzt(this),0!=this.k.i;case 16:return 0!=KCt(this).i;case 17:return 0!=wzt(this).i;case 18:return 0!=U$t(this).i;case 19:return 0!=ILt(this).i;case 20:return Qzt(this),!!this.o;case 21:return!!this.s&&0!=this.s.i;case 22:return!!this.n&&Rmt(this.n);case 23:return 0!=HBt(this).i}return M3(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t))},TWt.oh=function(t){return(null==this.i||this.q&&0!=this.q.i?null:PNt(this,t))||hYt(this,t)},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14));case 8:return void Jht(this,Hv(AB(e)));case 9:return void nft(this,Hv(AB(e)));case 10:return yHt(xV(this)),void wZ(xV(this),zz(e,14));case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),lHt(this.q),!this.q&&(this.q=new nY(XDe,this,11,10)),void wZ(this.q,zz(e,14));case 21:return!this.s&&(this.s=new nY($De,this,21,17)),lHt(this.s),!this.s&&(this.s=new nY($De,this,21,17)),void wZ(this.s,zz(e,14));case 22:return lHt(o4(this)),void wZ(o4(this),zz(e,14))}Ndt(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t),e)},TWt.zh=function(){return wWt(),rOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A);case 8:return void Jht(this,!1);case 9:return void nft(this,!1);case 10:return void(this.u&&yHt(this.u));case 11:return!this.q&&(this.q=new nY(XDe,this,11,10)),void lHt(this.q);case 21:return!this.s&&(this.s=new nY($De,this,21,17)),void lHt(this.s);case 22:return void(this.n&&lHt(this.n))}Uht(this,t-dZ((wWt(),rOe)),iet(zz(xot(this,16),26)||rOe,t))},TWt.Gh=function(){var t,e;if(Qzt(this),Rzt(this),KCt(this),wzt(this),U$t(this),ILt(this),HBt(this),o6(Zz(C5(this))),this.s)for(t=0,e=this.s.i;t=0;--e)Ket(this,e);return Vgt(this,t)},TWt.Xj=function(){lHt(this)},TWt.oi=function(t,e){return $nt(this,t,e)},mZ(x7t,"EcoreEList",622),pDt(496,622,R7t,vq),TWt.ai=function(){return!1},TWt.aj=function(){return this.c},TWt.bj=function(){return!1},TWt.Fk=function(){return!0},TWt.hi=function(){return!0},TWt.li=function(t,e){return e},TWt.ni=function(){return!1},TWt.c=0,mZ(x7t,"EObjectEList",496),pDt(85,496,R7t,OL),TWt.bj=function(){return!0},TWt.Dk=function(){return!1},TWt.rk=function(){return!0},mZ(x7t,"EObjectContainmentEList",85),pDt(545,85,R7t,LL),TWt.ci=function(){this.b=!0},TWt.fj=function(){return this.b},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.b,this.b=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.b=!1},TWt.b=!1,mZ(x7t,"EObjectContainmentEList/Unsettable",545),pDt(1140,545,R7t,VU),TWt.ii=function(t,e){var n,i;return n=zz(Mft(this,t,e),87),yD(this.e)&&Lm(this,new k7(this.a,7,(wWt(),oOe),rft(e),aL(i=n.c,88)?zz(i,26):pOe,t)),n},TWt.jj=function(t,e){return tpt(this,zz(t,87),e)},TWt.kj=function(t,e){return Jgt(this,zz(t,87),e)},TWt.lj=function(t,e,n){return $kt(this,zz(t,87),zz(e,87),n)},TWt.Zi=function(t,e,n,i,r){switch(t){case 3:return vJ(this,t,e,n,i,this.i>1);case 5:return vJ(this,t,e,n,i,this.i-zz(n,15).gc()>0);default:return new N9(this.e,t,this.c,e,n,i,!0)}},TWt.ij=function(){return!0},TWt.fj=function(){return Rmt(this)},TWt.Xj=function(){lHt(this)},mZ(d6t,"EClassImpl/1",1140),pDt(1154,1153,t7t),TWt.ui=function(t){var e,n,i,r,a,o,s;if(8!=(n=t.xi())){if(0==(i=swt(t)))switch(n){case 1:case 9:null!=(s=t.Bi())&&(!(e=C5(zz(s,473))).c&&(e.c=new zc),utt(e.c,t.Ai())),null!=(o=t.zi())&&0==(1&(r=zz(o,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 3:null!=(o=t.zi())&&0==(1&(r=zz(o,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 5:if(null!=(o=t.zi()))for(a=zz(o,14).Kc();a.Ob();)0==(1&(r=zz(a.Pb(),473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),h7(e.c,zz(t.Ai(),26)));break;case 4:null!=(s=t.Bi())&&0==(1&(r=zz(s,473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),utt(e.c,t.Ai()));break;case 6:if(null!=(s=t.Bi()))for(a=zz(s,14).Kc();a.Ob();)0==(1&(r=zz(a.Pb(),473)).Bb)&&(!(e=C5(r)).c&&(e.c=new zc),utt(e.c,t.Ai()))}this.Hk(i)}},TWt.Hk=function(t){bFt(this,t)},TWt.b=63,mZ(d6t,"ESuperAdapter",1154),pDt(1155,1154,t7t,pw),TWt.Hk=function(t){OSt(this,t)},mZ(d6t,"EClassImpl/10",1155),pDt(1144,696,R7t),TWt.Vh=function(t,e){return qAt(this,t,e)},TWt.Wh=function(t){return gyt(this,t)},TWt.Xh=function(t,e){Mht(this,t,e)},TWt.Yh=function(t){a6(this,t)},TWt.pi=function(t){return $7(this,t)},TWt.mi=function(t,e){return ctt(this,t,e)},TWt.lk=function(t,e){throw qw(new wm)},TWt.Zh=function(){return new oP(this)},TWt.$h=function(){return new sP(this)},TWt._h=function(t){return lit(this,t)},TWt.mk=function(t,e){throw qw(new wm)},TWt.Wj=function(t){return this},TWt.fj=function(){return 0!=this.i},TWt.Wb=function(t){throw qw(new wm)},TWt.Xj=function(){throw qw(new wm)},mZ(x7t,"EcoreEList/UnmodifiableEList",1144),pDt(319,1144,R7t,NM),TWt.ni=function(){return!1},mZ(x7t,"EcoreEList/UnmodifiableEList/FastCompare",319),pDt(1147,319,R7t,bct),TWt.Xc=function(t){var e,n;if(aL(t,170)&&-1!=(e=zz(t,170).aj()))for(n=this.i;e4){if(!this.wj(t))return!1;if(this.rk()){if(o=(e=(n=zz(t,49)).Ug())==this.b&&(this.Dk()?n.Og(n.Vg(),zz(iet(kV(this.b),this.aj()).Yj(),26).Bj())==Imt(zz(iet(kV(this.b),this.aj()),18)).n:-1-n.Vg()==this.aj()),this.Ek()&&!o&&!e&&n.Zg())for(i=0;i1||-1==n)},TWt.Dk=function(){var t;return!!aL(t=iet(kV(this.b),this.aj()),99)&&!!Imt(zz(t,18))},TWt.Ek=function(){var t;return!!aL(t=iet(kV(this.b),this.aj()),99)&&0!=(zz(t,18).Bb&qXt)},TWt.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)iUt(this,t,this.Oi(t));return this.Wi()},TWt.Qc=function(t){var e;if(this.Ek())for(e=this.Vi()-1;e>=0;--e)iUt(this,e,this.Oi(e));return this.Xi(t)},TWt.Xj=function(){yHt(this)},TWt.oi=function(t,e){return z7(this,t,e)},mZ(x7t,"DelegatingEcoreEList",742),pDt(1150,742,H7t,sF),TWt.Hi=function(t,e){fB(this,t,zz(e,26))},TWt.Ii=function(t){nO(this,zz(t,26))},TWt.Oi=function(t){var e;return aL(e=zz(Ket(o4(this.a),t),87).c,88)?zz(e,26):(wWt(),pOe)},TWt.Ti=function(t){var e;return aL(e=zz(fBt(o4(this.a),t),87).c,88)?zz(e,26):(wWt(),pOe)},TWt.Ui=function(t,e){return byt(this,t,zz(e,26))},TWt.ai=function(){return!1},TWt.Zi=function(t,e,n,i,r){return null},TWt.Ji=function(){return new ww(this)},TWt.Ki=function(){lHt(o4(this.a))},TWt.Li=function(t){return Zht(this,t)},TWt.Mi=function(t){var e;for(e=t.Kc();e.Ob();)if(!Zht(this,e.Pb()))return!1;return!0},TWt.Ni=function(t){var e,n,i;if(aL(t,15)&&(i=zz(t,15)).gc()==o4(this.a).i){for(e=i.Kc(),n=new DL(this);e.Ob();)if(UI(e.Pb())!==UI(kwt(n)))return!1;return!0}return!1},TWt.Pi=function(){var t,e,n,i;for(e=1,t=new DL(o4(this.a));t.e!=t.i.gc();)e=31*e+((n=aL(i=zz(kwt(t),87).c,88)?zz(i,26):(wWt(),pOe))?CN(n):0);return e},TWt.Qi=function(t){var e,n,i,r;for(i=0,n=new DL(o4(this.a));n.e!=n.i.gc();){if(e=zz(kwt(n),87),UI(t)===UI(aL(r=e.c,88)?zz(r,26):(wWt(),pOe)))return i;++i}return-1},TWt.Ri=function(){return 0==o4(this.a).i},TWt.Si=function(){return null},TWt.Vi=function(){return o4(this.a).i},TWt.Wi=function(){var t,e,n,i,r,a;for(a=o4(this.a).i,r=P8(Ote,HWt,1,a,5,1),n=0,e=new DL(o4(this.a));e.e!=e.i.gc();)t=zz(kwt(e),87),r[n++]=aL(i=t.c,88)?zz(i,26):(wWt(),pOe);return r},TWt.Xi=function(t){var e,n,i,r;for(r=o4(this.a).i,t.lengthr&&OZ(t,r,null),n=0,e=new DL(o4(this.a));e.e!=e.i.gc();)OZ(t,n++,aL(i=zz(kwt(e),87).c,88)?zz(i,26):(wWt(),pOe));return t},TWt.Yi=function(){var t,e,n,i,r;for((r=new Tx).a+="[",t=o4(this.a),e=0,i=o4(this.a).i;e>16)>=0?fvt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,6,n);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),Qgt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),cOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),cOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 6:return Ejt(this,null,6,n);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),$wt(this.A,t,n);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),cOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),cOe)),t,n)},TWt.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!!rvt(this);case 4:return!!Vut(this);case 5:return null!=this.F&&this.F!=this.D&&this.F!=this.B;case 6:return!!gJ(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 M3(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void JJ(this,TB(e));case 2:return void ID(this,TB(e));case 5:return void QHt(this,TB(e));case 7:return!this.A&&(this.A=new NL(MOe,this,7)),lHt(this.A),!this.A&&(this.A=new NL(MOe,this,7)),void wZ(this.A,zz(e,14));case 8:return void tft(this,Hv(AB(e)));case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),lHt(this.a),!this.a&&(this.a=new nY(WDe,this,9,5)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t),e)},TWt.zh=function(){return wWt(),cOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,179)&&(zz(this.Cb,179).tb=null),void Prt(this,null);case 2:return Fut(this,null),void Bnt(this,this.D);case 5:return void QHt(this,null);case 7:return!this.A&&(this.A=new NL(MOe,this,7)),void lHt(this.A);case 8:return void tft(this,!0);case 9:return!this.a&&(this.a=new nY(WDe,this,9,5)),void lHt(this.a)}Uht(this,t-dZ((wWt(),cOe)),iet(zz(xot(this,16),26)||cOe,t))},TWt.Gh=function(){var t,e;if(this.a)for(t=0,e=this.a.i;t>16==5?zz(this.Cb,671):null}return Y7(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 5:return this.Cb&&(n=(i=this.Db>>16)>=0?dxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,5,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),uOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),uOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 5:return Ejt(this,null,5,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),uOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),uOe)),t,n)},TWt.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||!zz(this.Cb,671))}return M3(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Lnt(this,zz(e,19).a);case 3:return void wMt(this,zz(e,1940));case 4:return void zit(this,TB(e))}Ndt(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t),e)},TWt.zh=function(){return wWt(),uOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Lnt(this,0);case 3:return void wMt(this,null);case 4:return void zit(this,null)}Uht(this,t-dZ((wWt(),uOe)),iet(zz(xot(this,16),26)||uOe,t))},TWt.Ib=function(){var t;return null==(t=this.c)?this.zb:t},TWt.b=null,TWt.c=null,TWt.d=0,mZ(d6t,"EEnumLiteralImpl",573);var LOe,NOe,POe,BOe=dH(d6t,"EFactoryImpl/InternalEDateTimeFormat");pDt(489,1,{2015:1},mw),mZ(d6t,"EFactoryImpl/1ClientInternalEDateTimeFormat",489),pDt(241,115,{105:1,92:1,90:1,87:1,56:1,108:1,49:1,97:1,241:1,114:1,115:1},Rw),TWt.Sg=function(t,e,n){var i;return n=Ejt(this,t,e,n),this.e&&aL(t,170)&&(i=kLt(this,this.e))!=this.c&&(n=sGt(this,i,n)),n},TWt._g=function(t,e,n){switch(t){case 0:return this.f;case 1:return!this.d&&(this.d=new OL(KDe,this,1)),this.d;case 2:return e?d$t(this):this.c;case 3:return this.b;case 4:return this.e;case 5:return e?Umt(this):this.a}return Y7(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return eht(this,null,n);case 1:return!this.d&&(this.d=new OL(KDe,this,1)),$wt(this.d,t,n);case 3:return tht(this,null,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),hOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),hOe)),t,n)},TWt.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 M3(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t))},TWt.sh=function(t,e){switch(t){case 0:return void __t(this,zz(e,87));case 1:return!this.d&&(this.d=new OL(KDe,this,1)),lHt(this.d),!this.d&&(this.d=new OL(KDe,this,1)),void wZ(this.d,zz(e,14));case 3:return void k_t(this,zz(e,87));case 4:return void FEt(this,zz(e,836));case 5:return void ont(this,zz(e,138))}Ndt(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t),e)},TWt.zh=function(){return wWt(),hOe},TWt.Bh=function(t){switch(t){case 0:return void __t(this,null);case 1:return!this.d&&(this.d=new OL(KDe,this,1)),void lHt(this.d);case 3:return void k_t(this,null);case 4:return void FEt(this,null);case 5:return void ont(this,null)}Uht(this,t-dZ((wWt(),hOe)),iet(zz(xot(this,16),26)||hOe,t))},TWt.Ib=function(){var t;return(t=new fN(SOt(this))).a+=" (expression: ",gqt(this,t),t.a+=")",t.a},mZ(d6t,"EGenericTypeImpl",241),pDt(1969,1964,U7t),TWt.Xh=function(t,e){tF(this,t,e)},TWt.lk=function(t,e){return tF(this,this.gc(),t),e},TWt.pi=function(t){return Fwt(this.Gi(),t)},TWt.Zh=function(){return this.$h()},TWt.Gi=function(){return new Cw(this)},TWt.$h=function(){return this._h(0)},TWt._h=function(t){return this.Gi().Zc(t)},TWt.mk=function(t,e){return xgt(this,t,!0),e},TWt.ii=function(t,e){var n;return n=nxt(this,e),this.Zc(t).Rb(n),n},TWt.ji=function(t,e){xgt(this,e,!0),this.Zc(t).Rb(e)},mZ(x7t,"AbstractSequentialInternalEList",1969),pDt(486,1969,U7t,XN),TWt.pi=function(t){return Fwt(this.Gi(),t)},TWt.Zh=function(){return null==this.b?(VE(),VE(),POe):this.Jk()},TWt.Gi=function(){return new BM(this.a,this.b)},TWt.$h=function(){return null==this.b?(VE(),VE(),POe):this.Jk()},TWt._h=function(t){var e,n;if(null==this.b){if(t<0||t>1)throw qw(new Dv(i7t+t+", size=0"));return VE(),VE(),POe}for(n=this.Jk(),e=0;e0;)if(e=this.c[--this.d],(!this.e||e.Gj()!=NMe||0!=e.aj())&&(!this.Mk()||this.b.mh(e)))if(a=this.b.bh(e,this.Lk()),this.f=(JE(),zz(e,66).Oj()),this.f||e.$j()){if(this.Lk()?(i=zz(a,15),this.k=i):(i=zz(a,69),this.k=this.j=i),aL(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?_Ct(this,this.p):pSt(this))return r=this.p?this.p.Ub():this.j?this.j.pi(--this.n):this.k.Xb(--this.n),this.f?((t=zz(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}},TWt.Pb=function(){return Tot(this)},TWt.Tb=function(){return this.a},TWt.Ub=function(){var t;if(this.g<-1||this.Sb())return--this.a,this.g=0,t=this.i,this.Sb(),t;throw qw(new vm)},TWt.Vb=function(){return this.a-1},TWt.Qb=function(){throw qw(new wm)},TWt.Lk=function(){return!1},TWt.Wb=function(t){throw qw(new wm)},TWt.Mk=function(){return!0},TWt.a=0,TWt.d=0,TWt.f=!1,TWt.g=0,TWt.n=0,TWt.o=0,mZ(x7t,"EContentsEList/FeatureIteratorImpl",279),pDt(697,279,G7t,KP),TWt.Lk=function(){return!0},mZ(x7t,"EContentsEList/ResolvingFeatureIteratorImpl",697),pDt(1157,697,G7t,VP),TWt.Mk=function(){return!1},mZ(d6t,"ENamedElementImpl/1/1",1157),pDt(1158,279,G7t,XP),TWt.Mk=function(){return!1},mZ(d6t,"ENamedElementImpl/1/2",1158),pDt(36,143,n7t,h4,f4,tY,x7,N9,e6,Hnt,T0,Unt,C0,Q5,S0,Znt,I0,J5,M0,Gnt,D0,eY,k7,UX,Ynt,O0,t6,L0),TWt._i=function(){return l7(this)},TWt.gj=function(){var t;return(t=l7(this))?t.zj():null},TWt.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)},TWt.Ai=function(){return this.c},TWt.hj=function(){var t;return!!(t=l7(this))&&t.Kj()},TWt.b=-1,mZ(d6t,"ENotificationImpl",36),pDt(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},Oy),TWt.Qg=function(t){return Sxt(this,t)},TWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(i=this.t)>1||-1==i;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?zz(this.Cb,26):null;case 11:return!this.d&&(this.d=new NL(MOe,this,11)),this.d;case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),this.c;case 13:return!this.a&&(this.a=new cF(this,this)),this.a;case 14:return q9(this)}return Y7(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Sxt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,10,n);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),Qgt(this.c,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),bOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),bOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 10:return Ejt(this,null,10,n);case 11:return!this.d&&(this.d=new NL(MOe,this,11)),$wt(this.d,t,n);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),$wt(this.c,t,n);case 14:return $wt(q9(this),t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),bOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),bOe)),t,n)},TWt.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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!zz(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==q9(this.a.a).i||this.b&&jmt(this.b));case 14:return!!this.b&&jmt(this.b)}return M3(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Pnt(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 11:return!this.d&&(this.d=new NL(MOe,this,11)),lHt(this.d),!this.d&&(this.d=new NL(MOe,this,11)),void wZ(this.d,zz(e,14));case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),lHt(this.c),!this.c&&(this.c=new nY(VDe,this,12,10)),void wZ(this.c,zz(e,14));case 13:return!this.a&&(this.a=new cF(this,this)),yHt(this.a),!this.a&&(this.a=new cF(this,this)),void wZ(this.a,zz(e,14));case 14:return lHt(q9(this)),void wZ(q9(this),zz(e,14))}Ndt(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t),e)},TWt.zh=function(){return wWt(),bOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 11:return!this.d&&(this.d=new NL(MOe,this,11)),void lHt(this.d);case 12:return!this.c&&(this.c=new nY(VDe,this,12,10)),void lHt(this.c);case 13:return void(this.a&&yHt(this.a));case 14:return void(this.b&&lHt(this.b))}Uht(this,t-dZ((wWt(),bOe)),iet(zz(xot(this,16),26)||bOe,t))},TWt.Gh=function(){var t,e;if(this.c)for(t=0,e=this.c.i;ti&&OZ(t,i,null),n=0,e=new DL(q9(this.a));e.e!=e.i.gc();)OZ(t,n++,zz(kwt(e),87).c||(wWt(),fOe));return t},TWt.Yi=function(){var t,e,n,i;for((i=new Tx).a+="[",t=q9(this.a),e=0,n=q9(this.a).i;e1);case 5:return vJ(this,t,e,n,i,this.i-zz(n,15).gc()>0);default:return new N9(this.e,t,this.c,e,n,i,!0)}},TWt.ij=function(){return!0},TWt.fj=function(){return jmt(this)},TWt.Xj=function(){lHt(this)},mZ(d6t,"EOperationImpl/2",1341),pDt(498,1,{1938:1,498:1},MI),mZ(d6t,"EPackageImpl/1",498),pDt(16,85,R7t,nY),TWt.zk=function(){return this.d},TWt.Ak=function(){return this.b},TWt.Dk=function(){return!0},TWt.b=0,mZ(x7t,"EObjectContainmentWithInverseEList",16),pDt(353,16,R7t,nR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentWithInverseEList/Resolving",353),pDt(298,353,R7t,QG),TWt.ci=function(){this.a.tb=null},mZ(d6t,"EPackageImpl/2",298),pDt(1228,1,{},Mc),mZ(d6t,"EPackageImpl/3",1228),pDt(718,43,nVt,Ny),TWt._b=function(t){return ZI(t)?nV(this,t):!!DV(this.f,t)},mZ(d6t,"EPackageRegistryImpl",718),pDt(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},Ly),TWt.Qg=function(t){return Ixt(this,t)},TWt._g=function(t,e,n){var i;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(i=this.t)>1||-1==i;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return this.Db>>16==10?zz(this.Cb,59):null}return Y7(this,t-dZ((wWt(),yOe)),iet(zz(xot(this,16),26)||yOe,t),e,n)},TWt.hh=function(t,e,n){var i;switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),Qgt(this.Ab,t,n);case 10:return this.Cb&&(n=(i=this.Db>>16)>=0?Ixt(this,n):this.Cb.ih(this,-1-i,null,n)),Ejt(this,t,10,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),yOe),e),66).Nj().Qj(this,fbt(this),e-dZ((wWt(),yOe)),t,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 9:return bZ(this,n);case 10:return Ejt(this,null,10,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),yOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),yOe)),t,n)},TWt.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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return!(this.Db>>16!=10||!zz(this.Cb,59))}return M3(this,t-dZ((wWt(),yOe)),iet(zz(xot(this,16),26)||yOe,t))},TWt.zh=function(){return wWt(),yOe},mZ(d6t,"EParameterImpl",509),pDt(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},wB),TWt._g=function(t,e,n){var i,r;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return lN(),0!=(256&this.Bb);case 3:return lN(),0!=(512&this.Bb);case 4:return rft(this.s);case 5:return rft(this.t);case 6:return lN(),(r=this.t)>1||-1==r;case 7:return lN(),this.s>=1;case 8:return e?Mxt(this):this.r;case 9:return this.q;case 10:return lN(),0!=(this.Bb&k6t);case 11:return lN(),0!=(this.Bb&T7t);case 12:return lN(),0!=(this.Bb&$Xt);case 13:return this.j;case 14:return ULt(this);case 15:return lN(),0!=(this.Bb&E7t);case 16:return lN(),0!=(this.Bb&hKt);case 17:return pJ(this);case 18:return lN(),0!=(this.Bb&h6t);case 19:return lN(),!(!(i=Imt(this))||0==(i.Bb&h6t));case 20:return lN(),0!=(this.Bb&qXt);case 21:return e?Imt(this):this.b;case 22:return e?Mct(this):R5(this);case 23:return!this.a&&(this.a=new FL(zDe,this,23)),this.a}return Y7(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t),e,n)},TWt.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==vW(this.q).i;case 9:return!(!this.q||this.r&&!this.q.e&&0==vW(this.q).i);case 10:return 0==(this.Bb&k6t);case 11:return 0!=(this.Bb&T7t);case 12:return 0!=(this.Bb&$Xt);case 13:return null!=this.j;case 14:return null!=ULt(this);case 15:return 0!=(this.Bb&E7t);case 16:return 0!=(this.Bb&hKt);case 17:return!!pJ(this);case 18:return 0!=(this.Bb&h6t);case 19:return!!(e=Imt(this))&&0!=(e.Bb&h6t);case 20:return 0==(this.Bb&qXt);case 21:return!!this.b;case 22:return!!R5(this);case 23:return!!this.a&&0!=this.a.i}return M3(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t))},TWt.sh=function(t,e){var n;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void QJ(this,TB(e));case 2:return void Qht(this,Hv(AB(e)));case 3:return void eft(this,Hv(AB(e)));case 4:return void Nnt(this,zz(e,19).a);case 5:return void Pnt(this,zz(e,19).a);case 8:return void Mlt(this,zz(e,138));case 9:return void((n=HAt(this,zz(e,87),null))&&n.Fi());case 10:return void Oft(this,Hv(AB(e)));case 11:return void Pft(this,Hv(AB(e)));case 12:return void Lft(this,Hv(AB(e)));case 13:return void jI(this,TB(e));case 15:return void Nft(this,Hv(AB(e)));case 16:return void Uft(this,Hv(AB(e)));case 18:return void VJ(this,Hv(AB(e)));case 20:return void Zft(this,Hv(AB(e)));case 21:return void art(this,zz(e,18));case 23:return!this.a&&(this.a=new FL(zDe,this,23)),lHt(this.a),!this.a&&(this.a=new FL(zDe,this,23)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t),e)},TWt.zh=function(){return wWt(),vOe},TWt.Bh=function(t){var e;switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),4),void Prt(this,null);case 2:return void Qht(this,!0);case 3:return void eft(this,!0);case 4:return void Nnt(this,0);case 5:return void Pnt(this,1);case 8:return void Mlt(this,null);case 9:return void((e=HAt(this,null,null))&&e.Fi());case 10:return void Oft(this,!0);case 11:return void Pft(this,!1);case 12:return void Lft(this,!1);case 13:return this.i=null,void srt(this,null);case 15:return void Nft(this,!1);case 16:return void Uft(this,!1);case 18:return Yft(this,!1),void(aL(this.Cb,88)&&OSt(C5(zz(this.Cb,88)),2));case 20:return void Zft(this,!0);case 21:return void art(this,null);case 23:return!this.a&&(this.a=new FL(zDe,this,23)),void lHt(this.a)}Uht(this,t-dZ((wWt(),vOe)),iet(zz(xot(this,16),26)||vOe,t))},TWt.Gh=function(){Mct(this),xK(z9((MCt(),JOe),this)),Mxt(this),this.Bb|=1},TWt.Lj=function(){return Imt(this)},TWt.qk=function(){var t;return!!(t=Imt(this))&&0!=(t.Bb&h6t)},TWt.rk=function(){return 0!=(this.Bb&h6t)},TWt.sk=function(){return 0!=(this.Bb&qXt)},TWt.nk=function(t,e){return this.c=null,Sht(this,t,e)},TWt.Ib=function(){var t;return 0!=(64&this.Db)?AFt(this):((t=new hN(AFt(this))).a+=" (containment: ",v_(t,0!=(this.Bb&h6t)),t.a+=", resolveProxies: ",v_(t,0!=(this.Bb&qXt)),t.a+=")",t.a)},mZ(d6t,"EReferenceImpl",99),pDt(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},Dc),TWt.Fb=function(t){return this===t},TWt.cd=function(){return this.b},TWt.dd=function(){return this.c},TWt.Hb=function(){return CN(this)},TWt.Uh=function(t){mH(this,TB(t))},TWt.ed=function(t){return Oq(this,TB(t))},TWt._g=function(t,e,n){switch(t){case 0:return this.b;case 1:return this.c}return Y7(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t),e,n)},TWt.lh=function(t){switch(t){case 0:return null!=this.b;case 1:return null!=this.c}return M3(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t))},TWt.sh=function(t,e){switch(t){case 0:return void yH(this,TB(e));case 1:return void jit(this,TB(e))}Ndt(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t),e)},TWt.zh=function(){return wWt(),xOe},TWt.Bh=function(t){switch(t){case 0:return void Rit(this,null);case 1:return void jit(this,null)}Uht(this,t-dZ((wWt(),xOe)),iet(zz(xot(this,16),26)||xOe,t))},TWt.Sh=function(){var t;return-1==this.a&&(t=this.b,this.a=null==t?0:ymt(t)),this.a},TWt.Th=function(t){this.a=t},TWt.Ib=function(){var t;return 0!=(64&this.Db)?SOt(this):((t=new hN(SOt(this))).a+=" (key: ",aM(t,this.b),t.a+=", value: ",aM(t,this.c),t.a+=")",t.a)},TWt.a=-1,TWt.b=null,TWt.c=null;var FOe,ROe,jOe,$Oe,zOe,qOe,HOe,UOe,GOe,YOe,ZOe=mZ(d6t,"EStringToStringMapEntryImpl",548),WOe=dH(x7t,"FeatureMap/Entry/Internal");pDt(565,1,Y7t),TWt.Ok=function(t){return this.Pk(zz(t,49))},TWt.Pk=function(t){return this.Ok(t)},TWt.Fb=function(t){var e,n;return this===t||!!aL(t,72)&&(e=zz(t,72)).ak()==this.c&&(null==(n=this.dd())?null==e.dd():Pht(n,e.dd()))},TWt.ak=function(){return this.c},TWt.Hb=function(){var t;return t=this.dd(),eut(this.c)^(null==t?0:eut(t))},TWt.Ib=function(){var t,e;return e=Zet((t=this.c).Hj()).Ph(),t.ne(),(null!=e&&0!=e.length?e+":"+t.ne():t.ne())+"="+this.dd()},mZ(d6t,"EStructuralFeatureImpl/BasicFeatureMapEntry",565),pDt(776,565,Y7t,rF),TWt.Pk=function(t){return new rF(this.c,t)},TWt.dd=function(){return this.a},TWt.Qk=function(t,e,n){return Cat(this,t,this.a,e,n)},TWt.Rk=function(t,e,n){return Sat(this,t,this.a,e,n)},mZ(d6t,"EStructuralFeatureImpl/ContainmentUpdatingFeatureMapEntry",776),pDt(1314,1,{},DI),TWt.Pj=function(t,e,n,i,r){return zz(T7(t,this.b),215).nl(this.a).Wj(i)},TWt.Qj=function(t,e,n,i,r){return zz(T7(t,this.b),215).el(this.a,i,r)},TWt.Rj=function(t,e,n,i,r){return zz(T7(t,this.b),215).fl(this.a,i,r)},TWt.Sj=function(t,e,n){return zz(T7(t,this.b),215).nl(this.a).fj()},TWt.Tj=function(t,e,n,i){zz(T7(t,this.b),215).nl(this.a).Wb(i)},TWt.Uj=function(t,e,n){return zz(T7(t,this.b),215).nl(this.a)},TWt.Vj=function(t,e,n){zz(T7(t,this.b),215).nl(this.a).Xj()},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateFeatureMapDelegator",1314),pDt(89,1,{},Cz,fX,FV,g4),TWt.Pj=function(t,e,n,i,r){var a;if(null==(a=e.Ch(n))&&e.Dh(n,a=rWt(this,t)),!r)switch(this.e){case 50:case 41:return zz(a,589).sj();case 40:return zz(a,215).kl()}return a},TWt.Qj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))&&e.Dh(n,a=rWt(this,t)),zz(a,69).lk(i,r)},TWt.Rj=function(t,e,n,i,r){var a;return null!=(a=e.Ch(n))&&(r=zz(a,69).mk(i,r)),r},TWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&zz(i,76).fj()},TWt.Tj=function(t,e,n,i){var r;!(r=zz(e.Ch(n),76))&&e.Dh(n,r=rWt(this,t)),r.Wb(i)},TWt.Uj=function(t,e,n){var i;return null==(i=e.Ch(n))&&e.Dh(n,i=rWt(this,t)),aL(i,76)?zz(i,76):new _w(zz(e.Ch(n),15))},TWt.Vj=function(t,e,n){var i;!(i=zz(e.Ch(n),76))&&e.Dh(n,i=rWt(this,t)),i.Xj()},TWt.b=0,TWt.e=0,mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateMany",89),pDt(504,1,{}),TWt.Qj=function(t,e,n,i,r){throw qw(new wm)},TWt.Rj=function(t,e,n,i,r){throw qw(new wm)},TWt.Uj=function(t,e,n){return new dX(this,t,e,n)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle",504),pDt(1331,1,k7t,dX),TWt.Wj=function(t){return this.a.Pj(this.c,this.d,this.b,t,!0)},TWt.fj=function(){return this.a.Sj(this.c,this.d,this.b)},TWt.Wb=function(t){this.a.Tj(this.c,this.d,this.b,t)},TWt.Xj=function(){this.a.Vj(this.c,this.d,this.b)},TWt.b=0,mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingle/1",1331),pDt(769,504,{},yQ),TWt.Pj=function(t,e,n,i,r){return wRt(t,t.eh(),t.Vg())==this.b?this.sk()&&i?oDt(t):t.eh():null},TWt.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=Ogt(t.Tg(),this.e),t.Sg(i,o,r)},TWt.Rj=function(t,e,n,i,r){var a;return a=Ogt(t.Tg(),this.e),t.Sg(null,a,r)},TWt.Sj=function(t,e,n){var i;return i=Ogt(t.Tg(),this.e),!!t.eh()&&t.Vg()==i},TWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!C$t(this.a,i))throw qw(new Rv(Z7t+(aL(i,56)?b_t(zz(i,56).Tg()):set(nut(i)))+W7t+this.a+"'"));if(r=t.eh(),o=Ogt(t.Tg(),this.e),UI(i)!==UI(r)||t.Vg()!=o&&null!=i){if(yxt(t,zz(i,56)))throw qw(new jv(p6t+t.Ib()));c=null,r&&(c=(a=t.Vg())>=0?t.Qg(c):t.eh().ih(t,-1-a,null,c)),(s=zz(i,49))&&(c=s.gh(t,Ogt(s.Tg(),this.b),null,c)),(c=t.Sg(s,o,c))&&c.Fi()}else t.Lg()&&t.Mg()&&got(t,new tY(t,1,o,i,i))},TWt.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=Ogt(t.Tg(),this.e),(a=t.Sg(null,r,a))&&a.Fi()):t.Lg()&&t.Mg()&&got(t,new eY(t,1,this.e,null,null))},TWt.sk=function(){return!1},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainer",769),pDt(1315,769,{},Sz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleContainerResolving",1315),pDt(563,504,{}),TWt.Pj=function(t,e,n,i,r){var a;return null==(a=e.Ch(n))?this.b:UI(a)===UI(FOe)?null:a},TWt.Sj=function(t,e,n){var i;return null!=(i=e.Ch(n))&&(UI(i)===UI(FOe)||!Pht(i,this.b))},TWt.Tj=function(t,e,n,i){var r,a;t.Lg()&&t.Mg()?(r=null==(a=e.Ch(n))?this.b:UI(a)===UI(FOe)?null:a,null==i?null!=this.c?(e.Dh(n,null),i=this.b):null!=this.b?e.Dh(n,FOe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i)),got(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,FOe):e.Dh(n,null):(this.Sk(i),e.Dh(n,i))},TWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=null==(r=e.Ch(n))?this.b:UI(r)===UI(FOe)?null:r,e.Eh(n),got(t,this.d.Tk(t,1,this.e,i,this.b))):e.Eh(n)},TWt.Sk=function(t){throw qw(new dm)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData",563),pDt(K7t,1,{},Oc),TWt.Tk=function(t,e,n,i,r){return new eY(t,e,n,i,r)},TWt.Uk=function(t,e,n,i,r,a){return new UX(t,e,n,i,r,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator",K7t),pDt(1332,K7t,{},Lc),TWt.Tk=function(t,e,n,i,r){return new t6(t,e,n,Hv(AB(i)),Hv(AB(r)))},TWt.Uk=function(t,e,n,i,r,a){return new L0(t,e,n,Hv(AB(i)),Hv(AB(r)),a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/1",1332),pDt(1333,K7t,{},Nc),TWt.Tk=function(t,e,n,i,r){return new Hnt(t,e,n,zz(i,217).a,zz(r,217).a)},TWt.Uk=function(t,e,n,i,r,a){return new T0(t,e,n,zz(i,217).a,zz(r,217).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/2",1333),pDt(1334,K7t,{},Pc),TWt.Tk=function(t,e,n,i,r){return new Unt(t,e,n,zz(i,172).a,zz(r,172).a)},TWt.Uk=function(t,e,n,i,r,a){return new C0(t,e,n,zz(i,172).a,zz(r,172).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/3",1334),pDt(1335,K7t,{},Bc),TWt.Tk=function(t,e,n,i,r){return new Q5(t,e,n,Uv(EB(i)),Uv(EB(r)))},TWt.Uk=function(t,e,n,i,r,a){return new S0(t,e,n,Uv(EB(i)),Uv(EB(r)),a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/4",1335),pDt(1336,K7t,{},Fc),TWt.Tk=function(t,e,n,i,r){return new Znt(t,e,n,zz(i,155).a,zz(r,155).a)},TWt.Uk=function(t,e,n,i,r,a){return new I0(t,e,n,zz(i,155).a,zz(r,155).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/5",1336),pDt(1337,K7t,{},Rc),TWt.Tk=function(t,e,n,i,r){return new J5(t,e,n,zz(i,19).a,zz(r,19).a)},TWt.Uk=function(t,e,n,i,r,a){return new M0(t,e,n,zz(i,19).a,zz(r,19).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/6",1337),pDt(1338,K7t,{},jc),TWt.Tk=function(t,e,n,i,r){return new Gnt(t,e,n,zz(i,162).a,zz(r,162).a)},TWt.Uk=function(t,e,n,i,r,a){return new D0(t,e,n,zz(i,162).a,zz(r,162).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/7",1338),pDt(1339,K7t,{},$c),TWt.Tk=function(t,e,n,i,r){return new Ynt(t,e,n,zz(i,184).a,zz(r,184).a)},TWt.Uk=function(t,e,n,i,r,a){return new O0(t,e,n,zz(i,184).a,zz(r,184).a,a)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleData/NotificationCreator/8",1339),pDt(1317,563,{},gX),TWt.Sk=function(t){if(!this.a.wj(t))throw qw(new Rv(Z7t+nut(t)+W7t+this.a+"'"))},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataDynamic",1317),pDt(1318,563,{},JU),TWt.Sk=function(t){},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataStatic",1318),pDt(770,563,{}),TWt.Sj=function(t,e,n){return null!=e.Ch(n)},TWt.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):UI(a)===UI(FOe)&&(a=null),null==i?null!=this.c?(e.Dh(n,null),i=this.b):e.Dh(n,FOe):(this.Sk(i),e.Dh(n,i)),got(t,this.d.Uk(t,1,this.e,a,i,!r))):null==i?null!=this.c?e.Dh(n,null):e.Dh(n,FOe):(this.Sk(i),e.Dh(n,i))},TWt.Vj=function(t,e,n){var i,r;t.Lg()&&t.Mg()?(i=!0,null==(r=e.Ch(n))?(i=!1,r=this.b):UI(r)===UI(FOe)&&(r=null),e.Eh(n),got(t,this.d.Uk(t,2,this.e,r,this.b,i))):e.Eh(n)},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettable",770),pDt(1319,770,{},pX),TWt.Sk=function(t){if(!this.a.wj(t))throw qw(new Rv(Z7t+nut(t)+W7t+this.a+"'"))},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableDynamic",1319),pDt(1320,770,{},tG),TWt.Sk=function(t){},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleDataUnsettableStatic",1320),pDt(398,504,{},aU),TWt.Pj=function(t,e,n,i,r){var a,o,s,c,u;if(u=e.Ch(n),this.Kj()&&UI(u)===UI(FOe))return null;if(this.sk()&&i&&null!=u){if((s=zz(u,49)).kh()&&s!=(c=nht(t,s))){if(!C$t(this.a,c))throw qw(new Rv(Z7t+nut(c)+W7t+this.a+"'"));e.Dh(n,u=c),this.rk()&&(a=zz(c,49),o=s.ih(t,this.b?Ogt(s.Tg(),this.b):-1-Ogt(t.Tg(),this.e),null,null),!a.eh()&&(o=a.gh(t,this.b?Ogt(a.Tg(),this.b):-1-Ogt(t.Tg(),this.e),null,o)),o&&o.Fi()),t.Lg()&&t.Mg()&&got(t,new eY(t,9,this.e,s,c))}return u}return u},TWt.Qj=function(t,e,n,i,r){var a,o;return UI(o=e.Ch(n))===UI(FOe)&&(o=null),e.Dh(n,i),this.bj()?UI(o)!==UI(i)&&null!=o&&(r=(a=zz(o,49)).ih(t,Ogt(a.Tg(),this.b),null,r)):this.rk()&&null!=o&&(r=zz(o,49).ih(t,-1-Ogt(t.Tg(),this.e),null,r)),t.Lg()&&t.Mg()&&(!r&&(r=new $k(4)),r.Ei(new eY(t,1,this.e,o,i))),r},TWt.Rj=function(t,e,n,i,r){var a;return UI(a=e.Ch(n))===UI(FOe)&&(a=null),e.Eh(n),t.Lg()&&t.Mg()&&(!r&&(r=new $k(4)),this.Kj()?r.Ei(new eY(t,2,this.e,a,null)):r.Ei(new eY(t,1,this.e,a,null))),r},TWt.Sj=function(t,e,n){return null!=e.Ch(n)},TWt.Tj=function(t,e,n,i){var r,a,o,s,c;if(null!=i&&!C$t(this.a,i))throw qw(new Rv(Z7t+(aL(i,56)?b_t(zz(i,56).Tg()):set(nut(i)))+W7t+this.a+"'"));s=null!=(c=e.Ch(n)),this.Kj()&&UI(c)===UI(FOe)&&(c=null),o=null,this.bj()?UI(c)!==UI(i)&&(null!=c&&(o=(r=zz(c,49)).ih(t,Ogt(r.Tg(),this.b),null,o)),null!=i&&(o=(r=zz(i,49)).gh(t,Ogt(r.Tg(),this.b),null,o))):this.rk()&&UI(c)!==UI(i)&&(null!=c&&(o=zz(c,49).ih(t,-1-Ogt(t.Tg(),this.e),null,o)),null!=i&&(o=zz(i,49).gh(t,-1-Ogt(t.Tg(),this.e),null,o))),null==i&&this.Kj()?e.Dh(n,FOe):e.Dh(n,i),t.Lg()&&t.Mg()?(a=new UX(t,1,this.e,c,i,this.Kj()&&!s),o?(o.Ei(a),o.Fi()):got(t,a)):o&&o.Fi()},TWt.Vj=function(t,e,n){var i,r,a,o,s;o=null!=(s=e.Ch(n)),this.Kj()&&UI(s)===UI(FOe)&&(s=null),a=null,null!=s&&(this.bj()?a=(i=zz(s,49)).ih(t,Ogt(i.Tg(),this.b),null,a):this.rk()&&(a=zz(s,49).ih(t,-1-Ogt(t.Tg(),this.e),null,a))),e.Eh(n),t.Lg()&&t.Mg()?(r=new UX(t,this.Kj()?2:1,this.e,s,null,o),a?(a.Ei(r),a.Fi()):got(t,r)):a&&a.Fi()},TWt.bj=function(){return!1},TWt.rk=function(){return!1},TWt.sk=function(){return!1},TWt.Kj=function(){return!1},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObject",398),pDt(564,398,{},JP),TWt.rk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainment",564),pDt(1323,564,{},tB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentResolving",1323),pDt(772,564,{},eB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettable",772),pDt(1325,772,{},nB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentUnsettableResolving",1325),pDt(640,564,{},Iz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverse",640),pDt(1324,640,{},Oz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseResolving",1324),pDt(773,640,{},Lz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettable",773),pDt(1326,773,{},Nz),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectContainmentWithInverseUnsettableResolving",1326),pDt(641,398,{},iB),TWt.sk=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolving",641),pDt(1327,641,{},rB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingUnsettable",1327),pDt(774,641,{},Mz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverse",774),pDt(1328,774,{},Pz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectResolvingWithInverseUnsettable",1328),pDt(1321,398,{},aB),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectUnsettable",1321),pDt(771,398,{},Dz),TWt.bj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverse",771),pDt(1322,771,{},Bz),TWt.Kj=function(){return!0},mZ(d6t,"EStructuralFeatureImpl/InternalSettingDelegateSingleEObjectWithInverseUnsettable",1322),pDt(775,565,Y7t,oW),TWt.Pk=function(t){return new oW(this.a,this.c,t)},TWt.dd=function(){return this.b},TWt.Qk=function(t,e,n){return B8(this,t,this.b,n)},TWt.Rk=function(t,e,n){return F8(this,t,this.b,n)},mZ(d6t,"EStructuralFeatureImpl/InverseUpdatingFeatureMapEntry",775),pDt(1329,1,k7t,_w),TWt.Wj=function(t){return this.a},TWt.fj=function(){return aL(this.a,95)?zz(this.a,95).fj():!this.a.dc()},TWt.Wb=function(t){this.a.$b(),this.a.Gc(zz(t,15))},TWt.Xj=function(){aL(this.a,95)?zz(this.a,95).Xj():this.a.$b()},mZ(d6t,"EStructuralFeatureImpl/SettingMany",1329),pDt(1330,565,Y7t,b4),TWt.Ok=function(t){return new aF((ZHt(),$Le),this.b.Ih(this.a,t))},TWt.dd=function(){return null},TWt.Qk=function(t,e,n){return n},TWt.Rk=function(t,e,n){return n},mZ(d6t,"EStructuralFeatureImpl/SimpleContentFeatureMapEntry",1330),pDt(642,565,Y7t,aF),TWt.Ok=function(t){return new aF(this.c,t)},TWt.dd=function(){return this.a},TWt.Qk=function(t,e,n){return n},TWt.Rk=function(t,e,n){return n},mZ(d6t,"EStructuralFeatureImpl/SimpleFeatureMapEntry",642),pDt(391,497,h8t,zc),TWt.ri=function(t){return P8(HDe,HWt,26,t,0,1)},TWt.ni=function(){return!1},mZ(d6t,"ESuperAdapter/1",391),pDt(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),TWt._g=function(t,e,n){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),this.Ab;case 1:return this.zb;case 2:return!this.a&&(this.a=new oU(this,KDe,this)),this.a}return Y7(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),$wt(this.Ab,t,n);case 2:return!this.a&&(this.a=new oU(this,KDe,this)),$wt(this.a,t,n)}return zz(iet(zz(xot(this,16),26)||(wWt(),AOe),e),66).Nj().Rj(this,fbt(this),e-dZ((wWt(),AOe)),t,n)},TWt.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 M3(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t))},TWt.sh=function(t,e){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),lHt(this.Ab),!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void wZ(this.Ab,zz(e,14));case 1:return void Prt(this,TB(e));case 2:return!this.a&&(this.a=new oU(this,KDe,this)),lHt(this.a),!this.a&&(this.a=new oU(this,KDe,this)),void wZ(this.a,zz(e,14))}Ndt(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t),e)},TWt.zh=function(){return wWt(),AOe},TWt.Bh=function(t){switch(t){case 0:return!this.Ab&&(this.Ab=new nY(RDe,this,0,3)),void lHt(this.Ab);case 1:return void Prt(this,null);case 2:return!this.a&&(this.a=new oU(this,KDe,this)),void lHt(this.a)}Uht(this,t-dZ((wWt(),AOe)),iet(zz(xot(this,16),26)||AOe,t))},mZ(d6t,"ETypeParameterImpl",444),pDt(445,85,R7t,oU),TWt.cj=function(t,e){return NAt(this,zz(t,87),e)},TWt.dj=function(t,e){return PAt(this,zz(t,87),e)},mZ(d6t,"ETypeParameterImpl/1",445),pDt(634,43,nVt,Py),TWt.ec=function(){return new Aw(this)},mZ(d6t,"ETypeParameterImpl/2",634),pDt(556,eKt,nKt,Aw),TWt.Fc=function(t){return VF(this,zz(t,87))},TWt.Gc=function(t){var e,n,i;for(i=!1,n=t.Kc();n.Ob();)e=zz(n.Pb(),87),null==KW(this.a,e,"")&&(i=!0);return i},TWt.$b=function(){OY(this.a)},TWt.Hc=function(t){return lY(this.a,t)},TWt.Kc=function(){return new Ew(new cut(new Cd(this.a).a))},TWt.Mc=function(t){return j6(this,t)},TWt.gc=function(){return NA(this.a)},mZ(d6t,"ETypeParameterImpl/2/1",556),pDt(557,1,VWt,Ew),TWt.Nb=function(t){hY(this,t)},TWt.Pb=function(){return zz(nnt(this.a).cd(),87)},TWt.Ob=function(){return this.a.b},TWt.Qb=function(){c7(this.a)},mZ(d6t,"ETypeParameterImpl/2/1/1",557),pDt(1276,43,nVt,By),TWt._b=function(t){return ZI(t)?nV(this,t):!!DV(this.f,t)},TWt.xc=function(t){var e;return aL(e=ZI(t)?TQ(this,t):HI(DV(this.f,t)),837)?(e=zz(e,837)._j(),KW(this,zz(t,235),e),e):null!=e?e:null==t?(QE(),rLe):null},mZ(d6t,"EValidatorRegistryImpl",1276),pDt(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),TWt.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:qdt(e);case 25:return Wet(e);case 27:return Z7(e);case 28:return W7(e);case 29:return null==e?null:qO(IMe[0],zz(e,199));case 41:return null==e?"":t_(zz(e,290));case 42:return qdt(e);case 50:return TB(e);default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 0:return new My;case 1:return new kc;case 2:return new Rh;case 4:return new _m;case 5:return new Dy;case 6:return new km;case 7:return new Bh;case 10:return new vc;case 11:return new Oy;case 12:return new mV;case 13:return new Ly;case 14:return new wB;case 17:return new Dc;case 18:return new Rw;case 19:return new qc;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.Kh=function(t,e){switch(t.yj()){case 20:return null==e?null:new g_(e);case 21:return null==e?null:new OD(e);case 23:case 22:return null==e?null:tbt(e);case 26:case 24:return null==e?null:Ctt(djt(e,-128,127)<<24>>24);case 25:return bOt(e);case 27:return Cvt(e);case 28:return Svt(e);case 29:return wEt(e);case 32:case 31:return null==e?null:gTt(e);case 38:case 37:return null==e?null:new Bm(e);case 40:case 39:return null==e?null:rft(djt(e,$Kt,FWt));case 41:case 42:return null;case 44:case 43:return null==e?null:_bt(aYt(e));case 49:case 48:return null==e?null:aft(djt(e,V7t,32767)<<16>>16);case 50:return e;default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(d6t,"EcoreFactoryImpl",1313),pDt(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},YW),TWt.gb=!1,TWt.hb=!1;var KOe,XOe=!1;mZ(d6t,"EcorePackageImpl",547),pDt(1184,1,{837:1},Uc),TWt._j=function(){return uN(),aLe},mZ(d6t,"EcorePackageImpl/1",1184),pDt(1193,1,l9t,Gc),TWt.wj=function(t){return aL(t,147)},TWt.xj=function(t){return P8(zMe,HWt,147,t,0,1)},mZ(d6t,"EcorePackageImpl/10",1193),pDt(1194,1,l9t,Yc),TWt.wj=function(t){return aL(t,191)},TWt.xj=function(t){return P8(HMe,HWt,191,t,0,1)},mZ(d6t,"EcorePackageImpl/11",1194),pDt(1195,1,l9t,Zc),TWt.wj=function(t){return aL(t,56)},TWt.xj=function(t){return P8(LMe,HWt,56,t,0,1)},mZ(d6t,"EcorePackageImpl/12",1195),pDt(1196,1,l9t,Wc),TWt.wj=function(t){return aL(t,399)},TWt.xj=function(t){return P8(XDe,B7t,59,t,0,1)},mZ(d6t,"EcorePackageImpl/13",1196),pDt(1197,1,l9t,Kc),TWt.wj=function(t){return aL(t,235)},TWt.xj=function(t){return P8(UMe,HWt,235,t,0,1)},mZ(d6t,"EcorePackageImpl/14",1197),pDt(1198,1,l9t,Xc),TWt.wj=function(t){return aL(t,509)},TWt.xj=function(t){return P8(VDe,HWt,2017,t,0,1)},mZ(d6t,"EcorePackageImpl/15",1198),pDt(1199,1,l9t,Vc),TWt.wj=function(t){return aL(t,99)},TWt.xj=function(t){return P8(QDe,P7t,18,t,0,1)},mZ(d6t,"EcorePackageImpl/16",1199),pDt(1200,1,l9t,Qc),TWt.wj=function(t){return aL(t,170)},TWt.xj=function(t){return P8($De,P7t,170,t,0,1)},mZ(d6t,"EcorePackageImpl/17",1200),pDt(1201,1,l9t,Jc),TWt.wj=function(t){return aL(t,472)},TWt.xj=function(t){return P8(jDe,HWt,472,t,0,1)},mZ(d6t,"EcorePackageImpl/18",1201),pDt(1202,1,l9t,tu),TWt.wj=function(t){return aL(t,548)},TWt.xj=function(t){return P8(ZOe,s7t,548,t,0,1)},mZ(d6t,"EcorePackageImpl/19",1202),pDt(1185,1,l9t,eu),TWt.wj=function(t){return aL(t,322)},TWt.xj=function(t){return P8(zDe,P7t,34,t,0,1)},mZ(d6t,"EcorePackageImpl/2",1185),pDt(1203,1,l9t,nu),TWt.wj=function(t){return aL(t,241)},TWt.xj=function(t){return P8(KDe,q7t,87,t,0,1)},mZ(d6t,"EcorePackageImpl/20",1203),pDt(1204,1,l9t,iu),TWt.wj=function(t){return aL(t,444)},TWt.xj=function(t){return P8(MOe,HWt,836,t,0,1)},mZ(d6t,"EcorePackageImpl/21",1204),pDt(1205,1,l9t,ru),TWt.wj=function(t){return GI(t)},TWt.xj=function(t){return P8(kee,lKt,476,t,8,1)},mZ(d6t,"EcorePackageImpl/22",1205),pDt(1206,1,l9t,au),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(d6t,"EcorePackageImpl/23",1206),pDt(1207,1,l9t,ou),TWt.wj=function(t){return aL(t,217)},TWt.xj=function(t){return P8(Eee,lKt,217,t,0,1)},mZ(d6t,"EcorePackageImpl/24",1207),pDt(1208,1,l9t,su),TWt.wj=function(t){return aL(t,172)},TWt.xj=function(t){return P8(Cee,lKt,172,t,0,1)},mZ(d6t,"EcorePackageImpl/25",1208),pDt(1209,1,l9t,cu),TWt.wj=function(t){return aL(t,199)},TWt.xj=function(t){return P8(vee,lKt,199,t,0,1)},mZ(d6t,"EcorePackageImpl/26",1209),pDt(1210,1,l9t,uu),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8(jNe,HWt,2110,t,0,1)},mZ(d6t,"EcorePackageImpl/27",1210),pDt(1211,1,l9t,lu),TWt.wj=function(t){return YI(t)},TWt.xj=function(t){return P8(See,lKt,333,t,7,1)},mZ(d6t,"EcorePackageImpl/28",1211),pDt(1212,1,l9t,hu),TWt.wj=function(t){return aL(t,58)},TWt.xj=function(t){return P8(sDe,eJt,58,t,0,1)},mZ(d6t,"EcorePackageImpl/29",1212),pDt(1186,1,l9t,fu),TWt.wj=function(t){return aL(t,510)},TWt.xj=function(t){return P8(RDe,{3:1,4:1,5:1,1934:1},590,t,0,1)},mZ(d6t,"EcorePackageImpl/3",1186),pDt(1213,1,l9t,du),TWt.wj=function(t){return aL(t,573)},TWt.xj=function(t){return P8(vDe,HWt,1940,t,0,1)},mZ(d6t,"EcorePackageImpl/30",1213),pDt(1214,1,l9t,gu),TWt.wj=function(t){return aL(t,153)},TWt.xj=function(t){return P8(cLe,eJt,153,t,0,1)},mZ(d6t,"EcorePackageImpl/31",1214),pDt(1215,1,l9t,pu),TWt.wj=function(t){return aL(t,72)},TWt.xj=function(t){return P8(OOe,h9t,72,t,0,1)},mZ(d6t,"EcorePackageImpl/32",1215),pDt(1216,1,l9t,bu),TWt.wj=function(t){return aL(t,155)},TWt.xj=function(t){return P8(Iee,lKt,155,t,0,1)},mZ(d6t,"EcorePackageImpl/33",1216),pDt(1217,1,l9t,wu),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(d6t,"EcorePackageImpl/34",1217),pDt(1218,1,l9t,mu),TWt.wj=function(t){return aL(t,290)},TWt.xj=function(t){return P8(Lte,HWt,290,t,0,1)},mZ(d6t,"EcorePackageImpl/35",1218),pDt(1219,1,l9t,yu),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(d6t,"EcorePackageImpl/36",1219),pDt(1220,1,l9t,vu),TWt.wj=function(t){return aL(t,83)},TWt.xj=function(t){return P8(Pte,HWt,83,t,0,1)},mZ(d6t,"EcorePackageImpl/37",1220),pDt(1221,1,l9t,xu),TWt.wj=function(t){return aL(t,591)},TWt.xj=function(t){return P8(iLe,HWt,591,t,0,1)},mZ(d6t,"EcorePackageImpl/38",1221),pDt(1222,1,l9t,ku),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8($Ne,HWt,2111,t,0,1)},mZ(d6t,"EcorePackageImpl/39",1222),pDt(1187,1,l9t,_u),TWt.wj=function(t){return aL(t,88)},TWt.xj=function(t){return P8(HDe,HWt,26,t,0,1)},mZ(d6t,"EcorePackageImpl/4",1187),pDt(1223,1,l9t,Au),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(d6t,"EcorePackageImpl/40",1223),pDt(1224,1,l9t,Eu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(d6t,"EcorePackageImpl/41",1224),pDt(1225,1,l9t,Tu),TWt.wj=function(t){return aL(t,588)},TWt.xj=function(t){return P8(uDe,HWt,588,t,0,1)},mZ(d6t,"EcorePackageImpl/42",1225),pDt(1226,1,l9t,Cu),TWt.wj=function(t){return!1},TWt.xj=function(t){return P8(zNe,lKt,2112,t,0,1)},mZ(d6t,"EcorePackageImpl/43",1226),pDt(1227,1,l9t,Su),TWt.wj=function(t){return aL(t,42)},TWt.xj=function(t){return P8(Hte,kKt,42,t,0,1)},mZ(d6t,"EcorePackageImpl/44",1227),pDt(1188,1,l9t,Iu),TWt.wj=function(t){return aL(t,138)},TWt.xj=function(t){return P8(qDe,HWt,138,t,0,1)},mZ(d6t,"EcorePackageImpl/5",1188),pDt(1189,1,l9t,Mu),TWt.wj=function(t){return aL(t,148)},TWt.xj=function(t){return P8(UDe,HWt,148,t,0,1)},mZ(d6t,"EcorePackageImpl/6",1189),pDt(1190,1,l9t,Du),TWt.wj=function(t){return aL(t,457)},TWt.xj=function(t){return P8(ZDe,HWt,671,t,0,1)},mZ(d6t,"EcorePackageImpl/7",1190),pDt(1191,1,l9t,Ou),TWt.wj=function(t){return aL(t,573)},TWt.xj=function(t){return P8(WDe,HWt,678,t,0,1)},mZ(d6t,"EcorePackageImpl/8",1191),pDt(1192,1,l9t,Lu),TWt.wj=function(t){return aL(t,471)},TWt.xj=function(t){return P8(qMe,HWt,471,t,0,1)},mZ(d6t,"EcorePackageImpl/9",1192),pDt(1025,1982,a7t,Pv),TWt.bi=function(t,e){Oht(this,zz(e,415))},TWt.fi=function(t,e){iSt(this,t,zz(e,415))},mZ(d6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList",1025),pDt(1026,143,n7t,sW),TWt.Ai=function(){return this.a.a},mZ(d6t,"MinimalEObjectImpl/1ArrayDelegatingAdapterList/1",1026),pDt(1053,1052,{},cO),mZ("org.eclipse.emf.ecore.plugin","EcorePlugin",1053);var VOe,QOe,JOe,tLe,eLe,nLe,iLe=dH(f9t,"Resource");pDt(781,1378,d9t),TWt.Yk=function(t){},TWt.Zk=function(t){},TWt.Vk=function(){return!this.a&&(this.a=new Tw(this)),this.a},TWt.Wk=function(t){var e,n,i,r,a;if((i=t.length)>0){if(d1(0,t.length),47==t.charCodeAt(0)){for(a=new Q6(4),r=1,e=1;e0&&(t=t.substr(0,n))}return _It(this,t)},TWt.Xk=function(){return this.c},TWt.Ib=function(){return t_(this.gm)+"@"+(eut(this)>>>0).toString(16)+" uri='"+this.d+"'"},TWt.b=!1,mZ(g9t,"ResourceImpl",781),pDt(1379,781,d9t,Sw),mZ(g9t,"BinaryResourceImpl",1379),pDt(1169,694,f8t),TWt.si=function(t){return aL(t,56)?AV(this,zz(t,56)):aL(t,591)?new DL(zz(t,591).Vk()):UI(t)===UI(this.f)?zz(t,14).Kc():(pB(),wDe.a)},TWt.Ob=function(){return gMt(this)},TWt.a=!1,mZ(x7t,"EcoreUtil/ContentTreeIterator",1169),pDt(1380,1169,f8t,rY),TWt.si=function(t){return UI(t)===UI(this.f)?zz(t,15).Kc():new $2(zz(t,56))},mZ(g9t,"ResourceImpl/5",1380),pDt(648,1994,F7t,Tw),TWt.Hc=function(t){return this.i<=4?Ckt(this,t):aL(t,49)&&zz(t,49).Zg()==this.a},TWt.bi=function(t,e){t==this.i-1&&(this.a.b||(this.a.b=!0))},TWt.di=function(t,e){0==t?this.a.b||(this.a.b=!0):L8(this,t,e)},TWt.fi=function(t,e){},TWt.gi=function(t,e,n){},TWt.aj=function(){return 2},TWt.Ai=function(){return this.a},TWt.bj=function(){return!0},TWt.cj=function(t,e){return e=zz(t,49).wh(this.a,e)},TWt.dj=function(t,e){return zz(t,49).wh(null,e)},TWt.ej=function(){return!1},TWt.hi=function(){return!0},TWt.ri=function(t){return P8(LMe,HWt,56,t,0,1)},TWt.ni=function(){return!1},mZ(g9t,"ResourceImpl/ContentsEList",648),pDt(957,1964,NKt,Cw),TWt.Zc=function(t){return this.a._h(t)},TWt.gc=function(){return this.a.gc()},mZ(x7t,"AbstractSequentialInternalEList/1",957),pDt(624,1,{},Tq),mZ(x7t,"BasicExtendedMetaData",624),pDt(1160,1,{},OI),TWt.$k=function(){return null},TWt._k=function(){return-2==this.a&&cd(this,sEt(this.d,this.b)),this.a},TWt.al=function(){return null},TWt.bl=function(){return TX(),TX(),lne},TWt.ne=function(){return this.c==I9t&&ld(this,Abt(this.d,this.b)),this.c},TWt.cl=function(){return 0},TWt.a=-2,TWt.c=I9t,mZ(x7t,"BasicExtendedMetaData/EClassExtendedMetaDataImpl",1160),pDt(1161,1,{},j0),TWt.$k=function(){return this.a==(F5(),eLe)&&ud(this,yNt(this.f,this.b)),this.a},TWt._k=function(){return 0},TWt.al=function(){return this.c==(F5(),eLe)&&hd(this,vNt(this.f,this.b)),this.c},TWt.bl=function(){return!this.d&&fd(this,CRt(this.f,this.b)),this.d},TWt.ne=function(){return this.e==I9t&&dd(this,Abt(this.f,this.b)),this.e},TWt.cl=function(){return-2==this.g&&gd(this,Q_t(this.f,this.b)),this.g},TWt.e=I9t,TWt.g=-2,mZ(x7t,"BasicExtendedMetaData/EDataTypeExtendedMetaDataImpl",1161),pDt(1159,1,{},FI),TWt.b=!1,TWt.c=!1,mZ(x7t,"BasicExtendedMetaData/EPackageExtendedMetaDataImpl",1159),pDt(1162,1,{},R0),TWt.c=-2,TWt.e=I9t,TWt.f=I9t,mZ(x7t,"BasicExtendedMetaData/EStructuralFeatureExtendedMetaDataImpl",1162),pDt(585,622,R7t,Eq),TWt.aj=function(){return this.c},TWt.Fk=function(){return!1},TWt.li=function(t,e){return e},TWt.c=0,mZ(x7t,"EDataTypeEList",585);var rLe,aLe,oLe,sLe,cLe=dH(x7t,"FeatureMap");pDt(75,585,{3:1,4:1,20:1,28:1,52:1,14:1,15:1,54:1,67:1,63:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},Aat),TWt.Vc=function(t,e){dNt(this,t,zz(e,72))},TWt.Fc=function(t){return cLt(this,zz(t,72))},TWt.Yh=function(t){pZ(this,zz(t,72))},TWt.cj=function(t,e){return qR(this,zz(t,72),e)},TWt.dj=function(t,e){return HR(this,zz(t,72),e)},TWt.ii=function(t,e){return sjt(this,t,e)},TWt.li=function(t,e){return hUt(this,t,zz(e,72))},TWt._c=function(t,e){return SPt(this,t,zz(e,72))},TWt.jj=function(t,e){return UR(this,zz(t,72),e)},TWt.kj=function(t,e){return GR(this,zz(t,72),e)},TWt.lj=function(t,e,n){return w_t(this,zz(t,72),zz(e,72),n)},TWt.oi=function(t,e){return lAt(this,t,zz(e,72))},TWt.dl=function(t,e){return BRt(this,t,e)},TWt.Wc=function(t,e){var n,i,r,a,o,s,c,u,l;for(u=new wet(e.gc()),r=e.Kc();r.Ob();)if(a=(i=zz(r.Pb(),72)).ak(),LPt(this.e,a))(!a.hi()||!U3(this,a,i.dd())&&!Ckt(u,i))&&h7(u,i);else{for(l=sPt(this.e.Tg(),a),n=zz(this.g,119),o=!0,s=0;s=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},mZ(x7t,"BasicFeatureMap/FeatureEIterator",410),pDt(662,410,oKt,PM),TWt.Lk=function(){return!0},mZ(x7t,"BasicFeatureMap/ResolvingFeatureEIterator",662),pDt(955,486,U7t,GO),TWt.Gi=function(){return this},mZ(x7t,"EContentsEList/1",955),pDt(956,486,U7t,BM),TWt.Lk=function(){return!1},mZ(x7t,"EContentsEList/2",956),pDt(954,279,G7t,YO),TWt.Nk=function(t){},TWt.Ob=function(){return!1},TWt.Sb=function(){return!1},mZ(x7t,"EContentsEList/FeatureIteratorImpl/1",954),pDt(825,585,R7t,RL),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EDataTypeEList/Unsettable",825),pDt(1849,585,R7t,jL),TWt.hi=function(){return!0},mZ(x7t,"EDataTypeUniqueEList",1849),pDt(1850,825,R7t,$L),TWt.hi=function(){return!0},mZ(x7t,"EDataTypeUniqueEList/Unsettable",1850),pDt(139,85,R7t,NL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentEList/Resolving",139),pDt(1163,545,R7t,PL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentEList/Unsettable/Resolving",1163),pDt(748,16,R7t,iR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectContainmentWithInverseEList/Unsettable",748),pDt(1173,748,R7t,rR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectContainmentWithInverseEList/Unsettable/Resolving",1173),pDt(743,496,R7t,BL),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectEList/Unsettable",743),pDt(328,496,R7t,FL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectResolvingEList",328),pDt(1641,743,R7t,zL),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectResolvingEList/Unsettable",1641),pDt(1381,1,{},Nu),mZ(x7t,"EObjectValidator",1381),pDt(546,496,R7t,iY),TWt.zk=function(){return this.d},TWt.Ak=function(){return this.b},TWt.bj=function(){return!0},TWt.Dk=function(){return!0},TWt.b=0,mZ(x7t,"EObjectWithInverseEList",546),pDt(1176,546,R7t,aR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseEList/ManyInverse",1176),pDt(625,546,R7t,oR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EObjectWithInverseEList/Unsettable",625),pDt(1175,625,R7t,cR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseEList/Unsettable/ManyInverse",1175),pDt(749,546,R7t,sR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectWithInverseResolvingEList",749),pDt(31,749,R7t,lR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseResolvingEList/ManyInverse",31),pDt(750,625,R7t,uR),TWt.Ek=function(){return!0},TWt.li=function(t,e){return GMt(this,t,zz(e,56))},mZ(x7t,"EObjectWithInverseResolvingEList/Unsettable",750),pDt(1174,750,R7t,hR),TWt.Ck=function(){return!0},mZ(x7t,"EObjectWithInverseResolvingEList/Unsettable/ManyInverse",1174),pDt(1164,622,R7t),TWt.ai=function(){return 0==(1792&this.b)},TWt.ci=function(){this.b|=1},TWt.Bk=function(){return 0!=(4&this.b)},TWt.bj=function(){return 0!=(40&this.b)},TWt.Ck=function(){return 0!=(16&this.b)},TWt.Dk=function(){return 0!=(8&this.b)},TWt.Ek=function(){return 0!=(this.b&T7t)},TWt.rk=function(){return 0!=(32&this.b)},TWt.Fk=function(){return 0!=(this.b&k6t)},TWt.wj=function(t){return this.d?P3(this.d,t):this.ak().Yj().wj(t)},TWt.fj=function(){return 0!=(2&this.b)?0!=(1&this.b):0!=this.i},TWt.hi=function(){return 0!=(128&this.b)},TWt.Xj=function(){var t;lHt(this),0!=(2&this.b)&&(yD(this.e)?(t=0!=(1&this.b),this.b&=-2,Lm(this,new e6(this.e,2,Ogt(this.e.Tg(),this.ak()),t,!1))):this.b&=-2)},TWt.ni=function(){return 0==(1536&this.b)},TWt.b=0,mZ(x7t,"EcoreEList/Generic",1164),pDt(1165,1164,R7t,GX),TWt.ak=function(){return this.a},mZ(x7t,"EcoreEList/Dynamic",1165),pDt(747,63,h8t,Iw),TWt.ri=function(t){return Fnt(this.a.a,t)},mZ(x7t,"EcoreEMap/1",747),pDt(746,85,R7t,JG),TWt.bi=function(t,e){Mmt(this.b,zz(e,133))},TWt.di=function(t,e){sot(this.b)},TWt.ei=function(t,e,n){var i;++(i=this.b,zz(e,133),i).e},TWt.fi=function(t,e){Dft(this.b,zz(e,133))},TWt.gi=function(t,e,n){Dft(this.b,zz(n,133)),UI(n)===UI(e)&&zz(n,133).Th(aO(zz(e,133).cd())),Mmt(this.b,zz(e,133))},mZ(x7t,"EcoreEMap/DelegateEObjectContainmentEList",746),pDt(1171,151,_7t,xit),mZ(x7t,"EcoreEMap/Unsettable",1171),pDt(1172,746,R7t,fR),TWt.ci=function(){this.a=!0},TWt.fj=function(){return this.a},TWt.Xj=function(){var t;lHt(this),yD(this.e)?(t=this.a,this.a=!1,got(this.e,new e6(this.e,2,this.c,t,!1))):this.a=!1},TWt.a=!1,mZ(x7t,"EcoreEMap/Unsettable/UnsettableDelegateEObjectContainmentEList",1172),pDt(1168,228,nVt,fZ),TWt.a=!1,TWt.b=!1,mZ(x7t,"EcoreUtil/Copier",1168),pDt(745,1,VWt,$2),TWt.Nb=function(t){hY(this,t)},TWt.Ob=function(){return cpt(this)},TWt.Pb=function(){var t;return cpt(this),t=this.b,this.b=null,t},TWt.Qb=function(){this.a.Qb()},mZ(x7t,"EcoreUtil/ProperContentIterator",745),pDt(1382,1381,{},jh),mZ(x7t,"EcoreValidator",1382),dH(x7t,"FeatureMapUtil/Validator"),pDt(1260,1,{1942:1},Pu),TWt.rl=function(t){return!0},mZ(x7t,"FeatureMapUtil/1",1260),pDt(757,1,{1942:1},oYt),TWt.rl=function(t){var e;return this.c==t||(null==(e=AB(FZ(this.a,t)))?BFt(this,t)?(r6(this.a,t,(lN(),yee)),!0):(r6(this.a,t,(lN(),mee)),!1):e==(lN(),yee))},TWt.e=!1,mZ(x7t,"FeatureMapUtil/BasicValidator",757),pDt(758,43,nVt,ZO),mZ(x7t,"FeatureMapUtil/BasicValidator/Cache",758),pDt(501,52,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,69:1,95:1},PI),TWt.Vc=function(t,e){OPt(this.c,this.b,t,e)},TWt.Fc=function(t){return BRt(this.c,this.b,t)},TWt.Wc=function(t,e){return _qt(this.c,this.b,t,e)},TWt.Gc=function(t){return JO(this,t)},TWt.Xh=function(t,e){het(this.c,this.b,t,e)},TWt.lk=function(t,e){return SFt(this.c,this.b,t,e)},TWt.pi=function(t){return rqt(this.c,this.b,t,!1)},TWt.Zh=function(){return kD(this.c,this.b)},TWt.$h=function(){return _D(this.c,this.b)},TWt._h=function(t){return O8(this.c,this.b,t)},TWt.mk=function(t,e){return eF(this,t,e)},TWt.$b=function(){Nm(this)},TWt.Hc=function(t){return U3(this.c,this.b,t)},TWt.Ic=function(t){return Tat(this.c,this.b,t)},TWt.Xb=function(t){return rqt(this.c,this.b,t,!0)},TWt.Wj=function(t){return this},TWt.Xc=function(t){return G3(this.c,this.b,t)},TWt.dc=function(){return qI(this)},TWt.fj=function(){return!spt(this.c,this.b)},TWt.Kc=function(){return att(this.c,this.b)},TWt.Yc=function(){return ott(this.c,this.b)},TWt.Zc=function(t){return dft(this.c,this.b,t)},TWt.ii=function(t,e){return v$t(this.c,this.b,t,e)},TWt.ji=function(t,e){X6(this.c,this.b,t,e)},TWt.$c=function(t){return sCt(this.c,this.b,t)},TWt.Mc=function(t){return IRt(this.c,this.b,t)},TWt._c=function(t,e){return W$t(this.c,this.b,t,e)},TWt.Wb=function(t){OMt(this.c,this.b),JO(this,zz(t,15))},TWt.gc=function(){return jft(this.c,this.b)},TWt.Pc=function(){return U1(this.c,this.b)},TWt.Qc=function(t){return Y3(this.c,this.b,t)},TWt.Ib=function(){var t,e;for((e=new Tx).a+="[",t=kD(this.c,this.b);jut(t);)aM(e,xN(omt(t))),jut(t)&&(e.a+=zWt);return e.a+="]",e.a},TWt.Xj=function(){OMt(this.c,this.b)},mZ(x7t,"FeatureMapUtil/FeatureEList",501),pDt(627,36,n7t,d4),TWt.yi=function(t){return ift(this,t)},TWt.Di=function(t){var e,n,i,r;switch(this.d){case 1:case 2:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.g=t.zi(),1==t.xi()&&(this.d=1),!0;break;case 3:if(3===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=5,h7(e=new wet(2),this.g),h7(e,t.zi()),this.g=e,!0;break;case 5:if(3===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return zz(this.g,14).Fc(t.zi()),!0;break;case 4:switch(t.xi()){case 3:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=1,this.g=t.zi(),!0;break;case 4:if(UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return this.d=6,h7(r=new wet(2),this.n),h7(r,t.Bi()),this.n=r,i=Sst(Ux(DNe,1),hXt,25,15,[this.o,t.Ci()]),this.g=i,!0}break;case 6:if(4===t.xi()&&UI(t.Ai())===UI(this.c)&&ift(this,null)==t.yi(null))return zz(this.n,14).Fc(t.Bi()),sqt(i=zz(this.g,48),0,n=P8(DNe,hXt,25,i.length+1,15,1),0,i.length),n[i.length]=t.Ci(),this.g=n,!0}return!1},mZ(x7t,"FeatureMapUtil/FeatureENotificationImpl",627),pDt(552,501,{20:1,28:1,52:1,14:1,15:1,58:1,76:1,153:1,215:1,1937:1,69:1,95:1},fH),TWt.dl=function(t,e){return BRt(this.c,t,e)},TWt.el=function(t,e,n){return SFt(this.c,t,e,n)},TWt.fl=function(t,e,n){return tqt(this.c,t,e,n)},TWt.gl=function(){return this},TWt.hl=function(t,e){return aqt(this.c,t,e)},TWt.il=function(t){return zz(rqt(this.c,this.b,t,!1),72).ak()},TWt.jl=function(t){return zz(rqt(this.c,this.b,t,!1),72).dd()},TWt.kl=function(){return this.a},TWt.ll=function(t){return!spt(this.c,t)},TWt.ml=function(t,e){Tqt(this.c,t,e)},TWt.nl=function(t){return Yit(this.c,t)},TWt.ol=function(t){jyt(this.c,t)},mZ(x7t,"FeatureMapUtil/FeatureFeatureMap",552),pDt(1259,1,k7t,RI),TWt.Wj=function(t){return rqt(this.b,this.a,-1,t)},TWt.fj=function(){return!spt(this.b,this.a)},TWt.Wb=function(t){Tqt(this.b,this.a,t)},TWt.Xj=function(){OMt(this.b,this.a)},mZ(x7t,"FeatureMapUtil/FeatureValue",1259);var uLe,lLe,hLe,fLe,dLe,gLe=dH(D9t,"AnyType");pDt(666,60,qKt,ix),mZ(D9t,"InvalidDatatypeValueException",666);var pLe,bLe,wLe,mLe,yLe,vLe,xLe,kLe,_Le,ALe,ELe,TLe,CLe,SLe,ILe,MLe,DLe,OLe,LLe,NLe,PLe,BLe,FLe,RLe,jLe,$Le,zLe,qLe,HLe,ULe,GLe=dH(D9t,O9t),YLe=dH(D9t,L9t),ZLe=dH(D9t,N9t);pDt(830,506,{105:1,92:1,90:1,56:1,49:1,97:1,843:1},Fy),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Aat(this,0)),this.c):(!this.c&&(this.c=new Aat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)):(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Aat(this,2)),this.b):(!this.b&&(this.b=new Aat(this,2)),this.b.b)}return Y7(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.c&&(this.c=new Aat(this,0)),ERt(this.c,t,n);case 1:return(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),69)).mk(t,n);case 2:return!this.b&&(this.b=new Aat(this,2)),ERt(this.b,t,n)}return zz(iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),e),66).Nj().Rj(this,X9(this),e-dZ(this.zh()),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).dc();case 2:return!!this.b&&0!=this.b.i}return M3(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void eZ(this.c,e);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Aat(this,2)),void eZ(this.b,e)}Ndt(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),wLe},TWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void lHt(this.c);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).$b();case 2:return!this.b&&(this.b=new Aat(this,2)),void lHt(this.b)}Uht(this,t-dZ(this.zh()),iet(0==(2&this.j)?this.zh():(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (mixed: ",rM(t,this.c),t.a+=", anyAttribute: ",rM(t,this.b),t.a+=")",t.a)},mZ(P9t,"AnyTypeImpl",830),pDt(667,506,{105:1,92:1,90:1,56:1,49:1,97:1,2021:1,667:1},Fu),TWt._g=function(t,e,n){switch(t){case 0:return this.a;case 1:return this.b}return Y7(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return null!=this.a;case 1:return null!=this.b}return M3(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return void xd(this,TB(e));case 1:return void kd(this,TB(e))}Ndt(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),MLe},TWt.Bh=function(t){switch(t){case 0:return void(this.a=null);case 1:return void(this.b=null)}Uht(this,t-dZ((ZHt(),MLe)),iet(0==(2&this.j)?MLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (data: ",aM(t,this.a),t.a+=", target: ",aM(t,this.b),t.a+=")",t.a)},TWt.a=null,TWt.b=null,mZ(P9t,"ProcessingInstructionImpl",667),pDt(668,830,{105:1,92:1,90:1,56:1,49:1,97:1,843:1,2022:1,668:1},jy),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.c&&(this.c=new Aat(this,0)),this.c):(!this.c&&(this.c=new Aat(this,0)),this.c.b);case 1:return n?(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)):(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).kl();case 2:return n?(!this.b&&(this.b=new Aat(this,2)),this.b):(!this.b&&(this.b=new Aat(this,2)),this.b.b);case 3:return!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0));case 4:return bR(this.a,(!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0))));case 5:return this.a}return Y7(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.lh=function(t){switch(t){case 0:return!!this.c&&0!=this.c.i;case 1:return!(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).dc();case 2:return!!this.b&&0!=this.b.i;case 3:return!this.c&&(this.c=new Aat(this,0)),null!=TB(aqt(this.c,(ZHt(),LLe),!0));case 4:return null!=bR(this.a,(!this.c&&(this.c=new Aat(this,0)),TB(aqt(this.c,(ZHt(),LLe),!0))));case 5:return!!this.a}return M3(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void eZ(this.c,e);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(zz(t1(this.c,(ZHt(),mLe)),153),215)).Wb(e);case 2:return!this.b&&(this.b=new Aat(this,2)),void eZ(this.b,e);case 3:return void $0(this,TB(e));case 4:return void $0(this,wR(this.a,e));case 5:return void _d(this,zz(e,148))}Ndt(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),OLe},TWt.Bh=function(t){switch(t){case 0:return!this.c&&(this.c=new Aat(this,0)),void lHt(this.c);case 1:return void(!this.c&&(this.c=new Aat(this,0)),zz(t1(this.c,(ZHt(),mLe)),153)).$b();case 2:return!this.b&&(this.b=new Aat(this,2)),void lHt(this.b);case 3:return!this.c&&(this.c=new Aat(this,0)),void Tqt(this.c,(ZHt(),LLe),null);case 4:return void $0(this,wR(this.a,null));case 5:return void(this.a=null)}Uht(this,t-dZ((ZHt(),OLe)),iet(0==(2&this.j)?OLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},mZ(P9t,"SimpleAnyTypeImpl",668),pDt(669,506,{105:1,92:1,90:1,56:1,49:1,97:1,2023:1,669:1},Ry),TWt._g=function(t,e,n){switch(t){case 0:return n?(!this.a&&(this.a=new Aat(this,0)),this.a):(!this.a&&(this.a=new Aat(this,0)),this.a.b);case 1:return n?(!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),this.b):(!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),D8(this.b));case 2:return n?(!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),this.c):(!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),D8(this.c));case 3:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),BLe));case 4:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),FLe));case 5:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),jLe));case 6:return!this.a&&(this.a=new Aat(this,0)),t1(this.a,(ZHt(),$Le))}return Y7(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e,n)},TWt.jh=function(t,e,n){switch(e){case 0:return!this.a&&(this.a=new Aat(this,0)),ERt(this.a,t,n);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),zR(this.b,t,n);case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),zR(this.c,t,n);case 5:return!this.a&&(this.a=new Aat(this,0)),eF(t1(this.a,(ZHt(),jLe)),t,n)}return zz(iet(0==(2&this.j)?(ZHt(),PLe):(!this.k&&(this.k=new Fh),this.k).ck(),e),66).Nj().Rj(this,X9(this),e-dZ((ZHt(),PLe)),t,n)},TWt.lh=function(t){switch(t){case 0:return!!this.a&&0!=this.a.i;case 1:return!!this.b&&0!=this.b.f;case 2:return!!this.c&&0!=this.c.f;case 3:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),BLe)));case 4:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),FLe)));case 5:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),jLe)));case 6:return!this.a&&(this.a=new Aat(this,0)),!qI(t1(this.a,(ZHt(),$Le)))}return M3(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.sh=function(t,e){switch(t){case 0:return!this.a&&(this.a=new Aat(this,0)),void eZ(this.a,e);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),void not(this.b,e);case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),void not(this.c,e);case 3:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),BLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,BLe),zz(e,14));case 4:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),FLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,FLe),zz(e,14));case 5:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),jLe))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,jLe),zz(e,14));case 6:return!this.a&&(this.a=new Aat(this,0)),Nm(t1(this.a,(ZHt(),$Le))),!this.a&&(this.a=new Aat(this,0)),void JO(t1(this.a,$Le),zz(e,14))}Ndt(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t),e)},TWt.zh=function(){return ZHt(),PLe},TWt.Bh=function(t){switch(t){case 0:return!this.a&&(this.a=new Aat(this,0)),void lHt(this.a);case 1:return!this.b&&(this.b=new v7((wWt(),xOe),ZOe,this,1)),void this.b.c.$b();case 2:return!this.c&&(this.c=new v7((wWt(),xOe),ZOe,this,2)),void this.c.c.$b();case 3:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),BLe)));case 4:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),FLe)));case 5:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),jLe)));case 6:return!this.a&&(this.a=new Aat(this,0)),void Nm(t1(this.a,(ZHt(),$Le)))}Uht(this,t-dZ((ZHt(),PLe)),iet(0==(2&this.j)?PLe:(!this.k&&(this.k=new Fh),this.k).ck(),t))},TWt.Ib=function(){var t;return 0!=(4&this.j)?SOt(this):((t=new hN(SOt(this))).a+=" (mixed: ",rM(t,this.a),t.a+=")",t.a)},mZ(P9t,"XMLTypeDocumentRootImpl",669),pDt(1919,704,{105:1,92:1,90:1,471:1,147:1,56:1,108:1,49:1,97:1,150:1,114:1,115:1,2024:1},Bu),TWt.Ih=function(t,e){switch(t.yj()){case 7:case 8:case 9:case 10:case 16:case 22:case 23:case 24:case 25:case 26:case 32:case 33:case 34:case 36:case 37:case 44:case 45:case 50:case 51:case 53:case 55:case 56:case 57:case 58:case 60:case 61:case 4:return null==e?null:qdt(e);case 19:case 28:case 29:case 35:case 38:case 39:case 41:case 46:case 52:case 54:case 5:return TB(e);case 6:return yB(zz(e,190));case 12:case 47:case 49:case 11:return UUt(this,t,e);case 13:return null==e?null:Gzt(zz(e,240));case 15:case 14:return null==e?null:FY(Uv(EB(e)));case 17:return A_t((ZHt(),e));case 18:return A_t(e);case 21:case 20:return null==e?null:RY(zz(e,155).a);case 27:return vB(zz(e,190));case 30:return $yt((ZHt(),zz(e,15)));case 31:return $yt(zz(e,15));case 40:return kB((ZHt(),e));case 42:return E_t((ZHt(),e));case 43:return E_t(e);case 59:case 48:return xB((ZHt(),e));default:throw qw(new jv(b6t+t.ne()+w6t))}},TWt.Jh=function(t){var e;switch(-1==t.G&&(t.G=(e=Zet(t))?cmt(e.Mh(),t):-1),t.G){case 0:return new Fy;case 1:return new Fu;case 2:return new jy;case 3:return new Ry;default:throw qw(new jv(v6t+t.zb+w6t))}},TWt.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 xwt(e);case 8:case 7:return null==e?null:$_t(e);case 9:return null==e?null:Ctt(djt((i=zzt(e,!0)).length>0&&(d1(0,i.length),43==i.charCodeAt(0))?i.substr(1):i,-128,127)<<24>>24);case 10:return null==e?null:Ctt(djt((r=zzt(e,!0)).length>0&&(d1(0,r.length),43==r.charCodeAt(0))?r.substr(1):r,-128,127)<<24>>24);case 11:return TB(BZt(this,(ZHt(),xLe),e));case 12:return TB(BZt(this,(ZHt(),kLe),e));case 13:return null==e?null:new g_(zzt(e,!0));case 15:case 14:return wLt(e);case 16:return TB(BZt(this,(ZHt(),_Le),e));case 17:return Hpt((ZHt(),e));case 18:return Hpt(e);case 28:case 29:case 35:case 38:case 39:case 41:case 54:case 19:return zzt(e,!0);case 21:case 20:return MLt(e);case 22:return TB(BZt(this,(ZHt(),ALe),e));case 23:return TB(BZt(this,(ZHt(),ELe),e));case 24:return TB(BZt(this,(ZHt(),TLe),e));case 25:return TB(BZt(this,(ZHt(),CLe),e));case 26:return TB(BZt(this,(ZHt(),SLe),e));case 27:return twt(e);case 30:return Upt((ZHt(),e));case 31:return Upt(e);case 32:return null==e?null:rft(djt((l=zzt(e,!0)).length>0&&(d1(0,l.length),43==l.charCodeAt(0))?l.substr(1):l,$Kt,FWt));case 33:return null==e?null:new OD((h=zzt(e,!0)).length>0&&(d1(0,h.length),43==h.charCodeAt(0))?h.substr(1):h);case 34:return null==e?null:rft(djt((f=zzt(e,!0)).length>0&&(d1(0,f.length),43==f.charCodeAt(0))?f.substr(1):f,$Kt,FWt));case 36:return null==e?null:_bt(aYt((d=zzt(e,!0)).length>0&&(d1(0,d.length),43==d.charCodeAt(0))?d.substr(1):d));case 37:return null==e?null:_bt(aYt((g=zzt(e,!0)).length>0&&(d1(0,g.length),43==g.charCodeAt(0))?g.substr(1):g));case 40:return Xgt((ZHt(),e));case 42:return Gpt((ZHt(),e));case 43:return Gpt(e);case 44:return null==e?null:new OD((p=zzt(e,!0)).length>0&&(d1(0,p.length),43==p.charCodeAt(0))?p.substr(1):p);case 45:return null==e?null:new OD((b=zzt(e,!0)).length>0&&(d1(0,b.length),43==b.charCodeAt(0))?b.substr(1):b);case 46:return zzt(e,!1);case 47:return TB(BZt(this,(ZHt(),ILe),e));case 59:case 48:return Kgt((ZHt(),e));case 49:return TB(BZt(this,(ZHt(),DLe),e));case 50:return null==e?null:aft(djt((w=zzt(e,!0)).length>0&&(d1(0,w.length),43==w.charCodeAt(0))?w.substr(1):w,V7t,32767)<<16>>16);case 51:return null==e?null:aft(djt((a=zzt(e,!0)).length>0&&(d1(0,a.length),43==a.charCodeAt(0))?a.substr(1):a,V7t,32767)<<16>>16);case 53:return TB(BZt(this,(ZHt(),NLe),e));case 55:return null==e?null:aft(djt((o=zzt(e,!0)).length>0&&(d1(0,o.length),43==o.charCodeAt(0))?o.substr(1):o,V7t,32767)<<16>>16);case 56:return null==e?null:aft(djt((s=zzt(e,!0)).length>0&&(d1(0,s.length),43==s.charCodeAt(0))?s.substr(1):s,V7t,32767)<<16>>16);case 57:return null==e?null:_bt(aYt((c=zzt(e,!0)).length>0&&(d1(0,c.length),43==c.charCodeAt(0))?c.substr(1):c));case 58:return null==e?null:_bt(aYt((u=zzt(e,!0)).length>0&&(d1(0,u.length),43==u.charCodeAt(0))?u.substr(1):u));case 60:return null==e?null:rft(djt((n=zzt(e,!0)).length>0&&(d1(0,n.length),43==n.charCodeAt(0))?n.substr(1):n,$Kt,FWt));case 61:return null==e?null:rft(djt(zzt(e,!0),$Kt,FWt));default:throw qw(new jv(b6t+t.ne()+w6t))}},mZ(P9t,"XMLTypeFactoryImpl",1919),pDt(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},GW),TWt.N=!1,TWt.O=!1;var WLe,KLe,XLe,VLe,QLe,JLe=!1;mZ(P9t,"XMLTypePackageImpl",586),pDt(1852,1,{837:1},Ru),TWt._j=function(){return f$t(),ANe},mZ(P9t,"XMLTypePackageImpl/1",1852),pDt(1861,1,l9t,ju),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/10",1861),pDt(1862,1,l9t,$u),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/11",1862),pDt(1863,1,l9t,zu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/12",1863),pDt(1864,1,l9t,qu),TWt.wj=function(t){return YI(t)},TWt.xj=function(t){return P8(See,lKt,333,t,7,1)},mZ(P9t,"XMLTypePackageImpl/13",1864),pDt(1865,1,l9t,Hu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/14",1865),pDt(1866,1,l9t,Uu),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/15",1866),pDt(1867,1,l9t,Gu),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/16",1867),pDt(1868,1,l9t,Yu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/17",1868),pDt(1869,1,l9t,Zu),TWt.wj=function(t){return aL(t,155)},TWt.xj=function(t){return P8(Iee,lKt,155,t,0,1)},mZ(P9t,"XMLTypePackageImpl/18",1869),pDt(1870,1,l9t,Wu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/19",1870),pDt(1853,1,l9t,Ku),TWt.wj=function(t){return aL(t,843)},TWt.xj=function(t){return P8(gLe,HWt,843,t,0,1)},mZ(P9t,"XMLTypePackageImpl/2",1853),pDt(1871,1,l9t,Xu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/20",1871),pDt(1872,1,l9t,Vu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/21",1872),pDt(1873,1,l9t,Qu),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/22",1873),pDt(1874,1,l9t,Ju),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/23",1874),pDt(1875,1,l9t,tl),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(P9t,"XMLTypePackageImpl/24",1875),pDt(1876,1,l9t,el),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/25",1876),pDt(1877,1,l9t,nl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/26",1877),pDt(1878,1,l9t,il),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/27",1878),pDt(1879,1,l9t,rl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/28",1879),pDt(1880,1,l9t,al),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/29",1880),pDt(1854,1,l9t,ol),TWt.wj=function(t){return aL(t,667)},TWt.xj=function(t){return P8(GLe,HWt,2021,t,0,1)},mZ(P9t,"XMLTypePackageImpl/3",1854),pDt(1881,1,l9t,sl),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(P9t,"XMLTypePackageImpl/30",1881),pDt(1882,1,l9t,cl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/31",1882),pDt(1883,1,l9t,ul),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(P9t,"XMLTypePackageImpl/32",1883),pDt(1884,1,l9t,ll),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/33",1884),pDt(1885,1,l9t,hl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/34",1885),pDt(1886,1,l9t,fl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/35",1886),pDt(1887,1,l9t,dl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/36",1887),pDt(1888,1,l9t,gl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/37",1888),pDt(1889,1,l9t,pl),TWt.wj=function(t){return aL(t,15)},TWt.xj=function(t){return P8(Rte,eJt,15,t,0,1)},mZ(P9t,"XMLTypePackageImpl/38",1889),pDt(1890,1,l9t,bl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/39",1890),pDt(1855,1,l9t,wl),TWt.wj=function(t){return aL(t,668)},TWt.xj=function(t){return P8(YLe,HWt,2022,t,0,1)},mZ(P9t,"XMLTypePackageImpl/4",1855),pDt(1891,1,l9t,ml),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/40",1891),pDt(1892,1,l9t,yl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/41",1892),pDt(1893,1,l9t,vl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/42",1893),pDt(1894,1,l9t,xl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/43",1894),pDt(1895,1,l9t,kl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/44",1895),pDt(1896,1,l9t,_l),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(P9t,"XMLTypePackageImpl/45",1896),pDt(1897,1,l9t,Al),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/46",1897),pDt(1898,1,l9t,El),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/47",1898),pDt(1899,1,l9t,Tl),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/48",1899),pDt(lXt,1,l9t,Cl),TWt.wj=function(t){return aL(t,184)},TWt.xj=function(t){return P8($ee,lKt,184,t,0,1)},mZ(P9t,"XMLTypePackageImpl/49",lXt),pDt(1856,1,l9t,Sl),TWt.wj=function(t){return aL(t,669)},TWt.xj=function(t){return P8(ZLe,HWt,2023,t,0,1)},mZ(P9t,"XMLTypePackageImpl/5",1856),pDt(1901,1,l9t,Il),TWt.wj=function(t){return aL(t,162)},TWt.xj=function(t){return P8(Ree,lKt,162,t,0,1)},mZ(P9t,"XMLTypePackageImpl/50",1901),pDt(1902,1,l9t,Ml),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/51",1902),pDt(1903,1,l9t,Dl),TWt.wj=function(t){return aL(t,19)},TWt.xj=function(t){return P8(Oee,lKt,19,t,0,1)},mZ(P9t,"XMLTypePackageImpl/52",1903),pDt(1857,1,l9t,Ol),TWt.wj=function(t){return ZI(t)},TWt.xj=function(t){return P8(Vee,lKt,2,t,6,1)},mZ(P9t,"XMLTypePackageImpl/6",1857),pDt(1858,1,l9t,Ll),TWt.wj=function(t){return aL(t,190)},TWt.xj=function(t){return P8(NNe,lKt,190,t,0,2)},mZ(P9t,"XMLTypePackageImpl/7",1858),pDt(1859,1,l9t,Nl),TWt.wj=function(t){return GI(t)},TWt.xj=function(t){return P8(kee,lKt,476,t,8,1)},mZ(P9t,"XMLTypePackageImpl/8",1859),pDt(1860,1,l9t,Pl),TWt.wj=function(t){return aL(t,217)},TWt.xj=function(t){return P8(Eee,lKt,217,t,0,1)},mZ(P9t,"XMLTypePackageImpl/9",1860),pDt(50,60,qKt,ox),mZ(ste,"RegEx/ParseException",50),pDt(820,1,{},Bl),TWt.sl=function(t){return t16*n)throw qw(new ox(kWt((sO(),H8t))));n=16*n+r}if(125!=this.a)throw qw(new ox(kWt((sO(),U8t))));if(n>cte)throw qw(new ox(kWt((sO(),G8t))));t=n}else{if(r=0,0!=this.c||(r=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(n=r,VZt(this),0!=this.c||(r=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));t=n=16*n+r}break;case 117:if(i=0,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));t=e=16*e+i;break;case 118:if(VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if(e=16*e+i,VZt(this),0!=this.c||(i=Gmt(this.a))<0)throw qw(new ox(kWt((sO(),q8t))));if((e=16*e+i)>cte)throw qw(new ox(kWt((sO(),"parser.descappe.4"))));t=e;break;case 65:case 90:case 122:throw qw(new ox(kWt((sO(),Y8t))))}return t},TWt.ul=function(t){var e;switch(t){case 100:e=32==(32&this.e)?tZt("Nd",!0):(pWt(),sNe);break;case 68:e=32==(32&this.e)?tZt("Nd",!1):(pWt(),fNe);break;case 119:e=32==(32&this.e)?tZt("IsWord",!0):(pWt(),xNe);break;case 87:e=32==(32&this.e)?tZt("IsWord",!1):(pWt(),gNe);break;case 115:e=32==(32&this.e)?tZt("IsSpace",!0):(pWt(),bNe);break;case 83:e=32==(32&this.e)?tZt("IsSpace",!1):(pWt(),dNe);break;default:throw qw(new pv(ute+t.toString(16)))}return e},TWt.vl=function(t){var e,n,i,r,a,o,s,c,u,l,h;for(this.b=1,VZt(this),e=null,0==this.c&&94==this.a?(VZt(this),t?(pWt(),pWt(),u=new E0(5)):(pWt(),pWt(),QPt(e=new E0(4),0,cte),u=new E0(4))):(pWt(),pWt(),u=new E0(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:lqt(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=FIt(this,n)))throw qw(new ox(kWt((sO(),D8t))));lqt(u,l),i=!0;break;default:n=this.tl()}else if(20==h){if((a=fP(this.i,58,this.d))<0)throw qw(new ox(kWt((sO(),O8t))));if(o=!0,94==hK(this.i,this.d)&&(++this.d,o=!1),!(s=d7(hP(this.i,this.d,a),o,512==(512&this.e))))throw qw(new ox(kWt((sO(),N8t))));if(lqt(u,s),i=!0,a+1>=this.j||93!=hK(this.i,a+1))throw qw(new ox(kWt((sO(),O8t))));this.d=a+2}if(VZt(this),!i)if(0!=this.c||45!=this.a)QPt(u,n,n);else{if(VZt(this),1==(h=this.c))throw qw(new ox(kWt((sO(),L8t))));0==h&&93==this.a?(QPt(u,n,n),QPt(u,45,45)):(c=this.a,10==h&&(c=this.tl()),VZt(this),QPt(u,n,c))}(this.e&k6t)==k6t&&0==this.c&&44==this.a&&VZt(this)}if(1==this.c)throw qw(new ox(kWt((sO(),L8t))));return e&&(KUt(e,u),u=e),EOt(u),Uqt(u),this.b=0,VZt(this),u},TWt.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 qw(new ox(kWt((sO(),$8t))));if(VZt(this),9!=this.c)throw qw(new ox(kWt((sO(),j8t))));if(e=this.vl(!1),4==i)lqt(n,e);else if(45==t)KUt(n,e);else{if(38!=t)throw qw(new pv("ASSERT"));kUt(n,e)}}return VZt(this),n},TWt.xl=function(){var t,e;return t=this.a-48,pWt(),pWt(),e=new mQ(12,null,t),!this.g&&(this.g=new jm),Sm(this.g,new Mw(t)),VZt(this),e},TWt.yl=function(){return VZt(this),pWt(),wNe},TWt.zl=function(){return VZt(this),pWt(),pNe},TWt.Al=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Bl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Cl=function(){return VZt(this),fut()},TWt.Dl=function(){return VZt(this),pWt(),yNe},TWt.El=function(){return VZt(this),pWt(),kNe},TWt.Fl=function(){var t;if(this.d>=this.j||64!=(65504&(t=hK(this.i,this.d++))))throw qw(new ox(kWt((sO(),C8t))));return VZt(this),pWt(),pWt(),new cU(0,t-64)},TWt.Gl=function(){return VZt(this),R$t()},TWt.Hl=function(){return VZt(this),pWt(),_Ne},TWt.Il=function(){var t;return pWt(),pWt(),t=new cU(0,105),VZt(this),t},TWt.Jl=function(){return VZt(this),pWt(),vNe},TWt.Kl=function(){return VZt(this),pWt(),mNe},TWt.Ll=function(t,e){return this.tl()},TWt.Ml=function(){return VZt(this),pWt(),lNe},TWt.Nl=function(){var t,e,n,i,r;if(this.d+1>=this.j)throw qw(new ox(kWt((sO(),A8t))));if(i=-1,e=null,49<=(t=hK(this.i,this.d))&&t<=57){if(i=t-48,!this.g&&(this.g=new jm),Sm(this.g,new Mw(i)),++this.d,41!=hK(this.i,this.d))throw qw(new ox(kWt((sO(),x8t))));++this.d}else switch(63==t&&--this.d,VZt(this),(e=DZt(this)).e){case 20:case 21:case 22:case 23:break;case 8:if(7!=this.c)throw qw(new ox(kWt((sO(),x8t))));break;default:throw qw(new ox(kWt((sO(),E8t))))}if(VZt(this),n=null,2==(r=Xpt(this)).e){if(2!=r.em())throw qw(new ox(kWt((sO(),T8t))));n=r.am(1),r=r.am(0)}if(7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),pWt(),pWt(),new ktt(i,e,r,n)},TWt.Ol=function(){return VZt(this),pWt(),hNe},TWt.Pl=function(){var t;if(VZt(this),t=sY(24,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Ql=function(){var t;if(VZt(this),t=sY(20,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Rl=function(){var t;if(VZt(this),t=sY(22,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Sl=function(){var t,e,n,i,r;for(t=0,n=0,e=-1;this.d=this.j)throw qw(new ox(kWt((sO(),k8t))));if(45==e){for(++this.d;this.d=this.j)throw qw(new ox(kWt((sO(),k8t))))}if(58==e){if(++this.d,VZt(this),i=DZ(Xpt(this),t,n),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));VZt(this)}else{if(41!=e)throw qw(new ox(kWt((sO(),_8t))));++this.d,VZt(this),i=DZ(Xpt(this),t,n)}return i},TWt.Tl=function(){var t;if(VZt(this),t=sY(21,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Ul=function(){var t;if(VZt(this),t=sY(23,Xpt(this)),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Vl=function(){var t,e;if(VZt(this),t=this.f++,e=cY(Xpt(this),t),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),e},TWt.Wl=function(){var t;if(VZt(this),t=cY(Xpt(this),0),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Xl=function(t){return VZt(this),5==this.c?(VZt(this),bU(t,(pWt(),pWt(),new l4(9,t)))):bU(t,(pWt(),pWt(),new l4(3,t)))},TWt.Yl=function(t){var e;return VZt(this),pWt(),pWt(),e=new rO(2),5==this.c?(VZt(this),nHt(e,uNe),nHt(e,t)):(nHt(e,t),nHt(e,uNe)),e},TWt.Zl=function(t){return VZt(this),5==this.c?(VZt(this),pWt(),pWt(),new l4(9,t)):(pWt(),pWt(),new l4(3,t))},TWt.a=0,TWt.b=0,TWt.c=0,TWt.d=0,TWt.e=0,TWt.f=1,TWt.g=null,TWt.j=0,mZ(ste,"RegEx/RegexParser",820),pDt(1824,820,{},$y),TWt.sl=function(t){return!1},TWt.tl=function(){return UBt(this)},TWt.ul=function(t){return bjt(t)},TWt.vl=function(t){return tWt(this)},TWt.wl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.xl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.yl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.zl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Al=function(){return VZt(this),bjt(67)},TWt.Bl=function(){return VZt(this),bjt(73)},TWt.Cl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Dl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.El=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Fl=function(){return VZt(this),bjt(99)},TWt.Gl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Hl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Il=function(){return VZt(this),bjt(105)},TWt.Jl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Kl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ll=function(t,e){return lqt(t,bjt(e)),-1},TWt.Ml=function(){return VZt(this),pWt(),pWt(),new cU(0,94)},TWt.Nl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ol=function(){return VZt(this),pWt(),pWt(),new cU(0,36)},TWt.Pl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ql=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Rl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Sl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Tl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Ul=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Vl=function(){var t;if(VZt(this),t=cY(Xpt(this),0),7!=this.c)throw qw(new ox(kWt((sO(),x8t))));return VZt(this),t},TWt.Wl=function(){throw qw(new ox(kWt((sO(),Z8t))))},TWt.Xl=function(t){return VZt(this),bU(t,(pWt(),pWt(),new l4(3,t)))},TWt.Yl=function(t){var e;return VZt(this),pWt(),pWt(),nHt(e=new rO(2),t),nHt(e,uNe),e},TWt.Zl=function(t){return VZt(this),pWt(),pWt(),new l4(3,t)};var tNe=null,eNe=null;mZ(ste,"RegEx/ParserForXMLSchema",1824),pDt(117,1,xte,Dw),TWt.$l=function(t){throw qw(new pv("Not supported."))},TWt._l=function(){return-1},TWt.am=function(t){return null},TWt.bm=function(){return null},TWt.cm=function(t){},TWt.dm=function(t){},TWt.em=function(){return 0},TWt.Ib=function(){return this.fm(0)},TWt.fm=function(t){return 11==this.e?".":""},TWt.e=0;var nNe,iNe,rNe,aNe,oNe,sNe,cNe,uNe,lNe,hNe,fNe,dNe,gNe,pNe,bNe,wNe,mNe,yNe,vNe,xNe,kNe,_Ne,ANe,ENe,TNe=null,CNe=null,SNe=null,INe=mZ(ste,"RegEx/Token",117);pDt(136,117,{3:1,136:1,117:1},E0),TWt.fm=function(t){var e,n,i;if(4==this.e)if(this==cNe)n=".";else if(this==sNe)n="\\d";else if(this==xNe)n="\\w";else if(this==bNe)n="\\s";else{for((i=new Tx).a+="[",e=0;e0&&(i.a+=","),this.b[e]===this.b[e+1]?aM(i,szt(this.b[e])):(aM(i,szt(this.b[e])),i.a+="-",aM(i,szt(this.b[e+1])));i.a+="]",n=i.a}else if(this==fNe)n="\\D";else if(this==gNe)n="\\W";else if(this==dNe)n="\\S";else{for((i=new Tx).a+="[^",e=0;e0&&(i.a+=","),this.b[e]===this.b[e+1]?aM(i,szt(this.b[e])):(aM(i,szt(this.b[e])),i.a+="-",aM(i,szt(this.b[e+1])));i.a+="]",n=i.a}return n},TWt.a=!1,TWt.c=!1,mZ(ste,"RegEx/RangeToken",136),pDt(584,1,{584:1},Mw),TWt.a=0,mZ(ste,"RegEx/RegexParser/ReferencePosition",584),pDt(583,1,{3:1,583:1},Z_),TWt.Fb=function(t){var e;return null!=t&&!!aL(t,583)&&(e=zz(t,583),yR(this.b,e.b)&&this.a==e.a)},TWt.Hb=function(){return ymt(this.b+"/"+nPt(this.a))},TWt.Ib=function(){return this.c.fm(this.a)},TWt.a=0,mZ(ste,"RegEx/RegularExpression",583),pDt(223,117,xte,cU),TWt._l=function(){return this.a},TWt.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="\\"+CF(this.a&VKt);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>=qXt?"\\v"+hP(e="0"+(this.a>>>0).toString(16),e.length-6,e.length):""+CF(this.a&VKt)}break;case 8:n=this==lNe||this==hNe?""+CF(this.a&VKt):"\\"+CF(this.a&VKt);break;default:n=null}return n},TWt.a=0,mZ(ste,"RegEx/Token/CharToken",223),pDt(309,117,xte,l4),TWt.am=function(t){return this.a},TWt.cm=function(t){this.b=t},TWt.dm=function(t){this.c=t},TWt.em=function(){return 1},TWt.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 qw(new pv("Token#toString(): CLOSURE "+this.c+zWt+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 qw(new pv("Token#toString(): NONGREEDYCLOSURE "+this.c+zWt+this.b));e=this.a.fm(t)+"{"+this.c+",}?"}return e},TWt.b=0,TWt.c=0,mZ(ste,"RegEx/Token/ClosureToken",309),pDt(821,117,xte,YY),TWt.am=function(t){return 0==t?this.a:this.b},TWt.em=function(){return 2},TWt.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)},mZ(ste,"RegEx/Token/ConcatToken",821),pDt(1822,117,xte,ktt),TWt.am=function(t){if(0==t)return this.d;if(1==t)return this.b;throw qw(new pv("Internal Error: "+t))},TWt.em=function(){return this.b?2:1},TWt.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},TWt.c=0,mZ(ste,"RegEx/Token/ConditionToken",1822),pDt(1823,117,xte,A0),TWt.am=function(t){return this.b},TWt.em=function(){return 1},TWt.fm=function(t){return"(?"+(0==this.a?"":nPt(this.a))+(0==this.c?"":nPt(this.c))+":"+this.b.fm(t)+")"},TWt.a=0,TWt.c=0,mZ(ste,"RegEx/Token/ModifierToken",1823),pDt(822,117,xte,aW),TWt.am=function(t){return this.a},TWt.em=function(){return 1},TWt.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},TWt.b=0,mZ(ste,"RegEx/Token/ParenToken",822),pDt(521,117,{3:1,117:1,521:1},mQ),TWt.bm=function(){return this.b},TWt.fm=function(t){return 12==this.e?"\\"+this.a:rDt(this.b)},TWt.a=0,mZ(ste,"RegEx/Token/StringToken",521),pDt(465,117,xte,rO),TWt.$l=function(t){nHt(this,t)},TWt.am=function(t){return zz(dW(this.a,t),117)},TWt.em=function(){return this.a?this.a.a.c.length:0},TWt.fm=function(t){var e,n,i,r,a;if(1==this.e){if(2==this.a.a.c.length)e=zz(dW(this.a,0),117),r=3==(n=zz(dW(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 Tx,i=0;i=this.c.b:this.a<=this.c.b},TWt.Sb=function(){return this.b>0},TWt.Tb=function(){return this.b},TWt.Vb=function(){return this.b-1},TWt.Qb=function(){throw qw(new ex(Cte))},TWt.a=0,TWt.b=0,mZ(Ate,"ExclusiveRange/RangeIterator",254);var MNe=FW(S7t,"C"),DNe=FW(D7t,"I"),ONe=FW(LWt,"Z"),LNe=FW(O7t,"J"),NNe=FW(C7t,"B"),PNe=FW(I7t,"D"),BNe=FW(M7t,"F"),FNe=FW(L7t,"S"),RNe=dH("org.eclipse.elk.core.labels","ILabelManager"),jNe=dH(q6t,"DiagnosticChain"),$Ne=dH(f9t,"ResourceSet"),zNe=mZ(q6t,"InvocationTargetException",null),qNe=(Bx(),h5),HNe=HNe=h_t;tit(Xw),lat("permProps",[[[Ste,Ite],[Mte,"gecko1_8"]],[[Ste,Ite],[Mte,"ie10"]],[[Ste,Ite],[Mte,"ie8"]],[[Ste,Ite],[Mte,"ie9"]],[[Ste,Ite],[Mte,"safari"]]]),HNe(null,"elk",null)}).call(this)}).call(this,void 0!==n.g?n.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{})},{}],3:[function(t,e,n){"use strict";function i(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function r(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}function a(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)}var o=function(e){function n(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};i(this,n);var a=Object.assign({},e),o=!1;try{t.resolve("web-worker"),o=!0}catch(t){}if(e.workerUrl)if(o){var s=t("web-worker");a.workerFactory=function(t){return new s(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(!a.workerFactory){var c=t("./elk-worker.min.js").Worker;a.workerFactory=function(t){return new c(t)}}return r(this,(n.__proto__||Object.getPrototypeOf(n)).call(this,a))}return a(n,e),n}(t("./elk-api.js").default);Object.defineProperty(e.exports,"__esModule",{value:!0}),e.exports=o,o.default=o},{"./elk-api.js":1,"./elk-worker.min.js":2,"web-worker":4}],4:[function(t,e,n){e.exports=Worker},{}]},{},[3])(3)},5539: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: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]=y,!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):E===C&&(i>a?(n[0]=s,n[1]=c,_=!0):(n[0]=f,n[1]=h,_=!0)),-T===C?a>i?(n[2]=m,n[3]=y,A=!0):(n[2]=w,n[3]=b,A=!0):T===C&&(a>i?(n[2]=p,n[3]=b,A=!0):(n[2]=v,n[3]=y,A=!0)),_&&A)return!1;if(i>a?r>o?(S=this.getCardinalDirection(E,C,4),I=this.getCardinalDirection(T,C,2)):(S=this.getCardinalDirection(-E,C,3),I=this.getCardinalDirection(-T,C,1)):r>o?(S=this.getCardinalDirection(-E,C,1),I=this.getCardinalDirection(-T,C,3)):(S=this.getCardinalDirection(E,C,2),I=this.getCardinalDirection(T,C,4)),!_)switch(S){case 1:D=c,M=i+-g/C,n[0]=M,n[1]=D;break;case 2:M=f,D=r+d*C,n[0]=M,n[1]=D;break;case 3:D=h,M=i+g/C,n[0]=M,n[1]=D;break;case 4:M=l,D=r+-d*C,n[0]=M,n[1]=D}if(!A)switch(I){case 1:L=b,O=a+-k/C,n[2]=O,n[3]=L;break;case 2:O=v,L=o+x*C,n[2]=O,n[3]=L;break;case 3:L=y,O=a+k/C,n[2]=O,n[3]=L;break;case 4:O=m,L=o+-x*C,n[2]=O,n[3]=L}}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,m=r.x,y=r.y;return 0==(h=(a=p-d)*(c=b-m)-(o=y-w)*(s=f-g))?null:new i((s*(l=m*w-b*y)-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,a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:-1,o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:-1;r(this,t),this.sequence1=e,this.sequence2=n,this.match_score=i,this.mismatch_penalty=a,this.gap_penalty=o,this.iMax=e.length+1,this.jMax=n.length+1,this.grid=new Array(this.iMax);for(var s=0;s=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-1}(u))return u;var l=u.match(o);if(!l)return u;var h=l[0];return n.test(h)?e.Rq:u}},4881:function(t){t.exports=function(){function t(e,n,i){function r(o,s){if(!n[o]){if(!e[o]){if(a)return a(o,!0);var c=new Error("Cannot find module '"+o+"'");throw c.code="MODULE_NOT_FOUND",c}var u=n[o]={exports:{}};e[o][0].call(u.exports,(function(t){return r(e[o][1][t]||t)}),u,u.exports,t,e,n,i)}return n[o].exports}for(var a=void 0,o=0;o=0,wasm:e.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(a),this.use(o)}i(s,r),s.prototype.resizeAndUnsharp=function(t,e){var n=this.resize(t,e);return t.unsharpAmount&&this.unsharp_mask(n,t.toWidth,t.toHeight,t.unsharpAmount,t.unsharpRadius,t.unsharpThreshold),n},e.exports=s},{"./mm_resize":4,"./mm_unsharp_mask":9,inherits:19,multimath:20}],2:[function(t,e,n){"use strict";function i(t){return t<0?0:t>255?255:t}function r(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}function a(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}e.exports={convolveHorizontally:r,convolveVertically:a}},{}],3:[function(t,e,n){"use strict";e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAEXA2AAAGAGf39/f39/AGAHf39/f39/fwACDwEDZW52Bm1lbW9yeQIAAAMEAwABAgYGAX8AQQALB1cFEV9fd2FzbV9jYWxsX2N0b3JzAAAIY29udm9sdmUAAQpjb252b2x2ZUhWAAIMX19kc29faGFuZGxlAwAYX193YXNtX2FwcGx5X2RhdGFfcmVsb2NzAAAK7AMDAwABC8YDAQ9/AkAgA0UNACAERQ0AA0AgDCENQQAhE0EAIQcDQCAHQQJqIQYCfyAHQQF0IAVqIgcuAQIiFEUEQEGAwAAhCEGAwAAhCUGAwAAhCkGAwAAhCyAGDAELIBIgBy4BAGohCEEAIQsgFCEHQQAhDiAGIQlBACEPQQAhEANAIAUgCUEBdGouAQAiESAAIAhBAnRqKAIAIgpBGHZsIBBqIRAgCkH/AXEgEWwgC2ohCyAKQRB2Qf8BcSARbCAPaiEPIApBCHZB/wFxIBFsIA5qIQ4gCEEBaiEIIAlBAWohCSAHQQFrIgcNAAsgC0GAQGshCCAOQYBAayEJIA9BgEBrIQogEEGAQGshCyAGIBRqCyEHIAEgDUECdGogCUEOdSIGQf8BIAZB/wFIGyIGQQAgBkEAShtBCHRBgP4DcSAKQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EQdEGAgPwHcSALQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EYdHJyIAhBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobcjYCACADIA1qIQ0gE0EBaiITIARHDQALIAxBAWoiDCACbCESIAMgDEcNAAsLCx4AQQAgAiADIAQgBSAAEAEgAkEAIAQgBSAGIAEQAQs="},{}],4:[function(t,e,n){"use strict";e.exports={name:"resize",fn:t("./resize"),wasm_fn:t("./resize_wasm"),wasm_src:t("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(t,e,n){"use strict";var i=t("./resize_filter_gen"),r=t("./convolve").convolveHorizontally,a=t("./convolve").convolveVertically;function o(t,e,n){for(var i=3,r=e*n*4|0;i>1]+=a(1-m),v=0;v0&&0===d[x];)x--;if(k=u+v,_=x-v+1,I[M++]=k,I[M++]=_,D)for(b=v;b<=x;b++)I[M++]=d[b];else I.set(d.subarray(v,x+1),M),M+=_}else I[M++]=0,I[M++]=0}return I}},{"./resize_filter_info":7}],7:[function(t,e,n){"use strict";e.exports=[{win:.5,filter:function(t){return t>=-.5&&t<.5?1:0}},{win:1,filter:function(t){if(t<=-1||t>=1)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*(.54+.46*Math.cos(e/1))}},{win:2,filter:function(t){if(t<=-2||t>=2)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/2)/(e/2)}},{win:3,filter:function(t){if(t<=-3||t>=3)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/3)/(e/3)}}]},{}],8:[function(t,e,n){"use strict";var i=t("./resize_filter_gen");function r(t,e,n){for(var i=3,r=e*n*4|0;i>8&255}}e.exports=function(t){var e=t.src,n=t.width,a=t.height,o=t.toWidth,c=t.toHeight,u=t.scaleX||t.toWidth/t.width,l=t.scaleY||t.toHeight/t.height,h=t.offsetX||0,f=t.offsetY||0,d=t.dest||new Uint8Array(o*c*4),g=void 0===t.quality?3:t.quality,p=t.alpha||!1,b=i(g,n,o,u,h),w=i(g,a,c,l,f),m=0,y=this.__align(m+Math.max(e.byteLength,d.byteLength)),v=this.__align(y+a*o*4),x=this.__align(v+b.byteLength),k=x+w.byteLength,_=this.__instance("resize",k),A=new Uint8Array(this.__memory.buffer),E=new Uint32Array(this.__memory.buffer),T=new Uint32Array(e.buffer);return E.set(T),s(b,A,v),s(w,A,x),(_.exports.convolveHV||_.exports._convolveHV)(v,x,y,n,a,o,c),new Uint32Array(d.buffer).set(new Uint32Array(this.__memory.buffer,0,c*o)),p||r(d,o,c),d}},{"./resize_filter_gen":6}],9:[function(t,e,n){"use strict";e.exports={name:"unsharp_mask",fn:t("./unsharp_mask"),wasm_fn:t("./unsharp_mask_wasm"),wasm_src:t("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":10,"./unsharp_mask_wasm":11,"./unsharp_mask_wasm_base64":12}],10:[function(t,e,n){"use strict";var i=t("glur/mono16");function r(t,e,n){for(var i,r,a,o,s=e*n,c=new Uint16Array(s),u=0;u=r&&i>=a?i:r>=a&&r>=i?r:a,c[u]=o<<8;return c}e.exports=function(t,e,n,a,o,s){var c,u,l,h,f;if(!(0===a||o<.5)){o>2&&(o=2);var d=r(t,e,n),g=new Uint16Array(d);i(g,e,n,o);for(var p=a/100*4096+.5|0,b=s<<8,w=e*n,m=0;m=b&&(l=((u=(u=(u=c+(p*h+2048>>12))>65280?65280:u)<0?0:u)<<12)/(c=0!==c?c:1)|0,t[f=4*m]=t[f]*l+2048>>12,t[f+1]=t[f+1]*l+2048>>12,t[f+2]=t[f+2]*l+2048>>12)}}},{"glur/mono16":18}],11:[function(t,e,n){"use strict";e.exports=function(t,e,n,i,r,a){if(!(0===i||r<.5)){r>2&&(r=2);var o=e*n,s=4*o,c=2*o,u=2*o,l=4*Math.max(e,n),h=32,f=0,d=s,g=d+c,p=g+u,b=p+u,w=b+l,m=this.__instance("unsharp_mask",s+c+2*u+l+h,{exp:Math.exp}),y=new Uint32Array(t.buffer);new Uint32Array(this.__memory.buffer).set(y);var v=m.exports.hsv_v16||m.exports._hsv_v16;v(f,d,e,n),(v=m.exports.blurMono16||m.exports._blurMono16)(d,g,p,b,w,e,n,r),(v=m.exports.unsharp||m.exports._unsharp)(f,f,d,g,e,n,i,a),y.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],12:[function(t,e,n){"use strict";e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAE0B2AAAGAEf39/fwBgBn9/f39/fwBgCH9/f39/f39/AGAIf39/f39/f30AYAJ9fwBgAXwBfAIZAgNlbnYDZXhwAAYDZW52Bm1lbW9yeQIAAAMHBgAFAgQBAwYGAX8AQQALB4oBCBFfX3dhc21fY2FsbF9jdG9ycwABFl9fYnVpbGRfZ2F1c3NpYW5fY29lZnMAAg5fX2dhdXNzMTZfbGluZQADCmJsdXJNb25vMTYABAdoc3ZfdjE2AAUHdW5zaGFycAAGDF9fZHNvX2hhbmRsZQMAGF9fd2FzbV9hcHBseV9kYXRhX3JlbG9jcwABCsUMBgMAAQvWAQEHfCABRNuGukOCGvs/IAC7oyICRAAAAAAAAADAohAAIgW2jDgCFCABIAKaEAAiAyADoCIGtjgCECABRAAAAAAAAPA/IAOhIgQgBKIgAyACIAKgokQAAAAAAADwP6AgBaGjIgS2OAIAIAEgBSAEmqIiB7Y4AgwgASADIAJEAAAAAAAA8D+gIASioiIItjgCCCABIAMgAkQAAAAAAADwv6AgBKKiIgK2OAIEIAEgByAIoCAFRAAAAAAAAPA/IAahoCIDo7Y4AhwgASAEIAKgIAOjtjgCGAuGBQMGfwl8An0gAyoCDCEVIAMqAgghFiADKgIUuyERIAMqAhC7IRACQCAEQQFrIghBAEgiCQRAIAIhByAAIQYMAQsgAiAALwEAuCIPIAMqAhi7oiIMIBGiIg0gDCAQoiAPIAMqAgS7IhOiIhQgAyoCALsiEiAPoqCgoCIOtjgCACACQQRqIQcgAEECaiEGIAhFDQAgCEEBIAhBAUgbIgpBf3MhCwJ/IAQgCmtBAXFFBEAgDiENIAgMAQsgAiANIA4gEKIgFCASIAAvAQK4Ig+ioKCgIg22OAIEIAJBCGohByAAQQRqIQYgDiEMIARBAmsLIQIgC0EAIARrRg0AA0AgByAMIBGiIA0gEKIgDyAToiASIAYvAQC4Ig6ioKCgIgy2OAIAIAcgDSARoiAMIBCiIA4gE6IgEiAGLwECuCIPoqCgoCINtjgCBCAHQQhqIQcgBkEEaiEGIAJBAkohACACQQJrIQIgAA0ACwsCQCAJDQAgASAFIAhsQQF0aiIAAn8gBkECay8BACICuCINIBW7IhKiIA0gFrsiE6KgIA0gAyoCHLuiIgwgEKKgIAwgEaKgIg8gB0EEayIHKgIAu6AiDkQAAAAAAADwQWMgDkQAAAAAAAAAAGZxBEAgDqsMAQtBAAs7AQAgCEUNACAGQQRrIQZBACAFa0EBdCEBA0ACfyANIBKiIAJB//8DcbgiDSAToqAgDyIOIBCioCAMIBGioCIPIAdBBGsiByoCALugIgxEAAAAAAAA8EFjIAxEAAAAAAAAAABmcQRAIAyrDAELQQALIQMgBi8BACECIAAgAWoiACADOwEAIAZBAmshBiAIQQFKIQMgDiEMIAhBAWshCCADDQALCwvRAgIBfwd8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIglEAAAAAAAAAMCiEAAiDLaMOAIUIAQgCZoQACIKIAqgIg22OAIQIAREAAAAAAAA8D8gCqEiCyALoiAKIAkgCaCiRAAAAAAAAPA/oCAMoaMiC7Y4AgAgBCAMIAuaoiIOtjgCDCAEIAogCUQAAAAAAADwP6AgC6KiIg+2OAIIIAQgCiAJRAAAAAAAAPC/oCALoqIiCbY4AgQgBCAOIA+gIAxEAAAAAAAA8D8gDaGgIgqjtjgCHCAEIAsgCaAgCqO2OAIYIAYEQANAIAAgBSAIbEEBdGogAiAIQQF0aiADIAQgBSAGEAMgCEEBaiIIIAZHDQALCyAFRQ0AQQAhCANAIAIgBiAIbEEBdGogASAIQQF0aiADIAQgBiAFEAMgCEEBaiIIIAVHDQALCwtxAQN/IAIgA2wiBQRAA0AgASAAKAIAIgRBEHZB/wFxIgIgAiAEQQh2Qf8BcSIDIAMgBEH/AXEiBEkbIAIgA0sbIgYgBiAEIAIgBEsbIAMgBEsbQQh0OwEAIAFBAmohASAAQQRqIQAgBUEBayIFDQALCwuZAgIDfwF8IAQgBWwhBAJ/IAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6AiC5lEAAAAAAAA4EFjBEAgC6oMAQtBgICAgHgLIQUgBARAIAdBCHQhCUEAIQYDQCAJIAIgBkEBdCIHai8BACIBIAMgB2ovAQBrIgcgB0EfdSIIaiAIc00EQCAAIAZBAnQiCGoiCiAFIAdsQYAQakEMdSABaiIHQYD+AyAHQYD+A0gbIgdBACAHQQBKG0EMdCABQQEgARtuIgEgCi0AAGxBgBBqQQx2OgAAIAAgCEEBcmoiByABIActAABsQYAQakEMdjoAACAAIAhBAnJqIgcgASAHLQAAbEGAEGpBDHY6AAALIAZBAWoiBiAERw0ACwsL"},{}],13:[function(t,e,n){"use strict";var i=100;function r(t,e){this.create=t,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=e||2e3}r.prototype.acquire=function(){var t,e=this;return 0!==this.available.length?t=this.available.pop():((t=this.create()).id=this.lastId++,t.release=function(){return e.release(t)}),this.acquired[t.id]=t,t},r.prototype.release=function(t){var e=this;delete this.acquired[t.id],t.lastUsed=Date.now(),this.available.push(t),0===this.timeoutId&&(this.timeoutId=setTimeout((function(){return e.gc()}),i))},r.prototype.gc=function(){var t=this,e=Date.now();this.available=this.available.filter((function(n){return!(e-n.lastUsed>t.idle&&(n.destroy(),1))})),0!==this.available.length?this.timeoutId=setTimeout((function(){return t.gc()}),i):this.timeoutId=0},e.exports=r},{}],14:[function(t,e,n){"use strict";var i=2;e.exports=function(t,e,n,r,a,o){var s=n/t,c=r/e,u=(2*o+i+1)/a;if(u>.5)return[[n,r]];var l=Math.ceil(Math.log(Math.min(s,c))/Math.log(u));if(l<=1)return[[n,r]];for(var h=[],f=0;f=t.toWidth&&(s=t.toWidth-e),(n=o-t.destTileBorder)<0&&(n=0),n+(c=o+f+t.destTileBorder-n)>=t.toHeight&&(c=t.toHeight-n),d={toX:e,toY:n,toWidth:s,toHeight:c,toInnerX:i,toInnerY:o,toInnerWidth:h,toInnerHeight:f,offsetX:e/u-r(e/u),offsetY:n/l-r(n/l),scaleX:u,scaleY:l,x:r(e/u),y:r(n/l),width:a(s/u),height:a(c/l)},g.push(d);return g}},{}],16:[function(t,e,n){"use strict";function i(t){return Object.prototype.toString.call(t)}e.exports.isCanvas=function(t){var e=i(t);return"[object HTMLCanvasElement]"===e||"[object OffscreenCanvas]"===e||"[object Canvas]"===e},e.exports.isImage=function(t){return"[object HTMLImageElement]"===i(t)},e.exports.isImageBitmap=function(t){return"[object ImageBitmap]"===i(t)},e.exports.limiter=function(t){var e=0,n=[];function i(){e=0;p--)c=s*b+o*w+u*m+l*y,l=u,u=c,o=s,s=t[h],e[f]=n[d]+u,h--,d--,f-=a}}function h(t,e,n,i){if(i){var r=new Uint16Array(t.length),a=new Float32Array(Math.max(e,n)),o=u(i);l(t,r,a,o,e,n,i),l(r,t,a,o,n,e,i)}}e.exports=h},{}],19:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],20:[function(t,e,n){"use strict";var i=t("object-assign"),r=t("./lib/base64decode"),a=t("./lib/wa_detect"),o={js:!0,wasm:!0};function s(t){if(!(this instanceof s))return new s(t);var e=i({},o,t||{});if(this.options=e,this.__cache={},this.__init_promise=null,this.__modules=e.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}s.prototype.has_wasm=a,s.prototype.use=function(t){return this.__modules[t.name]=t,this.options.wasm&&this.has_wasm()&&t.wasm_fn?this[t.name]=t.wasm_fn:this[t.name]=t.fn,this},s.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var t=this;return this.__init_promise=Promise.all(Object.keys(t.__modules).map((function(e){var n=t.__modules[e];return t.options.wasm&&t.has_wasm()&&n.wasm_fn?t.__wasm[e]?null:WebAssembly.compile(t.__base64decode(n.wasm_src)).then((function(n){t.__wasm[e]=n})):null}))).then((function(){return t})),this.__init_promise},s.prototype.__base64decode=r,s.prototype.__reallocate=function(t){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(t/65536)}),this.__memory;var e=this.__memory.buffer.byteLength;return e>2),a=0,o=0,s=0;s>16&255,r[o++]=a>>8&255,r[o++]=255&a),a=a<<6|i.indexOf(e.charAt(s));var c=n%4*6;return 0===c?(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a):18===c?(r[o++]=a>>10&255,r[o++]=a>>2&255):12===c&&(r[o++]=a>>4&255),r}},{}],22:[function(t,e,n){"use strict";var i;e.exports=function(){if(void 0!==i)return i;if(i=!1,"undefined"==typeof WebAssembly)return i;try{var t=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),e=new WebAssembly.Module(t);return 0!==new WebAssembly.Instance(e,{}).exports.test(4)&&(i=!0),i}catch(t){}return i}},{}],23:[function(t,e,n){"use strict";var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function s(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(t){i[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}e.exports=s()?Object.assign:function(t,e){for(var n,s,c=o(t),u=1;ut.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0)}catch(t){}var y=1;"undefined"!=typeof navigator&&(y=Math.min(navigator.hardwareConcurrency||1,4));var v={tile:1024,concurrency:y,features:["js","wasm","ww"],idle:2e3,createCanvas:function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,n}},x={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0},k=!1,_=!1,A=!1,E=!1,T=!1;function C(){return{value:l(g),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var t=window.URL||window.webkitURL||window.mozURL||window.msURL;t&&t.revokeObjectURL&&this.value.objectURL&&t.revokeObjectURL(this.value.objectURL)}}}}function S(t){if(!(this instanceof S))return new S(t);this.options=u({},v,t||{});var e="lk_".concat(this.options.concurrency);this.__limit=w[e]||d.limiter(this.options.concurrency),w[e]||(w[e]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}S.prototype.init=function(){var e=this;if(this.__initPromise)return this.__initPromise;if("undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray)try{new ImageData(new Uint8ClampedArray(400),10,10),k=!0}catch(t){}"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?_=!0:this.debug("ImageBitmap does not support .close(), disabled"));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new h(n),n.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{t("webworkify")((function(){})).terminate(),this.features.ww=!0;var i="wp_".concat(JSON.stringify(this.options));w[i]?this.__workersPool=w[i]:(this.__workersPool=new f(C,this.options.idle),w[i]=this.__workersPool)}catch(t){}var r,a,o=this.__mathlib.init().then((function(t){u(e.features,t.features)}));r=_?d.cib_support(this.options.createCanvas).then((function(t){e.features.cib&&n.indexOf("cib")<0?e.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(e.features.cib=t)})):Promise.resolve(!1),A=d.can_use_canvas(this.options.createCanvas),a=(a=_&&k&&-1!==n.indexOf("ww")?d.worker_offscreen_canvas_support():Promise.resolve(!1)).then((function(t){E=t}));var s=d.cib_can_use_region().then((function(t){T=t}));return this.__initPromise=Promise.all([o,r,a,s]).then((function(){return e})),this.__initPromise},S.prototype.__invokeResize=function(t,e){var n=this;return e.__mathCache=e.__mathCache||{},Promise.resolve().then((function(){return n.features.ww?new Promise((function(i,r){var a=n.__workersPool.acquire();e.cancelToken&&e.cancelToken.catch((function(t){return r(t)})),a.value.onmessage=function(t){a.release(),t.data.err?r(t.data.err):i(t.data)};var o=[];t.src&&o.push(t.src.buffer),t.srcBitmap&&o.push(t.srcBitmap),a.value.postMessage({opts:t,features:n.__requested_features,preload:{wasm_nodule:n.__mathlib.__}},o)})):{data:n.__mathlib.resizeAndUnsharp(t,e.__mathCache)}}))},S.prototype.__extractTileData=function(t,e,n,i,r){if(this.features.ww&&E&&(d.isCanvas(e)||T))return this.debug("Create tile for OffscreenCanvas"),createImageBitmap(i.srcImageBitmap||e,t.x,t.y,t.width,t.height).then((function(t){return r.srcBitmap=t,r}));if(d.isCanvas(e))return i.srcCtx||(i.srcCtx=e.getContext("2d",{alpha:Boolean(n.alpha)})),this.debug("Get tile pixel data"),r.src=i.srcCtx.getImageData(t.x,t.y,t.width,t.height).data,r;this.debug("Draw tile imageBitmap/image to temporary canvas");var a=this.options.createCanvas(t.width,t.height),o=a.getContext("2d",{alpha:Boolean(n.alpha)});return o.globalCompositeOperation="copy",o.drawImage(i.srcImageBitmap||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),this.debug("Get tile pixel data"),r.src=o.getImageData(0,0,t.width,t.height).data,a.width=a.height=0,r},S.prototype.__landTileData=function(t,e,n){var i;if(this.debug("Convert raw rgba tile result to ImageData"),e.bitmap)return n.toCtx.drawImage(e.bitmap,t.toX,t.toY),null;if(k)i=new ImageData(new Uint8ClampedArray(e.data),t.toWidth,t.toHeight);else if((i=n.toCtx.createImageData(t.toWidth,t.toHeight)).data.set)i.data.set(e.data);else for(var r=i.data.length-1;r>=0;r--)i.data[r]=e.data[r];return this.debug("Draw tile"),m?n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null},S.prototype.__tileAndResize=function(t,e,n){var i=this,r={srcCtx:null,srcImageBitmap:null,isImageBitmapReused:!1,toCtx:null},a=function(e){return i.__limit((function(){if(n.canceled)return n.cancelToken;var a={width:e.width,height:e.height,toWidth:e.toWidth,toHeight:e.toHeight,scaleX:e.scaleX,scaleY:e.scaleY,offsetX:e.offsetX,offsetY:e.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve(a).then((function(a){return i.__extractTileData(e,t,n,r,a)})).then((function(t){return i.debug("Invoke resize math"),i.__invokeResize(t,n)})).then((function(t){return n.canceled?n.cancelToken:(r.srcImageData=null,i.__landTileData(e,t,r))}))}))};return Promise.resolve().then((function(){if(r.toCtx=e.getContext("2d",{alpha:Boolean(n.alpha)}),d.isCanvas(t))return null;if(d.isImageBitmap(t))return r.srcImageBitmap=t,r.isImageBitmapReused=!0,null;if(d.isImage(t))return _?(i.debug("Decode image via createImageBitmap"),createImageBitmap(t).then((function(t){r.srcImageBitmap=t})).catch((function(t){return null}))):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')})).then((function(){if(n.canceled)return n.cancelToken;i.debug("Calculate tiles");var t=b({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:n.__destTileBorder}).map((function(t){return a(t)}));function o(t){t.srcImageBitmap&&(t.isImageBitmapReused||t.srcImageBitmap.close(),t.srcImageBitmap=null)}return i.debug("Process tiles"),Promise.all(t).then((function(){return i.debug("Finished!"),o(r),e}),(function(t){throw o(r),t}))}))},S.prototype.__processStages=function(t,e,n,r){var a=this;if(r.canceled)return r.cancelToken;var o,s=i(t.shift(),2),c=s[0],l=s[1],h=0===t.length;return r=u({},r,{toWidth:c,toHeight:l,quality:h?r.quality:Math.min(1,r.quality)}),h||(o=this.options.createCanvas(c,l)),this.__tileAndResize(e,h?n:o,r).then((function(){return h?n:(r.width=c,r.height=l,a.__processStages(t,o,n,r))})).then((function(t){return o&&(o.width=o.height=0),t}))},S.prototype.__resizeViaCreateImageBitmap=function(t,e,n){var i=this,r=e.getContext("2d",{alpha:Boolean(n.alpha)});return this.debug("Resize via createImageBitmap()"),createImageBitmap(t,{resizeWidth:n.toWidth,resizeHeight:n.toHeight,resizeQuality:d.cib_quality_name(n.quality)}).then((function(t){if(n.canceled)return n.cancelToken;if(!n.unsharpAmount)return r.drawImage(t,0,0),t.close(),r=null,i.debug("Finished!"),e;i.debug("Unsharp result");var a=i.options.createCanvas(n.toWidth,n.toHeight),o=a.getContext("2d",{alpha:Boolean(n.alpha)});o.drawImage(t,0,0),t.close();var s=o.getImageData(0,0,n.toWidth,n.toHeight);return i.__mathlib.unsharp_mask(s.data,n.toWidth,n.toHeight,n.unsharpAmount,n.unsharpRadius,n.unsharpThreshold),r.putImageData(s,0,0),a.width=a.height=0,s=o=a=r=null,i.debug("Finished!"),e}))},S.prototype.resize=function(t,e,n){var i=this;this.debug("Start resize...");var r=u({},x);if(isNaN(n)?n&&(r=u(r,n)):r=u(r,{quality:n}),r.toWidth=e.width,r.toHeight=e.height,r.width=t.naturalWidth||t.width,r.height=t.naturalHeight||t.height,0===e.width||0===e.height)return Promise.reject(new Error("Invalid output size: ".concat(e.width,"x").concat(e.height)));r.unsharpRadius>2&&(r.unsharpRadius=2),r.canceled=!1,r.cancelToken&&(r.cancelToken=r.cancelToken.then((function(t){throw r.canceled=!0,t}),(function(t){throw r.canceled=!0,t})));var a=3;return r.__destTileBorder=Math.ceil(Math.max(a,2.5*r.unsharpRadius|0)),this.init().then((function(){if(r.canceled)return r.cancelToken;if(i.features.cib)return i.__resizeViaCreateImageBitmap(t,e,r);if(!A){var n=new Error("Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled");throw n.code="ERR_GET_IMAGE_DATA",n}var a=p(r.width,r.height,r.toWidth,r.toHeight,i.options.tile,r.__destTileBorder);return i.__processStages(a,t,e,r)}))},S.prototype.resizeBuffer=function(t){var e=this,n=u({},x,t);return this.init().then((function(){return e.__mathlib.resizeAndUnsharp(n)}))},S.prototype.toBlob=function(t,e,n){return e=e||"image/png",new Promise((function(i){if(t.toBlob)t.toBlob((function(t){return i(t)}),e,n);else if(t.convertToBlob)i(t.convertToBlob({type:e,quality:n}));else{for(var r=atob(t.toDataURL(e,n).split(",")[1]),a=r.length,o=new Uint8Array(a),s=0;sthis.converter(t,{...e,fontSize:e.fontSize||20}),this.converter=t}}var a,o,s;!function(t){t.ROUND="round",t.STADIUM="stadium",t.DOUBLECIRCLE="doublecircle",t.CIRCLE="circle",t.DIAMOND="diamond"}(a||(a={})),function(t){t.COLOR="color"}(o||(o={})),function(t){t.FILL="fill",t.STROKE="stroke",t.STROKE_WIDTH="stroke-width",t.STROKE_DASHARRAY="stroke-dasharray"}(s||(s={}));var c=n(5030);const u={arrow_circle:{endArrowhead:"dot"},arrow_cross:{endArrowhead:"bar"},double_arrow_circle:{endArrowhead:"dot",startArrowhead:"dot"},double_arrow_cross:{endArrowhead:"bar",startArrowhead:"bar"},double_arrow_point:{endArrowhead:"arrow",startArrowhead:"arrow"}},l=t=>{let e=t.text;return"markdown"===t.labelType&&(e=(0,c.K)(t.text)),h(e)},h=t=>t.replace(/\s?(fa|fab):[a-zA-Z0-9-]+/g,""),f=new r({converter:(t,e)=>{const n=[],i=e.fontSize,{getGroupIds:r,getParentId:c}=(t=>{const e={};t.subGraphs.map((n=>{n.nodeIds.forEach((i=>{e[n.id]={id:n.id,parent:null,isLeaf:!1},e[i]={id:i,parent:n.id,isLeaf:void 0!==t.vertices[i]}}))}));const n={};return[...Object.keys(t.vertices),...t.subGraphs.map((t=>t.id))].forEach((t=>{if(!e[t])return;let i=e[t];const r=[];for(i.isLeaf||r.push(`subgraph_group_${i.id}`);i.parent;)r.push(`subgraph_group_${i.parent}`),i=e[i.parent];n[t]=r})),{getGroupIds:t=>n[t]||[],getParentId:t=>e[t]?e[t].parent:null}})(t);return t.subGraphs.reverse().forEach((t=>{const e=r(t.id),a={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,label:{groupIds:e,text:l(t),fontSize:i,verticalAlign:"top"}};n.push(a)})),Object.values(t.vertices).forEach((t=>{if(!t)return;const e=r(t.id),c=(t=>{const e={};return Object.keys(t).forEach((n=>{switch(n){case s.FILL:e.backgroundColor=t[n],e.fillStyle="solid";break;case s.STROKE:e.strokeColor=t[n];break;case s.STROKE_WIDTH:e.strokeWidth=Number(t[n]?.split("px")[0]);break;case s.STROKE_DASHARRAY:e.strokeStyle="dashed"}})),e})(t.containerStyle),u=(t=>{const e={};return Object.keys(t).forEach((n=>{n===o.COLOR&&(e.strokeColor=t[n])})),e})(t.labelStyle);let h={id:t.id,type:"rectangle",groupIds:e,x:t.x,y:t.y,width:t.width,height:t.height,strokeWidth:2,label:{groupIds:e,text:l(t),fontSize:i,...u},link:t.link||null,...c};switch(t.type){case a.STADIUM:case a.ROUND:h={...h,roundness:{type:3}};break;case a.DOUBLECIRCLE:{const r=5;e.push(`doublecircle_${t.id}}`);const a={type:"ellipse",groupIds:e,x:t.x+r,y:t.y+r,width:t.width-2*r,height:t.height-2*r,strokeWidth:2,roundness:{type:3},label:{groupIds:e,text:l(t),fontSize:i}};h={...h,groupIds:e,type:"ellipse"},n.push(a);break}case a.CIRCLE:h.type="ellipse";break;case a.DIAMOND:h.type="diamond"}n.push(h)})),t.edges.forEach((t=>{let e=[];const a=c(t.start),o=c(t.end);a&&a===o&&(e=r(a));const{startX:s,startY:h,reflectionPoints:f}=t,d=f.map((t=>[t.x-f[0].x,t.y-f[0].y])),g=(p=t.type,u[p]);var p;const b={id:`${t.start}_${t.end}`,type:"arrow",groupIds:e,x:s,y:h,strokeWidth:"thick"===t.stroke?4:2,strokeStyle:"dotted"===t.stroke?"dashed":void 0,points:d,...t.text?{label:{text:l(t),fontSize:i,groupIds:e}}:{},roundness:{type:2},...g},w=n.find((e=>e.id===t.start)),m=n.find((e=>e.id===t.end));w&&m&&(b.start={id:w.id||""},b.end={id:m.id||""},n.push(b))})),{elements:n}}});let d=(t=21)=>crypto.getRandomValues(new Uint8Array(t)).reduce(((t,e)=>t+=(e&=63)<36?e.toString(36):e<62?(e-26).toString(36).toUpperCase():e>62?"-":"_"),"");const g=new r({converter:t=>{const e=d(),{width:n,height:i}=t,r={type:"image",x:0,y:0,width:n,height:i,status:"saved",fileId:e};return{files:{[e]:{id:e,mimeType:t.mimeType,dataURL:t.dataURL}},elements:[r]}}}),p={SOLID:"solid",DOTTED:"dotted",SOLID_CROSS:"solid",DOTTED_CROSS:"dotted",SOLID_OPEN:"solid",DOTTED_OPEN:"dotted",SOLID_POINT:"solid",DOTTED_POINT:"dotted"},b=t=>{const e={type:"line",x:t.startX,y:t.startY,points:[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:t.strokeStyle||"solid",strokeColor:t.strokeColor||"#000",strokeWidth:t.strokeWidth||1};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},w=t=>{const e={type:"text",x:t.x,y:t.y,width:t.width,height:t.height,text:t.text||"",fontSize:t.fontSize,verticalAlign:"middle"};return t.groupId&&Object.assign(e,{groupIds:[t.groupId]}),t.id&&Object.assign(e,{id:t.id}),e},m=t=>{let e={};"rectangle"===t.type&&"activation"===t.subtype&&(e={backgroundColor:"#e9ecef",fillStyle:"solid"});const n={id:t.id,type:t.type,x:t.x,y:t.y,width:t.width,height:t.height,label:{text:t?.label?.text||"",fontSize:t?.label?.fontSize,verticalAlign:"middle",strokeColor:t.label?.color||"#000"},strokeStyle:t?.strokeStyle,strokeWidth:t?.strokeWidth,strokeColor:t?.strokeColor,backgroundColor:t?.bgColor,fillStyle:"solid",...e};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n},y=new r({converter:t=>{const e=[],n=[];if(Object.values(t.nodes).forEach((t=>{t&&t.length&&t.forEach((t=>{let i;switch(t.type){case"line":i=b(t);break;case"rectangle":case"ellipse":i=m(t);break;case"text":i=w(t);break;default:throw`unknown type ${t.type}`}"rectangle"===t.type&&"activation"===t?.subtype?n.push(i):e.push(i)}))})),Object.values(t.lines).forEach((t=>{t&&e.push(b(t))})),Object.values(t.arrows).forEach((t=>{t&&(e.push((t=>{const e=p[t.strokeStyle],n={type:"arrow",x:t.startX,y:t.startY,points:t.points||[[0,0],[t.endX-t.startX,t.endY-t.startY]],width:t.endX-t.startX,height:t.endY-t.startY,strokeStyle:e,endArrowhead:"SOLID_OPEN"===t.strokeStyle||"DOTTED_OPEN"===t.strokeStyle?null:"arrow",label:{text:t?.label?.text||"",fontSize:16},roundness:{type:2}};return t.groupId&&Object.assign(n,{groupIds:[t.groupId]}),n})(t)),t.sequenceNumber&&e.push(m(t.sequenceNumber)))})),e.push(...n),t.loops){const{lines:n,texts:i,nodes:r}=t.loops;n.forEach((t=>{e.push(b(t))})),i.forEach((t=>{e.push(w(t))})),r.forEach((t=>{e.push(m(t))}))}return t.groups&&t.groups.forEach((t=>{const{actorKeys:n,name:i}=t;let r=1/0,a=1/0,o=0,s=0;if(!n.length)return;e.filter((t=>{if(t.id){const e=t.id.indexOf("-"),i=t.id.substring(0,e);return n.includes(i)}})).forEach((t=>{if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw new Error(`Actor attributes missing ${t}`);r=Math.min(r,t.x),a=Math.min(a,t.y),o=Math.max(o,t.x+t.width),s=Math.max(s,t.y+t.height)}));const c=r-10,u=a-10,l=o-r+20,h=s-a+20,f=d(),g=m({type:"rectangle",x:c,y:u,width:l,height:h,bgColor:t.fill,id:f});e.unshift(g);const p=d(),b=[f];e.forEach((t=>{if("frame"!==t.type){if(void 0===t.x||void 0===t.y||void 0===t.width||void 0===t.height)throw new Error(`Element attributes missing ${t}`);if(t.x>=r&&t.x+t.width<=o&&t.y>=a&&t.y+t.height<=s){const e=t.id||d();t.id||Object.assign(t,{id:e}),b.push(e)}}}));const w={type:"frame",id:p,name:i,children:b};e.push(w)})),{elements:e}}});var v=n(8540);const x=t=>{const e=(t=_(t)).replace(/#(\d+);/g,"&#$1;").replace(/#([a-z]+);/g,"&$1;"),n=document.createElement("textarea");return n.innerHTML=e,n.value},k=t=>{const e=t.getAttribute("transform")?.match(/translate\(([\d.-]+),\s*([\d.-]+)\)/);let n=0,i=0;return e&&(n=Number(e[1]),i=Number(e[2])),{transformX:n,transformY:i}},_=function(t){return t.replace(/fl°°/g,"#").replace(/fl°/g,"&").replace(/¶ß/g,";")},A=(t,e)=>{if(!t)throw new Error("Element not found");let n=t.parentElement?.parentElement;const i=t.childNodes[0];let r={x:0,y:0};if(i){const{transformX:t,transformY:e}=k(i),n=i.getBBox();r={x:Number(i.getAttribute("x"))||t+n.x||0,y:Number(i.getAttribute("y"))||e+n.y||0}}const{transformX:a,transformY:o}=k(t),s={x:a+r.x,y:o+r.y};for(;n&&n.id!==e.id;){if("root"===n.classList.value&&n.hasAttribute("transform")){const{transformX:t,transformY:e}=k(n);s.x+=t,s.y+=e}n=n.parentElement}return s},E=(t,e={x:0,y:0})=>{if("path"!==t.tagName.toLowerCase())throw new Error(`Invalid input: Expected an HTMLElement of tag "path", got ${t.tagName}`);const n=t.getAttribute("d");if(!n)throw new Error('Path element does not contain a "d" attribute');const i=n.split(/(?=[LM])/),r=i[0].substring(1).split(",").map((t=>parseFloat(t))),a=i[i.length-1].substring(1).split(",").map((t=>parseFloat(t))),o=i.map((t=>{const e=t.substring(1).split(",").map((t=>parseFloat(t)));return{x:e[0],y:e[1]}})).filter(((t,e,n)=>{if(e===n.length-1)return!0;const i=n[e-1];return 0===e||t.x!==i.x&&t.y!==i.y})).map((t=>({x:t.x+e.x,y:t.y+e.y})));return{startX:r[0]+e.x,startY:r[1]+e.y,endX:a[0]+e.x,endY:a[1]+e.y,reflectionPoints:o}},T=(t,e)=>{t.parse();const n=t.parser.yy,i=n.getVertices();Object.keys(i).forEach((t=>{i[t]=((t,e)=>{const n=e.querySelector(`[id*="flowchart-${t.id}-"]`);if(!n)return;let i;"a"===n.parentElement?.tagName.toLowerCase()&&(i=n.parentElement.getAttribute("xlink:href"));const r=A(i?n.parentElement:n,e),a=n.getBBox(),o={width:a.width,height:a.height},s=n.querySelector(".label-container")?.getAttribute("style"),c=n.querySelector(".label")?.getAttribute("style"),u={};s?.split(";").forEach((t=>{if(!t)return;const e=t.split(":")[0].trim(),n=t.split(":")[1].trim();u[e]=n}));const l={};return c?.split(";").forEach((t=>{if(!t)return;const e=t.split(":")[0].trim(),n=t.split(":")[1].trim();l[e]=n})),{id:t.id,labelType:t.labelType,text:x(t.text),type:t.type,link:i||void 0,...r,...o,containerStyle:u,labelStyle:l}})(i[t],e)}));const r=n.getEdges().map((t=>((t,e)=>{const n=e.querySelector(`[id*="L-${t.start}-${t.end}"]`);if(!n)throw new Error("Edge element not found");const i=A(n,e),r=E(n,i);return t.length=void 0,{...t,...r,text:x(t.text)}})(t,e))),a=n.getSubGraphs().map((t=>((t,e)=>{const n=t.nodes.map((t=>t.startsWith("flowchart-")?t.split("-")[1]:t)),i=e.querySelector(`[id='${t.id}']`);if(!i)throw new Error("SubGraph element not found");const r=A(i,e),a=i.getBBox(),o={width:a.width,height:a.height};return t.classes=void 0,t.dir=void 0,{...t,nodeIds:n,...r,...o,text:x(t.title)}})(t,e)));return{type:"flowchart",subGraphs:a,vertices:i,edges:r}},C={0:"SOLID",1:"DOTTED",3:"SOLID_CROSS",4:"DOTTED_CROSS",5:"SOLID_OPEN",6:"DOTTED_OPEN",24:"SOLID_POINT",25:"DOTTED_POINT"},S=2,I=27,M=(t,e,n={})=>{const i={};i.type=e;const{text:r,subtype:a,id:o,groupId:s}=n;i.id=o,s&&(i.groupId=s),r&&(i.label={text:x(r),fontSize:16});const c=t.getBBox();switch(i.x=c.x,i.y=c.y,i.width=c.width,i.height=c.height,i.subtype=a,a){case"highlight":const e=t.getAttribute("fill");e&&(i.bgColor=e);break;case"note":i.strokeStyle="dashed"}return i},D=(t,e,n)=>{const i={},r=Number(t.getAttribute("x")),a=Number(t.getAttribute("y"));i.type="text",i.text=x(e),n?.id&&(i.id=n.id),n?.groupId&&(i.groupId=n.groupId);const o=t.getBBox();i.width=o.width,i.height=o.height,i.x=r-o.width/2,i.y=a;const s=parseInt(getComputedStyle(t).fontSize);return i.fontSize=s,i},O=(t,e,n,i,r,a)=>{const o={};return o.startX=e,o.startY=n,o.endX=i,a?.groupId&&(o.groupId=a.groupId),a?.id&&(o.id=a.id),o.endY=r,o.strokeColor=t.getAttribute("stroke"),o.strokeWidth=Number(t.getAttribute("stroke-width")),o.type="line",o},L=(t,e,n)=>{if(!t)throw"root node not found";const r=d(),a=Array.from(t.children),o=[];return a.forEach(((t,a)=>{const s=`${n?.id}-${a}`;let c;switch(t.tagName){case"line":const n=Number(t.getAttribute("x1")),a=Number(t.getAttribute("y1")),o=Number(t.getAttribute("x2")),u=Number(t.getAttribute("y2"));c=O(t,n,a,o,u,{groupId:r,id:s});break;case"text":c=D(t,e,{groupId:r,id:s});break;case"circle":c=M(t,"ellipse",{text:t.textContent||void 0,groupId:r,id:s});default:c=M(t,i[t.tagName],{text:t.textContent||void 0,groupId:r,id:s})}o.push(c)})),o},N=(t,e)=>{const n=[],i=Array.from(e.querySelectorAll('[class*="messageLine"]')),r=Object.keys(C),a=t.filter((t=>r.includes(t.type.toString())));return i.forEach(((t,e)=>{const i=((t,e)=>{const n={};n.label={text:x(e.message),fontSize:16};const i=t.tagName;if("line"===i)n.startX=Number(t.getAttribute("x1")),n.startY=Number(t.getAttribute("y1")),n.endX=Number(t.getAttribute("x2")),n.endY=Number(t.getAttribute("y2"));else if("path"===i){const e=t.getAttribute("d");if(!e)throw new Error('Path element does not contain a "d" attribute');const i=e.split(/(?=[LC])/),r=i[0].substring(1).split(",").map((t=>parseFloat(t))),a=[];i.forEach((t=>{const e=t.substring(1).trim().split(" ").map((t=>{const[e,n]=t.split(",");return[parseFloat(e)-r[0],parseFloat(n)-r[1]]}));a.push(...e)}));const o=a[a.length-1];n.startX=r[0],n.startY=r[1],n.endX=o[0],n.endY=o[1],n.points=a}if(e){const t=10;n.startY=n.startY-t,n.endY=n.endY-t}if(t.nextElementSibling?.classList.contains("sequenceNumber")){const e=t.nextElementSibling?.textContent;if(!e)throw new Error("sequence number not present");const i=30,r=i/2,a=10,o={type:"rectangle",x:n.startX-a,y:n.startY-r,label:{text:e,fontSize:14},bgColor:"#e9ecef",height:i,subtype:"sequence"};n.sequenceNumber=o}return n.strokeColor=t.getAttribute("stroke"),n.strokeWidth=Number(t.getAttribute("stroke-width")),n.type="arrow",n.strokeStyle=C[e.type],n})(t,a[e]);n.push(i)})),n},P=(t,e)=>{t.parse();const n=t.parser.yy,i=[],r=n.getBoxes(),a=(t=>{const e=Array.from(t.querySelectorAll(".rect")).filter((t=>"g"!==t.parentElement?.tagName)),n=[];return e.forEach((t=>{const e=M(t,"rectangle",{text:"",subtype:"highlight"});n.push(e)})),n})(e),o=n.getActors(),{nodes:s,lines:c}=((t,e)=>{const n=Array.from(e.querySelectorAll(".actor")).filter((t=>"text"===t.tagName)).map((t=>"text"===t.tagName&&t.parentElement)),i=[],r=[],a=Object.keys(t).length;return Object.values(t).forEach(((t,e)=>{const o=n[e],s=n[a+e];if(!o)throw"root not found";const c=t.description;if("participant"===t.type){const e=M(o.firstChild,"rectangle",{id:`${t.name}-top`,text:c,subtype:"actor"});if(!e)throw"Top Node element not found!";i.push([e]);const n=M(s.firstChild,"rectangle",{id:`${t.name}-bottom`,text:c,subtype:"actor"});i.push([n]);const a=o.previousElementSibling;if("line"!==a?.tagName)throw"Line not found";const u=Number(a.getAttribute("x1"));if(!e.height)throw"Top node element height is null";const l=e.y+e.height,h=n.y,f=Number(a.getAttribute("x2")),d=O(a,u,l,f,h);r.push(d)}else if("actor"===t.type){const e=L(o,c,{id:`${t.name}-top`});i.push(e);const n=L(s,c,{id:`${t.name}-bottom`});i.push(n);const a=o.previousElementSibling;if("line"!==a?.tagName)throw"Line not found";const u=Number(a.getAttribute("x1")),l=Number(a.getAttribute("y1")),h=Number(a.getAttribute("x2")),f=n.find((t=>"ellipse"===t.type));if(f){const t=f.y,e=O(a,u,l,h,t);r.push(e)}}})),{nodes:i,lines:r}})(o,e),u=n.getMessages(),l=N(u,e),h=((t,e)=>{const n=Array.from(e.querySelectorAll(".note")).map((t=>t.parentElement)),i=t.filter((t=>t.type===S)),r=[];return n.forEach(((t,e)=>{if(!t)return;const n=t.firstChild,a=i[e].message,o=M(n,"rectangle",{text:a,subtype:"note"});r.push(o)})),r})(u,e),f=(t=>{const e=Array.from(t.querySelectorAll("[class*=activation]")),n=[];return e.forEach((t=>{const e=M(t,"rectangle",{text:"",subtype:"activation"});n.push(e)})),n})(e),d=((t,e)=>{const n=Array.from(e.querySelectorAll(".loopLine")),i=[],r=[],a=[];n.forEach((t=>{const e=Number(t.getAttribute("x1")),n=Number(t.getAttribute("y1")),r=Number(t.getAttribute("x2")),a=Number(t.getAttribute("y2")),o=O(t,e,n,r,a);o.strokeStyle="dotted",o.strokeColor="#adb5bd",o.strokeWidth=2,i.push(o)}));const o=Array.from(e.querySelectorAll(".loopText")),s=t.filter((t=>t.type===I)).map((t=>t.message));o.forEach((t=>{const e=t.textContent||"",n=D(t,e),i=e.match(/\[(.*?)\]/)?.[1]||"";s.includes(i)&&(n.x+=16),r.push(n)}));const c=Array.from(e?.querySelectorAll(".labelBox")),u=Array.from(e?.querySelectorAll(".labelText"));return c.forEach(((t,e)=>{const n=u[e]?.textContent||"",i=M(t,"rectangle",{text:n});i.strokeColor="#adb5bd",i.bgColor="#e9ecef",i.width=void 0,a.push(i)})),{lines:i,texts:r,nodes:a}})(u,e);return i.push(a),i.push(...s),i.push(h),i.push(f),{type:"sequence",lines:c,arrows:l,nodes:i,loops:d,groups:r}},B=async t=>{v.K.initialize({startOnLoad:!1,flowchart:{curve:"linear"},themeVariables:{fontSize:"25px"}});const e=await v.K.mermaidAPI.getDiagramFromText((t=>{let e=t;return e=e.replace(/style.*:\S*#.*;/g,(t=>t.substring(0,t.length-1))),e=e.replace(/classDef.*:\S*#.*;/g,(t=>t.substring(0,t.length-1))),e=e.replace(/#\w+;/g,(t=>{const e=t.substring(1,t.length-1);return/^\+?\d+$/.test(e)?`fl°°${e}¶ß`:`fl°${e}¶ß`})),e})(t)),{svg:n}=await v.K.render("mermaid-to-excalidraw",t),i=document.createElement("div");let r;switch(i.setAttribute("style","opacity: 0; position: relative; z-index: -1;"),i.innerHTML=n,i.id="mermaid-diagram",document.body.appendChild(i),e.type){case"flowchart-v2":r=T(e,i);break;case"sequence":r=P(e,i);break;default:r=(t=>{const e=t.querySelector("svg");if(!e)throw new Error("SVG element not found");const n=e.getBoundingClientRect(),i=n.width,r=n.height;e.setAttribute("width",`${i}`),e.setAttribute("height",`${r}`);const a=unescape(encodeURIComponent(e.outerHTML));return{type:"graphImage",mimeType:"image/svg+xml",dataURL:`data:image/svg+xml;base64,${btoa(a)}`,width:i,height:r}})(i)}return i.remove(),r},F=async(t,e={})=>{const n=((t,e={})=>{switch(t.type){case"graphImage":return g.convert(t,e);case"flowchart":return f.convert(t,e);case"sequence":return y.convert(t,e);default:throw new Error(`graphToExcalidraw: unknown graph type "${t.type}, only flowcharts are supported!"`)}})(await B(t),e);return n}},1504:function(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:function(){return os},LLu:function(){return g},F5q:function(){return d},$0Z:function(){return ys},Dts:function(){return xs},WQY:function(){return _s},qpX:function(){return Es},u93:function(){return Ts},tFB:function(){return Ss},YY7:function(){return Ds},OvA:function(){return Ls},dCK:function(){return Ps},zgE:function(){return Rs},fGX:function(){return $s},$m7:function(){return qs},c_6:function(){return us},fxm:function(){return Us},FdL:function(){return Qs},ak_:function(){return Js},SxZ:function(){return nc},eA_:function(){return rc},jsv:function(){return oc},iJ:function(){return ac},JHv:function(){return fi},jvg:function(){return fs},Fp7:function(){return i},VV$:function(){return r},ve8:function(){return ps},BYU:function(){return ar},PKp:function(){return fr},Xf:function(){return Io},Ys:function(){return Mo},td_:function(){return Do},YPS:function(){return Zn},rr1:function(){return Ir},i$Z:function(){return sa},WQD:function(){return Cr},Z_i:function(){return Er},F0B:function(){return Wr},NGh:function(){return Lr}});var o=1e-6;function s(t){return"translate("+t+",0)"}function c(t){return"translate(0,"+t+")"}function u(t){return e=>+t(e)}function l(t,e){return e=Math.max(0,t.bandwidth()-2*e)/2,t.round()&&(e=Math.round(e)),n=>+t(n)+e}function h(){return!this.__axis}function f(t,e){var n=[],i=null,r=null,f=6,d=6,g=3,p="undefined"!=typeof window&&window.devicePixelRatio>1?0:.5,b=1===t||4===t?-1:1,w=4===t||2===t?"x":"y",m=1===t||3===t?s:c;function y(s){var c=null==i?e.ticks?e.ticks.apply(e,n):e.domain():i,y=null==r?e.tickFormat?e.tickFormat.apply(e,n):a:r,v=Math.max(f,0)+g,x=e.range(),k=+x[0]+p,_=+x[x.length-1]+p,A=(e.bandwidth?l:u)(e.copy(),p),E=s.selection?s.selection():s,T=E.selectAll(".domain").data([null]),C=E.selectAll(".tick").data(c,e).order(),S=C.exit(),I=C.enter().append("g").attr("class","tick"),M=C.select("line"),D=C.select("text");T=T.merge(T.enter().insert("path",".tick").attr("class","domain").attr("stroke","currentColor")),C=C.merge(I),M=M.merge(I.append("line").attr("stroke","currentColor").attr(w+"2",b*f)),D=D.merge(I.append("text").attr("fill","currentColor").attr(w,b*v).attr("dy",1===t?"0em":3===t?"0.71em":"0.32em")),s!==E&&(T=T.transition(s),C=C.transition(s),M=M.transition(s),D=D.transition(s),S=S.transition(s).attr("opacity",o).attr("transform",(function(t){return isFinite(t=A(t))?m(t+p):this.getAttribute("transform")})),I.attr("opacity",o).attr("transform",(function(t){var e=this.parentNode.__axis;return m((e&&isFinite(e=e(t))?e:A(t))+p)}))),S.remove(),T.attr("d",4===t||2===t?d?"M"+b*d+","+k+"H"+p+"V"+_+"H"+b*d:"M"+p+","+k+"V"+_:d?"M"+k+","+b*d+"V"+p+"H"+_+"V"+b*d:"M"+k+","+p+"H"+_),C.attr("opacity",1).attr("transform",(function(t){return m(A(t)+p)})),M.attr(w+"2",b*f),D.attr(w,b*v).text(y),E.filter(h).attr("fill","none").attr("font-size",10).attr("font-family","sans-serif").attr("text-anchor",2===t?"start":4===t?"end":"middle"),E.each((function(){this.__axis=A}))}return y.scale=function(t){return arguments.length?(e=t,y):e},y.ticks=function(){return n=Array.from(arguments),y},y.tickArguments=function(t){return arguments.length?(n=null==t?[]:Array.from(t),y):n.slice()},y.tickValues=function(t){return arguments.length?(i=null==t?null:Array.from(t),y):i&&i.slice()},y.tickFormat=function(t){return arguments.length?(r=t,y):r},y.tickSize=function(t){return arguments.length?(f=d=+t,y):f},y.tickSizeInner=function(t){return arguments.length?(f=+t,y):f},y.tickSizeOuter=function(t){return arguments.length?(d=+t,y):d},y.tickPadding=function(t){return arguments.length?(g=+t,y):g},y.offset=function(t){return arguments.length?(p=+t,y):p},y}function d(t){return f(1,t)}function g(t){return f(3,t)}function p(){}function b(t){return null==t?p:function(){return this.querySelector(t)}}function w(t){return null==t?[]:Array.isArray(t)?t:Array.from(t)}function m(){return[]}function y(t){return null==t?m:function(){return this.querySelectorAll(t)}}function v(t){return function(){return this.matches(t)}}function x(t){return function(e){return e.matches(t)}}var k=Array.prototype.find;function _(){return this.firstElementChild}var A=Array.prototype.filter;function E(){return Array.from(this.children)}function T(t){return new Array(t.length)}function C(t,e){this.ownerDocument=t.ownerDocument,this.namespaceURI=t.namespaceURI,this._next=null,this._parent=t,this.__data__=e}function S(t){return function(){return t}}function I(t,e,n,i,r,a){for(var o,s=0,c=e.length,u=a.length;se?1:t>=e?0:NaN}C.prototype={constructor:C,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 N="http://www.w3.org/1999/xhtml",P={svg:"http://www.w3.org/2000/svg",xhtml:N,xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"};function B(t){var e=t+="",n=e.indexOf(":");return n>=0&&"xmlns"!==(e=t.slice(0,n))&&(t=t.slice(n+1)),P.hasOwnProperty(e)?{space:P[e],local:t}:t}function F(t){return function(){this.removeAttribute(t)}}function R(t){return function(){this.removeAttributeNS(t.space,t.local)}}function j(t,e){return function(){this.setAttribute(t,e)}}function $(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 q(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 H(t){return t.ownerDocument&&t.ownerDocument.defaultView||t.document&&t||t.defaultView}function U(t){return function(){this.style.removeProperty(t)}}function G(t,e,n){return function(){this.style.setProperty(t,e,n)}}function Y(t,e,n){return function(){var i=e.apply(this,arguments);null==i?this.style.removeProperty(t):this.style.setProperty(t,i,n)}}function Z(t,e){return t.style.getPropertyValue(e)||H(t).getComputedStyle(t,null).getPropertyValue(e)}function W(t){return function(){delete this[t]}}function K(t,e){return function(){this[t]=e}}function X(t,e){return function(){var n=e.apply(this,arguments);null==n?delete this[t]:this[t]=n}}function V(t){return t.trim().split(/^|\s+/)}function Q(t){return t.classList||new J(t)}function J(t){this._node=t,this._names=V(t.getAttribute("class")||"")}function tt(t,e){for(var n=Q(t),i=-1,r=e.length;++i=0&&(e=t.slice(n+1),t=t.slice(0,n)),{type:t,name:e}}))}function xt(t){return function(){var e=this.__on;if(e){for(var n,i=0,r=-1,a=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 Tt=[null];function Ct(t,e){this._groups=t,this._parents=e}function St(){return new Ct([[document.documentElement]],Tt)}Ct.prototype=St.prototype={constructor:Ct,select:function(t){"function"!=typeof t&&(t=b(t));for(var e=this._groups,n=e.length,i=new Array(n),r=0;r=x&&(x=v+1);!(y=b[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=L);for(var n=this._groups,i=n.length,r=new Array(i),a=0;a1?this.each((null==e?U:"function"==typeof e?Y:G)(t,e,null==n?"":n)):Z(this.node(),t)},property:function(t,e){return arguments.length>1?this.each((null==e?W:"function"==typeof e?X:K)(t,e)):this.node()[t]},classed:function(t,e){var n=V(t+"");if(arguments.length<2){for(var i=Q(this.node()),r=-1,a=n.length;++r{}};function Dt(){for(var t,e=0,n=arguments.length,i={};e=0&&(n=t.slice(i+1),t=t.slice(0,i)),t&&!e.hasOwnProperty(t))throw new Error("unknown type: "+t);return{type:t,name:n}}))}function Nt(t,e){for(var n,i=0,r=t.length;i0)for(var n,i,r=new Array(n),a=0;a=0&&e._call.call(void 0,t),e=e._next;--jt}()}finally{jt=0,function(){var t,e,n=Bt,i=1/0;for(;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:Bt=e);Ft=t,Jt(i)}(),Ht=0}}function Qt(){var t=Gt.now(),e=t-qt;e>1e3&&(Ut-=e,qt=t)}function Jt(t){jt||($t&&($t=clearTimeout($t)),t-Ht>24?(t<1/0&&($t=setTimeout(Vt,t-Gt.now()-Ut)),zt&&(zt=clearInterval(zt))):(zt||(qt=Gt.now(),zt=setInterval(Qt,1e3)),jt=1,Yt(Vt)))}function te(t,e,n){var i=new Kt;return e=null==e?0:+e,i.restart((n=>{i.stop(),t(n+e)}),e,n),i}Kt.prototype=Xt.prototype={constructor:Kt,restart:function(t,e,n){if("function"!=typeof t)throw new TypeError("callback is not a function");n=(null==n?Zt():+n)+(null==e?0:+e),this._next||Ft===this||(Ft?Ft._next=this:Bt=this,Ft=this),this._call=t,this._time=n,Jt()},stop:function(){this._call&&(this._call=null,this._time=1/0,Jt())}};var ee=Rt("start","end","cancel","interrupt"),ne=[];function ie(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(t){n.state=1,n.timer.restart(o,n.delay,n.time),n.delay<=t&&o(t-n.delay)}function o(a){var u,l,h,f;if(1!==n.state)return c();for(u in r)if((f=r[u]).name===n.name){if(3===f.state)return te(o);4===f.state?(f.state=6,f.timer.stop(),f.on.call("interrupt",t,t.__data__,f.index,f.group),delete r[u]):+u0)throw new Error("too late; already scheduled");return n}function ae(t,e){var n=oe(t,e);if(n.state>3)throw new Error("too late; already running");return n}function oe(t,e){var n=t.__transition;if(!n||!(n=n[e]))throw new Error("transition not found");return n}function se(t,e){return t=+t,e=+e,function(n){return t*(1-n)+e*n}}var ce,ue=180/Math.PI,le={translateX:0,translateY:0,rotate:0,skewX:0,scaleX:1,scaleY:1};function he(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:se(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:se(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:se(t,n)},{i:s-2,x:se(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?Re(e>>24&255,e>>16&255,e>>8&255,(255&e)/255):4===n?Re(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=Ce.exec(t))?new ze(e[1],e[2],e[3],1):(e=Se.exec(t))?new ze(255*e[1]/100,255*e[2]/100,255*e[3]/100,1):(e=Ie.exec(t))?Re(e[1],e[2],e[3],e[4]):(e=Me.exec(t))?Re(255*e[1]/100,255*e[2]/100,255*e[3]/100,e[4]):(e=De.exec(t))?Ze(e[1],e[2]/100,e[3]/100,1):(e=Oe.exec(t))?Ze(e[1],e[2]/100,e[3]/100,e[4]):Le.hasOwnProperty(t)?Fe(Le[t]):"transparent"===t?new ze(NaN,NaN,NaN,0):null}function Fe(t){return new ze(t>>16&255,t>>8&255,255&t,1)}function Re(t,e,n,i){return i<=0&&(t=e=n=NaN),new ze(t,e,n,i)}function je(t){return t instanceof ve||(t=Be(t)),t?new ze((t=t.rgb()).r,t.g,t.b,t.opacity):new ze}function $e(t,e,n,i){return 1===arguments.length?je(t):new ze(t,e,n,null==i?1:i)}function ze(t,e,n,i){this.r=+t,this.g=+e,this.b=+n,this.opacity=+i}function qe(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}`}function He(){const t=Ue(this.opacity);return`${1===t?"rgb(":"rgba("}${Ge(this.r)}, ${Ge(this.g)}, ${Ge(this.b)}${1===t?")":`, ${t})`}`}function Ue(t){return isNaN(t)?1:Math.max(0,Math.min(1,t))}function Ge(t){return Math.max(0,Math.min(255,Math.round(t)||0))}function Ye(t){return((t=Ge(t))<16?"0":"")+t.toString(16)}function Ze(t,e,n,i){return i<=0?t=e=n=NaN:n<=0||n>=1?t=e=NaN:e<=0&&(t=NaN),new Ke(t,e,n,i)}function We(t){if(t instanceof Ke)return new Ke(t.h,t.s,t.l,t.opacity);if(t instanceof ve||(t=Be(t)),!t)return new Ke;if(t instanceof Ke)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 Ke(o,s,c,t.opacity)}function Ke(t,e,n,i){this.h=+t,this.s=+e,this.l=+n,this.opacity=+i}function Xe(t){return(t=(t||0)%360)<0?t+360:t}function Ve(t){return Math.max(0,Math.min(1,t||0))}function Qe(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 Je(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}me(ve,Be,{copy(t){return Object.assign(new this.constructor,this,t)},displayable(){return this.rgb().displayable()},hex:Ne,formatHex:Ne,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return We(this).formatHsl()},formatRgb:Pe,toString:Pe}),me(ze,$e,ye(ve,{brighter(t){return t=null==t?ke:Math.pow(ke,t),new ze(this.r*t,this.g*t,this.b*t,this.opacity)},darker(t){return t=null==t?xe:Math.pow(xe,t),new ze(this.r*t,this.g*t,this.b*t,this.opacity)},rgb(){return this},clamp(){return new ze(Ge(this.r),Ge(this.g),Ge(this.b),Ue(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:qe,formatHex:qe,formatHex8:function(){return`#${Ye(this.r)}${Ye(this.g)}${Ye(this.b)}${Ye(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:He,toString:He})),me(Ke,(function(t,e,n,i){return 1===arguments.length?We(t):new Ke(t,e,n,null==i?1:i)}),ye(ve,{brighter(t){return t=null==t?ke:Math.pow(ke,t),new Ke(this.h,this.s,this.l*t,this.opacity)},darker(t){return t=null==t?xe:Math.pow(xe,t),new Ke(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 ze(Qe(t>=240?t-240:t+120,r,i),Qe(t,r,i),Qe(t<120?t+240:t-120,r,i),this.opacity)},clamp(){return new Ke(Xe(this.h),Ve(this.s),Ve(this.l),Ue(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=Ue(this.opacity);return`${1===t?"hsl(":"hsla("}${Xe(this.h)}, ${100*Ve(this.s)}%, ${100*Ve(this.l)}%${1===t?")":`, ${t})`}`}}));var tn=t=>()=>t;function en(t,e){return function(n){return t+n*e}}function nn(t){return 1==(t=+t)?rn: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):tn(isNaN(e)?n:e)}}function rn(t,e){var n=e-t;return n?en(t,n):tn(isNaN(t)?e:t)}var an=function t(e){var n=nn(e);function i(t,e){var i=n((t=$e(t)).r,(e=$e(e)).r),r=n(t.g,e.g),a=n(t.b,e.b),o=rn(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 on(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:se(n,i)})),a=cn.lastIndex;return a=0&&(t=t.slice(0,e)),!t||"start"===t}))}(e)?re:ae;return function(){var o=a(this,t),s=o.on;s!==i&&(r=(i=s).copy()).on(e,n),o.on=r}}var Cn=It.prototype.constructor;function Sn(t){return function(){this.style.removeProperty(t)}}function In(t,e,n){return function(i){this.style.setProperty(t,e.call(this,i),n)}}function Mn(t,e,n){var i,r;function a(){var a=e.apply(this,arguments);return a!==r&&(i=(r=a)&&In(t,a,n)),i}return a._value=e,a}function Dn(t){return function(e){this.textContent=t.call(this,e)}}function On(t){var e,n;function i(){var i=t.apply(this,arguments);return i!==n&&(e=(n=i)&&Dn(i)),e}return i._value=t,i}var Ln=0;function Nn(t,e,n,i){this._groups=t,this._parents=e,this._name=n,this._id=i}function Pn(){return++Ln}var Bn=It.prototype;Nn.prototype=function(t){return It().transition(t)}.prototype={constructor:Nn,select:function(t){var e=this._name,n=this._id;"function"!=typeof t&&(t=b(t));for(var i=this._groups,r=i.length,a=new Array(r),o=0;o2&&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)}))},It.prototype.transition=function(t){var e,n;t instanceof Nn?(e=t._id,t=t._name):(e=Pn(),(n=Fn).time=Zt(),t=null==t?null:t+"");for(var i=this._groups,r=i.length,a=0;afunction(t,e){return fetch(t,e).then(Gn)}(e,n).then((e=>(new DOMParser).parseFromString(e,t)))}Yn("application/xml"),Yn("text/html");var Zn=Yn("image/svg+xml");const Wn=Math.PI/180,Kn=180/Math.PI,Xn=.96422,Vn=.82521,Qn=4/29,Jn=6/29,ti=3*Jn*Jn;function ei(t){if(t instanceof ni)return new ni(t.l,t.a,t.b,t.opacity);if(t instanceof ui)return li(t);t instanceof ze||(t=je(t));var e,n,i=oi(t.r),r=oi(t.g),a=oi(t.b),o=ii((.2225045*i+.7168786*r+.0606169*a)/1);return i===r&&r===a?e=n=o:(e=ii((.4360747*i+.3850649*r+.1430804*a)/Xn),n=ii((.0139322*i+.0971045*r+.7141733*a)/Vn)),new ni(116*o-16,500*(e-o),200*(o-n),t.opacity)}function ni(t,e,n,i){this.l=+t,this.a=+e,this.b=+n,this.opacity=+i}function ii(t){return t>.008856451679035631?Math.pow(t,1/3):t/ti+Qn}function ri(t){return t>Jn?t*t*t:ti*(t-Qn)}function ai(t){return 255*(t<=.0031308?12.92*t:1.055*Math.pow(t,1/2.4)-.055)}function oi(t){return(t/=255)<=.04045?t/12.92:Math.pow((t+.055)/1.055,2.4)}function si(t){if(t instanceof ui)return new ui(t.h,t.c,t.l,t.opacity);if(t instanceof ni||(t=ei(t)),0===t.a&&0===t.b)return new ui(NaN,0180||n<-180?n-360*Math.round(n/360):n):tn(isNaN(t)?e:t)}));hi(rn);const di=Math.sqrt(50),gi=Math.sqrt(10),pi=Math.sqrt(2);function bi(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>=di?10:a>=gi?5:a>=pi?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 vi(t,e){return null==t||null==e?NaN:et?1:e>=t?0:NaN}function xi(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(ryi(t(e),n),i=(e,n)=>t(e)-n):(e=t===yi||t===vi?t:ki,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?Fi:Bi,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),se)))(n)))},h.domain=function(t){return arguments.length?(o=Array.from(t,Oi),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=Di,l()},h.clamp=function(t){return arguments.length?(u=!!t||Ni,l()):u!==Ni},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()}}function $i(){return ji()(Ni,Ni)}function zi(t,e){switch(arguments.length){case 0:break;case 1:this.range(t);break;default:this.range(e).domain(t)}return this}var qi,Hi=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function Ui(t){if(!(e=Hi.exec(t)))throw new Error("invalid format: "+t);var e;return new Gi({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 Gi(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 Yi(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 Zi(t){return(t=Yi(Math.abs(t)))?t[1]:NaN}function Wi(t,e){var n=Yi(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")}Ui.prototype=Gi.prototype,Gi.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};var Ki={"%":(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)=>Wi(100*t,e),r:Wi,s:function(t,e){var n=Yi(t,e);if(!n)return t+"";var i=n[0],r=n[1],a=r-(qi=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")+Yi(t,Math.max(0,e+a-1))[0]},X:t=>Math.round(t).toString(16).toUpperCase(),x:t=>Math.round(t).toString(16)};function Xi(t){return t}var Vi,Qi,Ji,tr=Array.prototype.map,er=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function nr(t){var e,n,i=void 0===t.grouping||void 0===t.thousands?Xi:(e=tr.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?Xi:function(t){return function(e){return e.replace(/[0-9]/g,(function(e){return t[+e]}))}}(tr.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=Ui(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,m=t.type;"n"===m?(p=!0,m="g"):Ki[m]||(void 0===b&&(b=12),w=!0,m="g"),(d||"0"===e&&"="===n)&&(d=!0,e="0",n="=");var y="$"===f?r:"#"===f&&/[boxX]/.test(m)?"0"+m.toLowerCase():"",v="$"===f?a:/[%p]/.test(m)?c:"",x=Ki[m],k=/[defgprs%]/.test(m);function _(t){var r,a,c,f=y,_=v;if("c"===m)_=x(t)+_,t="";else{var A=(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)),A&&0==+t&&"+"!==h&&(A=!1),f=(A?"("===h?h:u:"-"===h||"("===h?"":h)+f,_=("s"===m?er[8+qi/3]:"")+_+(A&&"("===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 E=f.length+t.length+_.length,T=E>1)+f+t+_+T.slice(E);break;default:t=T+f+t+_}return s(t)}return b=void 0===b?6:/[gprs]/.test(m)?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=Ui(t)).type="f",t)),i=3*Math.max(-8,Math.min(8,Math.floor(Zi(e)/3))),r=Math.pow(10,-i),a=er[8+i/3];return function(t){return n(r*t)+a}}}}function ir(t,e,n,i){var r,a=mi(t,e,n);switch((i=Ui(null==i?",f":i)).type){case"s":var o=Math.max(Math.abs(t),Math.abs(e));return null!=i.precision||isNaN(r=function(t,e){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(Zi(e)/3)))-Zi(Math.abs(t)))}(a,o))||(i.precision=r),Ji(i,o);case"":case"e":case"g":case"p":case"r":null!=i.precision||isNaN(r=function(t,e){return t=Math.abs(t),e=Math.abs(e)-t,Math.max(0,Zi(e)-Zi(t))+1}(a,Math.max(Math.abs(t),Math.abs(e))))||(i.precision=r-("e"===i.type));break;case"f":case"%":null!=i.precision||isNaN(r=function(t){return Math.max(0,-Zi(Math.abs(t)))}(a))||(i.precision=r-2*("%"===i.type))}return Qi(i)}function rr(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=wi(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 ar(){var t=$i();return t.copy=function(){return Ri(t,ar())},zi.apply(t,arguments),rr(t)}Vi=nr({thousands:",",grouping:[3],currency:["$",""]}),Qi=Vi.format,Ji=Vi.formatPrefix;class or extends Map{constructor(t,e=lr){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(sr(this,t))}has(t){return super.has(sr(this,t))}set(t,e){return super.set(cr(this,t),e)}delete(t){return super.delete(ur(this,t))}}Set;function sr({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):n}function cr({_intern:t,_key:e},n){const i=e(n);return t.has(i)?t.get(i):(t.set(i,n),n)}function ur({_intern:t,_key:e},n){const i=e(n);return t.has(i)&&(n=t.get(i),t.delete(i)),n}function lr(t){return null!==t&&"object"==typeof t?t.valueOf():t}const hr=Symbol("implicit");function fr(){var t=new or,e=[],n=[],i=hr;function r(r){let a=t.get(r);if(void 0===a){if(i!==hr)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 or;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 fr(e,n).unknown(i)},zi.apply(r,arguments),r}const dr=1e3,gr=6e4,pr=36e5,br=864e5,wr=6048e5,mr=2592e6,yr=31536e6,vr=new Date,xr=new Date;function kr(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(skr((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)=>(vr.setTime(+e),xr.setTime(+i),t(vr),t(xr),Math.floor(n(vr,xr))),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 _r=kr((()=>{}),((t,e)=>{t.setTime(+t+e)}),((t,e)=>e-t));_r.every=t=>(t=Math.floor(t),isFinite(t)&&t>0?t>1?kr((e=>{e.setTime(Math.floor(e/t)*t)}),((e,n)=>{e.setTime(+e+n*t)}),((e,n)=>(n-e)/t)):_r:null);_r.range;const Ar=kr((t=>{t.setTime(t-t.getMilliseconds())}),((t,e)=>{t.setTime(+t+e*dr)}),((t,e)=>(e-t)/dr),(t=>t.getUTCSeconds())),Er=(Ar.range,kr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*dr)}),((t,e)=>{t.setTime(+t+e*gr)}),((t,e)=>(e-t)/gr),(t=>t.getMinutes()))),Tr=(Er.range,kr((t=>{t.setUTCSeconds(0,0)}),((t,e)=>{t.setTime(+t+e*gr)}),((t,e)=>(e-t)/gr),(t=>t.getUTCMinutes()))),Cr=(Tr.range,kr((t=>{t.setTime(t-t.getMilliseconds()-t.getSeconds()*dr-t.getMinutes()*gr)}),((t,e)=>{t.setTime(+t+e*pr)}),((t,e)=>(e-t)/pr),(t=>t.getHours()))),Sr=(Cr.range,kr((t=>{t.setUTCMinutes(0,0,0)}),((t,e)=>{t.setTime(+t+e*pr)}),((t,e)=>(e-t)/pr),(t=>t.getUTCHours()))),Ir=(Sr.range,kr((t=>t.setHours(0,0,0,0)),((t,e)=>t.setDate(t.getDate()+e)),((t,e)=>(e-t-(e.getTimezoneOffset()-t.getTimezoneOffset())*gr)/br),(t=>t.getDate()-1))),Mr=(Ir.range,kr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/br),(t=>t.getUTCDate()-1))),Dr=(Mr.range,kr((t=>{t.setUTCHours(0,0,0,0)}),((t,e)=>{t.setUTCDate(t.getUTCDate()+e)}),((t,e)=>(e-t)/br),(t=>Math.floor(t/br))));Dr.range;function Or(t){return kr((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())*gr)/wr))}const Lr=Or(0),Nr=Or(1),Pr=Or(2),Br=Or(3),Fr=Or(4),Rr=Or(5),jr=Or(6);Lr.range,Nr.range,Pr.range,Br.range,Fr.range,Rr.range,jr.range;function $r(t){return kr((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)/wr))}const zr=$r(0),qr=$r(1),Hr=$r(2),Ur=$r(3),Gr=$r(4),Yr=$r(5),Zr=$r(6),Wr=(zr.range,qr.range,Hr.range,Ur.range,Gr.range,Yr.range,Zr.range,kr((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()))),Kr=(Wr.range,kr((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()))),Xr=(Kr.range,kr((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())));Xr.every=t=>isFinite(t=Math.floor(t))&&t>0?kr((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;Xr.range;const Vr=kr((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()));Vr.every=t=>isFinite(t=Math.floor(t))&&t>0?kr((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;Vr.range;function Qr(t,e,n,i,r,a){const o=[[Ar,1,dr],[Ar,5,5e3],[Ar,15,15e3],[Ar,30,3e4],[a,1,gr],[a,5,3e5],[a,15,9e5],[a,30,18e5],[r,1,pr],[r,3,108e5],[r,6,216e5],[r,12,432e5],[i,1,br],[i,2,1728e5],[n,1,wr],[e,1,mr],[e,3,7776e6],[t,1,yr]];function s(e,n,i){const r=Math.abs(n-e)/i,a=xi((([,,t])=>t)).right(o,r);if(a===o.length)return t.every(mi(e/yr,n/yr,i));if(0===a)return _r.every(Math.max(mi(e,n,i),1));const[s,c]=o[r/o[a-1][2][t.toLowerCase(),e])))}function ba(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.w=+i[0],n+i[0].length):-1}function wa(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.u=+i[0],n+i[0].length):-1}function ma(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.U=+i[0],n+i[0].length):-1}function ya(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.V=+i[0],n+i[0].length):-1}function va(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.W=+i[0],n+i[0].length):-1}function xa(t,e,n){var i=ua.exec(e.slice(n,n+4));return i?(t.y=+i[0],n+i[0].length):-1}function ka(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.y=+i[0]+(+i[0]>68?1900:2e3),n+i[0].length):-1}function _a(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 Aa(t,e,n){var i=ua.exec(e.slice(n,n+1));return i?(t.q=3*i[0]-3,n+i[0].length):-1}function Ea(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.m=i[0]-1,n+i[0].length):-1}function Ta(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.d=+i[0],n+i[0].length):-1}function Ca(t,e,n){var i=ua.exec(e.slice(n,n+3));return i?(t.m=0,t.d=+i[0],n+i[0].length):-1}function Sa(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.H=+i[0],n+i[0].length):-1}function Ia(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.M=+i[0],n+i[0].length):-1}function Ma(t,e,n){var i=ua.exec(e.slice(n,n+2));return i?(t.S=+i[0],n+i[0].length):-1}function Da(t,e,n){var i=ua.exec(e.slice(n,n+3));return i?(t.L=+i[0],n+i[0].length):-1}function Oa(t,e,n){var i=ua.exec(e.slice(n,n+6));return i?(t.L=Math.floor(i[0]/1e3),n+i[0].length):-1}function La(t,e,n){var i=la.exec(e.slice(n,n+1));return i?n+i[0].length:-1}function Na(t,e,n){var i=ua.exec(e.slice(n));return i?(t.Q=+i[0],n+i[0].length):-1}function Pa(t,e,n){var i=ua.exec(e.slice(n));return i?(t.s=+i[0],n+i[0].length):-1}function Ba(t,e){return fa(t.getDate(),e,2)}function Fa(t,e){return fa(t.getHours(),e,2)}function Ra(t,e){return fa(t.getHours()%12||12,e,2)}function ja(t,e){return fa(1+Ir.count(Xr(t),t),e,3)}function $a(t,e){return fa(t.getMilliseconds(),e,3)}function za(t,e){return $a(t,e)+"000"}function qa(t,e){return fa(t.getMonth()+1,e,2)}function Ha(t,e){return fa(t.getMinutes(),e,2)}function Ua(t,e){return fa(t.getSeconds(),e,2)}function Ga(t){var e=t.getDay();return 0===e?7:e}function Ya(t,e){return fa(Lr.count(Xr(t)-1,t),e,2)}function Za(t){var e=t.getDay();return e>=4||0===e?Fr(t):Fr.ceil(t)}function Wa(t,e){return t=Za(t),fa(Fr.count(Xr(t),t)+(4===Xr(t).getDay()),e,2)}function Ka(t){return t.getDay()}function Xa(t,e){return fa(Nr.count(Xr(t)-1,t),e,2)}function Va(t,e){return fa(t.getFullYear()%100,e,2)}function Qa(t,e){return fa((t=Za(t)).getFullYear()%100,e,2)}function Ja(t,e){return fa(t.getFullYear()%1e4,e,4)}function to(t,e){var n=t.getDay();return fa((t=n>=4||0===n?Fr(t):Fr.ceil(t)).getFullYear()%1e4,e,4)}function eo(t){var e=t.getTimezoneOffset();return(e>0?"-":(e*=-1,"+"))+fa(e/60|0,"0",2)+fa(e%60,"0",2)}function no(t,e){return fa(t.getUTCDate(),e,2)}function io(t,e){return fa(t.getUTCHours(),e,2)}function ro(t,e){return fa(t.getUTCHours()%12||12,e,2)}function ao(t,e){return fa(1+Mr.count(Vr(t),t),e,3)}function oo(t,e){return fa(t.getUTCMilliseconds(),e,3)}function so(t,e){return oo(t,e)+"000"}function co(t,e){return fa(t.getUTCMonth()+1,e,2)}function uo(t,e){return fa(t.getUTCMinutes(),e,2)}function lo(t,e){return fa(t.getUTCSeconds(),e,2)}function ho(t){var e=t.getUTCDay();return 0===e?7:e}function fo(t,e){return fa(zr.count(Vr(t)-1,t),e,2)}function go(t){var e=t.getUTCDay();return e>=4||0===e?Gr(t):Gr.ceil(t)}function po(t,e){return t=go(t),fa(Gr.count(Vr(t),t)+(4===Vr(t).getUTCDay()),e,2)}function bo(t){return t.getUTCDay()}function wo(t,e){return fa(qr.count(Vr(t)-1,t),e,2)}function mo(t,e){return fa(t.getUTCFullYear()%100,e,2)}function yo(t,e){return fa((t=go(t)).getUTCFullYear()%100,e,2)}function vo(t,e){return fa(t.getUTCFullYear()%1e4,e,4)}function xo(t,e){var n=t.getUTCDay();return fa((t=n>=4||0===n?Gr(t):Gr.ceil(t)).getUTCFullYear()%1e4,e,4)}function ko(){return"+0000"}function _o(){return"%"}function Ao(t){return+t}function Eo(t){return Math.floor(+t/1e3)}function To(t){return new Date(t)}function Co(t){return t instanceof Date?+t:+new Date(+t)}function So(t,e,n,i,r,a,o,s,c,u){var l=$i(),h=l.invert,f=l.domain,d=u(".%L"),g=u(":%S"),p=u("%I:%M"),b=u("%I %p"),w=u("%a %d"),m=u("%b %d"),y=u("%B"),v=u("%Y");function x(t){return(c(t)=12)]},q:function(t){return 1+~~(t.getMonth()/3)},Q:Ao,s:Eo,S:Ua,u:Ga,U:Ya,V:Wa,w:Ka,W:Xa,x:null,X:null,y:Va,Y:Ja,Z:eo,"%":_o},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:no,e:no,f:so,g:yo,G:xo,H:io,I:ro,j:ao,L:oo,m:co,M:uo,p:function(t){return r[+(t.getUTCHours()>=12)]},q:function(t){return 1+~~(t.getUTCMonth()/3)},Q:Ao,s:Eo,S:lo,u:ho,U:fo,V:po,w:bo,W:wo,x:null,X:null,y:mo,Y:vo,Z:ko,"%":_o},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=m.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 A(t,e,n,i)},d:Ta,e:Ta,f:Oa,g:ka,G:xa,H:Sa,I:Sa,j:Ca,L:Da,m:Ea,M:Ia,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:Aa,Q:Na,s:Pa,S:Ma,u:wa,U:ma,V:ya,w:ba,W:va,x:function(t,e,i){return A(t,n,e,i)},X:function(t,e,n){return A(t,i,e,n)},y:ka,Y:xa,Z:_a,"%":La};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=ra(aa(a.y,0,1))).getUTCDay(),i=r>4||0===r?qr.ceil(i):qr(i),i=Mr.offset(i,7*(a.V-1)),a.y=i.getUTCFullYear(),a.m=i.getUTCMonth(),a.d=i.getUTCDate()+(a.w+6)%7):(r=(i=ia(aa(a.y,0,1))).getDay(),i=r>4||0===r?Nr.ceil(i):Nr(i),i=Ir.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?ra(aa(a.y,0,1)).getUTCDay():ia(aa(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,ra(a)):ia(a)}}function A(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 ca?e.charAt(o++):r])||(i=a(t,n,i))<0)return-1}else if(r!=n.charCodeAt(i++))return-1}return i}return y.x=k(n,y),y.X=k(i,y),y.c=k(e,y),v.x=k(n,v),v.X=k(i,v),v.c=k(e,v),{format:function(t){var e=k(t+="",y);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}}}(t),sa=oa.format,oa.parse,oa.utcFormat,oa.utcParse}({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"]});const Lo=Math.abs,No=Math.atan2,Po=Math.cos,Bo=Math.max,Fo=Math.min,Ro=Math.sin,jo=Math.sqrt,$o=1e-12,zo=Math.PI,qo=zo/2,Ho=2*zo;function Uo(t){return t>1?0:t<-1?zo:Math.acos(t)}function Go(t){return t>=1?qo:t<=-1?-qo:Math.asin(t)}const Yo=Math.PI,Zo=2*Yo,Wo=1e-6,Ko=Zo-Wo;function Xo(t){this._+=t[0];for(let e=1,n=t.length;e=0))throw new Error(`invalid digits: ${t}`);if(e>15)return Xo;const n=10**e;return function(t){this._+=t[0];for(let e=1,i=t.length;eWo)if(Math.abs(l*s-c*u)>Wo&&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),m=r*Math.tan((Yo-Math.acos((g+h-p)/(2*b*w)))/2),y=m/w,v=m/b;Math.abs(y-1)>Wo&&this._append`L${t+y*u},${e+y*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}`;else;}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)>Wo||Math.abs(this._y1-u)>Wo)&&this._append`L${c},${u}`,n&&(h<0&&(h=h%Zo+Zo),h>Ko?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>Wo&&this._append`A${n},${n},0,${+(h>=Yo)},${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 Qo(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 Vo(e)}function Jo(t){return t.innerRadius}function ts(t){return t.outerRadius}function es(t){return t.startAngle}function ns(t){return t.endAngle}function is(t){return t&&t.padAngle}function rs(t,e,n,i,r,a,o,s){var c=n-t,u=i-e,l=o-r,h=s-a,f=h*c-l*u;if(!(f*f<$o))return[t+(f=(l*(e-a)-h*(t-r))/f)*c,e+f*u]}function as(t,e,n,i,r,a,o){var s=t-n,c=e-i,u=(o?a:-a)/jo(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,m=g-f,y=p-d,v=m*m+y*y,x=r-a,k=f*p-g*d,_=(y<0?-1:1)*jo(Bo(0,x*x*v-k*k)),A=(k*y-m*_)/v,E=(-k*m-y*_)/v,T=(k*y+m*_)/v,C=(-k*m+y*_)/v,S=A-b,I=E-w,M=T-b,D=C-w;return S*S+I*I>M*M+D*D&&(A=T,E=C),{cx:A,cy:E,x01:-l,y01:-h,x11:A*(r/x-1),y11:E*(r/x-1)}}function os(){var t=Jo,e=ts,n=Oo(0),i=null,r=es,a=ns,o=is,s=null,c=Qo(u);function u(){var u,l,h=+t.apply(this,arguments),f=+e.apply(this,arguments),d=r.apply(this,arguments)-qo,g=a.apply(this,arguments)-qo,p=Lo(g-d),b=g>d;if(s||(s=u=c()),f$o)if(p>Ho-$o)s.moveTo(f*Po(d),f*Ro(d)),s.arc(0,0,f,d,g,!b),h>$o&&(s.moveTo(h*Po(g),h*Ro(g)),s.arc(0,0,h,g,d,b));else{var w,m,y=d,v=g,x=d,k=g,_=p,A=p,E=o.apply(this,arguments)/2,T=E>$o&&(i?+i.apply(this,arguments):jo(h*h+f*f)),C=Fo(Lo(f-h)/2,+n.apply(this,arguments)),S=C,I=C;if(T>$o){var M=Go(T/h*Ro(E)),D=Go(T/f*Ro(E));(_-=2*M)>$o?(x+=M*=b?1:-1,k-=M):(_=0,x=k=(d+g)/2),(A-=2*D)>$o?(y+=D*=b?1:-1,v-=D):(A=0,y=v=(d+g)/2)}var O=f*Po(y),L=f*Ro(y),N=h*Po(k),P=h*Ro(k);if(C>$o){var B,F=f*Po(v),R=f*Ro(v),j=h*Po(x),$=h*Ro(x);if(p$o?I>$o?(w=as(j,$,O,L,f,I,b),m=as(F,R,N,P,f,I,b),s.moveTo(w.cx+w.x01,w.cy+w.y01),I$o&&_>$o?S>$o?(w=as(N,P,F,R,h,-S,b),m=as(O,L,j,$,h,-S,b),s.lineTo(w.cx+w.x01,w.cy+w.y01),St?1:e>=t?0:NaN}function gs(t){return t}function ps(){var t=gs,e=ds,n=null,i=Oo(0),r=Oo(Ho),a=Oo(0);function o(o){var s,c,u,l,h,f=(o=ss(o)).length,d=0,g=new Array(f),p=new Array(f),b=+i.apply(this,arguments),w=Math.min(Ho,Math.max(-Ho,r.apply(this,arguments)-b)),m=Math.min(Math.abs(w)/f,a.apply(this,arguments)),y=m*(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*y)/d:0;s0?h*u:0)+y,p[c]={data:o[c],index:s,value:h,startAngle:b,endAngle:l,padAngle:m};return p}return o.value=function(e){return arguments.length?(t="function"==typeof e?e:Oo(+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:Oo(+t),o):i},o.endAngle=function(t){return arguments.length?(r="function"==typeof t?t:Oo(+t),o):r},o.padAngle=function(t){return arguments.length?(a="function"==typeof t?t:Oo(+t),o):a},o}function bs(){}function ws(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 ms(t){this._context=t}function ys(t){return new ms(t)}function vs(t){this._context=t}function xs(t){return new vs(t)}function ks(t){this._context=t}function _s(t){return new ks(t)}cs.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)}}},ms.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:ws(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:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},vs.prototype={areaStart:bs,areaEnd:bs,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:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}},ks.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:ws(this,t,e)}this._x0=this._x1,this._x1=t,this._y0=this._y1,this._y1=e}};class As{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 Es(t){return new As(t,!0)}function Ts(t){return new As(t,!1)}function Cs(t,e){this._basis=new ms(t),this._beta=e}Cs.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)}};var Ss=function t(e){function n(t){return 1===e?new ms(t):new Cs(t,e)}return n.beta=function(e){return t(+e)},n}(.85);function Is(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 Ms(t,e){this._context=t,this._k=(1-e)/6}Ms.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:Is(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:Is(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}};var Ds=function t(e){function n(t){return new Ms(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Os(t,e){this._context=t,this._k=(1-e)/6}Os.prototype={areaStart:bs,areaEnd:bs,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:Is(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}};var Ls=function t(e){function n(t){return new Os(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Ns(t,e){this._context=t,this._k=(1-e)/6}Ns.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:Is(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}};var Ps=function t(e){function n(t){return new Ns(t,e)}return n.tension=function(e){return t(+e)},n}(0);function Bs(t,e,n){var i=t._x1,r=t._y1,a=t._x2,o=t._y2;if(t._l01_a>$o){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>$o){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 Fs(t,e){this._context=t,this._alpha=e}Fs.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:Bs(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}};var Rs=function t(e){function n(t){return e?new Fs(t,e):new Ms(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function js(t,e){this._context=t,this._alpha=e}js.prototype={areaStart:bs,areaEnd:bs,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:Bs(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}};var $s=function t(e){function n(t){return e?new js(t,e):new Os(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function zs(t,e){this._context=t,this._alpha=e}zs.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:Bs(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}};var qs=function t(e){function n(t){return e?new zs(t,e):new Ns(t,0)}return n.alpha=function(e){return t(+e)},n}(.5);function Hs(t){this._context=t}function Us(t){return new Hs(t)}function Gs(t){return t<0?-1:1}function Ys(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(Gs(a)+Gs(o))*Math.min(Math.abs(a),Math.abs(o),.5*Math.abs(s))||0}function Zs(t,e){var n=t._x1-t._x0;return n?(3*(t._y1-t._y0)/n-e)/2:e}function Ws(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 Ks(t){this._context=t}function Xs(t){this._context=new Vs(t)}function Vs(t){this._context=t}function Qs(t){return new Ks(t)}function Js(t){return new Xs(t)}function tc(t){this._context=t}function ec(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}},sc.prototype={constructor:sc,scale:function(t){return 1===t?this:new sc(this.k*t,this.x,this.y)},translate:function(t,e){return 0===t&0===e?this:new sc(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 sc(1,0,0);sc.prototype},8137:function(t,e,n){"use strict";n.d(e,{a:function(){return r}});var i=n(6421);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}},6421:function(t,e,n){"use strict";n.d(e,{$p:function(){return l},O1:function(){return o},WR:function(){return h},bF:function(){return a},bg:function(){return u}});var i=n(3862),r=n(3200);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}},1768:function(t,e,n){"use strict";n.d(e,{bK:function(){return Ke}});var i=n(6227),r=n(7474),a=n(4734),o=n(2399),s=n(1849),c=n(8076),u=n(6460),l=n(8066);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){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){w(o,s,n.node(t))})),{graph:n,buckets:o,zeroIdx:s}}(t,e||g),r=function(t,e,n){var i,r=[],a=e[e.length-1],o=e[0];for(;t.nodeCount();){for(;i=o.dequeue();)b(t,e,n,i);for(;i=a.dequeue();)b(t,e,n,i);if(t.nodeCount())for(var s=e.length-2;s>0;--s)if(i=e[s].dequeue()){r=r.concat(b(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)})))}function b(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,w(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,w(e,n,o)})),t.removeNode(r.v),o}function w(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 m(t){var e="greedy"===t.graph().acyclicer?p(t,function(t){return function(e){return t.edge(e).weight}}(t)):function(t){var e=[],n={},r={};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])}return i.Z(t.nodes(),o),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(675),v=n(1250),x=n(8670);var k=function(t,e,n){(void 0!==n&&!(0,x.Z)(t[e],n)||void 0===n&&!(e in t))&&(0,v.Z)(t,e,n)},_=n(1405),A=n(9053),E=n(9178),T=n(7855),C=n(7734),S=n(175),I=n(6575),M=n(5214),D=n(7840),O=n(3200),L=n(7275),N=n(3862),P=n(4161);var B=function(t,e){if(("constructor"!==e||"function"!=typeof t[e])&&"__proto__"!=e)return t[e]},F=n(3617),R=n(4027);var j=function(t){return(0,F.Z)(t,(0,R.Z)(t))};var $=function(t,e,n,i,r,a,o){var s=B(t,n),c=B(e,n),u=o.get(c);if(u)k(t,n,u);else{var l=a?a(s,c,n+"",t,e,o):void 0,h=void 0===l;if(h){var f=(0,I.Z)(c),d=!f&&(0,D.Z)(c),g=!f&&!d&&(0,P.Z)(c);l=c,f||d||g?(0,I.Z)(s)?l=s:(0,M.Z)(s)?l=(0,T.Z)(s):d?(h=!1,l=(0,A.Z)(c,!0)):g?(h=!1,l=(0,E.Z)(c,!0)):l=[]:(0,N.Z)(c)||(0,S.Z)(c)?(l=s,(0,S.Z)(s)?l=j(s):(0,L.Z)(s)&&!(0,O.Z)(s)||(l=(0,C.Z)(c))):h=!1}h&&(o.set(c,l),r(l,c,i,a,o),o.delete(c)),k(t,n,l)}};var z=function t(e,n,i,r,a){e!==n&&(0,_.Z)(n,(function(o,s){if(a||(a=new y.Z),(0,L.Z)(o))$(e,n,s,i,t,r,a);else{var c=r?r(B(e,s),o,s+"",e,n,a):void 0;void 0===c&&(c=o),k(e,s,c)}}),R.Z)},q=n(155),H=n(9597);var U=function(t){return(0,q.Z)((function(e,n){var i=-1,r=n.length,a=r>1?n[r-1]:void 0,o=r>2?n[2]:void 0;for(a=t.length>3&&"function"==typeof a?(r--,a):void 0,o&&(0,H.Z)(n[0],n[1],o)&&(a=r<3?void 0:a,r=1),e=Object(e);++ie},X=n(1116);var V=function(t){return t&&t.length?W(t,X.Z,K):void 0};var Q=function(t){var e=null==t?0:t.length;return e?t[e-1]:void 0},J=n(8878),tt=n(5350);var et=function(t,e){var n={};return e=(0,tt.Z)(e,3),(0,J.Z)(t,(function(t,i,r){(0,v.Z)(n,i,e(t,i,r))})),n},nt=n(9789);var it=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 lt(t){var e=c.Z(u.Z(ft(t)+1),(function(){return[]}));return i.Z(t.nodes(),(function(n){var i=t.node(n),r=i.rank;nt.Z(r)||(e[r][i.order]=n)})),e}function ht(t,e,n,i){var r={width:0,height:0};return arguments.length>=4&&(r.rank=n,r.order=i),st(t,"border",r,e)}function ft(t){return V(c.Z(t.nodes(),(function(e){var n=t.node(e).rank;if(!nt.Z(n))return n})))}function dt(t,e){var n=ot();try{return e()}finally{console.log(t+" time: "+(ot()-n)+"ms")}}function gt(t,e){return e()}function pt(t,e,n,i,r,a){var o={width:0,height:0,rank:a,borderType:e},s=r[e][a-1],c=st(t,"border",o,n);r[e][a]=c,t.setParent(c,i),s&&t.setEdge(s,c,{weight:1})}function bt(t){var e=t.graph().rankdir.toLowerCase();"bt"!==e&&"rl"!==e||function(t){i.Z(t.nodes(),(function(e){yt(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,yt),a.Z(n,"y")&&yt(n)}))}(t),"lr"!==e&&"rl"!==e||(!function(t){i.Z(t.nodes(),(function(e){vt(t.node(e))})),i.Z(t.edges(),(function(e){var n=t.edge(e);i.Z(n.points,vt),a.Z(n,"x")&&vt(n)}))}(t),wt(t))}function wt(t){i.Z(t.nodes(),(function(e){mt(t.node(e))})),i.Z(t.edges(),(function(e){mt(t.edge(e))}))}function mt(t){var e=t.width;t.width=t.height,t.height=e}function yt(t){t.y=-t.y}function vt(t){var e=t.x;t.x=t.y,t.y=e}function xt(t){t.graph().dummyChains=[],i.Z(t.edges(),(function(e){!function(t,e){var n,i,r,a=e.v,o=t.node(a).rank,s=e.w,c=t.node(s).rank,u=e.name,l=t.edge(e),h=l.labelRank;if(c===o+1)return;for(t.removeEdge(e),r=0,++o;o-1?r[a?e[o]:o]:void 0}},Ot=n(1758),Lt=n(5473);var Nt=function(t){var e=(0,Lt.Z)(t),n=e%1;return e==e?n?e-n:e:0},Pt=Math.max;var Bt=Dt((function(t,e,n){var i=null==t?0:t.length;if(!i)return-1;var r=null==n?0:Nt(n);return r<0&&(r=Pt(i+r,0)),(0,Ot.Z)(t,(0,tt.Z)(e,3),r)})),Ft=n(3555);o.Z(1);o.Z(1);n(9295),n(9035),n(963),n(4897);(0,n(7381).Z)("length"),RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");var Rt="[\\ud800-\\udfff]",jt="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",$t="\\ud83c[\\udffb-\\udfff]",zt="[^\\ud800-\\udfff]",qt="(?:\\ud83c[\\udde6-\\uddff]){2}",Ht="[\\ud800-\\udbff][\\udc00-\\udfff]",Ut="(?:"+jt+"|"+$t+")"+"?",Gt="[\\ufe0e\\ufe0f]?",Yt=Gt+Ut+("(?:\\u200d(?:"+[zt,qt,Ht].join("|")+")"+Gt+Ut+")*"),Zt="(?:"+[zt+jt+"?",jt,qt,Ht,Rt].join("|")+")";RegExp($t+"(?="+$t+")|"+Zt+Yt,"g");function Wt(){}function Kt(t,e,n){I.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);Xt(t,e,"post"===n,o,r,a)})),a}function Xt(t,e,n,r,o,s){a.Z(r,e)||(r[e]=!0,n||s.push(e),i.Z(o(e),(function(e){Xt(t,e,n,r,o,s)})),n&&s.push(e))}Wt.prototype=new Error;n(8612);function Vt(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),_t(t);var e,n=Et(t);for(te(n),Qt(n,t);e=ne(n);)re(n,t,e,ie(n,t,e))}function Qt(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=Jt(t,e,n)}(t,e,n)}))}function Jt(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 te(t,e){arguments.length<2&&(e=t.nodes()[0]),ee(t,{},1,e)}function ee(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=ee(t,e,n,i,r))})),c.low=s,c.lim=n++,o?c.parent=o:delete c.parent,n}function ne(t){return Bt(t.edges(),(function(e){return t.edge(e).cutvalue<0}))}function ie(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=Ft.Z(e.edges(),(function(e){return c===ae(t,t.node(e.v),s)&&c!==ae(t,t.node(e.w),s)}));return kt(u,(function(t){return At(e,t)}))}function re(t,e,n,r){var a=n.v,o=n.w;t.removeEdge(a,o),t.setEdge(r.v,r.w,{}),te(t),Qt(t,e),function(t,e){var n=Bt(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 ae(t,e,n){return n.low<=e.lim&&e.lim<=n.lim}function oe(t){switch(t.graph().ranker){case"network-simplex":default:ce(t);break;case"tight-tree":!function(t){_t(t),Et(t)}(t);break;case"longest-path":se(t)}}Vt.initLowLimValues=te,Vt.initCutValues=Qt,Vt.calcCutValue=Jt,Vt.leaveEdge=ne,Vt.enterEdge=ie,Vt.exchangeEdges=re;var se=_t;function ce(t){Vt(t)}var ue=n(2855),le=n(9886);function he(t){var e=st(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=V(ue.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 le.Z(t.edges(),(function(e,n){return e+t.edge(n).weight}),0)}(t)+1;i.Z(t.children(),(function(i){fe(t,e,a,o,r,n,i)})),t.graph().nodeRankFactor=a}function fe(t,e,n,r,a,o,s){var c=t.children(s);if(c.length){var u=ht(t,"_bt"),l=ht(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){fe(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 de=n(6833);var ge=function(t){return(0,de.Z)(t,5)};function pe(t,e,n){var o=function(t){var e;for(;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=nt.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}var be=n(9616);var we=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};var Ce=function(t,e,n){e=e.length?(0,ve.Z)(e,(function(t){return(0,I.Z)(t)?function(e){return(0,xe.Z)(e,1===t.length?t[0]:t)}:t})):[X.Z];var i=-1;e=(0,ve.Z)(e,(0,Ae.Z)(tt.Z));var r=(0,ke.Z)(t,(function(t,n,r){return{criteria:(0,ve.Z)(e,(function(e){return e(t)})),index:++i,value:t}}));return _e(r,(function(t,e){return Te(t,e,n)}))},Se=(0,q.Z)((function(t,e){if(null==t)return[];var n=e.length;return n>1&&(0,H.Z)(t,e[0],e[1])?e=[]:n>2&&(0,H.Z)(e[0],e[1],e[2])&&(e=[e[0]]),Ce(t,(0,ye.Z)(e,1),[])}));function Ie(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 De(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};nt.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];nt.Z(e)||nt.Z(i)||(i.indegree++,e.out.push(n[t.w]))})),function(t){var e=[];function n(t){return function(e){e.merged||(nt.Z(e.barycenter)||nt.Z(t.barycenter)||e.barycenter>=t.barycenter)&&function(t,e){var n=0,i=0;t.weight&&(n+=t.barycenter*t.weight,i+=t.weight);e.weight&&(n+=e.barycenter*e.weight,i+=e.weight);t.vs=e.vs.concat(t.vs),t.barycenter=n/i,t.weight=i,t.i=Math.min(e.i,t.i),e.merged=!0}(t,e)}}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(Ft.Z(e,(function(t){return!t.merged})),(function(t){return G.Z(t,["vs","i","barycenter","weight"])}))}(Ft.Z(n,(function(t){return!t.indegree})))}function Oe(t,e){var n,r=function(t,e){var n={lhs:[],rhs:[]};return i.Z(t,(function(t){e(t)?n.lhs.push(t):n.rhs.push(t)})),n}(t,(function(t){return a.Z(t,"barycenter")})),o=r.lhs,c=Se(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=Le(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=Le(u,c,f)}));var d={vs:s.Z(u)};return h&&(d.barycenter=l/h,d.weight=h),d}function Le(t,e,n){for(var i;e.length&&(i=Q(e)).i<=n;)e.pop(),t.push(i.vs),n++;return n}function Ne(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=Ft.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=le.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=Ne(t,e.v,n,r);f[e.v]=i,a.Z(i,"barycenter")&&(o=e,s=i,nt.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=De(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=Oe(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 Pe(t){var e=ft(t),n=Be(t,u.Z(1,e+1),"inEdges"),r=Be(t,u.Z(e-1,-1,-1),"outEdges"),o=function(t){var e={},n=Ft.Z(t.nodes(),(function(e){return!t.children(e).length})),r=V(c.Z(n,(function(e){return t.node(e).rank}))),o=c.Z(u.Z(r+1),(function(){return[]})),s=Se(n,(function(e){return t.node(e).rank}));return i.Z(s,(function n(r){if(!a.Z(e,r)){e[r]=!0;var s=t.node(r);o[s.rank].push(r),i.Z(t.successors(r),n)}})),o}(t);Re(t,o);for(var s,l=Number.POSITIVE_INFINITY,h=0,f=0;f<4;++h,++f){Fe(h%2?n:r,h%4>=2);var d=Ie(t,o=lt(t));dc||u>e[r].lim));a=r,r=i;for(;(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).maxRankn){var i=e;e=n,n=i}var r=t[e];r||(t[e]=r={}),r[n]=!0}function Ge(t,e,n){if(e>n){var i=e;e=n,n=i}return a.Z(t[e],n)}function Ye(t,e,n,r,o){var s={},c=function(t,e,n,r){var o=new l.k,s=t.graph(),c=function(t,e,n){return function(i,r,o){var s,c=i.node(r),u=i.node(o),l=0;if(l+=c.width/2,a.Z(c,"labelpos"))switch(c.labelpos.toLowerCase()){case"l":s=-c.width/2;break;case"r":s=c.width/2}if(s&&(l+=n?s:-s),s=0,l+=(c.dummy?e:t)/2,l+=(u.dummy?e:t)/2,l+=u.width/2,a.Z(u,"labelpos"))switch(u.labelpos.toLowerCase()){case"l":s=u.width/2;break;case"r":s=-u.width/2}return s&&(l+=n?s:-s),s=0,l}}(s.nodesep,s.edgesep,r);return i.Z(e,(function(e){var r;i.Z(e,(function(e){var i=n[e];if(o.setNode(i),r){var a=n[r],s=o.edge(a,i);o.setEdge(a,i,Math.max(c(t,e,r),s||0))}r=e}))})),o}(t,e,n,o),u=o?"borderLeft":"borderRight";function h(t,e){for(var n=c.nodes(),i=n.pop(),r={};i;)r[i]?t(i):(r[i]=!0,n.push(i),n=n.concat(e(i))),i=n.pop()}return h((function(t){s[t]=c.inEdges(t).reduce((function(t,e){return Math.max(t,s[e.v]+c.edge(e))}),0)}),c.predecessors.bind(c)),h((function(e){var n=c.outEdges(e).reduce((function(t,e){return Math.min(t,s[e.w]-c.edge(e))}),Number.POSITIVE_INFINITY),i=t.node(e);n!==Number.POSITIVE_INFINITY&&i.borderType!==u&&(s[e]=Math.max(s[e],n))}),c.successors.bind(c)),i.Z(r,(function(t){s[t]=s[n[t]]})),s}function Ze(t){var e,n=lt(t),r=U(He(t,n),function(t,e){var n={};function r(e,r,a,o,s){var c;i.Z(u.Z(r,a),(function(r){c=e[r],t.node(c).dummy&&i.Z(t.predecessors(c),(function(e){var i=t.node(e);i.dummy&&(i.orders)&&Ue(n,e,c)}))}))}return le.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)),a={};i.Z(["u","d"],(function(o){e="u"===o?n:ue.Z(n).reverse(),i.Z(["l","r"],(function(n){"r"===n&&(e=c.Z(e,(function(t){return ue.Z(t).reverse()})));var s=("u"===o?t.predecessors:t.successors).bind(t),u=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=Se(i,(function(t){return s[t]}));for(var c=(i.length-1)/2,u=Math.floor(c),l=Math.ceil(c);u<=l;++u){var h=i[u];o[t]===t&&e-1};var y=function(t,e,n){for(var i=-1,r=null==t?0:t.length;++i=200){var u=e?null:E(t);if(u)return(0,_.Z)(u);o=!1,r=v.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]=D,this._children[t]={},this._children["\0"][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=D;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!==D)return e}}children(t){if(l.Z(t)&&(t=D),this._isCompound){var e=this._children[t];if(e)return o.Z(e)}else{if(t===D)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 S(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 I.Z(this._edgeObjs)}setPath(t,e){var n=this,i=arguments;return M.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=P(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};i&&(s.name=i);return 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?B(this._isDirected,arguments[0]):P(this._isDirected,t,e,n);return this._edgeLabels[i]}hasEdge(t,e,n){var r=1===arguments.length?B(this._isDirected,arguments[0]):P(this._isDirected,t,e,n);return i.Z(this._edgeLabels,r)}removeEdge(t,e,n){var i=1===arguments.length?B(this._isDirected,arguments[0]):P(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],N(this._preds[e],t),N(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=I.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=I.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 N(t,e){--t[e]||delete t[e]}function P(t,e,n,i){var r=""+e,a=""+n;if(!t&&r>a){var o=r;r=a,a=o}return r+""+a+""+(l.Z(i)?"\0":i)}function B(t,e){return P(t,e.v,e.w,e.name)}O.prototype._nodeCount=0,O.prototype._edgeCount=0},8066:function(t,e,n){"use strict";n.d(e,{k:function(){return i.k}});var i=n(8612)},835:function(t,e,n){"use strict";n.d(e,{c:function(){return s}});var i=n(9789),r=n(6833);var a=function(t){return(0,r.Z)(t,4)},o=n(8076);n(8612);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}))}},5446:function(t,e,n){"use strict";n.r(e);function i(t,e){var n={};return e.forEach((function(e){Object.prototype.hasOwnProperty.call(t,e)&&(n[e]=t[e])})),n}var r={assign:function(t){for(var e,n=1;n=0,wasm:e.indexOf("wasm")>=0};r.call(this,n),this.features={js:n.js,wasm:n.wasm&&this.has_wasm()},this.use(a),this.use(o)}i(s,r),s.prototype.resizeAndUnsharp=function(t,e){var n=this.resize(t,e);return t.unsharpAmount&&this.unsharp_mask(n,t.toWidth,t.toHeight,t.unsharpAmount,t.unsharpRadius,t.unsharpThreshold),n},e.exports=s},{"./mm_resize":4,"./mm_unsharp_mask":9,inherits:19,multimath:20}],2:[function(t,e,n){function i(t){return t<0?0:t>255?255:t}function r(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}function a(t,e,n,r,a,o){var s,c,u,l,h,f,d,g,p,b,w,m=0,y=0;for(p=0;p0;d--)l=l+(w=o[h++])*t[g+3]|0,u=u+w*t[g+2]|0,c=c+w*t[g+1]|0,s=s+w*t[g]|0,g=g+4|0;e[y+3]=i(l+8192>>14),e[y+2]=i(u+8192>>14),e[y+1]=i(c+8192>>14),e[y]=i(s+8192>>14),y=y+4*r|0}y=4*(p+1)|0,m=(p+1)*n*4|0}}e.exports={convolveHorizontally:r,convolveVertically:a}},{}],3:[function(t,e,n){e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAEXA2AAAGAGf39/f39/AGAHf39/f39/fwACDwEDZW52Bm1lbW9yeQIAAAMEAwABAgYGAX8AQQALB1cFEV9fd2FzbV9jYWxsX2N0b3JzAAAIY29udm9sdmUAAQpjb252b2x2ZUhWAAIMX19kc29faGFuZGxlAwAYX193YXNtX2FwcGx5X2RhdGFfcmVsb2NzAAAK7AMDAwABC8YDAQ9/AkAgA0UNACAERQ0AA0AgDCENQQAhE0EAIQcDQCAHQQJqIQYCfyAHQQF0IAVqIgcuAQIiFEUEQEGAwAAhCEGAwAAhCUGAwAAhCkGAwAAhCyAGDAELIBIgBy4BAGohCEEAIQsgFCEHQQAhDiAGIQlBACEPQQAhEANAIAUgCUEBdGouAQAiESAAIAhBAnRqKAIAIgpBGHZsIBBqIRAgCkH/AXEgEWwgC2ohCyAKQRB2Qf8BcSARbCAPaiEPIApBCHZB/wFxIBFsIA5qIQ4gCEEBaiEIIAlBAWohCSAHQQFrIgcNAAsgC0GAQGshCCAOQYBAayEJIA9BgEBrIQogEEGAQGshCyAGIBRqCyEHIAEgDUECdGogCUEOdSIGQf8BIAZB/wFIGyIGQQAgBkEAShtBCHRBgP4DcSAKQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EQdEGAgPwHcSALQQ51IgZB/wEgBkH/AUgbIgZBACAGQQBKG0EYdHJyIAhBDnUiBkH/ASAGQf8BSBsiBkEAIAZBAEobcjYCACADIA1qIQ0gE0EBaiITIARHDQALIAxBAWoiDCACbCESIAMgDEcNAAsLCx4AQQAgAiADIAQgBSAAEAEgAkEAIAQgBSAGIAEQAQs="},{}],4:[function(t,e,n){e.exports={name:"resize",fn:t("./resize"),wasm_fn:t("./resize_wasm"),wasm_src:t("./convolve_wasm_base64")}},{"./convolve_wasm_base64":3,"./resize":5,"./resize_wasm":8}],5:[function(t,e,n){var i=t("./resize_filter_gen"),r=t("./convolve").convolveHorizontally,a=t("./convolve").convolveVertically;function o(t,e,n){for(var i=3,r=e*n*4|0;i>1]+=a(1-m),v=0;v0&&0===d[x];)x--;if(k=u+v,_=x-v+1,I[M++]=k,I[M++]=_,D)for(b=v;b<=x;b++)I[M++]=d[b];else I.set(d.subarray(v,x+1),M),M+=_}else I[M++]=0,I[M++]=0}return I}},{"./resize_filter_info":7}],7:[function(t,e,n){e.exports=[{win:.5,filter:function(t){return t>=-.5&&t<.5?1:0}},{win:1,filter:function(t){if(t<=-1||t>=1)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*(.54+.46*Math.cos(e/1))}},{win:2,filter:function(t){if(t<=-2||t>=2)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/2)/(e/2)}},{win:3,filter:function(t){if(t<=-3||t>=3)return 0;if(t>-1.1920929e-7&&t<1.1920929e-7)return 1;var e=t*Math.PI;return Math.sin(e)/e*Math.sin(e/3)/(e/3)}}]},{}],8:[function(t,e,n){var i=t("./resize_filter_gen");function r(t,e,n){for(var i=3,r=e*n*4|0;i>8&255}}e.exports=function(t){var e=t.src,n=t.width,a=t.height,o=t.toWidth,c=t.toHeight,u=t.scaleX||t.toWidth/t.width,l=t.scaleY||t.toHeight/t.height,h=t.offsetX||0,f=t.offsetY||0,d=t.dest||new Uint8Array(o*c*4),g=void 0===t.quality?3:t.quality,p=t.alpha||!1,b=i(g,n,o,u,h),w=i(g,a,c,l,f),m=0,y=this.__align(m+Math.max(e.byteLength,d.byteLength)),v=this.__align(y+a*o*4),x=this.__align(v+b.byteLength),k=x+w.byteLength,_=this.__instance("resize",k),A=new Uint8Array(this.__memory.buffer),E=new Uint32Array(this.__memory.buffer),T=new Uint32Array(e.buffer);return E.set(T),s(b,A,v),s(w,A,x),(_.exports.convolveHV||_.exports._convolveHV)(v,x,y,n,a,o,c),new Uint32Array(d.buffer).set(new Uint32Array(this.__memory.buffer,0,c*o)),p||r(d,o,c),d}},{"./resize_filter_gen":6}],9:[function(t,e,n){e.exports={name:"unsharp_mask",fn:t("./unsharp_mask"),wasm_fn:t("./unsharp_mask_wasm"),wasm_src:t("./unsharp_mask_wasm_base64")}},{"./unsharp_mask":10,"./unsharp_mask_wasm":11,"./unsharp_mask_wasm_base64":12}],10:[function(t,e,n){var i=t("glur/mono16");function r(t,e,n){for(var i,r,a,o,s=e*n,c=new Uint16Array(s),u=0;u=r&&i>=a?i:r>=a&&r>=i?r:a,c[u]=o<<8;return c}e.exports=function(t,e,n,a,o,s){var c,u,l,h,f;if(!(0===a||o<.5)){o>2&&(o=2);var d=r(t,e,n),g=new Uint16Array(d);i(g,e,n,o);for(var p=a/100*4096+.5|0,b=s<<8,w=e*n,m=0;m=b&&(l=((u=(u=(u=c+(p*h+2048>>12))>65280?65280:u)<0?0:u)<<12)/(c=0!==c?c:1)|0,t[f=4*m]=t[f]*l+2048>>12,t[f+1]=t[f+1]*l+2048>>12,t[f+2]=t[f+2]*l+2048>>12)}}},{"glur/mono16":18}],11:[function(t,e,n){e.exports=function(t,e,n,i,r,a){if(!(0===i||r<.5)){r>2&&(r=2);var o=e*n,s=4*o,c=2*o,u=2*o,l=4*Math.max(e,n),h=32,f=0,d=s,g=d+c,p=g+u,b=p+u,w=b+l,m=this.__instance("unsharp_mask",s+c+2*u+l+h,{exp:Math.exp}),y=new Uint32Array(t.buffer);new Uint32Array(this.__memory.buffer).set(y);var v=m.exports.hsv_v16||m.exports._hsv_v16;v(f,d,e,n),(v=m.exports.blurMono16||m.exports._blurMono16)(d,g,p,b,w,e,n,r),(v=m.exports.unsharp||m.exports._unsharp)(f,f,d,g,e,n,i,a),y.set(new Uint32Array(this.__memory.buffer,0,o))}}},{}],12:[function(t,e,n){e.exports="AGFzbQEAAAAADAZkeWxpbmsAAAAAAAE0B2AAAGAEf39/fwBgBn9/f39/fwBgCH9/f39/f39/AGAIf39/f39/f30AYAJ9fwBgAXwBfAIZAgNlbnYDZXhwAAYDZW52Bm1lbW9yeQIAAAMHBgAFAgQBAwYGAX8AQQALB4oBCBFfX3dhc21fY2FsbF9jdG9ycwABFl9fYnVpbGRfZ2F1c3NpYW5fY29lZnMAAg5fX2dhdXNzMTZfbGluZQADCmJsdXJNb25vMTYABAdoc3ZfdjE2AAUHdW5zaGFycAAGDF9fZHNvX2hhbmRsZQMAGF9fd2FzbV9hcHBseV9kYXRhX3JlbG9jcwABCsUMBgMAAQvWAQEHfCABRNuGukOCGvs/IAC7oyICRAAAAAAAAADAohAAIgW2jDgCFCABIAKaEAAiAyADoCIGtjgCECABRAAAAAAAAPA/IAOhIgQgBKIgAyACIAKgokQAAAAAAADwP6AgBaGjIgS2OAIAIAEgBSAEmqIiB7Y4AgwgASADIAJEAAAAAAAA8D+gIASioiIItjgCCCABIAMgAkQAAAAAAADwv6AgBKKiIgK2OAIEIAEgByAIoCAFRAAAAAAAAPA/IAahoCIDo7Y4AhwgASAEIAKgIAOjtjgCGAuGBQMGfwl8An0gAyoCDCEVIAMqAgghFiADKgIUuyERIAMqAhC7IRACQCAEQQFrIghBAEgiCQRAIAIhByAAIQYMAQsgAiAALwEAuCIPIAMqAhi7oiIMIBGiIg0gDCAQoiAPIAMqAgS7IhOiIhQgAyoCALsiEiAPoqCgoCIOtjgCACACQQRqIQcgAEECaiEGIAhFDQAgCEEBIAhBAUgbIgpBf3MhCwJ/IAQgCmtBAXFFBEAgDiENIAgMAQsgAiANIA4gEKIgFCASIAAvAQK4Ig+ioKCgIg22OAIEIAJBCGohByAAQQRqIQYgDiEMIARBAmsLIQIgC0EAIARrRg0AA0AgByAMIBGiIA0gEKIgDyAToiASIAYvAQC4Ig6ioKCgIgy2OAIAIAcgDSARoiAMIBCiIA4gE6IgEiAGLwECuCIPoqCgoCINtjgCBCAHQQhqIQcgBkEEaiEGIAJBAkohACACQQJrIQIgAA0ACwsCQCAJDQAgASAFIAhsQQF0aiIAAn8gBkECay8BACICuCINIBW7IhKiIA0gFrsiE6KgIA0gAyoCHLuiIgwgEKKgIAwgEaKgIg8gB0EEayIHKgIAu6AiDkQAAAAAAADwQWMgDkQAAAAAAAAAAGZxBEAgDqsMAQtBAAs7AQAgCEUNACAGQQRrIQZBACAFa0EBdCEBA0ACfyANIBKiIAJB//8DcbgiDSAToqAgDyIOIBCioCAMIBGioCIPIAdBBGsiByoCALugIgxEAAAAAAAA8EFjIAxEAAAAAAAAAABmcQRAIAyrDAELQQALIQMgBi8BACECIAAgAWoiACADOwEAIAZBAmshBiAIQQFKIQMgDiEMIAhBAWshCCADDQALCwvRAgIBfwd8AkAgB0MAAAAAWw0AIARE24a6Q4Ia+z8gB0MAAAA/l7ujIglEAAAAAAAAAMCiEAAiDLaMOAIUIAQgCZoQACIKIAqgIg22OAIQIAREAAAAAAAA8D8gCqEiCyALoiAKIAkgCaCiRAAAAAAAAPA/oCAMoaMiC7Y4AgAgBCAMIAuaoiIOtjgCDCAEIAogCUQAAAAAAADwP6AgC6KiIg+2OAIIIAQgCiAJRAAAAAAAAPC/oCALoqIiCbY4AgQgBCAOIA+gIAxEAAAAAAAA8D8gDaGgIgqjtjgCHCAEIAsgCaAgCqO2OAIYIAYEQANAIAAgBSAIbEEBdGogAiAIQQF0aiADIAQgBSAGEAMgCEEBaiIIIAZHDQALCyAFRQ0AQQAhCANAIAIgBiAIbEEBdGogASAIQQF0aiADIAQgBiAFEAMgCEEBaiIIIAVHDQALCwtxAQN/IAIgA2wiBQRAA0AgASAAKAIAIgRBEHZB/wFxIgIgAiAEQQh2Qf8BcSIDIAMgBEH/AXEiBEkbIAIgA0sbIgYgBiAEIAIgBEsbIAMgBEsbQQh0OwEAIAFBAmohASAAQQRqIQAgBUEBayIFDQALCwuZAgIDfwF8IAQgBWwhBAJ/IAazQwAAgEWUQwAAyEKVu0QAAAAAAADgP6AiC5lEAAAAAAAA4EFjBEAgC6oMAQtBgICAgHgLIQUgBARAIAdBCHQhCUEAIQYDQCAJIAIgBkEBdCIHai8BACIBIAMgB2ovAQBrIgcgB0EfdSIIaiAIc00EQCAAIAZBAnQiCGoiCiAFIAdsQYAQakEMdSABaiIHQYD+AyAHQYD+A0gbIgdBACAHQQBKG0EMdCABQQEgARtuIgEgCi0AAGxBgBBqQQx2OgAAIAAgCEEBcmoiByABIActAABsQYAQakEMdjoAACAAIAhBAnJqIgcgASAHLQAAbEGAEGpBDHY6AAALIAZBAWoiBiAERw0ACwsL"},{}],13:[function(t,e,n){var i=100;function r(t,e){this.create=t,this.available=[],this.acquired={},this.lastId=1,this.timeoutId=0,this.idle=e||2e3}r.prototype.acquire=function(){var t,e=this;return 0!==this.available.length?t=this.available.pop():((t=this.create()).id=this.lastId++,t.release=function(){return e.release(t)}),this.acquired[t.id]=t,t},r.prototype.release=function(t){var e=this;delete this.acquired[t.id],t.lastUsed=Date.now(),this.available.push(t),0===this.timeoutId&&(this.timeoutId=setTimeout((function(){return e.gc()}),i))},r.prototype.gc=function(){var t=this,e=Date.now();this.available=this.available.filter((function(n){return!(e-n.lastUsed>t.idle&&(n.destroy(),1))})),0!==this.available.length?this.timeoutId=setTimeout((function(){return t.gc()}),i):this.timeoutId=0},e.exports=r},{}],14:[function(t,e,n){var i=2;e.exports=function(t,e,n,r,a,o){var s=n/t,c=r/e,u=(2*o+i+1)/a;if(u>.5)return[[n,r]];var l=Math.ceil(Math.log(Math.min(s,c))/Math.log(u));if(l<=1)return[[n,r]];for(var h=[],f=0;f=t.toWidth&&(s=t.toWidth-e),(n=o-t.destTileBorder)<0&&(n=0),n+(c=o+f+t.destTileBorder-n)>=t.toHeight&&(c=t.toHeight-n),d={toX:e,toY:n,toWidth:s,toHeight:c,toInnerX:i,toInnerY:o,toInnerWidth:h,toInnerHeight:f,offsetX:e/u-r(e/u),offsetY:n/l-r(n/l),scaleX:u,scaleY:l,x:r(e/u),y:r(n/l),width:a(s/u),height:a(c/l)},g.push(d);return g}},{}],16:[function(t,e,n){function i(t){return Object.prototype.toString.call(t)}e.exports.isCanvas=function(t){var e=i(t);return"[object HTMLCanvasElement]"===e||"[object OffscreenCanvas]"===e||"[object Canvas]"===e},e.exports.isImage=function(t){return"[object HTMLImageElement]"===i(t)},e.exports.isImageBitmap=function(t){return"[object ImageBitmap]"===i(t)},e.exports.limiter=function(t){var e=0,n=[];function i(){e=0;p--)c=s*b+o*w+u*m+l*y,l=u,u=c,o=s,s=t[h],e[f]=n[d]+u,h--,d--,f-=a}}function h(t,e,n,i){if(i){var r=new Uint16Array(t.length),a=new Float32Array(Math.max(e,n)),o=u(i);l(t,r,a,o,e,n),l(r,t,a,o,n,e)}}e.exports=h},{}],19:[function(t,e,n){"function"==typeof Object.create?e.exports=function(t,e){e&&(t.super_=e,t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}))}:e.exports=function(t,e){if(e){t.super_=e;var n=function(){};n.prototype=e.prototype,t.prototype=new n,t.prototype.constructor=t}}},{}],20:[function(t,e,n){var i=t("object-assign"),r=t("./lib/base64decode"),a=t("./lib/wa_detect"),o={js:!0,wasm:!0};function s(t){if(!(this instanceof s))return new s(t);var e=i({},o,t||{});if(this.options=e,this.__cache={},this.__init_promise=null,this.__modules=e.modules||{},this.__memory=null,this.__wasm={},this.__isLE=1===new Uint32Array(new Uint8Array([1,0,0,0]).buffer)[0],!this.options.js&&!this.options.wasm)throw new Error('mathlib: at least "js" or "wasm" should be enabled')}s.prototype.has_wasm=a,s.prototype.use=function(t){return this.__modules[t.name]=t,this.options.wasm&&this.has_wasm()&&t.wasm_fn?this[t.name]=t.wasm_fn:this[t.name]=t.fn,this},s.prototype.init=function(){if(this.__init_promise)return this.__init_promise;if(!this.options.js&&this.options.wasm&&!this.has_wasm())return Promise.reject(new Error('mathlib: only "wasm" was enabled, but it\'s not supported'));var t=this;return this.__init_promise=Promise.all(Object.keys(t.__modules).map((function(e){var n=t.__modules[e];return t.options.wasm&&t.has_wasm()&&n.wasm_fn?t.__wasm[e]?null:WebAssembly.compile(t.__base64decode(n.wasm_src)).then((function(n){t.__wasm[e]=n})):null}))).then((function(){return t})),this.__init_promise},s.prototype.__base64decode=r,s.prototype.__reallocate=function(t){if(!this.__memory)return this.__memory=new WebAssembly.Memory({initial:Math.ceil(t/65536)}),this.__memory;var e=this.__memory.buffer.byteLength;return e>2),a=0,o=0,s=0;s>16&255,r[o++]=a>>8&255,r[o++]=255&a),a=a<<6|i.indexOf(e.charAt(s));var c=n%4*6;return 0===c?(r[o++]=a>>16&255,r[o++]=a>>8&255,r[o++]=255&a):18===c?(r[o++]=a>>10&255,r[o++]=a>>2&255):12===c&&(r[o++]=a>>4&255),r}},{}],22:[function(t,e,n){var i;e.exports=function(){if(void 0!==i)return i;if(i=!1,"undefined"==typeof WebAssembly)return i;try{var t=new Uint8Array([0,97,115,109,1,0,0,0,1,6,1,96,1,127,1,127,3,2,1,0,5,3,1,0,1,7,8,1,4,116,101,115,116,0,0,10,16,1,14,0,32,0,65,1,54,2,0,32,0,40,2,0,11]),e=new WebAssembly.Module(t);return 0!==new WebAssembly.Instance(e,{}).exports.test(4)&&(i=!0),i}catch(t){}return i}},{}],23:[function(t,e,n){var i=Object.getOwnPropertySymbols,r=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function o(t){if(null==t)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(t)}function s(){try{if(!Object.assign)return!1;var t=new String("abc");if(t[5]="de","5"===Object.getOwnPropertyNames(t)[0])return!1;for(var e={},n=0;n<10;n++)e["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(e).map((function(t){return e[t]})).join(""))return!1;var i={};return"abcdefghijklmnopqrst".split("").forEach((function(t){i[t]=t})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},i)).join("")}catch(t){return!1}}e.exports=s()?Object.assign:function(t,e){for(var n,s,c=o(t),u=1;ut.length)&&(e=t.length);for(var n=0,i=new Array(e);n=0)}catch(t){}var y=1;"undefined"!=typeof navigator&&(y=Math.min(navigator.hardwareConcurrency||1,4));var v={tile:1024,concurrency:y,features:["js","wasm","ww"],idle:2e3,createCanvas:function(t,e){var n=document.createElement("canvas");return n.width=t,n.height=e,n}},x={quality:3,alpha:!1,unsharpAmount:0,unsharpRadius:0,unsharpThreshold:0},k=!1,_=!1,A=!1,E=!1,T=!1;function C(){return{value:l(g),destroy:function(){if(this.value.terminate(),"undefined"!=typeof window){var t=window.URL||window.webkitURL||window.mozURL||window.msURL;t&&t.revokeObjectURL&&this.value.objectURL&&t.revokeObjectURL(this.value.objectURL)}}}}function S(t){if(!(this instanceof S))return new S(t);this.options=u({},v,t||{});var e="lk_".concat(this.options.concurrency);this.__limit=w[e]||d.limiter(this.options.concurrency),w[e]||(w[e]=this.__limit),this.features={js:!1,wasm:!1,cib:!1,ww:!1},this.__workersPool=null,this.__requested_features=[],this.__mathlib=null}S.prototype.init=function(){var e=this;if(this.__initPromise)return this.__initPromise;if("undefined"!=typeof ImageData&&"undefined"!=typeof Uint8ClampedArray)try{new ImageData(new Uint8ClampedArray(400),10,10),k=!0}catch(t){}"undefined"!=typeof ImageBitmap&&(ImageBitmap.prototype&&ImageBitmap.prototype.close?_=!0:this.debug("ImageBitmap does not support .close(), disabled"));var n=this.options.features.slice();if(n.indexOf("all")>=0&&(n=["cib","wasm","js","ww"]),this.__requested_features=n,this.__mathlib=new h(n),n.indexOf("ww")>=0&&"undefined"!=typeof window&&"Worker"in window)try{t("webworkify")((function(){})).terminate(),this.features.ww=!0;var i="wp_".concat(JSON.stringify(this.options));w[i]?this.__workersPool=w[i]:(this.__workersPool=new f(C,this.options.idle),w[i]=this.__workersPool)}catch(t){}var r,a,o=this.__mathlib.init().then((function(t){u(e.features,t.features)}));r=_?d.cib_support(this.options.createCanvas).then((function(t){e.features.cib&&n.indexOf("cib")<0?e.debug("createImageBitmap() resize supported, but disabled by config"):n.indexOf("cib")>=0&&(e.features.cib=t)})):Promise.resolve(!1),A=d.can_use_canvas(this.options.createCanvas),a=(a=_&&k&&-1!==n.indexOf("ww")?d.worker_offscreen_canvas_support():Promise.resolve(!1)).then((function(t){E=t}));var s=d.cib_can_use_region().then((function(t){T=t}));return this.__initPromise=Promise.all([o,r,a,s]).then((function(){return e})),this.__initPromise},S.prototype.__invokeResize=function(t,e){var n=this;return e.__mathCache=e.__mathCache||{},Promise.resolve().then((function(){return n.features.ww?new Promise((function(i,r){var a=n.__workersPool.acquire();e.cancelToken&&e.cancelToken.catch((function(t){return r(t)})),a.value.onmessage=function(t){a.release(),t.data.err?r(t.data.err):i(t.data)};var o=[];t.src&&o.push(t.src.buffer),t.srcBitmap&&o.push(t.srcBitmap),a.value.postMessage({opts:t,features:n.__requested_features,preload:{wasm_nodule:n.__mathlib.__}},o)})):{data:n.__mathlib.resizeAndUnsharp(t,e.__mathCache)}}))},S.prototype.__extractTileData=function(t,e,n,i,r){if(this.features.ww&&E&&(d.isCanvas(e)||T))return this.debug("Create tile for OffscreenCanvas"),createImageBitmap(i.srcImageBitmap||e,t.x,t.y,t.width,t.height).then((function(t){return r.srcBitmap=t,r}));if(d.isCanvas(e))return i.srcCtx||(i.srcCtx=e.getContext("2d",{alpha:Boolean(n.alpha)})),this.debug("Get tile pixel data"),r.src=i.srcCtx.getImageData(t.x,t.y,t.width,t.height).data,r;this.debug("Draw tile imageBitmap/image to temporary canvas");var a=this.options.createCanvas(t.width,t.height),o=a.getContext("2d",{alpha:Boolean(n.alpha)});return o.globalCompositeOperation="copy",o.drawImage(i.srcImageBitmap||e,t.x,t.y,t.width,t.height,0,0,t.width,t.height),this.debug("Get tile pixel data"),r.src=o.getImageData(0,0,t.width,t.height).data,a.width=a.height=0,r},S.prototype.__landTileData=function(t,e,n){var i;if(this.debug("Convert raw rgba tile result to ImageData"),e.bitmap)return n.toCtx.drawImage(e.bitmap,t.toX,t.toY),null;if(k)i=new ImageData(new Uint8ClampedArray(e.data),t.toWidth,t.toHeight);else if((i=n.toCtx.createImageData(t.toWidth,t.toHeight)).data.set)i.data.set(e.data);else for(var r=i.data.length-1;r>=0;r--)i.data[r]=e.data[r];return this.debug("Draw tile"),m?n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth+1e-5,t.toInnerHeight+1e-5):n.toCtx.putImageData(i,t.toX,t.toY,t.toInnerX-t.toX,t.toInnerY-t.toY,t.toInnerWidth,t.toInnerHeight),null},S.prototype.__tileAndResize=function(t,e,n){var i=this,r={srcCtx:null,srcImageBitmap:null,isImageBitmapReused:!1,toCtx:null},a=function(e){return i.__limit((function(){if(n.canceled)return n.cancelToken;var a={width:e.width,height:e.height,toWidth:e.toWidth,toHeight:e.toHeight,scaleX:e.scaleX,scaleY:e.scaleY,offsetX:e.offsetX,offsetY:e.offsetY,quality:n.quality,alpha:n.alpha,unsharpAmount:n.unsharpAmount,unsharpRadius:n.unsharpRadius,unsharpThreshold:n.unsharpThreshold};return i.debug("Invoke resize math"),Promise.resolve(a).then((function(a){return i.__extractTileData(e,t,n,r,a)})).then((function(t){return i.debug("Invoke resize math"),i.__invokeResize(t,n)})).then((function(t){return n.canceled?n.cancelToken:(r.srcImageData=null,i.__landTileData(e,t,r))}))}))};return Promise.resolve().then((function(){if(r.toCtx=e.getContext("2d",{alpha:Boolean(n.alpha)}),d.isCanvas(t))return null;if(d.isImageBitmap(t))return r.srcImageBitmap=t,r.isImageBitmapReused=!0,null;if(d.isImage(t))return _?(i.debug("Decode image via createImageBitmap"),createImageBitmap(t).then((function(t){r.srcImageBitmap=t})).catch((function(t){return null}))):null;throw new Error('Pica: ".from" should be Image, Canvas or ImageBitmap')})).then((function(){if(n.canceled)return n.cancelToken;i.debug("Calculate tiles");var t=b({width:n.width,height:n.height,srcTileSize:i.options.tile,toWidth:n.toWidth,toHeight:n.toHeight,destTileBorder:n.__destTileBorder}).map((function(t){return a(t)}));function o(t){t.srcImageBitmap&&(t.isImageBitmapReused||t.srcImageBitmap.close(),t.srcImageBitmap=null)}return i.debug("Process tiles"),Promise.all(t).then((function(){return i.debug("Finished!"),o(r),e}),(function(t){throw o(r),t}))}))},S.prototype.__processStages=function(t,e,n,r){var a=this;if(r.canceled)return r.cancelToken;var o,s=i(t.shift(),2),c=s[0],l=s[1],h=0===t.length;return r=u({},r,{toWidth:c,toHeight:l,quality:h?r.quality:Math.min(1,r.quality)}),h||(o=this.options.createCanvas(c,l)),this.__tileAndResize(e,h?n:o,r).then((function(){return h?n:(r.width=c,r.height=l,a.__processStages(t,o,n,r))})).then((function(t){return o&&(o.width=o.height=0),t}))},S.prototype.__resizeViaCreateImageBitmap=function(t,e,n){var i=this,r=e.getContext("2d",{alpha:Boolean(n.alpha)});return this.debug("Resize via createImageBitmap()"),createImageBitmap(t,{resizeWidth:n.toWidth,resizeHeight:n.toHeight,resizeQuality:d.cib_quality_name(n.quality)}).then((function(t){if(n.canceled)return n.cancelToken;if(!n.unsharpAmount)return r.drawImage(t,0,0),t.close(),r=null,i.debug("Finished!"),e;i.debug("Unsharp result");var a=i.options.createCanvas(n.toWidth,n.toHeight),o=a.getContext("2d",{alpha:Boolean(n.alpha)});o.drawImage(t,0,0),t.close();var s=o.getImageData(0,0,n.toWidth,n.toHeight);return i.__mathlib.unsharp_mask(s.data,n.toWidth,n.toHeight,n.unsharpAmount,n.unsharpRadius,n.unsharpThreshold),r.putImageData(s,0,0),a.width=a.height=0,s=o=a=r=null,i.debug("Finished!"),e}))},S.prototype.resize=function(t,e,n){var i=this;this.debug("Start resize...");var r=u({},x);if(isNaN(n)?n&&(r=u(r,n)):r=u(r,{quality:n}),r.toWidth=e.width,r.toHeight=e.height,r.width=t.naturalWidth||t.width,r.height=t.naturalHeight||t.height,0===e.width||0===e.height)return Promise.reject(new Error("Invalid output size: ".concat(e.width,"x").concat(e.height)));r.unsharpRadius>2&&(r.unsharpRadius=2),r.canceled=!1,r.cancelToken&&(r.cancelToken=r.cancelToken.then((function(t){throw r.canceled=!0,t}),(function(t){throw r.canceled=!0,t})));var a=3;return r.__destTileBorder=Math.ceil(Math.max(a,2.5*r.unsharpRadius|0)),this.init().then((function(){if(r.canceled)return r.cancelToken;if(i.features.cib)return i.__resizeViaCreateImageBitmap(t,e,r);if(!A){var n=new Error("Pica: cannot use getImageData on canvas, make sure fingerprinting protection isn't enabled");throw n.code="ERR_GET_IMAGE_DATA",n}var a=p(r.width,r.height,r.toWidth,r.toHeight,i.options.tile,r.__destTileBorder);return i.__processStages(a,t,e,r)}))},S.prototype.resizeBuffer=function(t){var e=this,n=u({},x,t);return this.init().then((function(){return e.__mathlib.resizeAndUnsharp(n)}))},S.prototype.toBlob=function(t,e,n){return e=e||"image/png",new Promise((function(i){if(t.toBlob)t.toBlob((function(t){return i(t)}),e,n);else if(t.convertToBlob)i(t.convertToBlob({type:e,quality:n}));else{for(var r=atob(t.toDataURL(e,n).split(",")[1]),a=r.length,o=new Uint8Array(a),s=0;s0;n--)e="0"+e;return"0x"+e}function i(t){try{return decodeURIComponent(escape(t))}catch(e){return t}}function r(t){return"[object Uint8Array]"===Object.prototype.toString.call(t)}function a(t,n,i){this.input=t.subarray(n,i),this.start=n;var r=String.fromCharCode.apply(null,this.input.subarray(0,4));if("II*\0"!==r&&"MM\0*"!==r)throw e("invalid TIFF signature","EBADDATA");this.big_endian="M"===r[0]}a.prototype.each=function(t){this.aborted=!1;var e=this.read_uint32(4);for(this.ifds_to_read=[{id:0,offset:e}];this.ifds_to_read.length>0&&!this.aborted;){var n=this.ifds_to_read.shift();n.offset&&this.scan_ifd(n.id,n.offset,t)}},a.prototype.filter=function(t){var n={ifd0:{id:0,entries:[]}};this.each((function(e){(!1!==t(e)||e.is_subifd_link)&&(e.is_subifd_link&&1!==e.count&&4!==e.format||(n["ifd"+e.ifd]||(n["ifd"+e.ifd]={id:e.ifd,entries:[]}),n["ifd"+e.ifd].entries.push(e)))})),delete n.ifd1;var i=8;Object.keys(n).forEach((function(t){i+=2,n[t].entries.forEach((function(t){i+=12+(t.data_length>4?2*Math.ceil(t.data_length/2):0)})),i+=4})),this.output=new Uint8Array(i),this.output[0]=this.output[1]=(this.big_endian?"M":"I").charCodeAt(0),this.write_uint16(2,42);var r=8,a=this;if(this.write_uint32(4,r),Object.keys(n).forEach((function(t){n[t].written_offset=r;var e=r,i=e+2+12*n[t].entries.length+4;r=i,a.write_uint16(e,n[t].entries.length),n[t].entries.sort((function(t,e){return t.tag-e.tag})).forEach((function(t,i){var o=e+2+12*i;a.write_uint16(o,t.tag),a.write_uint16(o+2,t.format),a.write_uint32(o+4,t.count),t.is_subifd_link?n["ifd"+t.tag]&&(n["ifd"+t.tag].link_offset=o+8):t.data_length<=4?a.output.set(a.input.subarray(t.data_offset-a.start,t.data_offset-a.start+4),o+8):(a.write_uint32(o+8,r),a.output.set(a.input.subarray(t.data_offset-a.start,t.data_offset-a.start+t.data_length),r),r+=2*Math.ceil(t.data_length/2))}));var o=n["ifd"+(n[t].id+1)];o&&(o.link_offset=i-4)})),Object.keys(n).forEach((function(t){n[t].written_offset&&n[t].link_offset&&a.write_uint32(n[t].link_offset,n[t].written_offset)})),this.output.length!==r)throw e("internal error: incorrect buffer size allocated");return this.output},a.prototype.read_uint16=function(t){var n=this.input;if(t+2>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?256*n[t]+n[t+1]:n[t]+256*n[t+1]},a.prototype.read_uint32=function(t){var n=this.input;if(t+4>n.length)throw e("unexpected EOF","EBADDATA");return this.big_endian?16777216*n[t]+65536*n[t+1]+256*n[t+2]+n[t+3]:n[t]+256*n[t+1]+65536*n[t+2]+16777216*n[t+3]},a.prototype.write_uint16=function(t,e){var n=this.output;this.big_endian?(n[t]=e>>>8&255,n[t+1]=255&e):(n[t]=255&e,n[t+1]=e>>>8&255)},a.prototype.write_uint32=function(t,e){var n=this.output;this.big_endian?(n[t]=e>>>24&255,n[t+1]=e>>>16&255,n[t+2]=e>>>8&255,n[t+3]=255&e):(n[t]=255&e,n[t+1]=e>>>8&255,n[t+2]=e>>>16&255,n[t+3]=e>>>24&255)},a.prototype.is_subifd_link=function(t,e){return 0===t&&34665===e||0===t&&34853===e||34665===t&&40965===e},a.prototype.exif_format_length=function(t){switch(t){case 1:case 2:case 6:case 7:return 1;case 3:case 8:return 2;case 4:case 9:case 11:return 4;case 5:case 10:case 12:return 8;default:return 0}},a.prototype.exif_format_read=function(t,e){var n;switch(t){case 1:case 2:return n=this.input[e];case 6:return(n=this.input[e])|33554430*(128&n);case 3:return n=this.read_uint16(e);case 8:return(n=this.read_uint16(e))|131070*(32768&n);case 4:return n=this.read_uint32(e);case 9:return 0|(n=this.read_uint32(e));default:return null}},a.prototype.scan_ifd=function(t,n,r){var a=this.read_uint16(n);n+=2;for(var o=0;othis.input.length)throw e("unexpected EOF","EBADDATA");for(var g=[],p=f,b=0;b0&&(this.ifds_to_read.push({id:s,offset:g[0]}),d=!0),!1===r({is_big_endian:this.big_endian,ifd:t,tag:s,format:c,count:u,entry_offset:n+this.start,data_length:h,data_offset:f+this.start,value:g,is_subifd_link:d}))return void(this.aborted=!0);n+=12}0===t&&this.ifds_to_read.push({id:1,offset:this.read_uint32(n)})},t.exports.is_jpeg=function(t){return t.length>=4&&255===t[0]&&216===t[1]&&255===t[2]},t.exports.jpeg_segments_each=function(i,a){if(!r(i))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof a)throw e("Invalid argument (on_segment), Function expected","EINVAL");if(!t.exports.is_jpeg(i))throw e("Unknown file format","ENOTJPEG");for(var o=0,s=i.length,c=!1;;){var u,l;if(o+1>=s)throw e("Unexpected EOF","EBADDATA");var h=i[o],f=i[o+1];if(255===h&&255===f)u=255,l=1;else if(255===h&&0!==f){if(l=2,208<=(u=f)&&u<=217||1===u);else{if(o+3>=s)throw e("Unexpected EOF","EBADDATA");if((l+=256*i[o+2]+i[o+3])<2)throw e("Invalid segment length","EBADDATA");if(o+l-1>=s)throw e("Unexpected EOF","EBADDATA")}c&&(u>=208&&u<=215||(c=!1)),218===u&&(c=!0)}else{if(!c)throw e("Unexpected byte at segment start: "+n(h)+" (offset "+n(o)+")","EBADDATA");for(var d=o+1;;d++){if(d>=s)throw e("Unexpected EOF","EBADDATA");if(255===i[d]){if(d+1>=s)throw e("Unexpected EOF","EBADDATA");if(0!==i[d+1]){u=0,l=d-o;break}}}}if(!1===a({code:u,offset:o,length:l}))break;if(217===u)break;o+=l}},t.exports.jpeg_segments_filter=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_segment), Function expected","EINVAL");var a=[],o=0;t.exports.jpeg_segments_each(n,(function(t){var e=i(t);if(r(e))a.push({data:e}),o+=e.length;else if(Array.isArray(e))e.filter(r).forEach((function(t){a.push({data:t}),o+=t.length}));else if(!1!==e){var n={start:t.offset,end:t.offset+t.length};a.length>0&&a[a.length-1].end===n.start?a[a.length-1].end=n.end:a.push(n),o+=t.length}}));var s=new Uint8Array(o),c=0;return a.forEach((function(t){var e=t.data||n.subarray(t.start,t.end);s.set(e,c),c+=e.length})),s},t.exports.jpeg_exif_tags_each=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_exif_entry), Function expected","EINVAL");t.exports.jpeg_segments_each(n,(function(t){return 218!==t.code&&(225===t.code&&t.length>=10&&69===n[t.offset+4]&&120===n[t.offset+5]&&105===n[t.offset+6]&&102===n[t.offset+7]&&0===n[t.offset+8]&&0===n[t.offset+9]?(new a(n,t.offset+10,t.offset+t.length).each(i),!1):void 0)}))},t.exports.jpeg_exif_tags_filter=function(n,i){if(!r(n))throw e("Invalid argument (jpeg_bin), Uint8Array expected","EINVAL");if("function"!=typeof i)throw e("Invalid argument (on_exif_entry), Function expected","EINVAL");var o=!1;return t.exports.jpeg_segments_filter(n,(function(t){if(!o&&(218===t.code&&(o=!0),225===t.code&&t.length>=10&&69===n[t.offset+4]&&120===n[t.offset+5]&&105===n[t.offset+6]&&102===n[t.offset+7]&&0===n[t.offset+8]&&0===n[t.offset+9])){var e=new a(n,t.offset+10,t.offset+t.length).filter(i);if(!e)return!1;var r=new Uint8Array(10);return r.set(n.slice(t.offset,t.offset+10)),r[2]=e.length+8>>>8&255,r[3]=e.length+8&255,o=!0,[r,e]}}))},t.exports.jpeg_add_comment=function(e,n){var i=!1,r=0;return t.exports.jpeg_segments_filter(e,(function(t){if(!(1===++r&&216===t.code||2===r&&224===t.code||i)){n=function(t){try{return unescape(encodeURIComponent(t))}catch(e){return t}}(n);var a=new Uint8Array(5+n.length),o=0;return a[o++]=255,a[o++]=254,a[o++]=n.length+3>>>8&255,a[o++]=n.length+3&255,n.split("").forEach((function(t){a[o++]=255&t.charCodeAt(0)})),a[o++]=0,i=!0,[a,e.subarray(t.offset,t.offset+t.length)]}}))}}));function u(t){return this._getUint8Array(t.blob).then((function(e){if(t.is_jpeg=c.is_jpeg(e),!t.is_jpeg)return Promise.resolve(t);t.orig_blob=t.blob;try{var n,i;if(c.jpeg_exif_tags_each(e,(function(e){if(0===e.ifd&&274===e.tag&&Array.isArray(e.value))return t.orientation=e.value[0]||1,n=e.is_big_endian,i=e.data_offset,!1})),i){var r=n?new Uint8Array([0,1]):new Uint8Array([1,0]);t.blob=new Blob([e.slice(0,i),r,e.slice(i+2)],{type:"image/jpeg"})}}catch(t){}return t}))}function l(t){if(!t.is_jpeg)return Promise.resolve(t);var e,n=t.orientation-1;if(!n)return Promise.resolve(t);var i=(e=4&n?this.pica.options.createCanvas(t.out_canvas.height,t.out_canvas.width):this.pica.options.createCanvas(t.out_canvas.width,t.out_canvas.height)).getContext("2d");return i.save(),1&n&&i.transform(-1,0,0,1,e.width,0),2&n&&i.transform(-1,0,0,-1,e.width,e.height),4&n&&i.transform(0,1,1,0,0,0),i.drawImage(t.out_canvas,0,0),i.restore(),t.out_canvas.width=t.out_canvas.height=0,t.out_canvas=e,Promise.resolve(t)}function h(t){return t.is_jpeg?Promise.all([this._getUint8Array(t.blob),this._getUint8Array(t.out_blob)]).then((function(e){var n=e[0],i=e[1];if(!c.is_jpeg(n))return Promise.resolve(t);var r=[];return c.jpeg_segments_each(n,(function(t){if(218===t.code)return!1;r.push(t)})),r=r.filter((function(t){return 226!==t.code&&(t.code>=224&&t.code<240||254===t.code)})).map((function(t){return n.slice(t.offset,t.offset+t.length)})),t.out_blob=new Blob([i.slice(0,2)].concat(r).concat([i.slice(20)]),{type:"image/jpeg"}),t})):Promise.resolve(t)}var f={jpeg_patch_exif:u,jpeg_rotate_canvas:l,jpeg_attach_orig_segments:h,assign:function(t){t.before("_blob_to_image",u),t.after("_transform",l),t.after("_create_blob",h)}};function d(t){if(!(this instanceof d))return new d(t);t=t||{},this.pica=t.pica||s({}),this.initialized=!1,this.utils=r}d.prototype.use=function(t){var e=[this].concat(Array.prototype.slice.call(arguments,1));return t.apply(t,e),this},d.prototype.init=function(){this.use(f.assign)},d.prototype.toBlob=function(t,e){var n={blob:t,opts:r.assign({max:1/0},e)};return this.initialized||(this.init(),this.initialized=!0),Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then(this._create_blob).then((function(t){return t.out_canvas.width=t.out_canvas.height=0,t.out_blob}))},d.prototype.toCanvas=function(t,e){var n={blob:t,opts:r.assign({max:1/0},e)};return this.initialized||(this.init(),this.initialized=!0),Promise.resolve(n).then(this._blob_to_image).then(this._calculate_size).then(this._transform).then(this._cleanup).then((function(t){return t.out_canvas}))},d.prototype.before=function(t,e){if(!this[t])throw new Error('Method "'+t+'" does not exist');if("function"!=typeof e)throw new Error('Invalid argument "fn", function expected');var n=this[t],i=this;return this[t]=function(t){return e.call(i,t).then((function(t){return n.call(i,t)}))},this},d.prototype.after=function(t,e){if(!this[t])throw new Error('Method "'+t+'" does not exist');if("function"!=typeof e)throw new Error('Invalid argument "fn", function expected');var n=this[t],i=this;return this[t]=function(t){return n.call(i,t).then((function(t){return e.call(i,t)}))},this},d.prototype._blob_to_image=function(t){var e=window.URL||window.webkitURL||window.mozURL||window.msURL;return t.image=document.createElement("img"),t.image_url=e.createObjectURL(t.blob),t.image.src=t.image_url,new Promise((function(e,n){t.image.onerror=function(){n(new Error("ImageBlobReduce: failed to create Image() from blob"))},t.image.onload=function(){e(t)}}))},d.prototype._calculate_size=function(t){var e=t.opts.max/Math.max(t.image.width,t.image.height);return e>1&&(e=1),t.transform_width=Math.max(Math.round(t.image.width*e),1),t.transform_height=Math.max(Math.round(t.image.height*e),1),t.scale_factor=e,Promise.resolve(t)},d.prototype._transform=function(t){t.out_canvas=this.pica.options.createCanvas(t.transform_width,t.transform_height),t.transform_width=null,t.transform_height=null;var e={alpha:"image/png"===t.blob.type};return this.utils.assign(e,this.utils.pick_pica_resize_options(t.opts)),this.pica.resize(t.image,t.out_canvas,e).then((function(){return t}))},d.prototype._cleanup=function(t){t.image.src="",t.image=null;var e=window.URL||window.webkitURL||window.mozURL||window.msURL;return e.revokeObjectURL&&e.revokeObjectURL(t.image_url),t.image_url=null,Promise.resolve(t)},d.prototype._create_blob=function(t){return this.pica.toBlob(t.out_canvas,t.blob.type).then((function(e){return t.out_blob=e,t}))},d.prototype._getUint8Array=function(t){return t.arrayBuffer?t.arrayBuffer().then((function(t){return new Uint8Array(t)})):new Promise((function(e,n){var i=new FileReader;i.readAsArrayBuffer(t),i.onload=function(){e(new Uint8Array(i.result))},i.onerror=function(){n(new Error("ImageBlobReduce: failed to load data from input blob")),i.abort()},i.onabort=function(){n(new Error("ImageBlobReduce: failed to load data from input blob (aborted)"))}}))},d.pica=s;var g=d;e.default=g},8318:function(t,e,n){"use strict";n.d(e,{Z:function(){return o}});var i=n(1022),r=n(898);var 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}};var 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")},9297:function(t,e,n){"use strict";n.d(e,{Z:function(){return p}});var i=n(8318),r=n(898);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: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)]}`}};var o=a,s=n(1022);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)}%)`}};var u=c;const 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}};var h=l;const 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)})`}};var d=f;const 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)};var p=g},898:function(t,e,n){"use strict";n.d(e,{Q:function(){return r},w:function(){return a}});var i=n(1022);const r={};for(let t=0;t<=255;t++)r[t]=i.Z.unit.dec2hex(t);const a={ALL:0,RGB:1,HSL:2}},3836:function(t,e,n){"use strict";var i=n(1022),r=n(9297);e.Z=(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)}},5571:function(t,e,n){"use strict";var i=n(1022),r=n(9297);e.Z=(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)}},733:function(t,e,n){"use strict";var i=n(3836);e.Z=(t,e)=>(0,i.Z)(t,"l",-e)},7471:function(t,e,n){"use strict";n.d(e,{Z:function(){return s}});var i=n(1022),r=n(9297);var a=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)};var o=t=>a(t)>=.5;var s=t=>!o(t)},1778:function(t,e,n){"use strict";var i=n(3836);e.Z=(t,e)=>(0,i.Z)(t,"l",e)},852:function(t,e,n){"use strict";var i=n(1022),r=n(8318),a=n(9297),o=n(5571);e.Z=(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)}},1022:function(t,e,n){"use strict";n.d(e,{Z:function(){return 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}`}}}},3679:function(t,e,n){"use strict";n.d(e,{Z:function(){return f}});var i=function(){this.__data__=[],this.size=0},r=n(8670);var a=function(t,e){for(var n=t.length;n--;)if((0,r.Z)(t[n][0],e))return n;return-1},o=Array.prototype.splice;var s=function(t){var e=this.__data__,n=a(e,t);return!(n<0)&&(n==e.length-1?e.pop():o.call(e,n,1),--this.size,!0)};var c=function(t){var e=this.__data__,n=a(e,t);return n<0?void 0:e[n][1]};var u=function(t){return a(this.__data__,t)>-1};var l=function(t,e){var n=this.__data__,i=a(n,t);return i<0?(++this.size,n.push([t,e])):n[i][1]=e,this};function h(t){var e=-1,n=null==t?0:t.length;for(this.clear();++e0&&r(l)?n>1?t(l,n-1,r,a,o):(0,i.Z)(o,l):a||(o[o.length]=l)}return o}},1405:function(t,e,n){"use strict";n.d(e,{Z:function(){return i}});var i=function(t){return function(e,n,i){for(var r=-1,a=Object(e),o=i(e),s=o.length;s--;){var c=o[t?s:++r];if(!1===n(a[c],c,a))break}return e}}()},8878:function(t,e,n){"use strict";var i=n(1405),r=n(825);e.Z=function(t,e){return t&&(0,i.Z)(t,e,r.Z)}},7106:function(t,e,n){"use strict";var i=n(9864),r=n(199);e.Z=function(t,e){for(var n=0,a=(e=(0,i.Z)(e,t)).length;null!=t&&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-1&&t%1==0&&t0){if(++e>=800)return arguments[0]}else e=0;return t.apply(void 0,arguments)}},u=c(o)},199:function(t,e,n){"use strict";var i=n(54);e.Z=function(t){if("string"==typeof t||(0,i.Z)(t))return t;var e=t+"";return"0"==e&&1/t==-Infinity?"-0":e}},9441:function(t,e){"use strict";var n=Function.prototype.toString;e.Z=function(t){if(null!=t){try{return n.call(t)}catch(t){}try{return t+""}catch(t){}}return""}},2399:function(t,e){"use strict";e.Z=function(t){return function(){return t}}},9999:function(t,e,n){"use strict";var i=n(155),r=n(8670),a=n(9597),o=n(4027),s=Object.prototype,c=s.hasOwnProperty,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-1&&t%1==0&&t<=9007199254740991}},7275:function(t,e){"use strict";e.Z=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},4897:function(t,e){"use strict";e.Z=function(t){return null!=t&&"object"==typeof t}},3862:function(t,e,n){"use strict";var i=n(963),r=n(4003),a=n(4897),o=Function.prototype,s=Object.prototype,c=o.toString,u=s.hasOwnProperty,l=c.call(Object);e.Z=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}},54:function(t,e,n){"use strict";var i=n(963),r=n(4897);e.Z=function(t){return"symbol"==typeof t||(0,r.Z)(t)&&"[object Symbol]"==(0,i.Z)(t)}},4161:function(t,e,n){"use strict";n.d(e,{Z:function(){return h}});var i=n(963),r=n(3492),a=n(4897),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=function(t){return(0,a.Z)(t)&&(0,r.Z)(t.length)&&!!o[(0,i.Z)(t)]},c=n(7133),u=n(9801),l=u.Z&&u.Z.isTypedArray,h=l?(0,c.Z)(l):s},9789:function(t,e){"use strict";e.Z=function(t){return void 0===t}},825:function(t,e,n){"use strict";var i=n(1931),r=n(9295),a=n(6905);e.Z=function(t){return(0,a.Z)(t)?(0,i.Z)(t):(0,r.Z)(t)}},4027:function(t,e,n){"use strict";n.d(e,{Z:function(){return l}});var i=n(1931),r=n(7275),a=n(9494);var o=function(t){var e=[];if(null!=t)for(var n in Object(t))e.push(n);return e},s=Object.prototype.hasOwnProperty;var c=function(t){if(!(0,r.Z)(t))return o(t);var e=(0,a.Z)(t),n=[];for(var i in t)("constructor"!=i||!e&&s.call(t,i))&&n.push(i);return n},u=n(6905);var l=function(t){return(0,u.Z)(t)?(0,i.Z)(t,!0):c(t)}},8076:function(t,e,n){"use strict";var i=n(2363),r=n(5350),a=n(8998),o=n(6575);e.Z=function(t,e){return((0,o.Z)(t)?i.Z:a.Z)(t,(0,r.Z)(e,3))}},9828:function(t,e,n){"use strict";var i=n(2717);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,e.Z=r},9980:function(t,e,n){"use strict";n.d(e,{Z:function(){return b}});var i=n(7106),r=n(9616),a=n(9864),o=n(5313),s=n(7275),c=n(199);var 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&&++ul&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},bt={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(){var t=this.next();return t||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("open_directive"),18;case 1:return 7;case 2:return 8;case 3:return 9;case 4:return 10;case 5:return this.begin("type_directive"),19;case 6:return this.popState(),this.begin("arg_directive"),16;case 7:return this.popState(),this.popState(),21;case 8:return 20;case 9:return 32;case 10:return 33;case 11:return this.begin("acc_title"),34;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),36;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 78:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 21:case 75:break;case 19:c;break;case 20:return 15;case 22:return 22;case 23:return 25;case 24:return 26;case 25:return 27;case 26:return 28;case 27:return this.begin("person_ext"),55;case 28:return this.begin("person"),54;case 29:return this.begin("system_ext_queue"),61;case 30:return this.begin("system_ext_db"),60;case 31:return this.begin("system_ext"),59;case 32:return this.begin("system_queue"),58;case 33:return this.begin("system_db"),57;case 34:return this.begin("system"),56;case 35:return this.begin("boundary"),47;case 36:return this.begin("enterprise_boundary"),44;case 37:return this.begin("system_boundary"),46;case 38:return this.begin("container_ext_queue"),67;case 39:return this.begin("container_ext_db"),66;case 40:return this.begin("container_ext"),65;case 41:return this.begin("container_queue"),64;case 42:return this.begin("container_db"),63;case 43:return this.begin("container"),62;case 44:return this.begin("container_boundary"),48;case 45:return this.begin("component_ext_queue"),73;case 46:return this.begin("component_ext_db"),72;case 47:return this.begin("component_ext"),71;case 48:return this.begin("component_queue"),70;case 49:return this.begin("component_db"),69;case 50:return this.begin("component"),68;case 51:case 52:return this.begin("node"),49;case 53:return this.begin("node_l"),50;case 54:return this.begin("node_r"),51;case 55:return this.begin("rel"),74;case 56:return this.begin("birel"),75;case 57:case 58:return this.begin("rel_u"),76;case 59:case 60:return this.begin("rel_d"),77;case 61:case 62:return this.begin("rel_l"),78;case 63:case 64:return this.begin("rel_r"),79;case 65:return this.begin("rel_b"),80;case 66:return this.begin("rel_index"),81;case 67:return this.begin("update_el_style"),82;case 68:return this.begin("update_rel_style"),83;case 69:return this.begin("update_layout_config"),84;case 70:return"EOF_IN_STRUCT";case 71:return this.begin("attribute"),"ATTRIBUTE_EMPTY";case 72:this.begin("attribute");break;case 73:case 84:this.popState(),this.popState();break;case 74:case 76:return 90;case 77:this.begin("string");break;case 79:case 85:return"STR";case 80:this.begin("string_kv");break;case 81:return this.begin("string_kv_key"),"STR_KEY";case 82:this.popState(),this.begin("string_kv_value");break;case 83:return"STR_VALUE";case 86:return"LBRACE";case 87:return"RBRACE";case 88:return"SPACE";case 89:return"EOL";case 90:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[7,8],inclusive:!1},type_directive:{rules:[6,7],inclusive:!1},open_directive:{rules:[5],inclusive:!1},string_kv_value:{rules:[83,84],inclusive:!1},string_kv_key:{rules:[82],inclusive:!1},string_kv:{rules:[81],inclusive:!1},string:{rules:[78,79],inclusive:!1},attribute:{rules:[73,74,75,76,77,80,85],inclusive:!1},update_layout_config:{rules:[70,71,72,73],inclusive:!1},update_rel_style:{rules:[70,71,72,73],inclusive:!1},update_el_style:{rules:[70,71,72,73],inclusive:!1},rel_b:{rules:[70,71,72,73],inclusive:!1},rel_r:{rules:[70,71,72,73],inclusive:!1},rel_l:{rules:[70,71,72,73],inclusive:!1},rel_d:{rules:[70,71,72,73],inclusive:!1},rel_u:{rules:[70,71,72,73],inclusive:!1},rel_bi:{rules:[],inclusive:!1},rel:{rules:[70,71,72,73],inclusive:!1},node_r:{rules:[70,71,72,73],inclusive:!1},node_l:{rules:[70,71,72,73],inclusive:!1},node:{rules:[70,71,72,73],inclusive:!1},index:{rules:[],inclusive:!1},rel_index:{rules:[70,71,72,73],inclusive:!1},component_ext_queue:{rules:[],inclusive:!1},component_ext_db:{rules:[70,71,72,73],inclusive:!1},component_ext:{rules:[70,71,72,73],inclusive:!1},component_queue:{rules:[70,71,72,73],inclusive:!1},component_db:{rules:[70,71,72,73],inclusive:!1},component:{rules:[70,71,72,73],inclusive:!1},container_boundary:{rules:[70,71,72,73],inclusive:!1},container_ext_queue:{rules:[],inclusive:!1},container_ext_db:{rules:[70,71,72,73],inclusive:!1},container_ext:{rules:[70,71,72,73],inclusive:!1},container_queue:{rules:[70,71,72,73],inclusive:!1},container_db:{rules:[70,71,72,73],inclusive:!1},container:{rules:[70,71,72,73],inclusive:!1},birel:{rules:[70,71,72,73],inclusive:!1},system_boundary:{rules:[70,71,72,73],inclusive:!1},enterprise_boundary:{rules:[70,71,72,73],inclusive:!1},boundary:{rules:[70,71,72,73],inclusive:!1},system_ext_queue:{rules:[70,71,72,73],inclusive:!1},system_ext_db:{rules:[70,71,72,73],inclusive:!1},system_ext:{rules:[70,71,72,73],inclusive:!1},system_queue:{rules:[70,71,72,73],inclusive:!1},system_db:{rules:[70,71,72,73],inclusive:!1},system:{rules:[70,71,72,73],inclusive:!1},person_ext:{rules:[70,71,72,73],inclusive:!1},person:{rules:[70,71,72,73],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,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,65,66,67,68,69,86,87,88,89,90],inclusive:!0}}};function wt(){this.yy={}}return pt.lexer=bt,wt.prototype=pt,pt.Parser=wt,new wt}());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,m=4,y=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=m,r=y;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&&(m=i),r>=1&&(y=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 m},getC4BoundaryInRow:function(){return y},setAccTitle:i.s,getAccTitle:i.g,getAccDescription:i.a,setAccDescription:i.b,parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},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,m=4,y=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}},A=function(t,e){return(0,a.d)(t,e)},E=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)},T=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),C=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":E(u,48,48,e.x+e.width/2-24,e.y+e.image.Y,c)}let f=n[e.typeC4Shape.text+"Font"]();return f.fontWeight="bold",f.fontSize=f.fontSize+2,f.fontColor=s,C(n)(e.label.text,u,e.x,e.y+e.label.Y,e.width,e.height,{fill:s},f),f=n[e.typeC4Shape.text+"Font"](),f.fontColor=s,e.techn&&""!==(null==(i=e.techn)?void 0:i.text)?C(n)(e.techn.text,u,e.x,e.y+e.techn.Y,e.width,e.height,{fill:s,"font-style":"italic"},f):e.type&&""!==e.type.text&&C(n)(e.type.text,u,e.x,e.y+e.type.Y,e.width,e.height,{fill:s,"font-style":"italic"},f),e.descr&&""!==e.descr.text&&(f=n.personFont(),f.fontColor=s,C(n)(e.descr.text,u,e.x,e.y+e.descr.Y,e.width,e.height,{fill:s},f)),e.height},M=(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();C(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(),C(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))}},D=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")},O=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){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")},N=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")},P=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")},B=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")},F=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")};let R=0,j=0,$=4,z=2;s.yy=_;let q={};class H{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,U(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>$)&&(e=this.nextData.startx+t.margin+q.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},U(t.db.getConfig())}bumpLastMargin(t){this.data.stopx+=t,this.data.stopy+=t}}const U=function(t){(0,i.f)(q,t),t.fontFamily&&(q.personFontFamily=q.systemFontFamily=q.messageFontFamily=t.fontFamily),t.fontSize&&(q.personFontSize=q.systemFontSize=q.messageFontSize=t.fontSize),t.fontWeight&&(q.personFontWeight=q.systemFontWeight=q.messageFontWeight=t.fontWeight)},G=(t,e)=>({fontFamily:t[e+"FontFamily"],fontSize:t[e+"FontSize"],fontWeight:t[e+"FontWeight"]}),Y=t=>({fontFamily:t.boundaryFontFamily,fontSize:t.boundaryFontSize,fontWeight:t.boundaryFontWeight});function Z(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 W=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=q.c4ShapeMargin-35;let r=e.wrap&&q.wrap,a=Y(q);a.fontSize=a.fontSize+2,a.fontWeight="bold",Z("label",e,r,a,(0,i.h)(e.label.text,a)),S(t,e,q)},K=function(t,e,n,r){let a=0;for(const o of r){a=0;const r=n[o];let s=G(q,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=q.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&&q.wrap,u=q.width-2*q.c4ShapePadding,l=G(q,r.typeC4Shape.text);if(l.fontSize=l.fontSize+2,l.fontWeight="bold",Z("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+"]",Z("type",r,c,G(q,r.typeC4Shape.text),u),r.type.Y=a+5,a=r.type.Y+r.type.height}else if(r.techn&&""!==r.techn.text){r.techn.text="["+r.techn.text+"]",Z("techn",r,c,G(q,r.techn.text),u),r.techn.Y=a+5,a=r.techn.Y+r.techn.height}let h=a,f=r.label.width;if(r.descr&&""!==r.descr.text){Z("descr",r,c,G(q,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+=q.c4ShapePadding,r.width=Math.max(r.width||q.width,f,q.width),r.height=Math.max(r.height||q.height,h,q.height),r.margin=r.margin||q.c4ShapeMargin,t.insert(r),I(e,r,q)}t.bumpLastMargin(q.c4ShapeMargin)};class X{constructor(t,e){this.x=t,this.y=e}}let V=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 X(n,s):n==r&&ia&&(f=new X(o,i)),n>r&&i=l?new X(n,s+l*t.width/2):new X(o-c/u*t.height/2,i+t.height):n=l?new X(n+t.width,s+l*t.width/2):new X(o+c/u*t.height/2,i+t.height):na?f=h>=l?new X(n+t.width,s-l*t.width/2):new X(o+t.height/2*c/u,i):n>r&&i>a&&(f=h>=l?new X(n,s-t.width/2*l):new X(o-t.height/2*c/u,i)),f},Q=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=V(t,n);return n.x=t.x+t.width/2,n.y=t.y+t.height/2,{startPoint:i,endPoint:V(e,n)}};function J(t,e,n,i,r){let a=new H(r);a.data.widthLimit=n.data.widthLimit/Math.min(z,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&&q.wrap,u=Y(q);if(u.fontSize=u.fontSize+2,u.fontWeight="bold",Z("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+"]",Z("type",s,c,Y(q),a.data.widthLimit),s.type.Y=i+5,i=s.type.Y+s.type.height}if(s.descr&&""!==s.descr.text){let t=Y(q);t.fontSize=t.fontSize-2,Z("descr",s,c,t,a.data.widthLimit),s.descr.Y=i+20,i=s.descr.Y+s.descr.height}if(0==o||o%z==0){let t=n.data.startx+q.diagramMarginX,e=n.data.stopy+q.diagramMarginY+i;a.setData(t,t,e,e)}else{let t=a.data.stopx!==a.data.startx?a.data.stopx+q.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&&K(a,t,l,h),e=s.alias;let f=r.db.getBoundarys(e);f.length>0&&J(t,e,a,f,r),"global"!==s.alias&&W(t,s,a),n.data.stopy=Math.max(a.data.stopy+q.c4ShapeMargin,n.data.stopy),n.data.stopx=Math.max(a.data.stopx+q.c4ShapeMargin,n.data.stopx),R=Math.max(R,n.data.stopx),j=Math.max(j,n.data.stopy)}}const tt={drawPersonOrSystemArray:K,drawBoundary:W,setConf:U,draw:function(t,e,n,a){q=(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(q.wrap),$=u.getC4ShapeInRow(),z=u.getC4BoundaryInRow(),i.l.debug(`C:${JSON.stringify(q,null,2)}`);const l="sandbox"===o?c.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`);B(l),P(l),F(l);let h=new H(a);h.setData(q.diagramMarginX,q.diagramMarginX,q.diagramMarginY,q.diagramMarginY),h.data.widthLimit=screen.availWidth,R=q.diagramMarginX,j=q.diagramMarginY;const f=a.db.getTitle();J(l,"",h,a.db.getBoundarys(""),a),D(l),O(l),N(l),L(l),function(t,e,n,r){let a=0;for(let t of e){a+=1;let e=t.wrap&&q.wrap,s={fontFamily:(o=q).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);Z("label",t,e,s,c),t.techn&&""!==t.techn.text&&(c=(0,i.h)(t.techn.text,s),Z("techn",t,e,s,c)),t.descr&&""!==t.descr.text&&(c=(0,i.h)(t.descr.text,s),Z("descr",t,e,s,c));let u=n(t.from),l=n(t.to),h=Q(u,l);t.startPoint=h.startPoint,t.endPoint=h.endPoint}var o;M(t,e,q)}(l,a.db.getRels(),a.db.getC4Shape,a),h.data.stopx=R,h.data.stopy=j;const d=h.data;let g=d.stopy-d.starty+2*q.diagramMarginY;const p=d.stopx-d.startx+2*q.diagramMarginX;f&&l.append("text").text(f).attr("x",(d.stopx-d.startx)/2-4*q.diagramMarginX).attr("y",d.starty+q.diagramMarginY),(0,i.i)(l,g,p,q.useMaxWidth);const b=f?60:0;l.attr("viewBox",d.startx-q.diagramMarginX+" -"+(q.diagramMarginY+b)+" "+p+" "+(g+b)),i.l.debug("models:",d)}},et={parser:u,db:_,renderer:tt,styles:t=>`.person {\n stroke: ${t.personBorder};\n fill: ${t.personBkg};\n }\n`,init:t=>{tt.setConf(t.c4)}}},6956:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return f}});var i=n(5349),r=n(1504),a=n(1768),o=n(8066),s=n(8540),c=n(3148);n(7530),n(2510),n(6951);let u={};const l=function(t){const e=Object.entries(u).find((e=>e[1].label===t));if(e)return e[0]},h={draw:function(t,e,n,i){const h=(0,s.c)().class;u={},s.l.info("Rendering diagram "+t);const f=(0,s.c)().securityLevel;let d;"sandbox"===f&&(d=(0,r.Ys)("#i"+e));const g="sandbox"===f?(0,r.Ys)(d.nodes()[0].contentDocument.body):(0,r.Ys)("body"),p=g.select(`[id='${e}']`);var b;(b=p).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"),b.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"),b.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"),b.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"),b.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"),b.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"),b.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"),b.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 w=new o.k({multigraph:!0});w.setGraph({isMultiGraph:!0}),w.setDefaultEdgeLabel((function(){return{}}));const m=i.db.getClasses(),y=Object.keys(m);for(const t of y){const e=m[t],n=c.s.drawClass(p,e,h,i);u[n.id]=n,w.setNode(n.id,n),s.l.info("Org height: "+n.height)}i.db.getRelations().forEach((function(t){s.l.info("tjoho"+l(t.id1)+l(t.id2)+JSON.stringify(t)),w.setEdge(l(t.id1),l(t.id2),{relation:t},t.title||"DEFAULT")}));i.db.getNotes().forEach((function(t){s.l.debug(`Adding note: ${JSON.stringify(t)}`);const e=c.s.drawNote(p,t,h,i);u[e.id]=e,w.setNode(e.id,e),t.class&&t.class in m&&w.setEdge(t.id,l(t.class),{relation:{id1:t.id,id2:t.class,relation:{type1:"none",type2:"none",lineType:10}}},"DEFAULT")})),(0,a.bK)(w),w.nodes().forEach((function(t){void 0!==t&&void 0!==w.node(t)&&(s.l.debug("Node "+t+": "+JSON.stringify(w.node(t))),g.select("#"+(i.db.lookUpDomId(t)||t)).attr("transform","translate("+(w.node(t).x-w.node(t).width/2)+","+(w.node(t).y-w.node(t).height/2)+" )"))})),w.edges().forEach((function(t){void 0!==t&&void 0!==w.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(w.edge(t))),c.s.drawEdge(p,w.edge(t),w.edge(t).relation,h,i))}));const v=p.node().getBBox(),x=v.width+40,k=v.height+40;(0,s.i)(p,k,x,h.useMaxWidth);const _=`${v.x-20} ${v.y-20} ${x} ${k}`;s.l.debug(`viewBox ${_}`),p.attr("viewBox",_)}},f={parser:i.p,db:i.d,renderer:h,styles:i.s,init:t=>{t.class||(t.class={}),t.class.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},9582:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return d}});var i=n(5349),r=n(1504),a=n(8066),o=n(8540),s=n(113);n(7530),n(2510),n(6951),n(1768),n(835);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.forEach((function(n){var a,s;const u=t[n];let l="";u.cssClasses.length>0&&(l=l+" "+u.cssClasses.join(" "));const h="",f="",d=u.label??u.id,g={labelStyle:h,shape:"class_box",labelText:c(d),classData:u,rx:0,ry:0,class:l,style:f,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,g),r&&e.setParent(u.id,r),o.l.info("setNode",g)}))};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(),m=i.db.getClasses(),y=i.db.getRelations(),v=i.db.getNotes();let x;o.l.info(y),function(t,e,n,i){const r=Object.keys(t);o.l.info("keys:",r),o.l.info(t),r.forEach((function(r){var a,s;const u=t[r],h={shape:"rect",id:u.id,domId:u.domId,labelText:c(u.id),labelStyle:"",style:"fill: none; stroke: black",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,h),l(u.classes,e,n,i,u.id),o.l.info("setNode",h)}))}(w,b,e,i),l(m,b,e,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.o)(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)}))}(y,b),function(t,e,n,i){o.l.info(t),t.forEach((function(t,a){var s,l;const h=t,f="",d="",g=h.text,p={labelStyle:f,shape:"note",labelText:c(g),noteData:h,rx:0,ry:0,class:"",style:d,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,p),o.l.info("setNode",p),!h.class||!(h.class in i))return;const b=n+a,w={id:`edgeNote${b}`,classes:"relation",pattern:"dotted",arrowhead:"none",startLabelRight:"",endLabelLeft:"",arrowTypeStart:"none",arrowTypeEnd:"none",style:"fill:none",labelStyle:"",curve:(0,o.o)(u.curve,r.c_6)};e.setEdge(h.id,h.class,w,b)}))}(v,b,y.length+1,m),"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}"]`),A=k.select("#"+e+" g");if(await(0,s.r)(A,b,["aggregation","extension","composition","dependency","lollipop"],"classDiagram",e),o.u.insertTitle(_,"classTitleText",(null==f?void 0:f.titleTopMargin)??5,i.db.getDiagramTitle()),(0,o.p)(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()}}},1524:function(t,e,n){"use strict";n.d(e,{c:function(){return ne}});var i={};n.r(i),n.d(i,{attentionMarkers:function(){return Nt},contentInitial:function(){return St},disable:function(){return Pt},document:function(){return Ct},flow:function(){return Mt},flowInitial:function(){return It},insideSpan:function(){return Lt},string:function(){return Dt},text:function(){return Ot}});var r=n(8540);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(m(o),t=n;ti;){const i=n[r];e.containerState=i[1],i[0].exit.call(e,t)}n.length=i}function y(){i.write([null]),r=void 0,i=void 0,e.containerState._closeFlow=void 0}}},I={tokenize:function(t,e,n){return T(t,t.attempt(this.parser.constructs.document,e,n),"linePrefix",this.parser.constructs.disable.null.includes("codeIndented")?void 0:4)}};const M={tokenize:function(t,e,n){return function(e){return k(e)?T(t,i,"linePrefix")(e):i(e)};function i(t){return null===t||v(t)?e(t):n(t)}},partial:!0};function D(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};const P={tokenize:function(t){const e=this,n=t.attempt(M,(function(i){if(null===i)return void t.consume(i);return t.enter("lineEndingBlank"),t.consume(i),t.exit("lineEndingBlank"),e.currentConstruct=void 0,n}),t.attempt(this.parser.constructs.flowInitial,i,T(t,t.attempt(this.parser.constructs.flow,i,t.attempt(L,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)}}};const B={resolveAll:$()},F=j("string"),R=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(){let t;for(;i._index=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)?T(t,a,"whitespace")(e):a(e))}}};const G={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(U,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(M,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(M,(function(n){return i.containerState.furtherBlankLines=i.containerState.furtherBlankLines||i.containerState.initialBlankLine,T(t,e,"listItemIndent",i.containerState.size+1)(n)}),(function(n){if(i.containerState.furtherBlankLines||!k(n))return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,r(n);return i.containerState.furtherBlankLines=void 0,i.containerState.initialBlankLine=void 0,t.attempt(Z,e,r)(n)}));function r(r){return i.containerState._closeFlow=!0,i.interrupt=void 0,T(t,t.attempt(G,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 T(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},Z={tokenize:function(t,e,n){const i=this;return T(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};const W={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){if(k(e))return T(t,r,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e);return r(e)};function r(i){return t.attempt(W,e,n)(i)}}},exit:function(t){t.exit("blockQuote")}};function K(t,e,n,i,r,a,o,s,c){const u=c||Number.POSITIVE_INFINITY;let l=0;return function(e){if(60===e)return t.enter(i),t.enter(r),t.enter(a),t.consume(e),t.exit(a),h;if(null===e||32===e||41===e||b(e))return n(e);return 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){if(34===e||39===e||40===e)return t.enter(i),t.enter(r),t.consume(e),t.exit(r),o=40===e?41:e,s;return 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"),T(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){if(v(r))return t.enter("lineEnding"),t.consume(r),t.exit("lineEnding"),n=!0,i;if(k(r))return T(t,i,n?"linePrefix":"lineSuffix")(r);return 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 K(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)?T(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)?T(t,a,"whitespace")(e):a(e)}function a(t){return null===t||v(t)?e(t):n(t)}},partial:!0};const nt={name:"codeIndented",tokenize:function(t,e,n){const i=this;return function(e){return t.enter("codeIndented"),T(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):T(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};const 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)?T(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;"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]]));return t}};const 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}if(!i.parser.lazy[i.now().line]&&(i.interrupt||o))return t.enter("setextHeadingLine"),r=e,function(e){return t.enter("setextHeadingLineSequence"),a(e)}(e);return n(e)};function a(e){return e===r?(t.consume(e),a):(t.exit("setextHeadingLineSequence"),k(e)?T(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)};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;return t.push(["exit",o,e]),t}};const 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){const a="CDATA[";return r===a.charCodeAt(s++)?(t.consume(r),s===a.length?i.interrupt?e:D: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):D(s)):(r=7,i.interrupt&&!i.parser.lazy[i.now().line]?n(s):a?m(s):y(s)):(r=1,i.interrupt?e(s):D(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:D):n(r)}function m(e){return k(e)?(t.consume(e),m):I(e)}function y(e){return 47===e?(t.consume(e),I):58===e||95===e||d(e)?(t.consume(e),_):k(e)?(t.consume(e),y):I(e)}function _(e){return 45===e||46===e||58===e||95===e||g(e)?(t.consume(e),_):A(e)}function A(e){return 61===e?(t.consume(e),E):k(e)?(t.consume(e),A):y(e)}function E(e){return null===e||60===e||61===e||62===e||96===e?n(e):34===e||39===e?(t.consume(e),c=e,T):k(e)?(t.consume(e),E):C(e)}function T(e){return e===c?(t.consume(e),c=null,S):null===e||v(e)?n(e):(t.consume(e),T)}function C(e){return null===e||34===e||39===e||47===e||60===e||61===e||62===e||96===e||x(e)?A(e):(t.consume(e),C)}function S(t){return 47===t||62===t||k(t)?y(t):n(t)}function I(e){return 62===e?(t.consume(e),M):n(e)}function M(e){return null===e||v(e)?D(e):k(e)?(t.consume(e),M):n(e)}function D(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),$):63===e&&3===r?(t.consume(e),j):93===e&&5===r?(t.consume(e),R):!v(e)||6!==r&&7!==r?null===e||v(e)?(t.exit("htmlFlowData"),O(e)):(t.consume(e),D):(t.exit("htmlFlowData"),t.check(ut,z,O)(e))}function O(e){return t.check(lt,L,z)(e)}function L(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"),D(e))}function P(e){return 45===e?(t.consume(e),j):D(e)}function B(e){return 47===e?(t.consume(e),o="",F):D(e)}function F(e){if(62===e){const n=o.toLowerCase();return st.includes(n)?(t.consume(e),$):D(e)}return d(e)&&o.length<8?(t.consume(e),o+=String.fromCharCode(e),F):D(e)}function R(e){return 93===e?(t.consume(e),j):D(e)}function j(e){return 62===e?(t.consume(e),$):45===e&&2===r?(t.consume(e),j):D(e)}function $(e){return null===e||v(e)?(t.exit("htmlFlowData"),z(e)):(t.consume(e),$)}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););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));return t},concrete:!0},ut={tokenize:function(t,e,n){return function(i){return t.enter("lineEnding"),t.consume(i),t.exit("lineEnding"),t.attempt(M,e,n)}},partial:!0},lt={tokenize:function(t,e,n){const i=this;return function(e){if(v(e))return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),r;return n(e)};function r(t){return i.parser.lazy[i.now().line]?n(t):e(t)}},partial:!0};const ht={tokenize:function(t,e,n){const i=this;return function(e){if(null===e)return n(e);return 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 o;function o(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),c}function c(e){return t.enter("codeFencedFence"),k(e)?T(t,u,"linePrefix",i.parser.constructs.disable.null.includes("codeIndented")?void 0:4)(e):u(e)}function u(e){return e===a?(t.enter("codeFencedFenceSequence"),l(e)):n(e)}function l(e){return e===a?(r++,t.consume(e),l):r>=s?(t.exit("codeFencedFenceSequence"),k(e)?T(t,h,"whitespace")(e):h(e)):n(e)}function h(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)?T(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,m)(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"),T(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,m,g)(e)}function g(e){return t.enter("lineEnding"),t.consume(e),t.exit("lineEnding"),p}function p(e){return o>0&&k(e)?T(t,b,"linePrefix",o+1)(e):b(e)}function b(e){return null===e||v(e)?t.check(ht,d,m)(e):(t.enter("codeFlowValue"),w(e))}function w(e){return null===e||v(e)?(t.exit("codeFlowValue"),b(e)):(t.consume(e),w)}function m(n){return t.exit("codeFenced"),e(n)}},concrete:!0};const 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=m,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);At(d,-s),At(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}f=-1;for(;++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 jt=/\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;function $t(t,e,n){if(e)return e;if(35===n.charCodeAt(0)){const t=n.charCodeAt(1),e=120===t||88===t;return Rt(n.slice(e?2:1),e?16:10)}return gt(n)||t}function zt(t){return t&&"object"==typeof t?"position"in t||"type"in t?Ht(t.position):"start"in t||"end"in t?Ht(t):"line"in t||"column"in t?qt(t):"":""}function qt(t){return Ut(t&&t.line)+":"+Ut(t&&t.column)}function Ht(t){return qt(t&&t.start)+"-"+qt(t&&t.end)}function Ut(t){return t&&"number"==typeof t?t:1}const Gt={}.hasOwnProperty,Yt=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:u(at),autolinkProtocol:I,autolinkEmail:I,atxHeading:u(et),blockQuote:u(K),characterEscape:I,characterReference:I,codeFenced:u(X),codeFencedFenceInfo:l,codeFencedFenceMeta:l,codeIndented:u(X,l),codeText:u(V,l),codeTextData:I,data:I,codeFlowValue:I,definition:u(Q),definitionDestinationString:l,definitionLabelString:l,definitionTitleString:l,emphasis:u(tt),hardBreakEscape:u(nt),hardBreakTrailing:u(nt),htmlFlow:u(it,l),htmlFlowData:I,htmlText:u(it,l),htmlTextData:I,image:u(rt),label:l,link:u(at),listItem:u(st),listItemValue:b,listOrdered:u(ot,p),listUnordered:u(ot),paragraph:u(ct),reference:H,referenceString:l,resourceDestinationString:l,resourceTitleString:l,setextHeading:u(et),strong:u(ut),thematicBreak:u(ht)},exit:{atxHeading:f(),atxHeadingSequence:E,autolink:f(),autolinkEmail:W,autolinkProtocol:Z,blockQuote:f(),characterEscapeValue:M,characterReferenceMarkerHexadecimal:G,characterReferenceMarkerNumeric:G,characterReferenceValue:Y,codeFenced:f(v),codeFencedFence:y,codeFencedFenceInfo:w,codeFencedFenceMeta:m,codeFlowValue:M,codeIndented:f(x),codeText:f(P),codeTextData:M,data:M,definition:f(),definitionDestinationString:A,definitionLabelString:k,definitionTitleString:_,emphasis:f(),hardBreakEscape:f(O),hardBreakTrailing:f(O),htmlFlow:f(L),htmlFlowData:M,htmlText:f(N),htmlTextData:M,image:f(F),label:j,labelText:R,lineEnding:D,link:f(B),listItem:f(),listOrdered:f(),listUnordered:f(),paragraph:f(),referenceString:U,resourceDestinationString:$,resourceTitleString:z,resource:q,setextHeading:f(S),setextHeadingLineSequence:C,setextHeadingText:T,strong:f(),thematicBreak:f()}};Wt(e,(t||{}).mdastExtensions||[]);const n={};return i;function i(t){let n={type:"root",children:[]};const i={stack:[n],tokenStack:[],config:e,enter:h,exit:d,buffer:l,resume:g,setData:s,getData:c},a=[];let o=-1;for(;++o0){const t=i.tokenStack[i.tokenStack.length-1];(t[1]||Xt).call(i,void 0,t[0])}for(n.position={start:Zt(t.length>0?t[0][1].start:{line:1,column:1,offset:0}),end:Zt(t.length>0?t[t.length-2][1].end:{line:1,column:1,offset:0})},o=-1;++o{0!==n&&(r++,i.push([])),t.split(" ").forEach((t=>{t&&i[r].push({content:t,type:e})}))}))}else"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 Jt(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 te(t,e,n){const i=t.append("text"),r=Jt(i,1,e);ee(r,[{content:n,type:"normal"}]);const a=r.node().getComputedTextLength();return i.remove(),a}function ee(t,e){t.text(""),e.forEach(((e,n)=>{const i=t.append("tspan").attr("font-style","em"===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 ne=(t,e="",{style:n="",isTitle:i=!1,classes:a="",useHtmlLabels:o=!0,isNode:s=!0,width:c,addSvgBackground:u=!1}={})=>{if(r.l.info("createText",e,n,i,a,o,s,u),o){const i=function(t){const{children:e}=Yt(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);let 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.H)(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 a=e.append("g");let o=a.insert("rect").attr("class","background");const s=a.append("text").attr("y","-10.1");let c=0;if(n.forEach((e=>{let n=e.map((t=>t.content)).join(" "),i="",o=[],u=0;if(te(a,1.1,n)<=t)o.push(n);else{for(let e=0;e<=n.length;e++)if(i=n.slice(u,e),r.l.info(i,u,e),te(a,1.1,i)>t){const t=n.slice(u,e).lastIndexOf(" ");t>-1&&(e=u+t+1),o.push(n.slice(u,e).trim()),u=e,i=null}null!=i&&o.push(i)}const l=o.map((t=>({content:t,type:e.type})));for(const t of l)ee(Jt(s,c,1.1),[t]),c++})),i){const t=s.node().getBBox(),e=2;return o.attr("x",-e).attr("y",-e).attr("width",t.width+2*e).attr("height",t.height+2*e),a.node()}return s.node()}(c,t,Qt(e),u);return n}}},3430:function(t,e,n){"use strict";n.d(e,{a:function(){return c},b:function(){return E},c:function(){return u},d:function(){return I},e:function(){return _},f:function(){return M},g:function(){return N},h:function(){return O},i:function(){return b},l:function(){return l},p:function(){return T},s:function(){return A},u:function(){return h}});var i=n(8540),r=n(1504),a=n(1524),o=n(3148);const s={extension:(t,e,n)=>{i.l.trace("Making markers for ",n),t.append("defs").append("marker").attr("id",e+"-extensionStart").attr("class","marker extension "+e).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"),t.append("defs").append("marker").attr("id",e+"-extensionEnd").attr("class","marker extension "+e).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")},composition:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-compositionStart").attr("class","marker composition "+e).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",e+"-compositionEnd").attr("class","marker composition "+e).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")},aggregation:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-aggregationStart").attr("class","marker aggregation "+e).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",e+"-aggregationEnd").attr("class","marker aggregation "+e).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")},dependency:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-dependencyStart").attr("class","marker dependency "+e).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"),t.append("defs").append("marker").attr("id",e+"-dependencyEnd").attr("class","marker dependency "+e).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")},lollipop:(t,e)=>{t.append("defs").append("marker").attr("id",e+"-lollipopStart").attr("class","marker lollipop "+e).attr("refX",0).attr("refY",7).attr("markerWidth",190).attr("markerHeight",240).attr("orient","auto").append("circle").attr("stroke","black").attr("fill","white").attr("cx",6).attr("cy",7).attr("r",6)},point:(t,e)=>{t.append("marker").attr("id",e+"-pointEnd").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",10).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",e+"-pointStart").attr("class","marker "+e).attr("viewBox","0 0 10 10").attr("refX",0).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)=>{t.append("marker").attr("id",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",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)=>{t.append("marker").attr("id",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",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)=>{t.append("defs").append("marker").attr("id",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")}},c=(t,e,n,i)=>{e.forEach((e=>{s[e](t,n,i)}))};const u=(t,e,n,a)=>{let o=t||"";if("object"==typeof o&&(o=o[0]),(0,i.n)((0,i.c)().flowchart.htmlLabels)){o=o.replace(/\\n|\n/g,"
"),i.l.info("vertexText"+o);let t=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,s;return n.html('"+i+""),o=n,(s=t.labelStyle)&&o.attr("style",s),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.H)(o).replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``)),labelStyle:e.replace("fill:","color:")});return t}{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}},l=async(t,e,n,o)=>{let s;const c=e.useHtmlLabels||(0,i.n)((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.H)(f),(0,i.c)()),{useHtmlLabels:c,width:e.width||(0,i.c)().flowchart.wrappingWidth,classes:"markdown-node-label"}):d.appendChild(u((0,i.d)((0,i.H)(f),(0,i.c)()),e.labelStyle,!1,o));let p=g.getBBox();const b=e.padding/2;if((0,i.n)((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=>e.addEventListener("load",(function(){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)})))))))}p=t.getBoundingClientRect(),e.attr("width",p.width),e.attr("height",p.height)}return c?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}},h=(t,e)=>{const n=e.node().getBBox();t.width=n.width,t.height=n.height};function f(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 d(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 b=(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}},w={node:function(t,e){return t.intersect(e)},circle:function(t,e,n){return d(t,e,e,n)},ellipse:d,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 a{const{shapeSvg:n,bbox:r}=await l(t,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=f(n,a,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return i.l.warn("Intersect called"),w.polygon(e,o,t)},n};function y(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 v=(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 h(e,o),e.height=e.height+e.padding/2,e.width=e.width+e.padding/2,e.intersect=function(t){return w.rect(e,t)},i},x={rhombus:m,question:m,rect:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,"node "+e.classes,!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&&(y(o,e.props.borders,s,c),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return h(e,o),e.intersect=function(t){return w.rect(e,t)},n},labelRect:async(t,e)=>{const{shapeSvg:n}=await l(t,e,"label",!0);i.l.trace("Classes = ",e.classes);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&&(y(r,e.props.borders,0,0),t.delete("borders")),t.forEach((t=>{i.l.warn(`Unknown node property ${t}`)}))}return h(e,r),e.intersect=function(t){return w.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"),c=a.insert("g").attr("class","label"),l=e.labelText.flat?e.labelText.flat():e.labelText;let f="";f="object"==typeof l?l[0]:l,i.l.info("Label text abc79",f,l,"object"==typeof l);const d=c.node().appendChild(u(f,e.labelStyle,!0,!0));let g={width:0,height:0};if((0,i.n)((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",l);const p=l.slice(1,l.length);let b=d.getBBox();const m=c.node().appendChild(u(p.join?p.join("
"):p,e.labelStyle,!0,!0));if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=m.children[0],e=(0,r.Ys)(m);g=t.getBoundingClientRect(),e.attr("width",g.width),e.attr("height",g.height)}const y=e.padding/2;return(0,r.Ys)(m).attr("transform","translate( "+(g.width>b.width?0:(b.width-g.width)/2)+", "+(b.height+y+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),i=[{x:0,y:14},{x:14,y:0},{x:0,y:-14},{x:-14,y:0}];return n.insert("polygon",":first-child").attr("points",i.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 w.circle(e,14,t)},n},circle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,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"),h(e,o),e.intersect=function(t){return i.l.info("Circle intersect",e,r.width/2+a,t),w.circle(e,r.width/2+a,t)},n},doublecircle:async(t,e)=>{const{shapeSvg:n,bbox:r,halfPadding:a}=await l(t,e,void 0,!0),o=n.insert("g",":first-child"),s=o.insert("circle"),c=o.insert("circle");return 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"),h(e,s),e.intersect=function(t){return i.l.info("DoubleCircle intersect",e,r.width/2+a+5,t),w.circle(e,r.width/2+a+5,t)},n},stadium:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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 h(e,o),e.intersect=function(t){return w.rect(e,t)},n},hexagon:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,o,r,s);return c.attr("style",e.style),h(e,c),e.intersect=function(t){return w.polygon(e,s,t)},n},rect_left_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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 f(n,r,a,o).attr("style",e.style),e.width=r+a,e.height=a,e.intersect=function(t){return w.polygon(e,o,t)},n},lean_right:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},lean_left:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},inv_trapezoid:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},rect_right_inv_arrow:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},cylinder:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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,u=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 h(e,u),e.intersect=function(t){const n=w.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),h(e,i),e.intersect=function(t){return w.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),h(e,r),e.intersect=function(t){return w.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 l(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),h(e,o),e.intersect=function(t){return w.rect(e,t)},n},subroutine:async(t,e)=>{const{shapeSvg:n,bbox:i}=await l(t,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=f(n,r,a,o);return s.attr("style",e.style),h(e,s),e.intersect=function(t){return w.polygon(e,o,t)},n},fork:v,join:v,class_box:(t,e)=>{const n=e.padding/2;let a;a=e.classes?"node "+e.classes:"node default";const s=t.insert("g").attr("class",a).attr("id",e.domId||e.id),c=s.insert("rect",":first-child"),l=s.insert("line"),f=s.insert("line");let d=0,g=4;const p=s.insert("g").attr("class","label");let b=0;const m=e.classData.annotations&&e.classData.annotations[0],y=e.classData.annotations[0]?"«"+e.classData.annotations[0]+"»":"",v=p.node().appendChild(u(y,e.labelStyle,!0,!0));let x=v.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=v.children[0],e=(0,r.Ys)(v);x=t.getBoundingClientRect(),e.attr("width",x.width),e.attr("height",x.height)}e.classData.annotations[0]&&(g+=x.height+4,d+=x.width);let k=e.classData.label;void 0!==e.classData.type&&""!==e.classData.type&&((0,i.c)().flowchart.htmlLabels?k+="<"+e.classData.type+">":k+="<"+e.classData.type+">");const _=p.node().appendChild(u(k,e.labelStyle,!0,!0));(0,r.Ys)(_).attr("class","classTitle");let A=_.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=_.children[0],e=(0,r.Ys)(_);A=t.getBoundingClientRect(),e.attr("width",A.width),e.attr("height",A.height)}g+=A.height+4,A.width>d&&(d=A.width);const E=[];e.classData.members.forEach((t=>{const n=(0,o.p)(t);let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(//g,">"));const s=p.node().appendChild(u(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let c=s.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,r.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}c.width>d&&(d=c.width),g+=c.height+4,E.push(s)})),g+=8;const T=[];if(e.classData.methods.forEach((t=>{const n=(0,o.p)(t);let a=n.displayText;(0,i.c)().flowchart.htmlLabels&&(a=a.replace(//g,">"));const s=p.node().appendChild(u(a,n.cssStyle?n.cssStyle:e.labelStyle,!0,!0));let c=s.getBBox();if((0,i.n)((0,i.c)().flowchart.htmlLabels)){const t=s.children[0],e=(0,r.Ys)(s);c=t.getBoundingClientRect(),e.attr("width",c.width),e.attr("height",c.height)}c.width>d&&(d=c.width),g+=c.height+4,T.push(s)})),g+=8,m){let t=(d-x.width)/2;(0,r.Ys)(v).attr("transform","translate( "+(-1*d/2+t)+", "+-1*g/2+")"),b=x.height+4}let C=(d-A.width)/2;return(0,r.Ys)(_).attr("transform","translate( "+(-1*d/2+C)+", "+(-1*g/2+b)+")"),b+=A.height+4,l.attr("class","divider").attr("x1",-d/2-n).attr("x2",d/2+n).attr("y1",-g/2-n+8+b).attr("y2",-g/2-n+8+b),b+=8,E.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*g/2+b+4)+")"),b+=A.height+4})),b+=8,f.attr("class","divider").attr("x1",-d/2-n).attr("x2",d/2+n).attr("y1",-g/2-n+8+b).attr("y2",-g/2-n+8+b),b+=8,T.forEach((t=>{(0,r.Ys)(t).attr("transform","translate( "+-d/2+", "+(-1*g/2+b)+")"),b+=A.height+4})),c.attr("class","outer title-state").attr("x",-d/2-n).attr("y",-g/2-n).attr("width",d+e.padding).attr("height",g+e.padding),h(e,c),e.intersect=function(t){return w.rect(e,t)},s}};let k={};const _=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 x[e.shape](r,e,n)}else a=await x[e.shape](t,e,n),r=a;return e.tooltip&&a.attr("title",e.tooltip),e.class&&a.attr("class","node default "+e.class),k[e.id]=r,e.haveCallback&&k[e.id].attr("class",k[e.id].attr("class")+" clickable"),r},A=(t,e)=>{k[e.id]=t},E=()=>{k={}},T=t=>{const e=k[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};let C={},S={};const I=()=>{C={},S={}},M=(t,e)=>{const n=(0,i.n)((0,i.c)().flowchart.htmlLabels),o="markdown"===e.labelType?(0,a.c)(t,e.label,{style:e.labelStyle,useHtmlLabels:n,addSvgBackground:!0}):u(e.label,e.labelStyle);i.l.info("abc82",e,e.labelType);const s=t.insert("g").attr("class","edgeLabel"),c=s.insert("g").attr("class","label");c.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(c.attr("transform","translate("+-h.width/2+", "+-h.height/2+")"),C[e.id]=s,e.width=h.width,e.height=h.height,e.startLabelLeft){const n=u(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+")"),S[e.id]||(S[e.id]={}),S[e.id].startLeft=i,D(l,e.startLabelLeft)}if(e.startLabelRight){const n=u(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+")"),S[e.id]||(S[e.id]={}),S[e.id].startRight=i,D(l,e.startLabelRight)}if(e.endLabelLeft){const n=u(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),S[e.id]||(S[e.id]={}),S[e.id].endLeft=i,D(l,e.endLabelLeft)}if(e.endLabelRight){const n=u(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),S[e.id]||(S[e.id]={}),S[e.id].endRight=i,D(l,e.endLabelRight)}return o};function D(t,e){(0,i.c)().flowchart.htmlLabels&&t&&(t.style.width=9*e.length+"px",t.style.height="12px")}const O=(t,e)=>{i.l.info("Moving label abc78 ",t.id,t.label,C[t.id]);let n=e.updatedPath?e.updatedPath:e.originalPath;if(t.label){const r=C[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=S[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=S[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=S[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=S[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+")")}},L=(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},N=function(t,e,n,a,o,s){let c=n.points,u=!1;const l=s.node(e.v);var h=s.node(e.w);i.l.info("abc88 InsertEdge: ",n),h.intersect&&l.intersect&&(c=c.slice(1,n.points.length-1),c.unshift(l.intersect(c[0])),i.l.info("Last point",c[c.length-1],h,h.intersect(c[c.length-1])),c.push(h.intersect(c[c.length-1]))),n.toCluster&&(i.l.info("to cluster abc88",a[n.toCluster]),c=L(n.points,a[n.toCluster].node),u=!0),n.fromCluster&&(i.l.info("from cluster abc88",a[n.fromCluster]),c=L(c.reverse(),a[n.fromCluster].node).reverse(),u=!0);const f=c.filter((t=>!Number.isNaN(t.y)));let d;d=("graph"===o||"flowchart"===o)&&n.curve||r.$0Z;const g=(0,r.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(d);let p;switch(n.thickness){case"normal":p="edge-thickness-normal";break;case"thick":case"invisible":p="edge-thickness-thick";break;default:p=""}switch(n.pattern){case"solid":p+=" edge-pattern-solid";break;case"dotted":p+=" edge-pattern-dotted";break;case"dashed":p+=" edge-pattern-dashed"}const b=t.append("path").attr("d",g(f)).attr("id",n.id).attr("class"," "+p+(n.classes?" "+n.classes:"")).attr("style",n.style);let w="";switch(((0,i.c)().flowchart.arrowMarkerAbsolute||(0,i.c)().state.arrowMarkerAbsolute)&&(w=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,w=w.replace(/\(/g,"\\("),w=w.replace(/\)/g,"\\)")),i.l.info("arrowTypeStart",n.arrowTypeStart),i.l.info("arrowTypeEnd",n.arrowTypeEnd),n.arrowTypeStart){case"arrow_cross":b.attr("marker-start","url("+w+"#"+o+"-crossStart)");break;case"arrow_point":b.attr("marker-start","url("+w+"#"+o+"-pointStart)");break;case"arrow_barb":b.attr("marker-start","url("+w+"#"+o+"-barbStart)");break;case"arrow_circle":b.attr("marker-start","url("+w+"#"+o+"-circleStart)");break;case"aggregation":b.attr("marker-start","url("+w+"#"+o+"-aggregationStart)");break;case"extension":b.attr("marker-start","url("+w+"#"+o+"-extensionStart)");break;case"composition":b.attr("marker-start","url("+w+"#"+o+"-compositionStart)");break;case"dependency":b.attr("marker-start","url("+w+"#"+o+"-dependencyStart)");break;case"lollipop":b.attr("marker-start","url("+w+"#"+o+"-lollipopStart)")}switch(n.arrowTypeEnd){case"arrow_cross":b.attr("marker-end","url("+w+"#"+o+"-crossEnd)");break;case"arrow_point":b.attr("marker-end","url("+w+"#"+o+"-pointEnd)");break;case"arrow_barb":b.attr("marker-end","url("+w+"#"+o+"-barbEnd)");break;case"arrow_circle":b.attr("marker-end","url("+w+"#"+o+"-circleEnd)");break;case"aggregation":b.attr("marker-end","url("+w+"#"+o+"-aggregationEnd)");break;case"extension":b.attr("marker-end","url("+w+"#"+o+"-extensionEnd)");break;case"composition":b.attr("marker-end","url("+w+"#"+o+"-compositionEnd)");break;case"dependency":b.attr("marker-end","url("+w+"#"+o+"-dependencyEnd)");break;case"lollipop":b.attr("marker-end","url("+w+"#"+o+"-lollipopEnd)")}let m={};return u&&(m.updatedPath=c),m.originalPath=n.points,m}},6787:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return O}});var i=n(8540),r=n(8066),a=n(1504),o=n(1768);const s=[];for(let t=0;t<256;++t)s.push((t+256).toString(16).slice(1));function c(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]]).toLowerCase()}var u=/^(?:[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;var l=function(t){return"string"==typeof t&&u.test(t)};var h=function(t){if(!l(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 f(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 d(t,e){return t<>>32-e}var g=function(t,e,n){function i(t,i,r,a){var o;if("string"==typeof t&&(t=function(t){t=unescape(encodeURIComponent(t));const e=[];for(let n=0;n>>0;u=c,c=s,s=d(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]]})),p=(n(7530),n(2510),n(6951),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,5],i=[6,9,11,23,25,27,29,30,31,52],r=[1,17],a=[1,18],o=[1,19],s=[1,20],c=[1,21],u=[1,22],l=[1,25],h=[1,30],f=[1,31],d=[1,32],g=[1,33],p=[1,34],b=[6,9,11,15,20,23,25,27,29,30,31,44,45,46,47,48,52],w=[1,46],m=[30,31,49,50],y=[4,6,9,11,23,25,27,29,30,31,52],v=[44,45,46,47,48],x=[22,37],k=[1,66],_=[1,65],A=[22,37,39,41],E={trace:function(){},yy:{},symbols_:{error:2,start:3,ER_DIAGRAM:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,entityName:17,relSpec:18,role:19,BLOCK_START:20,attributes:21,BLOCK_STOP:22,title:23,title_value:24,acc_title:25,acc_title_value:26,acc_descr:27,acc_descr_value:28,acc_descr_multiline_value:29,ALPHANUM:30,ENTITY_NAME:31,attribute:32,attributeType:33,attributeName:34,attributeKeyTypeList:35,attributeComment:36,ATTRIBUTE_WORD:37,attributeKeyType:38,COMMA:39,ATTRIBUTE_KEY:40,COMMENT:41,cardinality:42,relType:43,ZERO_OR_ONE:44,ZERO_OR_MORE:45,ONE_OR_MORE:46,ONLY_ONE:47,MD_PARENT:48,NON_IDENTIFYING:49,IDENTIFYING:50,WORD:51,open_directive:52,type_directive:53,arg_directive:54,close_directive:55,$accept:0,$end:1},terminals_:{2:"error",4:"ER_DIAGRAM",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",20:"BLOCK_START",22:"BLOCK_STOP",23:"title",24:"title_value",25:"acc_title",26:"acc_title_value",27:"acc_descr",28:"acc_descr_value",29:"acc_descr_multiline_value",30:"ALPHANUM",31:"ENTITY_NAME",37:"ATTRIBUTE_WORD",39:"COMMA",40:"ATTRIBUTE_KEY",41:"COMMENT",44:"ZERO_OR_ONE",45:"ZERO_OR_MORE",46:"ONE_OR_MORE",47:"ONLY_ONE",48:"MD_PARENT",49:"NON_IDENTIFYING",50:"IDENTIFYING",51:"WORD",52:"open_directive",53:"type_directive",54:"arg_directive",55:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,5],[10,4],[10,3],[10,1],[10,2],[10,2],[10,2],[10,1],[17,1],[17,1],[21,1],[21,2],[32,2],[32,3],[32,3],[32,4],[33,1],[34,1],[35,1],[35,3],[38,1],[36,1],[18,3],[42,1],[42,1],[42,1],[42,1],[42,1],[43,1],[43,1],[19,1],[19,1],[19,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:break;case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:case 20:case 44:case 28:case 29:case 32:this.$=a[s];break;case 12: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 13:i.addEntity(a[s-3]),i.addAttributes(a[s-3],a[s-1]);break;case 14:i.addEntity(a[s-2]);break;case 15:i.addEntity(a[s]);break;case 16:case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:case 42:case 43:case 33:this.$=a[s].replace(/"/g,"");break;case 22:case 30:this.$=[a[s]];break;case 23:a[s].push(a[s-1]),this.$=a[s];break;case 24:this.$={attributeType:a[s-1],attributeName:a[s]};break;case 25:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeKeyTypeList:a[s]};break;case 26:this.$={attributeType:a[s-2],attributeName:a[s-1],attributeComment:a[s]};break;case 27:this.$={attributeType:a[s-3],attributeName:a[s-2],attributeKeyTypeList:a[s-1],attributeComment:a[s]};break;case 31:a[s-2].push(a[s]),this.$=a[s-2];break;case 34:this.$={cardA:a[s],relType:a[s-1],cardB:a[s-2]};break;case 35:this.$=i.Cardinality.ZERO_OR_ONE;break;case 36:this.$=i.Cardinality.ZERO_OR_MORE;break;case 37:this.$=i.Cardinality.ONE_OR_MORE;break;case 38:this.$=i.Cardinality.ONLY_ONE;break;case 39:this.$=i.Cardinality.MD_PARENT;break;case 40:this.$=i.Identification.NON_IDENTIFYING;break;case 41:this.$=i.Identification.IDENTIFYING;break;case 45:i.parseDirective("%%{","open_directive");break;case 46:i.parseDirective(a[s],"type_directive");break;case 47:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 48:i.parseDirective("}%%","close_directive","er")}},table:[{3:1,4:e,7:3,12:4,52:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,52:n},{13:8,53:[1,9]},{53:[2,45]},{6:[1,10],7:15,8:11,9:[1,12],10:13,11:[1,14],12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,52:n},{1:[2,2]},{14:23,15:[1,24],55:l},t([15,55],[2,46]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:15,10:26,12:4,17:16,23:r,25:a,27:o,29:s,30:c,31:u,52:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),t(i,[2,15],{18:27,42:29,20:[1,28],44:h,45:f,46:d,47:g,48:p}),{24:[1,35]},{26:[1,36]},{28:[1,37]},t(i,[2,19]),t(b,[2,20]),t(b,[2,21]),{11:[1,38]},{16:39,54:[1,40]},{11:[2,48]},t(i,[2,5]),{17:41,30:c,31:u},{21:42,22:[1,43],32:44,33:45,37:w},{43:47,49:[1,48],50:[1,49]},t(m,[2,35]),t(m,[2,36]),t(m,[2,37]),t(m,[2,38]),t(m,[2,39]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(y,[2,9]),{14:50,55:l},{55:[2,47]},{15:[1,51]},{22:[1,52]},t(i,[2,14]),{21:53,22:[2,22],32:44,33:45,37:w},{34:54,37:[1,55]},{37:[2,28]},{42:56,44:h,45:f,46:d,47:g,48:p},t(v,[2,40]),t(v,[2,41]),{11:[1,57]},{19:58,30:[1,61],31:[1,60],51:[1,59]},t(i,[2,13]),{22:[2,23]},t(x,[2,24],{35:62,36:63,38:64,40:k,41:_}),t([22,37,40,41],[2,29]),t([30,31],[2,34]),t(y,[2,10]),t(i,[2,12]),t(i,[2,42]),t(i,[2,43]),t(i,[2,44]),t(x,[2,25],{36:67,39:[1,68],41:_}),t(x,[2,26]),t(A,[2,30]),t(x,[2,33]),t(A,[2,32]),t(x,[2,27]),{38:69,40:k},t(A,[2,31])],defaultActions:{5:[2,45],7:[2,2],25:[2,48],40:[2,47],46:[2,28],53:[2,23]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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"),25;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),27;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 this.begin("open_directive"),52;case 8:return this.begin("type_directive"),53;case 9:return this.popState(),this.begin("arg_directive"),15;case 10:return this.popState(),this.popState(),55;case 11:return 54;case 12:return 11;case 13:case 20:case 25:break;case 14:return 9;case 15:return 31;case 16:return 51;case 17:return 4;case 18:return this.begin("block"),20;case 19:return 39;case 21:return 40;case 22:case 23:return 37;case 24:return 41;case 26:return this.popState(),22;case 27:case 57:return e.yytext[0];case 28:case 32:case 33:case 46:return 44;case 29:case 30:case 31:case 39:case 41:case 48:return 46;case 34:case 35:case 36:case 37:case 38:case 40:case 47:return 45;case 42:case 43:case 44:case 45:return 47;case 49:return 48;case 50:case 53:case 54:case 55:return 49;case 51:case 52:return 50;case 56:return 30;case 58:return 6}},rules:[/^(?:accTitle\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*:\s*)/i,/^(?:(?!\n||)*[^\n]*)/i,/^(?:accDescr\s*\{\s*)/i,/^(?:[\}])/i,/^(?:[^\}]*)/i,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?: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},open_directive:{rules:[8],inclusive:!1},type_directive:{rules:[9,10],inclusive:!1},arg_directive:{rules:[10,11],inclusive:!1},block:{rules:[19,20,21,22,23,24,25,26,27],inclusive:!1},INITIAL:{rules:[0,2,4,7,12,13,14,15,16,17,18,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],inclusive:!0}}};function C(){this.yy={}}return E.lexer=T,C.prototype=E,E.Parser=C,new C}());p.parser=p;const b=p;let w={},m=[];const y=function(t){return void 0===w[t]&&(w[t]={attributes:[]},i.l.info("Added new entity :",t)),w[t]},v={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"},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().er,addEntity:y,addAttributes:function(t,e){let n,r=y(t);for(n=e.length-1;n>=0;n--)r.attributes.push(e[n]),i.l.debug("Added attribute ",e[n].attributeName)},getEntities:()=>w,addRelationship:function(t,e,n,r){let a={entityA:t,roleA:e,entityB:n,relSpec:r};m.push(a),i.l.debug("Added new relationship :",a)},getRelationships:()=>m,clear:function(){w={},m=[],(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setAccDescription:i.b,getAccDescription:i.a,setDiagramTitle:i.r,getDiagramTitle:i.t},x={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"},k=x,_=function(t,e){let n;t.append("defs").append("marker").attr("id",x.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",x.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",x.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",x.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",x.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",x.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",x.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",x.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",x.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",x.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")},A=/[^\dA-Za-z](\W)*/g;let E={},T=new Map;const C=function(t,e,n){let r;return Object.keys(e).forEach((function(a){const o=function(t="",e=""){const n=t.replace(A,"");return`${D(e)}${D(n)}${g(t,M)}`}(a,"entity");T.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",E.fontSize+"px").text(a),{width:l,height:h}=((t,e,n)=>{const r=E.entityPadding/3,a=E.entityPadding/3,o=.85*E.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.x)(n.attributeType),m=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),y=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=m,v.nn=y;const x=m.node().getBBox(),k=y.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 m=h+f+d+g,y={width:Math.max(E.minEntityWidth,Math.max(s.width+2*E.entityPadding,m+a*w)),height:n.length>0?p:Math.max(E.minEntityHeight,s.height+2*E.entityPadding)};if(n.length>0){const n=Math.max(0,(y.width-m-a*w)/(w/2));e.attr("transform","translate("+y.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 y.height=Math.max(E.minEntityHeight,p),e.attr("transform","translate("+y.width/2+","+y.height/2+")");return y})(s,u,e[a].attributes),f=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:f.width,height:f.height,shape:"rect",id:o})})),r},S=function(t){return(t.entityA+t.roleA+t.entityB).replace(/\s/g,"")};let I=0;const M="28e9f9db-3c8d-5aa5-9faf-44286ae5937c";function D(t=""){return t.length>0?`${t}-`:""}const O={parser:b,db:v,renderer:{setConf:function(t){const e=Object.keys(t);for(const n of e)E[n]=t[n]},draw:function(t,e,n,s){E=(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;_(l,E),h=new r.k({multigraph:!0,directed:!0,compound:!1}).setGraph({rankdir:E.layoutDirection,marginx:20,marginy:20,nodesep:100,edgesep:100,ranksep:100}).setDefaultEdgeLabel((function(){return{}}));const f=C(l,s.db.getEntities(),h),d=function(t,e){return t.forEach((function(t){e.setEdge(T.get(t.entityA),T.get(t.entityB),{relationship:t},S(t))})),t}(s.db.getRelationships(),h);var g,p;(0,o.bK)(h),g=l,(p=h).nodes().forEach((function(t){void 0!==t&&void 0!==p.node(t)&&g.select("#"+t).attr("transform","translate("+(p.node(t).x-p.node(t).width/2)+","+(p.node(t).y-p.node(t).height/2)+" )")})),d.forEach((function(t){!function(t,e,n,r,o){I++;const s=n.edge(T.get(e.entityA),T.get(e.entityB),S(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",E.stroke).style("fill","none");e.relSpec.relType===o.db.Identification.NON_IDENTIFYING&&u.attr("stroke-dasharray","8,8");let l="";switch(E.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+"#"+k.ZERO_OR_ONE_END+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-end","url("+l+"#"+k.ZERO_OR_MORE_END+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-end","url("+l+"#"+k.ONE_OR_MORE_END+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-end","url("+l+"#"+k.ONLY_ONE_END+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-end","url("+l+"#"+k.MD_PARENT_END+")")}switch(e.relSpec.cardB){case o.db.Cardinality.ZERO_OR_ONE:u.attr("marker-start","url("+l+"#"+k.ZERO_OR_ONE_START+")");break;case o.db.Cardinality.ZERO_OR_MORE:u.attr("marker-start","url("+l+"#"+k.ZERO_OR_MORE_START+")");break;case o.db.Cardinality.ONE_OR_MORE:u.attr("marker-start","url("+l+"#"+k.ONE_OR_MORE_START+")");break;case o.db.Cardinality.ONLY_ONE:u.attr("marker-start","url("+l+"#"+k.ONLY_ONE_START+")");break;case o.db.Cardinality.MD_PARENT:u.attr("marker-start","url("+l+"#"+k.MD_PARENT_START+")")}const h=u.node().getTotalLength(),f=u.node().getPointAtLength(.5*h),d="rel"+I,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",E.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,f,s)}));const b=E.diagramPadding;i.u.insertTitle(l,"entityTitleText",E.titleTopMargin,s.db.getDiagramTitle());const w=l.node().getBBox(),m=w.width+2*b,y=w.height+2*b;(0,i.i)(l,y,m,E.useMaxWidth),l.attr("viewBox",`${w.x-b} ${w.y-b} ${m} ${y}`)}},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`}},895:function(t,e,n){"use strict";n.d(e,{d:function(){return it},f:function(){return nt},p:function(){return o}});var i=n(1504),r=n(8540),a=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,7],i=[1,6],r=[1,8],a=[1,20,21,22,23,38,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],o=[2,10],s=[1,20],c=[1,21],u=[1,22],l=[1,23],h=[1,30],f=[1,32],d=[1,33],g=[1,34],p=[1,62],b=[1,48],w=[1,52],m=[1,36],y=[1,37],v=[1,38],x=[1,39],k=[1,40],_=[1,56],A=[1,63],E=[1,51],T=[1,53],C=[1,55],S=[1,59],I=[1,60],M=[1,41],D=[1,42],O=[1,43],L=[1,44],N=[1,61],P=[1,50],B=[1,54],F=[1,57],R=[1,58],j=[1,49],$=[1,66],z=[1,71],q=[1,20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],H=[1,75],U=[1,74],G=[1,76],Y=[20,21,23,81,82],Z=[1,99],W=[1,104],K=[1,107],X=[1,108],V=[1,101],Q=[1,106],J=[1,109],tt=[1,102],et=[1,114],nt=[1,113],it=[1,103],rt=[1,105],at=[1,110],ot=[1,111],st=[1,112],ct=[1,115],ut=[20,21,22,23,81,82],lt=[20,21,22,23,53,81,82],ht=[20,21,22,23,40,52,53,55,57,59,61,63,65,66,67,69,71,73,74,76,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],ft=[20,21,23],dt=[20,21,23,52,66,67,81,82,92,96,106,107,110,112,113,123,124,125,126,127,128],gt=[1,12,20,21,22,23,24,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],pt=[52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],bt=[1,150],wt=[1,158],mt=[1,159],yt=[1,160],vt=[1,161],xt=[1,145],kt=[1,146],_t=[1,141],At=[1,142],Et=[1,153],Tt=[1,154],Ct=[1,155],St=[1,156],It=[1,157],Mt=[1,162],Dt=[1,163],Ot=[1,148],Lt=[1,151],Nt=[1,147],Pt=[1,144],Bt=[20,21,22,23,38,42,44,46,48,52,66,67,87,88,89,90,91,92,96,106,107,110,112,113,119,120,121,122,123,124,125,126,127,128],Ft=[1,166],Rt=[20,21,22,23,26,52,66,67,92,106,107,110,112,113,123,124,125,126,127,128],jt=[20,21,22,23,24,26,38,40,41,42,52,56,58,60,62,64,66,67,68,70,72,73,75,77,81,82,87,88,89,90,91,92,93,96,106,107,110,112,113,114,115,123,124,125,126,127,128],$t=[12,21,22,24],zt=[22,107],qt=[1,251],Ht=[1,246],Ut=[1,247],Gt=[1,255],Yt=[1,252],Zt=[1,249],Wt=[1,248],Kt=[1,250],Xt=[1,253],Vt=[1,254],Qt=[1,256],Jt=[1,274],te=[20,21,23,107],ee=[20,21,22,23,66,67,87,103,106,107,110,111,112,113,114],ne={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,openDirective:6,typeDirective:7,closeDirective:8,separator:9,":":10,argDirective:11,open_directive:12,type_directive:13,arg_directive:14,close_directive:15,graphConfig:16,document:17,line:18,statement:19,SEMI:20,NEWLINE:21,SPACE:22,EOF:23,GRAPH:24,NODIR:25,DIR:26,FirstStmtSeperator:27,ending:28,endToken:29,spaceList:30,spaceListNewline:31,verticeStatement:32,styleStatement:33,linkStyleStatement:34,classDefStatement:35,classStatement:36,clickStatement:37,subgraph:38,text:39,SQS:40,SQE:41,end:42,direction:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,link:49,node:50,vertex:51,AMP:52,STYLE_SEPARATOR:53,idString:54,DOUBLECIRCLESTART:55,DOUBLECIRCLEEND:56,PS:57,PE:58,"(-":59,"-)":60,STADIUMSTART:61,STADIUMEND:62,SUBROUTINESTART:63,SUBROUTINEEND:64,VERTEX_WITH_PROPS_START:65,ALPHA:66,COLON:67,PIPE:68,CYLINDERSTART:69,CYLINDEREND:70,DIAMOND_START:71,DIAMOND_STOP:72,TAGEND:73,TRAPSTART:74,TRAPEND:75,INVTRAPSTART:76,INVTRAPEND:77,linkStatement:78,arrowText:79,TESTSTR:80,START_LINK:81,LINK:82,textToken:83,STR:84,MD_STR:85,keywords:86,STYLE:87,LINKSTYLE:88,CLASSDEF:89,CLASS:90,CLICK:91,DOWN:92,UP:93,textNoTags:94,textNoTagsToken:95,DEFAULT:96,stylesOpt:97,alphaNum:98,CALLBACKNAME:99,CALLBACKARGS:100,HREF:101,LINK_TARGET:102,HEX:103,numList:104,INTERPOLATE:105,NUM:106,COMMA:107,style:108,styleComponent:109,MINUS:110,UNIT:111,BRKT:112,DOT:113,PCT:114,TAGSTART:115,alphaNumToken:116,idStringToken:117,alphaNumStatement:118,direction_tb:119,direction_bt:120,direction_rl:121,direction_lr:122,PUNCTUATION:123,UNICODE_TEXT:124,PLUS:125,EQUALS:126,MULT:127,UNDERSCORE:128,graphCodeTokens:129,ARROW_CROSS:130,ARROW_POINT:131,ARROW_CIRCLE:132,ARROW_OPEN:133,QUOTE:134,$accept:0,$end:1},terminals_:{2:"error",10:":",12:"open_directive",13:"type_directive",14:"arg_directive",15:"close_directive",20:"SEMI",21:"NEWLINE",22:"SPACE",23:"EOF",24:"GRAPH",25:"NODIR",26:"DIR",38:"subgraph",40:"SQS",41:"SQE",42:"end",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",52:"AMP",53:"STYLE_SEPARATOR",55:"DOUBLECIRCLESTART",56:"DOUBLECIRCLEEND",57:"PS",58:"PE",59:"(-",60:"-)",61:"STADIUMSTART",62:"STADIUMEND",63:"SUBROUTINESTART",64:"SUBROUTINEEND",65:"VERTEX_WITH_PROPS_START",66:"ALPHA",67:"COLON",68:"PIPE",69:"CYLINDERSTART",70:"CYLINDEREND",71:"DIAMOND_START",72:"DIAMOND_STOP",73:"TAGEND",74:"TRAPSTART",75:"TRAPEND",76:"INVTRAPSTART",77:"INVTRAPEND",80:"TESTSTR",81:"START_LINK",82:"LINK",84:"STR",85:"MD_STR",87:"STYLE",88:"LINKSTYLE",89:"CLASSDEF",90:"CLASS",91:"CLICK",92:"DOWN",93:"UP",96:"DEFAULT",99:"CALLBACKNAME",100:"CALLBACKARGS",101:"HREF",102:"LINK_TARGET",103:"HEX",105:"INTERPOLATE",106:"NUM",107:"COMMA",110:"MINUS",111:"UNIT",112:"BRKT",113:"DOT",114:"PCT",115:"TAGSTART",119:"direction_tb",120:"direction_bt",121:"direction_rl",122:"direction_lr",123:"PUNCTUATION",124:"UNICODE_TEXT",125:"PLUS",126:"EQUALS",127:"MULT",128:"UNDERSCORE",130:"ARROW_CROSS",131:"ARROW_POINT",132:"ARROW_CIRCLE",133:"ARROW_OPEN",134:"QUOTE"},productions_:[0,[3,1],[3,2],[5,4],[5,6],[6,1],[7,1],[11,1],[8,1],[4,2],[17,0],[17,2],[18,1],[18,1],[18,1],[18,1],[18,1],[16,2],[16,2],[16,2],[16,3],[28,2],[28,1],[29,1],[29,1],[29,1],[27,1],[27,1],[27,2],[31,2],[31,2],[31,1],[31,1],[30,2],[30,1],[19,2],[19,2],[19,2],[19,2],[19,2],[19,2],[19,9],[19,6],[19,4],[19,1],[19,2],[19,2],[19,1],[9,1],[9,1],[9,1],[32,3],[32,4],[32,2],[32,1],[50,1],[50,5],[50,3],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,8],[51,4],[51,4],[51,4],[51,6],[51,4],[51,4],[51,4],[51,4],[51,4],[51,1],[49,2],[49,3],[49,3],[49,1],[49,3],[78,1],[79,3],[39,1],[39,2],[39,1],[39,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[86,1],[94,1],[94,2],[35,5],[35,5],[36,5],[37,2],[37,4],[37,3],[37,5],[37,2],[37,4],[37,4],[37,6],[37,2],[37,4],[37,2],[37,4],[37,4],[37,6],[33,5],[33,5],[34,5],[34,5],[34,9],[34,9],[34,7],[34,7],[104,1],[104,3],[97,1],[97,3],[108,1],[108,2],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[109,1],[83,1],[83,1],[83,1],[83,1],[83,1],[83,1],[95,1],[95,1],[95,1],[95,1],[54,1],[54,2],[98,1],[98,2],[118,1],[118,1],[118,1],[118,1],[43,1],[43,1],[43,1],[43,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[116,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[117,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1],[129,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 5:i.parseDirective("%%{","open_directive");break;case 6:i.parseDirective(a[s],"type_directive");break;case 7:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 8:i.parseDirective("}%%","close_directive","flowchart");break;case 10:case 36:case 37:case 38:case 39:case 40:this.$=[];break;case 11:(!Array.isArray(a[s])||a[s].length>0)&&a[s-1].push(a[s]),this.$=a[s-1];break;case 12:case 97:case 153:case 155:case 156:case 78:case 151:this.$=a[s];break;case 19:i.setDirection("TB"),this.$="TB";break;case 20:i.setDirection(a[s-1]),this.$=a[s-1];break;case 35:this.$=a[s-1].nodes;break;case 41:this.$=i.addSubGraph(a[s-6],a[s-1],a[s-4]);break;case 42:this.$=i.addSubGraph(a[s-3],a[s-1],a[s-3]);break;case 43:this.$=i.addSubGraph(void 0,a[s-1],void 0);break;case 45:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 46:case 47:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 51: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 52: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 53:this.$={stmt:a[s-1],nodes:a[s-1]};break;case 54:this.$={stmt:a[s],nodes:a[s]};break;case 55:case 124:case 126:this.$=[a[s]];break;case 56:this.$=a[s-4].concat(a[s]);break;case 57:this.$=[a[s-2]],i.setClass(a[s-2],a[s]);break;case 58:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"square");break;case 59:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"doublecircle");break;case 60:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"circle");break;case 61:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"ellipse");break;case 62:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"stadium");break;case 63:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"subroutine");break;case 64: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 65:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"cylinder");break;case 66:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"round");break;case 67:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"diamond");break;case 68:this.$=a[s-5],i.addVertex(a[s-5],a[s-2],"hexagon");break;case 69:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"odd");break;case 70:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"trapezoid");break;case 71:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"inv_trapezoid");break;case 72:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_right");break;case 73:this.$=a[s-3],i.addVertex(a[s-3],a[s-1],"lean_left");break;case 74:this.$=a[s],i.addVertex(a[s]);break;case 75:a[s-1].text=a[s],this.$=a[s-1];break;case 76:case 77:a[s-2].text=a[s-1],this.$=a[s-2];break;case 79: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 80:c=i.destructLink(a[s]);this.$={type:c.type,stroke:c.stroke,length:c.length};break;case 81:this.$=a[s-1];break;case 82:case 84:this.$={text:a[s],type:"text"};break;case 83:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 85:this.$={text:a[s],type:"markdown"};break;case 98:case 154:case 152:this.$=a[s-1]+""+a[s];break;case 99:case 100:this.$=a[s-4],i.addClass(a[s-2],a[s]);break;case 101:this.$=a[s-4],i.setClass(a[s-2],a[s]);break;case 102:case 110:this.$=a[s-1],i.setClickEvent(a[s-1],a[s]);break;case 103:case 111:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 104:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 105:this.$=a[s-4],i.setClickEvent(a[s-4],a[s-3],a[s-2]),i.setTooltip(a[s-4],a[s]);break;case 106:case 112:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 107:case 113:this.$=a[s-3],i.setLink(a[s-3],a[s-2]),i.setTooltip(a[s-3],a[s]);break;case 108:case 114:this.$=a[s-3],i.setLink(a[s-3],a[s-2],a[s]);break;case 109:case 115:this.$=a[s-5],i.setLink(a[s-5],a[s-4],a[s]),i.setTooltip(a[s-5],a[s-2]);break;case 116:this.$=a[s-4],i.addVertex(a[s-2],void 0,void 0,a[s]);break;case 117:case 119:this.$=a[s-4],i.updateLink(a[s-2],a[s]);break;case 118:this.$=a[s-4],i.updateLink([a[s-2]],a[s]);break;case 120:this.$=a[s-8],i.updateLinkInterpolate([a[s-6]],a[s-2]),i.updateLink([a[s-6]],a[s]);break;case 121:this.$=a[s-8],i.updateLinkInterpolate(a[s-6],a[s-2]),i.updateLink(a[s-6],a[s]);break;case 122:this.$=a[s-6],i.updateLinkInterpolate([a[s-4]],a[s]);break;case 123:this.$=a[s-6],i.updateLinkInterpolate(a[s-4],a[s]);break;case 125:case 127:a[s-2].push(a[s]),this.$=a[s-2];break;case 129:this.$=a[s-1]+a[s];break;case 157:this.$="v";break;case 158:this.$="-";break;case 159:this.$={stmt:"dir",value:"TB"};break;case 160:this.$={stmt:"dir",value:"BT"};break;case 161:this.$={stmt:"dir",value:"RL"};break;case 162:this.$={stmt:"dir",value:"LR"}}},table:[{3:1,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},{1:[3]},{1:[2,1]},{3:10,4:2,5:3,6:5,12:e,16:4,21:n,22:i,24:r},t(a,o,{17:11}),{7:12,13:[1,13]},{16:14,21:n,22:i,24:r},{16:15,21:n,22:i,24:r},{25:[1,16],26:[1,17]},{13:[2,5]},{1:[2,2]},{1:[2,9],18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{8:64,10:[1,65],15:$},t([10,15],[2,6]),t(a,[2,17]),t(a,[2,18]),t(a,[2,19]),{20:[1,68],21:[1,69],22:z,27:67,30:70},t(q,[2,11]),t(q,[2,12]),t(q,[2,13]),t(q,[2,14]),t(q,[2,15]),t(q,[2,16]),{9:72,20:H,21:U,23:G,49:73,78:77,81:[1,78],82:[1,79]},{9:80,20:H,21:U,23:G},{9:81,20:H,21:U,23:G},{9:82,20:H,21:U,23:G},{9:83,20:H,21:U,23:G},{9:84,20:H,21:U,23:G},{9:86,20:H,21:U,22:[1,85],23:G},t(q,[2,44]),{45:[1,87]},{47:[1,88]},t(q,[2,47]),t(Y,[2,54],{30:89,22:z}),{22:[1,90]},{22:[1,91]},{22:[1,92]},{22:[1,93]},{26:Z,52:W,66:K,67:X,84:[1,97],92:V,98:96,99:[1,94],101:[1,95],106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(q,[2,159]),t(q,[2,160]),t(q,[2,161]),t(q,[2,162]),t(ut,[2,55],{53:[1,116]}),t(lt,[2,74],{117:129,40:[1,117],52:p,55:[1,118],57:[1,119],59:[1,120],61:[1,121],63:[1,122],65:[1,123],66:b,67:w,69:[1,124],71:[1,125],73:[1,126],74:[1,127],76:[1,128],92:_,96:A,106:E,107:T,110:C,112:S,113:I,123:N,124:P,125:B,126:F,127:R,128:j}),t(ht,[2,151]),t(ht,[2,176]),t(ht,[2,177]),t(ht,[2,178]),t(ht,[2,179]),t(ht,[2,180]),t(ht,[2,181]),t(ht,[2,182]),t(ht,[2,183]),t(ht,[2,184]),t(ht,[2,185]),t(ht,[2,186]),t(ht,[2,187]),t(ht,[2,188]),t(ht,[2,189]),t(ht,[2,190]),t(ht,[2,191]),{9:130,20:H,21:U,23:G},{11:131,14:[1,132]},t(ft,[2,8]),t(a,[2,20]),t(a,[2,26]),t(a,[2,27]),{21:[1,133]},t(dt,[2,34],{30:134,22:z}),t(q,[2,35]),{50:135,51:45,52:p,54:46,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},t(gt,[2,48]),t(gt,[2,49]),t(gt,[2,50]),t(pt,[2,78],{79:136,68:[1,138],80:[1,137]}),{22:bt,24:wt,26:mt,38:yt,39:139,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t([52,66,67,68,80,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,80]),t(q,[2,36]),t(q,[2,37]),t(q,[2,38]),t(q,[2,39]),t(q,[2,40]),{22:bt,24:wt,26:mt,38:yt,39:164,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(Bt,o,{17:165}),t(q,[2,45]),t(q,[2,46]),t(Y,[2,53],{52:Ft}),{26:Z,52:W,66:K,67:X,92:V,98:167,103:[1,168],106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{96:[1,169],104:170,106:[1,171]},{26:Z,52:W,66:K,67:X,92:V,96:[1,172],98:173,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{26:Z,52:W,66:K,67:X,92:V,98:174,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,102],{22:[1,175],100:[1,176]}),t(ft,[2,106],{22:[1,177]}),t(ft,[2,110],{116:100,118:179,22:[1,178],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,112],{22:[1,180]}),t(Rt,[2,153]),t(Rt,[2,155]),t(Rt,[2,156]),t(Rt,[2,157]),t(Rt,[2,158]),t(jt,[2,163]),t(jt,[2,164]),t(jt,[2,165]),t(jt,[2,166]),t(jt,[2,167]),t(jt,[2,168]),t(jt,[2,169]),t(jt,[2,170]),t(jt,[2,171]),t(jt,[2,172]),t(jt,[2,173]),t(jt,[2,174]),t(jt,[2,175]),{52:p,54:181,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},{22:bt,24:wt,26:mt,38:yt,39:182,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:183,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:185,42:vt,52:W,57:[1,184],66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:186,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:187,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:188,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{66:[1,189]},{22:bt,24:wt,26:mt,38:yt,39:190,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:191,42:vt,52:W,66:K,67:X,71:[1,192],73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:193,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:194,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:195,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ht,[2,152]),t($t,[2,3]),{8:196,15:$},{15:[2,7]},t(a,[2,28]),t(dt,[2,33]),t(Y,[2,51],{30:197,22:z}),t(pt,[2,75],{22:[1,198]}),{22:[1,199]},{22:bt,24:wt,26:mt,38:yt,39:200,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,81:kt,82:[1,201],83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(jt,[2,82]),t(jt,[2,84]),t(jt,[2,85]),t(jt,[2,141]),t(jt,[2,142]),t(jt,[2,143]),t(jt,[2,144]),t(jt,[2,145]),t(jt,[2,146]),t(jt,[2,147]),t(jt,[2,148]),t(jt,[2,149]),t(jt,[2,150]),t(jt,[2,86]),t(jt,[2,87]),t(jt,[2,88]),t(jt,[2,89]),t(jt,[2,90]),t(jt,[2,91]),t(jt,[2,92]),t(jt,[2,93]),t(jt,[2,94]),t(jt,[2,95]),t(jt,[2,96]),{9:204,20:H,21:U,22:bt,23:G,24:wt,26:mt,38:yt,40:[1,203],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,205],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{22:z,30:206},{22:[1,207],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:[1,208]},{22:[1,209]},{22:[1,210],107:[1,211]},t(zt,[2,124]),{22:[1,212]},{22:[1,213],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:[1,214],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:179,123:it,124:rt,125:at,126:ot,127:st,128:ct},{84:[1,215]},t(ft,[2,104],{22:[1,216]}),{84:[1,217],102:[1,218]},{84:[1,219]},t(Rt,[2,154]),{84:[1,220],102:[1,221]},t(ut,[2,57],{117:129,52:p,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,123:N,124:P,125:B,126:F,127:R,128:j}),{22:bt,24:wt,26:mt,38:yt,41:[1,222],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,56:[1,223],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:224,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,58:[1,225],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,60:[1,226],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,62:[1,227],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,64:[1,228],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{67:[1,229]},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,70:[1,230],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,72:[1,231],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,39:232,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,41:[1,233],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,75:[1,234],77:[1,235],81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,73:xt,75:[1,237],77:[1,236],81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{9:238,20:H,21:U,23:G},t(Y,[2,52],{52:Ft}),t(pt,[2,77]),t(pt,[2,76]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,68:[1,239],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(pt,[2,79]),t(jt,[2,83]),{22:bt,24:wt,26:mt,38:yt,39:240,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(Bt,o,{17:241}),t(q,[2,43]),{51:242,52:p,54:46,66:b,67:w,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,123:N,124:P,125:B,126:F,127:R,128:j},{22:qt,66:Ht,67:Ut,87:Gt,97:243,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:257,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:258,103:Yt,105:[1,259],106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:260,103:Yt,105:[1,261],106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{106:[1,262]},{22:qt,66:Ht,67:Ut,87:Gt,97:263,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:264,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{26:Z,52:W,66:K,67:X,92:V,98:265,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,103]),{84:[1,266]},t(ft,[2,107],{22:[1,267]}),t(ft,[2,108]),t(ft,[2,111]),t(ft,[2,113],{22:[1,268]}),t(ft,[2,114]),t(lt,[2,58]),t(lt,[2,59]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,58:[1,269],66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,66]),t(lt,[2,61]),t(lt,[2,62]),t(lt,[2,63]),{66:[1,270]},t(lt,[2,65]),t(lt,[2,67]),{22:bt,24:wt,26:mt,38:yt,42:vt,52:W,66:K,67:X,72:[1,271],73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,69]),t(lt,[2,70]),t(lt,[2,72]),t(lt,[2,71]),t(lt,[2,73]),t($t,[2,4]),t([22,52,66,67,92,96,106,107,110,112,113,123,124,125,126,127,128],[2,81]),{22:bt,24:wt,26:mt,38:yt,41:[1,272],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,273],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},t(ut,[2,56]),t(ft,[2,116],{107:Jt}),t(te,[2,126],{109:275,22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt}),t(ee,[2,128]),t(ee,[2,130]),t(ee,[2,131]),t(ee,[2,132]),t(ee,[2,133]),t(ee,[2,134]),t(ee,[2,135]),t(ee,[2,136]),t(ee,[2,137]),t(ee,[2,138]),t(ee,[2,139]),t(ee,[2,140]),t(ft,[2,117],{107:Jt}),t(ft,[2,118],{107:Jt}),{22:[1,276]},t(ft,[2,119],{107:Jt}),{22:[1,277]},t(zt,[2,125]),t(ft,[2,99],{107:Jt}),t(ft,[2,100],{107:Jt}),t(ft,[2,101],{116:100,118:179,26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,105]),{102:[1,278]},{102:[1,279]},{58:[1,280]},{68:[1,281]},{72:[1,282]},{9:283,20:H,21:U,23:G},t(q,[2,42]),{22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,108:284,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},t(ee,[2,129]),{26:Z,52:W,66:K,67:X,92:V,98:285,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},{26:Z,52:W,66:K,67:X,92:V,98:286,106:Q,107:J,110:tt,112:et,113:nt,116:100,118:98,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(ft,[2,109]),t(ft,[2,115]),t(lt,[2,60]),{22:bt,24:wt,26:mt,38:yt,39:287,42:vt,52:W,66:K,67:X,73:xt,81:kt,83:140,84:_t,85:At,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},t(lt,[2,68]),t(Bt,o,{17:288}),t(te,[2,127],{109:275,22:qt,66:Ht,67:Ut,87:Gt,103:Yt,106:Zt,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt}),t(ft,[2,122],{116:100,118:179,22:[1,289],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),t(ft,[2,123],{116:100,118:179,22:[1,290],26:Z,52:W,66:K,67:X,92:V,106:Q,107:J,110:tt,112:et,113:nt,123:it,124:rt,125:at,126:ot,127:st,128:ct}),{22:bt,24:wt,26:mt,38:yt,41:[1,291],42:vt,52:W,66:K,67:X,73:xt,81:kt,83:202,86:152,87:Et,88:Tt,89:Ct,90:St,91:It,92:Mt,93:Dt,95:143,96:Ot,106:Q,107:J,110:Lt,112:et,113:nt,114:Nt,115:Pt,116:149,123:it,124:rt,125:at,126:ot,127:st,128:ct},{18:18,19:19,20:s,21:c,22:u,23:l,32:24,33:25,34:26,35:27,36:28,37:29,38:h,42:[1,292],43:31,44:f,46:d,48:g,50:35,51:45,52:p,54:46,66:b,67:w,87:m,88:y,89:v,90:x,91:k,92:_,96:A,106:E,107:T,110:C,112:S,113:I,117:47,119:M,120:D,121:O,122:L,123:N,124:P,125:B,126:F,127:R,128:j},{22:qt,66:Ht,67:Ut,87:Gt,97:293,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},{22:qt,66:Ht,67:Ut,87:Gt,97:294,103:Yt,106:Zt,108:244,109:245,110:Wt,111:Kt,112:Xt,113:Vt,114:Qt},t(lt,[2,64]),t(q,[2,41]),t(ft,[2,120],{107:Jt}),t(ft,[2,121],{107:Jt})],defaultActions:{2:[2,1],9:[2,5],10:[2,2],132:[2,7]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},ie={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(){var t=this.next();return t||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("open_directive"),12;case 1:return this.begin("type_directive"),13;case 2:return this.popState(),this.begin("arg_directive"),10;case 3:return this.popState(),this.popState(),15;case 4:return 14;case 5:return this.begin("acc_title"),44;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),46;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 14:case 16:case 25:case 28:case 31:case 34:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:this.begin("md_string");break;case 13:return"MD_STR";case 15:this.begin("string");break;case 17:return"STR";case 18:return 87;case 19:return 96;case 20:return 88;case 21:return 105;case 22:return 89;case 23:return 90;case 24:this.begin("href");break;case 26:return 101;case 27:this.begin("callbackname");break;case 29:this.popState(),this.begin("callbackargs");break;case 30:return 99;case 32:return 100;case 33:this.begin("click");break;case 35:return 91;case 36:case 37:case 38:return t.lex.firstGraph()&&this.begin("dir"),24;case 39:return 38;case 40:return 42;case 41:case 42:case 43:case 44:return 102;case 45:return this.popState(),25;case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:case 55:return this.popState(),26;case 56:return 119;case 57:return 120;case 58:return 121;case 59:return 122;case 60:return 106;case 61:return 112;case 62:return 53;case 63:return 67;case 64:return 52;case 65:return 20;case 66:return 107;case 67:return 127;case 68:case 69:case 70:case 71:return 82;case 72:case 73:case 74:return 81;case 75:return 59;case 76:return 60;case 77:return 61;case 78:return 62;case 79:return 63;case 80:return 64;case 81:return 65;case 82:return 69;case 83:return 70;case 84:return 55;case 85:return 56;case 86:return 110;case 87:return 113;case 88:return 128;case 89:return 125;case 90:return 114;case 91:case 92:return 126;case 93:return 115;case 94:return 73;case 95:return 93;case 96:return"SEP";case 97:return 92;case 98:return 66;case 99:return 75;case 100:return 74;case 101:return 77;case 102:return 76;case 103:return 123;case 104:return 124;case 105:return 68;case 106:return 57;case 107:return 58;case 108:return 40;case 109:return 41;case 110:return 71;case 111:return 72;case 112:return 134;case 113:return 21;case 114:return 22;case 115:return 23}},rules:[/^(?:%%\{)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\n)*))/,/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:["][`])/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\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<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*~~[\~]+\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:\(-)/,/^(?:-\))/,/^(?:\(\[)/,/^(?:\]\))/,/^(?:\[\[)/,/^(?:\]\])/,/^(?:\[\|)/,/^(?:\[\()/,/^(?:\)\])/,/^(?:\(\(\()/,/^(?:\)\)\))/,/^(?:-)/,/^(?:\.)/,/^(?:[\_])/,/^(?:\+)/,/^(?:%)/,/^(?:=)/,/^(?:=)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:[A-Za-z]+)/,/^(?:\\\])/,/^(?:\[\/)/,/^(?:\/\])/,/^(?:\[\\)/,/^(?:[!"#$%&'*+,-.`?\\_/])/,/^(?:[\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:{close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[31,32],inclusive:!1},callbackname:{rules:[28,29,30],inclusive:!1},href:{rules:[25,26],inclusive:!1},click:{rules:[34,35],inclusive:!1},vertex:{rules:[],inclusive:!1},dir:{rules:[45,46,47,48,49,50,51,52,53,54,55],inclusive:!1},acc_descr_multiline:{rules:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},md_string:{rules:[13,14],inclusive:!1},string:{rules:[16,17],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,15,18,19,20,21,22,23,24,27,33,36,37,38,39,40,41,42,43,44,56,57,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,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115],inclusive:!0}}};function re(){this.yy={}}return ne.lexer=ie,re.prototype=ne,ne.Parser=re,new re}();a.parser=a;const o=a;let s,c,u=0,l=(0,r.c)(),h={},f=[],d={},g=[],p={},b={},w=0,m=!0,y=[];const v=t=>r.e.sanitizeText(t,l),x=function(t,e,n){r.m.parseDirective(this,t,e,n)},k=function(t){const e=Object.keys(h);for(const n of e)if(h[n].id===t)return h[n].domId;return t},_=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))},A=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)}))},D=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")},O=function(t){return b[t]},L=function(t,e,n){t.split(",").forEach((function(t){!function(t,e,n){let i=k(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)}))};y.push(j);const $=function(t="gen-1"){h={},d={},f=[],y=[j],g=[],p={},w=0,b=[],m=!0,c=t,(0,r.v)()},z=t=>{c=t||"gen-2"},q=function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},H=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(Y[G]=e,g[e].id===t)return{result:!0,count:0};let i=0,r=1;for(;i=0){const n=Z(t,e);if(n.result)return{result:!0,count:r+n.count};r+=n.count}i+=1}return{result:!1,count:r}},W=function(t){return Y[t]},K=function(){G=-1,g.length>0&&Z("none",g.length-1)},X=function(){return g},V=()=>!!m&&(m=!1,!0),Q=(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 r=0;r{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},J=(t,e)=>{let n=!1;return t.forEach((t=>{t.nodes.indexOf(e)>=0&&(n=!0)})),n},tt=(t,e)=>{const n=[];return t.nodes.forEach(((i,r)=>{J(e,i)||n.push(t.nodes[r])})),{nodes:n}},et={firstGraph:V},nt={parseDirective:x,defaultConfig:()=>r.G.flowchart,setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,addVertex:_,lookUpDomId:k,addLink:E,updateLinkInterpolate:T,updateLink:C,addClass:S,setDirection:I,setClass:M,setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(b["gen-1"===c?k(t):t]=v(e))}))},getTooltip:O,setClickEvent:L,setLink:D,bindFunctions:N,getDirection:P,getVertices:B,getEdges:F,getClasses:R,clear:$,setGen:z,defaultStyle:q,addSubGraph:H,getDepthFirstPos:W,indexNodes:K,getSubGraphs:X,destructLink:Q,lex:et,exists:J,makeUniq:tt,setDiagramTitle:r.r,getDiagramTitle:r.t},it=Object.freeze(Object.defineProperty({__proto__:null,addClass:S,addLink:E,addSingleLink:A,addSubGraph:H,addVertex:_,bindFunctions:N,clear:$,default:nt,defaultStyle:q,destructLink:Q,firstGraph:V,getClasses:R,getDepthFirstPos:W,getDirection:P,getEdges:F,getSubGraphs:X,getTooltip:O,getVertices:B,indexNodes:K,lex:et,lookUpDomId:k,parseDirective:x,setClass:M,setClickEvent:L,setDirection:I,setGen:z,setLink:D,updateLink:C,updateLinkInterpolate:T},Symbol.toStringTag,{value:"Module"}))},797:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return c}});var i=n(895),r=(n(8066),n(1504));n(8540),n(4734),n(9999),n(6227),n(1768),n(6421);n(8137);n(7474),n(6460);n(9980);r.c_6;var a=n(8489);n(7530),n(2510),n(6951),n(835);const o={},s=function(t){const e=Object.keys(t);for(const n of e)o[n]=t[n]},c={parser:i.p,db:i.f,renderer:a.f,styles:a.a,init:t=>{t.flowchart||(t.flowchart={}),t.flowchart.arrowMarkerAbsolute=t.arrowMarkerAbsolute,s(t.flowchart),i.f.clear(),i.f.setGen("gen-1")}}},8832:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return o}});var i=n(895),r=n(8489),a=n(8540);n(1504),n(8066),n(1768),n(835),n(7530),n(2510),n(6951);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.q)({flowchart:{arrowMarkerAbsolute:t.arrowMarkerAbsolute}}),r.f.setConf(t.flowchart),i.f.clear(),i.f.setGen("gen-2")}}},5248:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return x}});var i=n(895),r=n(1504),a=n(3430),o=n(8540),s=n(7697);n(7530),n(2510),n(6951);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.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,m={style:"",labelStyle:""};switch(m.minlen=e.length||1,"arrow_open"===e.type?m.arrowhead="none":m.arrowhead="normal",m.arrowTypeStart="arrow_open",m.arrowTypeEnd="arrow_open",e.type){case"double_arrow_cross":m.arrowTypeStart="arrow_cross";case"arrow_cross":m.arrowTypeEnd="arrow_cross";break;case"double_arrow_point":m.arrowTypeStart="arrow_point";case"arrow_point":m.arrowTypeEnd="arrow_point";break;case"double_arrow_circle":m.arrowTypeStart="arrow_circle";case"arrow_circle":m.arrowTypeEnd="arrow_circle"}let y="",v="";switch(e.stroke){case"normal":y="fill:none;",void 0!==c&&(y=c),void 0!==u&&(v=u),m.thickness="normal",m.pattern="solid";break;case"dotted":m.thickness="normal",m.pattern="dotted",m.style="fill:none;stroke-width:2px;stroke-dasharray:3;";break;case"thick":m.thickness="thick",m.pattern="solid",m.style="stroke-width: 3.5px;fill:none;"}if(void 0!==e.style){const t=(0,o.k)(e.style);y=t.style,v=t.labelStyle}m.style=m.style+=y,m.labelStyle=m.labelStyle+=v,void 0!==e.interpolate?m.curve=(0,o.o)(e.interpolate,r.c_6):void 0!==t.defaultInterpolate?m.curve=(0,o.o)(t.defaultInterpolate,r.c_6):m.curve=(0,o.o)(l.curve,r.c_6),void 0===e.text?void 0!==e.style&&(m.arrowheadStyle="fill: #333"):(m.arrowheadStyle="fill: #333",m.labelpos="c"),m.labelType=e.labelType,m.label=e.text.replace(o.e.lineBreakRegex,"\n"),void 0===e.style&&(m.style=m.style||"stroke: #333; stroke-width: 1.5px;fill:none;"),m.labelStyle=m.labelStyle.replace("color:","fill:"),m.id=p,m.classes="flowchart-link "+b+" "+w;const x=(0,a.f)(s,m),{source:k,target:_,sourceId:A,targetId:E}=((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:A,targetId:E,labelEl:x,labels:[{width:m.width,height:m.height,orgWidth:m.width,orgHeight:m.height,text:m.label,layoutOptions:{"edgeLabels.inline":"true","edgeLabels.placement":"CENTER"}}],edgeData:m})})),n},p=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}},b=function(t,e,n,i,a){const o=p(e.sourceId,e.targetId,a),s=e.sections[0].startPoint,c=e.sections[0].endPoint,u=(e.sections[0].bendPoints?e.sections[0].bendPoints:[]).map((t=>[t.x+o.x,t.y+o.y])),l=[[s.x+o.x,s.y+o.y],...u,[c.x+o.x,c.y+o.y]],h=(0,r.jvg)().curve(r.c_6),f=t.insert("path").attr("d",h(l)).attr("class","path "+n.classes).attr("fill","none"),d=t.insert("g").attr("class","edgeLabel"),g=(0,r.Ys)(d.node().appendChild(e.labelEl)),b=g.node().firstChild.getBoundingClientRect();g.attr("width",b.width),g.attr("height",b.height),d.attr("transform",`translate(${e.labels[0].x+o.x}, ${e.labels[0].y+o.y})`),function(t,e,n,i){let r="";switch(i&&(r=window.location.protocol+"//"+window.location.host+window.location.pathname+window.location.search,r=r.replace(/\(/g,"\\("),r=r.replace(/\)/g,"\\)")),e.arrowTypeStart){case"arrow_cross":t.attr("marker-start","url("+r+"#"+n+"-crossStart)");break;case"arrow_point":t.attr("marker-start","url("+r+"#"+n+"-pointStart)");break;case"arrow_barb":t.attr("marker-start","url("+r+"#"+n+"-barbStart)");break;case"arrow_circle":t.attr("marker-start","url("+r+"#"+n+"-circleStart)");break;case"aggregation":t.attr("marker-start","url("+r+"#"+n+"-aggregationStart)");break;case"extension":t.attr("marker-start","url("+r+"#"+n+"-extensionStart)");break;case"composition":t.attr("marker-start","url("+r+"#"+n+"-compositionStart)");break;case"dependency":t.attr("marker-start","url("+r+"#"+n+"-dependencyStart)");break;case"lollipop":t.attr("marker-start","url("+r+"#"+n+"-lollipopStart)")}switch(e.arrowTypeEnd){case"arrow_cross":t.attr("marker-end","url("+r+"#"+n+"-crossEnd)");break;case"arrow_point":t.attr("marker-end","url("+r+"#"+n+"-pointEnd)");break;case"arrow_barb":t.attr("marker-end","url("+r+"#"+n+"-barbEnd)");break;case"arrow_circle":t.attr("marker-end","url("+r+"#"+n+"-circleEnd)");break;case"aggregation":t.attr("marker-end","url("+r+"#"+n+"-aggregationEnd)");break;case"extension":t.attr("marker-end","url("+r+"#"+n+"-extensionEnd)");break;case"composition":t.attr("marker-end","url("+r+"#"+n+"-compositionEnd)");break;case"dependency":t.attr("marker-end","url("+r+"#"+n+"-dependencyEnd)");break;case"lollipop":t.attr("marker-end","url("+r+"#"+n+"-lollipopEnd)")}}(f,n,i.type,i.arrowMarkerAbsolute)},w=(t,e)=>{t.forEach((t=>{t.children||(t.children=[]);const n=e.childrenById[t.id];n&&n.forEach((e=>{t.children.push(h[e])})),w(t.children,e)}))},m=(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&&m(t+n.x,e+n.y,n.children,i,r,a,s+1)}))},y={getClasses:function(t,e){o.l.info("Extracting classes"),e.db.clear("ver-2");try{return e.parse(t),e.db.getClasses()}catch(t){return{}}},draw:async function(t,e,n,i){var s;i.db.clear(),h={},u={},i.db.setGen("gen-2"),i.parser.parse(t);const l=(0,r.Ys)("body").append("div").attr("style","height:400px").attr("id","cy");let f={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":f.layoutOptions["elk.direction"]="UP";break;case"TB":f.layoutOptions["elk.direction"]="DOWN";break;case"LR":f.layoutOptions["elk.direction"]="RIGHT";break;case"RL":f.layoutOptions["elk.direction"]="LEFT"}const{securityLevel:d,flowchart:p}=(0,o.c)();let y;"sandbox"===d&&(y=(0,r.Ys)("#i"+e));const v="sandbox"===d?(0,r.Ys)(y.nodes()[0].contentDocument.body):(0,r.Ys)("body"),x="sandbox"===d?y.nodes()[0].contentDocument:document,k=v.select(`[id="${e}"]`);(0,a.a)(k,["point","circle","cross"],i.type,i.arrowMarkerAbsolute);const _=i.db.getVertices();let A;const E=i.db.getSubGraphs();o.l.info("Subgraphs - ",E);for(let t=E.length-1;t>=0;t--)A=E[t],i.db.addVertex(A.id,{text:A.title,type:A.labelType},"group",void 0,A.classes,A.dir);const T=k.insert("g").attr("class","subgraphs"),C=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);f=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 m={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 y,v;if("group"!==m.type)v=await(0,a.e)(u,m,n.dir),y=v.node().getBBox();else{i.createElementNS("http://www.w3.org/2000/svg","text");const{shapeSvg:t,bbox:e}=await(0,a.l)(u,m,void 0,!0);d.width=e.width,d.wrappingWidth=(0,o.c)().flowchart.wrappingWidth,d.height=e.height,d.labelNode=t.node(),m.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==y?void 0:y.width,height:null==y?void 0:y.height,type:n.type,el:v,parent:s.parentById[n.id]};h[m.id]=x}))),c}(_,e,v,x,i,C,f);const S=k.insert("g").attr("class","edges edgePath"),I=i.db.getEdges();f=g(I,i,f,k);Object.keys(h).forEach((t=>{const e=h[t];e.parent||f.children.push(e),void 0!==C.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)})),w(f.children,C),o.l.info("after layout",JSON.stringify(f,null,2));const M=await c.layout(f);m(0,0,M.children,k,T,i,0),o.l.info("after layout",M),null==(s=M.edges)||s.map((t=>{b(S,t,t.edgeData,i,C)})),(0,o.p)({},k,p.diagramPadding,p.useMaxWidth),l.remove()}},v=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`,x={db:i.d,renderer:y,parser:i.p,styles:v}},2418:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return W}});var i=n(2510),r=n(7530),a=n(7547),o=n(5466),s=n(7664),c=n(8540),u=n(1504),l=(n(6951),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,5],i=[7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,21],h=[1,22],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],m=[1,31],y=[1,34],v=[5,7,9,11,12,13,14,15,16,17,18,19,20,21,23,25,26,28,35,40],x={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,gantt:5,document:6,EOF:7,line:8,SPACE:9,statement:10,NL:11,dateFormat:12,inclusiveEndDates:13,topAxis:14,axisFormat:15,tickInterval:16,excludes:17,includes:18,todayMarker:19,title:20,acc_title:21,acc_title_value:22,acc_descr:23,acc_descr_value:24,acc_descr_multiline_value:25,section:26,clickStatement:27,taskTxt:28,taskData:29,openDirective:30,typeDirective:31,closeDirective:32,":":33,argDirective:34,click:35,callbackname:36,callbackargs:37,href:38,clickStatementDebug:39,open_directive:40,type_directive:41,arg_directive:42,close_directive:43,$accept:0,$end:1},terminals_:{2:"error",5:"gantt",7:"EOF",9:"SPACE",11:"NL",12:"dateFormat",13:"inclusiveEndDates",14:"topAxis",15:"axisFormat",16:"tickInterval",17:"excludes",18:"includes",19:"todayMarker",20:"title",21:"acc_title",22:"acc_title_value",23:"acc_descr",24:"acc_descr_value",25:"acc_descr_multiline_value",26:"section",28:"taskTxt",29:"taskData",33:":",35:"click",36:"callbackname",37:"callbackargs",38:"href",40:"open_directive",41:"type_directive",42:"arg_directive",43:"close_directive"},productions_:[0,[3,2],[3,3],[6,0],[6,2],[8,2],[8,1],[8,1],[8,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,2],[10,1],[4,4],[4,6],[27,2],[27,3],[27,3],[27,4],[27,3],[27,4],[27,2],[39,2],[39,3],[39,3],[39,4],[39,3],[39,4],[39,2],[30,1],[31,1],[34,1],[32,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 2:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 9:i.setDateFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 10:i.enableInclusiveEndDates(),this.$=a[s].substr(18);break;case 11:i.TopAxis(),this.$=a[s].substr(8);break;case 12:i.setAxisFormat(a[s].substr(11)),this.$=a[s].substr(11);break;case 13:i.setTickInterval(a[s].substr(13)),this.$=a[s].substr(13);break;case 14:i.setExcludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 15:i.setIncludes(a[s].substr(9)),this.$=a[s].substr(9);break;case 16:i.setTodayMarker(a[s].substr(12)),this.$=a[s].substr(12);break;case 17:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 18:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 19:case 20:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 21:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 23:i.addTask(a[s-1],a[s]),this.$="task";break;case 27:this.$=a[s-1],i.setClickEvent(a[s-1],a[s],null);break;case 28:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 29:this.$=a[s-2],i.setClickEvent(a[s-2],a[s-1],null),i.setLink(a[s-2],a[s]);break;case 30:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setLink(a[s-3],a[s]);break;case 31:this.$=a[s-2],i.setClickEvent(a[s-2],a[s],null),i.setLink(a[s-2],a[s-1]);break;case 32:this.$=a[s-3],i.setClickEvent(a[s-3],a[s-1],a[s]),i.setLink(a[s-3],a[s-2]);break;case 33:this.$=a[s-1],i.setLink(a[s-1],a[s]);break;case 34:case 40:this.$=a[s-1]+" "+a[s];break;case 35:case 36:case 38:this.$=a[s-2]+" "+a[s-1]+" "+a[s];break;case 37:case 39:this.$=a[s-3]+" "+a[s-2]+" "+a[s-1]+" "+a[s];break;case 41:i.parseDirective("%%{","open_directive");break;case 42:i.parseDirective(a[s],"type_directive");break;case 43:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 44:i.parseDirective("}%%","close_directive","gantt")}},table:[{3:1,4:2,5:e,30:4,40:n},{1:[3]},{3:6,4:2,5:e,30:4,40:n},t(i,[2,3],{6:7}),{31:8,41:[1,9]},{41:[2,41]},{1:[2,1]},{4:30,7:[1,10],8:11,9:[1,12],10:13,11:[1,14],12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:m,40:n},{32:32,33:[1,33],43:y},t([33,43],[2,42]),t(i,[2,8],{1:[2,2]}),t(i,[2,4]),{4:30,10:35,12:r,13:a,14:o,15:s,16:c,17:u,18:l,19:h,20:f,21:d,23:g,25:p,26:b,27:28,28:w,30:4,35:m,40:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,9]),t(i,[2,10]),t(i,[2,11]),t(i,[2,12]),t(i,[2,13]),t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),{22:[1,36]},{24:[1,37]},t(i,[2,20]),t(i,[2,21]),t(i,[2,22]),{29:[1,38]},t(i,[2,24]),{36:[1,39],38:[1,40]},{11:[1,41]},{34:42,42:[1,43]},{11:[2,44]},t(i,[2,5]),t(i,[2,18]),t(i,[2,19]),t(i,[2,23]),t(i,[2,27],{37:[1,44],38:[1,45]}),t(i,[2,33],{36:[1,46]}),t(v,[2,25]),{32:47,43:y},{43:[2,43]},t(i,[2,28],{38:[1,48]}),t(i,[2,29]),t(i,[2,31],{37:[1,49]}),{11:[1,50]},t(i,[2,30]),t(i,[2,32]),t(v,[2,26])],defaultActions:{5:[2,41],6:[2,1],34:[2,44],43:[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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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"),40;case 1:return this.begin("type_directive"),41;case 2:return this.popState(),this.begin("arg_directive"),33;case 3:return this.popState(),this.popState(),43;case 4:return 42;case 5:return this.begin("acc_title"),21;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),23;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 20:case 23:case 26:case 29:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:case 13:case 14:case 16:case 17:case 18:break;case 15:return 11;case 19:this.begin("href");break;case 21:return 38;case 22:this.begin("callbackname");break;case 24:this.popState(),this.begin("callbackargs");break;case 25:return 36;case 27:return 37;case 28:this.begin("click");break;case 30:return 35;case 31:return 5;case 32:return 12;case 33:return 13;case 34:return 14;case 35:return 15;case 36:return 16;case 37:return 18;case 38:return 17;case 39:return 19;case 40:return"date";case 41:return 20;case 42:return"accDescription";case 43:return 26;case 44:return 28;case 45:return 29;case 46:return 33;case 47:return 7;case 48:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/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,/^(?:\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},callbackargs:{rules:[26,27],inclusive:!1},callbackname:{rules:[23,24,25],inclusive:!1},href:{rules:[20,21],inclusive:!1},click:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,22,28,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}());l.parser=l;const h=l;r.extend(a),r.extend(o),r.extend(s);let f,d="",g="",p="",b=[],w=[],m={},y=[],v=[],x="",k="";const _=["active","done","crit","milestone"];let A=[],E=!1,T=!1,C=0;const S=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]=M(a,o,e,n,i);t.endTime=s.toDate(),t.renderEndTime=c},M=function(t,e,n,i,r){let a=!1,o=null;for(;t<=e;)a||(o=e.toDate()),a=S(t,n,i,r),a&&(e=e.add(1,"d")),t=t.add(1,"d");return[e,o]},D=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=$(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}},O=function(t){const e=/^(\d+(?:\.\d+)?)([Mdhmswy]|ms)$/.exec(t.trim());return null!==e?[Number.parseFloat(e[1]),e[2]]:[NaN,"ms"]},L=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]=O(n);if(!Number.isNaN(s)){const t=o.add(s,c);t.isValid()&&(o=t)}return o.toDate()};let N=0;const P=function(t){return void 0===t?(N+=1,"task"+N):t};let B,F,R=[];const j={},$=function(t){const e=j[t];return R[e]},z=function(){const t=function(t){const e=R[t];let n="";switch(R[t].raw.startTime.type){case"prevTaskEnd":{const t=$(e.prevTaskId);e.startTime=t.endTime;break}case"getStartDate":n=D(0,d,R[t].raw.startTime.startData),n&&(R[t].startTime=n)}return R[t].startTime&&(R[t].endTime=L(R[t].startTime,d,R[t].raw.endTime.data,E),R[t].endTime&&(R[t].processed=!0,R[t].manualEndTime=r(R[t].raw.endTime.data,"YYYY-MM-DD",!0).isValid(),I(R[t],d,w,b))),R[t].processed};let e=!0;for(const[n,i]of R.entries())t(n),e=e&&i.processed;return e},q=function(t,e){t.split(",").forEach((function(t){let n=$(t);void 0!==n&&n.classes.push(e)}))},H=function(t,e){A.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={parseDirective:function(t,e,n){c.m.parseDirective(this,t,e,n)},getConfig:()=>(0,c.c)().gantt,clear:function(){y=[],v=[],x="",A=[],N=0,B=void 0,F=void 0,R=[],d="",g="",k="",f=void 0,p="",b=[],w=[],E=!1,T=!1,C=0,m={},(0,c.v)()},setDateFormat:function(t){d=t},getDateFormat:function(){return d},enableInclusiveEndDates:function(){E=!0},endDatesAreInclusive:function(){return E},enableTopAxis:function(){T=!0},topAxisEnabled:function(){return T},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.r,getDiagramTitle:c.t,setDisplayMode:function(t){k=t},getDisplayMode:function(){return k},setAccDescription:c.b,getAccDescription:c.a,addSection:function(t){x=t,y.push(t)},getSections:function(){return y},getTasks:function(){let t=z();let e=0;for(;!t&&e<10;)t=z(),e++;return v=R,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={};G(i,r,_);for(let t=0;t{c.u.runFunc(e,...i)}))}(t,e,n)})),q(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!==$(t)&&(H(t,(()=>{window.open(n,"_self")})),m[t]=n)})),q(t,"clickable")},getLinks:function(){return m},bindFunctions:function(t){A.forEach((function(e){e(t)}))},parseDuration:O,isInvalidDate:S};function G(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 Y=(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 Z;const W={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);Z=f.parentElement.offsetWidth,void 0===Z&&(Z=1200),void 0!==a.useWidth&&(Z=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 "+Z+" "+b);const w=l.select(`[id="${e}"]`),m=(0,u.Xf)().domain([(0,u.VV$)(d,(function(t){return t.startTime})),(0,u.Fp7)(d,(function(t){return t.endTime}))]).rangeRound([0,Z-a.leftPadding-a.rightPadding]);d.sort((function(t,e){const n=t.startTime,i=e.startTime;let r=0;return n>i?r=1:nt?Math.min(t,e):e),0),f=c.reduce(((t,{endTime:e})=>t?Math.max(t,e):e),0),d=i.db.getDateFormat();if(!h||!f)return;const g=[];let p=null,b=r(h);for(;b.valueOf()<=f;)i.db.isInvalidDate(b,d,u,l)?p?p.end=b:p={start:b,end:b}:p&&(g.push(p),p=null),b=b.add(1,"d");w.append("g").selectAll("rect").data(g).enter().append("rect").attr("id",(function(t){return"exclude-"+t.start.format("YYYY-MM-DD")})).attr("x",(function(t){return m(t.start)+n})).attr("y",a.gridLineStartPadding).attr("width",(function(t){const e=t.end.add(1,"day");return m(e)-m(t.start)})).attr("height",s-e-a.gridLineStartPadding).attr("transform-origin",(function(e,i){return(m(e.start)+n+.5*(m(e.end)-m(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)(m).tickSize(-r+e+a.gridLineStartPadding).tickFormat((0,u.i$Z)(i.db.getAxisFormat()||a.axisFormat||"%Y-%m-%d"));const s=/^([1-9]\d*)(minute|hour|day|week|month)$/.exec(i.db.getTickInterval()||a.tickInterval);if(null!==s){const t=s[1];switch(s[2]){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(u.NGh.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)(m).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];switch(s[2]){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(u.NGh.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();d.append("rect").attr("id",(function(t){return t.id})).attr("rx",3).attr("ry",3).attr("x",(function(t){return t.milestone?m(t.startTime)+o+.5*(m(t.endTime)-m(t.startTime))-.5*s:m(t.startTime)+o})).attr("y",(function(t,e){return t.order*n+r})).attr("width",(function(t){return t.milestone?s:m(t.renderEndTime||t.endTime)-m(t.startTime)})).attr("height",s).attr("transform-origin",(function(t,e){return e=t.order,(m(t.startTime)+o+.5*(m(t.endTime)-m(t.startTime))).toString()+"px "+(e*n+r+.5*s).toString()+"px"})).attr("class",(function(t){const e="task";let n="";t.classes.length>0&&(n=t.classes.join(" "));let i=0;for(const[e,n]of g.entries())t.type===n&&(i=e%a.numberSectionStyles);let r="";return t.active?t.crit?r+=" activeCrit":r=" active":t.done?r=t.crit?" doneCrit":" done":t.crit&&(r+=" crit"),0===r.length&&(r=" task"),t.milestone&&(r=" milestone "+r),r+=i,r+=" "+n,e+r})),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=m(t.startTime),n=m(t.renderEndTime||t.endTime);t.milestone&&(e+=.5*(m(t.endTime)-m(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=m(t.startTime);let n=m(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}));if("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`}},8787:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return R}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),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,7],i=[1,5],r=[1,9],a=[1,6],o=[2,6],s=[1,16],c=[6,8,14,20,22,24,25,27,29,32,37,40,50,55],u=[8,14,20,22,24,25,27,29,32,37,40],l=[8,13,14,20,22,24,25,27,29,32,37,40],h=[1,26],f=[6,8,14,50,55],d=[8,14,55],g=[1,53],p=[1,52],b=[8,14,30,33,35,38,55],w=[1,67],m=[1,68],y=[1,69],v=[8,14,33,35,42,55],x={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,directive:5,GG:6,document:7,EOF:8,":":9,DIR:10,options:11,body:12,OPT:13,NL:14,line:15,statement:16,commitStatement:17,mergeStatement:18,cherryPickStatement:19,acc_title:20,acc_title_value:21,acc_descr:22,acc_descr_value:23,acc_descr_multiline_value:24,section:25,branchStatement:26,CHECKOUT:27,ref:28,BRANCH:29,ORDER:30,NUM:31,CHERRY_PICK:32,COMMIT_ID:33,STR:34,COMMIT_TAG:35,EMPTYSTR:36,MERGE:37,COMMIT_TYPE:38,commitType:39,COMMIT:40,commit_arg:41,COMMIT_MSG:42,NORMAL:43,REVERSE:44,HIGHLIGHT:45,openDirective:46,typeDirective:47,closeDirective:48,argDirective:49,open_directive:50,type_directive:51,arg_directive:52,close_directive:53,ID:54,";":55,$accept:0,$end:1},terminals_:{2:"error",6:"GG",8:"EOF",9:":",10:"DIR",13:"OPT",14:"NL",20:"acc_title",21:"acc_title_value",22:"acc_descr",23:"acc_descr_value",24:"acc_descr_multiline_value",25:"section",27:"CHECKOUT",29:"BRANCH",30:"ORDER",31:"NUM",32:"CHERRY_PICK",33:"COMMIT_ID",34:"STR",35:"COMMIT_TAG",36:"EMPTYSTR",37:"MERGE",38:"COMMIT_TYPE",40:"COMMIT",42:"COMMIT_MSG",43:"NORMAL",44:"REVERSE",45:"HIGHLIGHT",50:"open_directive",51:"type_directive",52:"arg_directive",53:"close_directive",54:"ID",55:";"},productions_:[0,[3,2],[3,2],[3,3],[3,4],[3,5],[7,0],[7,2],[11,2],[11,1],[12,0],[12,2],[15,2],[15,1],[16,1],[16,1],[16,1],[16,2],[16,2],[16,1],[16,1],[16,1],[16,2],[26,2],[26,4],[19,3],[19,5],[19,5],[19,5],[19,5],[18,2],[18,4],[18,4],[18,4],[18,6],[18,6],[18,6],[18,6],[18,6],[18,6],[18,8],[18,8],[18,8],[18,8],[18,8],[18,8],[17,2],[17,3],[17,3],[17,5],[17,5],[17,3],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,3],[17,5],[17,5],[17,5],[17,5],[17,5],[17,5],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,7],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[17,9],[41,0],[41,1],[39,1],[39,1],[39,1],[5,3],[5,5],[46,1],[47,1],[49,1],[48,1],[28,1],[28,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:return a[s];case 4:return a[s-1];case 5:return i.setDirection(a[s-3]),a[s-1];case 7:i.setOptions(a[s-1]),this.$=a[s];break;case 8:a[s-1]+=a[s],this.$=a[s-1];break;case 10:this.$=[];break;case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 12:this.$=a[s-1];break;case 17:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 18:case 19:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 20:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 22:i.checkout(a[s]);break;case 23:i.branch(a[s]);break;case 24:i.branch(a[s-2],a[s]);break;case 25:i.cherryPick(a[s],"",void 0);break;case 26:i.cherryPick(a[s-2],"",a[s]);break;case 27:case 29:i.cherryPick(a[s-2],"","");break;case 28:i.cherryPick(a[s],"",a[s-2]);break;case 30:i.merge(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-2],"","",a[s]);break;case 34:i.merge(a[s-4],a[s],"",a[s-2]);break;case 35:i.merge(a[s-4],"",a[s],a[s-2]);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-2],"",a[s]);break;case 39:i.merge(a[s-4],a[s],a[s-2],"");break;case 40:i.merge(a[s-6],a[s-4],a[s-2],a[s]);break;case 41:i.merge(a[s-6],a[s],a[s-4],a[s-2]);break;case 42:i.merge(a[s-6],a[s-4],a[s],a[s-2]);break;case 43:i.merge(a[s-6],a[s-2],a[s-4],a[s]);break;case 44:i.merge(a[s-6],a[s],a[s-2],a[s-4]);break;case 45:i.merge(a[s-6],a[s-2],a[s],a[s-4]);break;case 46:i.commit(a[s]);break;case 47:i.commit("","",i.commitType.NORMAL,a[s]);break;case 48:i.commit("","",a[s],"");break;case 49:i.commit("","",a[s],a[s-2]);break;case 50:i.commit("","",a[s-2],a[s]);break;case 51:i.commit("",a[s],i.commitType.NORMAL,"");break;case 52:i.commit("",a[s-2],i.commitType.NORMAL,a[s]);break;case 53:i.commit("",a[s],i.commitType.NORMAL,a[s-2]);break;case 54:i.commit("",a[s-2],a[s],"");break;case 55:i.commit("",a[s],a[s-2],"");break;case 56:i.commit("",a[s-4],a[s-2],a[s]);break;case 57:i.commit("",a[s-4],a[s],a[s-2]);break;case 58:i.commit("",a[s-2],a[s-4],a[s]);break;case 59:i.commit("",a[s],a[s-4],a[s-2]);break;case 60:i.commit("",a[s],a[s-2],a[s-4]);break;case 61:i.commit("",a[s-2],a[s],a[s-4]);break;case 62:i.commit(a[s],"",i.commitType.NORMAL,"");break;case 63:i.commit(a[s],"",i.commitType.NORMAL,a[s-2]);break;case 64:i.commit(a[s-2],"",i.commitType.NORMAL,a[s]);break;case 65:i.commit(a[s-2],"",a[s],"");break;case 66:i.commit(a[s],"",a[s-2],"");break;case 67:i.commit(a[s],a[s-2],i.commitType.NORMAL,"");break;case 68:i.commit(a[s-2],a[s],i.commitType.NORMAL,"");break;case 69:i.commit(a[s-4],"",a[s-2],a[s]);break;case 70:i.commit(a[s-4],"",a[s],a[s-2]);break;case 71:i.commit(a[s-2],"",a[s-4],a[s]);break;case 72:i.commit(a[s],"",a[s-4],a[s-2]);break;case 73:i.commit(a[s],"",a[s-2],a[s-4]);break;case 74:i.commit(a[s-2],"",a[s],a[s-4]);break;case 75:i.commit(a[s-4],a[s],a[s-2],"");break;case 76:i.commit(a[s-4],a[s-2],a[s],"");break;case 77:i.commit(a[s-2],a[s],a[s-4],"");break;case 78:i.commit(a[s],a[s-2],a[s-4],"");break;case 79:i.commit(a[s],a[s-4],a[s-2],"");break;case 80:i.commit(a[s-2],a[s-4],a[s],"");break;case 81:i.commit(a[s-4],a[s],i.commitType.NORMAL,a[s-2]);break;case 82:i.commit(a[s-4],a[s-2],i.commitType.NORMAL,a[s]);break;case 83:i.commit(a[s-2],a[s],i.commitType.NORMAL,a[s-4]);break;case 84:i.commit(a[s],a[s-2],i.commitType.NORMAL,a[s-4]);break;case 85:i.commit(a[s],a[s-4],i.commitType.NORMAL,a[s-2]);break;case 86:i.commit(a[s-2],a[s-4],i.commitType.NORMAL,a[s]);break;case 87:i.commit(a[s-6],a[s-4],a[s-2],a[s]);break;case 88:i.commit(a[s-6],a[s-4],a[s],a[s-2]);break;case 89:i.commit(a[s-6],a[s-2],a[s-4],a[s]);break;case 90:i.commit(a[s-6],a[s],a[s-4],a[s-2]);break;case 91:i.commit(a[s-6],a[s-2],a[s],a[s-4]);break;case 92:i.commit(a[s-6],a[s],a[s-2],a[s-4]);break;case 93:i.commit(a[s-4],a[s-6],a[s-2],a[s]);break;case 94:i.commit(a[s-4],a[s-6],a[s],a[s-2]);break;case 95:i.commit(a[s-2],a[s-6],a[s-4],a[s]);break;case 96:i.commit(a[s],a[s-6],a[s-4],a[s-2]);break;case 97:i.commit(a[s-2],a[s-6],a[s],a[s-4]);break;case 98:i.commit(a[s],a[s-6],a[s-2],a[s-4]);break;case 99:i.commit(a[s],a[s-4],a[s-2],a[s-6]);break;case 100:i.commit(a[s-2],a[s-4],a[s],a[s-6]);break;case 101:i.commit(a[s],a[s-2],a[s-4],a[s-6]);break;case 102:i.commit(a[s-2],a[s],a[s-4],a[s-6]);break;case 103:i.commit(a[s-4],a[s-2],a[s],a[s-6]);break;case 104:i.commit(a[s-4],a[s],a[s-2],a[s-6]);break;case 105:i.commit(a[s-2],a[s-4],a[s-6],a[s]);break;case 106:i.commit(a[s],a[s-4],a[s-6],a[s-2]);break;case 107:i.commit(a[s-2],a[s],a[s-6],a[s-4]);break;case 108:i.commit(a[s],a[s-2],a[s-6],a[s-4]);break;case 109:i.commit(a[s-4],a[s-2],a[s-6],a[s]);break;case 110:i.commit(a[s-4],a[s],a[s-6],a[s-2]);break;case 111:this.$="";break;case 112:this.$=a[s];break;case 113:this.$=i.commitType.NORMAL;break;case 114:this.$=i.commitType.REVERSE;break;case 115:this.$=i.commitType.HIGHLIGHT;break;case 118:i.parseDirective("%%{","open_directive");break;case 119:i.parseDirective(a[s],"type_directive");break;case 120:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 121:i.parseDirective("}%%","close_directive","gitGraph")}},table:[{3:1,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{1:[3]},{3:10,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{3:11,4:2,5:3,6:e,8:n,14:i,46:8,50:r,55:a},{7:12,8:o,9:[1,13],10:[1,14],11:15,14:s},t(c,[2,124]),t(c,[2,125]),t(c,[2,126]),{47:17,51:[1,18]},{51:[2,118]},{1:[2,1]},{1:[2,2]},{8:[1,19]},{7:20,8:o,11:15,14:s},{9:[1,21]},t(u,[2,10],{12:22,13:[1,23]}),t(l,[2,9]),{9:[1,25],48:24,53:h},t([9,53],[2,119]),{1:[2,3]},{8:[1,27]},{7:28,8:o,11:15,14:s},{8:[2,7],14:[1,31],15:29,16:30,17:32,18:33,19:34,20:[1,35],22:[1,36],24:[1,37],25:[1,38],26:39,27:[1,40],29:[1,44],32:[1,43],37:[1,42],40:[1,41]},t(l,[2,8]),t(f,[2,116]),{49:45,52:[1,46]},t(f,[2,121]),{1:[2,4]},{8:[1,47]},t(u,[2,11]),{4:48,8:n,14:i,55:a},t(u,[2,13]),t(d,[2,14]),t(d,[2,15]),t(d,[2,16]),{21:[1,49]},{23:[1,50]},t(d,[2,19]),t(d,[2,20]),t(d,[2,21]),{28:51,34:g,54:p},t(d,[2,111],{41:54,33:[1,57],34:[1,59],35:[1,55],38:[1,56],42:[1,58]}),{28:60,34:g,54:p},{33:[1,61],35:[1,62]},{28:63,34:g,54:p},{48:64,53:h},{53:[2,120]},{1:[2,5]},t(u,[2,12]),t(d,[2,17]),t(d,[2,18]),t(d,[2,22]),t(b,[2,122]),t(b,[2,123]),t(d,[2,46]),{34:[1,65]},{39:66,43:w,44:m,45:y},{34:[1,70]},{34:[1,71]},t(d,[2,112]),t(d,[2,30],{33:[1,72],35:[1,74],38:[1,73]}),{34:[1,75]},{34:[1,76],36:[1,77]},t(d,[2,23],{30:[1,78]}),t(f,[2,117]),t(d,[2,47],{33:[1,80],38:[1,79],42:[1,81]}),t(d,[2,48],{33:[1,83],35:[1,82],42:[1,84]}),t(v,[2,113]),t(v,[2,114]),t(v,[2,115]),t(d,[2,51],{35:[1,85],38:[1,86],42:[1,87]}),t(d,[2,62],{33:[1,90],35:[1,88],38:[1,89]}),{34:[1,91]},{39:92,43:w,44:m,45:y},{34:[1,93]},t(d,[2,25],{35:[1,94]}),{33:[1,95]},{33:[1,96]},{31:[1,97]},{39:98,43:w,44:m,45:y},{34:[1,99]},{34:[1,100]},{34:[1,101]},{34:[1,102]},{34:[1,103]},{34:[1,104]},{39:105,43:w,44:m,45:y},{34:[1,106]},{34:[1,107]},{39:108,43:w,44:m,45:y},{34:[1,109]},t(d,[2,31],{35:[1,111],38:[1,110]}),t(d,[2,32],{33:[1,113],35:[1,112]}),t(d,[2,33],{33:[1,114],38:[1,115]}),{34:[1,116],36:[1,117]},{34:[1,118]},{34:[1,119]},t(d,[2,24]),t(d,[2,49],{33:[1,120],42:[1,121]}),t(d,[2,53],{38:[1,122],42:[1,123]}),t(d,[2,63],{33:[1,125],38:[1,124]}),t(d,[2,50],{33:[1,126],42:[1,127]}),t(d,[2,55],{35:[1,128],42:[1,129]}),t(d,[2,66],{33:[1,131],35:[1,130]}),t(d,[2,52],{38:[1,132],42:[1,133]}),t(d,[2,54],{35:[1,134],42:[1,135]}),t(d,[2,67],{35:[1,137],38:[1,136]}),t(d,[2,64],{33:[1,139],38:[1,138]}),t(d,[2,65],{33:[1,141],35:[1,140]}),t(d,[2,68],{35:[1,143],38:[1,142]}),{39:144,43:w,44:m,45:y},{34:[1,145]},{34:[1,146]},{34:[1,147]},{34:[1,148]},{39:149,43:w,44:m,45:y},t(d,[2,26]),t(d,[2,27]),t(d,[2,28]),t(d,[2,29]),{34:[1,150]},{34:[1,151]},{39:152,43:w,44:m,45:y},{34:[1,153]},{39:154,43:w,44:m,45:y},{34:[1,155]},{34:[1,156]},{34:[1,157]},{34:[1,158]},{34:[1,159]},{34:[1,160]},{34:[1,161]},{39:162,43:w,44:m,45:y},{34:[1,163]},{34:[1,164]},{34:[1,165]},{39:166,43:w,44:m,45:y},{34:[1,167]},{39:168,43:w,44:m,45:y},{34:[1,169]},{34:[1,170]},{34:[1,171]},{39:172,43:w,44:m,45:y},{34:[1,173]},t(d,[2,37],{35:[1,174]}),t(d,[2,38],{38:[1,175]}),t(d,[2,36],{33:[1,176]}),t(d,[2,39],{35:[1,177]}),t(d,[2,34],{38:[1,178]}),t(d,[2,35],{33:[1,179]}),t(d,[2,60],{42:[1,180]}),t(d,[2,73],{33:[1,181]}),t(d,[2,61],{42:[1,182]}),t(d,[2,84],{38:[1,183]}),t(d,[2,74],{33:[1,184]}),t(d,[2,83],{38:[1,185]}),t(d,[2,59],{42:[1,186]}),t(d,[2,72],{33:[1,187]}),t(d,[2,58],{42:[1,188]}),t(d,[2,78],{35:[1,189]}),t(d,[2,71],{33:[1,190]}),t(d,[2,77],{35:[1,191]}),t(d,[2,57],{42:[1,192]}),t(d,[2,85],{38:[1,193]}),t(d,[2,56],{42:[1,194]}),t(d,[2,79],{35:[1,195]}),t(d,[2,80],{35:[1,196]}),t(d,[2,86],{38:[1,197]}),t(d,[2,70],{33:[1,198]}),t(d,[2,81],{38:[1,199]}),t(d,[2,69],{33:[1,200]}),t(d,[2,75],{35:[1,201]}),t(d,[2,76],{35:[1,202]}),t(d,[2,82],{38:[1,203]}),{34:[1,204]},{39:205,43:w,44:m,45:y},{34:[1,206]},{34:[1,207]},{39:208,43:w,44:m,45:y},{34:[1,209]},{34:[1,210]},{34:[1,211]},{34:[1,212]},{39:213,43:w,44:m,45:y},{34:[1,214]},{39:215,43:w,44:m,45:y},{34:[1,216]},{34:[1,217]},{34:[1,218]},{34:[1,219]},{34:[1,220]},{34:[1,221]},{34:[1,222]},{39:223,43:w,44:m,45:y},{34:[1,224]},{34:[1,225]},{34:[1,226]},{39:227,43:w,44:m,45:y},{34:[1,228]},{39:229,43:w,44:m,45:y},{34:[1,230]},{34:[1,231]},{34:[1,232]},{39:233,43:w,44:m,45:y},t(d,[2,40]),t(d,[2,42]),t(d,[2,41]),t(d,[2,43]),t(d,[2,45]),t(d,[2,44]),t(d,[2,101]),t(d,[2,102]),t(d,[2,99]),t(d,[2,100]),t(d,[2,104]),t(d,[2,103]),t(d,[2,108]),t(d,[2,107]),t(d,[2,106]),t(d,[2,105]),t(d,[2,110]),t(d,[2,109]),t(d,[2,98]),t(d,[2,97]),t(d,[2,96]),t(d,[2,95]),t(d,[2,93]),t(d,[2,94]),t(d,[2,92]),t(d,[2,91]),t(d,[2,90]),t(d,[2,89]),t(d,[2,87]),t(d,[2,88])],defaultActions:{9:[2,118],10:[2,1],11:[2,2],19:[2,3],27:[2,4],46:[2,120],47:[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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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"),50;case 1:return this.begin("type_directive"),51;case 2:return this.popState(),this.begin("arg_directive"),9;case 3:return this.popState(),this.popState(),53;case 4:return 52;case 5:return this.begin("acc_title"),20;case 6:return this.popState(),"acc_title_value";case 7:return this.begin("acc_descr"),22;case 8:return this.popState(),"acc_descr_value";case 9:this.begin("acc_descr_multiline");break;case 10:case 34:case 38:this.popState();break;case 11:return"acc_descr_multiline_value";case 12:return 14;case 13:case 14:break;case 15:return 6;case 16:return 40;case 17:return 33;case 18:return 38;case 19:return 42;case 20:return 43;case 21:return 44;case 22:return 45;case 23:return 35;case 24:return 29;case 25:return 30;case 26:return 37;case 27:return 32;case 28:return 27;case 29:case 30:return 10;case 31:return 9;case 32:return"CARET";case 33:this.begin("options");break;case 35:return 13;case 36:return 36;case 37:this.begin("string");break;case 39:return 34;case 40:return 31;case 41:return 54;case 42:return 8}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:#[^\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,/^(?:BT\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:[10,11],inclusive:!1},acc_descr:{rules:[8],inclusive:!1},acc_title:{rules:[6],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},options:{rules:[34,35],inclusive:!1},string:{rules:[38,39],inclusive:!1},INITIAL:{rules:[0,5,7,9,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,36,37,40,41,42,43],inclusive:!0}}};function _(){this.yy={}}return x.lexer=k,_.prototype=x,x.Parser=_,new _}());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.y)({length:7})}let w={};const m=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 y(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]];y(t,e,n),t.push(u[e.parents[1]])}else{if(0==e.parents.length)return;{const n=u[e.parents];y(t,e,n)}}v(t=function(t,e){const n=Object.create(null);return t.reduce(((t,i)=>{const r=e(i);return n[r]||(n[r]=!0,t.push(i)),t}),[])}(t,(t=>t.id)))}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},_={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},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},m(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:m,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.v)()},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.r,getDiagramTitle:i.t,commitType:k};let A={};const E=0,T=1,C=2,S=3,I=4;let M={},D={},O=[],L=0;const N=(t,e,n)=>{const r=(0,i.z)().gitGraph,a=t.append("g").attr("class","commit-bullets"),o=t.append("g").attr("class","commit-labels");let s=0;Object.keys(e).sort(((t,n)=>e[t].seq-e[n].seq)).forEach((t=>{const i=e[t],c=M[i.branch].pos,u=s+10;if(n){let t,e=void 0!==i.customType&&""!==i.customType?i.customType:i.type;switch(e){case E:t="commit-normal";break;case T:t="commit-reverse";break;case C:t="commit-highlight";break;case S:t="commit-merge";break;case I:t="commit-cherry-pick";break;default:t="commit-normal"}if(e===C){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${M[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${M[i.branch].index%8} ${t}-inner`)}else if(e===I)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",i.type===S?9:10),n.attr("class",`commit ${i.id} commit${M[i.branch].index%8}`),e===S){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${M[i.branch].index%8}`)}if(e===T){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${M[i.branch].index%8}`)}}}if(D[i.id]={x:s+10,y:c},n){const t=4,e=2;if(i.type!==I&&(i.customId&&i.type===S||i.type!==S)&&r.showCommitLabel){const t=o.append("g"),n=t.insert("rect").attr("class","commit-label-bkg"),a=t.append("text").attr("x",s).attr("y",c+25).attr("class","commit-label").text(i.id);let u=a.node().getBBox();if(n.attr("x",s+10-u.width/2-e).attr("y",c+13.5).attr("width",u.width+2*e).attr("height",u.height+2*e),a.attr("x",s+10-u.width/2),r.rotateCommitLabel){let e=-7.5-(u.width+10)/25*9.5,n=10+u.width/25*8.5;t.attr("transform","translate("+e+", "+n+") 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 u=a.node().getBBox();a.attr("x",s+10-u.width/2);const l=u.height/2,h=c-19.2;n.attr("class","tag-label-bkg").attr("points",`\n ${s-u.width/2-t/2},${h+e}\n ${s-u.width/2-t/2},${h-e}\n ${s+10-u.width/2-t},${h-l-e}\n ${s+10+u.width/2+t},${h-l-e}\n ${s+10+u.width/2+t},${h+l+e}\n ${s+10-u.width/2-t},${h+l+e}`),r.attr("cx",s-u.width/2+t/2).attr("cy",h).attr("r",1.5).attr("class","tag-hole")}}s+=50,s>L&&(L=s)}))},P=(t,e,n=0)=>{const i=t+Math.abs(t-e)/2;if(n>5)return i;if(O.every((t=>Math.abs(t-i)>=10)))return O.push(i),i;const r=Math.abs(t-e);return P(t,e-r/5,n+1)},B=(t,e,n,i)=>{const r=D[e.id],a=D[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=M[n.branch].index;if(o){c="A 10 10, 0, 0, 0,",u="A 10 10, 0, 0, 1,",l=10,h=10,f=M[n.branch].index;const t=r.ya.y&&(c="A 20 20, 0, 0, 0,",l=20,h=20,f=M[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=M[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)},F=(t,e)=>{const n=(0,i.z)().gitGraph,r=t.append("g");e.forEach(((t,e)=>{const i=e%8,a=M[t.name].pos,o=r.append("line");o.attr("x1",0),o.attr("y1",a),o.attr("x2",L),o.attr("y2",a),o.attr("class","branch branch"+i),O.push(a);const s=(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})(t.name),c=r.insert("rect"),u=r.insert("g").attr("class","branchLabel").insert("g").attr("class","label branch-label"+i);u.node().appendChild(s);let l=s.getBBox();c.attr("class","branchLabelBkg label"+i).attr("rx",4).attr("ry",4).attr("x",-l.width-4-(!0===n.rotateCommitLabel?30:0)).attr("y",-l.height/2+8).attr("width",l.width+18).attr("height",l.height+4),u.attr("transform","translate("+(-l.width-14-(!0===n.rotateCommitLabel?30:0))+", "+(a-l.height/2-1)+")"),c.attr("transform","translate(-19, "+(a-l.height/2)+")")}))},R={parser:o,db:_,renderer:{draw:function(t,e,n,a){M={},D={},A={},L=0,O=[];const o=(0,i.z)(),s=o.gitGraph;i.l.debug("in gitgraph renderer",t+"\n","id:",e,n),A=a.db.getCommits();const c=a.db.getBranchesAsObjArray();let u=0;c.forEach(((t,e)=>{M[t.name]={pos:u,index:e},u+=50+(s.rotateCommitLabel?40:0)}));const l=(0,r.Ys)(`[id="${e}"]`);N(l,A,!1),s.showBranches&&F(l,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=>{B(n,e[t],i,e)}))}))})(l,A),N(l,A,!0),i.u.insertTitle(l,"gitTitleText",s.titleTopMargin,a.db.getDiagramTitle()),(0,i.A)(void 0,l,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`}},113:function(t,e,n){"use strict";n.d(e,{r:function(){return _}});var i=n(1768),r=n(835),a=n(3430),o=n(8540),s=n(8066),c=n(1524),u=n(1504);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,m=(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&&m(n.graph,e+1)}}else o.l.debug("Done, no node has children",t.nodes())},y=(t,e)=>{if(0===e.length)return[];let n=Object.assign(e);return e.forEach((e=>{const i=t.children(e),r=y(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.n)((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.n)((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.n)((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.n)((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)=>{o.l.info("Graph in recursive render: XXX",r.c(e),s);const c=e.graph().rankdir;o.l.trace("Dir in recursive render - dir:",c);const u=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 h=u.insert("g").attr("class","clusters"),f=u.insert("g").attr("class","edgePaths"),d=u.insert("g").attr("class","edgeLabels"),g=u.insert("g").attr("class","nodes");await Promise.all(e.nodes().map((async function(t){const i=e.node(t);if(void 0!==s){const n=JSON.parse(JSON.stringify(s.clusterData));o.l.info("Setting data for cluster XXX (",t,") ",n,s),e.setNode(s.id,n),e.parent(t)||(o.l.trace("Setting parent",t,s.id),e.setParent(t,s.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(g,i.graph,n,e.node(t)),s=r.elem;(0,a.u)(i,s),i.diff=r.diff||0,o.l.info("Node bounds (abc123)",t,i,i.width,i.x,i.y),(0,a.s)(s,i),o.l.warn("Recursive render complete ",s,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)(g,e.node(t),c))}))),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)(d,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 p=0;return(t=>y(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)})(h,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)(f,t,i,l,n,e);(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&&(p=n.diff)})),{elem:u,diff:p}},_=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:",r.c(e)),((t,e)=>{!t||e>10?o.l.debug("Opting out, no graph "):(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=JSON.parse(JSON.stringify(n)),c=JSON.parse(JSON.stringify(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)),m(t,0),o.l.trace(l))})(e),o.l.warn("Graph after:",r.c(e)),await k(t,e,i)}},5891:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return c}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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}());a.parser=a;var o="",s=!1;const c={parser:a,db:{setMessage:t=>{i.l.debug("Setting message to: "+t),o=t},getMessage:()=>o,setInfo:t=>{s=t},getInfo:()=>s,clear:i.v},renderer:{draw:(t,e,n)=>{try{i.l.debug("Rendering info diagram\n"+t);const a=(0,i.c)().securityLevel;let o;"sandbox"===a&&(o=(0,r.Ys)("#i"+e));const s=("sandbox"===a?(0,r.Ys)(o.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);s.append("g").append("text").attr("x",100).attr("y",40).attr("class","version").attr("font-size","32px").style("text-anchor","middle").text("v "+n),s.attr("height",100),s.attr("width",400)}catch(t){i.l.error("Error while rendering info diagram"),i.l.error(t.message)}}},styles:()=>""}},7e3:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return L}});var i=n(8540),r=n(1504),a=n(2699),o=(n(7530),n(2510),n(6951),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,5],i=[6,9,11,17,18,20,22,23,24,26],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,20],l=[1,24],h=[4,6,9,11,17,18,20,22,23,24,26],f={trace:function(){},yy:{},symbols_:{error:2,start:3,journey:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,taskName:24,taskData:25,open_directive:26,type_directive:27,arg_directive:28,close_directive:29,$accept:0,$end:1},terminals_:{2:"error",4:"journey",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",24:"taskName",25:"taskData",26:"open_directive",27:"type_directive",28:"arg_directive",29:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,2],[10,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 16:i.addTask(a[s-1],a[s]),this.$="task";break;case 18:i.parseDirective("%%{","open_directive");break;case 19:i.parseDirective(a[s],"type_directive");break;case 20:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 21:i.parseDirective("}%%","close_directive","journey")}},table:[{3:1,4:e,7:3,12:4,26:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,26:n},{13:8,27:[1,9]},{27:[2,18]},{6:[1,10],7:21,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},{1:[2,2]},{14:22,15:[1,23],29:l},t([15,29],[2,19]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:21,10:25,12:4,17:r,18:a,20:o,22:s,23:c,24:u,26:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,26]},{21:[1,27]},t(i,[2,14]),t(i,[2,15]),{25:[1,28]},t(i,[2,17]),{11:[1,29]},{16:30,28:[1,31]},{11:[2,21]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(i,[2,16]),t(h,[2,9]),{14:32,29:l},{29:[2,20]},{11:[1,33]},t(h,[2,10])],defaultActions:{5:[2,18],7:[2,2],24:[2,21],31:[2,20]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},d={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(){var t=this.next();return t||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"),26;case 1:return this.begin("type_directive"),27;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),29;case 4:return 28;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 24;case 21:return 25;case 22:return 15;case 23:return 6;case 24:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23,24],inclusive:!0}}};function g(){this.yy={}}return f.lexer=d,g.prototype=f,f.Parser=g,new g}());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={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().journey,clear:function(){u.length=0,l.length=0,c="",h.length=0,(0,i.v)()},setDiagramTitle:i.r,getDiagramTitle:i.t,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();let 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=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`,p=function(t,e){return(0,a.d)(t,e)},b=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},w=function(t,e){return(0,a.f)(t,e)};let m=-1;const y=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 i=(0,r.Nb1)().startAngle(Math.PI/2).endAngle(Math.PI/2*3).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+2)+")")}(a):e.score<3?function(t){const i=(0,r.Nb1)().startAngle(3*Math.PI/2).endAngle(Math.PI/2*5).innerRadius(7.5).outerRadius(n/2.2);t.append("path").attr("class","mouth").attr("d",i).attr("transform","translate("+e.cx+","+(e.cy+7)+")")}(a):a.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,p(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};b(o,i),c+=10})),y(n)(e.task,o,s.x,s.y,s.width,s.height,{class:"task"},n,e.colour)},A=function(t){t.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")},E={};const T=(0,i.c)().journey,C=T.leftMargin,S={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;var c;this.sequenceItems.forEach((function(i){s++;const u=o.sequenceItems.length-s+1;o.updateVal(i,"starty",e-u*a.boxMargin,Math.min),o.updateVal(i,"stopy",r+u*a.boxMargin,Math.max),o.updateVal(S.data,"startx",t-u*a.boxMargin,Math.min),o.updateVal(S.data,"stopx",n+u*a.boxMargin,Math.max),"activation"!==c&&(o.updateVal(i,"startx",t-u*a.boxMargin,Math.min),o.updateVal(i,"stopx",n+u*a.boxMargin,Math.max),o.updateVal(S.data,"starty",e-u*a.boxMargin,Math.min),o.updateVal(S.data,"stopy",r+u*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(S.data,"startx",r,Math.min),this.updateVal(S.data,"starty",o,Math.min),this.updateVal(S.data,"stopx",a,Math.max),this.updateVal(S.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}},I=T.sectionFills,M=T.sectionColours,D=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=I[s%I.length],l=s%I.length,u=M[s%M.length];let o=0;const h=i.section;for(let t=n;t(E[e]&&(t[e]=E[e]),t)),{});i.x=n*r.taskMargin+n*r.width+C,i.y=o,i.width=r.diagramMarginX,i.height=r.diagramMarginY,i.colour=u,i.fill=c,i.num=l,i.actors=h,_(t,i,r),S.insert(i.x,i.y,i.x+i.width+r.taskMargin,450)}},O={setConf:function(t){Object.keys(t).forEach((function(e){T[e]=t[e]}))},draw:function(t,e,n,a){const o=(0,i.c)().journey;a.db.clear(),a.parser.parse(t+"\n");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");S.init();const l=u.select("#"+e);A(l);const h=a.db.getTasks(),f=a.db.getDiagramTitle(),d=a.db.getActors();for(const t in E)delete E[t];let g=0;d.forEach((t=>{E[t]={color:o.actorColours[g%o.actorColours.length],position:g},g++})),function(t){const e=(0,i.c)().journey;let n=60;Object.keys(E).forEach((i=>{const r=E[i].color,a={cx:20,cy:n,r:7,fill:r,stroke:"#000",pos:E[i].position};v(t,a);const o={x:40,y:n+7,fill:"#666",text:i,textMargin:5|e.boxTextMargin};k(t,o),n+=20}))}(l),S.insert(0,0,C,50*Object.keys(E).length),D(l,h,0);const p=S.getBounds();f&&l.append("text").text(f).attr("x",C).attr("font-size","4ex").attr("font-weight","bold").attr("y",25);const b=p.stopy-p.starty+2*o.diagramMarginY,w=C+p.stopx+2*o.diagramMarginX;(0,i.i)(l,b,w,o.useMaxWidth),l.append("line").attr("x1",C).attr("y1",4*o.height).attr("x2",w-C-4).attr("y2",4*o.height).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)");const m=f?70:0;l.attr("viewBox",`${p.startx} -25 ${w} ${b+m}`),l.attr("preserveAspectRatio","xMinYMin meet"),l.attr("height",b+m+25)}},L={parser:s,db:d,renderer:O,styles:g,init:t=>{O.setConf(t.journey),d.clear()}}},8540:function(t,e,n){"use strict";n.d(e,{A:function(){return $n},B:function(){return yi},C:function(){return xt},D:function(){return Ct},E:function(){return lr},F:function(){return si},G:function(){return tn},H:function(){return gr},I:function(){return On},J:function(){return Nn},K:function(){return Ir},Z:function(){return Qn},a:function(){return Sn},b:function(){return Cn},c:function(){return un},d:function(){return ft},e:function(){return wt},f:function(){return Je},g:function(){return Tn},h:function(){return di},i:function(){return bn},j:function(){return fi},k:function(){return ai},l:function(){return ot},m:function(){return yr},n:function(){return pt},o:function(){return ii},p:function(){return wn},q:function(){return cn},r:function(){return In},s:function(){return En},t:function(){return Mn},u:function(){return vi},v:function(){return An},w:function(){return li},x:function(){return bt},y:function(){return ci},z:function(){return Rn}});var i=n(9632),r=n(7530),a=n(2510),o=n(1504),s=n(6951),c=n(9297),u=n(5571);var 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)},h=n(852);var f=(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,m=i*b+s*w,y=r*b+u*w,v=a*b+l*w,x=o*d+f*(1-d);return(0,h.Z)(m,y,v,x)};var d=(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,f(n,t,e)},g=n(733),p=n(1778),b=n(7471),w=n(9828),m="comm",y="rule",v="decl",x=Math.abs,k=String.fromCharCode;Object.assign;function _(t){return t.trim()}function A(t,e,n){return t.replace(e,n)}function E(t,e){return t.indexOf(e)}function T(t,e){return 0|t.charCodeAt(e)}function C(t,e,n){return t.slice(e,n)}function S(t){return t.length}function I(t,e){return e.push(t),t}function M(t,e){for(var n="",i=0;i0?T(F,--P):0,L--,10===B&&(L=1,O--),B}function $(){return B=P2||U(B)>3?"":" "}function K(t,e){for(;--e&&$()&&!(B<48||B>102||B>57&&B<65||B>70&&B<97););return H(t,q()+(e<6&&32==z()&&32==$()))}function X(t){for(;$();)switch(B){case t:return P;case 34:case 39:34!==t&&39!==t&&X(B);break;case 40:41===t&&X(t);break;case 92:$()}return P}function V(t,e){for(;$()&&t+B!==57&&(t+B!==84||47!==z()););return"/*"+H(e,P-1)+"*"+k(47===t?t:$())}function Q(t){for(;!U(z());)$();return H(t,P)}function J(t){return Y(tt("",null,null,null,[""],t=G(t),0,[0],t))}function tt(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,m=0,y="",v=r,x=a,_=i,C=y;b;)switch(g=m,m=$()){case 40:if(108!=g&&58==T(C,h-1)){-1!=E(C+=A(Z(m),"&","&\f"),"&\f")&&(w=-1);break}case 34:case 39:case 91:C+=Z(m);break;case 9:case 10:case 13:case 32:C+=W(g);break;case 92:C+=K(q()-1,7);continue;case 47:switch(z()){case 42:case 47:I(nt(V($(),q()),e,n,c),c);break;default:C+="/"}break;case 123*p:s[u++]=S(C)*w;case 125*p:case 59:case 0:switch(m){case 0:case 125:b=0;case 59+l:-1==w&&(C=A(C,/\f/g,"")),d>0&&S(C)-h&&I(d>32?it(C+";",i,n,h-1,c):it(A(C," ","")+";",i,n,h-2,c),c);break;case 59:C+=";";default:if(I(_=et(C,e,n,u,l,r,s,y,v=[],x=[],h,a),a),123===m)if(0===l)tt(C,e,_,_,v,a,h,s,x);else switch(99===f&&110===T(C,3)?100:f){case 100:case 108:case 109:case 115:tt(t,_,_,i&&I(et(t,_,_,0,0,r,s,y,r,v=[],h,x),x),r,x,h,s,i?v:x);break;default:tt(C,_,_,_,[""],x,0,s,x)}}u=l=d=0,p=w=1,y=C="",h=o;break;case 58:h=1+S(C),d=g;default:if(p<1)if(123==m)--p;else if(125==m&&0==p++&&125==j())continue;switch(C+=k(m),m*p){case 38:w=l>0?1:(C+="\f",-1);break;case 44:s[u++]=(S(C)-1)*w,w=1;break;case 64:45===z()&&(C+=Z($())),f=z(),l=h=S(y=C+=Q(q())),m++;break;case 45:45===g&&2==S(C)&&(p=0)}}return a}function et(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[m]+" "+v:A(v,/&\f/g,d[m])))&&(c[w++]=k);return R(t,e,n,0===r?y:s,c,u,l,h)}function nt(t,e,n,i){return R(t,e,n,m,k(B),C(t,2,-2),0,i)}function it(t,e,n,i,r){return R(t,e,n,v,C(t,0,i),C(t,i+1,-1),i,r)}var rt=n(8403);const at={trace:0,debug:1,info:2,warn:3,error:4,fatal:5},ot={trace:(...t)=>{},debug:(...t)=>{},info:(...t)=>{},warn:(...t)=>{},error:(...t)=>{},fatal:(...t)=>{}},st=function(t="fatal"){let e=at.fatal;"string"==typeof t?(t=t.toLowerCase())in at&&(e=at[t]):"number"==typeof t&&(e=t),ot.trace=()=>{},ot.debug=()=>{},ot.info=()=>{},ot.warn=()=>{},ot.error=()=>{},ot.fatal=()=>{},e<=at.fatal&&(ot.fatal=console.error?console.error.bind(console,ct("FATAL"),"color: orange"):console.log.bind(console,"",ct("FATAL"))),e<=at.error&&(ot.error=console.error?console.error.bind(console,ct("ERROR"),"color: orange"):console.log.bind(console,"",ct("ERROR"))),e<=at.warn&&(ot.warn=console.warn?console.warn.bind(console,ct("WARN"),"color: orange"):console.log.bind(console,"",ct("WARN"))),e<=at.info&&(ot.info=console.info?console.info.bind(console,ct("INFO"),"color: lightblue"):console.log.bind(console,"",ct("INFO"))),e<=at.debug&&(ot.debug=console.debug?console.debug.bind(console,ct("DEBUG"),"color: lightgreen"):console.log.bind(console,"",ct("DEBUG"))),e<=at.trace&&(ot.trace=console.debug?console.debug.bind(console,ct("TRACE"),"color: lightgreen"):console.log.bind(console,"",ct("TRACE")))},ct=t=>`%c${r().format("ss.SSS")} : ${t} : `,ut=//gi,lt=t=>s.sanitize(t),ht=(t,e)=>{var n;if(!1!==(null==(n=e.flowchart)?void 0:n.htmlLabels)){const n=e.securityLevel;"antiscript"===n||"strict"===n?t=lt(t):"loose"!==n&&(t=(t=(t=gt(t)).replace(//g,">")).replace(/=/g,"="),t=dt(t))}return t},ft=(t,e)=>t?t=e.dompurifyConfig?s.sanitize(ht(t,e),e.dompurifyConfig).toString():s.sanitize(ht(t,e),{FORBID_TAGS:["style"]}).toString():t,dt=t=>t.replace(/#br#/g,"
"),gt=t=>t.replace(ut,"#br#"),pt=t=>!1!==t&&!["false","null","0"].includes(String(t).trim().toLowerCase()),bt=function(t){let e=t;if(t.split("~").length-1>=2){let t=e;do{e=t,t=e.replace(/~([^\s,:;]+)~/,"<$1>")}while(t!=e);return bt(t)}return e},wt={getRows:t=>{if(!t)return[""];return gt(t).replace(/\\n/g,"#br#").split("#br#")},sanitizeText:ft,sanitizeTextOrArray:(t,e)=>"string"==typeof t?ft(t,e):t.flat().map((t=>ft(t,e))),hasBreaks:t=>ut.test(t),splitBreaks:t=>t.split(ut),lineBreakRegex:ut,removeScript:lt,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:pt,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}),yt="#ffffff",vt="#f2f2f2";const xt=t=>{const e=new 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=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(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,g.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,g.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e};class kt{constructor(){this.primaryColor="#eee",this.contrast="#707070",this.secondaryColor=(0,p.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=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(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,p.Z)(this.contrast,55),this.border2=this.contrast,this.actorBorder=(0,p.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 _t={base:{getThemeVariables:t=>{const e=new 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||d(this.secondaryColor),this.tertiaryTextColor=this.tertiaryTextColor||d(this.tertiaryColor),this.lineColor=this.lineColor||d(this.background),this.arrowheadColor=this.arrowheadColor||d(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,g.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,g.Z)(this.secondaryColor,10),this.activationBkgColor=this.activationBkgColor||this.secondaryColor,this.sequenceNumberColor=this.sequenceNumberColor||d(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,p.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]}))}};return e.calculate(t),e}},dark:{getThemeVariables:t=>{const e=new class{constructor(){this.background="#333",this.primaryColor="#1f2020",this.secondaryColor=(0,p.Z)(this.primaryColor,16),this.tertiaryColor=l(this.primaryColor,{h:-160}),this.primaryBorderColor=d(this.background),this.secondaryBorderColor=mt(this.secondaryColor,this.darkMode),this.tertiaryBorderColor=mt(this.tertiaryColor,this.darkMode),this.primaryTextColor=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.tertiaryColor),this.lineColor=d(this.background),this.textColor=d(this.background),this.mainBkg="#1f2020",this.secondBkg="calculated",this.mainContrastColor="lightgrey",this.darkTextColor=(0,p.Z)(d("#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,g.Z)("#EAE8D9",30),this.altSectionBkgColor="calculated",this.sectionBkgColor2="#EAE8D9",this.excludeBkgColor=(0,g.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,p.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,p.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,p.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]}))}};return e.calculate(t),e}},default:{getThemeVariables:xt},forest:{getThemeVariables:t=>{const e=new 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,p.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=d(this.primaryColor),this.secondaryTextColor=d(this.secondaryColor),this.tertiaryTextColor=d(this.primaryColor),this.lineColor=d(this.background),this.textColor=d(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,g.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,g.Z)(this.secondaryColor,45),this.cScalePeer2=this.cScalePeer2||(0,g.Z)(this.tertiaryColor,40);for(let t=0;t{this[e]=t[e]})),this.updateColors(),e.forEach((e=>{this[e]=t[e]}))}};return e.calculate(t),e}},neutral:{getThemeVariables:t=>{const e=new kt;return e.calculate(t),e}}},At={theme:"default",themeVariables:_t.default.getThemeVariables(),themeCSS:void 0,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,deterministicIDSeed:void 0,flowchart:{titleTopMargin:25,diagramPadding:8,htmlLabels:!0,nodeSpacing:50,rankSpacing:50,curve:"basis",padding:15,useMaxWidth:!0,defaultRenderer:"dagre-wrapper",wrappingWidth:200},sequence:{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,useMaxWidth:!0,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,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:{titleTopMargin:25,barHeight:20,barGap:4,topPadding:50,rightPadding:75,leftPadding:75,gridLineStartPadding:35,fontSize:11,sectionFontSize:11,numberSectionStyles:4,displayMode:"",axisFormat:"%Y-%m-%d",tickInterval:void 0,useMaxWidth:!0,topAxis:!1,useWidth:void 0},journey:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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"]},timeline:{diagramMarginX:50,diagramMarginY:10,leftMargin:150,width:150,height:50,boxMargin:10,boxTextMargin:5,noteMargin:10,messageMargin:35,messageAlign:"center",bottomMarginAdj:1,useMaxWidth:!0,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},class:{titleTopMargin:25,arrowMarkerAbsolute:!1,dividerMargin:10,padding:5,textHeight:10,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},state:{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,useMaxWidth:!0,defaultRenderer:"dagre-wrapper"},er:{titleTopMargin:25,diagramPadding:20,layoutDirection:"TB",minEntityWidth:100,minEntityHeight:75,entityPadding:15,stroke:"gray",fill:"honeydew",fontSize:12,useMaxWidth:!0},pie:{useWidth:void 0,useMaxWidth:!0,textPosition:.75},quadrantChart:{chartWidth:500,chartHeight:500,titlePadding:10,titleFontSize:20,quadrantPadding:5,quadrantTextTopPadding:5,quadrantLabelFontSize:16,quadrantInternalBorderStrokeWidth:1,quadrantExternalBorderStrokeWidth:2,xAxisLabelPadding:5,xAxisLabelFontSize:16,xAxisPosition:"top",yAxisLabelPadding:5,yAxisLabelFontSize:16,yAxisPosition:"left",pointTextPadding:5,pointLabelFontSize:12,pointRadius:5,useMaxWidth:!0},requirement:{useWidth:void 0,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},gitGraph:{titleTopMargin:25,diagramPadding:8,nodeLabel:{width:75,height:100,x:-25,y:0},mainBranchName:"main",mainBranchOrder:0,showCommitLabel:!0,showBranches:!0,rotateCommitLabel:!0},c4:{useWidth:void 0,diagramMarginX:50,diagramMarginY:10,c4ShapeMargin:50,c4ShapePadding:20,width:216,height:60,boxMargin:10,useMaxWidth:!0,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,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}},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"},mindmap:{useMaxWidth:!0,padding:10,maxNodeWidth:200},fontSize:16};At.class&&(At.class.arrowMarkerAbsolute=At.arrowMarkerAbsolute),At.gitGraph&&(At.gitGraph.arrowMarkerAbsolute=At.arrowMarkerAbsolute);const Et=(t,e="")=>Object.keys(t).reduce(((n,i)=>Array.isArray(t[i])?n:"object"==typeof t[i]&&null!==t[i]?[...n,e+i,...Et(t[i],"")]:[...n,e+i]),[]),Tt=Et(At,""),Ct=At;function St(t){return null==t}var It={isNothing:St,isObject:function(t){return"object"==typeof t&&null!==t},toArray:function(t){return Array.isArray(t)?t:St(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 Nt(t,e){return It.repeat(" ",e-t.length)+t}var Pt=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=Lt(t.buffer,r[o-s],a[o-s],t.position-(r[o]-r[o-s]),h),u=It.repeat(" ",e.indent)+Nt((t.line-s+1).toString(),l)+" | "+c.str+"\n"+u;for(c=Lt(t.buffer,r[o],a[o],t.position,h),u+=It.repeat(" ",e.indent)+Nt((t.line+1).toString(),l)+" | "+c.str+"\n",u+=It.repeat("-",e.indent+l+3+c.pos)+"^\n",s=1;s<=e.linesAfter&&!(o+s>=a.length);s++)c=Lt(t.buffer,r[o+s],a[o+s],t.position-(r[o]-r[o+s]),h),u+=It.repeat(" ",e.indent)+Nt((t.line+s+1).toString(),l)+" | "+c.str+"\n";return u.replace(/\n$/,"")},Bt=["kind","multi","resolve","construct","instanceOf","predicate","represent","representName","defaultStyle","styleAliases"],Ft=["scalar","sequence","mapping"];var Rt=function(t,e){var n,i;if(e=e||{},Object.keys(e).forEach((function(e){if(-1===Bt.indexOf(e))throw new Ot('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===Ft.indexOf(this.kind))throw new Ot('Unknown kind "'+this.kind+'" is specified for "'+t+'" YAML type.')};function jt(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 $t(t){return this.extend(t)}$t.prototype.extend=function(t){var e=[],n=[];if(t instanceof Rt)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 Ot("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 Rt))throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.");if(t.loadKind&&"scalar"!==t.loadKind)throw new Ot("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 Ot("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 Rt))throw new Ot("Specified list of YAML types (or a single Type object) contains a non-Type object.")}));var i=Object.create($t.prototype);return i.implicit=(this.implicit||[]).concat(e),i.explicit=(this.explicit||[]).concat(n),i.compiledImplicit=jt(i,"implicit"),i.compiledExplicit=jt(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"]}}),Wt=new RegExp("^(?:[-+]?(?:[0-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?|\\.[0-9_]+(?:[eE][-+]?[0-9]+)?|[-+]?\\.(?:inf|Inf|INF)|\\.(?:nan|NaN|NAN))$");var Kt=/^[-+]?[0-9]+e/;var Xt=new Rt("tag:yaml.org,2002:float",{kind:"scalar",resolve:function(t){return null!==t&&!(!Wt.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||It.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(It.isNegativeZero(t))return"-0.0";return n=t.toString(10),Kt.test(n)?n.replace("e",".e"):n},defaultStyle:"lowercase"}),Vt=zt.extend({implicit:[qt,Ht,Zt,Xt]}),Qt=new RegExp("^([0-9][0-9][0-9][0-9])-([0-9][0-9])-([0-9][0-9])$"),Jt=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]))?))?$");var te=new Rt("tag:yaml.org,2002:timestamp",{kind:"scalar",resolve:function(t){return null!==t&&(null!==Qt.exec(t)||null!==Jt.exec(t))},construct:function(t){var e,n,i,r,a,o,s,c,u=0,l=null;if(null===(e=Qt.exec(t))&&(e=Jt.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()}});var ee=new Rt("tag:yaml.org,2002:merge",{kind:"scalar",resolve:function(t){return"<<"===t||null===t}}),ne="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r";var ie=new Rt("tag:yaml.org,2002:binary",{kind:"scalar",resolve:function(t){if(null===t)return!1;var e,n,i=0,r=t.length,a=ne;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=ne,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=ne;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}}),re=Object.prototype.hasOwnProperty,ae=Object.prototype.toString;var oe=new Rt("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 Se=new Array(256),Ie=new Array(256),Me=0;Me<256;Me++)Se[Me]=Te(Me)?1:0,Ie[Me]=Te(Me);function De(t,e){this.input=t,this.filename=e.filename||null,this.schema=e.schema||he,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 Oe(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=Pt(n),new Ot(e,n)}function Le(t,e){throw Oe(t,e)}function Ne(t,e){t.onWarning&&t.onWarning.call(null,Oe(t,e))}var Pe={YAML:function(t,e,n){var i,r,a;null!==t.version&&Le(t,"duplication of %YAML directive"),1!==n.length&&Le(t,"YAML directive accepts exactly one argument"),null===(i=/^([0-9]+)\.([0-9]+)$/.exec(n[0]))&&Le(t,"ill-formed argument of the YAML directive"),r=parseInt(i[1],10),a=parseInt(i[2],10),1!==r&&Le(t,"unacceptable YAML version of the document"),t.version=n[0],t.checkLineBreaks=a<2,1!==a&&2!==a&&Ne(t,"unsupported YAML version of the document")},TAG:function(t,e,n){var i,r;2!==n.length&&Le(t,"TAG directive accepts exactly two arguments"),i=n[0],r=n[1],be.test(i)||Le(t,"ill-formed tag handle (first argument) of the TAG directive"),fe.call(t.tagMap,i)&&Le(t,'there is a previously declared suffix for "'+i+'" tag handle'),we.test(r)||Le(t,"ill-formed tag prefix (second argument) of the TAG directive");try{r=decodeURIComponent(r)}catch(e){Le(t,"tag prefix is malformed: "+r)}t.tagMap[i]=r}};function Be(t,e,n,i){var r,a,o,s;if(e1&&(t.result+=It.repeat("\n",e-1))}function He(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,Le(t,"tab characters must not be used in indentation")),45===i)&&xe(t.input.charCodeAt(t.position+1));)if(s=!0,t.position++,$e(t,!0,-1)&&t.lineIndent<=e)o.push(null),i=t.input.charCodeAt(t.position);else if(n=t.line,Ye(t,e,3,!1,!0),o.push(t.result),$e(t,!0,-1),i=t.input.charCodeAt(t.position),(t.line===n||t.lineIndent>e)&&0!==i)Le(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),Ye(t,e,4,!0,r)&&(w?p=t.result:b=t.result),w||(Re(t,f,d,g,p,b,o,s,c),g=p=b=null),$e(t,!0,-1),u=t.input.charCodeAt(t.position)),(t.line===a||t.lineIndent>e)&&0!==u)Le(t,"bad indentation of a mapping entry");else if(t.lineIndent=0))break;0===r?Le(t,"bad explicit indentation width of a block scalar; it cannot be less than one"):c?Le(t,"repeat of an indentation width identifier"):(u=e+r-1,c=!0)}if(ve(a)){do{a=t.input.charCodeAt(++t.position)}while(ve(a));if(35===a)do{a=t.input.charCodeAt(++t.position)}while(!ye(a)&&0!==a)}for(;0!==a;){for(je(t),t.lineIndent=0,a=t.input.charCodeAt(t.position);(!c||t.lineIndentu&&(u=t.lineIndent),ye(a))l++;else{if(t.lineIndent0){for(r=o,a=0;r>0;r--)(o=_e(s=t.input.charCodeAt(++t.position)))>=0?a=(a<<4)+o:Le(t,"expected hexadecimal character");t.result+=Ce(a),t.position++}else Le(t,"unknown escape sequence");n=i=t.position}else ye(s)?(Be(t,n,i,!0),qe(t,$e(t,!1,e)),n=i=t.position):t.position===t.lineStart&&ze(t)?Le(t,"unexpected end of the document within a double quoted scalar"):(t.position++,i=t.position)}Le(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&&!xe(i)&&!ke(i);)i=t.input.charCodeAt(++t.position);return t.position===e&&Le(t,"name of an alias node must contain at least one character"),n=t.input.slice(e,t.position),fe.call(t.anchorMap,n)||Le(t,'unidentified alias "'+n+'"'),t.result=t.anchorMap[n],$e(t,!0,-1),!0}(t)?function(t,e,n){var i,r,a,o,s,c,u,l,h=t.kind,f=t.result;if(xe(l=t.input.charCodeAt(t.position))||ke(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)&&(xe(i=t.input.charCodeAt(t.position+1))||n&&ke(i)))return!1;for(t.kind="scalar",t.result="",r=a=t.position,o=!1;0!==l;){if(58===l){if(xe(i=t.input.charCodeAt(t.position+1))||n&&ke(i))break}else if(35===l){if(xe(t.input.charCodeAt(t.position-1)))break}else{if(t.position===t.lineStart&&ze(t)||n&&ke(l))break;if(ye(l)){if(s=t.line,c=t.lineStart,u=t.lineIndent,$e(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&&(Be(t,r,a,!1),qe(t,t.line-s),r=a=t.position,o=!1),ve(l)||(a=t.position+1),l=t.input.charCodeAt(++t.position)}return Be(t,r,a,!1),!!t.result||(t.kind=h,t.result=f,!1)}(t,f,1===n)&&(b=!0,null===t.tag&&(t.tag="?")):(b=!0,null===t.tag&&null===t.anchor||Le(t,"alias node should not have any properties")),null!==t.anchor&&(t.anchorMap[t.anchor]=t.result)):0===g&&(b=s&&He(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&&Le(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&&Le(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)):Le(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 Ze(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))&&($e(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&&!xe(r);)r=t.input.charCodeAt(++t.position);for(i=[],(n=t.input.slice(e,t.position)).length<1&&Le(t,"directive name must not be less than one character in length");0!==r;){for(;ve(r);)r=t.input.charCodeAt(++t.position);if(35===r){do{r=t.input.charCodeAt(++t.position)}while(0!==r&&!ye(r));break}if(ye(r))break;for(e=t.position;0!==r&&!xe(r);)r=t.input.charCodeAt(++t.position);i.push(t.input.slice(e,t.position))}0!==r&&je(t),fe.call(Pe,n)?Pe[n](t,n,i):Ne(t,'unknown document directive "'+n+'"')}$e(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,$e(t,!0,-1)):o&&Le(t,"directives end mark is expected"),Ye(t,t.lineIndent-1,4,!1,!0),$e(t,!0,-1),t.checkLineBreaks&&ge.test(t.input.slice(a,t.position))&&Ne(t,"non-ASCII line breaks are interpreted as content"),t.documents.push(t.result),t.position===t.lineStart&&ze(t)?46===t.input.charCodeAt(t.position)&&(t.position+=3,$e(t,!0,-1)):t.positionQe(t,e,n))),t):Array.isArray(e)&&Array.isArray(t)?(e.forEach((e=>{t.includes(e)||t.push(e)})),t):void 0===t||i<=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((n=>{"object"!=typeof e[n]||void 0!==t[n]&&"object"!=typeof t[n]?(r||"object"!=typeof t[n]&&"object"!=typeof e[n])&&(t[n]=e[n]):(void 0===t[n]&&(t[n]=Array.isArray(e[n])?[]:{}),t[n]=Qe(t[n],e[n],{depth:i-1,clobber:r}))})),t)},Je=Qe,tn=Object.freeze(Ct);let en,nn=Je({},tn),rn=[],an=Je({},tn);const on=(t,e)=>{let n=Je({},t),i={};for(const t of e)ln(t),i=Je(i,t);if(n=Je(n,i),i.theme&&i.theme in _t){const t=Je({},en),e=Je(t.themeVariables||{},i.themeVariables);n.theme&&n.theme in _t&&(n.themeVariables=_t[n.theme].getThemeVariables(e))}return an=n,pn(an),an},sn=()=>Je({},nn),cn=t=>(pn(t),Je(an,t),un()),un=()=>Je({},an),ln=t=>{["secure",...nn.secure??[]].forEach((e=>{void 0!==t[e]&&(ot.debug(`Denied attempt to modify a secure key ${e}`,t[e]),delete t[e])})),Object.keys(t).forEach((e=>{0===e.indexOf("__")&&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]&&ln(t[e])}))},hn=t=>{t.fontFamily&&(t.themeVariables&&t.themeVariables.fontFamily||(t.themeVariables={fontFamily:t.fontFamily})),rn.push(t),on(nn,rn)},fn=(t=nn)=>{rn=[],on(t,rn)};var dn=(t=>(t.LAZY_LOAD_DEPRECATED="The configuration options lazyLoadedDiagrams and loadExternalDiagramsAtStartup are deprecated. Please use registerExternalDiagrams instead.",t))(dn||{});const gn={},pn=t=>{var e;t&&((t.lazyLoadedDiagrams||t.loadExternalDiagramsAtStartup)&&(gn[e="LAZY_LOAD_DEPRECATED"]||(ot.warn(dn[e]),gn[e]=!0)))},bn=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)},wn=function(t,e,n,i){const r=e.node().getBBox(),a=r.width,o=r.height;ot.info(`SVG bounds: ${a}x${o}`,r);let s=0,c=0;ot.info(`Graph bounds: ${s}x${c}`,t),s=a+2*n,c=o+2*n,ot.info(`Calculated bounds: ${s}x${c}`),bn(e,c,s,i);const u=`${r.x-n} ${r.y-n} ${r.width+2*n} ${r.height+2*n}`;e.attr("viewBox",u)},mn={},yn=(t,e,n)=>{let i="";return t in mn&&mn[t]?i=mn[t](n):ot.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`};let vn="",xn="",kn="";const _n=t=>ft(t,un()),An=function(){vn="",kn="",xn=""},En=function(t){vn=_n(t).replace(/^\s+/g,"")},Tn=function(){return vn||xn},Cn=function(t){kn=_n(t).replace(/\n\s+/g,"\n")},Sn=function(){return kn},In=function(t){xn=_n(t)},Mn=function(){return xn},Dn={getAccTitle:Tn,setAccTitle:En,getDiagramTitle:Mn,setDiagramTitle:In,getAccDescription:Sn,setAccDescription:Cn,clear:An},On=Object.freeze(Object.defineProperty({__proto__:null,clear:An,default:Dn,getAccDescription:Sn,getAccTitle:Tn,getDiagramTitle:Mn,setAccDescription:Cn,setAccTitle:En,setDiagramTitle:In},Symbol.toStringTag,{value:"Module"}));let Ln={};const Nn=function(t,e,n,i){ot.debug("parseDirective is being called",e,n,i);try{if(void 0!==e)switch(e=e.trim(),n){case"open_directive":Ln={};break;case"type_directive":if(!Ln)throw new Error("currentDirective is undefined");Ln.type=e.toLowerCase();break;case"arg_directive":if(!Ln)throw new Error("currentDirective is undefined");Ln.args=JSON.parse(e);break;case"close_directive":Pn(t,Ln,i),Ln=void 0}}catch(t){ot.error(`Error while rendering sequenceDiagram directive: ${e} jison context: ${n}`),ot.error(t.message)}},Pn=function(t,e,n){switch(ot.info(`Directive type=${e.type} with args:`,e.args),e.type){case"init":case"initialize":["config"].forEach((t=>{void 0!==e.args[t]&&("flowchart-v2"===n&&(n="flowchart"),e.args[n]=e.args[t],delete e.args[t])})),ot.info("sanitize in handleDirective",e.args),bi(e.args),ot.info("sanitize in handleDirective (done)",e.args),hn(e.args);break;case"wrap":case"nowrap":t&&t.setWrap&&t.setWrap("wrap"===e.type);break;case"themeCss":ot.warn("themeCss encountered");break;default:ot.warn(`Unhandled directive: source: '%%{${e.type}: ${JSON.stringify(e.args?e.args:{})}}%%`,e)}},Bn=ot,Fn=st,Rn=un,jn=t=>ft(t,Rn()),$n=wn,zn=(t,e,n,i)=>Nn(t,e,n,i),qn={},Hn=(t,e,n)=>{if(qn[t])throw new Error(`Diagram ${t} already registered.`);var i,r;qn[t]=e,n&&Vn(t,n),i=t,r=e.styles,mn[i]=r,e.injectUtils&&e.injectUtils(Bn,Fn,Rn,jn,$n,On,zn)},Un=t=>{if(t in qn)return qn[t];throw new Error(`Diagram ${t} not found.`)};class Gn extends Error{constructor(t){super(t),this.name="UnknownDiagramError"}}const Yn=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,Zn=/\s*%%.*\n/gm,Wn={},Kn=function(t,e){t=t.replace(Ve,"").replace(Yn,"").replace(Zn,"\n");for(const[n,{detector:i}]of Object.entries(Wn)){if(i(t,e))return n}throw new Gn(`No diagram type detected matching given configuration for text: ${t}`)},Xn=(...t)=>{for(const{id:e,detector:n,loader:i}of t)Vn(e,n,i)},Vn=(t,e,n)=>{Wn[t]?ot.error(`Detector with key ${t} already exists`):Wn[t]={detector:e,loader:n},ot.debug(`Detector with key ${t} added${n?" with loader":""}`)},Qn="​",Jn={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},ti=/%{2}{\s*(?:(\w+)\s*:|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ei=/\s*(?:(\w+)(?=:):|(\w+))\s*(?:(\w+)|((?:(?!}%{2}).|\r?\n)*))?\s*(?:}%{2})?/gi,ni=function(t,e=null){try{const n=new RegExp(`[%]{2}(?![{]${ei.source})(?=[}][%]{2}).*\n`,"ig");let i;t=t.trim().replace(n,"").replace(/'/gm,'"'),ot.debug(`Detecting diagram directive${null!==e?" type:"+e:""} based on the text:${t}`);const r=[];for(;null!==(i=ti.exec(t));)if(i.index===ti.lastIndex&&ti.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&&r.push({type:t,args:null}),1===r.length?r[0]:r}catch(n){return ot.error(`ERROR: ${n.message} - Unable to parse directive\n ${null!==e?" type:"+e:""} based on the text:${t}`),{type:null,args:null}}};function ii(t,e){if(!t)return e;const n=`curve${t.charAt(0).toUpperCase()+t.slice(1)}`;return Jn[n]||e}function ri(t,e){return t&&e?Math.sqrt(Math.pow(e.x-t.x,2)+Math.pow(e.y-t.y,2)):0}function ai(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 oi=0;const si=()=>(oi++,"id-"+Math.random().toString(36).substr(2,12)+"-"+oi);const ci=t=>function(t){let e="";const n="0123456789abcdef",i=n.length;for(let r=0;r{if(!t)return t;if(n=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",joinWith:"
"},n),wt.lineBreakRegex.test(t))return t;const i=t.split(" "),r=[];let a="";return i.forEach(((t,o)=>{const s=di(`${t} `,n),c=di(a,n);if(s>e){const{hyphenatedStrings:i,remainingWord:o}=hi(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}`)),hi=(0,w.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(di(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 fi(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial",margin:15},e),gi(t,e).height}function di(t,e){return e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e),gi(t,e).width}const gi=(0,w.Z)(((t,e)=>{e=Object.assign({fontSize:12,fontWeight:400,fontFamily:"Arial"},e);const{fontSize:n,fontFamily:i,fontWeight:r}=e;if(!t)return{width:0,height:0};const[,a]=yi(n),s=["sans-serif",i],c=t.split(wt.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};o.text=i||Qn;const s=ui(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)}h.remove();return 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 pi;const bi=t=>{if(ot.debug("directiveSanitizer called with",t),"object"==typeof t&&(t.length?t.forEach((t=>bi(t))):Object.keys(t).forEach((e=>{ot.debug("Checking key",e),e.startsWith("__")&&(ot.debug("sanitize deleting __ option",e),delete t[e]),e.includes("proto")&&(ot.debug("sanitize deleting proto option",e),delete t[e]),e.includes("constr")&&(ot.debug("sanitize deleting constr option",e),delete t[e]),e.includes("themeCSS")&&(ot.debug("sanitizing themeCss option"),t[e]=wi(t[e])),e.includes("fontFamily")&&(ot.debug("sanitizing fontFamily option"),t[e]=wi(t[e])),e.includes("altFontFamily")&&(ot.debug("sanitizing altFontFamily option"),t[e]=wi(t[e])),Tt.includes(e)?"object"==typeof t[e]&&(ot.debug("sanitize deleting object",e),bi(t[e])):(ot.debug("sanitize deleting option",e),delete t[e])}))),t.themeVariables){const e=Object.keys(t.themeVariables);for(const n of e){const e=t.themeVariables[n];e&&e.match&&!e.match(/^[\d "#%(),.;A-Za-z]+$/)&&(t.themeVariables[n]="")}}ot.debug("After sanitization",t)},wi=t=>{let e=0,n=0;for(const i of t){if(e{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]},vi={assignWithDepth:Je,wrapLabel:li,calculateTextHeight:fi,calculateTextWidth:di,calculateTextDimensions:gi,detectInit:function(t,e){const n=ni(t,/(?:init\b)|(?:initialize\b)/);let i={};if(Array.isArray(n)){const t=n.map((t=>t.args));bi(t),i=Je(i,[...t])}else i=n.args;if(i){let n=Kn(t,e);["config"].forEach((t=>{void 0!==i[t]&&("flowchart-v2"===n&&(n="flowchart"),i[n]=i[t],delete i[t])}))}return i},detectDirective:ni,isSubstringInArray:function(t,e){for(const[n,i]of e.entries())if(i.match(t))return n;return-1},interpolateToCurve:ii,calcLabelPosition:function(t){return 1===t.length?t[0]:function(t){let e,n=0;t.forEach((t=>{n+=ri(t,e),e=t}));let i,r=n/2;return e=void 0,t.forEach((t=>{if(e&&!i){const n=ri(t,e);if(n=1&&(i={x:t.x,y:t.y}),a>0&&a<1&&(i={x:(1-a)*e.x+a*t.x,y:(1-a)*e.y+a*t.y})}}e=t})),i}(t)},calcCardinalityPosition:(t,e,n)=>{let i;ot.info(`our points ${JSON.stringify(e)}`),e[0]!==n&&(e=e.reverse());let r,a=25;i=void 0,e.forEach((t=>{if(i&&!r){const e=ri(t,i);if(e=1&&(r={x:t.x,y:t.y}),n>0&&n<1&&(r={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const o=t?10:5,s=Math.atan2(e[0].y-r.y,e[0].x-r.x),c={x:0,y:0};return c.x=Math.sin(s)*o+(e[0].x+r.x)/2,c.y=-Math.cos(s)*o+(e[0].y+r.y)/2,c},calcTerminalLabelPosition:function(t,e,n){let i,r=JSON.parse(JSON.stringify(n));ot.info("our points",r),"start_left"!==e&&"start_right"!==e&&(r=r.reverse()),r.forEach((t=>{i=t}));let a,o=25+t;i=void 0,r.forEach((t=>{if(i&&!a){const e=ri(t,i);if(e=1&&(a={x:t.x,y:t.y}),n>0&&n<1&&(a={x:(1-n)*i.x+n*t.x,y:(1-n)*i.y+n*t.y})}}i=t}));const s=10+.5*t,c=Math.atan2(r[0].y-a.y,r[0].x-a.x),u={x:0,y:0};return u.x=Math.sin(c)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2,"start_left"===e&&(u.x=Math.sin(c+Math.PI)*s+(r[0].x+a.x)/2,u.y=-Math.cos(c+Math.PI)*s+(r[0].y+a.y)/2),"end_right"===e&&(u.x=Math.sin(c-Math.PI)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c-Math.PI)*s+(r[0].y+a.y)/2-5),"end_left"===e&&(u.x=Math.sin(c)*s+(r[0].x+a.x)/2-5,u.y=-Math.cos(c)*s+(r[0].y+a.y)/2-5),u},formatUrl:function(t,e){const n=t.trim();if(n)return"loose"!==e.securityLevel?(0,a.Nm)(n):n},getStylesFromArray:ai,generateId:si,random:ci,runFunc:(t,...e)=>{const n=t.split("."),i=n.length-1,r=n[i];let a=window;for(let t=0;t{if(!i)return;const r=t.node().getBBox();t.append("text").text(i).attr("x",r.x+r.width/2).attr("y",-n).attr("class",e)},parseFontSize:yi},xi="10.2.3",ki={id:"c4",detector:t=>null!==t.match(/^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,4946));return{id:"c4",diagram:t}}},_i="flowchart",Ai={id:_i,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)&&null!==t.match(/^\s*graph/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,797));return{id:_i,diagram:t}}},Ei="flowchart-v2",Ti={id:Ei,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)&&(null!==t.match(/^\s*graph/)&&"dagre-wrapper"===(null==(r=null==e?void 0:e.flowchart)?void 0:r.defaultRenderer)||null!==t.match(/^\s*flowchart/))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8832));return{id:Ei,diagram:t}}},Ci={id:"er",detector:t=>null!==t.match(/^\s*erDiagram/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6787));return{id:"er",diagram:t}}},Si="gitGraph",Ii={id:Si,detector:t=>null!==t.match(/^\s*gitGraph/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8787));return{id:Si,diagram:t}}},Mi="gantt",Di={id:Mi,detector:t=>null!==t.match(/^\s*gantt/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,2418));return{id:Mi,diagram:t}}},Oi="info",Li={id:Oi,detector:t=>null!==t.match(/^\s*info/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5891));return{id:Oi,diagram:t}}},Ni={id:"pie",detector:t=>null!==t.match(/^\s*pie/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,431));return{id:"pie",diagram:t}}},Pi="quadrantChart",Bi={id:Pi,detector:t=>null!==t.match(/^\s*quadrantChart/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,722));return{id:Pi,diagram:t}}},Fi="requirement",Ri={id:Fi,detector:t=>null!==t.match(/^\s*requirement(Diagram)?/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,927));return{id:Fi,diagram:t}}},ji="sequence",$i={id:ji,detector:t=>null!==t.match(/^\s*sequenceDiagram/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5123));return{id:ji,diagram:t}}},zi="class",qi={id:zi,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*classDiagram/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6956));return{id:zi,diagram:t}}},Hi="classDiagram",Ui={id:Hi,detector:(t,e)=>{var n;return null!==t.match(/^\s*classDiagram/)&&"dagre-wrapper"===(null==(n=null==e?void 0:e.class)?void 0:n.defaultRenderer)||null!==t.match(/^\s*classDiagram-v2/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,9582));return{id:Hi,diagram:t}}},Gi="state",Yi={id:Gi,detector:(t,e)=>{var n;return"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer)&&null!==t.match(/^\s*stateDiagram/)},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,2809));return{id:Gi,diagram:t}}},Zi="stateDiagram",Wi={id:Zi,detector:(t,e)=>{var n,i;return null!==t.match(/^\s*stateDiagram-v2/)||(!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(n=null==e?void 0:e.state)?void 0:n.defaultRenderer))||!(!t.match(/^\s*stateDiagram/)||"dagre-wrapper"!==(null==(i=null==e?void 0:e.state)?void 0:i.defaultRenderer)))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,6185));return{id:Zi,diagram:t}}},Ki="journey",Xi={id:Ki,detector:t=>null!==t.match(/^\s*journey/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,7e3));return{id:Ki,diagram:t}}},Vi={setConf:function(){},draw:(t,e,n)=>{try{ot.debug("Renering svg for syntax error\n");const t=(0,o.Ys)("#"+e),i=t.append("g");i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.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"),i.append("text").attr("class","error-text").attr("x",1250).attr("y",400).attr("font-size","100px").style("text-anchor","middle").text("mermaid version "+n),t.attr("height",100),t.attr("width",500),t.attr("viewBox","768 0 912 512")}catch(t){ot.error("Error while rendering info diagram"),ot.error((i=t)instanceof Error?i.message:String(i))}var i}},Qi={db:{clear:()=>{}},styles:()=>"",renderer:Vi,parser:{parser:{yy:{}},parse:()=>{}},init:()=>{}},Ji="flowchart-elk",tr={id:Ji,detector:(t,e)=>{var n;return!!(t.match(/^\s*flowchart-elk/)||t.match(/^\s*flowchart|graph/)&&"elk"===(null==(n=null==e?void 0:e.flowchart)?void 0:n.defaultRenderer))},loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,5248));return{id:Ji,diagram:t}}},er="timeline",nr={id:er,detector:t=>null!==t.match(/^\s*timeline/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,315));return{id:er,diagram:t}}},ir="mindmap",rr={id:ir,detector:t=>null!==t.match(/^\s*mindmap/),loader:async()=>{const{diagram:t}=await n.e(4736).then(n.bind(n,8455));return{id:ir,diagram:t}}};let ar=!1;const or=()=>{ar||(ar=!0,Hn("error",Qi,(t=>"error"===t.toLowerCase().trim())),Hn("---",{db:{clear:()=>{}},styles:{},renderer:{},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("---"))),Xn(ki,Ui,qi,Ci,Di,Li,Ni,Ri,$i,tr,Ti,Ai,rr,nr,Ii,Wi,Yi,Xi,Bi))};class sr{constructor(t){var e,n;this.text=t,this.type="graph",this.text+="\n";const i=un();try{this.type=Kn(t,i)}catch(t){this.type="error",this.detectError=t}const r=Un(this.type);ot.debug("Type "+this.type),this.db=r.db,null==(n=(e=this.db).clear)||n.call(e),this.renderer=r.renderer,this.parser=r.parser;const a=this.parser.parse.bind(this.parser);this.parser.parse=t=>a((t=>t.trimStart().replace(/^\s*%%(?!{)[^\n]+\n?/gm,""))(function(t,e){var n,i;const r=t.match(Ve);if(r){const a=Xe(r[1],{schema:Ke});return(null==a?void 0:a.title)&&(null==(n=e.setDiagramTitle)||n.call(e,a.title)),(null==a?void 0:a.displayMode)&&(null==(i=e.setDisplayMode)||i.call(e,a.displayMode)),t.slice(r[0].length)}return t}(t,this.db))),this.parser.parser.yy=this.db,r.init&&(r.init(i),ot.info("Initialized diagram "+this.type,i)),this.parse()}parse(){var t,e;if(this.detectError)throw this.detectError;null==(e=(t=this.db).clear)||e.call(t),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 cr=async t=>{const e=Kn(t,un());try{Un(e)}catch(t){const n=Wn[e].loader;if(!n)throw new Gn(`Diagram ${e} not found.`);const{id:i,diagram:r}=await n();Hn(i,r)}return new sr(t)};let ur=[];const lr=t=>{ur.push(t)};const hr=["graph","flowchart","flowchart-v2","flowchart-elk","stateDiagram","stateDiagram-v2"],fr=["foreignobject"],dr=["dominant-baseline"];const gr=function(t){return t.replace(/fl°°/g,"&#").replace(/fl°/g,"&").replace(/¶ß/g,";")},pr=(t,e,n=[])=>`\n.${t} ${e} { ${n.join(" !important; ")} !important; }`,br=(t,e,n,i)=>{const r=((t,e,n={})=>{var i;let r="";if(void 0!==t.themeCSS&&(r+=`\n${t.themeCSS}`),void 0!==t.fontFamily&&(r+=`\n:root { --mermaid-font-family: ${t.fontFamily}}`),void 0!==t.altFontFamily&&(r+=`\n:root { --mermaid-alt-font-family: ${t.altFontFamily}}`),!(0,rt.Z)(n)&&hr.includes(e)){const e=["> *","span"],a=["rect","polygon","ellipse","circle","path"],o=t.htmlLabels||(null==(i=t.flowchart)?void 0:i.htmlLabels)?e:a;for(const t in n){const e=n[t];(0,rt.Z)(e.styles)||o.forEach((t=>{r+=pr(e.id,t,e.styles)})),(0,rt.Z)(e.textStyles)||(r+=pr(e.id,"tspan",e.textStyles))}}return r})(t,e,n);return M(J(`${i}{${yn(e,r,t.themeVariables)}}`),D)},wr=(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 mr(t,e){return t.append("iframe").attr("id",e).attr("style","width: 100%; height: 100%;").attr("sandbox","")}const yr=Object.freeze({render:async function(t,e,n){var i,r,a,c;or(),fn();const u=vi.detectInit(e);u&&(bi(u),hn(u));const l=un();ot.debug(l),e.length>((null==l?void 0:l.maxTextSize)??5e4)&&(e="graph TB;a[Maximum text size in diagram exceeded];style a fill:#faa"),e=(e=e.replace(/\r\n?/g,"\n")).replace(/<(\w+)([^>]*)>/g,((t,e,n)=>"<"+e+n.replace(/="([^"]*)"/g,"='$1'")+">"));const h="#"+t,f="i"+t,d="#"+f,g="d"+t,p="#"+g;let b=(0,o.Ys)("body");const w="sandbox"===l.securityLevel,m="loose"===l.securityLevel,y=l.fontFamily;if(void 0!==n){if(n&&(n.innerHTML=""),w){const t=mr((0,o.Ys)(n),f);b=(0,o.Ys)(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=(0,o.Ys)(n);wr(b,t,g,`font-family: ${y}`,"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,g,f),w){const t=mr((0,o.Ys)("body"),f);b=(0,o.Ys)(t.nodes()[0].contentDocument.body),b.node().style.margin=0}else b=(0,o.Ys)("body");wr(b,t,g)}let v,x;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{v=await cr(e)}catch(t){v=new sr("error"),x=t}const k=b.select(p).node(),_=v.type,A=k.firstChild,E=A.firstChild,T=hr.includes(_)?v.renderer.getClasses(e,v):{},C=br(l,_,T,h),S=document.createElement("style");S.innerHTML=C,A.insertBefore(S,E);try{await v.renderer.draw(e,t,xi,v)}catch(n){throw Vi.draw(e,t,xi),n}!function(t,e,n,i){(function(t,e){t.attr("role","graphics-document document"),(0,rt.Z)(e)||t.attr("aria-roledescription",e)})(e,t),function(t,e,n,i){if(void 0!==t.insert&&(e||n)){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"))}(_,b.select(`${p} svg`),null==(r=(i=v.db).getAccTitle)?void 0:r.call(i),null==(c=(a=v.db).getAccDescription)?void 0:c.call(a)),b.select(`[id="${t}"]`).selectAll("foreignobject > *").attr("xmlns","http://www.w3.org/1999/xhtml");let I=b.select(p).node().innerHTML;if(ot.debug("config.arrowMarkerAbsolute",l.arrowMarkerAbsolute),I=((t="",e,n)=>{let i=t;return n||e||(i=i.replace(/marker-end="url\([\d+./:=?A-Za-z-]*?#/g,'marker-end="url(#')),i=gr(i),i=i.replace(/
/g,"
"),i})(I,w,pt(l.arrowMarkerAbsolute)),w){I=((t="",e)=>``)(I,b.select(p+" svg").node())}else m||(I=s.sanitize(I,{ADD_TAGS:fr,ADD_ATTR:dr}));if(ur.forEach((t=>{t()})),ur=[],x)throw x;const M=w?d:p,D=(0,o.Ys)(M).node();return D&&"remove"in D&&D.remove(),{svg:I,bindFunctions:v.db.bindFunctions}},parse:async function(t,e){or();try{(await cr(t)).parse()}catch(t){if(null==e?void 0:e.suppressErrors)return!1;throw t}return!0},parseDirective:Nn,getDiagramFromText:cr,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),en=Je({},t),(null==t?void 0:t.theme)&&t.theme in _t?t.themeVariables=_t[t.theme].getThemeVariables(t.themeVariables):t&&(t.themeVariables=_t.default.getThemeVariables(t.themeVariables));const n="object"==typeof t?(t=>(nn=Je({},tn),nn=Je(nn,t),t.theme&&_t[t.theme]&&(nn.themeVariables=_t[t.theme].getThemeVariables(t.themeVariables)),on(nn,rn),nn))(t):sn();st(n.logLevel),or()},getConfig:un,setConfig:cn,getSiteConfig:sn,updateSiteConfig:t=>(nn=Je(nn,t),on(nn,rn),nn),reset:()=>{fn()},globalReset:()=>{fn(tn)},defaultConfig:tn});st(un().logLevel),fn(un());const vr=(t,e,n)=>{ot.warn(t),mi(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}))},xr=async function(t={querySelector:".mermaid"}){try{await kr(t)}catch(e){if(mi(e)&&ot.error(e.str),Ir.parseError&&Ir.parseError(e),!t.suppressErrors)throw ot.error("Use the suppressErrors option to suppress these errors"),e}},kr=async function({postRenderCallback:t,querySelector:e,nodes:n}={querySelector:".mermaid"}){const r=yr.getConfig();let a;if(ot.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)}ot.debug(`Found ${a.length} diagrams`),void 0!==(null==r?void 0:r.startOnLoad)&&(ot.debug("Start On Load: "+(null==r?void 0:r.startOnLoad)),yr.updateSiteConfig({startOnLoad:null==r?void 0:r.startOnLoad}));const o=new vi.initIdGenerator(r.deterministicIds,r.deterministicIDSeed);let s;const c=[];for(const e of Array.from(a)){if(ot.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)(vi.entityDecode(s)).trim().replace(//gi,"
");const r=vi.detectInit(s);r&&ot.debug("Detected early reinit: ",r);try{const{svg:i,bindFunctions:r}=await Sr(n,s,e);e.innerHTML=i,t&&await t(n),r&&r(e)}catch(t){vr(t,c,Ir.parseError)}}if(c.length>0)throw c[0]},_r=function(t){yr.initialize(t)},Ar=function(){if(Ir.startOnLoad){const{startOnLoad:t}=yr.getConfig();t&&Ir.run().catch((t=>ot.error("Mermaid failed to initialize",t)))}};"undefined"!=typeof document&&window.addEventListener("load",Ar,!1);const Er=[];let Tr=!1;const Cr=async()=>{if(!Tr){for(Tr=!0;Er.length>0;){const t=Er.shift();if(t)try{await t()}catch(t){ot.error("Error executing queue",t)}}Tr=!1}},Sr=(t,e,n)=>new Promise(((i,r)=>{Er.push((()=>new Promise(((a,o)=>{yr.render(t,e,n).then((t=>{a(t),i(t)}),(t=>{var e;ot.error("Error parsing",t),null==(e=Ir.parseError)||e.call(Ir,t),o(t),r(t)}))})))),Cr().catch(r)})),Ir={startOnLoad:!0,mermaidAPI:yr,parse:async(t,e)=>new Promise(((n,i)=>{Er.push((()=>new Promise(((r,a)=>{yr.parse(t,e).then((t=>{r(t),n(t)}),(t=>{var e;ot.error("Error parsing",t),null==(e=Ir.parseError)||e.call(Ir,t),a(t),i(t)}))})))),Cr().catch(i)})),render:Sr,init:async function(t,e,n){ot.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 xr(i)},run:xr,registerExternalDiagrams:async(t,{lazyLoad:e=!0}={})=>{Xn(...t),!1===e&&await(async()=>{ot.debug("Loading registered diagrams");const t=(await Promise.allSettled(Object.entries(Wn).map((async([t,{detector:e,loader:n}])=>{if(n)try{Un(t)}catch(i){try{const{diagram:t,id:i}=await n();Hn(i,t,e)}catch(e){throw ot.error(`Failed to load external diagram with key ${t}. Removing from detectors.`),delete Wn[t],e}}})))).filter((t=>"rejected"===t.status));if(t.length>0){ot.error(`Failed to load ${t.length} external diagrams`);for(const e of t)ot.error(e);throw new Error(`Failed to load ${t.length} external diagrams`)}})()},initialize:_r,parseError:void 0,contentLoaded:Ar,setParseErrorHandler:function(t){Ir.parseError=t},detectType:Kn}},8455:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return S}});var i=n(8540),r=n(1504),a=n(1524),o=n(87),s=n(3539),c=n(7471),u=n(1778),l=n(733),h=(n(7530),n(2510),n(6951),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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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 y(){this.yy={}}return w.lexer=m,y.prototype=w,w.Parser=y,new y}());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},m=(t,e)=>{b[t]=e},y=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:m,setErrorHandler:t=>{v=t},type2Str:y},Symbol.toStringTag,{value:"Module"}));const _=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-"+y(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-"+y(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-"+y(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-"+y(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-"+y(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-"+y(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)}return m(e.id,s),e.height},A=function(t){const e=x(t.id),n=t.x||0,i=t.y||0;e.attr("transform","translate("+n+","+i+")")};function E(t,e,n,i){_(t,e,n,i),e.children&&e.children.forEach(((e,r)=>{E(t,e,n<0?r:n,i)}))}function T(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=>{T(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 C(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(),T(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 S={db:k,renderer:{draw:async(t,e,n,a)=>{const o=(0,i.c)();o.htmlLabels=!1,a.db.clear(),a.parser.parse(t),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"),E(f,l,-1,o);const d=await C(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,A(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.p)(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;el&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},v={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(){var t=this.next();return t||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"),29;case 1:return this.begin("type_directive"),30;case 2:return this.popState(),this.begin("arg_directive"),24;case 3:return this.popState(),this.popState(),32;case 4:return 31;case 5:case 6:case 8:case 9:break;case 7:return 26;case 10:return this.begin("title"),13;case 11:return this.popState(),"title_value";case 12:return this.begin("acc_title"),15;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),17;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:case 20:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:this.begin("string");break;case 21:return"txt";case 22:return 6;case 23:return 8;case 24:return"value";case 25:return 28}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[11],inclusive:!1},string:{rules:[20,21],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,12,14,16,19,22,23,24,25],inclusive:!0}}};function x(){this.yy={}}return y.lexer=v,x.prototype=y,y.Parser=x,new x}());a.parser=a;const o=a;let s={},c=!1;const u={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().pie,addSection:function(t,e){t=i.e.sanitizeText(t,(0,i.c)()),void 0===s[t]&&(s[t]=e,i.l.debug("Added new section :",t))},getSections:()=>s,cleanupValue:function(t){return":"===t.substring(0,1)?(t=t.substring(1).trim(),Number(t.trim())):Number(t.trim())},clear:function(){s={},c=!1,(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setDiagramTitle:i.r,getDiagramTitle:i.t,setShowData:function(t){c=t},getShowData:function(){return c},getAccDescription:i.a,setAccDescription:i.b},l=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`;let h,f=(0,i.c)();const d=450,g={parser:o,db:u,renderer:{draw:(t,e,n,a)=>{var o;try{f=(0,i.c)(),i.l.debug("Rendering info diagram\n"+t);const n=(0,i.c)().securityLevel;let k;"sandbox"===n&&(k=(0,r.Ys)("#i"+e));const _="sandbox"===n?(0,r.Ys)(k.nodes()[0].contentDocument.body):(0,r.Ys)("body"),A="sandbox"===n?k.nodes()[0].contentDocument:document;a.db.clear(),a.parser.parse(t),i.l.debug("Parsed info diagram");const E=A.getElementById(e);h=E.parentElement.offsetWidth,void 0===h&&(h=1200),void 0!==f.useWidth&&(h=f.useWidth),void 0!==f.pie.useWidth&&(h=f.pie.useWidth);const T=_.select("#"+e);(0,i.i)(T,d,h,f.pie.useMaxWidth),E.setAttribute("viewBox","0 0 "+h+" "+d);var s=18,c=Math.min(h,d)/2-40,u=T.append("g").attr("transform","translate("+h/2+",225)"),l=a.db.getSections(),g=0;Object.keys(l).forEach((function(t){g+=l[t]}));const C=f.themeVariables;var p=[C.pie1,C.pie2,C.pie3,C.pie4,C.pie5,C.pie6,C.pie7,C.pie8,C.pie9,C.pie10,C.pie11,C.pie12];const S=(null==(o=f.pie)?void 0:o.textPosition)??.75;let[I]=(0,i.B)(C.pieOuterStrokeWidth);I??(I=2);var b=(0,r.PKp)().range(p),w=Object.entries(l).map((function(t,e){return{order:e,name:t[0],value:t[1]}})),m=(0,r.ve8)().value((function(t){return t.value})).sort((function(t,e){return t.order-e.order}))(w),y=(0,r.Nb1)().innerRadius(0).outerRadius(c),v=(0,r.Nb1)().innerRadius(c*S).outerRadius(c*S);u.append("circle").attr("cx",0).attr("cy",0).attr("r",c+I/2).attr("class","pieOuterCircle"),u.selectAll("mySlices").data(m).enter().append("path").attr("d",y).attr("fill",(function(t){return b(t.data.name)})).attr("class","pieCircle"),u.selectAll("mySlices").data(m).enter().append("text").text((function(t){return(t.data.value/g*100).toFixed(0)+"%"})).attr("transform",(function(t){return"translate("+v.centroid(t)+")"})).style("text-anchor","middle").attr("class","slice"),u.append("text").text(a.db.getDiagramTitle()).attr("x",0).attr("y",-200).attr("class","pieTitleText");var x=u.selectAll(".legend").data(b.domain()).enter().append("g").attr("class","legend").attr("transform",(function(t,e){return"translate(216,"+(22*e-22*b.domain().length/2)+")"}));x.append("rect").attr("width",s).attr("height",s).style("fill",b).style("stroke",b),x.data(m).append("text").attr("x",22).attr("y",14).text((function(t){return a.db.getShowData()||f.showData||f.pie.showData?t.data.name+" ["+t.data.value+"]":t.data.name}))}catch(t){i.l.error("Error while rendering info diagram"),i.l.error(t)}}},styles:l}},722:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return h}});var i=n(8540),r=n(1504),a=(n(7530),n(2510),n(6951),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,5],i=[1,6],r=[1,7],a=[1,8],o=[1,10],s=[1,5,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],c=[1,5,7,14,16,18,20,21,26,28,29,30,31,32,38,39,40,41,47,48,50,51,52,53,54,55,56,57,58,59,60],u=[38,39,40],l=[2,8],h=[1,19],f=[1,23],d=[1,24],g=[1,25],p=[1,26],b=[1,27],w=[1,29],m=[1,30],y=[1,31],v=[1,32],x=[1,33],k=[1,34],_=[1,37],A=[1,38],E=[1,39],T=[1,40],C=[1,41],S=[1,42],I=[1,43],M=[1,44],D=[1,45],O=[1,46],L=[1,47],N=[1,48],P=[1,49],B=[1,52],F=[1,67],R=[1,68],j=[5,23,27,38,39,40,50,51,52,53,54,55,56,57,58,59,60,61],$=[5,7,38,39,40,41],z={trace:function(){},yy:{},symbols_:{error:2,start:3,eol:4,SPACE:5,directive:6,QUADRANT:7,document:8,line:9,statement:10,axisDetails:11,quadrantDetails:12,points: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:21,text: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,openDirective:33,typeDirective:34,closeDirective:35,":":36,argDirective:37,NEWLINE:38,SEMI:39,EOF:40,open_directive:41,type_directive:42,arg_directive:43,close_directive:44,alphaNumToken:45,textNoTagsToken:46,STR:47,MD_STR:48,alphaNum:49,PUNCTUATION:50,AMP:51,NUM:52,ALPHA:53,COMMA:54,PLUS:55,EQUALS:56,MULT:57,DOT:58,BRKT:59,UNDERSCORE:60,MINUS:61,$accept:0,$end:1},terminals_:{2:"error",5:"SPACE",7:"QUADRANT",14:"title",15:"title_value",16:"acc_title",17:"acc_title_value",18:"acc_descr",19:"acc_descr_value",20:"acc_descr_multiline_value",21:"section",23:"point_start",24:"point_x",25:"point_y",26:"X-AXIS",27:"AXIS-TEXT-DELIMITER",28:"Y-AXIS",29:"QUADRANT_1",30:"QUADRANT_2",31:"QUADRANT_3",32:"QUADRANT_4",36:":",38:"NEWLINE",39:"SEMI",40:"EOF",41:"open_directive",42:"type_directive",43:"arg_directive",44:"close_directive",47:"STR",48:"MD_STR",50:"PUNCTUATION",51:"AMP",52:"NUM",53:"ALPHA",54:"COMMA",55:"PLUS",56:"EQUALS",57:"MULT",58:"DOT",59:"BRKT",60:"UNDERSCORE",61:"MINUS"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[10,0],[10,2],[10,1],[10,1],[10,1],[10,2],[10,2],[10,2],[10,1],[10,1],[10,1],[13,4],[11,4],[11,3],[11,2],[11,4],[11,3],[11,2],[12,2],[12,2],[12,2],[12,2],[6,3],[6,5],[4,1],[4,1],[4,1],[33,1],[34,1],[37,1],[35,1],[22,1],[22,2],[22,1],[22,1],[49,1],[49,2],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[45,1],[46,1],[46,1],[46,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 13:this.$=a[s].trim(),i.setDiagramTitle(this.$);break;case 14:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 15:case 16:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 17:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addPoint(a[s-3],a[s-1],a[s]);break;case 20:i.setXAxisLeftText(a[s-2]),i.setXAxisRightText(a[s]);break;case 21:a[s-1].text+=" ⟶ ",i.setXAxisLeftText(a[s-1]);break;case 22:i.setXAxisLeftText(a[s]);break;case 23:i.setYAxisBottomText(a[s-2]),i.setYAxisTopText(a[s]);break;case 24:a[s-1].text+=" ⟶ ",i.setYAxisBottomText(a[s-1]);break;case 25:i.setYAxisBottomText(a[s]);break;case 26:i.setQuadrant1Text(a[s]);break;case 27:i.setQuadrant2Text(a[s]);break;case 28:i.setQuadrant3Text(a[s]);break;case 29:i.setQuadrant4Text(a[s]);break;case 35:i.parseDirective("%%{","open_directive");break;case 36:i.parseDirective(a[s],"type_directive");break;case 37:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 38:i.parseDirective("}%%","close_directive","quadrantChart");break;case 39:case 41:this.$={text:a[s],type:"text"};break;case 40:this.$={text:a[s-1].text+""+a[s],type:a[s-1].type};break;case 42:this.$={text:a[s],type:"markdown"};break;case 43:this.$=a[s];break;case 44:this.$=a[s-1]+""+a[s]}},table:[{3:1,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{1:[3]},{3:11,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{3:12,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},{3:13,4:2,5:e,6:4,7:n,33:9,38:i,39:r,40:a,41:o},t(s,[2,5],{8:14}),t(c,[2,32]),t(c,[2,33]),t(c,[2,34]),{34:15,42:[1,16]},{42:[2,35]},{1:[2,1]},{1:[2,2]},{1:[2,3]},t(u,l,{33:9,9:17,10:18,11:20,12:21,13:22,6:28,22:35,45:36,1:[2,4],5:h,14:f,16:d,18:g,20:p,21:b,26:w,28:m,29:y,30:v,31:x,32:k,41:o,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),{35:50,36:[1,51],44:B},t([36,44],[2,36]),t(s,[2,6]),{4:53,38:i,39:r,40:a},t(u,l,{33:9,11:20,12:21,13:22,6:28,22:35,45:36,10:54,5:h,14:f,16:d,18:g,20:p,21:b,26:w,28:m,29:y,30:v,31:x,32:k,41:o,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),t(u,[2,10]),t(u,[2,11]),t(u,[2,12]),{15:[1,55]},{17:[1,56]},{19:[1,57]},t(u,[2,16]),t(u,[2,17]),t(u,[2,18]),{22:58,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:59,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:60,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:61,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:62,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{22:63,45:36,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P},{5:F,23:[1,64],45:66,46:65,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R},t(j,[2,39]),t(j,[2,41]),t(j,[2,42]),t(j,[2,45]),t(j,[2,46]),t(j,[2,47]),t(j,[2,48]),t(j,[2,49]),t(j,[2,50]),t(j,[2,51]),t(j,[2,52]),t(j,[2,53]),t(j,[2,54]),t(j,[2,55]),t($,[2,30]),{37:69,43:[1,70]},t($,[2,38]),t(s,[2,7]),t(u,[2,9]),t(u,[2,13]),t(u,[2,14]),t(u,[2,15]),t(u,[2,22],{46:65,45:66,5:F,27:[1,71],50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,25],{46:65,45:66,5:F,27:[1,72],50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,26],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,27],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,28],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,29],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),{24:[1,73]},t(j,[2,40]),t(j,[2,56]),t(j,[2,57]),t(j,[2,58]),{35:74,44:B},{44:[2,37]},t(u,[2,21],{45:36,22:75,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),t(u,[2,24],{45:36,22:76,47:_,48:A,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P}),{25:[1,77]},t($,[2,31]),t(u,[2,20],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,23],{46:65,45:66,5:F,50:E,51:T,52:C,53:S,54:I,55:M,56:D,57:O,58:L,59:N,60:P,61:R}),t(u,[2,19])],defaultActions:{10:[2,35],11:[2,1],12:[2,2],13:[2,3],70:[2,37]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},q={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(){var t=this.next();return t||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"),41;case 1:return this.begin("type_directive"),42;case 2:return this.popState(),this.begin("arg_directive"),36;case 3:return this.popState(),this.popState(),44;case 4:return 43;case 5:case 6:case 8:break;case 7:return 38;case 9:return this.begin("title"),14;case 10:return this.popState(),"title_value";case 11:return this.begin("acc_title"),16;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),18;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 27:case 29:case 33:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:return 26;case 19:return 28;case 20:return 27;case 21:return 29;case 22:return 30;case 23:return 31;case 24:return 32;case 25:this.begin("md_string");break;case 26:return"MD_STR";case 28:this.begin("string");break;case 30:return"STR";case 31:return this.begin("point_start"),23;case 32:return this.begin("point_x"),24;case 34:this.popState(),this.begin("point_y");break;case 35:return this.popState(),25;case 36:return 7;case 37:return 53;case 38:return"COLON";case 39:return 55;case 40:return 54;case 41:case 42:return 56;case 43:return 57;case 44:return 59;case 45:return 60;case 46:return 58;case 47:return 51;case 48:return 61;case 49:return 52;case 50:return 5;case 51:return 39;case 52:return 50;case 53:return 40}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%%(?!\{)[^\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:[35],inclusive:!1},point_x:{rules:[34],inclusive:!1},point_start:{rules:[32,33],inclusive:!1},acc_descr_multiline:{rules:[16,17],inclusive:!1},acc_descr:{rules:[14],inclusive:!1},acc_title:{rules:[12],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},title:{rules:[10],inclusive:!1},md_string:{rules:[26,27],inclusive:!1},string:{rules:[29,30],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,11,13,15,18,19,20,21,22,23,24,25,28,31,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53],inclusive:!0}}};function H(){this.yy={}}return z.lexer=q,H.prototype=z,z.Parser=H,new H}());a.parser=a;const o=a,s=(0,i.C)();const 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,m;return{showXAxis:!0,showYAxis:!0,showTitle:!0,chartHeight:(null==(t=i.D.quadrantChart)?void 0:t.chartWidth)||500,chartWidth:(null==(e=i.D.quadrantChart)?void 0:e.chartHeight)||500,titlePadding:(null==(n=i.D.quadrantChart)?void 0:n.titlePadding)||10,titleFontSize:(null==(r=i.D.quadrantChart)?void 0:r.titleFontSize)||20,quadrantPadding:(null==(a=i.D.quadrantChart)?void 0:a.quadrantPadding)||5,xAxisLabelPadding:(null==(o=i.D.quadrantChart)?void 0:o.xAxisLabelPadding)||5,yAxisLabelPadding:(null==(s=i.D.quadrantChart)?void 0:s.yAxisLabelPadding)||5,xAxisLabelFontSize:(null==(c=i.D.quadrantChart)?void 0:c.xAxisLabelFontSize)||16,yAxisLabelFontSize:(null==(u=i.D.quadrantChart)?void 0:u.yAxisLabelFontSize)||16,quadrantLabelFontSize:(null==(l=i.D.quadrantChart)?void 0:l.quadrantLabelFontSize)||16,quadrantTextTopPadding:(null==(h=i.D.quadrantChart)?void 0:h.quadrantTextTopPadding)||5,pointTextPadding:(null==(f=i.D.quadrantChart)?void 0:f.pointTextPadding)||5,pointLabelFontSize:(null==(d=i.D.quadrantChart)?void 0:d.pointLabelFontSize)||12,pointRadius:(null==(g=i.D.quadrantChart)?void 0:g.pointRadius)||5,xAxisPosition:(null==(p=i.D.quadrantChart)?void 0:p.xAxisPosition)||"top",yAxisPosition:(null==(b=i.D.quadrantChart)?void 0:b.yAxisPosition)||"left",quadrantInternalBorderStrokeWidth:(null==(w=i.D.quadrantChart)?void 0:w.quadrantInternalBorderStrokeWidth)||1,quadrantExternalBorderStrokeWidth:(null==(m=i.D.quadrantChart)?void 0:m.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)}}};const 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.t)()}),l.build()},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},clear:function(){l.clear(),(0,i.v)()},setAccTitle:i.s,getAccTitle:i.g,setDiagramTitle:i.r,getDiagramTitle:i.t,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,m=(null==(s=f.quadrantChart)?void 0:s.chartHeight)||500;(0,i.i)(p,m,w,(null==(c=f.quadrantChart)?void 0:c.useMaxWidth)||!0),p.attr("viewBox","0 0 "+w+" "+m),a.db.setHeight(m),a.db.setWidth(w);const y=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"),A=b.append("g").attr("class","title");y.title&&A.append("text").attr("x",0).attr("y",0).attr("fill",y.title.fill).attr("font-size",y.title.fontSize).attr("dominant-baseline",u(y.title.horizontalPos)).attr("text-anchor",l(y.title.verticalPos)).attr("transform",h(y.title)).text(y.title.text),y.borderLines&&x.selectAll("line").data(y.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 E=v.selectAll("g.quadrant").data(y.quadrants).enter().append("g").attr("class","quadrant");E.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)),E.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(y.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 T=k.selectAll("g.data-point").data(y.points).enter().append("g").attr("class","data-point");T.append("circle").attr("cx",(t=>t.x)).attr("cy",(t=>t.y)).attr("r",(t=>t.radius)).attr("fill",(t=>t.fill)),T.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:()=>""}},927:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return E}});var i=n(8540),r=n(1504),a=n(1768),o=n(8066),s=(n(7530),n(2510),n(6951),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,5],i=[1,6],r=[1,7],a=[1,8],o=[5,6,8,14,16,18,19,40,41,42,43,44,45,53,71,72],s=[1,22],c=[2,13],u=[1,26],l=[1,27],h=[1,28],f=[1,29],d=[1,30],g=[1,31],p=[1,24],b=[1,32],w=[1,33],m=[1,36],y=[71,72],v=[5,8,14,16,18,19,40,41,42,43,44,45,53,60,62,71,72],x=[1,56],k=[1,57],_=[1,58],A=[1,59],E=[1,60],T=[1,61],C=[1,62],S=[62,63],I=[1,74],M=[1,70],D=[1,71],O=[1,72],L=[1,73],N=[1,75],P=[1,79],B=[1,80],F=[1,77],R=[1,78],j=[5,8,14,16,18,19,40,41,42,43,44,45,53,71,72],$={trace:function(){},yy:{},symbols_:{error:2,start:3,directive:4,NEWLINE:5,RD:6,diagram:7,EOF:8,openDirective:9,typeDirective:10,closeDirective:11,":":12,argDirective:13,acc_title:14,acc_title_value:15,acc_descr:16,acc_descr_value:17,acc_descr_multiline_value:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,requirementDef:23,elementDef:24,relationshipDef:25,requirementType:26,requirementName:27,STRUCT_START:28,requirementBody:29,ID:30,COLONSEP:31,id:32,TEXT:33,text:34,RISK:35,riskLevel:36,VERIFYMTHD:37,verifyType:38,STRUCT_STOP:39,REQUIREMENT:40,FUNCTIONAL_REQUIREMENT:41,INTERFACE_REQUIREMENT:42,PERFORMANCE_REQUIREMENT:43,PHYSICAL_REQUIREMENT:44,DESIGN_CONSTRAINT:45,LOW_RISK:46,MED_RISK:47,HIGH_RISK:48,VERIFY_ANALYSIS:49,VERIFY_DEMONSTRATION:50,VERIFY_INSPECTION:51,VERIFY_TEST:52,ELEMENT:53,elementName:54,elementBody:55,TYPE:56,type:57,DOCREF:58,ref:59,END_ARROW_L:60,relationship:61,LINE:62,END_ARROW_R:63,CONTAINS:64,COPIES:65,DERIVES:66,SATISFIES:67,VERIFIES:68,REFINES:69,TRACES:70,unqString:71,qString:72,$accept:0,$end:1},terminals_:{2:"error",5:"NEWLINE",6:"RD",8:"EOF",12:":",14:"acc_title",15:"acc_title_value",16:"acc_descr",17:"acc_descr_value",18:"acc_descr_multiline_value",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",28:"STRUCT_START",30:"ID",31:"COLONSEP",33:"TEXT",35:"RISK",37:"VERIFYMTHD",39:"STRUCT_STOP",40:"REQUIREMENT",41:"FUNCTIONAL_REQUIREMENT",42:"INTERFACE_REQUIREMENT",43:"PERFORMANCE_REQUIREMENT",44:"PHYSICAL_REQUIREMENT",45:"DESIGN_CONSTRAINT",46:"LOW_RISK",47:"MED_RISK",48:"HIGH_RISK",49:"VERIFY_ANALYSIS",50:"VERIFY_DEMONSTRATION",51:"VERIFY_INSPECTION",52:"VERIFY_TEST",53:"ELEMENT",56:"TYPE",58:"DOCREF",60:"END_ARROW_L",62:"LINE",63:"END_ARROW_R",64:"CONTAINS",65:"COPIES",66:"DERIVES",67:"SATISFIES",68:"VERIFIES",69:"REFINES",70:"TRACES",71:"unqString",72:"qString"},productions_:[0,[3,3],[3,2],[3,4],[4,3],[4,5],[4,2],[4,2],[4,1],[9,1],[10,1],[13,1],[11,1],[7,0],[7,2],[7,2],[7,2],[7,2],[7,2],[23,5],[29,5],[29,5],[29,5],[29,5],[29,2],[29,1],[26,1],[26,1],[26,1],[26,1],[26,1],[26,1],[36,1],[36,1],[36,1],[38,1],[38,1],[38,1],[38,1],[24,5],[55,5],[55,5],[55,2],[55,1],[25,5],[25,5],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[61,1],[27,1],[27,1],[32,1],[32,1],[34,1],[34,1],[54,1],[54,1],[57,1],[57,1],[59,1],[59,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 6:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 7:case 8:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 9:i.parseDirective("%%{","open_directive");break;case 10:i.parseDirective(a[s],"type_directive");break;case 11:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 12:i.parseDirective("}%%","close_directive","pie");break;case 13:this.$=[];break;case 19:i.addRequirement(a[s-3],a[s-4]);break;case 20:i.setNewReqId(a[s-2]);break;case 21:i.setNewReqText(a[s-2]);break;case 22:i.setNewReqRisk(a[s-2]);break;case 23:i.setNewReqVerifyMethod(a[s-2]);break;case 26:this.$=i.RequirementType.REQUIREMENT;break;case 27:this.$=i.RequirementType.FUNCTIONAL_REQUIREMENT;break;case 28:this.$=i.RequirementType.INTERFACE_REQUIREMENT;break;case 29:this.$=i.RequirementType.PERFORMANCE_REQUIREMENT;break;case 30:this.$=i.RequirementType.PHYSICAL_REQUIREMENT;break;case 31:this.$=i.RequirementType.DESIGN_CONSTRAINT;break;case 32:this.$=i.RiskLevel.LOW_RISK;break;case 33:this.$=i.RiskLevel.MED_RISK;break;case 34:this.$=i.RiskLevel.HIGH_RISK;break;case 35:this.$=i.VerifyType.VERIFY_ANALYSIS;break;case 36:this.$=i.VerifyType.VERIFY_DEMONSTRATION;break;case 37:this.$=i.VerifyType.VERIFY_INSPECTION;break;case 38:this.$=i.VerifyType.VERIFY_TEST;break;case 39:i.addElement(a[s-3]);break;case 40:i.setNewElementType(a[s-2]);break;case 41:i.setNewElementDocRef(a[s-2]);break;case 44:i.addRelationship(a[s-2],a[s],a[s-4]);break;case 45:i.addRelationship(a[s-2],a[s-4],a[s]);break;case 46:this.$=i.Relationships.CONTAINS;break;case 47:this.$=i.Relationships.COPIES;break;case 48:this.$=i.Relationships.DERIVES;break;case 49:this.$=i.Relationships.SATISFIES;break;case 50:this.$=i.Relationships.VERIFIES;break;case 51:this.$=i.Relationships.REFINES;break;case 52:this.$=i.Relationships.TRACES}},table:[{3:1,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[3]},{3:10,4:2,5:[1,9],6:e,9:4,14:n,16:i,18:r,19:a},{5:[1,11]},{10:12,20:[1,13]},{15:[1,14]},{17:[1,15]},t(o,[2,8]),{20:[2,9]},{3:16,4:2,6:e,9:4,14:n,16:i,18:r,19:a},{1:[2,2]},{4:21,5:s,7:17,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{11:34,12:[1,35],22:m},t([12,22],[2,10]),t(o,[2,6]),t(o,[2,7]),{1:[2,1]},{8:[1,37]},{4:21,5:s,7:38,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:39,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:40,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:41,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{4:21,5:s,7:42,8:c,9:4,14:n,16:i,18:r,19:a,23:18,24:19,25:20,26:23,32:25,40:u,41:l,42:h,43:f,44:d,45:g,53:p,71:b,72:w},{27:43,71:[1,44],72:[1,45]},{54:46,71:[1,47],72:[1,48]},{60:[1,49],62:[1,50]},t(y,[2,26]),t(y,[2,27]),t(y,[2,28]),t(y,[2,29]),t(y,[2,30]),t(y,[2,31]),t(v,[2,55]),t(v,[2,56]),t(o,[2,4]),{13:51,21:[1,52]},t(o,[2,12]),{1:[2,3]},{8:[2,14]},{8:[2,15]},{8:[2,16]},{8:[2,17]},{8:[2,18]},{28:[1,53]},{28:[2,53]},{28:[2,54]},{28:[1,54]},{28:[2,59]},{28:[2,60]},{61:55,64:x,65:k,66:_,67:A,68:E,69:T,70:C},{61:63,64:x,65:k,66:_,67:A,68:E,69:T,70:C},{11:64,22:m},{22:[2,11]},{5:[1,65]},{5:[1,66]},{62:[1,67]},t(S,[2,46]),t(S,[2,47]),t(S,[2,48]),t(S,[2,49]),t(S,[2,50]),t(S,[2,51]),t(S,[2,52]),{63:[1,68]},t(o,[2,5]),{5:I,29:69,30:M,33:D,35:O,37:L,39:N},{5:P,39:B,55:76,56:F,58:R},{32:81,71:b,72:w},{32:82,71:b,72:w},t(j,[2,19]),{31:[1,83]},{31:[1,84]},{31:[1,85]},{31:[1,86]},{5:I,29:87,30:M,33:D,35:O,37:L,39:N},t(j,[2,25]),t(j,[2,39]),{31:[1,88]},{31:[1,89]},{5:P,39:B,55:90,56:F,58:R},t(j,[2,43]),t(j,[2,44]),t(j,[2,45]),{32:91,71:b,72:w},{34:92,71:[1,93],72:[1,94]},{36:95,46:[1,96],47:[1,97],48:[1,98]},{38:99,49:[1,100],50:[1,101],51:[1,102],52:[1,103]},t(j,[2,24]),{57:104,71:[1,105],72:[1,106]},{59:107,71:[1,108],72:[1,109]},t(j,[2,42]),{5:[1,110]},{5:[1,111]},{5:[2,57]},{5:[2,58]},{5:[1,112]},{5:[2,32]},{5:[2,33]},{5:[2,34]},{5:[1,113]},{5:[2,35]},{5:[2,36]},{5:[2,37]},{5:[2,38]},{5:[1,114]},{5:[2,61]},{5:[2,62]},{5:[1,115]},{5:[2,63]},{5:[2,64]},{5:I,29:116,30:M,33:D,35:O,37:L,39:N},{5:I,29:117,30:M,33:D,35:O,37:L,39:N},{5:I,29:118,30:M,33:D,35:O,37:L,39:N},{5:I,29:119,30:M,33:D,35:O,37:L,39:N},{5:P,39:B,55:120,56:F,58:R},{5:P,39:B,55:121,56:F,58:R},t(j,[2,20]),t(j,[2,21]),t(j,[2,22]),t(j,[2,23]),t(j,[2,40]),t(j,[2,41])],defaultActions:{8:[2,9],10:[2,2],16:[2,1],37:[2,3],38:[2,14],39:[2,15],40:[2,16],41:[2,17],42:[2,18],44:[2,53],45:[2,54],47:[2,59],48:[2,60],52:[2,11],93:[2,57],94:[2,58],96:[2,32],97:[2,33],98:[2,34],100:[2,35],101:[2,36],102:[2,37],103:[2,38],105:[2,61],106:[2,62],108:[2,63],109:[2,64]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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"),19;case 1:return this.begin("type_directive"),20;case 2:return this.popState(),this.begin("arg_directive"),12;case 3:return this.popState(),this.popState(),22;case 4:return 21;case 5:return"title";case 6:return this.begin("acc_title"),14;case 7:return this.popState(),"acc_title_value";case 8:return this.begin("acc_descr"),16;case 9:return this.popState(),"acc_descr_value";case 10:this.begin("acc_descr_multiline");break;case 11:case 53:this.popState();break;case 12:return"acc_descr_multiline_value";case 13:return 5;case 14:case 15:case 16:break;case 17:return 8;case 18:return 6;case 19:return 28;case 20:return 39;case 21:return 31;case 22:return 30;case 23:return 33;case 24:return 35;case 25:return 37;case 26:return 40;case 27:return 41;case 28:return 42;case 29:return 43;case 30:return 44;case 31:return 45;case 32:return 46;case 33:return 47;case 34:return 48;case 35:return 49;case 36:return 50;case 37:return 51;case 38:return 52;case 39:return 53;case 40:return 64;case 41:return 65;case 42:return 66;case 43:return 67;case 44:return 68;case 45:return 69;case 46:return 70;case 47:return 56;case 48:return 58;case 49:return 60;case 50:return 63;case 51:return 62;case 52:this.begin("string");break;case 54:return"qString";case 55:return e.yytext=e.yytext.trim(),71}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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,/^(?:(\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:[11,12],inclusive:!1},acc_descr:{rules:[9],inclusive:!1},acc_title:{rules:[7],inclusive:!1},close_directive:{rules:[],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},open_directive:{rules:[1],inclusive:!1},unqString:{rules:[],inclusive:!1},token:{rules:[],inclusive:!1},string:{rules:[53,54],inclusive:!1},INITIAL:{rules:[0,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,55],inclusive:!0}}};function q(){this.yy={}}return $.lexer=z,q.prototype=$,$.Parser=q,new q}());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"},parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},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.v)()}},p={CONTAINS:"contains",ARROW:"arrow"},b=p,w=(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)};let m={},y=0;const v=(t,e)=>t.insert("rect","#"+e).attr("class","req reqBox").attr("x",0).attr("y",0).attr("width",m.rect_min_width+"px").attr("height",m.rect_min_height+"px"),x=(t,e,n)=>{let i=m.rect_min_width/2,r=t.append("text").attr("class","req reqLabel reqTitle").attr("id",e).attr("x",i).attr("y",m.rect_padding).attr("dominant-baseline","hanging"),a=0;n.forEach((t=>{0==a?r.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",0).text(t):r.append("tspan").attr("text-anchor","middle").attr("x",m.rect_min_width/2).attr("dy",.75*m.line_height).text(t),a++}));let o=1.5*m.rect_padding+a*m.line_height*.75;return t.append("line").attr("class","req-title-line").attr("x1","0").attr("x2",m.rect_min_width).attr("y1",o).attr("y2",o),{titleNode:r,y:o}},k=(t,e,n,i)=>{let r=t.append("text").attr("class","req reqLabel").attr("id",e).attr("x",m.rect_padding).attr("y",i).attr("dominant-baseline","hanging"),a=0;let 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",m.rect_padding).attr("dy",m.line_height).text(t)})),r},_=function(t,e,n,a,o){const s=n.edge(A(e.src),A(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(m.arrowMarkerAbsolute)+"#"+e.type+"_line_ending)"):(u.attr("stroke-dasharray","10,7"),u.attr("marker-end","url("+i.e.getUrl(m.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}>>`)},A=t=>t.replace(/\s/g,"").replace(/\./g,"_"),E={parser:c,db:g,renderer:{draw:(t,e,n,s)=>{m=(0,i.c)().requirement,s.db.clear(),s.parser.parse(t);const c=m.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}']`);w(l,m);const h=new o.k({multigraph:!1,compound:!1,directed:!0}).setGraph({rankdir:m.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 p,b,y;p=f,b=h,y=l,Object.keys(p).forEach((t=>{let e=p[t];t=A(t),i.l.info("Added new requirement: ",t);const n=y.append("g").attr("id",t),r=v(n,"req-"+t);let a=x(n,t+"_title",[`<<${e.type}>>`,`${e.name}`]);k(n,t+"_body",[`Id: ${e.id}`,`Text: ${e.text}`,`Risk: ${e.risk}`,`Verification: ${e.verifyMethod}`],a.y);const o=r.node().getBBox();b.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=A(i),o=n.append("g").attr("id",a),s="element-"+a,c=v(o,s);let u=x(o,s+"_title",["<>",`${i}`]);k(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=A(t.src),i=A(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){_(l,t,h,e,s)}));const E=m.rect_padding,T=l.node().getBBox(),C=T.width+2*E,S=T.height+2*E;(0,i.i)(l,S,C,m.useMaxWidth),l.attr("viewBox",`${T.x-E} ${T.y-E} ${C} ${S}`)}},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`}},5123:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return nt}});var i=n(8540),r=n(1504),a=n(2699),o=n(2510),s=(n(7530),n(6951),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,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,19],u=[1,21],l=[1,22],h=[1,23],f=[1,29],d=[1,30],g=[1,31],p=[1,32],b=[1,33],w=[1,34],m=[1,35],y=[1,36],v=[1,37],x=[1,38],k=[1,39],_=[1,40],A=[1,41],E=[1,43],T=[1,44],C=[1,46],S=[1,47],I=[1,48],M=[1,49],D=[1,50],O=[1,51],L=[1,54],N=[1,4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],P=[4,5,21,55,57],B=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],F=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,54,55,57,58,63,64,65,66,74,84],R=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,53,55,57,58,63,64,65,66,74,84],j=[4,5,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,55,57,58,63,64,65,66,74,84],$=[72,73,74],z=[1,128],q=[1,4,5,7,19,21,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,52,53,54,55,57,58,63,64,65,66,74,84],H={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NEWLINE:5,directive:6,SD:7,document:8,line:9,statement:10,box_section:11,box_line:12,participant_statement:13,openDirective:14,typeDirective:15,closeDirective:16,":":17,argDirective:18,box:19,restOfLine:20,end:21,signal:22,autonumber:23,NUM:24,off:25,activate:26,actor:27,deactivate:28,note_statement:29,links_statement:30,link_statement:31,properties_statement:32,details_statement:33,title:34,legacy_title:35,acc_title:36,acc_title_value:37,acc_descr:38,acc_descr_value:39,acc_descr_multiline_value:40,loop:41,rect:42,opt:43,alt:44,else_sections:45,par:46,par_sections:47,par_over:48,critical:49,option_sections:50,break:51,option:52,and:53,else:54,participant:55,AS:56,participant_actor:57,note:58,placement:59,text2:60,over:61,actor_pair:62,links:63,link:64,properties:65,details:66,spaceList:67,",":68,left_of:69,right_of:70,signaltype:71,"+":72,"-":73,ACTOR:74,SOLID_OPEN_ARROW:75,DOTTED_OPEN_ARROW:76,SOLID_ARROW:77,DOTTED_ARROW:78,SOLID_CROSS:79,DOTTED_CROSS:80,SOLID_POINT:81,DOTTED_POINT:82,TXT:83,open_directive:84,type_directive:85,arg_directive:86,close_directive:87,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NEWLINE",7:"SD",17:":",19:"box",20:"restOfLine",21:"end",23:"autonumber",24:"NUM",25:"off",26:"activate",28:"deactivate",34:"title",35:"legacy_title",36:"acc_title",37:"acc_title_value",38:"acc_descr",39:"acc_descr_value",40:"acc_descr_multiline_value",41:"loop",42:"rect",43:"opt",44:"alt",46:"par",48:"par_over",49:"critical",51:"break",52:"option",53:"and",54:"else",55:"participant",56:"AS",57:"participant_actor",58:"note",61:"over",63:"links",64:"link",65:"properties",66:"details",68:",",69:"left_of",70:"right_of",72:"+",73:"-",74:"ACTOR",75:"SOLID_OPEN_ARROW",76:"DOTTED_OPEN_ARROW",77:"SOLID_ARROW",78:"DOTTED_ARROW",79:"SOLID_CROSS",80:"DOTTED_CROSS",81:"SOLID_POINT",82:"DOTTED_POINT",83:"TXT",84:"open_directive",85:"type_directive",86:"arg_directive",87:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[11,0],[11,2],[12,2],[12,1],[12,1],[6,4],[6,6],[10,1],[10,4],[10,2],[10,4],[10,3],[10,3],[10,2],[10,3],[10,3],[10,2],[10,2],[10,2],[10,2],[10,2],[10,1],[10,1],[10,2],[10,2],[10,1],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,4],[10,1],[50,1],[50,4],[47,1],[47,4],[45,1],[45,4],[13,5],[13,3],[13,5],[13,3],[29,4],[29,4],[30,3],[31,3],[32,3],[33,3],[67,2],[67,1],[62,3],[62,1],[59,1],[59,1],[22,5],[22,5],[22,4],[27,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[71,1],[60,1],[14,1],[15,1],[18,1],[16,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.apply(a[s]),a[s];case 5:case 10:case 9:case 14:this.$=[];break;case 6:case 11:a[s-1].push(a[s]),this.$=a[s-1];break;case 7:case 8:case 12:case 13:case 64:this.$=a[s];break;case 18: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 20:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-2]),sequenceIndexStep:Number(a[s-1]),sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 21:this.$={type:"sequenceIndex",sequenceIndex:Number(a[s-1]),sequenceIndexStep:1,sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 22:this.$={type:"sequenceIndex",sequenceVisible:!1,signalType:i.LINETYPE.AUTONUMBER};break;case 23:this.$={type:"sequenceIndex",sequenceVisible:!0,signalType:i.LINETYPE.AUTONUMBER};break;case 24:this.$={type:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]};break;case 25:this.$={type:"activeEnd",signalType:i.LINETYPE.ACTIVE_END,actor:a[s-1]};break;case 31:i.setDiagramTitle(a[s].substring(6)),this.$=a[s].substring(6);break;case 32:i.setDiagramTitle(a[s].substring(7)),this.$=a[s].substring(7);break;case 33:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 34:case 35:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 36: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 37: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 38: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 39: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 40: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 41: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 42: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 43: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 46:this.$=a[s-3].concat([{type:"option",optionText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.CRITICAL_OPTION},a[s]]);break;case 48:this.$=a[s-3].concat([{type:"and",parText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.PAR_AND},a[s]]);break;case 50:this.$=a[s-3].concat([{type:"else",altText:i.parseMessage(a[s-1]),signalType:i.LINETYPE.ALT_ELSE},a[s]]);break;case 51:a[s-3].type="addParticipant",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 52:a[s-1].type="addParticipant",this.$=a[s-1];break;case 53:a[s-3].type="addActor",a[s-3].description=i.parseMessage(a[s-1]),this.$=a[s-3];break;case 54:a[s-1].type="addActor",this.$=a[s-1];break;case 55:this.$=[a[s-1],{type:"addNote",placement:a[s-2],actor:a[s-1].actor,text:a[s]}];break;case 56: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 57:this.$=[a[s-1],{type:"addLinks",actor:a[s-1].actor,text:a[s]}];break;case 58:this.$=[a[s-1],{type:"addALink",actor:a[s-1].actor,text:a[s]}];break;case 59:this.$=[a[s-1],{type:"addProperties",actor:a[s-1].actor,text:a[s]}];break;case 60:this.$=[a[s-1],{type:"addDetails",actor:a[s-1].actor,text:a[s]}];break;case 63:this.$=[a[s-2],a[s]];break;case 65:this.$=i.PLACEMENT.LEFTOF;break;case 66:this.$=i.PLACEMENT.RIGHTOF;break;case 67: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:"activeStart",signalType:i.LINETYPE.ACTIVE_START,actor:a[s-1]}];break;case 68: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 69: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 70:this.$={type:"addParticipant",actor:a[s]};break;case 71:this.$=i.LINETYPE.SOLID_OPEN;break;case 72:this.$=i.LINETYPE.DOTTED_OPEN;break;case 73:this.$=i.LINETYPE.SOLID;break;case 74:this.$=i.LINETYPE.DOTTED;break;case 75:this.$=i.LINETYPE.SOLID_CROSS;break;case 76:this.$=i.LINETYPE.DOTTED_CROSS;break;case 77:this.$=i.LINETYPE.SOLID_POINT;break;case 78:this.$=i.LINETYPE.DOTTED_POINT;break;case 79:this.$=i.parseMessage(a[s].trim().substring(1));break;case 80:i.parseDirective("%%{","open_directive");break;case 81:i.parseDirective(a[s],"type_directive");break;case 82:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 83:i.parseDirective("}%%","close_directive","sequence")}},table:[{3:1,4:e,5:n,6:4,7:i,14:6,84:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,14:6,84:r},{3:9,4:e,5:n,6:4,7:i,14:6,84:r},{3:10,4:e,5:n,6:4,7:i,14:6,84:r},t([1,4,5,19,23,26,28,34,35,36,38,40,41,42,43,44,46,48,49,51,55,57,58,63,64,65,66,74,84],a,{8:11}),{15:12,85:[1,13]},{85:[2,80]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{16:52,17:[1,53],87:L},t([17,87],[2,81]),t(N,[2,6]),{6:42,10:55,13:18,14:6,19:c,22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},t(N,[2,8]),t(N,[2,9]),t(N,[2,17]),{20:[1,56]},{5:[1,57]},{5:[1,60],24:[1,58],25:[1,59]},{27:61,74:O},{27:62,74:O},{5:[1,63]},{5:[1,64]},{5:[1,65]},{5:[1,66]},{5:[1,67]},t(N,[2,31]),t(N,[2,32]),{37:[1,68]},{39:[1,69]},t(N,[2,35]),{20:[1,70]},{20:[1,71]},{20:[1,72]},{20:[1,73]},{20:[1,74]},{20:[1,75]},{20:[1,76]},{20:[1,77]},t(N,[2,44]),{27:78,74:O},{27:79,74:O},{71:80,75:[1,81],76:[1,82],77:[1,83],78:[1,84],79:[1,85],80:[1,86],81:[1,87],82:[1,88]},{59:89,61:[1,90],69:[1,91],70:[1,92]},{27:93,74:O},{27:94,74:O},{27:95,74:O},{27:96,74:O},t([5,56,68,75,76,77,78,79,80,81,82,83],[2,70]),{5:[1,97]},{18:98,86:[1,99]},{5:[2,83]},t(N,[2,7]),t(P,[2,10],{11:100}),t(N,[2,19]),{5:[1,102],24:[1,101]},{5:[1,103]},t(N,[2,23]),{5:[1,104]},{5:[1,105]},t(N,[2,26]),t(N,[2,27]),t(N,[2,28]),t(N,[2,29]),t(N,[2,30]),t(N,[2,33]),t(N,[2,34]),t(B,a,{8:106}),t(B,a,{8:107}),t(B,a,{8:108}),t(F,a,{45:109,8:110}),t(R,a,{47:111,8:112}),t(R,a,{8:112,47:113}),t(j,a,{50:114,8:115}),t(B,a,{8:116}),{5:[1,118],56:[1,117]},{5:[1,120],56:[1,119]},{27:123,72:[1,121],73:[1,122],74:O},t($,[2,71]),t($,[2,72]),t($,[2,73]),t($,[2,74]),t($,[2,75]),t($,[2,76]),t($,[2,77]),t($,[2,78]),{27:124,74:O},{27:126,62:125,74:O},{74:[2,65]},{74:[2,66]},{60:127,83:z},{60:129,83:z},{60:130,83:z},{60:131,83:z},t(q,[2,15]),{16:132,87:L},{87:[2,82]},{4:[1,135],5:[1,137],12:134,13:136,21:[1,133],55:E,57:T},{5:[1,138]},t(N,[2,21]),t(N,[2,22]),t(N,[2,24]),t(N,[2,25]),{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,139],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,140],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,141],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,142]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,49],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,54:[1,143],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,144]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,47],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,53:[1,145],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{21:[1,146]},{21:[1,147]},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[2,45],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,52:[1,148],55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{4:o,5:s,6:42,9:14,10:16,13:18,14:6,19:c,21:[1,149],22:20,23:u,26:l,27:45,28:h,29:24,30:25,31:26,32:27,33:28,34:f,35:d,36:g,38:p,40:b,41:w,42:m,43:y,44:v,46:x,48:k,49:_,51:A,55:E,57:T,58:C,63:S,64:I,65:M,66:D,74:O,84:r},{20:[1,150]},t(N,[2,52]),{20:[1,151]},t(N,[2,54]),{27:152,74:O},{27:153,74:O},{60:154,83:z},{60:155,83:z},{60:156,83:z},{68:[1,157],83:[2,64]},{5:[2,57]},{5:[2,79]},{5:[2,58]},{5:[2,59]},{5:[2,60]},{5:[1,158]},t(N,[2,18]),t(P,[2,11]),{13:159,55:E,57:T},t(P,[2,13]),t(P,[2,14]),t(N,[2,20]),t(N,[2,36]),t(N,[2,37]),t(N,[2,38]),t(N,[2,39]),{20:[1,160]},t(N,[2,40]),{20:[1,161]},t(N,[2,41]),t(N,[2,42]),{20:[1,162]},t(N,[2,43]),{5:[1,163]},{5:[1,164]},{60:165,83:z},{60:166,83:z},{5:[2,69]},{5:[2,55]},{5:[2,56]},{27:167,74:O},t(q,[2,16]),t(P,[2,12]),t(F,a,{8:110,45:168}),t(R,a,{8:112,47:169}),t(j,a,{8:115,50:170}),t(N,[2,51]),t(N,[2,53]),{5:[2,67]},{5:[2,68]},{83:[2,63]},{21:[2,50]},{21:[2,48]},{21:[2,46]}],defaultActions:{7:[2,80],8:[2,1],9:[2,2],10:[2,3],54:[2,83],91:[2,65],92:[2,66],99:[2,82],127:[2,57],128:[2,79],129:[2,58],130:[2,59],131:[2,60],154:[2,69],155:[2,55],156:[2,56],165:[2,67],166:[2,68],167:[2,63],168:[2,50],169:[2,48],170:[2,46]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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"),84;case 1:return this.begin("type_directive"),85;case 2:return this.popState(),this.begin("arg_directive"),17;case 3:return this.popState(),this.popState(),87;case 4:return 86;case 5:case 54:case 67:return 5;case 6:case 7:case 8:case 9:case 10:break;case 11:return 24;case 12:return this.begin("LINE"),19;case 13:return this.begin("ID"),55;case 14:return this.begin("ID"),57;case 15:return e.yytext=e.yytext.trim(),this.begin("ALIAS"),74;case 16:return this.popState(),this.popState(),this.begin("LINE"),56;case 17:return this.popState(),this.popState(),5;case 18:return this.begin("LINE"),41;case 19:return this.begin("LINE"),42;case 20:return this.begin("LINE"),43;case 21:return this.begin("LINE"),44;case 22:return this.begin("LINE"),54;case 23:return this.begin("LINE"),46;case 24:return this.begin("LINE"),48;case 25:return this.begin("LINE"),53;case 26:return this.begin("LINE"),49;case 27:return this.begin("LINE"),52;case 28:return this.begin("LINE"),51;case 29:return this.popState(),20;case 30:return 21;case 31:return 69;case 32:return 70;case 33:return 63;case 34:return 64;case 35:return 65;case 36:return 66;case 37:return 61;case 38:return 58;case 39:return this.begin("ID"),26;case 40:return this.begin("ID"),28;case 41:return 34;case 42:return 35;case 43:return this.begin("acc_title"),36;case 44:return this.popState(),"acc_title_value";case 45:return this.begin("acc_descr"),38;case 46:return this.popState(),"acc_descr_value";case 47:this.begin("acc_descr_multiline");break;case 48:this.popState();break;case 49:return"acc_descr_multiline_value";case 50:return 7;case 51:return 23;case 52:return 25;case 53:return 68;case 55:return e.yytext=e.yytext.trim(),74;case 56:return 77;case 57:return 78;case 58:return 75;case 59:return 76;case 60:return 79;case 61:return 80;case 62:return 81;case 63:return 82;case 64:return 83;case 65:return 72;case 66:return 73;case 68:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:[\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,/^(?:[^\->:\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:[48,49],inclusive:!1},acc_descr:{rules:[46],inclusive:!1},acc_title:{rules:[44],inclusive:!1},open_directive:{rules:[1,8],inclusive:!1},type_directive:{rules:[2,3,8],inclusive:!1},arg_directive:{rules:[3,4,8],inclusive:!1},ID:{rules:[7,8,15],inclusive:!1},ALIAS:{rules:[7,8,16,17],inclusive:!1},LINE:{rules:[7,8,29],inclusive:!1},INITIAL:{rules:[0,5,6,8,9,10,11,12,13,14,18,19,20,21,22,23,24,25,26,27,28,30,31,32,33,34,35,36,37,38,39,40,41,42,43,45,47,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68],inclusive:!0}}};function G(){this.yy={}}return H.lexer=U,G.prototype=H,H.Parser=G,new G}());s.parser=s;const c=s;let u,l,h,f={},d=[],g=[],p=!1;const b=function(t,e,n,i){let r=h;const a=f[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}),f[t]={box:r,name:e,description:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,prevActor:u,links:{},properties:{},actorCnt:null,rectData:null,type:i||"participant"},u&&f[u]&&(f[u].nextActor=t),h&&h.actorKeys.push(t),u=t},w=function(t,e,n={text:void 0,wrap:void 0},i){if(i===v.ACTIVE_END){if((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 g.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,type:i}),!0},m=function(t){return f[t]},y=()=>void 0!==l?l:(0,i.c)().sequence.wrap,v={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},x=function(t,e,n){n.text,void 0===n.wrap&&y()||n.wrap;const i=[].concat(t,t);g.push({from:i[0],to:i[1],message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,type:v.NOTE,placement:e})},k=function(t,e){const n=m(t);try{let t=(0,i.d)(e.text,(0,i.c)());t=t.replace(/&/g,"&"),t=t.replace(/=/g,"=");_(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor link text",t)}};function _(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=m(t);try{let t=(0,i.d)(e.text,(0,i.c)());E(n,JSON.parse(t))}catch(t){i.l.error("error while parsing actor properties text",t)}};function E(t,e){if(null==t.properties)t.properties=e;else for(let n in e)t.properties[n]=e[n]}const T=function(t,e){const n=m(t),r=document.getElementById(e.text);try{const t=r.innerHTML,e=JSON.parse(t);e.properties&&E(n,e.properties),e.links&&_(n,e.links)}catch(t){i.l.error("error while parsing actor details text",t)}},C=function(t){if(Array.isArray(t))t.forEach((function(t){C(t)}));else switch(t.type){case"sequenceIndex":g.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":b(t.actor,t.actor,t.description,"participant");break;case"addActor":b(t.actor,t.actor,t.description,"actor");break;case"activeStart":case"activeEnd":w(t.actor,void 0,void 0,t.signalType);break;case"addNote":x(t.actor,t.placement,t.text);break;case"addLinks":k(t.actor,t.text);break;case"addALink":!function(t,e){const n=m(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,_(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":T(t.actor,t.text);break;case"addMessage":w(t.from,t.to,t.msg,t.signalType);break;case"boxStart":e=t.boxData,d.push({name:e.text,wrap:void 0===e.wrap&&y()||!!e.wrap,fill:e.color,actorKeys:[]}),h=d.slice(-1)[0];break;case"boxEnd":h=void 0;break;case"loopStart":w(void 0,void 0,t.loopText,t.signalType);break;case"loopEnd":case"rectEnd":case"optEnd":case"altEnd":case"parEnd":case"criticalEnd":case"breakEnd":w(void 0,void 0,void 0,t.signalType);break;case"rectStart":w(void 0,void 0,t.color,t.signalType);break;case"optStart":w(void 0,void 0,t.optText,t.signalType);break;case"altStart":case"else":w(void 0,void 0,t.altText,t.signalType);break;case"setAccTitle":(0,i.s)(t.text);break;case"parStart":case"and":w(void 0,void 0,t.parText,t.signalType);break;case"criticalStart":w(void 0,void 0,t.criticalText,t.signalType);break;case"option":w(void 0,void 0,t.optionText,t.signalType);break;case"breakStart":w(void 0,void 0,t.breakText,t.signalType)}var e},S={addActor:b,addMessage:function(t,e,n,i){g.push({from:t,to:e,message:n.text,wrap:void 0===n.wrap&&y()||!!n.wrap,answer:i})},addSignal:w,addLinks:k,addDetails:T,addProperties:A,autoWrap:y,setWrap:function(t){l=t},enableSequenceNumbers:function(){p=!0},disableSequenceNumbers:function(){p=!1},showSequenceNumbers:()=>p,getMessages:function(){return g},getActors:function(){return f},getActor:m,getActorKeys:function(){return Object.keys(f)},getActorProperty:function(t,e){if(void 0!==t&&void 0!==t.properties)return t.properties[e]},getAccTitle:i.g,getBoxes:function(){return d},getDiagramTitle:i.t,setDiagramTitle:i.r,parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().sequence,clear:function(){f={},d=[],g=[],p=!1,(0,i.v)()},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:v,ARROWTYPE:{FILLED:0,OPEN:1},PLACEMENT:{LEFTOF:0,RIGHTOF:1,OVER:2},addNote:x,setAccTitle:i.s,apply:C,setAccDescription:i.b,getAccDescription:i.a,hasAtLeastOneBox:function(){return d.length>0},hasAtLeastOneBoxWithTitle:function(){return d.some((t=>t.name))}},I=t=>`.actor {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n\n text.actor > tspan {\n fill: ${t.actorTextColor};\n stroke: none;\n }\n\n .actor-line {\n stroke: ${t.actorLineColor};\n }\n\n .messageLine0 {\n stroke-width: 1.5;\n stroke-dasharray: none;\n stroke: ${t.signalColor};\n }\n\n .messageLine1 {\n stroke-width: 1.5;\n stroke-dasharray: 2, 2;\n stroke: ${t.signalColor};\n }\n\n #arrowhead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .sequenceNumber {\n fill: ${t.sequenceNumberColor};\n }\n\n #sequencenumber {\n fill: ${t.signalColor};\n }\n\n #crosshead path {\n fill: ${t.signalColor};\n stroke: ${t.signalColor};\n }\n\n .messageText {\n fill: ${t.signalTextColor};\n stroke: none;\n }\n\n .labelBox {\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBkgColor};\n }\n\n .labelText, .labelText > tspan {\n fill: ${t.labelTextColor};\n stroke: none;\n }\n\n .loopText, .loopText > tspan {\n fill: ${t.loopTextColor};\n stroke: none;\n }\n\n .loopLine {\n stroke-width: 2px;\n stroke-dasharray: 2, 2;\n stroke: ${t.labelBoxBorderColor};\n fill: ${t.labelBoxBorderColor};\n }\n\n .note {\n //stroke: #decc93;\n stroke: ${t.noteBorderColor};\n fill: ${t.noteBkgColor};\n }\n\n .noteText, .noteText > tspan {\n fill: ${t.noteTextColor};\n stroke: none;\n }\n\n .activation0 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation1 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .activation2 {\n fill: ${t.activationBkgColor};\n stroke: ${t.activationBorderColor};\n }\n\n .actorPopupMenu {\n position: absolute;\n }\n\n .actorPopupMenuPanel {\n position: absolute;\n fill: ${t.actorBkg};\n box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);\n filter: drop-shadow(3px 5px 2px rgb(0 0 0 / 0.4));\n}\n .actor-man line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n }\n .actor-man circle, line {\n stroke: ${t.actorBorder};\n fill: ${t.actorBkg};\n stroke-width: 2px;\n }\n`,M=function(t,e){return(0,a.d)(t,e)},D=(t,e)=>{(0,i.E)((()=>{const n=document.querySelectorAll(t);0!==n.length&&(n[0].addEventListener("mouseover",(function(){O("actor"+e+"_popup")})),n[0].addEventListener("mouseout",(function(){L("actor"+e+"_popup")})))}))},O=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="block")},L=function(t){var e=document.getElementById(t);null!=e&&(e.style.display="none")},N=function(t,e){let n=0,r=0;const a=e.text.split(i.e.lineBreakRegex),[o,s]=(0,i.B)(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},P=function(t,e){const n=t.append("polygon");var i,r,a,o,s;return n.attr("points",(i=e.x,r=e.y,a=e.width,o=e.height,i+","+r+" "+(i+a)+","+r+" "+(i+a)+","+(r+o-(s=7))+" "+(i+a-1.2*s)+","+(r+o)+" "+i+","+(r+o))),n.attr("class","labelBox"),e.y=e.y+e.height/2,N(t,e),n};let B=-1;const F=(t,e)=>{t.selectAll&&t.selectAll(".actor-line").attr("class","200").attr("y2",e-55)},R=function(t,e){(0,a.a)(t,e)},j=function(){return{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}},$=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.B)(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"),z(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}},anchorElement:function(t){return t.append("g")},drawActivation: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,M(s,o)},drawLoop: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",P(f,g),g=j(),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=N(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=N(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},drawBackgroundRect:R,insertArrowHead: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")},insertArrowFilledHead: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")},insertSequenceNumber: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)},insertArrowCrossHead:function(t){t.append("defs").append("marker").attr("id","crosshead").attr("markerWidth",15).attr("markerHeight",8).attr("orient","auto").attr("refX",4).attr("refY",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")},insertDatabaseIcon: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")},insertComputerIcon: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")},insertClockIcon: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")},getTextObj:j,getNoteRect:function(){return{x:0,y:0,fill:"#EDF2AE",stroke:"#666",width:100,anchor:"start",height:100,rx:0,ry:0}},popupMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'block'; }"},popdownMenu:function(t){return"var pu = document.getElementById('"+t+"'); if (pu != null) { pu.style.display = 'none'; }"},fixLifeLineHeights:F,sanitizeUrl:o.Nm};let H={};const U={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,X((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*H.boxMargin,Math.min),r.updateVal(s,"stopy",i+c*H.boxMargin,Math.max),r.updateVal(U.data,"startx",t-c*H.boxMargin,Math.min),r.updateVal(U.data,"stopx",n+c*H.boxMargin,Math.max),"activation"!==o&&(r.updateVal(s,"startx",t-c*H.boxMargin,Math.min),r.updateVal(s,"stopx",n+c*H.boxMargin,Math.max),r.updateVal(U.data,"starty",e-c*H.boxMargin,Math.min),r.updateVal(U.data,"stopy",i+c*H.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(U.data,"startx",a,Math.min),this.updateVal(U.data,"starty",s,Math.min),this.updateVal(U.data,"stopx",o,Math.max),this.updateVal(U.data,"stopy",c,Math.max),this.updateBounds(a,s,o,c)},newActivation:function(t,e,n){const i=n[t.from.actor],r=V(t.from.actor).length||0,a=i.x+i.width/2+(r-1)*H.activationWidth/2;this.activations.push({startx:a,starty:this.verticalPos+2,stopx:a+H.activationWidth,stopy:void 0,actor:t.from.actor,anchored:q.anchorElement(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:U.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}}},G=t=>({fontFamily:t.messageFontFamily,fontSize:t.messageFontSize,fontWeight:t.messageFontWeight}),Y=t=>({fontFamily:t.noteFontFamily,fontSize:t.noteFontSize,fontWeight:t.noteFontWeight}),Z=t=>({fontFamily:t.actorFontFamily,fontSize:t.actorFontSize,fontWeight:t.actorFontWeight});const W=function(t,e,n,r,a,o,s){if(!0===a.hideUnusedParticipants){const t=new Set;o.forEach((e=>{t.add(e.from),t.add(e.to)})),n=n.filter((e=>t.has(e)))}let c,u=0,l=0,h=0;for(const a of n){const n=e[a],o=n.box;c&&c!=o&&(s||U.models.addBox(c),l+=H.boxMargin+c.margin),o&&o!=c&&(s||(o.x=u+l,o.y=r),l+=o.margin),n.width=n.width||H.width,n.height=i.e.getMax(n.height||H.height,H.height),n.margin=n.margin||H.actorMargin,n.x=u+l,n.y=U.getVerticalPos();const f=q.drawActor(t,n,H,s);h=i.e.getMax(h,f),U.insert(n.x,r,n.x+n.width,n.height),u+=n.width+l,n.box&&(n.box.width=u+o.margin-n.box.x),l=n.margin,c=n.box,U.models.addActor(n)}c&&!s&&U.models.addBox(c),U.bumpVerticalPos(h)},K=function(t,e,n,i){let r=0,a=0;for(const o of n){const n=e[o],s=tt(n),c=q.drawPopup(t,n,s,H,H.forceMenus,i);c.height>r&&(r=c.height),c.width+n.x>a&&(a=c.width+n.x)}return{maxHeight:r,maxWidth:a}},X=function(t){(0,i.f)(H,t),t.fontFamily&&(H.actorFontFamily=H.noteFontFamily=H.messageFontFamily=t.fontFamily),t.fontSize&&(H.actorFontSize=H.noteFontSize=H.messageFontSize=t.fontSize),t.fontWeight&&(H.actorFontWeight=H.noteFontWeight=H.messageFontWeight=t.fontWeight)},V=function(t){return U.activations.filter((function(e){return e.actor===t}))},Q=function(t,e){const n=e[t],r=V(t);return[r.reduce((function(t,e){return i.e.getMin(t,e.startx)}),n.x+n.width/2),r.reduce((function(t,e){return i.e.getMax(t,e.stopx)}),n.x+n.width/2)]};function J(t,e,n,r,a){U.bumpVerticalPos(n);let o=r;if(e.id&&e.message&&t[e.id]){const n=t[e.id].width,a=G(H);e.message=i.u.wrapLabel(`[${e.message}]`,n-2*H.wrapPadding,a),e.width=n,e.wrap=!0;const s=i.u.calculateTextDimensions(e.message,a),c=i.e.getMax(s.height,H.labelBoxHeight);o=r+c,i.l.debug(`${c} - ${e.message}`)}a(e),U.bumpVerticalPos(o)}const tt=function(t){let e=0;const n=Z(H);for(const r in t.links){const t=i.u.calculateTextDimensions(r,n).width+2*H.wrapPadding+2*H.boxMargin;et.actor)).lastIndexOf(t.from.actor);delete U.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,H.width,Y(H)):t.message,Y(H));const c={width:o?H.width:i.e.getMax(H.width,s.width+2*H.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(H.width,s.width):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*H.noteMargin),c.startx=r+(e[t.from].width+H.actorMargin)/2):t.placement===n.db.PLACEMENT.LEFTOF?(c.width=o?i.e.getMax(H.width,s.width+2*H.noteMargin):i.e.getMax(e[t.from].width/2+e[t.to].width/2,s.width+2*H.noteMargin),c.startx=r-c.width+(e[t.from].width-H.actorMargin)/2):t.to===t.from?(s=i.u.calculateTextDimensions(o?i.u.wrapLabel(t.message,i.e.getMax(H.width,e[t.from].width),Y(H)):t.message,Y(H)),c.width=o?i.e.getMax(H.width,e[t.from].width):i.e.getMax(e[t.from].width,H.width,s.width+2*H.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))+H.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))-H.labelBoxWidth}))):(u=function(t,e,n){let r=!1;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)&&(r=!0),!r)return{};const a=Q(t.from,e),o=Q(t.to,e),s=a[0]<=o[0]?1:0,c=a[0]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))-H.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)-H.labelBoxWidth})))})),U.activations=[],i.l.debug("Loop type widths:",a),a},nt={parser:c,db:S,renderer:{bounds:U,drawActors:W,drawActorsPopup:K,setConf:X,draw:function(t,e,n,o){const{securityLevel:s,sequence:c}=(0,i.c)();let u;H=c,o.db.clear(),o.parser.parse(t),"sandbox"===s&&(u=(0,r.Ys)("#i"+e));const l="sandbox"===s?(0,r.Ys)(u.nodes()[0].contentDocument.body):(0,r.Ys)("body"),h="sandbox"===s?u.nodes()[0].contentDocument:document;U.init(),i.l.debug(o.db);const f="sandbox"===s?l.select(`[id="${e}"]`):(0,r.Ys)(`[id="${e}"]`),d=o.db.getActors(),g=o.db.getBoxes(),p=o.db.getActorKeys(),b=o.db.getMessages(),w=o.db.getDiagramTitle(),m=o.db.hasAtLeastOneBox(),y=o.db.hasAtLeastOneBoxWithTitle(),v=function(t,e,n){const r={};return e.forEach((function(e){if(t[e.to]&&t[e.from]){const a=t[e.to];if(e.placement===n.db.PLACEMENT.LEFTOF&&!a.prevActor)return;if(e.placement===n.db.PLACEMENT.RIGHTOF&&!a.nextActor)return;const o=void 0!==e.placement,s=!o,c=o?Y(H):G(H),u=e.wrap?i.u.wrapLabel(e.message,H.width-2*H.wrapPadding,c):e.message,l=i.u.calculateTextDimensions(u,c).width+2*H.wrapPadding;s&&e.from===a.nextActor?r[e.to]=i.e.getMax(r[e.to]||0,l):s&&e.from===a.prevActor?r[e.from]=i.e.getMax(r[e.from]||0,l):s&&e.from===e.to?(r[e.from]=i.e.getMax(r[e.from]||0,l/2),r[e.to]=i.e.getMax(r[e.to]||0,l/2)):e.placement===n.db.PLACEMENT.RIGHTOF?r[e.from]=i.e.getMax(r[e.from]||0,l):e.placement===n.db.PLACEMENT.LEFTOF?r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l):e.placement===n.db.PLACEMENT.OVER&&(a.prevActor&&(r[a.prevActor]=i.e.getMax(r[a.prevActor]||0,l/2)),a.nextActor&&(r[e.from]=i.e.getMax(r[e.from]||0,l/2)))}})),i.l.debug("maxMessageWidthPerActor:",r),r}(d,b,o);H.height=function(t,e,n){let r=0;Object.keys(t).forEach((e=>{const n=t[e];n.wrap&&(n.description=i.u.wrapLabel(n.description,H.width-2*H.wrapPadding,Z(H)));const a=i.u.calculateTextDimensions(n.description,Z(H));n.width=n.wrap?H.width:i.e.getMax(H.width,a.width+2*H.wrapPadding),n.height=n.wrap?i.e.getMax(a.height,H.height):H.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]+H.actorMargin-r.width/2;r.margin=i.e.getMax(t,H.actorMargin);continue}const o=e[n]+H.actorMargin-r.width/2-a.width/2;r.margin=i.e.getMax(o,H.actorMargin)}let a=0;return n.forEach((e=>{const n=G(H);let r=e.actorKeys.reduce(((e,n)=>e+(t[n].width+(t[n].margin||0))),0);r-=2*H.boxTextMargin,e.wrap&&(e.name=i.u.wrapLabel(e.name,r-2*H.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*H.wrapPadding);if(e.margin=H.boxTextMargin,rt.textMaxHeight=a)),i.e.getMax(r,H.height)}(d,v,g),q.insertComputerIcon(f),q.insertDatabaseIcon(f),q.insertClockIcon(f),m&&(U.bumpVerticalPos(H.boxMargin),y&&U.bumpVerticalPos(g[0].textMaxHeight)),W(f,d,p,0,H,b,!1);const x=et(b,d,v,o);q.insertArrowHead(f),q.insertArrowCrossHead(f),q.insertArrowFilledHead(f),q.insertSequenceNumber(f);let k=1,_=1;const A=[];b.forEach((function(t){let e,n,r;switch(t.type){case o.db.LINETYPE.NOTE:U.resetVerticalPos(),n=t.noteModel,function(t,e){U.bumpVerticalPos(H.boxMargin),e.height=H.boxMargin,e.starty=U.getVerticalPos();const n=(0,a.g)();n.x=e.startx,n.y=e.starty,n.width=e.width||H.width,n.class="note";const i=t.append("g"),r=q.drawRect(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=H.noteFontFamily,o.fontSize=H.noteFontSize,o.fontWeight=H.noteFontWeight,o.anchor=H.noteAlign,o.textMargin=H.noteMargin,o.valign="center";const s=N(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*H.noteMargin),e.height+=c+2*H.noteMargin,U.bumpVerticalPos(c+2*H.noteMargin),e.stopy=e.starty+c+2*H.noteMargin,e.stopx=e.startx+n.width,U.insert(e.startx,e.starty,e.stopx,e.stopy),U.models.addNote(e)}(f,n);break;case o.db.LINETYPE.ACTIVE_START:U.newActivation(t,f,d);break;case o.db.LINETYPE.ACTIVE_END:!function(t,e){const n=U.endActivation(t);n.starty+18>e&&(n.starty=e-6,e+=12),q.drawActivation(f,n,e,H,V(t.from.actor).length),U.insert(n.startx,e-10,n.stopx,e)}(t,U.getVerticalPos());break;case o.db.LINETYPE.LOOP_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.LOOP_END:e=U.endLoop(),q.drawLoop(f,e,"loop",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.RECT_START:J(x,t,H.boxMargin,H.boxMargin,(t=>U.newLoop(void 0,t.message)));break;case o.db.LINETYPE.RECT_END:e=U.endLoop(),q.drawBackgroundRect(f,e),U.models.addLoop(e),U.bumpVerticalPos(e.stopy-U.getVerticalPos());break;case o.db.LINETYPE.OPT_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.OPT_END:e=U.endLoop(),q.drawLoop(f,e,"opt",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.ALT_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.ALT_ELSE:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.ALT_END:e=U.endLoop(),q.drawLoop(f,e,"alt",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.PAR_START:case o.db.LINETYPE.PAR_OVER_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t))),U.saveVerticalPos();break;case o.db.LINETYPE.PAR_AND:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.PAR_END:e=U.endLoop(),q.drawLoop(f,e,"par",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.AUTONUMBER:k=t.message.start||k,_=t.message.step||_,t.message.visible?o.db.enableSequenceNumbers():o.db.disableSequenceNumbers();break;case o.db.LINETYPE.CRITICAL_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.CRITICAL_OPTION:J(x,t,H.boxMargin+H.boxTextMargin,H.boxMargin,(t=>U.addSectionToLoop(t)));break;case o.db.LINETYPE.CRITICAL_END:e=U.endLoop(),q.drawLoop(f,e,"critical",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;case o.db.LINETYPE.BREAK_START:J(x,t,H.boxMargin,H.boxMargin+H.boxTextMargin,(t=>U.newLoop(t)));break;case o.db.LINETYPE.BREAK_END:e=U.endLoop(),q.drawLoop(f,e,"break",H),U.bumpVerticalPos(e.stopy-U.getVerticalPos()),U.models.addLoop(e);break;default:try{U.resetVerticalPos(),r=t.msgModel,r.starty=U.getVerticalPos(),r.sequenceIndex=k,r.sequenceVisible=o.db.showSequenceNumbers();const e=function(t,e){U.bumpVerticalPos(10);const{startx:n,stopx:r,message:a}=e,o=i.e.splitBreaks(a).length,s=i.u.calculateTextDimensions(a,G(H)),c=s.height/o;let u;e.height+=c,U.bumpVerticalPos(c);let l=s.height-10;const h=s.width;if(n===r){u=U.getVerticalPos()+l,H.rightAngles||(l+=H.boxMargin,u=U.getVerticalPos()+l),l+=30;const t=i.e.getMax(h/2,H.width/2);U.insert(n-t,U.getVerticalPos()-10+l,r+t,U.getVerticalPos()+30+l)}else l+=H.boxMargin,u=U.getVerticalPos()+l,U.insert(n,u-10,r,u);return U.bumpVerticalPos(l),e.height+=l,e.stopy=e.starty+e.height,U.insert(e.fromBounds,e.starty,e.toBounds,e.stopy),u}(0,r);A.push({messageModel:r,lineStartY:e}),U.models.addMessage(r)}catch(t){i.l.error("error while drawing message",t)}}[o.db.LINETYPE.SOLID_OPEN,o.db.LINETYPE.DOTTED_OPEN,o.db.LINETYPE.SOLID,o.db.LINETYPE.DOTTED,o.db.LINETYPE.SOLID_CROSS,o.db.LINETYPE.DOTTED_CROSS,o.db.LINETYPE.SOLID_POINT,o.db.LINETYPE.DOTTED_POINT].includes(t.type)&&(k+=_)})),A.forEach((t=>function(t,e,n,r){const{startx:o,stopx:s,starty:c,message:u,type:l,sequenceIndex:h,sequenceVisible:f}=e,d=i.u.calculateTextDimensions(u,G(H)),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=H.messageFontFamily,g.fontSize=H.messageFontSize,g.fontWeight=H.messageFontWeight,g.anchor=H.messageAlign,g.valign="center",g.textMargin=H.wrapPadding,g.tspan=!1,N(t,g);const p=d.width;let b;o===s?b=H.rightAngles?t.append("path").attr("d",`M ${o},${n} H ${o+i.e.getMax(H.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="";H.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||H.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))),H.mirrorActors&&(U.bumpVerticalPos(2*H.boxMargin),W(f,d,p,U.getVerticalPos(),H,b,!0),U.bumpVerticalPos(H.boxMargin),F(f,U.getVerticalPos())),U.models.boxes.forEach((function(t){t.height=U.getVerticalPos()-t.y,U.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)",q.drawBox(f,t,H)})),m&&U.bumpVerticalPos(H.boxMargin);const E=K(f,d,p,h),{bounds:T}=U.getBounds();i.l.debug("For line height fix Querying: #"+e+" .actor-line");(0,r.td_)("#"+e+" .actor-line").attr("y2",T.stopy);let C=T.stopy-T.starty;C{c[t]=e},l=(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);return 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),t},h=(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},f=(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 i=t.trim();if(i.length>0){const t=a.append("tspan");t.text(i),0===u&&(u+=t.node().getBBox().height),r+=u,t.attr("x",e+(0,s.c)().state.noteMargin),t.attr("y",n+r+1.25*(0,s.c)().state.noteMargin)}}return{textWidth:a.node().getBBox().width,textHeight:r}})(t,0,0,i);return n.attr("height",a+2*(0,s.c)().state.noteMargin),n.attr("width",r+2*(0,s.c)().state.noteMargin),n},d=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&&f(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),i=n.node().getBBox();t.insert("rect",":first-child").attr("x",(0,s.c)().state.padding).attr("y",(0,s.c)().state.padding).attr("width",i.width+2*(0,s.c)().state.padding).attr("height",i.height+2*(0,s.c)().state.padding).attr("rx",(0,s.c)().state.radius)})(r,e),"default"===e.type&&e.descriptions.length>0&&l(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,u(n,i),i};let g=0;let p;const b={},w=(t,e,n,c,u,l,f)=>{const m=new o.k({compound:!0,multigraph:!0});let y,v=!0;for(y=0;y{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)}))}else s.l.debug("No Node "+t+": "+JSON.stringify(m.node(t)))}));let T=E.getBBox();m.edges().forEach((function(t){void 0!==t&&void 0!==m.edge(t)&&(s.l.debug("Edge "+t.v+" -> "+t.w+": "+JSON.stringify(m.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"+g).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)}g++}(e,m.edge(t),m.edge(t).relation))})),T=E.getBBox();const C={id:n||"root",label:n||"root",width:0,height:0};return C.width=T.width+2*p.padding,C.height=T.height+2*p.padding,s.l.debug("Doc rendered",C,m),C},m={setConf:function(){},draw:function(t,e,n,i){p=(0,s.c)().state;const a=(0,s.c)().securityLevel;let c;"sandbox"===a&&(c=(0,r.Ys)("#i"+e));const u="sandbox"===a?(0,r.Ys)(c.nodes()[0].contentDocument.body):(0,r.Ys)("body"),l="sandbox"===a?c.nodes()[0].contentDocument:document;s.l.debug("Rendering diagram "+t);const h=u.select(`[id='${e}']`);h.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");new o.k({multigraph:!0,compound:!0,rankdir:"RL"}).setDefaultEdgeLabel((function(){return{}}));const f=i.db.getRootDoc();w(f,h,void 0,!1,u,l,i);const d=p.padding,g=h.node().getBBox(),b=g.width+2*d,m=g.height+2*d,y=1.75*b;(0,s.i)(h,m,y,p.useMaxWidth),h.attr("viewBox",`${g.x-p.padding} ${g.y-p.padding} `+b+" "+m)}},y={parser:i.p,db:i.d,renderer:m,styles:i.s,init:t=>{t.state||(t.state={}),t.state.arrowMarkerAbsolute=t.arrowMarkerAbsolute,i.d.clear()}}},6185:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return T}});var i=n(328),r=n(8066),a=n(1504),o=n(8540),s=n(113);n(7530),n(2510),n(6951),n(1768),n(835);const c="rect",u="rectWithTitle",l="statediagram",h="transition",f="parent",d="note",g="----parent",p="fill:none",b="fill: #333",w="text",m="normal";let y={},v=0;function x(t="",e=0,n="",i="----"){return`state-${t}${null!==n&&n.length>0?`${i}${n}`:""}-${e}`}const k=(t,e,n,r,a,s)=>{const l=n.id,h=null==(k=r[l])?"":k.classes?k.classes.join(" "):"";var k;if("root"!==l){let e=c;!0===n.start&&(e="start"),!1===n.start&&(e="end"),n.type!==i.D&&(e=n.type),y[l]||(y[l]={id:l,shape:e,description:o.e.sanitizeText(l,(0,o.c)()),classes:`${h} statediagram-state`});const r=y[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,A(n)),r.type="group",r.dir=A(n),r.shape=n.type===i.a?"divider":"roundedWithTitle",r.classes=r.classes+" statediagram-cluster "+(s?"statediagram-cluster-alt":""));const a={labelStyle:"",shape:r.shape,labelText:r.description,classes:r.classes,style:"",id:l,dir:r.dir,domId:x(l,v),type:r.type,padding:15,centerLabel:!0};if(n.note){const e={labelStyle:"",shape:"note",labelText:n.note.text,classes:"statediagram-note",style:"",id:l+"----note-"+v,domId:x(l,v,d),type:r.type,padding:15},i={labelStyle:"",shape:"noteGroup",labelText:n.note.text,classes:r.classes,style:"",id:l+g,domId:x(l,v,f),type:"group",padding:0};v++;const o=l+g;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:p,labelStyle:"",classes:"transition note-edge",arrowheadStyle:b,labelpos:"c",labelType:w,thickness:m})}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 "),_(t,n,n.doc,r,a,!s))},_=(t,e,n,r,a,s)=>{o.l.trace("items",n),n.forEach((n=>{switch(n.stmt){case i.b:case i.D:k(t,e,n,r,a,s);break;case i.S:{k(t,e,n.state1,r,a,s),k(t,e,n.state2,r,a,s);const i={id:"edge"+v,arrowhead:"normal",arrowTypeEnd:"arrow_barb",style:p,labelStyle:"",label:o.e.sanitizeText(n.description,(0,o.c)()),arrowheadStyle:b,labelpos:"c",labelType:w,thickness:m,classes:h};t.setEdge(n.state1.id,n.state2.id,i,v),v++}}}))},A=(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()}}},8489:function(t,e,n){"use strict";n.d(e,{a:function(){return w},f:function(){return b}});var i=n(8066),r=n(1504),a=n(895),o=n(8540),s=n(113),c=n(8137),u=n(1022),l=n(9297);var h=(t,e)=>u.Z.lang.round(l.Z.parse(t)[e]),f=n(852);const d={},g=function(t,e,n,i,r,a){const s=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,o.k)(i.styles);let h,f=void 0!==i.text?i.text:i.id;if(o.l.info("vertex",i,i.labelType),"markdown"===i.labelType)o.l.info("vertex",i,i.labelType);else if((0,o.n)((0,o.c)().flowchart.htmlLabels)){const t={label:f.replace(/fa[blrs]?:fa-[\w-]+/g,(t=>``))};h=(0,c.a)(s,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(o.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:a.db.getTooltip(i.id)||"",domId:a.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,o.c)().flowchart.padding}),o.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:a.db.lookUpDomId(i.id),width:"group"===i.type?500:void 0,type:i.type,dir:i.dir,props:i.props,padding:(0,o.c)().flowchart.padding})}))},p=function(t,e,n){o.l.info("abc78 edges = ",t);let i,a,s=0,c={};if(void 0!==t.defaultStyle){const e=(0,o.k)(t.defaultStyle);i=e.style,a=e.labelStyle}t.forEach((function(n){s++;const u="L-"+n.start+"-"+n.end;void 0===c[u]?(c[u]=0,o.l.info("abc78 new entry",u,c[u])):(c[u]++,o.l.info("abc78 new entry",u,c[u]));let l=u+"-"+c[u];o.l.info("abc78 new link id to be used is",u,l,c[u]);const h="LS-"+n.start,f="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!==a&&(b=a),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,o.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,o.o)(n.interpolate,r.c_6):void 0!==t.defaultInterpolate?g.curve=(0,o.o)(t.defaultInterpolate,r.c_6):g.curve=(0,o.o)(d.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(o.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+" "+f,e.setEdge(n.start,n.end,g,s)}))},b={setConf:function(t){const e=Object.keys(t);for(const n of e)d[n]=t[n]},addVertices:g,addEdges:p,getClasses:function(t,e){o.l.info("Extracting classes"),e.db.clear();try{return e.parse(t),e.db.getClasses()}catch(t){return}},draw:async function(t,e,n,c){o.l.info("Drawing flowchart"),c.db.clear(),a.f.setGen("gen-2"),c.parser.parse(t);let u=c.db.getDirection();void 0===u&&(u="TD");const{securityLevel:l,flowchart:h}=(0,o.c)(),f=h.nodeSpacing||50,d=h.rankSpacing||50;let b;"sandbox"===l&&(b=(0,r.Ys)("#i"+e));const w="sandbox"===l?(0,r.Ys)(b.nodes()[0].contentDocument.body):(0,r.Ys)("body"),m="sandbox"===l?b.nodes()[0].contentDocument:document,y=new i.k({multigraph:!0,compound:!0}).setGraph({rankdir:u,nodesep:f,ranksep:d,marginx:0,marginy:0}).setDefaultEdgeLabel((function(){return{}}));let v;const x=c.db.getSubGraphs();o.l.info("Subgraphs - ",x);for(let t=x.length-1;t>=0;t--)v=x[t],o.l.info("Subgraph - ",v),c.db.addVertex(v.id,{text:v.title,type:v.labelType},"group",void 0,v.classes,v.dir);const k=c.db.getVertices(),_=c.db.getEdges();o.l.info("Edges",_);let A=0;for(A=x.length-1;A>=0;A--){v=x[A],(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=h,i=n(t,"r"),r=n(t,"g"),a=n(t,"b");return f.Z(i,r,a,e)})(t.edgeLabelBackground,.5)};\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`},5349:function(t,e,n){"use strict";n.d(e,{d:function(){return A},p:function(){return o},s:function(){return E}});var i=n(1504),r=n(8540),a=function(){var t=function(t,e,n,i){for(n=n||{},i=t.length;i--;n[t[i]]=e);return n},e=[1,34],n=[1,35],i=[1,36],r=[1,37],a=[1,9],o=[1,8],s=[1,19],c=[1,20],u=[1,21],l=[1,40],h=[1,41],f=[1,27],d=[1,25],g=[1,26],p=[1,32],b=[1,33],w=[1,28],m=[1,29],y=[1,30],v=[1,31],x=[1,45],k=[1,42],_=[1,43],A=[1,44],E=[1,46],T=[1,24],C=[1,16,24],S=[1,60],I=[1,61],M=[1,62],D=[1,63],O=[1,64],L=[1,65],N=[1,66],P=[1,16,24,52],B=[1,77],F=[1,16,24,27,28,36,50,52,55,68,69,70,71,72,73,74,79,81],R=[1,16,24,27,28,34,36,50,52,55,59,68,69,70,71,72,73,74,79,81,94,96,97,98,99],j=[1,86],$=[28,94,96,97,98,99],z=[28,73,74,94,96,97,98,99],q=[28,68,69,70,71,72,94,96,97,98,99],H=[1,99],U=[1,16,24,50,52,55],G=[1,16,24,36],Y=[8,9,10,11,19,23,44,46,48,53,57,58,60,61,63,65,75,76,78,82,94,96,97,98,99],Z={trace:function(){},yy:{},symbols_:{error:2,start:3,mermaidDoc:4,directive:5,statements:6,direction:7,direction_tb:8,direction_bt:9,direction_rl:10,direction_lr:11,graphConfig:12,openDirective:13,typeDirective:14,closeDirective:15,NEWLINE:16,":":17,argDirective:18,open_directive:19,type_directive:20,arg_directive:21,close_directive:22,CLASS_DIAGRAM:23,EOF:24,statement:25,classLabel:26,SQS:27,STR:28,SQE:29,namespaceName:30,alphaNumToken:31,className:32,classLiteralName:33,GENERICTYPE:34,relationStatement:35,LABEL:36,namespaceStatement:37,classStatement:38,methodStatement:39,annotationStatement:40,clickStatement:41,cssClassStatement:42,noteStatement:43,acc_title:44,acc_title_value:45,acc_descr:46,acc_descr_value:47,acc_descr_multiline_value:48,namespaceIdentifier:49,STRUCT_START:50,classStatements:51,STRUCT_STOP:52,NAMESPACE:53,classIdentifier:54,STYLE_SEPARATOR:55,members:56,CLASS:57,ANNOTATION_START:58,ANNOTATION_END:59,MEMBER:60,SEPARATOR:61,relation:62,NOTE_FOR:63,noteText:64,NOTE:65,relationType:66,lineType:67,AGGREGATION:68,EXTENSION:69,COMPOSITION:70,DEPENDENCY:71,LOLLIPOP:72,LINE:73,DOTTED_LINE:74,CALLBACK:75,LINK:76,LINK_TARGET:77,CLICK:78,CALLBACK_NAME:79,CALLBACK_ARGS:80,HREF:81,CSSCLASS:82,commentToken:83,textToken:84,graphCodeTokens:85,textNoTagsToken:86,TAGSTART:87,TAGEND:88,"==":89,"--":90,PCT:91,DEFAULT:92,SPACE:93,MINUS:94,keywords:95,UNICODE_TEXT:96,NUM:97,ALPHA:98,BQUOTE_STR:99,$accept:0,$end:1},terminals_:{2:"error",8:"direction_tb",9:"direction_bt",10:"direction_rl",11:"direction_lr",16:"NEWLINE",17:":",19:"open_directive",20:"type_directive",21:"arg_directive",22:"close_directive",23:"CLASS_DIAGRAM",24:"EOF",27:"SQS",28:"STR",29:"SQE",34:"GENERICTYPE",36:"LABEL",44:"acc_title",45:"acc_title_value",46:"acc_descr",47:"acc_descr_value",48:"acc_descr_multiline_value",50:"STRUCT_START",52:"STRUCT_STOP",53:"NAMESPACE",55:"STYLE_SEPARATOR",57:"CLASS",58:"ANNOTATION_START",59:"ANNOTATION_END",60:"MEMBER",61:"SEPARATOR",63:"NOTE_FOR",65:"NOTE",68:"AGGREGATION",69:"EXTENSION",70:"COMPOSITION",71:"DEPENDENCY",72:"LOLLIPOP",73:"LINE",74:"DOTTED_LINE",75:"CALLBACK",76:"LINK",77:"LINK_TARGET",78:"CLICK",79:"CALLBACK_NAME",80:"CALLBACK_ARGS",81:"HREF",82:"CSSCLASS",85:"graphCodeTokens",87:"TAGSTART",88:"TAGEND",89:"==",90:"--",91:"PCT",92:"DEFAULT",93:"SPACE",94:"MINUS",95:"keywords",96:"UNICODE_TEXT",97:"NUM",98:"ALPHA",99:"BQUOTE_STR"},productions_:[0,[3,1],[3,2],[3,1],[7,1],[7,1],[7,1],[7,1],[4,1],[5,4],[5,6],[13,1],[14,1],[18,1],[15,1],[12,4],[6,1],[6,2],[6,3],[26,3],[30,1],[30,2],[32,1],[32,1],[32,2],[32,2],[32,2],[25,1],[25,2],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,1],[25,2],[25,2],[25,1],[37,4],[37,5],[49,2],[51,1],[51,2],[51,3],[38,1],[38,3],[38,4],[38,6],[54,2],[54,3],[40,4],[56,1],[56,2],[39,1],[39,2],[39,1],[39,1],[35,3],[35,4],[35,4],[35,5],[43,3],[43,2],[62,3],[62,2],[62,2],[62,1],[66,1],[66,1],[66,1],[66,1],[66,1],[67,1],[67,1],[41,3],[41,4],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[41,3],[41,4],[41,4],[41,5],[42,3],[83,1],[83,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[84,1],[86,1],[86,1],[86,1],[86,1],[31,1],[31,1],[31,1],[31,1],[33,1],[64,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:i.setDirection("TB");break;case 5:i.setDirection("BT");break;case 6:i.setDirection("RL");break;case 7:i.setDirection("LR");break;case 11:i.parseDirective("%%{","open_directive");break;case 12:i.parseDirective(a[s],"type_directive");break;case 13:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 14:i.parseDirective("}%%","close_directive","class");break;case 19:this.$=a[s-1];break;case 20:case 22:case 23:this.$=a[s];break;case 21:case 24:this.$=a[s-1]+a[s];break;case 25:case 26:this.$=a[s-1]+"~"+a[s]+"~";break;case 27:i.addRelation(a[s]);break;case 28:a[s-1].title=i.cleanupLabel(a[s]),i.addRelation(a[s-1]);break;case 37:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 38:case 39:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 40:i.addClassesToNamespace(a[s-3],a[s-1]);break;case 41:i.addClassesToNamespace(a[s-4],a[s-1]);break;case 42:this.$=a[s],i.addNamespace(a[s]);break;case 43:case 53:this.$=[a[s]];break;case 44:this.$=[a[s-1]];break;case 45:a[s].unshift(a[s-2]),this.$=a[s];break;case 47:i.setCssClass(a[s-2],a[s]);break;case 48:i.addMembers(a[s-3],a[s-1]);break;case 49:i.setCssClass(a[s-5],a[s-3]),i.addMembers(a[s-5],a[s-1]);break;case 50:this.$=a[s],i.addClass(a[s]);break;case 51:this.$=a[s-1],i.addClass(a[s-1]),i.setClassLabel(a[s-1],a[s]);break;case 52:i.addAnnotation(a[s],a[s-2]);break;case 54:a[s].push(a[s-1]),this.$=a[s];break;case 55:case 57:case 58:break;case 56:i.addMember(a[s-1],i.cleanupLabel(a[s]));break;case 59:this.$={id1:a[s-2],id2:a[s],relation:a[s-1],relationTitle1:"none",relationTitle2:"none"};break;case 60:this.$={id1:a[s-3],id2:a[s],relation:a[s-1],relationTitle1:a[s-2],relationTitle2:"none"};break;case 61:this.$={id1:a[s-3],id2:a[s],relation:a[s-2],relationTitle1:"none",relationTitle2:a[s-1]};break;case 62:this.$={id1:a[s-4],id2:a[s],relation:a[s-2],relationTitle1:a[s-3],relationTitle2:a[s-1]};break;case 63:i.addNote(a[s],a[s-1]);break;case 64:i.addNote(a[s]);break;case 65:this.$={type1:a[s-2],type2:a[s],lineType:a[s-1]};break;case 66:this.$={type1:"none",type2:a[s],lineType:a[s-1]};break;case 67:this.$={type1:a[s-1],type2:"none",lineType:a[s]};break;case 68:this.$={type1:"none",type2:"none",lineType:a[s]};break;case 69:this.$=i.relationType.AGGREGATION;break;case 70:this.$=i.relationType.EXTENSION;break;case 71:this.$=i.relationType.COMPOSITION;break;case 72:this.$=i.relationType.DEPENDENCY;break;case 73:this.$=i.relationType.LOLLIPOP;break;case 74:this.$=i.lineType.LINE;break;case 75:this.$=i.lineType.DOTTED_LINE;break;case 76:case 82:this.$=a[s-2],i.setClickEvent(a[s-1],a[s]);break;case 77:case 83:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 78:case 86:this.$=a[s-2],i.setLink(a[s-1],a[s]);break;case 79:case 87:this.$=a[s-3],i.setLink(a[s-2],a[s-1],a[s]);break;case 80:case 88:this.$=a[s-3],i.setLink(a[s-2],a[s-1]),i.setTooltip(a[s-2],a[s]);break;case 81:case 89:this.$=a[s-4],i.setLink(a[s-3],a[s-2],a[s]),i.setTooltip(a[s-3],a[s-1]);break;case 84:this.$=a[s-3],i.setClickEvent(a[s-2],a[s-1],a[s]);break;case 85:this.$=a[s-4],i.setClickEvent(a[s-3],a[s-2],a[s-1]),i.setTooltip(a[s-3],a[s]);break;case 90:i.setCssClass(a[s-1],a[s])}},table:[{3:1,4:2,5:3,6:4,7:18,8:e,9:n,10:i,11:r,12:5,13:6,19:a,23:o,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},{1:[3]},{1:[2,1]},{3:47,4:2,5:3,6:4,7:18,8:e,9:n,10:i,11:r,12:5,13:6,19:a,23:o,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},{1:[2,3]},{1:[2,8]},{14:48,20:[1,49]},t(T,[2,16],{16:[1,50]}),{16:[1,51]},{20:[2,11]},t(C,[2,27],{36:[1,52]}),t(C,[2,29]),t(C,[2,30]),t(C,[2,31]),t(C,[2,32]),t(C,[2,33]),t(C,[2,34]),t(C,[2,35]),t(C,[2,36]),{45:[1,53]},{47:[1,54]},t(C,[2,39]),t(C,[2,55],{62:55,66:58,67:59,28:[1,56],36:[1,57],68:S,69:I,70:M,71:D,72:O,73:L,74:N}),{50:[1,67]},t(P,[2,46],{50:[1,69],55:[1,68]}),t(C,[2,57]),t(C,[2,58]),{31:70,94:x,96:k,97:_,98:A},{31:38,32:71,33:39,94:x,96:k,97:_,98:A,99:E},{31:38,32:72,33:39,94:x,96:k,97:_,98:A,99:E},{31:38,32:73,33:39,94:x,96:k,97:_,98:A,99:E},{28:[1,74]},{31:38,32:75,33:39,94:x,96:k,97:_,98:A,99:E},{28:B,64:76},t(C,[2,4]),t(C,[2,5]),t(C,[2,6]),t(C,[2,7]),t(F,[2,22],{31:38,33:39,32:78,34:[1,79],94:x,96:k,97:_,98:A,99:E}),t(F,[2,23],{34:[1,80]}),{30:81,31:82,94:x,96:k,97:_,98:A},{31:38,32:83,33:39,94:x,96:k,97:_,98:A,99:E},t(R,[2,104]),t(R,[2,105]),t(R,[2,106]),t(R,[2,107]),t([1,16,24,27,28,34,36,50,52,55,68,69,70,71,72,73,74,79,81],[2,108]),{1:[2,2]},{15:84,17:[1,85],22:j},t([17,22],[2,12]),t(T,[2,17],{25:7,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,7:18,32:22,49:23,54:24,31:38,33:39,6:87,8:e,9:n,10:i,11:r,44:s,46:c,48:u,53:l,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E}),{6:88,7:18,8:e,9:n,10:i,11:r,25:7,31:38,32:22,33:39,35:10,37:11,38:12,39:13,40:14,41:15,42:16,43:17,44:s,46:c,48:u,49:23,53:l,54:24,57:h,58:f,60:d,61:g,63:p,65:b,75:w,76:m,78:y,82:v,94:x,96:k,97:_,98:A,99:E},t(C,[2,28]),t(C,[2,37]),t(C,[2,38]),{28:[1,90],31:38,32:89,33:39,94:x,96:k,97:_,98:A,99:E},{62:91,66:58,67:59,68:S,69:I,70:M,71:D,72:O,73:L,74:N},t(C,[2,56]),{67:92,73:L,74:N},t($,[2,68],{66:93,68:S,69:I,70:M,71:D,72:O}),t(z,[2,69]),t(z,[2,70]),t(z,[2,71]),t(z,[2,72]),t(z,[2,73]),t(q,[2,74]),t(q,[2,75]),{16:[1,95],38:96,51:94,54:24,57:h},{31:97,94:x,96:k,97:_,98:A},{56:98,60:H},{59:[1,100]},{28:[1,101]},{28:[1,102]},{79:[1,103],81:[1,104]},{31:105,94:x,96:k,97:_,98:A},{28:B,64:106},t(C,[2,64]),t(C,[2,109]),t(F,[2,24]),t(F,[2,25]),t(F,[2,26]),{50:[2,42]},{30:107,31:82,50:[2,20],94:x,96:k,97:_,98:A},t(U,[2,50],{26:108,27:[1,109]}),{16:[1,110]},{18:111,21:[1,112]},{16:[2,14]},t(T,[2,18]),{24:[1,113]},t(G,[2,59]),{31:38,32:114,33:39,94:x,96:k,97:_,98:A,99:E},{28:[1,116],31:38,32:115,33:39,94:x,96:k,97:_,98:A,99:E},t($,[2,67],{66:117,68:S,69:I,70:M,71:D,72:O}),t($,[2,66]),{52:[1,118]},{38:96,51:119,54:24,57:h},{16:[1,120],52:[2,43]},t(P,[2,47],{50:[1,121]}),{52:[1,122]},{52:[2,53],56:123,60:H},{31:38,32:124,33:39,94:x,96:k,97:_,98:A,99:E},t(C,[2,76],{28:[1,125]}),t(C,[2,78],{28:[1,127],77:[1,126]}),t(C,[2,82],{28:[1,128],80:[1,129]}),t(C,[2,86],{28:[1,131],77:[1,130]}),t(C,[2,90]),t(C,[2,63]),{50:[2,21]},t(U,[2,51]),{28:[1,132]},t(Y,[2,9]),{15:133,22:j},{22:[2,13]},{1:[2,15]},t(G,[2,61]),t(G,[2,60]),{31:38,32:134,33:39,94:x,96:k,97:_,98:A,99:E},t($,[2,65]),t(C,[2,40]),{52:[1,135]},{38:96,51:136,52:[2,44],54:24,57:h},{56:137,60:H},t(P,[2,48]),{52:[2,54]},t(C,[2,52]),t(C,[2,77]),t(C,[2,79]),t(C,[2,80],{77:[1,138]}),t(C,[2,83]),t(C,[2,84],{28:[1,139]}),t(C,[2,87]),t(C,[2,88],{77:[1,140]}),{29:[1,141]},{16:[1,142]},t(G,[2,62]),t(C,[2,41]),{52:[2,45]},{52:[1,143]},t(C,[2,81]),t(C,[2,85]),t(C,[2,89]),t(U,[2,19]),t(Y,[2,10]),t(P,[2,49])],defaultActions:{2:[2,1],4:[2,3],5:[2,8],9:[2,11],47:[2,2],81:[2,42],86:[2,14],107:[2,21],112:[2,13],113:[2,15],123:[2,54],136:[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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);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(){var t=this.next();return t||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("open_directive"),19;case 1:return 8;case 2:return 9;case 3:return 10;case 4:return 11;case 5:return this.begin("type_directive"),20;case 6:return this.popState(),this.begin("arg_directive"),17;case 7:return this.popState(),this.popState(),22;case 8:return 21;case 9:case 10:case 19:case 25:case 30:case 34:case 41:break;case 11:return this.begin("acc_title"),44;case 12:return this.popState(),"acc_title_value";case 13:return this.begin("acc_descr"),46;case 14:return this.popState(),"acc_descr_value";case 15:this.begin("acc_descr_multiline");break;case 16:case 52:case 55:case 58:case 60:case 63:case 66:this.popState();break;case 17:return"acc_descr_multiline_value";case 18:case 29:return 16;case 20:case 21:return 23;case 22:case 31:case 39:return"EDGE_STATE";case 23:return this.begin("namespace"),53;case 24:case 33:return this.popState(),16;case 26:return this.begin("namespace-body"),50;case 27:case 37:return this.popState(),52;case 28:case 38:return"EOF_IN_STRUCT";case 32:return this.begin("class"),57;case 35:return this.popState(),this.popState(),52;case 36:return this.begin("class-body"),50;case 40:return"OPEN_IN_STRUCT";case 42:return"MEMBER";case 43:return 82;case 44:return 75;case 45:return 76;case 46:return 78;case 47:return 63;case 48:return 65;case 49:return 58;case 50:return 59;case 51:this.begin("href");break;case 53:return 81;case 54:this.begin("callback_name");break;case 56:this.popState(),this.begin("callback_args");break;case 57:return 79;case 59:return 80;case 61:return"GENERICTYPE";case 62:this.begin("generic");break;case 64:return"STR";case 65:this.begin("string");break;case 67:return"BQUOTE_STR";case 68:this.begin("bqstring");break;case 69:case 70:case 71:case 72:return 77;case 73:case 74:return 69;case 75:case 76:return 71;case 77:return 70;case 78:return 68;case 79:return 72;case 80:return 73;case 81:return 74;case 82:return 36;case 83:return 55;case 84:return 94;case 85:return"DOT";case 86:return"PLUS";case 87:return 91;case 88:case 89:return"EQUALS";case 90:return 98;case 91:return 27;case 92:return 29;case 93:return"PUNCTUATION";case 94:return 97;case 95:return 96;case 96:return 93;case 97:return 24}},rules:[/^(?:%%\{)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:((?:(?!\}%%)[^:.])*))/,/^(?::)/,/^(?:\}%%)/,/^(?:((?:(?!\}%%).|\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)/,/^(?:\[\*\])/,/^(?: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[\s]+["])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[~])/,/^(?:[^~]*)/,/^(?:[~])/,/^(?:["])/,/^(?:[^"]*)/,/^(?:["])/,/^(?:[`])/,/^(?:[^`]+)/,/^(?:[`])/,/^(?:_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:[27,28,29,30,31,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},namespace:{rules:[23,24,25,26,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},"class-body":{rules:[37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},class:{rules:[33,34,35,36,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr_multiline:{rules:[16,17,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_descr:{rules:[14,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},acc_title:{rules:[12,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},arg_directive:{rules:[7,8,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},type_directive:{rules:[6,7,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},open_directive:{rules:[5,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_args:{rules:[43,44,45,46,47,48,49,50,51,54,58,59,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},callback_name:{rules:[43,44,45,46,47,48,49,50,51,54,55,56,57,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},href:{rules:[43,44,45,46,47,48,49,50,51,52,53,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},struct:{rules:[43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},generic:{rules:[43,44,45,46,47,48,49,50,51,54,60,61,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},bqstring:{rules:[43,44,45,46,47,48,49,50,51,54,62,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,91,92,93,94,95,96,97],inclusive:!1},string:{rules:[43,44,45,46,47,48,49,50,51,54,62,63,64,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,9,10,11,13,15,18,19,20,21,22,23,32,43,44,45,46,47,48,49,50,51,54,62,65,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97],inclusive:!0}}};function K(){this.yy={}}return Z.lexer=W,K.prototype=Z,Z.Parser=K,new K}();a.parser=a;const o=a,s="classId-";let c=[],u={},l=[],h=0,f={},d=0,g=[];const p=t=>r.e.sanitizeText(t,(0,r.c)()),b=function(t){let e="",n=t;if(t.indexOf("~")>0){const i=t.split("~");n=p(i[0]),e=p(i[1])}return{className:n,type:e}},w=function(t){const e=b(t);void 0===u[e.className]&&(u[e.className]={id:e.className,type:e.type,label:e.className,cssClasses:[],methods:[],members:[],annotations:[],domId:s+e.className+"-"+h},h++)},m=function(t){if(t in u)return u[t].domId;throw new Error("Class not found: "+t)},y=function(t,e){const n=b(t).className,i=u[n];if("string"==typeof e){const t=e.trim();t.startsWith("<<")&&t.endsWith(">>")?i.annotations.push(p(t.substring(2,t.length-2))):t.indexOf(")")>0?i.methods.push(p(t)):t&&i.members.push(p(t))}},v=function(t,e){t.split(",").forEach((function(t){let n=t;t[0].match(/\d/)&&(n=s+n),void 0!==u[n]&&u[n].cssClasses.push(e)}))},x=function(t,e,n){if("loose"!==(0,r.c)().securityLevel)return;if(void 0===e)return;const i=t;if(void 0!==u[i]){const t=m(i);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)}))};g.push(k);let _="TB";const A={parseDirective:function(t,e,n){r.m.parseDirective(this,t,e,n)},setAccTitle:r.s,getAccTitle:r.g,getAccDescription:r.a,setAccDescription:r.b,getConfig:()=>(0,r.c)().class,addClass:w,bindFunctions:function(t){g.forEach((function(e){e(t)}))},clear:function(){c=[],u={},l=[],g=[],g.push(k),f={},d=0,(0,r.v)()},getClass:function(t){return u[t]},getClasses:function(){return u},getNotes:function(){return l},addAnnotation:function(t,e){const n=b(t).className;u[n].annotations.push(e)},addNote:function(t,e){const n={id:`note${l.length}`,class:e,text:t};l.push(n)},getRelations:function(){return c},addRelation:function(t){r.l.debug("Adding relation: "+JSON.stringify(t)),w(t.id1),w(t.id2),t.id1=b(t.id1).className,t.id2=b(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)()),c.push(t)},getDirection:()=>_,setDirection:t=>{_=t},addMember:y,addMembers:function(t,e){Array.isArray(e)&&(e.reverse(),e.forEach((e=>y(t,e))))},cleanupLabel:function(t){return t.startsWith(":")&&(t=t.substring(1)),p(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){x(t,e,n),u[t].haveCallback=!0})),v(t,"clickable")},setCssClass:v,setLink:function(t,e,n){const i=(0,r.c)();t.split(",").forEach((function(t){let a=t;t[0].match(/\d/)&&(a=s+a),void 0!==u[a]&&(u[a].link=r.u.formatUrl(e,i),"sandbox"===i.securityLevel?u[a].linkTarget="_top":u[a].linkTarget="string"==typeof n?p(n):"_blank")})),v(t,"clickable")},getTooltip:function(t,e){return e?f[e].classes[t].tooltip:u[t].tooltip},setTooltip:function(t,e){t.split(",").forEach((function(t){void 0!==e&&(u[t].tooltip=p(e))}))},lookUpDomId:m,setDiagramTitle:r.r,getDiagramTitle:r.t,setClassLabel:function(t,e){e&&(e=p(e));const{className:n}=b(t);u[n].label=e},addNamespace:function(t){void 0===f[t]&&(f[t]={id:t,classes:{},children:{},domId:s+t+"-"+d},d++)},addClassesToNamespace:function(t,e){void 0!==f[t]&&e.map((e=>{f[t].classes[e]=u[e],delete u[e],h--}))},getNamespace:function(t){return f[t]},getNamespaces:function(){return f}},E=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: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#extensionEnd, .extension {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationStart, .aggregation {\n fill: ${t.mainBkg} !important;\n stroke: ${t.lineColor} !important;\n stroke-width: 1;\n}\n\n#aggregationEnd, .aggregation {\n fill: ${t.mainBkg} !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`},328:function(t,e,n){"use strict";n.d(e,{D:function(){return u},S:function(){return c},a:function(){return l},b:function(){return s},c:function(){return o},d:function(){return P},p:function(){return a},s:function(){return B}});var i=n(8540),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,5],r=[1,7],a=[2,5],o=[1,15],s=[1,17],c=[1,21],u=[1,22],l=[1,23],h=[1,24],f=[1,37],d=[1,25],g=[1,26],p=[1,27],b=[1,28],w=[1,29],m=[1,32],y=[1,33],v=[1,34],x=[1,35],k=[1,36],_=[1,39],A=[1,40],E=[1,41],T=[1,42],C=[1,38],S=[1,45],I=[1,4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],M=[1,4,5,14,15,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],D=[1,4,5,7,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],O=[4,5,16,17,19,21,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],L={trace:function(){},yy:{},symbols_:{error:2,start:3,SPACE:4,NL:5,directive:6,SD:7,document:8,line:9,statement:10,classDefStatement:11,cssClassStatement:12,idStatement: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:29,notePosition:30,NOTE_TEXT:31,direction: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,openDirective:45,typeDirective:46,closeDirective:47,":":48,argDirective:49,direction_tb:50,direction_bt:51,direction_rl:52,direction_lr:53,eol:54,";":55,EDGE_STATE:56,STYLE_SEPARATOR:57,left_of:58,right_of:59,open_directive:60,type_directive:61,arg_directive:62,close_directive:63,$accept:0,$end:1},terminals_:{2:"error",4:"SPACE",5:"NL",7:"SD",14:"DESCR",15:"--\x3e",16:"HIDE_EMPTY",17:"scale",18:"WIDTH",19:"COMPOSIT_STATE",20:"STRUCT_START",21:"STRUCT_STOP",22:"STATE_DESCR",23:"AS",24:"ID",25:"FORK",26:"JOIN",27:"CHOICE",28:"CONCURRENT",29:"note",31:"NOTE_TEXT",33:"acc_title",34:"acc_title_value",35:"acc_descr",36:"acc_descr_value",37:"acc_descr_multiline_value",38:"classDef",39:"CLASSDEF_ID",40:"CLASSDEF_STYLEOPTS",41:"DEFAULT",42:"class",43:"CLASSENTITY_IDS",44:"STYLECLASS",48:":",50:"direction_tb",51:"direction_bt",52:"direction_rl",53:"direction_lr",55:";",56:"EDGE_STATE",57:"STYLE_SEPARATOR",58:"left_of",59:"right_of",60:"open_directive",61:"type_directive",62:"arg_directive",63:"close_directive"},productions_:[0,[3,2],[3,2],[3,2],[3,2],[8,0],[8,2],[9,2],[9,1],[9,1],[10,1],[10,1],[10,1],[10,2],[10,3],[10,4],[10,1],[10,2],[10,1],[10,4],[10,3],[10,6],[10,1],[10,1],[10,1],[10,1],[10,4],[10,4],[10,1],[10,1],[10,2],[10,2],[10,1],[11,3],[11,3],[12,3],[6,3],[6,5],[32,1],[32,1],[32,1],[32,1],[54,1],[54,1],[13,1],[13,1],[13,3],[13,3],[30,1],[30,1],[45,1],[46,1],[49,1],[47,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 4:return i.setRootDoc(a[s]),a[s];case 5:this.$=[];break;case 6:"nl"!=a[s]&&(a[s-1].push(a[s]),this.$=a[s-1]);break;case 7:case 8:case 12:this.$=a[s];break;case 9:this.$="nl";break;case 13:const t=a[s-1];t.description=i.trimColon(a[s]),this.$=t;break;case 14:this.$={stmt:"relation",state1:a[s-2],state2:a[s]};break;case 15:const e=i.trimColon(a[s]);this.$={stmt:"relation",state1:a[s-3],state2:a[s-1],description:e};break;case 19:this.$={stmt:"state",id:a[s-3],type:"default",description:"",doc:a[s-1]};break;case 20: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 21:this.$={stmt:"state",id:a[s-3],type:"default",description:a[s-5],doc:a[s-1]};break;case 22:this.$={stmt:"state",id:a[s],type:"fork"};break;case 23:this.$={stmt:"state",id:a[s],type:"join"};break;case 24:this.$={stmt:"state",id:a[s],type:"choice"};break;case 25:this.$={stmt:"state",id:i.getDividerId(),type:"divider"};break;case 26:this.$={stmt:"state",id:a[s-1].trim(),note:{position:a[s-2].trim(),text:a[s].trim()}};break;case 30:this.$=a[s].trim(),i.setAccTitle(this.$);break;case 31:case 32:this.$=a[s].trim(),i.setAccDescription(this.$);break;case 33:case 34:this.$={stmt:"classDef",id:a[s-1].trim(),classes:a[s].trim()};break;case 35:this.$={stmt:"applyClass",id:a[s-1].trim(),styleClass:a[s].trim()};break;case 38:i.setDirection("TB"),this.$={stmt:"dir",value:"TB"};break;case 39:i.setDirection("BT"),this.$={stmt:"dir",value:"BT"};break;case 40:i.setDirection("RL"),this.$={stmt:"dir",value:"RL"};break;case 41:i.setDirection("LR"),this.$={stmt:"dir",value:"LR"};break;case 44:case 45:this.$={stmt:"state",id:a[s].trim(),type:"default",description:""};break;case 46:case 47:this.$={stmt:"state",id:a[s-2].trim(),classes:[a[s].trim()],type:"default",description:""};break;case 50:i.parseDirective("%%{","open_directive");break;case 51:i.parseDirective(a[s],"type_directive");break;case 52:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 53:i.parseDirective("}%%","close_directive","state")}},table:[{3:1,4:e,5:n,6:4,7:i,45:6,60:r},{1:[3]},{3:8,4:e,5:n,6:4,7:i,45:6,60:r},{3:9,4:e,5:n,6:4,7:i,45:6,60:r},{3:10,4:e,5:n,6:4,7:i,45:6,60:r},t([1,4,5,16,17,19,22,24,25,26,27,28,29,33,35,37,38,42,50,51,52,53,56,60],a,{8:11}),{46:12,61:[1,13]},{61:[2,50]},{1:[2,1]},{1:[2,2]},{1:[2,3]},{1:[2,4],4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},{47:43,48:[1,44],63:S},t([48,63],[2,51]),t(I,[2,6]),{6:30,10:46,11:18,12:19,13:20,16:c,17:u,19:l,22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,8]),t(I,[2,9]),t(I,[2,10]),t(I,[2,11]),t(I,[2,12],{14:[1,47],15:[1,48]}),t(I,[2,16]),{18:[1,49]},t(I,[2,18],{20:[1,50]}),{23:[1,51]},t(I,[2,22]),t(I,[2,23]),t(I,[2,24]),t(I,[2,25]),{30:52,31:[1,53],58:[1,54],59:[1,55]},t(I,[2,28]),t(I,[2,29]),{34:[1,56]},{36:[1,57]},t(I,[2,32]),{39:[1,58],41:[1,59]},{43:[1,60]},t(M,[2,44],{57:[1,61]}),t(M,[2,45],{57:[1,62]}),t(I,[2,38]),t(I,[2,39]),t(I,[2,40]),t(I,[2,41]),t(D,[2,36]),{49:63,62:[1,64]},t(D,[2,53]),t(I,[2,7]),t(I,[2,13]),{13:65,24:f,56:C},t(I,[2,17]),t(O,a,{8:66}),{24:[1,67]},{24:[1,68]},{23:[1,69]},{24:[2,48]},{24:[2,49]},t(I,[2,30]),t(I,[2,31]),{40:[1,70]},{40:[1,71]},{44:[1,72]},{24:[1,73]},{24:[1,74]},{47:75,63:S},{63:[2,52]},t(I,[2,14],{14:[1,76]}),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,77],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,20],{20:[1,78]}),{31:[1,79]},{24:[1,80]},t(I,[2,33]),t(I,[2,34]),t(I,[2,35]),t(M,[2,46]),t(M,[2,47]),t(D,[2,37]),t(I,[2,15]),t(I,[2,19]),t(O,a,{8:81}),t(I,[2,26]),t(I,[2,27]),{4:o,5:s,6:30,9:14,10:16,11:18,12:19,13:20,16:c,17:u,19:l,21:[1,82],22:h,24:f,25:d,26:g,27:p,28:b,29:w,32:31,33:m,35:y,37:v,38:x,42:k,45:6,50:_,51:A,52:E,53:T,56:C,60:r},t(I,[2,21])],defaultActions:{7:[2,50],8:[2,1],9:[2,2],10:[2,3],54:[2,48],55:[2,49],64:[2,52]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},N={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(){var t=this.next();return t||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 41;case 1:case 44:return 50;case 2:case 45:return 51;case 3:case 46:return 52;case 4:case 47:return 53;case 5:return this.begin("open_directive"),60;case 6:return this.begin("type_directive"),61;case 7:return this.popState(),this.begin("arg_directive"),48;case 8:return this.popState(),this.popState(),63;case 9:return 62;case 10:case 11:case 13:case 14:case 15:case 16:case 56:case 58:case 64:break;case 12:case 79:return 5;case 17:case 34:return this.pushState("SCALE"),17;case 18:case 35:return 18;case 19:case 25:case 36:case 51:case 54:this.popState();break;case 20:return this.begin("acc_title"),33;case 21:return this.popState(),"acc_title_value";case 22:return this.begin("acc_descr"),35;case 23:return this.popState(),"acc_descr_value";case 24:this.begin("acc_descr_multiline");break;case 26:return"acc_descr_multiline_value";case 27:return this.pushState("CLASSDEF"),38;case 28:return this.popState(),this.pushState("CLASSDEFID"),"DEFAULT_CLASSDEF_ID";case 29:return this.popState(),this.pushState("CLASSDEFID"),39;case 30:return this.popState(),40;case 31:return this.pushState("CLASS"),42;case 32:return this.popState(),this.pushState("CLASS_STYLE"),43;case 33:return this.popState(),44;case 37:this.pushState("STATE");break;case 38:case 41:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),25;case 39:case 42:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),26;case 40:case 43:return this.popState(),e.yytext=e.yytext.slice(0,-10).trim(),27;case 48:this.pushState("STATE_STRING");break;case 49:return this.pushState("STATE_ID"),"AS";case 50:case 66:return this.popState(),"ID";case 52:return"STATE_DESCR";case 53:return 19;case 55:return this.popState(),this.pushState("struct"),20;case 57:return this.popState(),21;case 59:return this.begin("NOTE"),29;case 60:return this.popState(),this.pushState("NOTE_ID"),58;case 61:return this.popState(),this.pushState("NOTE_ID"),59;case 62:this.popState(),this.pushState("FLOATING_NOTE");break;case 63:return this.popState(),this.pushState("FLOATING_NOTE_ID"),"AS";case 65:return"NOTE_TEXT";case 67:return this.popState(),this.pushState("NOTE_TEXT"),24;case 68:return this.popState(),e.yytext=e.yytext.substr(2).trim(),31;case 69:return this.popState(),e.yytext=e.yytext.slice(0,-8).trim(),31;case 70:case 71:return 7;case 72:return 16;case 73:return 56;case 74:return 24;case 75:return e.yytext=e.yytext.trim(),14;case 76:return 15;case 77:return 28;case 78:return 57;case 80: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,/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\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:[14,15],inclusive:!1},close_directive:{rules:[14,15],inclusive:!1},arg_directive:{rules:[8,9,14,15],inclusive:!1},type_directive:{rules:[7,8,14,15],inclusive:!1},open_directive:{rules:[6,14,15],inclusive:!1},struct:{rules:[14,15,27,31,37,44,45,46,47,56,57,58,59,73,74,75,76,77],inclusive:!1},FLOATING_NOTE_ID:{rules:[66],inclusive:!1},FLOATING_NOTE:{rules:[63,64,65],inclusive:!1},NOTE_TEXT:{rules:[68,69],inclusive:!1},NOTE_ID:{rules:[67],inclusive:!1},NOTE:{rules:[60,61,62],inclusive:!1},CLASS_STYLE:{rules:[33],inclusive:!1},CLASS:{rules:[32],inclusive:!1},CLASSDEFID:{rules:[30],inclusive:!1},CLASSDEF:{rules:[28,29],inclusive:!1},acc_descr_multiline:{rules:[25,26],inclusive:!1},acc_descr:{rules:[23],inclusive:!1},acc_title:{rules:[21],inclusive:!1},SCALE:{rules:[18,19,35,36],inclusive:!1},ALIAS:{rules:[],inclusive:!1},STATE_ID:{rules:[50],inclusive:!1},STATE_STRING:{rules:[51,52],inclusive:!1},FORK_STATE:{rules:[],inclusive:!1},STATE:{rules:[14,15,38,39,40,41,42,43,48,49,53,54,55],inclusive:!1},ID:{rules:[14,15],inclusive:!1},INITIAL:{rules:[0,1,2,3,4,5,10,11,12,13,15,16,17,20,22,24,27,31,34,37,55,59,70,71,72,73,74,75,76,78,79,80],inclusive:!0}}};function P(){this.yy={}}return L.lexer=N,P.prototype=L,L.Parser=P,new P}();r.parser=r;const a=r,o="TB",s="state",c="relation",u="default",l="divider",h="[*]",f="start",d="color",g="fill";let p="LR",b=[],w={};let m={root:{relations:[],states:{},documents:{}}},y=m.root,v=0,x=0;const k=t=>JSON.parse(JSON.stringify(t)),_=(t,e,n)=>{if(e.stmt===c)_(t,e.state1,!0),_(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.F)(),type:"divider",doc:k(r)};t.push(k(n)),e.doc=t}e.doc.forEach((t=>_(e,t,!0)))}},A=function(t,e=u,n=null,r=null,a=null,o=null,s=null,c=null){const l=null==t?void 0:t.trim();if(void 0===y.states[l]?(i.l.info("Adding state ",l,r),y.states[l]={id:l,descriptions:[],type:e,doc:n,note:a,classes:[],styles:[],textStyles:[]}):(y.states[l].doc||(y.states[l].doc=n),y.states[l].type||(y.states[l].type=e)),r&&(i.l.info("Setting state description",l,r),"string"==typeof r&&M(l,r.trim()),"object"==typeof r&&r.forEach((t=>M(l,t.trim())))),a&&(y.states[l].note=a,y.states[l].note.text=i.e.sanitizeText(y.states[l].note.text,(0,i.c)())),o){i.l.info("Setting state classes",l,o);("string"==typeof o?[o]:o).forEach((t=>O(l,t.trim())))}if(s){i.l.info("Setting state styles",l,s);("string"==typeof s?[s]:s).forEach((t=>L(l,t.trim())))}if(c){i.l.info("Setting state styles",l,s);("string"==typeof c?[c]:c).forEach((t=>N(l,t.trim())))}},E=function(t){m={root:{relations:[],states:{},documents:{}}},y=m.root,v=0,w={},t||(0,i.v)()},T=function(t){return y.states[t]};function C(t=""){let e=t;return t===h&&(v++,e=`start${v}`),e}function S(t="",e=u){return t===h?f:e}const I=function(t,e,n){if("object"==typeof t)!function(t,e,n){let r=C(t.id.trim()),a=S(t.id.trim(),t.type),o=C(e.id.trim()),s=S(e.id.trim(),e.type);A(r,a,t.doc,t.description,t.note,t.classes,t.styles,t.textStyles),A(o,s,e.doc,e.description,e.note,e.classes,e.styles,e.textStyles),y.relations.push({id1:r,id2:o,relationTitle:i.e.sanitizeText(n,(0,i.c)())})}(t,e,n);else{const r=C(t.trim()),a=S(t),o=function(t=""){let e=t;return"[*]"===t&&(v++,e=`end${v}`),e}(e.trim()),s=function(t="",e=u){return"[*]"===t?"end":e}(e);A(r,a),A(o,s),y.relations.push({id1:r,id2:o,title:i.e.sanitizeText(n,(0,i.c)())})}},M=function(t,e){const n=y.states[t],r=e.startsWith(":")?e.replace(":","").trim():e;n.descriptions.push(i.e.sanitizeText(r,(0,i.c)()))},D=function(t,e=""){void 0===w[t]&&(w[t]={id:t,styles:[],textStyles:[]});const n=w[t];null!=e&&e.split(",").forEach((t=>{const e=t.replace(/([^;]*);/,"$1").trim();if(t.match(d)){const t=e.replace(g,"bgFill").replace(d,g);n.textStyles.push(t)}n.styles.push(e)}))},O=function(t,e){t.split(",").forEach((function(t){let n=T(t);if(void 0===n){const e=t.trim();A(e),n=T(e)}n.classes.push(e)}))},L=function(t,e){const n=T(t);void 0!==n&&n.textStyles.push(e)},N=function(t,e){const n=T(t);void 0!==n&&n.textStyles.push(e)},P={parseDirective:function(t,e,n){i.m.parseDirective(this,t,e,n)},getConfig:()=>(0,i.c)().state,addState:A,clear:E,getState:T,getStates:function(){return y.states},getRelations:function(){return y.relations},getClasses:function(){return w},getDirection:()=>p,addRelation:I,getDividerId:()=>(x++,"divider-id-"+x),setDirection:t=>{p=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:()=>b,setRootDoc:t=>{i.l.info("Setting root doc",t),b=t},getRootDocV2:()=>(_({id:"root"},{id:"root",doc:b},!0),{id:"root",doc:b}),extract:t=>{let e;e=t.doc?t.doc:t,i.l.info(e),E(!0),i.l.info("Extract",e),e.forEach((t=>{switch(t.stmt){case s:A(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":D(t.id.trim(),t.classes);break;case"applyClass":O(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:D,setCssClass:O,addDescription:M,setDiagramTitle:i.r,getDiagramTitle:i.t},B=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`},3148:function(t,e,n){"use strict";n.d(e,{p:function(){return s},s:function(){return l}});var i=n(1504),r=n(8540);let a=0;const o=function(t){let e=t.id;return t.type&&(e+="<"+t.type+">"),e},s=function(t){let e="",n="",i="",a="",o=t.substring(0,1),s=t.substring(t.length-1,t.length);o.match(/[#+~-]/)&&(a=o);let c=/[\s\w)~]/;s.match(c)||(n=u(s));const l=""===a?0:1;let h=""===n?t.length:t.length-1;const f=(t=t.substring(l,h)).indexOf("("),d=t.indexOf(")");if(f>1&&d>f&&d<=t.length){let o=t.substring(0,f).trim();const s=t.substring(f+1,d);if(e=a+o+"("+(0,r.x)(s.trim())+")",d0&&(x+=e.cssClasses.join(" "));const k=u.insert("rect",":first-child").attr("x",0).attr("y",0).attr("width",v.width+2*n.padding).attr("height",v.height+n.padding+.5*n.dividerMargin).attr("class",x).node().getBBox().width;return l.node().childNodes.forEach((function(t){t.setAttribute("x",(k-t.getBBox().width)/2)})),e.tooltip&&l.insert("title").text(e.tooltip),p.attr("x2",k),m.attr("x2",k),s.width=k,s.height=v.height+n.padding+.5*n.dividerMargin,s},drawEdge:function(t,e,n,o,s){const c=function(t){switch(t){case s.db.relationType.AGGREGATION:return"aggregation";case s.db.relationType.EXTENSION:return"extension";case s.db.relationType.COMPOSITION:return"composition";case s.db.relationType.DEPENDENCY:return"dependency";case s.db.relationType.LOLLIPOP:return"lollipop"}};e.points=e.points.filter((t=>!Number.isNaN(t.y)));const u=e.points,l=(0,i.jvg)().x((function(t){return t.x})).y((function(t){return t.y})).curve(i.$0Z),h=t.append("path").attr("d",l(u)).attr("id","edge"+a).attr("class","relation");let f,d,g="";o.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+"#"+c(n.relation.type1)+"Start)"),"none"!==n.relation.type2&&h.attr("marker-end","url("+g+"#"+c(n.relation.type2)+"End)");const p=e.points.length;let b,w,m,y,v=r.u.calcLabelPosition(e.points);if(f=v.x,d=v.y,p%2!=0&&p>1){let t=r.u.calcCardinalityPosition("none"!==n.relation.type1,e.points,e.points[0]),i=r.u.calcCardinalityPosition("none"!==n.relation.type2,e.points,e.points[p-1]);r.l.debug("cardinality_1_point "+JSON.stringify(t)),r.l.debug("cardinality_2_point "+JSON.stringify(i)),b=t.x,w=t.y,m=i.x,y=i.y}if(void 0!==n.title){const e=t.append("g").attr("class","classLabel"),i=e.append("text").attr("class","label").attr("x",f).attr("y",d).attr("fill","red").attr("text-anchor","middle").text(n.title);window.label=i;const r=i.node().getBBox();e.insert("rect",":first-child").attr("class","box").attr("x",r.x-o.padding/2).attr("y",r.y-o.padding/2).attr("width",r.width+o.padding).attr("height",r.height+o.padding)}if(r.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)}if(void 0!==n.relationTitle2&&"none"!==n.relationTitle2){t.append("g").attr("class","cardinality").append("text").attr("class","type2").attr("x",m).attr("y",y).attr("fill","black").attr("font-size","6").text(n.relationTitle2)}a++},drawNote:function(t,e,n,i){r.l.debug("Rendering note ",e,n);const a=e.id,o={id:a,text:e.text,width:0,height:0},s=t.append("g").attr("id",a).attr("class","classGroup");let c=s.append("text").attr("y",n.textHeight+n.padding).attr("x",0);const u=JSON.parse(`"${e.text}"`).split("\n");u.forEach((function(t){r.l.debug(`Adding line: ${t}`),c.append("tspan").text(t).attr("class","title").attr("dy",n.textHeight)}));const l=s.node().getBBox(),h=s.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)})),o.width=h,o.height=l.height+u.length*n.textHeight+n.padding+.5*n.dividerMargin,o},parseMember:s}},2699:function(t,e,n){"use strict";n.d(e,{a:function(){return a},b:function(){return c},c:function(){return s},d:function(){return r},e:function(){return l},f:function(){return o},g:function(){return u}});var i=n(2510);const r=function(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),n.attr("rx",e.rx),n.attr("ry",e.ry),"undefined"!==e.attrs&&null!==e.attrs)for(let t in e.attrs)n.attr(t,e.attrs[t]);return"undefined"!==e.class&&n.attr("class",e.class),n},a=function(t,e){r(t,{x:e.startx,y:e.starty,width:e.stopx-e.startx,height:e.stopy-e.starty,fill:e.fill,stroke:e.stroke,class:"rect"}).lower()},o=function(t,e){const n=e.text.replace(//gi," "),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 r=i.append("tspan");return r.attr("x",e.x+2*e.textMargin),r.text(n),i},s=function(t,e,n,r){const a=t.append("image");a.attr("x",e),a.attr("y",n);var o=(0,i.Nm)(r);a.attr("xlink:href",o)},c=function(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)},u=function(){return{x:0,y:0,width:100,height:100,fill:"#EDF2AE",stroke:"#666",anchor:"start",rx:0,ry:0}},l=function(){return{x:0,y:0,width:100,height:100,fill:void 0,anchor:void 0,"text-anchor":"start",style:"#666",textMargin:0,rx:0,ry:0,tspan:!0,valign:void 0}}},315:function(t,e,n){"use strict";n.r(e),n.d(e,{diagram:function(){return N}});var i=n(8540),r=n(1504),a=n(7471),o=n(1778),s=n(733),c=(n(7530),n(2510),n(6951),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,5],i=[6,9,11,17,18,20,22,23,26,27,28],r=[1,15],a=[1,16],o=[1,17],s=[1,18],c=[1,19],u=[1,23],l=[1,24],h=[1,27],f=[4,6,9,11,17,18,20,22,23,26,27,28],d={trace:function(){},yy:{},symbols_:{error:2,start:3,timeline:4,document:5,EOF:6,directive:7,line:8,SPACE:9,statement:10,NEWLINE:11,openDirective:12,typeDirective:13,closeDirective:14,":":15,argDirective:16,title:17,acc_title:18,acc_title_value:19,acc_descr:20,acc_descr_value:21,acc_descr_multiline_value:22,section:23,period_statement:24,event_statement:25,period:26,event:27,open_directive:28,type_directive:29,arg_directive:30,close_directive:31,$accept:0,$end:1},terminals_:{2:"error",4:"timeline",6:"EOF",9:"SPACE",11:"NEWLINE",15:":",17:"title",18:"acc_title",19:"acc_title_value",20:"acc_descr",21:"acc_descr_value",22:"acc_descr_multiline_value",23:"section",26:"period",27:"event",28:"open_directive",29:"type_directive",30:"arg_directive",31:"close_directive"},productions_:[0,[3,3],[3,2],[5,0],[5,2],[8,2],[8,1],[8,1],[8,1],[7,4],[7,6],[10,1],[10,2],[10,2],[10,1],[10,1],[10,1],[10,1],[10,1],[24,1],[25,1],[12,1],[13,1],[16,1],[14,1]],performAction:function(t,e,n,i,r,a,o){var s=a.length-1;switch(r){case 1:return a[s-1];case 3:case 7:case 8:this.$=[];break;case 4:a[s-1].push(a[s]),this.$=a[s-1];break;case 5:case 6:this.$=a[s];break;case 11:i.getCommonDb().setDiagramTitle(a[s].substr(6)),this.$=a[s].substr(6);break;case 12:this.$=a[s].trim(),i.getCommonDb().setAccTitle(this.$);break;case 13:case 14:this.$=a[s].trim(),i.getCommonDb().setAccDescription(this.$);break;case 15:i.addSection(a[s].substr(8)),this.$=a[s].substr(8);break;case 19:i.addTask(a[s],0,""),this.$=a[s];break;case 20:i.addEvent(a[s].substr(2)),this.$=a[s];break;case 21:i.parseDirective("%%{","open_directive");break;case 22:i.parseDirective(a[s],"type_directive");break;case 23:a[s]=a[s].trim().replace(/'/g,'"'),i.parseDirective(a[s],"arg_directive");break;case 24:i.parseDirective("}%%","close_directive","timeline")}},table:[{3:1,4:e,7:3,12:4,28:n},{1:[3]},t(i,[2,3],{5:6}),{3:7,4:e,7:3,12:4,28:n},{13:8,29:[1,9]},{29:[2,21]},{6:[1,10],7:22,8:11,9:[1,12],10:13,11:[1,14],12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},{1:[2,2]},{14:25,15:[1,26],31:h},t([15,31],[2,22]),t(i,[2,8],{1:[2,1]}),t(i,[2,4]),{7:22,10:28,12:4,17:r,18:a,20:o,22:s,23:c,24:20,25:21,26:u,27:l,28:n},t(i,[2,6]),t(i,[2,7]),t(i,[2,11]),{19:[1,29]},{21:[1,30]},t(i,[2,14]),t(i,[2,15]),t(i,[2,16]),t(i,[2,17]),t(i,[2,18]),t(i,[2,19]),t(i,[2,20]),{11:[1,31]},{16:32,30:[1,33]},{11:[2,24]},t(i,[2,5]),t(i,[2,12]),t(i,[2,13]),t(f,[2,9]),{14:34,31:h},{31:[2,23]},{11:[1,35]},t(f,[2,10])],defaultActions:{5:[2,21],7:[2,2],27:[2,24],33:[2,23]},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=this,n=[0],i=[],r=[null],a=[],o=this.table,s="",c=0,u=0,l=2,h=1,f=a.slice.call(arguments,1),d=Object.create(this.lexer),g={yy:{}};for(var p in this.yy)Object.prototype.hasOwnProperty.call(this.yy,p)&&(g.yy[p]=this.yy[p]);d.setInput(t,g.yy),g.yy.lexer=d,g.yy.parser=this,void 0===d.yylloc&&(d.yylloc={});var b=d.yylloc;a.push(b);var w=d.options&&d.options.ranges;function m(){var t;return"number"!=typeof(t=i.pop()||d.lex()||h)&&(t instanceof Array&&(t=(i=t).pop()),t=e.symbols_[t]||t),t}"function"==typeof g.yy.parseError?this.parseError=g.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError;for(var y,v,x,k,_,A,E,T,C={};;){if(v=n[n.length-1],this.defaultActions[v]?x=this.defaultActions[v]:(null==y&&(y=m()),x=o[v]&&o[v][y]),void 0===x||!x.length||!x[0]){var S="";for(_ in T=[],o[v])this.terminals_[_]&&_>l&&T.push("'"+this.terminals_[_]+"'");S=d.showPosition?"Parse error on line "+(c+1)+":\n"+d.showPosition()+"\nExpecting "+T.join(", ")+", got '"+(this.terminals_[y]||y)+"'":"Parse error on line "+(c+1)+": Unexpected "+(y==h?"end of input":"'"+(this.terminals_[y]||y)+"'"),this.parseError(S,{text:d.match,token:this.terminals_[y]||y,line:d.yylineno,loc:b,expected:T})}if(x[0]instanceof Array&&x.length>1)throw new Error("Parse Error: multiple actions possible at state: "+v+", token: "+y);switch(x[0]){case 1:n.push(y),r.push(d.yytext),a.push(d.yylloc),n.push(x[1]),y=null,u=d.yyleng,s=d.yytext,c=d.yylineno,b=d.yylloc;break;case 2:if(A=this.productions_[x[1]][1],C.$=r[r.length-A],C._$={first_line:a[a.length-(A||1)].first_line,last_line:a[a.length-1].last_line,first_column:a[a.length-(A||1)].first_column,last_column:a[a.length-1].last_column},w&&(C._$.range=[a[a.length-(A||1)].range[0],a[a.length-1].range[1]]),void 0!==(k=this.performAction.apply(C,[s,u,c,g.yy,x[1],r,a].concat(f))))return k;A&&(n=n.slice(0,-1*A*2),r=r.slice(0,-1*A),a=a.slice(0,-1*A)),n.push(this.productions_[x[1]][0]),r.push(C.$),a.push(C._$),E=o[n[n.length-2]][n[n.length-1]],n.push(E);break;case 3:return!0}}return!0}},g={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(){var t=this.next();return t||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"),28;case 1:return this.begin("type_directive"),29;case 2:return this.popState(),this.begin("arg_directive"),15;case 3:return this.popState(),this.popState(),31;case 4:return 30;case 5:case 6:case 8:case 9:break;case 7:return 11;case 10:return 4;case 11:return 17;case 12:return this.begin("acc_title"),18;case 13:return this.popState(),"acc_title_value";case 14:return this.begin("acc_descr"),20;case 15:return this.popState(),"acc_descr_value";case 16:this.begin("acc_descr_multiline");break;case 17:this.popState();break;case 18:return"acc_descr_multiline_value";case 19:return 23;case 20:return 27;case 21:return 26;case 22:return 6;case 23:return"INVALID"}},rules:[/^(?:%%\{)/i,/^(?:((?:(?!\}%%)[^:.])*))/i,/^(?::)/i,/^(?:\}%%)/i,/^(?:((?:(?!\}%%).|\n)*))/i,/^(?:%(?!\{)[^\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:{open_directive:{rules:[1],inclusive:!1},type_directive:{rules:[2,3],inclusive:!1},arg_directive:{rules:[3,4],inclusive:!1},acc_descr_multiline:{rules:[17,18],inclusive:!1},acc_descr:{rules:[15],inclusive:!1},acc_title:{rules:[13],inclusive:!1},INITIAL:{rules:[0,5,6,7,8,9,10,11,12,14,16,19,20,21,22,23],inclusive:!0}}};function p(){this.yy={}}return d.lexer=g,p.prototype=d,d.Parser=p,new p}());c.parser=c;const u=c;let l="",h=0;const f=[],d=[],g=[],p=()=>i.I,b=(t,e,n)=>{(0,i.J)(globalThis,t,e,n)},w=function(){f.length=0,d.length=0,l="",g.length=0,(0,i.v)()},m=function(t){l=t,f.push(t)},y=function(){return f},v=function(){let t=A();let e=0;for(;!t&&e<100;)t=A(),e++;return d.push(...g),d},x=function(t,e,n){const i={id:h++,section:l,type:l,task:t,score:e||0,events:n?[n]:[]};g.push(i)},k=function(t){g.find((t=>t.id===h-1)).events.push(t)},_=function(t){const e={section:l,type:l,description:t,task:t,classes:[]};d.push(e)},A=function(){let t=!0;for(const[e,n]of g.entries())g[e].processed,t=t&&n.processed;return t},E={clear:w,getCommonDb:p,addSection:m,getSections:y,getTasks:v,addTask:x,addTaskOrg:_,addEvent:k,parseDirective:b},T=Object.freeze(Object.defineProperty({__proto__:null,addEvent:k,addSection:m,addTask:x,addTaskOrg:_,clear:w,default:E,getCommonDb:p,getSections:y,getTasks:v,parseDirective:b},Symbol.toStringTag,{value:"Module"}));!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;t)/).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){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)},I=function(t){t.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")},M=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+")"),S(o,e,r),e},D=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},O=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=M(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+=L(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},L=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=M(u,e,n,o).height;s+=l,u.attr("transform",`translate(${r}, ${a})`),a=a+10+l}return a=c,s},N={db:T,renderer:{setConf:()=>{},draw:function(t,e,n,a){var o,s,c,u;const l=(0,i.c)(),h=l.leftMargin??50;null==(s=(o=a.db).clear)||s.call(o),a.parser.parse(t+"\n"),i.l.debug("timeline",a.db);const f=l.securityLevel;let d;"sandbox"===f&&(d=(0,r.Ys)("#i"+e));const g=("sandbox"===f?(0,r.Ys)(d.nodes()[0].contentDocument.body):(0,r.Ys)("body")).select("#"+e);g.append("g");const p=a.db.getTasks(),b=a.db.getCommonDb().getDiagramTitle();i.l.debug("task",p),I(g);const w=a.db.getSections();i.l.debug("sections",w);let m=0,y=0,v=0,x=0,k=50+h,_=50;x=50;let A=0,E=!0;w.forEach((function(t){const e=D(g,{number:A,descr:t,section:A,width:150,padding:20,maxHeight:m},l);i.l.debug("sectionHeight before draw",e),m=Math.max(m,e+20)}));let T=0,C=0;i.l.debug("tasks.length",p.length);for(const[t,e]of p.entries()){const n={number:t,descr:e,section:e.section,width:150,padding:20,maxHeight:y},r=D(g,n,l);i.l.debug("taskHeight before draw",r),y=Math.max(y,r+20),T=Math.max(T,e.events.length);let a=0;for(let t=0;t0?w.forEach((t=>{const e=p.filter((e=>e.section===t)),n={number:A,descr:t,section:A,width:200*Math.max(e.length,1)-50,padding:20,maxHeight:m};i.l.debug("sectionNode",n);const r=g.append("g"),a=M(r,n,A,l);i.l.debug("sectionNode output",a),r.attr("transform",`translate(${k}, 50)`),_+=m+50,e.length>0&&O(g,e,A,k,_,y,l,T,C,m,!1),k+=200*Math.max(e.length,1),_=50,A++})):(E=!1,O(g,p,A,k,_,y,l,T,C,m,!0));const S=g.node().getBBox();i.l.debug("bounds",S),b&&g.append("text").text(b).attr("x",S.width/2-h).attr("font-size","4ex").attr("font-weight","bold").attr("y",20),v=E?m+y+150:y+100;g.append("g").attr("class","lineWrapper").append("line").attr("x1",h).attr("y1",v).attr("x2",S.width+3*h).attr("y2",v).attr("stroke-width",4).attr("stroke","black").attr("marker-end","url(#arrowhead)"),(0,i.p)(void 0,g,(null==(c=l.timeline)?void 0:c.padding)??50,(null==(u=l.timeline)?void 0:u.useMaxWidth)??!1)}},parser:u,styles:t=>`\n .edge {\n stroke-width: 3;\n }\n ${(t=>{let e="";for(let e=0;e0&&void 0!==n[0]?n[0]:[{}],t.abrupt("return",(Array.isArray(e)||(e=[e]),e[0].recursive=e[0].recursive||!1,new Promise((function(t,n){var i=document.createElement("input");i.type="file",i.webkitdirectory=!0;var r=function(e){"function"==typeof a&&a(),t(e)},a=e[0].legacySetup&&e[0].legacySetup(r,(function(){return a(n)}),i);i.addEventListener("change",(function(){var t=Array.from(i.files);e[0].recursive?e[0].recursive&&e[0].skipDirectory&&(t=t.filter((function(t){return t.webkitRelativePath.split("/").every((function(t){return!e[0].skipDirectory({name:t,kind:"directory"})}))}))):t=t.filter((function(t){return 2===t.webkitRelativePath.split("/").length})),r(t)})),i.click()}))));case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},4036:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return c}});var i=n(1930),r=n(8950),a=n(2975);function o(t){function e(t){if(Object(t)!==t)return Promise.reject(new TypeError(t+" is not an object."));var e=t.done;return Promise.resolve(t.value).then((function(t){return{value:t,done:e}}))}return(o=function(t){this.s=t,this.n=t.next}).prototype={s:null,n:null,next:function(){return e(this.n.apply(this.s,arguments))},return:function(t){var n=this.s.return;return void 0===n?Promise.resolve({value:t,done:!0}):e(n.apply(this.s,arguments))},throw:function(t){var n=this.s.return;return void 0===n?Promise.reject(t):e(n.apply(this.s,arguments))}},new o(t)}var s=function(){var t=(0,r.Z)(a.mark((function t(e,n){var r,c,u,l,h,f,d,g,p,b,w=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:r=w.length>2&&void 0!==w[2]?w[2]:e.name,c=w.length>3?w[3]:void 0,u=[],l=[],f=!1,d=!1,t.prev=4,g=function(){var t=p.value,i="".concat(r,"/").concat(t.name);"file"===t.kind?l.push(t.getFile().then((function(n){return n.directoryHandle=e,n.handle=t,Object.defineProperty(n,"webkitRelativePath",{configurable:!0,enumerable:!0,get:function(){return i}})}))):"directory"!==t.kind||!n||c&&c(t)||u.push(s(t,n,i,c))},b=function(t){var e,n,i,r=2;for("undefined"!=typeof Symbol&&(n=Symbol.asyncIterator,i=Symbol.iterator);r--;){if(n&&null!=(e=t[n]))return e.call(t);if(i&&null!=(e=t[i]))return new o(e.call(t));n="@@asyncIterator",i="@@iterator"}throw new TypeError("Object is not async iterable")}(e.values());case 7:return t.next=9,b.next();case 9:if(!(f=!(p=t.sent).done)){t.next=14;break}g();case 11:f=!1,t.next=7;break;case 14:t.next=19;break;case 16:t.prev=16,t.t0=t.catch(4),d=!0,h=t.t0;case 19:if(t.prev=19,t.prev=20,t.t1=f&&null!=b.return,!t.t1){t.next=25;break}return t.next=25,b.return();case 25:if(t.prev=25,!d){t.next=28;break}throw h;case 28:return t.finish(25);case 29:return t.finish(19);case 30:return t.t2=[],t.t3=i.Z,t.next=34,Promise.all(u);case 34:return t.t4=t.sent.flat(),t.t5=(0,t.t3)(t.t4),t.t6=i.Z,t.next=39,Promise.all(l);case 39:return t.t7=t.sent,t.t8=(0,t.t6)(t.t7),t.abrupt("return",t.t2.concat.call(t.t2,t.t5,t.t8));case 42:case"end":return t.stop()}}),t,null,[[4,16,19,30],[20,,25,29]])})));return function(e,n){return t.apply(this,arguments)}}(),c=function(){var t=(0,r.Z)(a.mark((function t(){var e,n,i=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return(e=i.length>0&&void 0!==i[0]?i[0]:{}).recursive=e.recursive||!1,t.next=4,window.showDirectoryPicker({id:e.id,startIn:e.startIn});case 4:return n=t.sent,t.abrupt("return",s(n,e.recursive,void 0,e.skipDirectory));case 6:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},7464:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return t.next=2,e.getFile();case 2:return n=t.sent,t.abrupt("return",(n.handle=e,n));case 4:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}(),o=function(){var t=(0,i.Z)(r.mark((function t(){var e,n,i,o,s=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=s.length>0&&void 0!==s[0]?s[0]:[{}],Array.isArray(e)||(e=[e]),n=[],e.forEach((function(t,e){n[e]={description:t.description||"",accept:{}},t.mimeTypes?t.mimeTypes.map((function(i){n[e].accept[i]=t.extensions||[]})):n[e].accept["*/*"]=t.extensions||[]})),t.next=6,window.showOpenFilePicker({id:e[0].id,startIn:e[0].startIn,types:n,multiple:e[0].multiple||!1,excludeAcceptAllOption:e[0].excludeAcceptAllOption||!1});case 6:return i=t.sent,t.next=9,Promise.all(i.map(a));case 9:return o=t.sent,t.abrupt("return",e[0].multiple?o:o[0]);case 11:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},3948:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return o}});var i=n(1930),r=n(8950),a=n(2975),o=function(){var t=(0,r.Z)(a.mark((function t(){var e,n=arguments;return a.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return e=n.length>0&&void 0!==n[0]?n[0]:[{}],t.abrupt("return",(Array.isArray(e)||(e=[e]),new Promise((function(t,n){var r=document.createElement("input");r.type="file";var a=[].concat((0,i.Z)(e.map((function(t){return t.mimeTypes||[]}))),(0,i.Z)(e.map((function(t){return t.extensions||[]})))).join();r.multiple=e[0].multiple||!1,r.accept=a||"";var o=function(e){"function"==typeof s&&s(),t(e)},s=e[0].legacySetup&&e[0].legacySetup(o,(function(){return s(n)}),r);r.addEventListener("change",(function(){o(r.multiple?Array.from(r.files):r.files[0])})),r.click()}))));case 2:case"end":return t.stop()}}),t)})));return function(){return t.apply(this,arguments)}}()},341:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n,a,o,s,c,u=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=u.length>1&&void 0!==u[1]?u[1]:{},Array.isArray(n)&&(n=n[0]),a=document.createElement("a"),o=e,t.t0="body"in e,!t.t0){t.next=9;break}return t.next=8,function(){var t=(0,i.Z)(r.mark((function t(e,n){var a,o,s,c;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return a=e.getReader(),o=new ReadableStream({start:function(t){return function(){var e=(0,i.Z)(r.mark((function e(){return r.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.abrupt("return",a.read().then((function(e){var i=e.done,r=e.value;if(!i)return t.enqueue(r),n();t.close()})));case 1:case"end":return e.stop()}}),e)})));function n(){return e.apply(this,arguments)}return n}()()}}),s=new Response(o),t.next=5,s.blob();case 5:return c=t.sent,t.abrupt("return",(a.releaseLock(),new Blob([c],{type:n})));case 7:case"end":return t.stop()}}),t)})));return function(e,n){return t.apply(this,arguments)}}()(e.body,e.headers.get("content-type"));case 8:o=t.sent;case 9:return a.download=n.fileName||"Untitled",t.t1=URL,t.next=13,o;case 13:return t.t2=t.sent,a.href=t.t1.createObjectURL.call(t.t1,t.t2),s=function(){"function"==typeof c&&c()},c=n.legacySetup&&n.legacySetup(s,(function(){return c(reject)}),a),t.abrupt("return",(a.addEventListener("click",(function(){setTimeout((function(){return URL.revokeObjectURL(a.href)}),3e4),s()})),a.click(),null));case 17:case"end":return t.stop()}}),t)})));return function(e){return t.apply(this,arguments)}}()},357:function(t,e,n){"use strict";n.r(e),n.d(e,{default:function(){return a}});var i=n(8950),r=n(2975),a=function(){var t=(0,i.Z)(r.mark((function t(e){var n,i,a,o,s,c,u,l,h,f=arguments;return r.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:if(n=f.length>1&&void 0!==f[1]?f[1]:[{}],i=f.length>2&&void 0!==f[2]?f[2]:null,a=f.length>3&&void 0!==f[3]&&f[3],o=f.length>4&&void 0!==f[4]?f[4]:null,Array.isArray(n)||(n=[n]),n[0].fileName=n[0].fileName||"Untitled",s=[],c=null,e instanceof Blob&&e.type?c=e.type:e.headers&&e.headers.get("content-type")&&(c=e.headers.get("content-type")),n.forEach((function(t,e){s[e]={description:t.description||"",accept:{}},t.mimeTypes?(0===e&&c&&t.mimeTypes.push(c),t.mimeTypes.map((function(n){s[e].accept[n]=t.extensions||[]}))):c&&(s[e].accept[c]=t.extensions||[])})),!i){t.next=17;break}return t.prev=8,t.next=11,i.getFile();case 11:t.next=17;break;case 13:if(t.prev=13,t.t0=t.catch(8),i=null,!a){t.next=17;break}throw t.t0;case 17:if(t.t1=i,t.t1){t.next=22;break}return t.next=21,window.showSaveFilePicker({suggestedName:n[0].fileName,id:n[0].id,startIn:n[0].startIn,types:s,excludeAcceptAllOption:n[0].excludeAcceptAllOption||!1});case 21:t.t1=t.sent;case 22:return u=t.t1,!i&&o&&o(),t.next=26,u.createWritable();case 26:if(l=t.sent,!("stream"in e)){t.next=32;break}return h=e.stream(),t.next=31,h.pipeTo(l);case 31:return t.abrupt("return",u);case 32:if(!("body"in e)){t.next=38;break}return t.next=35,e.body.pipeTo(l);case 35:t.t2=u,t.next=47;break;case 38:return t.t3=l,t.next=41,e;case 41:return t.t4=t.sent,t.next=44,t.t3.write.call(t.t3,t.t4);case 44:return t.next=46,l.close();case 46:t.t2=u;case 47:return t.abrupt("return",t.t2);case 48:case"end":return t.stop()}}),t,null,[[8,13]])})));return function(e){return t.apply(this,arguments)}}()}}]);